aws-sdk-signer 1.22.1 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 804ae10b50f3de1c3aa32f38a6e00d5908b601f69b67107a975038b797c5e311
4
- data.tar.gz: fc54fd28ebb16ff6fb136a7c48298dd5d199d6d89db60a7986f3eb2c563c0237
3
+ metadata.gz: 48a34700cf70044c0daf2f8d39913083a89f3c7a7307abfc5fbb56ff95613590
4
+ data.tar.gz: 4bc53d38c177a6bd4e49d5b6f6acf672cfc2b8395bcf8f788b27730b3a1d2233
5
5
  SHA512:
6
- metadata.gz: e34e20fa124fd4a76db620229eeda49c8ef5f870eb255b1691f6c05cfc4ec599b1b10282ee45a801e34c3a4f59497ef3dbfeb28f050651a1d77b0705e73e8c11
7
- data.tar.gz: 759910c1f7567801fffb2a1db108968deb74d0b03b0a6b3992cab8cbee5ebeffd5abe162a1d203bf839d13615f2a04d0392e3cec48fa1a553344a6982f085305
6
+ metadata.gz: 00601f228eae5b3fe97e9d1020ea37093d56aa3cab40e36f32579bdf46273fdbe095f8715428085df67d683e7764d34c6e646d8680515c38d5a768f718e1cbc7
7
+ data.tar.gz: 267950facfaf07daa3108fe1a7dad14aae4160dc45be8a8beb3c224e4eec46052c9738b2ef83a598edf440b5d217ce4ed37febf4a0238c8e7f154662c5b1345f
@@ -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:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -26,7 +29,7 @@ require_relative 'aws-sdk-signer/customizations'
26
29
  # structure.
27
30
  #
28
31
  # signer = Aws::Signer::Client.new
29
- # resp = signer.cancel_signing_profile(params)
32
+ # resp = signer.add_profile_permission(params)
30
33
  #
31
34
  # See {Client} for more information.
32
35
  #
@@ -43,9 +46,9 @@ require_relative 'aws-sdk-signer/customizations'
43
46
  #
44
47
  # See {Errors} for more information.
45
48
  #
46
- # @service
49
+ # @!group service
47
50
  module Aws::Signer
48
51
 
49
- GEM_VERSION = '1.22.1'
52
+ GEM_VERSION = '1.27.0'
50
53
 
51
54
  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:
@@ -83,13 +85,28 @@ module Aws::Signer
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::Signer
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -310,6 +327,55 @@ module Aws::Signer
310
327
 
311
328
  # @!group API Operations
312
329
 
330
+ # Adds cross-account permissions to a signing profile.
331
+ #
332
+ # @option params [required, String] :profile_name
333
+ # The human-readable name of the signing profile.
334
+ #
335
+ # @option params [String] :profile_version
336
+ # The version of the signing profile.
337
+ #
338
+ # @option params [required, String] :action
339
+ # The AWS Signer action permitted as part of cross-account permissions.
340
+ #
341
+ # @option params [required, String] :principal
342
+ # The AWS principal receiving cross-account permissions. This may be an
343
+ # IAM role or another AWS account ID.
344
+ #
345
+ # @option params [String] :revision_id
346
+ # A unique identifier for the current profile revision.
347
+ #
348
+ # @option params [required, String] :statement_id
349
+ # A unique identifier for the cross-account permission statement.
350
+ #
351
+ # @return [Types::AddProfilePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
352
+ #
353
+ # * {Types::AddProfilePermissionResponse#revision_id #revision_id} => String
354
+ #
355
+ # @example Request syntax with placeholder values
356
+ #
357
+ # resp = client.add_profile_permission({
358
+ # profile_name: "ProfileName", # required
359
+ # profile_version: "ProfileVersion",
360
+ # action: "String", # required
361
+ # principal: "String", # required
362
+ # revision_id: "String",
363
+ # statement_id: "String", # required
364
+ # })
365
+ #
366
+ # @example Response structure
367
+ #
368
+ # resp.revision_id #=> String
369
+ #
370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/AddProfilePermission AWS API Documentation
371
+ #
372
+ # @overload add_profile_permission(params = {})
373
+ # @param [Hash] params ({})
374
+ def add_profile_permission(params = {}, options = {})
375
+ req = build_request(:add_profile_permission, params)
376
+ req.send_request(options)
377
+ end
378
+
313
379
  # Changes the state of an `ACTIVE` signing profile to `CANCELED`. A
