aws-sdk-signer 1.1.0
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-signer.rb +48 -0
- data/lib/aws-sdk-signer/client.rb +822 -0
- data/lib/aws-sdk-signer/client_api.rb +415 -0
- data/lib/aws-sdk-signer/customizations.rb +0 -0
- data/lib/aws-sdk-signer/errors.rb +14 -0
- data/lib/aws-sdk-signer/resource.rb +23 -0
- data/lib/aws-sdk-signer/types.rb +976 -0
- data/lib/aws-sdk-signer/waiters.rb +62 -0
- metadata +83 -0
@@ -0,0 +1,415 @@
|
|
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::Signer
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
15
|
+
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
16
|
+
CancelSigningProfileRequest = Shapes::StructureShape.new(name: 'CancelSigningProfileRequest')
|
17
|
+
Category = Shapes::StringShape.new(name: 'Category')
|
18
|
+
CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
|
19
|
+
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
20
|
+
CompletedAt = Shapes::TimestampShape.new(name: 'CompletedAt')
|
21
|
+
CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
|
22
|
+
DescribeSigningJobRequest = Shapes::StructureShape.new(name: 'DescribeSigningJobRequest')
|
23
|
+
DescribeSigningJobResponse = Shapes::StructureShape.new(name: 'DescribeSigningJobResponse')
|
24
|
+
Destination = Shapes::StructureShape.new(name: 'Destination')
|
25
|
+
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
26
|
+
EncryptionAlgorithm = Shapes::StringShape.new(name: 'EncryptionAlgorithm')
|
27
|
+
EncryptionAlgorithmOptions = Shapes::StructureShape.new(name: 'EncryptionAlgorithmOptions')
|
28
|
+
EncryptionAlgorithms = Shapes::ListShape.new(name: 'EncryptionAlgorithms')
|
29
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
30
|
+
GetSigningPlatformRequest = Shapes::StructureShape.new(name: 'GetSigningPlatformRequest')
|
31
|
+
GetSigningPlatformResponse = Shapes::StructureShape.new(name: 'GetSigningPlatformResponse')
|
32
|
+
GetSigningProfileRequest = Shapes::StructureShape.new(name: 'GetSigningProfileRequest')
|
33
|
+
GetSigningProfileResponse = Shapes::StructureShape.new(name: 'GetSigningProfileResponse')
|
34
|
+
HashAlgorithm = Shapes::StringShape.new(name: 'HashAlgorithm')
|
35
|
+
HashAlgorithmOptions = Shapes::StructureShape.new(name: 'HashAlgorithmOptions')
|
36
|
+
HashAlgorithms = Shapes::ListShape.new(name: 'HashAlgorithms')
|
37
|
+
ImageFormat = Shapes::StringShape.new(name: 'ImageFormat')
|
38
|
+
ImageFormats = Shapes::ListShape.new(name: 'ImageFormats')
|
39
|
+
InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
|
40
|
+
JobId = Shapes::StringShape.new(name: 'JobId')
|
41
|
+
Key = Shapes::StringShape.new(name: 'Key')
|
42
|
+
ListSigningJobsRequest = Shapes::StructureShape.new(name: 'ListSigningJobsRequest')
|
43
|
+
ListSigningJobsResponse = Shapes::StructureShape.new(name: 'ListSigningJobsResponse')
|
44
|
+
ListSigningPlatformsRequest = Shapes::StructureShape.new(name: 'ListSigningPlatformsRequest')
|
45
|
+
ListSigningPlatformsResponse = Shapes::StructureShape.new(name: 'ListSigningPlatformsResponse')
|
46
|
+
ListSigningProfilesRequest = Shapes::StructureShape.new(name: 'ListSigningProfilesRequest')
|
47
|
+
ListSigningProfilesResponse = Shapes::StructureShape.new(name: 'ListSigningProfilesResponse')
|
48
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
49
|
+
MaxSizeInMB = Shapes::IntegerShape.new(name: 'MaxSizeInMB')
|
50
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
51
|
+
PlatformId = Shapes::StringShape.new(name: 'PlatformId')
|
52
|
+
Prefix = Shapes::StringShape.new(name: 'Prefix')
|
53
|
+
ProfileName = Shapes::StringShape.new(name: 'ProfileName')
|
54
|
+
PutSigningProfileRequest = Shapes::StructureShape.new(name: 'PutSigningProfileRequest')
|
55
|
+
PutSigningProfileResponse = Shapes::StructureShape.new(name: 'PutSigningProfileResponse')
|
56
|
+
RequestedBy = Shapes::StringShape.new(name: 'RequestedBy')
|
57
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
58
|
+
S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
|
59
|
+
S3SignedObject = Shapes::StructureShape.new(name: 'S3SignedObject')
|
60
|
+
S3Source = Shapes::StructureShape.new(name: 'S3Source')
|
61
|
+
SignedObject = Shapes::StructureShape.new(name: 'SignedObject')
|
62
|
+
SigningConfiguration = Shapes::StructureShape.new(name: 'SigningConfiguration')
|
63
|
+
SigningConfigurationOverrides = Shapes::StructureShape.new(name: 'SigningConfigurationOverrides')
|
64
|
+
SigningImageFormat = Shapes::StructureShape.new(name: 'SigningImageFormat')
|
65
|
+
SigningJob = Shapes::StructureShape.new(name: 'SigningJob')
|
66
|
+
SigningJobs = Shapes::ListShape.new(name: 'SigningJobs')
|
67
|
+
SigningMaterial = Shapes::StructureShape.new(name: 'SigningMaterial')
|
68
|
+
SigningParameterKey = Shapes::StringShape.new(name: 'SigningParameterKey')
|
69
|
+
SigningParameterValue = Shapes::StringShape.new(name: 'SigningParameterValue')
|
70
|
+
SigningParameters = Shapes::MapShape.new(name: 'SigningParameters')
|
71
|
+
SigningPlatform = Shapes::StructureShape.new(name: 'SigningPlatform')
|
72
|
+
SigningPlatformOverrides = Shapes::StructureShape.new(name: 'SigningPlatformOverrides')
|
73
|
+
SigningPlatforms = Shapes::ListShape.new(name: 'SigningPlatforms')
|
74
|
+
SigningProfile = Shapes::StructureShape.new(name: 'SigningProfile')
|
75
|
+
SigningProfileStatus = Shapes::StringShape.new(name: 'SigningProfileStatus')
|
76
|
+
SigningProfiles = Shapes::ListShape.new(name: 'SigningProfiles')
|
77
|
+
SigningStatus = Shapes::StringShape.new(name: 'SigningStatus')
|
78
|
+
Source = Shapes::StructureShape.new(name: 'Source')
|
79
|
+
StartSigningJobRequest = Shapes::StructureShape.new(name: 'StartSigningJobRequest')
|
80
|
+
StartSigningJobResponse = Shapes::StructureShape.new(name: 'StartSigningJobResponse')
|
81
|
+
StatusReason = Shapes::StringShape.new(name: 'StatusReason')
|
82
|
+
String = Shapes::StringShape.new(name: 'String')
|
83
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
84
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
85
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
86
|
+
bool = Shapes::BooleanShape.new(name: 'bool')
|
87
|
+
key = Shapes::StringShape.new(name: 'key')
|
88
|
+
string = Shapes::StringShape.new(name: 'string')
|
89
|
+
|
90
|
+
CancelSigningProfileRequest.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, required: true, location: "uri", location_name: "profileName"))
|
91
|
+
CancelSigningProfileRequest.struct_class = Types::CancelSigningProfileRequest
|
92
|
+
|
93
|
+
DescribeSigningJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
94
|
+
DescribeSigningJobRequest.struct_class = Types::DescribeSigningJobRequest
|
95
|
+
|
96
|
+
DescribeSigningJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
97
|
+
DescribeSigningJobResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
|
98
|
+
DescribeSigningJobResponse.add_member(:signing_material, Shapes::ShapeRef.new(shape: SigningMaterial, location_name: "signingMaterial"))
|
99
|
+
DescribeSigningJobResponse.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, location_name: "platformId"))
|
100
|
+
DescribeSigningJobResponse.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, location_name: "profileName"))
|
101
|
+
DescribeSigningJobResponse.add_member(:overrides, Shapes::ShapeRef.new(shape: SigningPlatformOverrides, location_name: "overrides"))
|
102
|
+
DescribeSigningJobResponse.add_member(:signing_parameters, Shapes::ShapeRef.new(shape: SigningParameters, location_name: "signingParameters"))
|
103
|
+
DescribeSigningJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
|
104
|
+
DescribeSigningJobResponse.add_member(:completed_at, Shapes::ShapeRef.new(shape: CompletedAt, location_name: "completedAt"))
|
105
|
+
DescribeSigningJobResponse.add_member(:requested_by, Shapes::ShapeRef.new(shape: RequestedBy, location_name: "requestedBy"))
|
106
|
+
DescribeSigningJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: SigningStatus, location_name: "status"))
|
107
|
+
DescribeSigningJobResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "statusReason"))
|
108
|
+
DescribeSigningJobResponse.add_member(:signed_object, Shapes::ShapeRef.new(shape: SignedObject, location_name: "signedObject"))
|
109
|
+
DescribeSigningJobResponse.struct_class = Types::DescribeSigningJobResponse
|
110
|
+
|
111
|
+
Destination.add_member(:s3, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3"))
|
112
|
+
Destination.struct_class = Types::Destination
|
113
|
+
|
114
|
+
EncryptionAlgorithmOptions.add_member(:allowed_values, Shapes::ShapeRef.new(shape: EncryptionAlgorithms, required: true, location_name: "allowedValues"))
|
115
|
+
EncryptionAlgorithmOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: EncryptionAlgorithm, required: true, location_name: "defaultValue"))
|
116
|
+
EncryptionAlgorithmOptions.struct_class = Types::EncryptionAlgorithmOptions
|
117
|
+
|
118
|
+
EncryptionAlgorithms.member = Shapes::ShapeRef.new(shape: EncryptionAlgorithm)
|
119
|
+
|
120
|
+
GetSigningPlatformRequest.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, required: true, location: "uri", location_name: "platformId"))
|
121
|
+
GetSigningPlatformRequest.struct_class = Types::GetSigningPlatformRequest
|
122
|
+
|
123
|
+
GetSigningPlatformResponse.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, location_name: "platformId"))
|
124
|
+
GetSigningPlatformResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
125
|
+
GetSigningPlatformResponse.add_member(:partner, Shapes::ShapeRef.new(shape: String, location_name: "partner"))
|
126
|
+
GetSigningPlatformResponse.add_member(:target, Shapes::ShapeRef.new(shape: String, location_name: "target"))
|
127
|
+
GetSigningPlatformResponse.add_member(:category, Shapes::ShapeRef.new(shape: Category, location_name: "category"))
|
128
|
+
GetSigningPlatformResponse.add_member(:signing_configuration, Shapes::ShapeRef.new(shape: SigningConfiguration, location_name: "signingConfiguration"))
|
129
|
+
GetSigningPlatformResponse.add_member(:signing_image_format, Shapes::ShapeRef.new(shape: SigningImageFormat, location_name: "signingImageFormat"))
|
130
|
+
GetSigningPlatformResponse.add_member(:max_size_in_mb, Shapes::ShapeRef.new(shape: MaxSizeInMB, location_name: "maxSizeInMB"))
|
131
|
+
GetSigningPlatformResponse.struct_class = Types::GetSigningPlatformResponse
|
132
|
+
|
133
|
+
GetSigningProfileRequest.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, required: true, location: "uri", location_name: "profileName"))
|
134
|
+
GetSigningProfileRequest.struct_class = Types::GetSigningProfileRequest
|
135
|
+
|
136
|
+
GetSigningProfileResponse.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, location_name: "profileName"))
|
137
|
+
GetSigningProfileResponse.add_member(:signing_material, Shapes::ShapeRef.new(shape: SigningMaterial, location_name: "signingMaterial"))
|
138
|
+
GetSigningProfileResponse.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, location_name: "platformId"))
|
139
|
+
GetSigningProfileResponse.add_member(:overrides, Shapes::ShapeRef.new(shape: SigningPlatformOverrides, location_name: "overrides"))
|
140
|
+
GetSigningProfileResponse.add_member(:signing_parameters, Shapes::ShapeRef.new(shape: SigningParameters, location_name: "signingParameters"))
|
141
|
+
GetSigningProfileResponse.add_member(:status, Shapes::ShapeRef.new(shape: SigningProfileStatus, location_name: "status"))
|
142
|
+
GetSigningProfileResponse.struct_class = Types::GetSigningProfileResponse
|
143
|
+
|
144
|
+
HashAlgorithmOptions.add_member(:allowed_values, Shapes::ShapeRef.new(shape: HashAlgorithms, required: true, location_name: "allowedValues"))
|
145
|
+
HashAlgorithmOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: HashAlgorithm, required: true, location_name: "defaultValue"))
|
146
|
+
HashAlgorithmOptions.struct_class = Types::HashAlgorithmOptions
|
147
|
+
|
148
|
+
HashAlgorithms.member = Shapes::ShapeRef.new(shape: HashAlgorithm)
|
149
|
+
|
150
|
+
ImageFormats.member = Shapes::ShapeRef.new(shape: ImageFormat)
|
151
|
+
|
152
|
+
ListSigningJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: SigningStatus, location: "querystring", location_name: "status"))
|
153
|
+
ListSigningJobsRequest.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, location: "querystring", location_name: "platformId"))
|
154
|
+
ListSigningJobsRequest.add_member(:requested_by, Shapes::ShapeRef.new(shape: RequestedBy, location: "querystring", location_name: "requestedBy"))
|
155
|
+
ListSigningJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
156
|
+
ListSigningJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
157
|
+
ListSigningJobsRequest.struct_class = Types::ListSigningJobsRequest
|
158
|
+
|
159
|
+
ListSigningJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: SigningJobs, location_name: "jobs"))
|
160
|
+
ListSigningJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
161
|
+
ListSigningJobsResponse.struct_class = Types::ListSigningJobsResponse
|
162
|
+
|
163
|
+
ListSigningPlatformsRequest.add_member(:category, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "category"))
|
164
|
+
ListSigningPlatformsRequest.add_member(:partner, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "partner"))
|
165
|
+
ListSigningPlatformsRequest.add_member(:target, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "target"))
|
166
|
+
ListSigningPlatformsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
167
|
+
ListSigningPlatformsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
168
|
+
ListSigningPlatformsRequest.struct_class = Types::ListSigningPlatformsRequest
|
169
|
+
|
170
|
+
ListSigningPlatformsResponse.add_member(:platforms, Shapes::ShapeRef.new(shape: SigningPlatforms, location_name: "platforms"))
|
171
|
+
ListSigningPlatformsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
172
|
+
ListSigningPlatformsResponse.struct_class = Types::ListSigningPlatformsResponse
|
173
|
+
|
174
|
+
ListSigningProfilesRequest.add_member(:include_canceled, Shapes::ShapeRef.new(shape: bool, location: "querystring", location_name: "includeCanceled"))
|
175
|
+
ListSigningProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
176
|
+
ListSigningProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
177
|
+
ListSigningProfilesRequest.struct_class = Types::ListSigningProfilesRequest
|
178
|
+
|
179
|
+
ListSigningProfilesResponse.add_member(:profiles, Shapes::ShapeRef.new(shape: SigningProfiles, location_name: "profiles"))
|
180
|
+
ListSigningProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
181
|
+
ListSigningProfilesResponse.struct_class = Types::ListSigningProfilesResponse
|
182
|
+
|
183
|
+
PutSigningProfileRequest.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, required: true, location: "uri", location_name: "profileName"))
|
184
|
+
PutSigningProfileRequest.add_member(:signing_material, Shapes::ShapeRef.new(shape: SigningMaterial, required: true, location_name: "signingMaterial"))
|
185
|
+
PutSigningProfileRequest.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, required: true, location_name: "platformId"))
|
186
|
+
PutSigningProfileRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: SigningPlatformOverrides, location_name: "overrides"))
|
187
|
+
PutSigningProfileRequest.add_member(:signing_parameters, Shapes::ShapeRef.new(shape: SigningParameters, location_name: "signingParameters"))
|
188
|
+
PutSigningProfileRequest.struct_class = Types::PutSigningProfileRequest
|
189
|
+
|
190
|
+
PutSigningProfileResponse.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "arn"))
|
191
|
+
PutSigningProfileResponse.struct_class = Types::PutSigningProfileResponse
|
192
|
+
|
193
|
+
S3Destination.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, location_name: "bucketName"))
|
194
|
+
S3Destination.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "prefix"))
|
195
|
+
S3Destination.struct_class = Types::S3Destination
|
196
|
+
|
197
|
+
S3SignedObject.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, location_name: "bucketName"))
|
198
|
+
S3SignedObject.add_member(:key, Shapes::ShapeRef.new(shape: key, location_name: "key"))
|
199
|
+
S3SignedObject.struct_class = Types::S3SignedObject
|
200
|
+
|
201
|
+
S3Source.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
202
|
+
S3Source.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "key"))
|
203
|
+
S3Source.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
|
204
|
+
S3Source.struct_class = Types::S3Source
|
205
|
+
|
206
|
+
SignedObject.add_member(:s3, Shapes::ShapeRef.new(shape: S3SignedObject, location_name: "s3"))
|
207
|
+
SignedObject.struct_class = Types::SignedObject
|
208
|
+
|
209
|
+
SigningConfiguration.add_member(:encryption_algorithm_options, Shapes::ShapeRef.new(shape: EncryptionAlgorithmOptions, required: true, location_name: "encryptionAlgorithmOptions"))
|
210
|
+
SigningConfiguration.add_member(:hash_algorithm_options, Shapes::ShapeRef.new(shape: HashAlgorithmOptions, required: true, location_name: "hashAlgorithmOptions"))
|
211
|
+
SigningConfiguration.struct_class = Types::SigningConfiguration
|
212
|
+
|
213
|
+
SigningConfigurationOverrides.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithm, location_name: "encryptionAlgorithm"))
|
214
|
+
SigningConfigurationOverrides.add_member(:hash_algorithm, Shapes::ShapeRef.new(shape: HashAlgorithm, location_name: "hashAlgorithm"))
|
215
|
+
SigningConfigurationOverrides.struct_class = Types::SigningConfigurationOverrides
|
216
|
+
|
217
|
+
SigningImageFormat.add_member(:supported_formats, Shapes::ShapeRef.new(shape: ImageFormats, required: true, location_name: "supportedFormats"))
|
218
|
+
SigningImageFormat.add_member(:default_format, Shapes::ShapeRef.new(shape: ImageFormat, required: true, location_name: "defaultFormat"))
|
219
|
+
SigningImageFormat.struct_class = Types::SigningImageFormat
|
220
|
+
|
221
|
+
SigningJob.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
222
|
+
SigningJob.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
|
223
|
+
SigningJob.add_member(:signed_object, Shapes::ShapeRef.new(shape: SignedObject, location_name: "signedObject"))
|
224
|
+
SigningJob.add_member(:signing_material, Shapes::ShapeRef.new(shape: SigningMaterial, location_name: "signingMaterial"))
|
225
|
+
SigningJob.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
|
226
|
+
SigningJob.add_member(:status, Shapes::ShapeRef.new(shape: SigningStatus, location_name: "status"))
|
227
|
+
SigningJob.struct_class = Types::SigningJob
|
228
|
+
|
229
|
+
SigningJobs.member = Shapes::ShapeRef.new(shape: SigningJob)
|
230
|
+
|
231
|
+
SigningMaterial.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, required: true, location_name: "certificateArn"))
|
232
|
+
SigningMaterial.struct_class = Types::SigningMaterial
|
233
|
+
|
234
|
+
SigningParameters.key = Shapes::ShapeRef.new(shape: SigningParameterKey)
|
235
|
+
SigningParameters.value = Shapes::ShapeRef.new(shape: SigningParameterValue)
|
236
|
+
|
237
|
+
SigningPlatform.add_member(:platform_id, Shapes::ShapeRef.new(shape: String, location_name: "platformId"))
|
238
|
+
SigningPlatform.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
|
239
|
+
SigningPlatform.add_member(:partner, Shapes::ShapeRef.new(shape: String, location_name: "partner"))
|
240
|
+
SigningPlatform.add_member(:target, Shapes::ShapeRef.new(shape: String, location_name: "target"))
|
241
|
+
SigningPlatform.add_member(:category, Shapes::ShapeRef.new(shape: Category, location_name: "category"))
|
242
|
+
SigningPlatform.add_member(:signing_configuration, Shapes::ShapeRef.new(shape: SigningConfiguration, location_name: "signingConfiguration"))
|
243
|
+
SigningPlatform.add_member(:signing_image_format, Shapes::ShapeRef.new(shape: SigningImageFormat, location_name: "signingImageFormat"))
|
244
|
+
SigningPlatform.add_member(:max_size_in_mb, Shapes::ShapeRef.new(shape: MaxSizeInMB, location_name: "maxSizeInMB"))
|
245
|
+
SigningPlatform.struct_class = Types::SigningPlatform
|
246
|
+
|
247
|
+
SigningPlatformOverrides.add_member(:signing_configuration, Shapes::ShapeRef.new(shape: SigningConfigurationOverrides, location_name: "signingConfiguration"))
|
248
|
+
SigningPlatformOverrides.struct_class = Types::SigningPlatformOverrides
|
249
|
+
|
250
|
+
SigningPlatforms.member = Shapes::ShapeRef.new(shape: SigningPlatform)
|
251
|
+
|
252
|
+
SigningProfile.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, location_name: "profileName"))
|
253
|
+
SigningProfile.add_member(:signing_material, Shapes::ShapeRef.new(shape: SigningMaterial, location_name: "signingMaterial"))
|
254
|
+
SigningProfile.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, location_name: "platformId"))
|
255
|
+
SigningProfile.add_member(:signing_parameters, Shapes::ShapeRef.new(shape: SigningParameters, location_name: "signingParameters"))
|
256
|
+
SigningProfile.add_member(:status, Shapes::ShapeRef.new(shape: SigningProfileStatus, location_name: "status"))
|
257
|
+
SigningProfile.struct_class = Types::SigningProfile
|
258
|
+
|
259
|
+
SigningProfiles.member = Shapes::ShapeRef.new(shape: SigningProfile)
|
260
|
+
|
261
|
+
Source.add_member(:s3, Shapes::ShapeRef.new(shape: S3Source, location_name: "s3"))
|
262
|
+
Source.struct_class = Types::Source
|
263
|
+
|
264
|
+
StartSigningJobRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
265
|
+
StartSigningJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
266
|
+
StartSigningJobRequest.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, location_name: "profileName"))
|
267
|
+
StartSigningJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
268
|
+
StartSigningJobRequest.struct_class = Types::StartSigningJobRequest
|
269
|
+
|
270
|
+
StartSigningJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
271
|
+
StartSigningJobResponse.struct_class = Types::StartSigningJobResponse
|
272
|
+
|
273
|
+
|
274
|
+
# @api private
|
275
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
276
|
+
|
277
|
+
api.version = "2017-08-25"
|
278
|
+
|
279
|
+
api.metadata = {
|
280
|
+
"endpointPrefix" => "signer",
|
281
|
+
"jsonVersion" => "1.1",
|
282
|
+
"protocol" => "rest-json",
|
283
|
+
"serviceFullName" => "AWS Signer",
|
284
|
+
"signatureVersion" => "v4",
|
285
|
+
"signingName" => "signer",
|
286
|
+
}
|
287
|
+
|
288
|
+
api.add_operation(:cancel_signing_profile, Seahorse::Model::Operation.new.tap do |o|
|
289
|
+
o.name = "CancelSigningProfile"
|
290
|
+
o.http_method = "DELETE"
|
291
|
+
o.http_request_uri = "/signing-profiles/{profileName}"
|
292
|
+
o.input = Shapes::ShapeRef.new(shape: CancelSigningProfileRequest)
|
293
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
294
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
295
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
296
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
297
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
298
|
+
end)
|
299
|
+
|
300
|
+
api.add_operation(:describe_signing_job, Seahorse::Model::Operation.new.tap do |o|
|
301
|
+
o.name = "DescribeSigningJob"
|
302
|
+
o.http_method = "GET"
|
303
|
+
o.http_request_uri = "/signing-jobs/{jobId}"
|
304
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeSigningJobRequest)
|
305
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeSigningJobResponse)
|
306
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
307
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
308
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
309
|
+
end)
|
310
|
+
|
311
|
+
api.add_operation(:get_signing_platform, Seahorse::Model::Operation.new.tap do |o|
|
312
|
+
o.name = "GetSigningPlatform"
|
313
|
+
o.http_method = "GET"
|
314
|
+
o.http_request_uri = "/signing-platforms/{platformId}"
|
315
|
+
o.input = Shapes::ShapeRef.new(shape: GetSigningPlatformRequest)
|
316
|
+
o.output = Shapes::ShapeRef.new(shape: GetSigningPlatformResponse)
|
317
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
319
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
320
|
+
end)
|
321
|
+
|
322
|
+
api.add_operation(:get_signing_profile, Seahorse::Model::Operation.new.tap do |o|
|
323
|
+
o.name = "GetSigningProfile"
|
324
|
+
o.http_method = "GET"
|
325
|
+
o.http_request_uri = "/signing-profiles/{profileName}"
|
326
|
+
o.input = Shapes::ShapeRef.new(shape: GetSigningProfileRequest)
|
327
|
+
o.output = Shapes::ShapeRef.new(shape: GetSigningProfileResponse)
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
329
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
330
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
331
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
332
|
+
end)
|
333
|
+
|
334
|
+
api.add_operation(:list_signing_jobs, Seahorse::Model::Operation.new.tap do |o|
|
335
|
+
o.name = "ListSigningJobs"
|
336
|
+
o.http_method = "GET"
|
337
|
+
o.http_request_uri = "/signing-jobs"
|
338
|
+
o.input = Shapes::ShapeRef.new(shape: ListSigningJobsRequest)
|
339
|
+
o.output = Shapes::ShapeRef.new(shape: ListSigningJobsResponse)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
343
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
344
|
+
o[:pager] = Aws::Pager.new(
|
345
|
+
limit_key: "max_results",
|
346
|
+
tokens: {
|
347
|
+
"next_token" => "next_token"
|
348
|
+
}
|
349
|
+
)
|
350
|
+
end)
|
351
|
+
|
352
|
+
api.add_operation(:list_signing_platforms, Seahorse::Model::Operation.new.tap do |o|
|
353
|
+
o.name = "ListSigningPlatforms"
|
354
|
+
o.http_method = "GET"
|
355
|
+
o.http_request_uri = "/signing-platforms"
|
356
|
+
o.input = Shapes::ShapeRef.new(shape: ListSigningPlatformsRequest)
|
357
|
+
o.output = Shapes::ShapeRef.new(shape: ListSigningPlatformsResponse)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
362
|
+
o[:pager] = Aws::Pager.new(
|
363
|
+
limit_key: "max_results",
|
364
|
+
tokens: {
|
365
|
+
"next_token" => "next_token"
|
366
|
+
}
|
367
|
+
)
|
368
|
+
end)
|
369
|
+
|
370
|
+
api.add_operation(:list_signing_profiles, Seahorse::Model::Operation.new.tap do |o|
|
371
|
+
o.name = "ListSigningProfiles"
|
372
|
+
o.http_method = "GET"
|
373
|
+
o.http_request_uri = "/signing-profiles"
|
374
|
+
o.input = Shapes::ShapeRef.new(shape: ListSigningProfilesRequest)
|
375
|
+
o.output = Shapes::ShapeRef.new(shape: ListSigningProfilesResponse)
|
376
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
379
|
+
o[:pager] = Aws::Pager.new(
|
380
|
+
limit_key: "max_results",
|
381
|
+
tokens: {
|
382
|
+
"next_token" => "next_token"
|
383
|
+
}
|
384
|
+
)
|
385
|
+
end)
|
386
|
+
|
387
|
+
api.add_operation(:put_signing_profile, Seahorse::Model::Operation.new.tap do |o|
|
388
|
+
o.name = "PutSigningProfile"
|
389
|
+
o.http_method = "PUT"
|
390
|
+
o.http_request_uri = "/signing-profiles/{profileName}"
|
391
|
+
o.input = Shapes::ShapeRef.new(shape: PutSigningProfileRequest)
|
392
|
+
o.output = Shapes::ShapeRef.new(shape: PutSigningProfileResponse)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
398
|
+
end)
|
399
|
+
|
400
|
+
api.add_operation(:start_signing_job, Seahorse::Model::Operation.new.tap do |o|
|
401
|
+
o.name = "StartSigningJob"
|
402
|
+
o.http_method = "POST"
|
403
|
+
o.http_request_uri = "/signing-jobs"
|
404
|
+
o.input = Shapes::ShapeRef.new(shape: StartSigningJobRequest)
|
405
|
+
o.output = Shapes::ShapeRef.new(shape: StartSigningJobResponse)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
410
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
411
|
+
end)
|
412
|
+
end
|
413
|
+
|
414
|
+
end
|
415
|
+
end
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
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::Signer
|
9
|
+
module Errors
|
10
|
+
|
11
|
+
extend Aws::Errors::DynamicErrors
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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::Signer
|
9
|
+
class Resource
|
10
|
+
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
16
|
+
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|