aws-sdk-signer 1.22.1 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -27,10 +29,13 @@ module Aws::Signer
27
29
  # ## Error Classes
28
30
  # * {AccessDeniedException}
29
31
  # * {BadRequestException}
32
+ # * {ConflictException}
30
33
  # * {InternalServiceErrorException}
31
34
  # * {NotFoundException}
32
35
  # * {ResourceNotFoundException}
36
+ # * {ServiceLimitExceededException}
33
37
  # * {ThrottlingException}
38
+ # * {TooManyRequestsException}
34
39
  # * {ValidationException}
35
40
  #
36
41
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -52,6 +57,11 @@ module Aws::Signer
52
57
  def message
53
58
  @message || @data[:message]
54
59
  end
60
+
61
+ # @return [String]
62
+ def code
63
+ @code || @data[:code]
64
+ end
55
65
  end
56
66
 
57
67
  class BadRequestException < ServiceError
@@ -67,6 +77,31 @@ module Aws::Signer
67
77
  def message
68
78
  @message || @data[:message]
69
79
  end
80
+
81
+ # @return [String]
82
+ def code
83
+ @code || @data[:code]
84
+ end
85
+ end
86
+
87
+ class ConflictException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::Signer::Types::ConflictException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
95
+
96
+ # @return [String]
97
+ def message
98
+ @message || @data[:message]
99
+ end
100
+
101
+ # @return [String]
102
+ def code
103
+ @code || @data[:code]
104
+ end
70
105
  end
71
106
 
72
107
  class InternalServiceErrorException < ServiceError
@@ -82,6 +117,11 @@ module Aws::Signer
82
117
  def message
83
118
  @message || @data[:message]
84
119
  end
120
+
121
+ # @return [String]
122
+ def code
123
+ @code || @data[:code]
124
+ end
85
125
  end
86
126
 
87
127
  class NotFoundException < ServiceError
@@ -97,6 +137,11 @@ module Aws::Signer
97
137
  def message
98
138
  @message || @data[:message]
99
139
  end
140
+
141
+ # @return [String]
142
+ def code
143
+ @code || @data[:code]
144
+ end
100
145
  end
101
146
 
102
147
  class ResourceNotFoundException < ServiceError
@@ -112,6 +157,31 @@ module Aws::Signer
112
157
  def message
113
158
  @message || @data[:message]
114
159
  end
160
+
161
+ # @return [String]
162
+ def code
163
+ @code || @data[:code]
164
+ end
165
+ end
166
+
167
+ class ServiceLimitExceededException < ServiceError
168
+
169
+ # @param [Seahorse::Client::RequestContext] context
170
+ # @param [String] message
171
+ # @param [Aws::Signer::Types::ServiceLimitExceededException] data
172
+ def initialize(context, message, data = Aws::EmptyStructure.new)
173
+ super(context, message, data)
174
+ end
175
+
176
+ # @return [String]
177
+ def message
178
+ @message || @data[:message]
179
+ end
180
+
181
+ # @return [String]
182
+ def code
183
+ @code || @data[:code]
184
+ end
115
185
  end
116
186
 
117
187
  class ThrottlingException < ServiceError
@@ -127,6 +197,31 @@ module Aws::Signer
127
197
  def message
128
198
  @message || @data[:message]
129
199
  end
200
+
201
+ # @return [String]
202
+ def code
203
+ @code || @data[:code]
204
+ end
205
+ end
206
+
207
+ class TooManyRequestsException < ServiceError
208
+
209
+ # @param [Seahorse::Client::RequestContext] context
210
+ # @param [String] message
211
+ # @param [Aws::Signer::Types::TooManyRequestsException] data
212
+ def initialize(context, message, data = Aws::EmptyStructure.new)
213
+ super(context, message, data)
214
+ end
215
+
216
+ # @return [String]
217
+ def message
218
+ @message || @data[:message]
219
+ end
220
+
221
+ # @return [String]
222
+ def code
223
+ @code || @data[:code]
224
+ end
130
225
  end
131
226
 
132
227
  class ValidationException < ServiceError
@@ -142,6 +237,11 @@ module Aws::Signer
142
237
  def message
143
238
  @message || @data[:message]
144
239
  end
240
+
241
+ # @return [String]
242
+ def code
243
+ @code || @data[:code]
244
+ end
145
245
  end
146
246
 
147
247
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -13,10 +15,78 @@ module Aws::Signer
13
15
  # @!attribute [rw] message
14
16
  # @return [String]
15
17
  #
18
+ # @!attribute [rw] code
19
+ # @return [String]
20
+ #
16
21
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/AccessDeniedException AWS API Documentation
17
22
  #
18
23
  class AccessDeniedException < Struct.new(
19
- :message)
24
+ :message,
25
+ :code)
26
+ SENSITIVE = []
27
+ include Aws::Structure
28
+ end
29
+
30
+ # @note When making an API call, you may pass AddProfilePermissionRequest
31
+ # data as a hash:
32
+ #
33
+ # {
34
+ # profile_name: "ProfileName", # required
35
+ # profile_version: "ProfileVersion",
36
+ # action: "String", # required
37
+ # principal: "String", # required
38
+ # revision_id: "String",
39
+ # statement_id: "String", # required
40
+ # }
41
+ #
42
+ # @!attribute [rw] profile_name
43
+ # The human-readable name of the signing profile.
44
+ # @return [String]
45
+ #
46
+ # @!attribute [rw] profile_version
47
+ # The version of the signing profile.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] action
51
+ # The AWS Signer action permitted as part of cross-account
52
+ # permissions.
53
+ # @return [String]
54
+ #
55
+ # @!attribute [rw] principal
56
+ # The AWS principal receiving cross-account permissions. This may be
57
+ # an IAM role or another AWS account ID.
58
+ # @return [String]
59
+ #
60
+ # @!attribute [rw] revision_id
61
+ # A unique identifier for the current profile revision.
62
+ # @return [String]
63
+ #
64
+ # @!attribute [rw] statement_id
65
+ # A unique identifier for the cross-account permission statement.
66
+ # @return [String]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/AddProfilePermissionRequest AWS API Documentation
69
+ #
70
+ class AddProfilePermissionRequest < Struct.new(
71
+ :profile_name,
72
+ :profile_version,
73
+ :action,
74
+ :principal,
75
+ :revision_id,
76
+ :statement_id)
77
+ SENSITIVE = []
78
+ include Aws::Structure
79
+ end
80
+
81
+ # @!attribute [rw] revision_id
82
+ # A unique identifier for the current profile revision.
83
+ # @return [String]
84
+ #
85
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/AddProfilePermissionResponse AWS API Documentation
86
+ #
87
+ class AddProfilePermissionResponse < Struct.new(
88
+ :revision_id)
89
+ SENSITIVE = []
20
90
  include Aws::Structure
