aws-sdk-signer 1.16.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,7 @@ module Aws::Signer
12
12
  include Seahorse::Model
13
13
 
14
14
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
15
16
  BucketName = Shapes::StringShape.new(name: 'BucketName')
16
17
  CancelSigningProfileRequest = Shapes::StructureShape.new(name: 'CancelSigningProfileRequest')
17
18
  Category = Shapes::StringShape.new(name: 'Category')
@@ -45,9 +46,12 @@ module Aws::Signer
45
46
  ListSigningPlatformsResponse = Shapes::StructureShape.new(name: 'ListSigningPlatformsResponse')
46
47
  ListSigningProfilesRequest = Shapes::StructureShape.new(name: 'ListSigningProfilesRequest')
47
48
  ListSigningProfilesResponse = Shapes::StructureShape.new(name: 'ListSigningProfilesResponse')
49
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
50
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
48
51
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
49
52
  MaxSizeInMB = Shapes::IntegerShape.new(name: 'MaxSizeInMB')
50
53
  NextToken = Shapes::StringShape.new(name: 'NextToken')
54
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
51
55
  PlatformId = Shapes::StringShape.new(name: 'PlatformId')
52
56
  Prefix = Shapes::StringShape.new(name: 'Prefix')
53
57
  ProfileName = Shapes::StringShape.new(name: 'ProfileName')
@@ -80,7 +84,15 @@ module Aws::Signer
80
84
  StartSigningJobResponse = Shapes::StructureShape.new(name: 'StartSigningJobResponse')
81
85
  StatusReason = Shapes::StringShape.new(name: 'StatusReason')
82
86
  String = Shapes::StringShape.new(name: 'String')
87
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
88
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
89
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
90
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
91
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
92
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
83
93
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
94
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
95
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
84
96
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
85
97
  Version = Shapes::StringShape.new(name: 'Version')
86
98
  bool = Shapes::BooleanShape.new(name: 'bool')
@@ -90,6 +102,9 @@ module Aws::Signer
90
102
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
91
103
  AccessDeniedException.struct_class = Types::AccessDeniedException
92
104
 
105
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
106
+ BadRequestException.struct_class = Types::BadRequestException
107
+
93
108
  CancelSigningProfileRequest.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, required: true, location: "uri", location_name: "profileName"))
94
109
  CancelSigningProfileRequest.struct_class = Types::CancelSigningProfileRequest
95
110
 
@@ -142,6 +157,8 @@ module Aws::Signer
142
157
  GetSigningProfileResponse.add_member(:overrides, Shapes::ShapeRef.new(shape: SigningPlatformOverrides, location_name: "overrides"))
143
158
  GetSigningProfileResponse.add_member(:signing_parameters, Shapes::ShapeRef.new(shape: SigningParameters, location_name: "signingParameters"))
144
159
  GetSigningProfileResponse.add_member(:status, Shapes::ShapeRef.new(shape: SigningProfileStatus, location_name: "status"))
160
+ GetSigningProfileResponse.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "arn"))
161
+ GetSigningProfileResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
145
162
  GetSigningProfileResponse.struct_class = Types::GetSigningProfileResponse
146
163
 
147
164
  HashAlgorithmOptions.add_member(:allowed_values, Shapes::ShapeRef.new(shape: HashAlgorithms, required: true, location_name: "allowedValues"))
@@ -186,11 +203,21 @@ module Aws::Signer
186
203
  ListSigningProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
187
204
  ListSigningProfilesResponse.struct_class = Types::ListSigningProfilesResponse
188
205
 
206
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
207
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
208
+
209
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
210
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
211
+
212
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
213
+ NotFoundException.struct_class = Types::NotFoundException
214
+
189
215
  PutSigningProfileRequest.add_member(:profile_name, Shapes::ShapeRef.new(shape: ProfileName, required: true, location: "uri", location_name: "profileName"))
190
216
  PutSigningProfileRequest.add_member(:signing_material, Shapes::ShapeRef.new(shape: SigningMaterial, required: true, location_name: "signingMaterial"))
191
217
  PutSigningProfileRequest.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, required: true, location_name: "platformId"))
192
218
  PutSigningProfileRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: SigningPlatformOverrides, location_name: "overrides"))