314
380
  # canceled profile is still viewable with the `ListSigningProfiles`
315
381
  # operation, but it cannot perform new signing jobs, and is deleted two
@@ -348,15 +414,21 @@ module Aws::Signer
348
414
  # * {Types::DescribeSigningJobResponse#source #source} => Types::Source
349
415
  # * {Types::DescribeSigningJobResponse#signing_material #signing_material} => Types::SigningMaterial
350
416
  # * {Types::DescribeSigningJobResponse#platform_id #platform_id} => String
417
+ # * {Types::DescribeSigningJobResponse#platform_display_name #platform_display_name} => String
351
418
  # * {Types::DescribeSigningJobResponse#profile_name #profile_name} => String
419
+ # * {Types::DescribeSigningJobResponse#profile_version #profile_version} => String
352
420
  # * {Types::DescribeSigningJobResponse#overrides #overrides} => Types::SigningPlatformOverrides
353
421
  # * {Types::DescribeSigningJobResponse#signing_parameters #signing_parameters} => Hash<String,String>
354
422
  # * {Types::DescribeSigningJobResponse#created_at #created_at} => Time
355
423
  # * {Types::DescribeSigningJobResponse#completed_at #completed_at} => Time
424
+ # * {Types::DescribeSigningJobResponse#signature_expires_at #signature_expires_at} => Time
356
425
  # * {Types::DescribeSigningJobResponse#requested_by #requested_by} => String
357
426
  # * {Types::DescribeSigningJobResponse#status #status} => String
358
427
  # * {Types::DescribeSigningJobResponse#status_reason #status_reason} => String
428
+ # * {Types::DescribeSigningJobResponse#revocation_record #revocation_record} => Types::SigningJobRevocationRecord
359
429
  # * {Types::DescribeSigningJobResponse#signed_object #signed_object} => Types::SignedObject
430
+ # * {Types::DescribeSigningJobResponse#job_owner #job_owner} => String
431
+ # * {Types::DescribeSigningJobResponse#job_invoker #job_invoker} => String
360
432
  #
361
433
  # @example Request syntax with placeholder values
362
434
  #
@@ -372,7 +444,9 @@ module Aws::Signer
372
444
  # resp.source.s3.version #=> String
373
445
  # resp.signing_material.certificate_arn #=> String
374
446
  # resp.platform_id #=> String
447
+ # resp.platform_display_name #=> String
375
448
  # resp.profile_name #=> String
449
+ # resp.profile_version #=> String
376
450
  # resp.overrides.signing_configuration.encryption_algorithm #=> String, one of "RSA", "ECDSA"
377
451
  # resp.overrides.signing_configuration.hash_algorithm #=> String, one of "SHA1", "SHA256"
378
452
  # resp.overrides.signing_image_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
@@ -380,11 +454,17 @@ module Aws::Signer
380
454
  # resp.signing_parameters["SigningParameterKey"] #=> String
381
455
  # resp.created_at #=> Time
382
456
  # resp.completed_at #=> Time
457
+ # resp.signature_expires_at #=> Time
383
458
  # resp.requested_by #=> String
384
459
  # resp.status #=> String, one of "InProgress", "Failed", "Succeeded"
385
460
  # resp.status_reason #=> String
461
+ # resp.revocation_record.reason #=> String
462
+ # resp.revocation_record.revoked_at #=> Time
463
+ # resp.revocation_record.revoked_by #=> String
386
464
  # resp.signed_object.s3.bucket_name #=> String
387
465
  # resp.signed_object.s3.key #=> String
466
+ # resp.job_owner #=> String
467
+ # resp.job_invoker #=> String
388
468
  #
389
469
  #
390
470
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -415,6 +495,7 @@ module Aws::Signer
415
495
  # * {Types::GetSigningPlatformResponse#signing_configuration #signing_configuration} => Types::SigningConfiguration