21
91
  end
22
92
 
@@ -27,10 +97,15 @@ module Aws::Signer
27
97
  # @!attribute [rw] message
28
98
  # @return [String]
29
99
  #
100
+ # @!attribute [rw] code
101
+ # @return [String]
102
+ #
30
103
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/BadRequestException AWS API Documentation
31
104
  #
32
105
  class BadRequestException < Struct.new(
33
- :message)
106
+ :message,
107
+ :code)
108
+ SENSITIVE = []
34
109
  include Aws::Structure
35
110
  end
36
111
 
@@ -49,6 +124,24 @@ module Aws::Signer
49
124
  #
50
125
  class CancelSigningProfileRequest < Struct.new(
51
126
  :profile_name)
127
+ SENSITIVE = []
128
+ include Aws::Structure
129
+ end
130
+
131
+ # The resource encountered a conflicting state.
132
+ #
133
+ # @!attribute [rw] message
134
+ # @return [String]
135
+ #
136
+ # @!attribute [rw] code
137
+ # @return [String]
138
+ #
139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ConflictException AWS API Documentation
140
+ #
141
+ class ConflictException < Struct.new(
142
+ :message,
143
+ :code)
144
+ SENSITIVE = []
52
145
  include Aws::Structure
53
146
  end
54
147
 
@@ -67,6 +160,7 @@ module Aws::Signer
67
160
  #
68
161
  class DescribeSigningJobRequest < Struct.new(
69
162
  :job_id)
163
+ SENSITIVE = []
70
164
  include Aws::Structure
71
165
  end
72
166
 
@@ -88,10 +182,19 @@ module Aws::Signer
88
182
  # distributed.
89
183
  # @return [String]
90
184
  #
185
+ # @!attribute [rw] platform_display_name
186
+ # A human-readable name for the signing platform associated with the
187
+ # signing job.
188
+ # @return [String]
189
+ #
91
190
  # @!attribute [rw] profile_name
92
191
  # The name of the profile that initiated the signing operation.
93
192
  # @return [String]
94
193
  #
194
+ # @!attribute [rw] profile_version
195
+ # The version of the signing profile used to initiate the signing job.
196
+ # @return [String]
197
+ #
95
198
  # @!attribute [rw] overrides
96
199
  # A list of any overrides that were applied to the signing operation.
97
200
  # @return [Types::SigningPlatformOverrides]
@@ -110,6 +213,11 @@ module Aws::Signer
110
213
  # Date and time that the signing job was completed.
111
214
  # @return [Time]
112
215
  #
216
+ # @!attribute [rw] signature_expires_at
217
+ # Thr expiration timestamp for the signature generated by the signing
218
+ # job.
219
+ # @return [Time]
220
+ #
113
221
  # @!attribute [rw] requested_by
114
222
  # The IAM principal that requested the signing job.
115
223
  # @return [String]
@@ -122,11 +230,25 @@ module Aws::Signer
122
230
  # String value that contains the status reason.
123
231
  # @return [String]
124
232
  #
233
+ # @!attribute [rw] revocation_record
234
+ # A revocation record if the signature generated by the signing job
235
+ # has been revoked. Contains a timestamp and the ID of the IAM entity
236
+ # that revoked the signature.
237
+ # @return [Types::SigningJobRevocationRecord]
238
+ #
125
239
  # @!attribute [rw] signed_object
126
240
  # Name of the S3 bucket where the signed code image is saved by code
127
241
  # signing.
128
242
  # @return [Types::SignedObject]
129
243
  #
244
+ # @!attribute [rw] job_owner
245
+ # The AWS account ID of the job owner.
246
+ # @return [String]
247
+ #
248
+ # @!attribute [rw] job_invoker
249
+ # The IAM entity that initiated the signing job.
250
+ # @return [String]
251
+ #
130
252
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJobResponse AWS API Documentation
131
253
  #
132
254
  class DescribeSigningJobResponse < Struct.new(
@@ -134,15 +256,22 @@ module Aws::Signer
134
256
  :source,
135
257
  :signing_material,
136
258
  :platform_id,
259
+ :platform_display_name,
137
260
  :profile_name,
261
+ :profile_version,
138
262
  :overrides,
139
263
  :signing_parameters,
140
264
  :created_at,
141
265
  :completed_at,
266
+ :signature_expires_at,
142
267
  :requested_by,
143
268
  :status,
144
269
  :status_reason,
145
- :signed_object)
270
+ :revocation_record,
271
+ :signed_object,
272
+ :job_owner,
273
+ :job_invoker)
274
+ SENSITIVE = []
146
275
  include Aws::Structure
147
276
  end
148
277
 
@@ -167,6 +296,7 @@ module Aws::Signer
167
296
  #
168
297
  class Destination < Struct.new(
169
298
  :s3)
299
+ SENSITIVE = []
170
300
  include Aws::Structure
171
301
  end
172
302
 
@@ -187,6 +317,7 @@ module Aws::Signer
187
317
  class EncryptionAlgorithmOptions < Struct.new(
188
318
  :allowed_values,
189
319
  :default_value)
320
+ SENSITIVE = []
190
321
  include Aws::Structure
191
322
  end
192
323
 
@@ -205,6 +336,7 @@ module Aws::Signer
205
336
  #