193
219
  PutSigningProfileRequest.add_member(:signing_parameters, Shapes::ShapeRef.new(shape: SigningParameters, location_name: "signingParameters"))
220
+ PutSigningProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
194
221
  PutSigningProfileRequest.struct_class = Types::PutSigningProfileRequest
195
222
 
196
223
  PutSigningProfileResponse.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "arn"))
@@ -254,6 +281,7 @@ module Aws::Signer
254
281
  SigningPlatform.struct_class = Types::SigningPlatform
255
282
 
256
283
  SigningPlatformOverrides.add_member(:signing_configuration, Shapes::ShapeRef.new(shape: SigningConfigurationOverrides, location_name: "signingConfiguration"))
284
+ SigningPlatformOverrides.add_member(:signing_image_format, Shapes::ShapeRef.new(shape: ImageFormat, location_name: "signingImageFormat"))
257
285
  SigningPlatformOverrides.struct_class = Types::SigningPlatformOverrides
258
286
 
259
287
  SigningPlatforms.member = Shapes::ShapeRef.new(shape: SigningPlatform)
@@ -263,6 +291,8 @@ module Aws::Signer
263
291
  SigningProfile.add_member(:platform_id, Shapes::ShapeRef.new(shape: PlatformId, location_name: "platformId"))
264
292
  SigningProfile.add_member(:signing_parameters, Shapes::ShapeRef.new(shape: SigningParameters, location_name: "signingParameters"))
265
293
  SigningProfile.add_member(:status, Shapes::ShapeRef.new(shape: SigningProfileStatus, location_name: "status"))
294
+ SigningProfile.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "arn"))
295
+ SigningProfile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
266
296
  SigningProfile.struct_class = Types::SigningProfile
267
297
 
268
298
  SigningProfiles.member = Shapes::ShapeRef.new(shape: SigningProfile)
@@ -279,9 +309,26 @@ module Aws::Signer
279
309
  StartSigningJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
280
310
  StartSigningJobResponse.struct_class = Types::StartSigningJobResponse
281
311
 
312
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
313
+
314
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
315
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
316
+
317
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
318
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
319
+ TagResourceRequest.struct_class = Types::TagResourceRequest
320
+
321
+ TagResourceResponse.struct_class = Types::TagResourceResponse
322
+
282
323
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
283
324
  ThrottlingException.struct_class = Types::ThrottlingException
284
325
 
326
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
327
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
328
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
329
+
330
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
331
+
285
332
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
286
333
  ValidationException.struct_class = Types::ValidationException
287
334
 
@@ -403,6 +450,17 @@ module Aws::Signer
403
450
  )
404
451
  end)
405
452
 
453
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
454
+ o.name = "ListTagsForResource"
455
+ o.http_method = "GET"
456
+ o.http_request_uri = "/tags/{resourceArn}"
457
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
458
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
459
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
460
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
461
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
462
+ end)
463
+
406
464
  api.add_operation(:put_signing_profile, Seahorse::Model::Operation.new.tap do |o|
407
465
  o.name = "PutSigningProfile"
408
466
  o.http_method = "PUT"
@@ -428,6 +486,28 @@ module Aws::Signer
428
486
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
429
487
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
430
488
  end)
489
+
490
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
491
+ o.name = "TagResource"
492
+ o.http_method = "POST"
493
+ o.http_request_uri = "/tags/{resourceArn}"
494
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
495
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
496
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
497
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
498
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
499
+ end)
500
+
501
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
502
+ o.name = "UntagResource"
503
+ o.http_method = "DELETE"
504
+ o.http_request_uri = "/tags/{resourceArn}"
505
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
506
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
507
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
508
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
509
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
510
+ end)
431
511
  end
432
512
 
433
513
  end
@@ -6,6 +6,35 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Signer
9
+
10
+ # When Signer returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::Signer::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all Signer errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::Signer::Errors::ServiceError
18
+ # # rescues all Signer API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {AccessDeniedException}
29
+ # * {BadRequestException}
30
+ # * {InternalServiceErrorException}
31
+ # * {NotFoundException}
32
+ # * {ResourceNotFoundException}
33
+ # * {ThrottlingException}
34
+ # * {ValidationException}
35
+ #
36
+ # Additionally, error classes are dynamically generated for service errors based on the error code
37
+ # if they are not defined above.
9
38
  module Errors
