aws-sdk-ses 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,50 +1,49 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
- module Aws
11
- module SES
12
- module Waiters
13
- class IdentityExists
10
+ module Aws::SES
11
+ module Waiters
14
12
 
15
- # @param [Hash] options
16
- # @option options [required, Client] :client
17
- # @option options [Integer] :max_attempts (20)
18
- # @option options [Integer] :delay (3)
19
- # @option options [Proc] :before_attempt
20
- # @option options [Proc] :before_wait
21
- def initialize(options)
22
- @client = options.fetch(:client)
23
- @waiter = Aws::Waiters::Waiter.new({
24
- max_attempts: 20,
25
- delay: 3,
26
- poller: Aws::Waiters::Poller.new(
27
- operation_name: :get_identity_verification_attributes,
28
- acceptors: [{
29
- "expected" => "Success",
30
- "matcher" => "pathAll",
31
- "state" => "success",
32
- "argument" => "verification_attributes.*.verification_status"
33
- }]
34
- )
35
- }.merge(options))
36
- end
13
+ class IdentityExists
37
14
 
38
- # @option (see Client#get_identity_verification_attributes)
39
- # @return (see Client#get_identity_verification_attributes)
40
- def wait(params = {})
41
- @waiter.wait(client: @client, params: params)
42
- end
43
-
44
- # @api private
45
- attr_reader :waiter
15
+ # @param [Hash] options
16
+ # @option options [required, Client] :client
17
+ # @option options [Integer] :max_attempts (20)
18
+ # @option options [Integer] :delay (3)
19
+ # @option options [Proc] :before_attempt
20
+ # @option options [Proc] :before_wait
21
+ def initialize(options)
22
+ @client = options.fetch(:client)
23
+ @waiter = Aws::Waiters::Waiter.new({
24
+ max_attempts: 20,
25
+ delay: 3,
26
+ poller: Aws::Waiters::Poller.new(
27
+ operation_name: :get_identity_verification_attributes,
28
+ acceptors: [{
29
+ "expected" => "Success",
30
+ "matcher" => "pathAll",
31
+ "state" => "success",
32
+ "argument" => "verification_attributes.*.verification_status"
33
+ }]
34
+ )
35
+ }.merge(options))
36
+ end
46
37
 
38
+ # @option (see Client#get_identity_verification_attributes)
39
+ # @return (see Client#get_identity_verification_attributes)
40
+ def wait(params = {})
41
+ @waiter.wait(client: @client, params: params)
47
42
  end
43
+
44
+ # @api private
45
+ attr_reader :waiter
46
+
48
47
  end
49
48
  end
50
49
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ses
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
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: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core