416
496
  # * {Types::GetSigningPlatformResponse#signing_image_format #signing_image_format} => Types::SigningImageFormat
417
497
  # * {Types::GetSigningPlatformResponse#max_size_in_mb #max_size_in_mb} => Integer
498
+ # * {Types::GetSigningPlatformResponse#revocation_supported #revocation_supported} => Boolean
418
499
  #
419
500
  # @example Request syntax with placeholder values
420
501
  #
@@ -439,6 +520,7 @@ module Aws::Signer
439
520
  # resp.signing_image_format.supported_formats[0] #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
440
521
  # resp.signing_image_format.default_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
441
522
  # resp.max_size_in_mb #=> Integer
523
+ # resp.revocation_supported #=> Boolean
442
524
  #
443
525
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningPlatform AWS API Documentation
444
526
  #
@@ -454,14 +536,23 @@ module Aws::Signer
454
536
  # @option params [required, String] :profile_name
455
537
  # The name of the target signing profile.
456
538
  #
539
+ # @option params [String] :profile_owner
540
+ # The AWS account ID of the profile owner.
541
+ #
457
542
  # @return [Types::GetSigningProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
458
543
  #
459
544
  # * {Types::GetSigningProfileResponse#profile_name #profile_name} => String
545
+ # * {Types::GetSigningProfileResponse#profile_version #profile_version} => String
546
+ # * {Types::GetSigningProfileResponse#profile_version_arn #profile_version_arn} => String
547
+ # * {Types::GetSigningProfileResponse#revocation_record #revocation_record} => Types::SigningProfileRevocationRecord
460
548
  # * {Types::GetSigningProfileResponse#signing_material #signing_material} => Types::SigningMaterial
461
549
  # * {Types::GetSigningProfileResponse#platform_id #platform_id} => String
550
+ # * {Types::GetSigningProfileResponse#platform_display_name #platform_display_name} => String
551
+ # * {Types::GetSigningProfileResponse#signature_validity_period #signature_validity_period} => Types::SignatureValidityPeriod
462
552
  # * {Types::GetSigningProfileResponse#overrides #overrides} => Types::SigningPlatformOverrides
463
553
  # * {Types::GetSigningProfileResponse#signing_parameters #signing_parameters} => Hash<String,String>
464
554
  # * {Types::GetSigningProfileResponse#status #status} => String
555
+ # * {Types::GetSigningProfileResponse#status_reason #status_reason} => String
465
556
  # * {Types::GetSigningProfileResponse#arn #arn} => String
466
557
  # * {Types::GetSigningProfileResponse#tags #tags} => Hash<String,String>
467
558
  #
@@ -469,19 +560,29 @@ module Aws::Signer
469
560
  #
470
561
  # resp = client.get_signing_profile({
471
562
  # profile_name: "ProfileName", # required
563
+ # profile_owner: "AccountId",
472
564
  # })
473
565
  #
474
566
  # @example Response structure
475
567
  #
476
568
  # resp.profile_name #=> String
569
+ # resp.profile_version #=> String
570
+ # resp.profile_version_arn #=> String
571
+ # resp.revocation_record.revocation_effective_from #=> Time
572
+ # resp.revocation_record.revoked_at #=> Time
573
+ # resp.revocation_record.revoked_by #=> String
477
574
  # resp.signing_material.certificate_arn #=> String
478
575
  # resp.platform_id #=> String
576
+ # resp.platform_display_name #=> String
577
+ # resp.signature_validity_period.value #=> Integer
578
+ # resp.signature_validity_period.type #=> String, one of "DAYS", "MONTHS", "YEARS"
479
579
  # resp.overrides.signing_configuration.encryption_algorithm #=> String, one of "RSA", "ECDSA"
480
580
  # resp.overrides.signing_configuration.hash_algorithm #=> String, one of "SHA1", "SHA256"
481
581
  # resp.overrides.signing_image_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
482
582
  # resp.signing_parameters #=> Hash
483
583
  # resp.signing_parameters["SigningParameterKey"] #=> String