206
337
  class GetSigningPlatformRequest < Struct.new(
207
338
  :platform_id)
339
+ SENSITIVE = []
208
340
  include Aws::Structure
209
341
  end
210
342
 
@@ -241,6 +373,11 @@ module Aws::Signer
241
373
  # target platform.
242
374
  # @return [Integer]
243
375
  #
376
+ # @!attribute [rw] revocation_supported
377
+ # A flag indicating whether signatures generated for the signing
378
+ # platform can be revoked.
379
+ # @return [Boolean]
380
+ #
244
381
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningPlatformResponse AWS API Documentation
245
382
  #
246
383
  class GetSigningPlatformResponse < Struct.new(
@@ -251,7 +388,9 @@ module Aws::Signer
251
388
  :category,
252
389
  :signing_configuration,
253
390
  :signing_image_format,
254
- :max_size_in_mb)
391
+ :max_size_in_mb,
392
+ :revocation_supported)
393
+ SENSITIVE = []
255
394
  include Aws::Structure
256
395
  end
257
396
 
@@ -260,16 +399,23 @@ module Aws::Signer
260
399
  #
261
400
  # {
262
401
  # profile_name: "ProfileName", # required
402
+ # profile_owner: "AccountId",
263
403
  # }
264
404
  #
265
405
  # @!attribute [rw] profile_name
266
406
  # The name of the target signing profile.
267
407
  # @return [String]
268
408
  #
409
+ # @!attribute [rw] profile_owner
410
+ # The AWS account ID of the profile owner.
411
+ # @return [String]
412
+ #
269
413
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningProfileRequest AWS API Documentation
270
414
  #
271
415
  class GetSigningProfileRequest < Struct.new(
272
- :profile_name)
416
+ :profile_name,
417
+ :profile_owner)
418
+ SENSITIVE = []
273
419
  include Aws::Structure
274
420
  end
275
421
 
@@ -277,6 +423,18 @@ module Aws::Signer
277
423
  # The name of the target signing profile.
278
424
  # @return [String]
279
425
  #
426
+ # @!attribute [rw] profile_version
427
+ # The current version of the signing profile.
428
+ # @return [String]
429
+ #
430
+ # @!attribute [rw] profile_version_arn
431
+ # The signing profile ARN, including the profile version.
432
+ # @return [String]
433
+ #
434
+ # @!attribute [rw] revocation_record
435
+ # Revocation information for a signing profile.
436
+ # @return [Types::SigningProfileRevocationRecord]
437
+ #
280
438
  # @!attribute [rw] signing_material
281
439
  # The ARN of the certificate that the target profile uses for signing
282
440
  # operations.
@@ -286,6 +444,15 @@ module Aws::Signer
286
444
  # The ID of the platform that is used by the target signing profile.
287
445
  # @return [String]
288
446
  #
447
+ # @!attribute [rw] platform_display_name
448
+ # A human-readable name for the signing platform associated with the
449
+ # signing profile.
450
+ # @return [String]
451
+ #
452
+ # @!attribute [rw] signature_validity_period
453
+ # The validity period for a signing job.
454
+ # @return [Types::SignatureValidityPeriod]
455
+ #
289
456
  # @!attribute [rw] overrides
290
457
  # A list of overrides applied by the target signing profile for
291
458
  # signing operations.
@@ -300,6 +467,10 @@ module Aws::Signer
300
467
  # The status of the target signing profile.
301
468
  # @return [String]
302
469
  #
470
+ # @!attribute [rw] status_reason
471
+ # Reason for the status of the target signing profile.
472
+ # @return [String]
473
+ #
303
474
  # @!attribute [rw] arn
304
475
  # The Amazon Resource Name (ARN) for the signing profile.
305
476
  # @return [String]
@@ -312,13 +483,20 @@ module Aws::Signer
312
483
  #
313
484
  class GetSigningProfileResponse < Struct.new(
314
485
  :profile_name,
486
+ :profile_version,
487
+ :profile_version_arn,
488
+ :revocation_record,
315
489
  :signing_material,
316
490
  :platform_id,
491
+ :platform_display_name,
492
+ :signature_validity_period,
317
493
  :overrides,
318
494
  :signing_parameters,
319
495
  :status,
496
+ :status_reason,
320
497
  :arn,
321
498
  :tags)
499
+ SENSITIVE = []
322
500
  include Aws::Structure
323
501
  end
324
502
 
@@ -337,6 +515,7 @@ module Aws::Signer
337
515
  class HashAlgorithmOptions < Struct.new(
338
516
  :allowed_values,
339
517
  :default_value)
518
+ SENSITIVE = []
340
519
  include Aws::Structure
341
520
  end
342
521
 
@@ -345,10 +524,69 @@ module Aws::Signer
345
524
  # @!attribute [rw] message
346
525
  # @return [String]
347
526
  #
527
+ # @!attribute [rw] code
528
+ # @return [String]
529
+ #
348
530
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/InternalServiceErrorException AWS API Documentation
349
531
  #
350
532
  class InternalServiceErrorException < Struct.new(
351
- :message)
533
+ :message,
534
+ :code)
535
+ SENSITIVE = []
536
+ include Aws::Structure
537
+ end
538
+
539
+ # @note When making an API call, you may pass ListProfilePermissionsRequest
540
+ # data as a hash:
541
+ #
542
+ # {
543
+ # profile_name: "ProfileName", # required
544
+ # next_token: "String",
545
+ # }
546
+ #
547
+ # @!attribute [rw] profile_name
548
+ # Name of the signing profile containing the cross-account
549
+ # permissions.
550
+ # @return [String]
551
+ #
552
+ # @!attribute [rw] next_token
553
+ # String for specifying the next set of paginated results.
554
+ # @return [String]
555
+ #
556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListProfilePermissionsRequest AWS API Documentation
557
+ #
558
+ class ListProfilePermissionsRequest < Struct.new(
559
+ :profile_name,
560
+ :next_token)
561
+ SENSITIVE = []
562
+ include Aws::Structure
563
+ end
564
+
565
+ # @!attribute [rw] revision_id
566
+ # The identifier for the current revision of profile permissions.
567
+ # @return [String]
568
+ #
569
+ # @!attribute [rw] policy_size_bytes
570
+ # Total size of the policy associated with the Signing Profile in
571
+ # bytes.
572
+ # @return [Integer]
573
+ #
574
+ # @!attribute [rw] permissions
575
+ # List of permissions associated with the Signing Profile.
576
+ # @return [Array<Types::Permission>]
577
+ #
578
+ # @!attribute [rw] next_token
579
+ # String for specifying the next set of paginated results.
580
+ # @return [String]
581
+ #
582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListProfilePermissionsResponse AWS API Documentation
583
+ #
584
+ class ListProfilePermissionsResponse < Struct.new(
585
+ :revision_id,
586
+ :policy_size_bytes,
587
+ :permissions,
588
+ :next_token)
589
+ SENSITIVE = []
352
590
  include Aws::Structure
