aws-sdk-appstream 1.39.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-appstream.rb +1 -1
- data/lib/aws-sdk-appstream/client.rb +37 -24
- data/lib/aws-sdk-appstream/resource.rb +1 -7
- data/lib/aws-sdk-appstream/waiters.rb +62 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ddfda199ef5b91775ef7de8b295d8310586a0669f1f16e4230cc370b3ff6eed3
|
4
|
+
data.tar.gz: 867d034f3fb8985a40fc2f6315d273c4125efdf7271b62003d2275b89a330227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6c3cf786290e3238ce50125c3095366cc42864afc386c4f3ae013b49a55db0a6f6323b7d52b2e6fd921137fa7f773160435e9ca215ad3ebf2a029f56c3fed7a
|
7
|
+
data.tar.gz: b54e99ed56a87ef8aaacf091a3a30c931a014ec5ba30e73b716d6d7f32fc5416fdad551c6ff58e019792238774b989078856f53f68a9dbf25f4539da628a719c
|
data/lib/aws-sdk-appstream.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:appstream)
|
|
32
32
|
module Aws::AppStream
|
33
33
|
# An API client for AppStream. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::AppStream::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::AppStream
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::AppStream
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -229,15 +229,19 @@ module Aws::AppStream
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::AppStream
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::AppStream
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1642,6 +1645,12 @@ module Aws::AppStream
|
|
1642
1645
|
# resp.fleets[0].iam_role_arn #=> String
|
1643
1646
|
# resp.next_token #=> String
|
1644
1647
|
#
|
1648
|
+
#
|
1649
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1650
|
+
#
|
1651
|
+
# * fleet_started
|
1652
|
+
# * fleet_stopped
|
1653
|
+
#
|
1645
1654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets AWS API Documentation
|
1646
1655
|
#
|
1647
1656
|
# @overload describe_fleets(params = {})
|
@@ -1745,6 +1754,8 @@ module Aws::AppStream
|
|
1745
1754
|
# * {Types::DescribeImagePermissionsResult#shared_image_permissions_list #shared_image_permissions_list} => Array<Types::SharedImagePermissions>
|
1746
1755
|
# * {Types::DescribeImagePermissionsResult#next_token #next_token} => String
|
1747
1756
|
#
|
1757
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1758
|
+
#
|
1748
1759
|
# @example Request syntax with placeholder values
|
1749
1760
|
#
|
1750
1761
|
# resp = client.describe_image_permissions({
|
@@ -1797,6 +1808,8 @@ module Aws::AppStream
|
|
1797
1808
|
# * {Types::DescribeImagesResult#images #images} => Array<Types::Image>
|
1798
1809
|
# * {Types::DescribeImagesResult#next_token #next_token} => String
|
1799
1810
|
#
|
1811
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1812
|
+
#
|
1800
1813
|
# @example Request syntax with placeholder values
|
1801
1814
|
#
|
1802
1815
|
# resp = client.describe_images({
|
@@ -3053,7 +3066,7 @@ module Aws::AppStream
|
|
3053
3066
|
params: params,
|
3054
3067
|
config: config)
|
3055
3068
|
context[:gem_name] = 'aws-sdk-appstream'
|
3056
|
-
context[:gem_version] = '1.
|
3069
|
+
context[:gem_version] = '1.40.0'
|
3057
3070
|
Seahorse::Client::Request.new(handlers, context)
|
3058
3071
|
end
|
3059
3072
|
|
@@ -3119,10 +3132,10 @@ module Aws::AppStream
|
|
3119
3132
|
# The following table lists the valid waiter names, the operations they call,
|
3120
3133
|
# and the default `:delay` and `:max_attempts` values.
|
3121
3134
|
#
|
3122
|
-
# | waiter_name | params
|
3123
|
-
# | ------------- |
|
3124
|
-
# | fleet_started | {#describe_fleets} | 30 | 40 |
|
3125
|
-
# | fleet_stopped | {#describe_fleets} | 30 | 40 |
|
3135
|
+
# | waiter_name | params | :delay | :max_attempts |
|
3136
|
+
# | ------------- | ------------------------ | -------- | ------------- |
|
3137
|
+
# | fleet_started | {Client#describe_fleets} | 30 | 40 |
|
3138
|
+
# | fleet_stopped | {Client#describe_fleets} | 30 | 40 |
|
3126
3139
|
#
|
3127
3140
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
3128
3141
|
# because the waiter has entered a state that it will not transition
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::AppStream
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::AppStream::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::AppStream::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::AppStream::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -8,6 +8,68 @@
|
|
8
8
|
require 'aws-sdk-core/waiters'
|
9
9
|
|
10
10
|
module Aws::AppStream
|
11
|
+
# Waiters are utility methods that poll for a particular state to occur
|
12
|
+
# on a client. Waiters can fail after a number of attempts at a polling
|
13
|
+
# interval defined for the service client.
|
14
|
+
#
|
15
|
+
# For a list of operations that can be waited for and the
|
16
|
+
# client methods called for each operation, see the table below or the
|
17
|
+
# {Client#wait_until} field documentation for the {Client}.
|
18
|
+
#
|
19
|
+
# # Invoking a Waiter
|
20
|
+
# To invoke a waiter, call #wait_until on a {Client}. The first parameter
|
21
|
+
# is the waiter name, which is specific to the service client and indicates
|
22
|
+
# which operation is being waited for. The second parameter is a hash of
|
23
|
+
# parameters that are passed to the client method called by the waiter,
|
24
|
+
# which varies according to the waiter name.
|
25
|
+
#
|
26
|
+
# # Wait Failures
|
27
|
+
# To catch errors in a waiter, use WaiterFailed,
|
28
|
+
# as shown in the following example.
|
29
|
+
#
|
30
|
+
# rescue rescue Aws::Waiters::Errors::WaiterFailed => error
|
31
|
+
# puts "failed waiting for instance running: #{error.message}
|
32
|
+
# end
|
33
|
+
#
|
34
|
+
# # Configuring a Waiter
|
35
|
+
# Each waiter has a default polling interval and a maximum number of
|
36
|
+
# attempts it will make before returning control to your program.
|
37
|
+
# To set these values, use the `max_attempts` and `delay` parameters
|
38
|
+
# in your `#wait_until` call.
|
39
|
+
# The following example waits for up to 25 seconds, polling every five seconds.
|
40
|
+
#
|
41
|
+
# client.wait_until(...) do |w|
|
42
|
+
# w.max_attempts = 5
|
43
|
+
# w.delay = 5
|
44
|
+
# end
|
45
|
+
#
|
46
|
+
# To disable wait failures, set the value of either of these parameters
|
47
|
+
# to `nil`.
|
48
|
+
#
|
49
|
+
# # Extending a Waiter
|
50
|
+
# To modify the behavior of waiters, you can register callbacks that are
|
51
|
+
# triggered before each polling attempt and before waiting.
|
52
|
+
#
|
53
|
+
# The following example implements an exponential backoff in a waiter
|
54
|
+
# by doubling the amount of time to wait on every attempt.
|
55
|
+
#
|
56
|
+
# client.wait_until(...) do |w|
|
57
|
+
# w.interval = 0 # disable normal sleep
|
58
|
+
# w.before_wait do |n, resp|
|
59
|
+
# sleep(n ** 2)
|
60
|
+
# end
|
61
|
+
# end
|
62
|
+
#
|
63
|
+
# # Available Waiters
|
64
|
+
#
|
65
|
+
# The following table lists the valid waiter names, the operations they call,
|
66
|
+
# and the default `:delay` and `:max_attempts` values.
|
67
|
+
#
|
68
|
+
# | waiter_name | params | :delay | :max_attempts |
|
69
|
+
# | ------------- | ------------------------ | -------- | ------------- |
|
70
|
+
# | fleet_started | {Client#describe_fleets} | 30 | 40 |
|
71
|
+
# | fleet_stopped | {Client#describe_fleets} | 30 | 40 |
|
72
|
+
#
|
11
73
|
module Waiters
|
12
74
|
|
13
75
|
class FleetStarted
|
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.
|
4
|
+
version: 1.40.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-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -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.
|
85
|
+
rubygems_version: 2.7.6.2
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: AWS SDK for Ruby - Amazon AppStream
|