484
- # resp.status #=> String, one of "Active", "Canceled"
584
+ # resp.status #=> String, one of "Active", "Canceled", "Revoked"
585
+ # resp.status_reason #=> String
485
586
  # resp.arn #=> String
486
587
  # resp.tags #=> Hash
487
588
  # resp.tags["TagKey"] #=> String
@@ -495,6 +596,48 @@ module Aws::Signer
495
596
  req.send_request(options)
496
597
  end
497
598
 
599
+ # Lists the cross-account permissions associated with a signing profile.
600
+ #
601
+ # @option params [required, String] :profile_name
602
+ # Name of the signing profile containing the cross-account permissions.
603
+ #
604
+ # @option params [String] :next_token
605
+ # String for specifying the next set of paginated results.
606
+ #
607
+ # @return [Types::ListProfilePermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
608
+ #
609
+ # * {Types::ListProfilePermissionsResponse#revision_id #revision_id} => String
610
+ # * {Types::ListProfilePermissionsResponse#policy_size_bytes #policy_size_bytes} => Integer
611
+ # * {Types::ListProfilePermissionsResponse#permissions #permissions} => Array<Types::Permission>
612
+ # * {Types::ListProfilePermissionsResponse#next_token #next_token} => String
613
+ #
614
+ # @example Request syntax with placeholder values
615
+ #
616
+ # resp = client.list_profile_permissions({
617
+ # profile_name: "ProfileName", # required
618
+ # next_token: "String",
619
+ # })
620
+ #
621
+ # @example Response structure
622
+ #
623
+ # resp.revision_id #=> String
624
+ # resp.policy_size_bytes #=> Integer
625
+ # resp.permissions #=> Array
626
+ # resp.permissions[0].action #=> String
627
+ # resp.permissions[0].principal #=> String
628
+ # resp.permissions[0].statement_id #=> String
629
+ # resp.permissions[0].profile_version #=> String
630
+ # resp.next_token #=> String
631
+ #
632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListProfilePermissions AWS API Documentation
633
+ #
634
+ # @overload list_profile_permissions(params = {})
635
+ # @param [Hash] params ({})
636
+ def list_profile_permissions(params = {}, options = {})
637
+ req = build_request(:list_profile_permissions, params)
638
+ req.send_request(options)
639
+ end
640
+
498
641
  # Lists all your signing jobs. You can use the `maxResults` parameter to
499
642
  # limit the number of signing jobs that are returned in the response. If
500
643
  # additional jobs remain to be listed, code signing returns a
@@ -527,6 +670,21 @@ module Aws::Signer
527
670
  # parameter in a subsequent request. Set it to the value of `nextToken`
528
671
  # from the response that you just received.
529
672
  #
673
+ # @option params [Boolean] :is_revoked
674
+ # Filters results to return only signing jobs with revoked signatures.
675
+ #
676
+ # @option params [Time,DateTime,Date,Integer,String] :signature_expires_before
677
+ # Filters results to return only signing jobs with signatures expiring
678
+ # before a specified timestamp.
679
+ #
680
+ # @option params [Time,DateTime,Date,Integer,String] :signature_expires_after
681
+ # Filters results to return only signing jobs with signatures expiring
682
+ # after a specified timestamp.
683
+ #
684
+ # @option params [String] :job_invoker
685
+ # Filters results to return only signing jobs initiated by a specified
686
+ # IAM entity.
687
+ #
530
688
  # @return [Types::ListSigningJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
531
689
  #
532
690
  # * {Types::ListSigningJobsResponse#jobs #jobs} => Array<Types::SigningJob>
@@ -542,6 +700,10 @@ module Aws::Signer
542
700
  # requested_by: "RequestedBy",
543
701
  # max_results: 1,
544
702
  # next_token: "NextToken",
703
+ # is_revoked: false,
704
+ # signature_expires_before: Time.now,
705
+ # signature_expires_after: Time.now,
706
+ # job_invoker: "AccountId",
545
707
  # })
546
708
  #
547
709
  # @example Response structure
@@ -556,6 +718,14 @@ module Aws::Signer
556
718
  # resp.jobs[0].signing_material.certificate_arn #=> String
