aws-sdk-appstream 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-appstream.rb +2 -2
- data/lib/aws-sdk-appstream/client.rb +1028 -834
- data/lib/aws-sdk-appstream/client_api.rb +530 -508
- data/lib/aws-sdk-appstream/errors.rb +4 -13
- data/lib/aws-sdk-appstream/resource.rb +12 -14
- data/lib/aws-sdk-appstream/types.rb +1158 -957
- data/lib/aws-sdk-appstream/waiters.rb +92 -93
- metadata +2 -2
@@ -1,114 +1,113 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
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
|
12
|
-
module Waiters
|
13
|
-
class FleetStarted
|
10
|
+
module Aws::AppStream
|
11
|
+
module Waiters
|
14
12
|
|
15
|
-
|
16
|
-
# @option options [required, Client] :client
|
17
|
-
# @option options [Integer] :max_attempts (40)
|
18
|
-
# @option options [Integer] :delay (30)
|
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: 40,
|
25
|
-
delay: 30,
|
26
|
-
poller: Aws::Waiters::Poller.new(
|
27
|
-
operation_name: :describe_fleets,
|
28
|
-
acceptors: [
|
29
|
-
{
|
30
|
-
"state" => "success",
|
31
|
-
"matcher" => "pathAll",
|
32
|
-
"argument" => "fleets[].state",
|
33
|
-
"expected" => "ACTIVE"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"state" => "failure",
|
37
|
-
"matcher" => "pathAny",
|
38
|
-
"argument" => "fleets[].state",
|
39
|
-
"expected" => "PENDING_DEACTIVATE"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"state" => "failure",
|
43
|
-
"matcher" => "pathAny",
|
44
|
-
"argument" => "fleets[].state",
|
45
|
-
"expected" => "INACTIVE"
|
46
|
-
}
|
47
|
-
]
|
48
|
-
)
|
49
|
-
}.merge(options))
|
50
|
-
end
|
13
|
+
class FleetStarted
|
51
14
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
15
|
+
# @param [Hash] options
|
16
|
+
# @option options [required, Client] :client
|
17
|
+
# @option options [Integer] :max_attempts (40)
|
18
|
+
# @option options [Integer] :delay (30)
|
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: 40,
|
25
|
+
delay: 30,
|
26
|
+
poller: Aws::Waiters::Poller.new(
|
27
|
+
operation_name: :describe_fleets,
|
28
|
+
acceptors: [
|
29
|
+
{
|
30
|
+
"state" => "success",
|
31
|
+
"matcher" => "pathAll",
|
32
|
+
"argument" => "fleets[].state",
|
33
|
+
"expected" => "ACTIVE"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"state" => "failure",
|
37
|
+
"matcher" => "pathAny",
|
38
|
+
"argument" => "fleets[].state",
|
39
|
+
"expected" => "PENDING_DEACTIVATE"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"state" => "failure",
|
43
|
+
"matcher" => "pathAny",
|
44
|
+
"argument" => "fleets[].state",
|
45
|
+
"expected" => "INACTIVE"
|
46
|
+
}
|
47
|
+
]
|
48
|
+
)
|
49
|
+
}.merge(options))
|
50
|
+
end
|
60
51
|
|
52
|
+
# @option (see Client#describe_fleets)
|
53
|
+
# @return (see Client#describe_fleets)
|
54
|
+
def wait(params = {})
|
55
|
+
@waiter.wait(client: @client, params: params)
|
61
56
|
end
|
62
57
|
|
63
|
-
|
58
|
+
# @api private
|
59
|
+
attr_reader :waiter
|
64
60
|
|
65
|
-
|
66
|
-
# @option options [required, Client] :client
|
67
|
-
# @option options [Integer] :max_attempts (40)
|
68
|
-
# @option options [Integer] :delay (30)
|
69
|
-
# @option options [Proc] :before_attempt
|
70
|
-
# @option options [Proc] :before_wait
|
71
|
-
def initialize(options)
|
72
|
-
@client = options.fetch(:client)
|
73
|
-
@waiter = Aws::Waiters::Waiter.new({
|
74
|
-
max_attempts: 40,
|
75
|
-
delay: 30,
|
76
|
-
poller: Aws::Waiters::Poller.new(
|
77
|
-
operation_name: :describe_fleets,
|
78
|
-
acceptors: [
|
79
|
-
{
|
80
|
-
"state" => "success",
|
81
|
-
"matcher" => "pathAll",
|
82
|
-
"argument" => "fleets[].state",
|
83
|
-
"expected" => "INACTIVE"
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"state" => "failure",
|
87
|
-
"matcher" => "pathAny",
|
88
|
-
"argument" => "fleets[].state",
|
89
|
-
"expected" => "PENDING_ACTIVATE"
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"state" => "failure",
|
93
|
-
"matcher" => "pathAny",
|
94
|
-
"argument" => "fleets[].state",
|
95
|
-
"expected" => "ACTIVE"
|
96
|
-
}
|
97
|
-
]
|
98
|
-
)
|
99
|
-
}.merge(options))
|
100
|
-
end
|
61
|
+
end
|
101
62
|
|
102
|
-
|
103
|
-
# @return (see Client#describe_fleets)
|
104
|
-
def wait(params = {})
|
105
|
-
@waiter.wait(client: @client, params: params)
|
106
|
-
end
|
63
|
+
class FleetStopped
|
107
64
|
|
108
|
-
|
109
|
-
|
65
|
+
# @param [Hash] options
|
66
|
+
# @option options [required, Client] :client
|
67
|
+
# @option options [Integer] :max_attempts (40)
|
68
|
+
# @option options [Integer] :delay (30)
|
69
|
+
# @option options [Proc] :before_attempt
|
70
|
+
# @option options [Proc] :before_wait
|
71
|
+
def initialize(options)
|
72
|
+
@client = options.fetch(:client)
|
73
|
+
@waiter = Aws::Waiters::Waiter.new({
|
74
|
+
max_attempts: 40,
|
75
|
+
delay: 30,
|
76
|
+
poller: Aws::Waiters::Poller.new(
|
77
|
+
operation_name: :describe_fleets,
|
78
|
+
acceptors: [
|
79
|
+
{
|
80
|
+
"state" => "success",
|
81
|
+
"matcher" => "pathAll",
|
82
|
+
"argument" => "fleets[].state",
|
83
|
+
"expected" => "INACTIVE"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"state" => "failure",
|
87
|
+
"matcher" => "pathAny",
|
88
|
+
"argument" => "fleets[].state",
|
89
|
+
"expected" => "PENDING_ACTIVATE"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"state" => "failure",
|
93
|
+
"matcher" => "pathAny",
|
94
|
+
"argument" => "fleets[].state",
|
95
|
+
"expected" => "ACTIVE"
|
96
|
+
}
|
97
|
+
]
|
98
|
+
)
|
99
|
+
}.merge(options))
|
100
|
+
end
|
110
101
|
|
102
|
+
# @option (see Client#describe_fleets)
|
103
|
+
# @return (see Client#describe_fleets)
|
104
|
+
def wait(params = {})
|
105
|
+
@waiter.wait(client: @client, params: params)
|
111
106
|
end
|
107
|
+
|
108
|
+
# @api private
|
109
|
+
attr_reader :waiter
|
110
|
+
|
112
111
|
end
|
113
112
|
end
|
114
113
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-appstream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc3
|
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:
|
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
|