aws-sdk-signer 1.19.0 → 1.24.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
- SHA1:
3
- metadata.gz: a3cc081da17bc2508da2e335d41883c500b47199
4
- data.tar.gz: 9156271ebd96b4fd6248b6563b41c624a9380f10
2
+ SHA256:
3
+ metadata.gz: 556a9ddcf831862deab368f3b0a17d117f32daacc3a3e72cb3990334f4337e4c
4
+ data.tar.gz: a6d01cb0ef778d12a6a856ebb011817c0d945ce8bb8c24d9a554db7bf7175ceb
5
5
  SHA512:
6
- metadata.gz: 76aafdc7b1f7fc367d8b10ec529feb3dba7f72d9890cde33ffa757aee6be95ab574fdacb8e7bd0fe72df5ee5320eb7f00da499c01daabb4d2f1839fc06db480d
7
- data.tar.gz: dbfc41ef1e1e0b68c004df333ebf2a069e0b6cd21073a1f0ae3387d47f443b5b9ca479d69500a87a7ad0f3baa133d900d0f1eedb427c2d8d1683d60d003b3abc
6
+ metadata.gz: aaed0d89adb84b97906a7899b2317a7df864c29096980f22814fe25ea1afedb4ff4ce99fed9488bd7125cc6b090a0ac260cff77d27660cfc3dc5ff34e196e6eb
7
+ data.tar.gz: dd4bd188ff248ce5af3e6fda14b204a65927e6b3362e0f899d64da7b2cd0216ab0db7b5b3f6c438c0387b1f6b789041e17329c1ec9a93e4e7eca2129203ae6d9
@@ -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:
@@ -43,9 +45,9 @@ require_relative 'aws-sdk-signer/customizations'
43
45
  #
44
46
  # See {Errors} for more information.
45
47
  #
46
- # @service
48
+ # @!group service
47
49
  module Aws::Signer
48
50
 
49
- GEM_VERSION = '1.19.0'
51
+ GEM_VERSION = '1.24.0'
50
52
 
51
53
  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:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:signer)
32
35
  module Aws::Signer
33
36
  # An API client for Signer. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::Signer::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::Signer::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +72,7 @@ module Aws::Signer
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -81,13 +85,28 @@ module Aws::Signer
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
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
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,15 +116,15 @@ module Aws::Signer
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # 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.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
107
126
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
127
+ # a default `:region` is searched for in the following locations:
109
128
  #
110
129
  # * `Aws.config[:region]`
111
130
  # * `ENV['AWS_REGION']`
@@ -161,7 +180,7 @@ module Aws::Signer
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::Signer
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -229,15 +248,19 @@ module Aws::Signer
229
248
  #
230
249
  # @option options [String] :retry_mode ("legacy")
231
250
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
241
264
  #
242
265
  # @option options [String] :secret_access_key
243
266
  #
@@ -265,8 +288,7 @@ module Aws::Signer
265
288
  #
266
289
  # @option options [Integer] :http_read_timeout (60) The default
267
290
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
291
+ # safely be set per-request on the session.
270
292
  #
271
293
  # @option options [Float] :http_idle_timeout (5) The number of
272
294
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +300,7 @@ module Aws::Signer
278
300
  # request body. This option has no effect unless the request has
279
301
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
302
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
303
+ # request on the session.
282
304
  #
283
305
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
306
  # HTTP debug output will be sent to the `:logger`.
@@ -381,6 +403,11 @@ module Aws::Signer
381
403
  # resp.signed_object.s3.bucket_name #=> String
382
404
  # resp.signed_object.s3.key #=> String
383
405
  #
406
+ #
407
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
408
+ #
409
+ # * successful_signing_job
410
+ #
384
411
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJob AWS API Documentation
385
412
  #
386
413
  # @overload describe_signing_job(params = {})
@@ -522,6 +549,8 @@ module Aws::Signer
522
549
  # * {Types::ListSigningJobsResponse#jobs #jobs} => Array<Types::SigningJob>
523
550
  # * {Types::ListSigningJobsResponse#next_token #next_token} => String
524
551
  #
552
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
553
+ #
525
554
  # @example Request syntax with placeholder values
526
555
  #
527
556
  # resp = client.list_signing_jobs({