557
719
  # resp.jobs[0].created_at #=> Time
558
720
  # resp.jobs[0].status #=> String, one of "InProgress", "Failed", "Succeeded"
721
+ # resp.jobs[0].is_revoked #=> Boolean
722
+ # resp.jobs[0].profile_name #=> String
723
+ # resp.jobs[0].profile_version #=> String
724
+ # resp.jobs[0].platform_id #=> String
725
+ # resp.jobs[0].platform_display_name #=> String
726
+ # resp.jobs[0].signature_expires_at #=> Time
727
+ # resp.jobs[0].job_owner #=> String
728
+ # resp.jobs[0].job_invoker #=> String
559
729
  # resp.next_token #=> String
560
730
  #
561
731
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningJobs AWS API Documentation
@@ -628,6 +798,7 @@ module Aws::Signer
628
798
  # resp.platforms[0].signing_image_format.supported_formats[0] #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
629
799
  # resp.platforms[0].signing_image_format.default_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
630
800
  # resp.platforms[0].max_size_in_mb #=> Integer
801
+ # resp.platforms[0].revocation_supported #=> Boolean
631
802
  # resp.next_token #=> String
632
803
  #
633
804
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningPlatforms AWS API Documentation
@@ -660,6 +831,14 @@ module Aws::Signer
660
831
  # parameter in a subsequent request. Set it to the value of `nextToken`
661
832
  # from the response that you just received.
662
833
  #
834
+ # @option params [String] :platform_id
835
+ # Filters results to return only signing jobs initiated for a specified
836
+ # signing platform.
837
+ #
838
+ # @option params [Array<String>] :statuses
839
+ # Filters results to return only signing jobs with statuses in the
840
+ # specified list.
841
+ #
663
842
  # @return [Types::ListSigningProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
664
843
  #
665
844
  # * {Types::ListSigningProfilesResponse#profiles #profiles} => Array&lt;Types::SigningProfile&gt;
@@ -673,17 +852,24 @@ module Aws::Signer
673
852
  # include_canceled: false,
674
853
  # max_results: 1,
675
854
  # next_token: "NextToken",
855
+ # platform_id: "PlatformId",
856
+ # statuses: ["Active"], # accepts Active, Canceled, Revoked
676
857
  # })
677
858
  #
678
859
  # @example Response structure
679
860
  #
680
861
  # resp.profiles #=> Array
681
862
  # resp.profiles[0].profile_name #=> String
863
+ # resp.profiles[0].profile_version #=> String
864
+ # resp.profiles[0].profile_version_arn #=> String
682
865
  # resp.profiles[0].signing_material.certificate_arn #=> String
866
+ # resp.profiles[0].signature_validity_period.value #=> Integer
867
+ # resp.profiles[0].signature_validity_period.type #=> String, one of "DAYS", "MONTHS", "YEARS"
683
868
  # resp.profiles[0].platform_id #=> String
869
+ # resp.profiles[0].platform_display_name #=> String
684
870
  # resp.profiles[0].signing_parameters #=> Hash
685
871
  # resp.profiles[0].signing_parameters["SigningParameterKey"] #=> String
686
- # resp.profiles[0].status #=> String, one of "Active", "Canceled"
872
+ # resp.profiles[0].status #=> String, one of "Active", "Canceled", "Revoked"
687
873
  # resp.profiles[0].arn #=> String
688
874
  # resp.profiles[0].tags #=> Hash
689
875
  # resp.profiles[0].tags["TagKey"] #=> String
@@ -739,10 +925,14 @@ module Aws::Signer
739
925
  # @option params [required, String] :profile_name
740
926
  # The name of the signing profile to be created.
741
927
  #
742
- # @option params [required, Types::SigningMaterial] :signing_material
928
+ # @option params [Types::SigningMaterial] :signing_material
743
929
  # The AWS Certificate Manager certificate that will be used to sign code
744
930
  # with the new signing profile.
745
931
  #
932
+ # @option params [Types::SignatureValidityPeriod] :signature_validity_period
933
+ # The default validity period override for any signature generated using
934
+ # this signing profile. If unspecified, the default is 135 months.
935
+ #
746
936
  # @option params [required, String] :platform_id