353
591
  end
354
592
 
@@ -361,6 +599,10 @@ module Aws::Signer
361
599
  # requested_by: "RequestedBy",
362
600
  # max_results: 1,
363
601
  # next_token: "NextToken",
602
+ # is_revoked: false,
603
+ # signature_expires_before: Time.now,
604
+ # signature_expires_after: Time.now,
605
+ # job_invoker: "AccountId",
364
606
  # }
365
607
  #
366
608
  # @!attribute [rw] status
@@ -391,6 +633,25 @@ module Aws::Signer
391
633
  # `nextToken` from the response that you just received.
392
634
  # @return [String]
393
635
  #
636
+ # @!attribute [rw] is_revoked
637
+ # Filters results to return only signing jobs with revoked signatures.
638
+ # @return [Boolean]
639
+ #
640
+ # @!attribute [rw] signature_expires_before
641
+ # Filters results to return only signing jobs with signatures expiring
642
+ # before a specified timestamp.
643
+ # @return [Time]
644
+ #
645
+ # @!attribute [rw] signature_expires_after
646
+ # Filters results to return only signing jobs with signatures expiring
647
+ # after a specified timestamp.
648
+ # @return [Time]
649
+ #
650
+ # @!attribute [rw] job_invoker
651
+ # Filters results to return only signing jobs initiated by a specified
652
+ # IAM entity.
653
+ # @return [String]
654
+ #
394
655
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningJobsRequest AWS API Documentation
395
656
  #
396
657
  class ListSigningJobsRequest < Struct.new(
@@ -398,7 +659,12 @@ module Aws::Signer
398
659
  :platform_id,
399
660
  :requested_by,
400
661
  :max_results,
401
- :next_token)
662
+ :next_token,
663
+ :is_revoked,
664
+ :signature_expires_before,
665
+ :signature_expires_after,
666
+ :job_invoker)
667
+ SENSITIVE = []
402
668
  include Aws::Structure
403
669
  end
404
670
 
@@ -415,6 +681,7 @@ module Aws::Signer
415
681
  class ListSigningJobsResponse < Struct.new(
416
682
  :jobs,
417
683
  :next_token)
684
+ SENSITIVE = []
418
685
  include Aws::Structure
419
686
  end
420
687
 
@@ -460,6 +727,7 @@ module Aws::Signer
460
727
  :target,
461
728
  :max_results,
462
729
  :next_token)
730
+ SENSITIVE = []
463
731
  include Aws::Structure
464
732
  end
465
733
 
@@ -476,6 +744,7 @@ module Aws::Signer
476
744
  class ListSigningPlatformsResponse < Struct.new(
477
745
  :platforms,
478
746
  :next_token)
747
+ SENSITIVE = []
479
748
  include Aws::Structure
480
749
  end
481
750
 
@@ -486,6 +755,8 @@ module Aws::Signer
486
755
  # include_canceled: false,
487
756
  # max_results: 1,
488
757
  # next_token: "NextToken",
758
+ # platform_id: "PlatformId",
759
+ # statuses: ["Active"], # accepts Active, Canceled, Revoked
489
760
  # }
490
761
  #
491
762
  # @!attribute [rw] include_canceled
@@ -504,12 +775,25 @@ module Aws::Signer
504
775
  # `nextToken` from the response that you just received.
505
776
  # @return [String]
506
777
  #
778
+ # @!attribute [rw] platform_id
779
+ # Filters results to return only signing jobs initiated for a
780
+ # specified signing platform.
781
+ # @return [String]
782
+ #
783
+ # @!attribute [rw] statuses
784
+ # Filters results to return only signing jobs with statuses in the
785
+ # specified list.
786
+ # @return [Array<String>]
787
+ #
507
788
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningProfilesRequest AWS API Documentation
508
789
  #
509
790
  class ListSigningProfilesRequest < Struct.new(
510
791
  :include_canceled,
511
792
  :max_results,
512
- :next_token)
793
+ :next_token,
794
+ :platform_id,
795
+ :statuses)
796
+ SENSITIVE = []
513
797
  include Aws::Structure
514
798
  end
515
799
 
@@ -528,6 +812,7 @@ module Aws::Signer
528
812
  class ListSigningProfilesResponse < Struct.new(
529
813
  :profiles,
530
814
  :next_token)
815
+ SENSITIVE = []
531
816
  include Aws::Structure
532
817
  end
533
818
 
@@ -546,6 +831,7 @@ module Aws::Signer
546
831
  #
547
832
  class ListTagsForResourceRequest < Struct.new(
548
833
  :resource_arn)
834
+ SENSITIVE = []
549
835
  include Aws::Structure
550
836
  end
551
837
 
@@ -557,6 +843,7 @@ module Aws::Signer
557
843
  #
558
844
  class ListTagsForResourceResponse < Struct.new(
559
845
  :tags)
846
+ SENSITIVE = []
560
847
  include Aws::Structure
561
848
  end
562
849
 
@@ -565,10 +852,44 @@ module Aws::Signer
565
852
  # @!attribute [rw] message
566
853
  # @return [String]