@@ -586,6 +615,8 @@ module Aws::Signer
586
615
  # * {Types::ListSigningPlatformsResponse#platforms #platforms} => Array<Types::SigningPlatform>
587
616
  # * {Types::ListSigningPlatformsResponse#next_token #next_token} => String
588
617
  #
618
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
619
+ #
589
620
  # @example Request syntax with placeholder values
590
621
  #
591
622
  # resp = client.list_signing_platforms({
@@ -651,6 +682,8 @@ module Aws::Signer
651
682
  # * {Types::ListSigningProfilesResponse#profiles #profiles} => Array<Types::SigningProfile>
652
683
  # * {Types::ListSigningProfilesResponse#next_token #next_token} => String
653
684
  #
685
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
686
+ #
654
687
  # @example Request syntax with placeholder values
655
688
  #
656
689
  # resp = client.list_signing_profiles({
@@ -938,7 +971,7 @@ module Aws::Signer
938
971
  params: params,
939
972
  config: config)
940
973
  context[:gem_name] = 'aws-sdk-signer'
941
- context[:gem_version] = '1.19.0'
974
+ context[:gem_version] = '1.24.0'
942
975
  Seahorse::Client::Request.new(handlers, context)
943
976
  end
944
977
 
@@ -1004,9 +1037,9 @@ module Aws::Signer
1004
1037
  # The following table lists the valid waiter names, the operations they call,
1005
1038
  # and the default `:delay` and `:max_attempts` values.
1006
1039
  #
1007
- # | waiter_name | params | :delay | :max_attempts |
1008
- # | ---------------------- | ----------------------- | -------- | ------------- |
1009
- # | successful_signing_job | {#describe_signing_job} | 20 | 25 |
1040
+ # | waiter_name | params | :delay | :max_attempts |
1041
+ # | ---------------------- | ----------------------------- | -------- | ------------- |
1042
+ # | successful_signing_job | {Client#describe_signing_job} | 20 | 25 |
1010
1043
  #
1011
1044
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
1012
1045
  # because the waiter has entered a state that it will not transition
@@ -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:
@@ -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:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::Signer
9
- # This class provides a resource oriented interface for Signer.
10
- # To create a resource object:
11
- # resource = Aws::Signer::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Signer::Client.new(region: 'us-west-2')
15
- # resource = Aws::Signer::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -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:
@@ -17,6 +19,7 @@ module Aws::Signer
17
19
  #
18
20
  class AccessDeniedException < Struct.new(
19
21
  :message)
22
+ SENSITIVE = []
20
23
  include Aws::Structure
21
24
  end
22
25
 
@@ -31,6 +34,7 @@ module Aws::Signer
31
34
  #
32
35
  class BadRequestException < Struct.new(
33
36
  :message)
37
+ SENSITIVE = []
34
38
  include Aws::Structure
35
39
  end
36
40
 
@@ -49,6 +53,7 @@ module Aws::Signer
49
53
  #
50
54
  class CancelSigningProfileRequest < Struct.new(
51
55
  :profile_name)
56
+ SENSITIVE = []
52
57
  include Aws::Structure
53
58
  end
54
59
 
@@ -67,6 +72,7 @@ module Aws::Signer
67
72
  #
68
73
  class DescribeSigningJobRequest < Struct.new(
69
74
  :job_id)
75
+ SENSITIVE = []
70
76
  include Aws::Structure
71
77
  end
72
78
 
@@ -143,6 +149,7 @@ module Aws::Signer
143
149
  :status,
144
150
  :status_reason,
145
151
  :signed_object)
152
+ SENSITIVE = []
146
153
  include Aws::Structure
147
154
  end
148
155
 
@@ -167,6 +174,7 @@ module Aws::Signer
167
174
  #
168
175
  class Destination < Struct.new(
169
176
  :s3)
177
+ SENSITIVE = []
170
178
  include Aws::Structure
171
179
  end
172
180
 
@@ -187,6 +195,7 @@ module Aws::Signer
187
195
  class EncryptionAlgorithmOptions < Struct.new(
188
196
  :allowed_values,
189
197
  :default_value)
198
+ SENSITIVE = []
190
199
  include Aws::Structure
191
200
  end
192
201
 
@@ -205,6 +214,7 @@ module Aws::Signer
205
214
  #
206
215
  class GetSigningPlatformRequest < Struct.new(
207
216
  :platform_id)