10
39
 
11
40
  extend Aws::Errors::DynamicErrors
@@ -23,7 +52,21 @@ module Aws::Signer
23
52
  def message
24
53
  @message || @data[:message]
25
54
  end
55
+ end
56
+
57
+ class BadRequestException < ServiceError
58
+
59
+ # @param [Seahorse::Client::RequestContext] context
60
+ # @param [String] message
61
+ # @param [Aws::Signer::Types::BadRequestException] data
62
+ def initialize(context, message, data = Aws::EmptyStructure.new)
63
+ super(context, message, data)
64
+ end
26
65
 
66
+ # @return [String]
67
+ def message
68
+ @message || @data[:message]
69
+ end
27
70
  end
28
71
 
29
72
  class InternalServiceErrorException < ServiceError
@@ -39,7 +82,21 @@ module Aws::Signer
39
82
  def message
40
83
  @message || @data[:message]
41
84
  end
85
+ end
86
+
87
+ class NotFoundException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::Signer::Types::NotFoundException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
42
95
 
96
+ # @return [String]
97
+ def message
98
+ @message || @data[:message]
99
+ end
43
100
  end
44
101
 
45
102
  class ResourceNotFoundException < ServiceError
@@ -55,7 +112,6 @@ module Aws::Signer
55
112
  def message
56
113
  @message || @data[:message]
57
114
  end
58
-
59
115
  end
60
116
 
61
117
  class ThrottlingException < ServiceError
@@ -71,7 +127,6 @@ module Aws::Signer
71
127
  def message
72
128
  @message || @data[:message]
73
129
  end
74
-
75
130
  end
76
131
 
77
132
  class ValidationException < ServiceError
@@ -87,7 +142,6 @@ module Aws::Signer
87
142
  def message
88
143
  @message || @data[:message]
89
144
  end
90
-
91
145
  end
92
146
 
93
147
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Signer
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -20,6 +20,20 @@ module Aws::Signer
20
20
  include Aws::Structure
21
21
  end
22
22
 
23
+ # The request contains invalid parameters for the ARN or tags. This
24
+ # exception also occurs when you call a tagging API on a cancelled
25
+ # signing profile.
26
+ #
27
+ # @!attribute [rw] message
28
+ # @return [String]
29
+ #
30
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/BadRequestException AWS API Documentation
31
+ #
32
+ class BadRequestException < Struct.new(
33
+ :message)
34
+ include Aws::Structure
35
+ end
36
+
23
37
  # @note When making an API call, you may pass CancelSigningProfileRequest
24
38
  # data as a hash:
25
39
  #
@@ -66,7 +80,7 @@ module Aws::Signer
66
80
  # @return [Types::Source]
67
81
  #
68
82
  # @!attribute [rw] signing_material
69
- # Amazon Resource Name (ARN) of your code signing certificate.
83
+ # The Amazon Resource Name (ARN) of your code signing certificate.
70
84
  # @return [Types::SigningMaterial]
71
85
  #
72
86
  # @!attribute [rw] platform_id
@@ -109,8 +123,8 @@ module Aws::Signer
109
123
  # @return [String]
110
124
  #
111
125
  # @!attribute [rw] signed_object
112
- # Name of the S3 bucket where the signed code image is saved by AWS
113
- # Signer.
126
+ # Name of the S3 bucket where the signed code image is saved by code
127
+ # signing.
114
128
  # @return [Types::SignedObject]
115
129
  #
116
130
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJobResponse AWS API Documentation
@@ -156,16 +170,16 @@ module Aws::Signer
156
170
  include Aws::Structure
157
171
  end
158
172
 
159
- # The encryption algorithm options that are available to an AWS Signer
173
+ # The encryption algorithm options that are available to a code signing
160
174
  # job.
161
175
  #
162
176
  # @!attribute [rw] allowed_values
163
- # The set of accepted encryption algorithms that are allowed in an AWS
164
- # Signer job.
177
+ # The set of accepted encryption algorithms that are allowed in a code
178
+ # signing job.
165
179
  # @return [Array<String>]
166
180
  #