567
854
  #
855
+ # @!attribute [rw] code
856
+ # @return [String]
857
+ #
568
858
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/NotFoundException AWS API Documentation
569
859
  #
570
860
  class NotFoundException < Struct.new(
571
- :message)
861
+ :message,
862
+ :code)
863
+ SENSITIVE = []
864
+ include Aws::Structure
865
+ end
866
+
867
+ # A cross-account permission for a signing profile.
868
+ #
869
+ # @!attribute [rw] action
870
+ # An AWS Signer action permitted as part of cross-account permissions.
871
+ # @return [String]
872
+ #
873
+ # @!attribute [rw] principal
874
+ # The AWS principal that has been granted a cross-account permission.
875
+ # @return [String]
876
+ #
877
+ # @!attribute [rw] statement_id
878
+ # A unique identifier for a cross-account permission statement.
879
+ # @return [String]
880
+ #
881
+ # @!attribute [rw] profile_version
882
+ # The signing profile version that a permission applies to.
883
+ # @return [String]
884
+ #
885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/Permission AWS API Documentation
886
+ #
887
+ class Permission < Struct.new(
888
+ :action,
889
+ :principal,
890
+ :statement_id,
891
+ :profile_version)
892
+ SENSITIVE = []
572
893
  include Aws::Structure
573
894
  end
574
895
 
@@ -577,9 +898,13 @@ module Aws::Signer
577
898
  #
578
899
  # {
579
900
  # profile_name: "ProfileName", # required
580
- # signing_material: { # required
901
+ # signing_material: {
581
902
  # certificate_arn: "CertificateArn", # required
582
903
  # },
904
+ # signature_validity_period: {
905
+ # value: 1,
906
+ # type: "DAYS", # accepts DAYS, MONTHS, YEARS
907
+ # },
583
908
  # platform_id: "PlatformId", # required
584
909
  # overrides: {
585
910
  # signing_configuration: {
@@ -605,6 +930,12 @@ module Aws::Signer
605
930
  # code with the new signing profile.
606
931
  # @return [Types::SigningMaterial]
607
932
  #
933
+ # @!attribute [rw] signature_validity_period
934
+ # The default validity period override for any signature generated
935
+ # using this signing profile. If unspecified, the default is 135
936
+ # months.
937
+ # @return [Types::SignatureValidityPeriod]
938
+ #
608
939
  # @!attribute [rw] platform_id
609
940
  # The ID of the signing platform to be created.
610
941
  # @return [String]
@@ -630,10 +961,12 @@ module Aws::Signer
630
961
  class PutSigningProfileRequest < Struct.new(
631
962
  :profile_name,
632
963
  :signing_material,
964
+ :signature_validity_period,
633
965
  :platform_id,
634
966
  :overrides,
635
967
  :signing_parameters,
636
968
  :tags)
969
+ SENSITIVE = []
637
970
  include Aws::Structure
638
971
  end
639
972
 
@@ -641,10 +974,66 @@ module Aws::Signer
641
974
  # The Amazon Resource Name (ARN) of the signing profile created.
642
975
  # @return [String]
643
976
  #
977
+ # @!attribute [rw] profile_version
978
+ # The version of the signing profile being created.
979
+ # @return [String]
980
+ #
981
+ # @!attribute [rw] profile_version_arn
982
+ # The signing profile ARN, including the profile version.
983
+ # @return [String]
984
+ #
644
985
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/PutSigningProfileResponse AWS API Documentation
645
986
  #
646
987
  class PutSigningProfileResponse < Struct.new(
647
- :arn)
988
+ :arn,
989
+ :profile_version,
990
+ :profile_version_arn)
991
+ SENSITIVE = []
992
+ include Aws::Structure
993
+ end
994
+
995
+ # @note When making an API call, you may pass RemoveProfilePermissionRequest
996
+ # data as a hash:
997
+ #
998
+ # {
999
+ # profile_name: "ProfileName", # required
1000
+ # revision_id: "String", # required
1001
+ # statement_id: "String", # required
1002
+ # }
1003
+ #
1004
+ # @!attribute [rw] profile_name
1005
+ # A human-readable name for the signing profile with permissions to be
1006
+ # removed.
1007
+ # @return [String]
1008
+ #
1009
+ # @!attribute [rw] revision_id
1010
+ # An identifier for the current revision of the signing profile
1011
+ # permissions.
1012
+ # @return [String]
1013
+ #
1014
+ # @!attribute [rw] statement_id
1015
+ # A unique identifier for the cross-account permissions statement.
1016
+ # @return [String]
1017
+ #
1018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RemoveProfilePermissionRequest AWS API Documentation
1019
+ #
1020
+ class RemoveProfilePermissionRequest < Struct.new(
1021
+ :profile_name,
1022
+ :revision_id,
1023
+ :statement_id)
1024
+ SENSITIVE = []
1025
+ include Aws::Structure
1026
+ end
1027
+
1028
+ # @!attribute [rw] revision_id
1029
+ # An identifier for the current revision of the profile permissions.
1030
+ # @return [String]
1031
+ #
1032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RemoveProfilePermissionResponse AWS API Documentation
1033
+ #
1034
+ class RemoveProfilePermissionResponse < Struct.new(
1035
+ :revision_id)
1036
+ SENSITIVE = []
648
1037
  include Aws::Structure
649
1038
  end
650
1039
 
@@ -653,10 +1042,85 @@ module Aws::Signer
653
1042
  # @!attribute [rw] message
654
1043
  # @return [String]
655
1044
  #
1045
+ # @!attribute [rw] code
1046
+ # @return [String]
1047
+ #
656
1048
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ResourceNotFoundException AWS API Documentation
657
1049
  #