217
+ SENSITIVE = []
208
218
  include Aws::Structure
209
219
  end
210
220
 
@@ -252,6 +262,7 @@ module Aws::Signer
252
262
  :signing_configuration,
253
263
  :signing_image_format,
254
264
  :max_size_in_mb)
265
+ SENSITIVE = []
255
266
  include Aws::Structure
256
267
  end
257
268
 
@@ -270,6 +281,7 @@ module Aws::Signer
270
281
  #
271
282
  class GetSigningProfileRequest < Struct.new(
272
283
  :profile_name)
284
+ SENSITIVE = []
273
285
  include Aws::Structure
274
286
  end
275
287
 
@@ -319,6 +331,7 @@ module Aws::Signer
319
331
  :status,
320
332
  :arn,
321
333
  :tags)
334
+ SENSITIVE = []
322
335
  include Aws::Structure
323
336
  end
324
337
 
@@ -337,6 +350,7 @@ module Aws::Signer
337
350
  class HashAlgorithmOptions < Struct.new(
338
351
  :allowed_values,
339
352
  :default_value)
353
+ SENSITIVE = []
340
354
  include Aws::Structure
341
355
  end
342
356
 
@@ -349,6 +363,7 @@ module Aws::Signer
349
363
  #
350
364
  class InternalServiceErrorException < Struct.new(
351
365
  :message)
366
+ SENSITIVE = []
352
367
  include Aws::Structure
353
368
  end
354
369
 
@@ -399,6 +414,7 @@ module Aws::Signer
399
414
  :requested_by,
400
415
  :max_results,
401
416
  :next_token)
417
+ SENSITIVE = []
402
418
  include Aws::Structure
403
419
  end
404
420
 
@@ -415,6 +431,7 @@ module Aws::Signer
415
431
  class ListSigningJobsResponse < Struct.new(
416
432
  :jobs,
417
433
  :next_token)
434
+ SENSITIVE = []
418
435
  include Aws::Structure
419
436
  end
420
437
 
@@ -460,6 +477,7 @@ module Aws::Signer
460
477
  :target,
461
478
  :max_results,
462
479
  :next_token)
480
+ SENSITIVE = []
463
481
  include Aws::Structure
464
482
  end
465
483
 
@@ -476,6 +494,7 @@ module Aws::Signer
476
494
  class ListSigningPlatformsResponse < Struct.new(
477
495
  :platforms,
478
496
  :next_token)
497
+ SENSITIVE = []
479
498
  include Aws::Structure
480
499
  end
481
500
 
@@ -510,6 +529,7 @@ module Aws::Signer
510
529
  :include_canceled,
511
530
  :max_results,
512
531
  :next_token)
532
+ SENSITIVE = []
513
533
  include Aws::Structure
514
534
  end
515
535
 
@@ -528,6 +548,7 @@ module Aws::Signer
528
548
  class ListSigningProfilesResponse < Struct.new(
529
549
  :profiles,
530
550
  :next_token)
551
+ SENSITIVE = []
531
552
  include Aws::Structure
532
553
  end
533
554
 
@@ -546,6 +567,7 @@ module Aws::Signer
546
567
  #
547
568
  class ListTagsForResourceRequest < Struct.new(
548
569
  :resource_arn)
570
+ SENSITIVE = []
549
571
  include Aws::Structure
550
572
  end
551
573
 
@@ -557,6 +579,7 @@ module Aws::Signer
557
579
  #
558
580
  class ListTagsForResourceResponse < Struct.new(
559
581
  :tags)
582
+ SENSITIVE = []
560
583
  include Aws::Structure
561
584
  end
562
585
 
@@ -569,6 +592,7 @@ module Aws::Signer
569
592
  #
570
593
  class NotFoundException < Struct.new(
571
594
  :message)
595
+ SENSITIVE = []
572
596
  include Aws::Structure
573
597
  end
574
598
 
@@ -634,6 +658,7 @@ module Aws::Signer
634
658
  :overrides,
635
659
  :signing_parameters,
636
660
  :tags)
661
+ SENSITIVE = []
637
662
  include Aws::Structure
638
663
  end
639
664
 
@@ -645,6 +670,7 @@ module Aws::Signer
645
670
  #
646
671
  class PutSigningProfileResponse < Struct.new(
647
672
  :arn)