167
181
  # @!attribute [rw] default_value
168
- # The default encryption algorithm that is used by an AWS Signer job.
182
+ # The default encryption algorithm that is used by a code signing job.
169
183
  # @return [String]
170
184
  #
171
185
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/EncryptionAlgorithmOptions AWS API Documentation
@@ -286,6 +300,14 @@ module Aws::Signer
286
300
  # The status of the target signing profile.
287
301
  # @return [String]
288
302
  #
303
+ # @!attribute [rw] arn
304
+ # The Amazon Resource Name (ARN) for the signing profile.
305
+ # @return [String]
306
+ #
307
+ # @!attribute [rw] tags
308
+ # A list of tags associated with the signing profile.
309
+ # @return [Hash<String,String>]
310
+ #
289
311
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningProfileResponse AWS API Documentation
290
312
  #
291
313
  class GetSigningProfileResponse < Struct.new(
@@ -294,18 +316,20 @@ module Aws::Signer
294
316
  :platform_id,
295
317
  :overrides,
296
318
  :signing_parameters,
297
- :status)
319
+ :status,
320
+ :arn,
321
+ :tags)
298
322
  include Aws::Structure
299
323
  end
300
324
 
301
- # The hash algorithms that are available to an AWS Signer job.
325
+ # The hash algorithms that are available to a code signing job.
302
326
  #
303
327
  # @!attribute [rw] allowed_values
304
- # The set of accepted hash algorithms allowed in an AWS Signer job.
328
+ # The set of accepted hash algorithms allowed in a code signing job.
305
329
  # @return [Array<String>]
306
330
  #
307
331
  # @!attribute [rw] default_value
308
- # The default hash algorithm that is used in an AWS Signer job.
332
+ # The default hash algorithm that is used in a code signing job.
309
333
  # @return [String]
310
334
  #
311
335
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/HashAlgorithmOptions AWS API Documentation
@@ -507,6 +531,47 @@ module Aws::Signer
507
531
  include Aws::Structure
508
532
  end
509
533
 
534
+ # @note When making an API call, you may pass ListTagsForResourceRequest
535
+ # data as a hash:
536
+ #
537
+ # {
538
+ # resource_arn: "String", # required
539
+ # }
540
+ #
541
+ # @!attribute [rw] resource_arn
542
+ # The Amazon Resource Name (ARN) for the signing profile.
543
+ # @return [String]
544
+ #
545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListTagsForResourceRequest AWS API Documentation
546
+ #
547
+ class ListTagsForResourceRequest < Struct.new(
548
+ :resource_arn)
549
+ include Aws::Structure
550
+ end
551
+
552
+ # @!attribute [rw] tags
553
+ # A list of tags associated with the signing profile.
554
+ # @return [Hash<String,String>]
555
+ #
556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListTagsForResourceResponse AWS API Documentation
557
+ #
558
+ class ListTagsForResourceResponse < Struct.new(
559
+ :tags)
560
+ include Aws::Structure
561
+ end
562
+
563
+ # The signing profile was not found.
564
+ #
565
+ # @!attribute [rw] message
566
+ # @return [String]
567
+ #
568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/NotFoundException AWS API Documentation
569
+ #
570
+ class NotFoundException < Struct.new(
571
+ :message)
572
+ include Aws::Structure
573
+ end
574
+
510
575
  # @note When making an API call, you may pass PutSigningProfileRequest
511
576
  # data as a hash:
512
577
  #
@@ -521,10 +586,14 @@ module Aws::Signer
521
586
  # encryption_algorithm: "RSA", # accepts RSA, ECDSA
522
587
  # hash_algorithm: "SHA1", # accepts SHA1, SHA256
523
588
  # },
589
+ # signing_image_format: "JSON", # accepts JSON, JSONEmbedded, JSONDetached
524
590
  # },
525
591
  # signing_parameters: {
526
592
  # "SigningParameterKey" => "SigningParameterValue",
527
593
  # },
594
+ # tags: {
595
+ # "TagKey" => "TagValue",
596
+ # },
528
597
  # }
529
598
  #
530
599
  # @!attribute [rw] profile_name
@@ -537,7 +606,7 @@ module Aws::Signer
537
606
  # @return [Types::SigningMaterial]