658
1050
  class ResourceNotFoundException < Struct.new(
659
- :message)
1051
+ :message,
1052
+ :code)
1053
+ SENSITIVE = []
1054
+ include Aws::Structure
1055
+ end
1056
+
1057
+ # @note When making an API call, you may pass RevokeSignatureRequest
1058
+ # data as a hash:
1059
+ #
1060
+ # {
1061
+ # job_id: "JobId", # required
1062
+ # job_owner: "AccountId",
1063
+ # reason: "RevocationReasonString", # required
1064
+ # }
1065
+ #
1066
+ # @!attribute [rw] job_id
1067
+ # ID of the signing job to be revoked.
1068
+ # @return [String]
1069
+ #
1070
+ # @!attribute [rw] job_owner
1071
+ # AWS account ID of the job owner.
1072
+ # @return [String]
1073
+ #
1074
+ # @!attribute [rw] reason
1075
+ # The reason for revoking the signing job.
1076
+ # @return [String]
1077
+ #
1078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSignatureRequest AWS API Documentation
1079
+ #
1080
+ class RevokeSignatureRequest < Struct.new(
1081
+ :job_id,
1082
+ :job_owner,
1083
+ :reason)
1084
+ SENSITIVE = []
1085
+ include Aws::Structure
1086
+ end
1087
+
1088
+ # @note When making an API call, you may pass RevokeSigningProfileRequest
1089
+ # data as a hash:
1090
+ #
1091
+ # {
1092
+ # profile_name: "ProfileName", # required
1093
+ # profile_version: "ProfileVersion", # required
1094
+ # reason: "RevocationReasonString", # required
1095
+ # effective_time: Time.now, # required
1096
+ # }
1097
+ #
1098
+ # @!attribute [rw] profile_name
1099
+ # The name of the signing profile to be revoked.
1100
+ # @return [String]
1101
+ #
1102
+ # @!attribute [rw] profile_version
1103
+ # The version of the signing profile to be revoked.
1104
+ # @return [String]
1105
+ #
1106
+ # @!attribute [rw] reason
1107
+ # The reason for revoking a signing profile.
1108
+ # @return [String]
1109
+ #
1110
+ # @!attribute [rw] effective_time
1111
+ # A timestamp for when revocation of a Signing Profile should become
1112
+ # effective. Signatures generated using the signing profile after this
1113
+ # timestamp are not trusted.
1114
+ # @return [Time]
1115
+ #
1116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSigningProfileRequest AWS API Documentation
1117
+ #
1118
+ class RevokeSigningProfileRequest < Struct.new(
1119
+ :profile_name,
1120
+ :profile_version,
1121
+ :reason,
1122
+ :effective_time)
1123
+ SENSITIVE = []
660
1124
  include Aws::Structure
661
1125
  end
662
1126
 
@@ -685,6 +1149,7 @@ module Aws::Signer
685
1149
  class S3Destination < Struct.new(
686
1150
  :bucket_name,
687
1151
  :prefix)
1152
+ SENSITIVE = []
688
1153
  include Aws::Structure
689
1154
  end
690
1155
 
@@ -705,6 +1170,7 @@ module Aws::Signer
705
1170
  class S3SignedObject < Struct.new(
706
1171
  :bucket_name,
707
1172
  :key)
1173
+ SENSITIVE = []
708
1174
  include Aws::Structure
709
1175
  end
710
1176
 
@@ -737,6 +1203,51 @@ module Aws::Signer
737
1203
  :bucket_name,
738
1204
  :key,
739
1205
  :version)
1206
+ SENSITIVE = []
1207
+ include Aws::Structure
1208
+ end
1209
+
1210
+ # The client is making a request that exceeds service limits.
1211
+ #
1212
+ # @!attribute [rw] message
1213
+ # @return [String]
1214
+ #
1215
+ # @!attribute [rw] code
1216
+ # @return [String]
1217
+ #
1218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ServiceLimitExceededException AWS API Documentation
1219
+ #
1220
+ class ServiceLimitExceededException < Struct.new(
1221
+ :message,
1222
+ :code)
1223
+ SENSITIVE = []
1224
+ include Aws::Structure
1225
+ end
1226
+
1227
+ # The validity period for a signing job.
1228
+ #
1229
+ # @note When making an API call, you may pass SignatureValidityPeriod
1230
+ # data as a hash:
1231
+ #
1232
+ # {
1233
+ # value: 1,
1234
+ # type: "DAYS", # accepts DAYS, MONTHS, YEARS
1235
+ # }
1236
+ #
1237
+ # @!attribute [rw] value
1238
+ # The numerical value of the time unit for signature validity.
1239
+ # @return [Integer]
1240
+ #
1241
+ # @!attribute [rw] type
1242
+ # The time unit for signature validity.
1243
+ # @return [String]
1244
+ #
1245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SignatureValidityPeriod AWS API Documentation
1246
+ #
1247
+ class SignatureValidityPeriod < Struct.new(
1248
+ :value,
1249
+ :type)
1250
+ SENSITIVE = []
740
1251
  include Aws::Structure
741
1252
  end
742
1253
 
@@ -751,6 +1262,7 @@ module Aws::Signer
751
1262
  #
752
1263
  class SignedObject < Struct.new(
753
1264
  :s3)
1265
+ SENSITIVE = []
754
1266
  include Aws::Structure
755
1267
  end
756
1268
 
@@ -771,6 +1283,7 @@ module Aws::Signer
771
1283
  class SigningConfiguration < Struct.new(
772
1284
  :encryption_algorithm_options,
773
1285
  :hash_algorithm_options)
1286
+ SENSITIVE = []
774
1287
  include Aws::Structure
775
1288
  end
776
1289
 
@@ -800,6 +1313,7 @@ module Aws::Signer
800
1313
  class SigningConfigurationOverrides < Struct.new(
801
1314
  :encryption_algorithm,
802
1315
  :hash_algorithm)
1316
+ SENSITIVE = []
803
1317
  include Aws::Structure
804
1318
  end
805
1319
 
@@ -818,6 +1332,7 @@ module Aws::Signer
818
1332
  class SigningImageFormat < Struct.new(
819
1333
  :supported_formats,
820
1334
  :default_format)
1335
+ SENSITIVE = []
821
1336
  include Aws::Structure
822
1337
  end
823
1338
 
@@ -850,6 +1365,38 @@ module Aws::Signer
850
1365
  # The status of the signing job.