747
937
  # The ID of the signing platform to be created.
748
938
  #
@@ -761,14 +951,20 @@ module Aws::Signer
761
951
  # @return [Types::PutSigningProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
762
952
  #
763
953
  # * {Types::PutSigningProfileResponse#arn #arn} => String
954
+ # * {Types::PutSigningProfileResponse#profile_version #profile_version} => String
955
+ # * {Types::PutSigningProfileResponse#profile_version_arn #profile_version_arn} => String
764
956
  #
765
957
  # @example Request syntax with placeholder values
766
958
  #
767
959
  # resp = client.put_signing_profile({
768
960
  # profile_name: "ProfileName", # required
769
- # signing_material: { # required
961
+ # signing_material: {
770
962
  # certificate_arn: "CertificateArn", # required
771
963
  # },
964
+ # signature_validity_period: {
965
+ # value: 1,
966
+ # type: "DAYS", # accepts DAYS, MONTHS, YEARS
967
+ # },
772
968
  # platform_id: "PlatformId", # required
773
969
  # overrides: {
774
970
  # signing_configuration: {
@@ -788,6 +984,8 @@ module Aws::Signer
788
984
  # @example Response structure
789
985
  #
790
986
  # resp.arn #=> String
987
+ # resp.profile_version #=> String
988
+ # resp.profile_version_arn #=> String
791
989
  #
792
990
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/PutSigningProfile AWS API Documentation
793
991
  #
@@ -798,6 +996,113 @@ module Aws::Signer
798
996
  req.send_request(options)
799
997
  end
800
998
 
999
+ # Removes cross-account permissions from a signing profile.
1000
+ #
1001
+ # @option params [required, String] :profile_name
1002
+ # A human-readable name for the signing profile with permissions to be
1003
+ # removed.
1004
+ #
1005
+ # @option params [required, String] :revision_id
1006
+ # An identifier for the current revision of the signing profile
1007
+ # permissions.
1008
+ #
1009
+ # @option params [required, String] :statement_id
1010
+ # A unique identifier for the cross-account permissions statement.
1011
+ #
1012
+ # @return [Types::RemoveProfilePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1013
+ #
1014
+ # * {Types::RemoveProfilePermissionResponse#revision_id #revision_id} => String
1015
+ #
1016
+ # @example Request syntax with placeholder values
1017
+ #
1018
+ # resp = client.remove_profile_permission({
1019
+ # profile_name: "ProfileName", # required
1020
+ # revision_id: "String", # required
1021
+ # statement_id: "String", # required
1022
+ # })
1023
+ #
1024
+ # @example Response structure
1025
+ #
1026
+ # resp.revision_id #=> String
1027
+ #
1028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RemoveProfilePermission AWS API Documentation
1029
+ #
1030
+ # @overload remove_profile_permission(params = {})
1031
+ # @param [Hash] params ({})
1032
+ def remove_profile_permission(params = {}, options = {})
1033
+ req = build_request(:remove_profile_permission, params)
1034
+ req.send_request(options)
1035
+ end
1036
+
1037
+ # Changes the state of a signing job to REVOKED. This indicates that the
1038
+ # signature is no longer valid.
1039
+ #
1040
+ # @option params [required, String] :job_id
1041
+ # ID of the signing job to be revoked.
1042
+ #
1043
+ # @option params [String] :job_owner
1044
+ # AWS account ID of the job owner.
1045
+ #
1046
+ # @option params [required, String] :reason
1047
+ # The reason for revoking the signing job.
1048
+ #
1049
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1050
+ #
1051
+ # @example Request syntax with placeholder values
1052
+ #
1053
+ # resp = client.revoke_signature({
1054
+ # job_id: "JobId", # required
1055
+ # job_owner: "AccountId",
1056
+ # reason: "RevocationReasonString", # required
1057
+ # })
1058
+ #
1059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSignature AWS API Documentation
1060
+ #
1061
+ # @overload revoke_signature(params = {})
1062
+ # @param [Hash] params ({})
1063
+ def revoke_signature(params = {}, options = {})
1064
+ req = build_request(:revoke_signature, params)
1065
+ req.send_request(options)
1066
+ end
1067
+
1068
+ # Changes the state of a signing profile to REVOKED. This indicates that
1069
+ # signatures generated using the signing profile after an effective
1070
+ # start date are no longer valid.
1071
+ #
1072
+ # @option params [required, String] :profile_name
1073
+ # The name of the signing profile to be revoked.
1074
+ #
1075
+ # @option params [required, String] :profile_version
1076
+ # The version of the signing profile to be revoked.
1077
+ #
1078
+ # @option params [required, String] :reason
1079
+ # The reason for revoking a signing profile.
1080
+ #
1081
+ # @option params [required, Time,DateTime,Date,Integer,String] :effective_time
1082
+ # A timestamp for when revocation of a Signing Profile should become
1083
+ # effective. Signatures generated using the signing profile after this
1084
+ # timestamp are not trusted.
1085
+ #
1086
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1087
+ #
1088
+ # @example Request syntax with placeholder values
1089
+ #
1090
+ # resp = client.revoke_signing_profile({
1091
+ # profile_name: "ProfileName", # required
1092
+ # profile_version: "ProfileVersion", # required
1093
+ # reason: "RevocationReasonString", # required
1094
+ # effective_time: Time.now, # required
1095
+ # })
1096
+ #
1097
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSigningProfile AWS API Documentation
1098
+ #
1099
+ # @overload revoke_signing_profile(params = {})
1100
+ # @param [Hash] params ({})
1101
+ def revoke_signing_profile(params = {}, options = {})
1102
+ req = build_request(:revoke_signing_profile, params)
1103
+ req.send_request(options)
1104
+ end
1105
+
801
1106
  # Initiates a signing job to be performed on the code provided. Signing