538
607
  #
539
608
  # @!attribute [rw] platform_id
540
- # The ID of the signing profile to be created.
609
+ # The ID of the signing platform to be created.
541
610
  # @return [String]
542
611
  #
543
612
  # @!attribute [rw] overrides
@@ -551,6 +620,11 @@ module Aws::Signer
551
620
  # information that you want to use during signing.
552
621
  # @return [Hash<String,String>]
553
622
  #
623
+ # @!attribute [rw] tags
624
+ # Tags to be associated with the signing profile that is being
625
+ # created.
626
+ # @return [Hash<String,String>]
627
+ #
554
628
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/PutSigningProfileRequest AWS API Documentation
555
629
  #
556
630
  class PutSigningProfileRequest < Struct.new(
@@ -558,7 +632,8 @@ module Aws::Signer
558
632
  :signing_material,
559
633
  :platform_id,
560
634
  :overrides,
561
- :signing_parameters)
635
+ :signing_parameters,
636
+ :tags)
562
637
  include Aws::Structure
563
638
  end
564
639
 
@@ -585,7 +660,7 @@ module Aws::Signer
585
660
  include Aws::Structure
586
661
  end
587
662
 
588
- # The name and prefix of the S3 bucket where AWS Signer saves your
663
+ # The name and prefix of the S3 bucket where code signing saves your
589
664
  # signed objects.
590
665
  #
591
666
  # @note When making an API call, you may pass S3Destination
@@ -613,7 +688,7 @@ module Aws::Signer
613
688
  include Aws::Structure
614
689
  end
615
690
 
616
- # The S3 bucket name and key where AWS Signer saved your signed code
691
+ # The S3 bucket name and key where code signing saved your signed code
617
692
  # image.
618
693
  #
619
694
  # @!attribute [rw] bucket_name
@@ -679,15 +754,16 @@ module Aws::Signer
679
754
  include Aws::Structure
680
755
  end
681
756
 
682
- # The configuration of an AWS Signer operation.
757
+ # The configuration of a code signing operation.
683
758
  #
684
759
  # @!attribute [rw] encryption_algorithm_options
685
- # The encryption algorithm options that are available for an AWS
686
- # Signer job.
760
+ # The encryption algorithm options that are available for a code
761
+ # signing job.
687
762
  # @return [Types::EncryptionAlgorithmOptions]
688
763
  #
689
764
  # @!attribute [rw] hash_algorithm_options
690
- # The hash algorithm options that are available for an AWS Signer job.
765
+ # The hash algorithm options that are available for a code signing
766
+ # job.
691
767
  # @return [Types::HashAlgorithmOptions]
692
768
  #
693
769
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningConfiguration AWS API Documentation
@@ -711,12 +787,12 @@ module Aws::Signer
711
787
  #
712
788
  # @!attribute [rw] encryption_algorithm
713
789
  # A specified override of the default encryption algorithm that is
714
- # used in an AWS Signer job.
790
+ # used in a code signing job.
715
791
  # @return [String]
716
792
  #
717
793
  # @!attribute [rw] hash_algorithm
718
- # A specified override of the default hash algorithm that is used in
719
- # an AWS Signer job.
794
+ # A specified override of the default hash algorithm that is used in a
795
+ # code signing job.
720
796
  # @return [String]
721
797
  #
722
798
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningConfigurationOverrides AWS API Documentation
@@ -727,14 +803,14 @@ module Aws::Signer
727
803
  include Aws::Structure
728
804
  end
729
805
 
730
- # The image format of an AWS Signer platform or profile.
806
+ # The image format of a code signing platform or profile.
731
807
  #
732
808
  # @!attribute [rw] supported_formats
733
- # The supported formats of an AWS Signer signing image.
809
+ # The supported formats of a code signing image.
734
810
  # @return [Array<String>]
735
811
  #
736
812
  # @!attribute [rw] default_format
737
- # The default format of an AWS Signer signing image.
813
+ # The default format of a code signing image.
738
814
  # @return [String]
739
815
  #
740
816
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningImageFormat AWS API Documentation
@@ -808,41 +884,41 @@ module Aws::Signer
808
884
  end
809
885
 
810
886
  # Contains information about the signing configurations and parameters