673
+ SENSITIVE = []
648
674
  include Aws::Structure
649
675
  end
650
676
 
@@ -657,6 +683,7 @@ module Aws::Signer
657
683
  #
658
684
  class ResourceNotFoundException < Struct.new(
659
685
  :message)
686
+ SENSITIVE = []
660
687
  include Aws::Structure
661
688
  end
662
689
 
@@ -685,6 +712,7 @@ module Aws::Signer
685
712
  class S3Destination < Struct.new(
686
713
  :bucket_name,
687
714
  :prefix)
715
+ SENSITIVE = []
688
716
  include Aws::Structure
689
717
  end
690
718
 
@@ -705,6 +733,7 @@ module Aws::Signer
705
733
  class S3SignedObject < Struct.new(
706
734
  :bucket_name,
707
735
  :key)
736
+ SENSITIVE = []
708
737
  include Aws::Structure
709
738
  end
710
739
 
@@ -737,6 +766,7 @@ module Aws::Signer
737
766
  :bucket_name,
738
767
  :key,
739
768
  :version)
769
+ SENSITIVE = []
740
770
  include Aws::Structure
741
771
  end
742
772
 
@@ -751,6 +781,7 @@ module Aws::Signer
751
781
  #
752
782
  class SignedObject < Struct.new(
753
783
  :s3)
784
+ SENSITIVE = []
754
785
  include Aws::Structure
755
786
  end
756
787
 
@@ -771,6 +802,7 @@ module Aws::Signer
771
802
  class SigningConfiguration < Struct.new(
772
803
  :encryption_algorithm_options,
773
804
  :hash_algorithm_options)
805
+ SENSITIVE = []
774
806
  include Aws::Structure
775
807
  end
776
808
 
@@ -800,6 +832,7 @@ module Aws::Signer
800
832
  class SigningConfigurationOverrides < Struct.new(
801
833
  :encryption_algorithm,
802
834
  :hash_algorithm)
835
+ SENSITIVE = []
803
836
  include Aws::Structure
804
837
  end
805
838
 
@@ -818,6 +851,7 @@ module Aws::Signer
818
851
  class SigningImageFormat < Struct.new(
819
852
  :supported_formats,
820
853
  :default_format)
854
+ SENSITIVE = []
821
855
  include Aws::Structure
822
856
  end
823
857
 
@@ -859,6 +893,7 @@ module Aws::Signer
859
893
  :signing_material,
860
894
  :created_at,
861
895
  :status)
896
+ SENSITIVE = []
862
897
  include Aws::Structure
863
898
  end
864
899
 
@@ -880,6 +915,7 @@ module Aws::Signer
880
915
  #
881
916
  class SigningMaterial < Struct.new(
882
917
  :certificate_arn)
918
+ SENSITIVE = []
883
919
  include Aws::Structure
884
920
  end
885
921
 
@@ -932,6 +968,7 @@ module Aws::Signer
932
968
  :signing_configuration,
933
969
  :signing_image_format,
934
970
  :max_size_in_mb)
971
+ SENSITIVE = []
935
972
  include Aws::Structure
936
973
  end
937
974
 
@@ -968,6 +1005,7 @@ module Aws::Signer
968
1005
  class SigningPlatformOverrides < Struct.new(
969
1006
  :signing_configuration,
970
1007
  :signing_image_format)
1008
+ SENSITIVE = []
971
1009
  include Aws::Structure
972
1010
  end
973
1011
 
@@ -1013,6 +1051,7 @@ module Aws::Signer
1013
1051
  :status,
1014
1052
  :arn,
1015
1053
  :tags)
1054
+ SENSITIVE = []
1016
1055
  include Aws::Structure
1017
1056
  end
1018
1057
 
@@ -1038,6 +1077,7 @@ module Aws::Signer
1038
1077
  #
1039
1078
  class Source < Struct.new(
1040
1079
  :s3)
1080
+ SENSITIVE = []
1041
1081
  include Aws::Structure
1042
1082
  end
1043
1083
 
@@ -1092,6 +1132,7 @@ module Aws::Signer
1092
1132
  :destination,
1093
1133
  :profile_name,
1094
1134
  :client_request_token)
1135
+ SENSITIVE = []
1095
1136
  include Aws::Structure
1096
1137
  end
1097
1138
 
@@ -1103,6 +1144,7 @@ module Aws::Signer
1103
1144
  #