802
1107
  # jobs are viewable by the `ListSigningJobs` operation for two years
803
1108
  # after they are performed. Note the following requirements:
@@ -835,7 +1140,7 @@ module Aws::Signer
835
1140
  # The S3 bucket in which to save your signed object. The destination
836
1141
  # contains the name of your bucket and an optional prefix.
837
1142
  #
838
- # @option params [String] :profile_name
1143
+ # @option params [required, String] :profile_name
839
1144
  # The name of the signing profile.
840
1145
  #
841
1146
  # @option params [required, String] :client_request_token
@@ -845,9 +1150,13 @@ module Aws::Signer
845
1150
  # **A suitable default value is auto-generated.** You should normally
846
1151
  # not need to pass this option.**
847
1152
  #
1153
+ # @option params [String] :profile_owner
1154
+ # The AWS account ID of the signing profile owner.
1155
+ #
848
1156
  # @return [Types::StartSigningJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
849
1157
  #
850
1158
  # * {Types::StartSigningJobResponse#job_id #job_id} => String
1159
+ # * {Types::StartSigningJobResponse#job_owner #job_owner} => String
851
1160
  #
852
1161
  # @example Request syntax with placeholder values
853
1162
  #
@@ -865,13 +1174,15 @@ module Aws::Signer
865
1174
  # prefix: "Prefix",
866
1175
  # },
867
1176
  # },
868
- # profile_name: "ProfileName",
1177
+ # profile_name: "ProfileName", # required
869
1178
  # client_request_token: "ClientRequestToken", # required
1179
+ # profile_owner: "AccountId",
870
1180
  # })
871
1181
  #
872
1182
  # @example Response structure
873
1183
  #
874
1184
  # resp.job_id #=> String
1185
+ # resp.job_owner #=> String
875
1186
  #
876
1187
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/StartSigningJob AWS API Documentation
877
1188
  #
@@ -954,7 +1265,7 @@ module Aws::Signer
954
1265
  params: params,
955
1266
  config: config)
956
1267
  context[:gem_name] = 'aws-sdk-signer'
957
- context[:gem_version] = '1.22.1'
1268
+ context[:gem_version] = '1.27.0'
958
1269
  Seahorse::Client::Request.new(handlers, context)
959
1270
  end
960
1271