811
- # that is used to perform an AWS Signer job.
887
+ # that are used to perform a code signing job.
812
888
  #
813
889
  # @!attribute [rw] platform_id
814
- # The ID of an AWS Signer platform.
890
+ # The ID of a code signing; platform.
815
891
  # @return [String]
816
892
  #
817
893
  # @!attribute [rw] display_name
818
- # The display name of an AWS Signer platform.
894
+ # The display name of a code signing platform.
819
895
  # @return [String]
820
896
  #
821
897
  # @!attribute [rw] partner
822
- # Any partner entities linked to an AWS Signer platform.
898
+ # Any partner entities linked to a code signing platform.
823
899
  # @return [String]
824
900
  #
825
901
  # @!attribute [rw] target
826
- # The types of targets that can be signed by an AWS Signer platform.
902
+ # The types of targets that can be signed by a code signing platform.
827
903
  # @return [String]
828
904
  #
829
905
  # @!attribute [rw] category
830
- # The category of an AWS Signer platform.
906
+ # The category of a code signing platform.
831
907
  # @return [String]
832
908
  #
833
909
  # @!attribute [rw] signing_configuration
834
- # The configuration of an AWS Signer platform. This includes the
910
+ # The configuration of a code signing platform. This includes the
835
911
  # designated hash algorithm and encryption algorithm of a signing
836
912
  # platform.
837
913
  # @return [Types::SigningConfiguration]
838
914
  #
839
915
  # @!attribute [rw] signing_image_format
840
- # The signing image format that is used by an AWS Signer platform.
916
+ # The image format of a code signing platform or profile.
841
917
  # @return [Types::SigningImageFormat]
842
918
  #
843
919
  # @!attribute [rw] max_size_in_mb
844
- # The maximum size (in MB) of code that can be signed by a AWS Signer
845
- # platform.
920
+ # The maximum size (in MB) of code that can be signed by a code
921
+ # signing platform.
846
922
  # @return [Integer]
847
923
  #
848
924
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningPlatform AWS API Documentation
@@ -859,8 +935,8 @@ module Aws::Signer
859
935
  include Aws::Structure
860
936
  end
861
937
 
862
- # Any overrides that are applied to the signing configuration of an AWS
863
- # Signer platform.
938
+ # Any overrides that are applied to the signing configuration of a code
939
+ # signing platform.
864
940
  #
865
941
  # @note When making an API call, you may pass SigningPlatformOverrides
866
942
  # data as a hash:
@@ -870,6 +946,7 @@ module Aws::Signer
870
946
  # encryption_algorithm: "RSA", # accepts RSA, ECDSA
871
947
  # hash_algorithm: "SHA1", # accepts SHA1, SHA256
872
948
  # },
949
+ # signing_image_format: "JSON", # accepts JSON, JSONEmbedded, JSONDetached
873
950
  # }
874
951
  #
875
952
  # @!attribute [rw] signing_configuration
@@ -877,18 +954,29 @@ module Aws::Signer
877
954
  # hash algorithm of a signing job.
878
955
  # @return [Types::SigningConfigurationOverrides]
879
956
  #
957
+ # @!attribute [rw] signing_image_format
958
+ # A signed image is a JSON object. When overriding the default signing
959
+ # platform configuration, a customer can select either of two signing
960
+ # formats, `JSONEmbedded` or `JSONDetached`. (A third format value,
961
+ # `JSON`, is reserved for future use.) With `JSONEmbedded`, the
962
+ # signing image has the payload embedded in it. With `JSONDetached`,
963
+ # the payload is not be embedded in the signing image.
964
+ # @return [String]
965
+ #
880
966
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningPlatformOverrides AWS API Documentation
881
967
  #
882
968
  class SigningPlatformOverrides < Struct.new(
883
- :signing_configuration)
969
+ :signing_configuration,
970
+ :signing_image_format)
884
971
  include Aws::Structure
885
972
  end
886
973
 
887
- # Contains information about the ACM certificates and AWS Signer
888
- # configuration parameters that can be used by a given AWS Signer user.
974
+ # Contains information about the ACM certificates and code signing
975
+ # configuration parameters that can be used by a given code signing
976
+ # user.
889
977
  #