851
1366
  # @return [String]
852
1367
  #
1368
+ # @!attribute [rw] is_revoked
1369
+ # Indicates whether the signing job is revoked.
1370
+ # @return [Boolean]
1371
+ #
1372
+ # @!attribute [rw] profile_name
1373
+ # The name of the signing profile that created a signing job.
1374
+ # @return [String]
1375
+ #
1376
+ # @!attribute [rw] profile_version
1377
+ # The version of the signing profile that created a signing job.
1378
+ # @return [String]
1379
+ #
1380
+ # @!attribute [rw] platform_id
1381
+ # The unique identifier for a signing platform.
1382
+ # @return [String]
1383
+ #
1384
+ # @!attribute [rw] platform_display_name
1385
+ # The name of a signing platform.
1386
+ # @return [String]
1387
+ #
1388
+ # @!attribute [rw] signature_expires_at
1389
+ # The time when the signature of a signing job expires.
1390
+ # @return [Time]
1391
+ #
1392
+ # @!attribute [rw] job_owner
1393
+ # The AWS account ID of the job owner.
1394
+ # @return [String]
1395
+ #
1396
+ # @!attribute [rw] job_invoker
1397
+ # The AWS account ID of the job invoker.
1398
+ # @return [String]
1399
+ #
853
1400
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningJob AWS API Documentation
854
1401
  #
855
1402
  class SigningJob < Struct.new(
@@ -858,7 +1405,40 @@ module Aws::Signer
858
1405
  :signed_object,
859
1406
  :signing_material,
860
1407
  :created_at,
861
- :status)
1408
+ :status,
1409
+ :is_revoked,
1410
+ :profile_name,
1411
+ :profile_version,
1412
+ :platform_id,
1413
+ :platform_display_name,
1414
+ :signature_expires_at,
1415
+ :job_owner,
1416
+ :job_invoker)
1417
+ SENSITIVE = []
1418
+ include Aws::Structure
1419
+ end
1420
+
1421
+ # Revocation information for a signing job.
1422
+ #
1423
+ # @!attribute [rw] reason
1424
+ # A caller-supplied reason for revocation.
1425
+ # @return [String]
1426
+ #
1427
+ # @!attribute [rw] revoked_at
1428
+ # The time of revocation.
1429
+ # @return [Time]
1430
+ #
1431
+ # @!attribute [rw] revoked_by
1432
+ # The identity of the revoker.
1433
+ # @return [String]
1434
+ #
1435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningJobRevocationRecord AWS API Documentation
1436
+ #
1437
+ class SigningJobRevocationRecord < Struct.new(
1438
+ :reason,
1439
+ :revoked_at,
1440
+ :revoked_by)
1441
+ SENSITIVE = []
862
1442
  include Aws::Structure
863
1443
  end
864
1444
 
@@ -880,6 +1460,7 @@ module Aws::Signer
880
1460
  #
881
1461
  class SigningMaterial < Struct.new(
882
1462
  :certificate_arn)
1463
+ SENSITIVE = []
883
1464
  include Aws::Structure
884
1465
  end
885
1466
 
@@ -921,6 +1502,10 @@ module Aws::Signer
921
1502
  # signing platform.
922
1503
  # @return [Integer]
923
1504
  #
1505
+ # @!attribute [rw] revocation_supported
1506
+ # Indicates whether revocation is supported for the platform.
1507
+ # @return [Boolean]
1508
+ #
924
1509
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningPlatform AWS API Documentation
925
1510
  #
926
1511
  class SigningPlatform < Struct.new(
@@ -931,7 +1516,9 @@ module Aws::Signer
931
1516
  :category,
932
1517
  :signing_configuration,
933
1518
  :signing_image_format,
934
- :max_size_in_mb)
1519
+ :max_size_in_mb,
1520
+ :revocation_supported)
1521
+ SENSITIVE = []
935
1522
  include Aws::Structure
936
1523
  end
937
1524
 
@@ -968,6 +1555,7 @@ module Aws::Signer
968
1555
  class SigningPlatformOverrides < Struct.new(
969
1556
  :signing_configuration,
970
1557
  :signing_image_format)
1558
+ SENSITIVE = []
971
1559
  include Aws::Structure
972
1560
  end
973
1561
 
@@ -979,14 +1567,31 @@ module Aws::Signer
979
1567
  # The name of the signing profile.
980
1568
  # @return [String]
981
1569
  #
1570
+ # @!attribute [rw] profile_version
1571
+ # The version of a signing profile.
1572
+ # @return [String]
1573
+ #
1574
+ # @!attribute [rw] profile_version_arn
1575
+ # The ARN of a signing profile, including the profile version.
1576
+ # @return [String]
1577
+ #
982
1578
  # @!attribute [rw] signing_material
983
1579
  # The ACM certificate that is available for use by a signing profile.
984
1580
  # @return [Types::SigningMaterial]
985
1581
  #
1582
+ # @!attribute [rw] signature_validity_period
1583
+ # The validity period for a signing job created using this signing
1584
+ # profile.
1585
+ # @return [Types::SignatureValidityPeriod]
1586
+ #
986
1587
  # @!attribute [rw] platform_id
987
1588
  # The ID of a platform that is available for use by a signing profile.
988
1589
  # @return [String]
989
1590
  #
1591
+ # @!attribute [rw] platform_display_name
1592
+ # The name of the signing platform.
1593
+ # @return [String]
1594
+ #
990
1595
  # @!attribute [rw] signing_parameters
991
1596
  # The parameters that are available for use by a code signing user.
992
1597
  # @return [Hash<String,String>]
@@ -1007,12 +1612,41 @@ module Aws::Signer
1007
1612
  #
1008
1613
  class SigningProfile < Struct.new(
1009
1614
  :profile_name,
1615
+ :profile_version,
1616
+ :profile_version_arn,
1010
1617
  :signing_material,
1618
+ :signature_validity_period,
1011
1619
  :platform_id,
1620
+ :platform_display_name,
1012
1621
  :signing_parameters,
1013
1622
  :status,
1014
1623
  :arn,
1015
1624
  :tags)