1104
1145
  class StartSigningJobResponse < Struct.new(
1105
1146
  :job_id)
1147
+ SENSITIVE = []
1106
1148
  include Aws::Structure
1107
1149
  end
1108
1150
 
@@ -1129,6 +1171,7 @@ module Aws::Signer
1129
1171
  class TagResourceRequest < Struct.new(
1130
1172
  :resource_arn,
1131
1173
  :tags)
1174
+ SENSITIVE = []
1132
1175
  include Aws::Structure
1133
1176
  end
1134
1177
 
@@ -1145,6 +1188,7 @@ module Aws::Signer
1145
1188
  #
1146
1189
  class ThrottlingException < Struct.new(
1147
1190
  :message)
1191
+ SENSITIVE = []
1148
1192
  include Aws::Structure
1149
1193
  end
1150
1194
 
@@ -1169,6 +1213,7 @@ module Aws::Signer
1169
1213
  class UntagResourceRequest < Struct.new(
1170
1214
  :resource_arn,
1171
1215
  :tag_keys)
1216
+ SENSITIVE = []
1172
1217
  include Aws::Structure
1173
1218
  end
1174
1219
 
@@ -1185,6 +1230,7 @@ module Aws::Signer
1185
1230
  #
1186
1231
  class ValidationException < Struct.new(
1187
1232
  :message)
1233
+ SENSITIVE = []
1188
1234
  include Aws::Structure
1189
1235
  end
1190
1236
 
@@ -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:
@@ -8,6 +10,67 @@
8
10
  require 'aws-sdk-core/waiters'
9
11
 
10
12
  module Aws::Signer
13
+ # Waiters are utility methods that poll for a particular state to occur
14
+ # on a client. Waiters can fail after a number of attempts at a polling
15
+ # interval defined for the service client.
16
+ #
17
+ # For a list of operations that can be waited for and the
18
+ # client methods called for each operation, see the table below or the
19
+ # {Client#wait_until} field documentation for the {Client}.
20
+ #
21
+ # # Invoking a Waiter
22
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
23
+ # is the waiter name, which is specific to the service client and indicates
24
+ # which operation is being waited for. The second parameter is a hash of
25
+ # parameters that are passed to the client method called by the waiter,
26
+ # which varies according to the waiter name.
27
+ #
28
+ # # Wait Failures
29
+ # To catch errors in a waiter, use WaiterFailed,
30
+ # as shown in the following example.
31
+ #
32
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
33
+ # puts "failed waiting for instance running: #{error.message}
34
+ # end
35
+ #
36
+ # # Configuring a Waiter
37
+ # Each waiter has a default polling interval and a maximum number of
38
+ # attempts it will make before returning control to your program.
39
+ # To set these values, use the `max_attempts` and `delay` parameters
40
+ # in your `#wait_until` call.
41
+ # The following example waits for up to 25 seconds, polling every five seconds.
42
+ #
43
+ # client.wait_until(...) do |w|
44
+ # w.max_attempts = 5
45
+ # w.delay = 5
46
+ # end
47
+ #
48
+ # To disable wait failures, set the value of either of these parameters
49
+ # to `nil`.
50
+ #
51
+ # # Extending a Waiter
52
+ # To modify the behavior of waiters, you can register callbacks that are
53
+ # triggered before each polling attempt and before waiting.
54
+ #
55
+ # The following example implements an exponential backoff in a waiter
56
+ # by doubling the amount of time to wait on every attempt.
57
+ #
58
+ # client.wait_until(...) do |w|
59
+ # w.interval = 0 # disable normal sleep
60
+ # w.before_wait do |n, resp|
61
+ # sleep(n ** 2)
62
+ # end
63
+ # end
64
+ #
65
+ # # Available Waiters
66
+ #
67
+ # The following table lists the valid waiter names, the operations they call,
68
+ # and the default `:delay` and `:max_attempts` values.
69
+ #
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | ---------------------- | ----------------------------- | -------- | ------------- |
72
+ # | successful_signing_job | {Client#describe_signing_job} | 20 | 25 |
73
+ #
11
74
  module Waiters
12
75
 
13
76
  class SuccessfulSigningJob
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-signer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.5.2.3
85
+ rubygems_version: 2.7.6.2
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: AWS SDK for Ruby - signer