890
978
  # @!attribute [rw] profile_name
891
- # The name of the AWS Signer profile.
979
+ # The name of the signing profile.
892
980
  # @return [String]
893
981
  #
894
982
  # @!attribute [rw] signing_material
@@ -900,13 +988,21 @@ module Aws::Signer
900
988
  # @return [String]
901
989
  #
902
990
  # @!attribute [rw] signing_parameters
903
- # The parameters that are available for use by an AWS Signer user.
991
+ # The parameters that are available for use by a code signing user.
904
992
  # @return [Hash<String,String>]
905
993
  #
906
994
  # @!attribute [rw] status
907
- # The status of an AWS Signer profile.
995
+ # The status of a code signing profile.
996
+ # @return [String]
997
+ #
998
+ # @!attribute [rw] arn
999
+ # The Amazon Resource Name (ARN) for the signing profile.
908
1000
  # @return [String]
909
1001
  #
1002
+ # @!attribute [rw] tags
1003
+ # A list of tags associated with the signing profile.
1004
+ # @return [Hash<String,String>]
1005
+ #
910
1006
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningProfile AWS API Documentation
911
1007
  #
912
1008
  class SigningProfile < Struct.new(
@@ -914,7 +1010,9 @@ module Aws::Signer
914
1010
  :signing_material,
915
1011
  :platform_id,
916
1012
  :signing_parameters,
917
- :status)
1013
+ :status,
1014
+ :arn,
1015
+ :tags)
918
1016
  include Aws::Structure
919
1017
  end
920
1018
 
@@ -1008,6 +1106,36 @@ module Aws::Signer
1008
1106
  include Aws::Structure
1009
1107
  end
1010
1108
 
1109
+ # @note When making an API call, you may pass TagResourceRequest
1110
+ # data as a hash:
1111
+ #
1112
+ # {
1113
+ # resource_arn: "String", # required
1114
+ # tags: { # required
1115
+ # "TagKey" => "TagValue",
1116
+ # },
1117
+ # }
1118
+ #
1119
+ # @!attribute [rw] resource_arn
1120
+ # The Amazon Resource Name (ARN) for the signing profile.
1121
+ # @return [String]
1122
+ #
1123
+ # @!attribute [rw] tags
1124
+ # One or more tags to be associated with the signing profile.
1125
+ # @return [Hash<String,String>]
1126
+ #
1127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/TagResourceRequest AWS API Documentation
1128
+ #
1129
+ class TagResourceRequest < Struct.new(
1130
+ :resource_arn,
1131
+ :tags)
1132
+ include Aws::Structure
1133
+ end
1134
+
1135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/TagResourceResponse AWS API Documentation
1136
+ #
1137
+ class TagResourceResponse < Aws::EmptyStructure; end
1138
+
1011
1139
  # The signing job has been throttled.
1012
1140
  #
1013
1141
  # @!attribute [rw] message
@@ -1020,6 +1148,34 @@ module Aws::Signer
1020
1148
  include Aws::Structure
1021
1149
  end
1022
1150
 
1151
+ # @note When making an API call, you may pass UntagResourceRequest
1152
+ # data as a hash:
1153
+ #
1154
+ # {
1155
+ # resource_arn: "String", # required
1156
+ # tag_keys: ["TagKey"], # required
1157
+ # }
1158
+ #
1159
+ # @!attribute [rw] resource_arn
1160
+ # The Amazon Resource Name (ARN) for the signing profile.
1161
+ # @return [String]
1162
+ #
1163
+ # @!attribute [rw] tag_keys
1164
+ # A list of tag keys to be removed from the signing profile.
1165
+ # @return [Array<String>]
1166
+ #
1167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/UntagResourceRequest AWS API Documentation
1168
+ #
1169
+ class UntagResourceRequest < Struct.new(
1170
+ :resource_arn,
1171
+ :tag_keys)
1172
+ include Aws::Structure
1173
+ end
1174
+
1175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/UntagResourceResponse AWS API Documentation
1176
+ #
1177
+ class UntagResourceResponse < Aws::EmptyStructure; end
1178
+
1023
1179
  # You signing certificate could not be validated.
1024
1180
  #
1025
1181
  # @!attribute [rw] message