1625
+ SENSITIVE = []
1626
+ include Aws::Structure
1627
+ end
1628
+
1629
+ # Revocation information for a signing profile.
1630
+ #
1631
+ # @!attribute [rw] revocation_effective_from
1632
+ # The time when revocation becomes effective.
1633
+ # @return [Time]
1634
+ #
1635
+ # @!attribute [rw] revoked_at
1636
+ # The time when the signing profile was revoked.
1637
+ # @return [Time]
1638
+ #
1639
+ # @!attribute [rw] revoked_by
1640
+ # The identity of the revoker.
1641
+ # @return [String]
1642
+ #
1643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningProfileRevocationRecord AWS API Documentation
1644
+ #
1645
+ class SigningProfileRevocationRecord < Struct.new(
1646
+ :revocation_effective_from,
1647
+ :revoked_at,
1648
+ :revoked_by)
1649
+ SENSITIVE = []
1016
1650
  include Aws::Structure
1017
1651
  end
1018
1652
 
@@ -1038,6 +1672,7 @@ module Aws::Signer
1038
1672
  #
1039
1673
  class Source < Struct.new(
1040
1674
  :s3)
1675
+ SENSITIVE = []
1041
1676
  include Aws::Structure
1042
1677
  end
1043
1678
 
@@ -1058,8 +1693,9 @@ module Aws::Signer
1058
1693
  # prefix: "Prefix",
1059
1694
  # },
1060
1695
  # },
1061
- # profile_name: "ProfileName",
1696
+ # profile_name: "ProfileName", # required
1062
1697
  # client_request_token: "ClientRequestToken", # required
1698
+ # profile_owner: "AccountId",
1063
1699
  # }
1064
1700
  #
1065
1701
  # @!attribute [rw] source
@@ -1085,13 +1721,19 @@ module Aws::Signer
1085
1721
  # not need to pass this option.
1086
1722
  # @return [String]
1087
1723
  #
1724
+ # @!attribute [rw] profile_owner
1725
+ # The AWS account ID of the signing profile owner.
1726
+ # @return [String]
1727
+ #
1088
1728
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/StartSigningJobRequest AWS API Documentation
1089
1729
  #
1090
1730
  class StartSigningJobRequest < Struct.new(
1091
1731
  :source,
1092
1732
  :destination,
1093
1733
  :profile_name,
1094
- :client_request_token)
1734
+ :client_request_token,
1735
+ :profile_owner)
1736
+ SENSITIVE = []
1095
1737
  include Aws::Structure
1096
1738
  end
1097
1739
 
@@ -1099,10 +1741,16 @@ module Aws::Signer
1099
1741
  # The ID of your signing job.
1100
1742
  # @return [String]
1101
1743
  #
1744
+ # @!attribute [rw] job_owner
1745
+ # The AWS account ID of the signing job owner.
1746
+ # @return [String]
1747
+ #
1102
1748
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/StartSigningJobResponse AWS API Documentation
1103
1749
  #
1104
1750
  class StartSigningJobResponse < Struct.new(
1105
- :job_id)
1751
+ :job_id,
1752
+ :job_owner)
1753
+ SENSITIVE = []
1106
1754
  include Aws::Structure
1107
1755
  end
1108
1756
 
@@ -1129,6 +1777,7 @@ module Aws::Signer
1129
1777
  class TagResourceRequest < Struct.new(
1130
1778
  :resource_arn,
1131
1779
  :tags)
1780
+ SENSITIVE = []
1132
1781
  include Aws::Structure
1133
1782
  end
1134
1783
 
@@ -1136,15 +1785,41 @@ module Aws::Signer
1136
1785
  #
1137
1786
  class TagResourceResponse < Aws::EmptyStructure; end
1138
1787
 
1139
- # The signing job has been throttled.
1788
+ # The request was denied due to request throttling.
1789
+ #
1790
+ # Instead of this error, `TooManyRequestsException` should be used.
1140
1791
  #
1141
1792
  # @!attribute [rw] message
1142
1793
  # @return [String]
1143
1794
  #
1795
+ # @!attribute [rw] code
1796
+ # @return [String]
1797
+ #
1144
1798
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ThrottlingException AWS API Documentation
1145
1799
  #
1146
1800
  class ThrottlingException < Struct.new(
1147
- :message)
1801
+ :message,
1802
+ :code)
1803
+ SENSITIVE = []
1804
+ include Aws::Structure
1805
+ end
1806
+
1807
+ # The allowed number of job-signing requests has been exceeded.
1808
+ #
1809
+ # This error supersedes the error `ThrottlingException`.
1810
+ #
1811
+ # @!attribute [rw] message
1812
+ # @return [String]
1813
+ #
1814
+ # @!attribute [rw] code
1815
+ # @return [String]
1816
+ #
1817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/TooManyRequestsException AWS API Documentation
1818
+ #
1819
+ class TooManyRequestsException < Struct.new(
1820
+ :message,
1821
+ :code)
1822
+ SENSITIVE = []
1148
1823
  include Aws::Structure
1149
1824
  end
1150
1825
 
@@ -1169,6 +1844,7 @@ module Aws::Signer
1169
1844
  class UntagResourceRequest < Struct.new(
1170
1845
  :resource_arn,
1171
1846
  :tag_keys)
1847
+ SENSITIVE = []
1172
1848
  include Aws::Structure
1173
1849
  end
1174
1850
 
@@ -1181,10 +1857,15 @@ module Aws::Signer
1181
1857
  # @!attribute [rw] message
1182
1858
  # @return [String]
1183
1859
  #
1860
+ # @!attribute [rw] code
1861
+ # @return [String]
1862
+ #
1184
1863
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ValidationException AWS API Documentation
1185
1864
  #
1186
1865
  class ValidationException < Struct.new(
1187
- :message)
1866
+ :message,
1867
+ :code)
1868
+ SENSITIVE = []
1188
1869
  include Aws::Structure
1189
1870
  end
1190
1871