aws-sdk-appstream 1.37.0 → 1.42.1
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 +7 -4
- data/lib/aws-sdk-appstream/client.rb +178 -23
- data/lib/aws-sdk-appstream/client_api.rb +7 -0
- data/lib/aws-sdk-appstream/errors.rb +33 -11
- data/lib/aws-sdk-appstream/resource.rb +1 -0
- data/lib/aws-sdk-appstream/types.rb +207 -11
- data/lib/aws-sdk-appstream/waiters.rb +62 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4d3d1c8b10546767b877008acf60f5a3af04d22b7a12befbf36fec629c89ee57
|
4
|
+
data.tar.gz: c48e63a41d8ddfc50f4b8fad49f02865d5cb80e405fc9e9656616eabfa9a712f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82838d82e102f809a641202093a50f1f1f51357b0f409dacf114e041a6465daf611a198b6718d2a98812fa76d82ec1e8c213f80d990f1c71b0603574c9b24ed0
|
7
|
+
data.tar.gz: 9e66b2626d6f5f3f0d45a2016a6a3535b2910d06aa9c1ed3e5ad4803226cb2a9d49eb9f4de6c617be63735015c7dae5160c985a99d3624d7461c3f8ab1169215
|
data/lib/aws-sdk-appstream.rb
CHANGED
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-appstream/customizations'
|
|
25
25
|
# methods each accept a hash of request parameters and return a response
|
26
26
|
# structure.
|
27
27
|
#
|
28
|
+
# app_stream = Aws::AppStream::Client.new
|
29
|
+
# resp = app_stream.associate_fleet(params)
|
30
|
+
#
|
28
31
|
# See {Client} for more information.
|
29
32
|
#
|
30
33
|
# # Errors
|
31
34
|
#
|
32
|
-
# Errors returned from Amazon AppStream
|
33
|
-
# extend {Errors::ServiceError}.
|
35
|
+
# Errors returned from Amazon AppStream are defined in the
|
36
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
37
|
#
|
35
38
|
# begin
|
36
39
|
# # do stuff
|
37
40
|
# rescue Aws::AppStream::Errors::ServiceError
|
38
|
-
# # rescues all
|
41
|
+
# # rescues all Amazon AppStream API errors
|
39
42
|
# end
|
40
43
|
#
|
41
44
|
# See {Errors} for more information.
|
@@ -43,6 +46,6 @@ require_relative 'aws-sdk-appstream/customizations'
|
|
43
46
|
# @service
|
44
47
|
module Aws::AppStream
|
45
48
|
|
46
|
-
GEM_VERSION = '1.
|
49
|
+
GEM_VERSION = '1.42.1'
|
47
50
|
|
48
51
|
end
|
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
30
|
|
30
31
|
Aws::Plugins::GlobalConfiguration.add_identifier(:appstream)
|
31
32
|
|
32
33
|
module Aws::AppStream
|
34
|
+
# An API client for AppStream. To construct a client, you need to configure a `:region` and `:credentials`.
|
35
|
+
#
|
36
|
+
# client = Aws::AppStream::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
41
|
+
#
|
42
|
+
# For details on configuring region and credentials see
|
43
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
44
|
+
#
|
45
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
46
|
class Client < Seahorse::Client::Base
|
34
47
|
|
35
48
|
include Aws::ClientStubs
|
@@ -57,6 +70,7 @@ module Aws::AppStream
|
|
57
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
75
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
76
|
|
@@ -93,7 +107,7 @@ module Aws::AppStream
|
|
93
107
|
# @option options [required, String] :region
|
94
108
|
# The AWS region to connect to. The configured `:region` is
|
95
109
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
97
111
|
#
|
98
112
|
# * `Aws.config[:region]`
|
99
113
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +122,12 @@ module Aws::AppStream
|
|
108
122
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
123
|
# the background every 60 secs (default). Defaults to `false`.
|
110
124
|
#
|
125
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
126
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
127
|
+
# until there is sufficent client side capacity to retry the request.
|
128
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
129
|
+
# not retry instead of sleeping.
|
130
|
+
#
|
111
131
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
132
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
133
|
# this client.
|
@@ -132,6 +152,10 @@ module Aws::AppStream
|
|
132
152
|
# When `true`, an attempt is made to coerce request parameters into
|
133
153
|
# the required types.
|
134
154
|
#
|
155
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
156
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
157
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
158
|
+
#
|
135
159
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
160
|
# Set to true to disable SDK automatically adding host prefix
|
137
161
|
# to default service endpoint when available.
|
@@ -139,7 +163,7 @@ module Aws::AppStream
|
|
139
163
|
# @option options [String] :endpoint
|
140
164
|
# The client endpoint is normally constructed from the `:region`
|
141
165
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
167
|
#
|
144
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +178,7 @@ module Aws::AppStream
|
|
154
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
179
|
#
|
156
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
182
|
#
|
159
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
184
|
# The log formatter.
|
@@ -166,15 +190,29 @@ module Aws::AppStream
|
|
166
190
|
# The Logger instance to send log messages to. If this option
|
167
191
|
# is not set, logging will be disabled.
|
168
192
|
#
|
193
|
+
# @option options [Integer] :max_attempts (3)
|
194
|
+
# An integer representing the maximum number attempts that will be made for
|
195
|
+
# a single request, including the initial attempt. For example,
|
196
|
+
# setting this value to 5 will result in a request being retried up to
|
197
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
198
|
+
#
|
169
199
|
# @option options [String] :profile ("default")
|
170
200
|
# Used when loading credentials from the shared credentials file
|
171
201
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
202
|
#
|
203
|
+
# @option options [Proc] :retry_backoff
|
204
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
205
|
+
# This option is only used in the `legacy` retry mode.
|
206
|
+
#
|
173
207
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
208
|
+
# The base delay in seconds used by the default backoff function. This option
|
209
|
+
# is only used in the `legacy` retry mode.
|
175
210
|
#
|
176
211
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
212
|
+
# A delay randomiser function used by the default backoff function.
|
213
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
214
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
215
|
+
# in the `legacy` retry mode.
|
178
216
|
#
|
179
217
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
218
|
#
|
@@ -182,11 +220,30 @@ module Aws::AppStream
|
|
182
220
|
# The maximum number of times to retry failed requests. Only
|
183
221
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
222
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
223
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
224
|
+
# endpoint discovery, and errors from expired credentials.
|
225
|
+
# This option is only used in the `legacy` retry mode.
|
187
226
|
#
|
188
227
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
228
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
229
|
+
# used by the default backoff function. This option is only used in the
|
230
|
+
# `legacy` retry mode.
|
231
|
+
#
|
232
|
+
# @option options [String] :retry_mode ("legacy")
|
233
|
+
# Specifies which retry algorithm to use. Values are:
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
190
247
|
#
|
191
248
|
# @option options [String] :secret_access_key
|
192
249
|
#
|
@@ -219,16 +276,15 @@ module Aws::AppStream
|
|
219
276
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
277
|
#
|
221
278
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
279
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
280
|
# `Timeout::Error`.
|
224
281
|
#
|
225
282
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
283
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
284
|
+
# safely be set per-request on the session.
|
229
285
|
#
|
230
286
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
287
|
+
# seconds a connection is allowed to sit idle before it is
|
232
288
|
# considered stale. Stale connections are closed and removed
|
233
289
|
# from the pool before making a request.
|
234
290
|
#
|
@@ -237,7 +293,7 @@ module Aws::AppStream
|
|
237
293
|
# request body. This option has no effect unless the request has
|
238
294
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
295
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
296
|
+
# request on the session.
|
241
297
|
#
|
242
298
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
299
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -630,7 +686,17 @@ module Aws::AppStream
|
|
630
686
|
# To assume a role, a fleet instance calls the AWS Security Token
|
631
687
|
# Service (STS) `AssumeRole` API operation and passes the ARN of the
|
632
688
|
# role to use. The operation creates a new session with temporary
|
633
|
-
# credentials.
|
689
|
+
# credentials. AppStream 2.0 retrieves the temporary credentials and
|
690
|
+
# creates the **AppStream\_Machine\_Role** credential profile on the
|
691
|
+
# instance.
|
692
|
+
#
|
693
|
+
# For more information, see [Using an IAM Role to Grant Permissions to
|
694
|
+
# Applications and Scripts Running on AppStream 2.0 Streaming
|
695
|
+
# Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
|
696
|
+
#
|
697
|
+
#
|
698
|
+
#
|
699
|
+
# [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
|
634
700
|
#
|
635
701
|
# @return [Types::CreateFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
636
702
|
#
|
@@ -723,7 +789,48 @@ module Aws::AppStream
|
|
723
789
|
# The ARN of the public, private, or shared image to use.
|
724
790
|
#
|
725
791
|
# @option params [required, String] :instance_type
|
726
|
-
# The instance type to use when launching the image builder.
|
792
|
+
# The instance type to use when launching the image builder. The
|
793
|
+
# following instance types are available:
|
794
|
+
#
|
795
|
+
# * stream.standard.medium
|
796
|
+
#
|
797
|
+
# * stream.standard.large
|
798
|
+
#
|
799
|
+
# * stream.compute.large
|
800
|
+
#
|
801
|
+
# * stream.compute.xlarge
|
802
|
+
#
|
803
|
+
# * stream.compute.2xlarge
|
804
|
+
#
|
805
|
+
# * stream.compute.4xlarge
|
806
|
+
#
|
807
|
+
# * stream.compute.8xlarge
|
808
|
+
#
|
809
|
+
# * stream.memory.large
|
810
|
+
#
|
811
|
+
# * stream.memory.xlarge
|
812
|
+
#
|
813
|
+
# * stream.memory.2xlarge
|
814
|
+
#
|
815
|
+
# * stream.memory.4xlarge
|
816
|
+
#
|
817
|
+
# * stream.memory.8xlarge
|
818
|
+
#
|
819
|
+
# * stream.graphics-design.large
|
820
|
+
#
|
821
|
+
# * stream.graphics-design.xlarge
|
822
|
+
#
|
823
|
+
# * stream.graphics-design.2xlarge
|
824
|
+
#
|
825
|
+
# * stream.graphics-design.4xlarge
|
826
|
+
#
|
827
|
+
# * stream.graphics-desktop.2xlarge
|
828
|
+
#
|
829
|
+
# * stream.graphics-pro.4xlarge
|
830
|
+
#
|
831
|
+
# * stream.graphics-pro.8xlarge
|
832
|
+
#
|
833
|
+
# * stream.graphics-pro.16xlarge
|
727
834
|
#
|
728
835
|
# @option params [String] :description
|
729
836
|
# The description to display.
|
@@ -740,7 +847,17 @@ module Aws::AppStream
|
|
740
847
|
# builder. To assume a role, the image builder calls the AWS Security
|
741
848
|
# Token Service (STS) `AssumeRole` API operation and passes the ARN of
|
742
849
|
# the role to use. The operation creates a new session with temporary
|
743
|
-
# credentials.
|
850
|
+
# credentials. AppStream 2.0 retrieves the temporary credentials and
|
851
|
+
# creates the **AppStream\_Machine\_Role** credential profile on the
|
852
|
+
# instance.
|
853
|
+
#
|
854
|
+
# For more information, see [Using an IAM Role to Grant Permissions to
|
855
|
+
# Applications and Scripts Running on AppStream 2.0 Streaming
|
856
|
+
# Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
|
857
|
+
#
|
858
|
+
#
|
859
|
+
#
|
860
|
+
# [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
|
744
861
|
#
|
745
862
|
# @option params [Boolean] :enable_default_internet_access
|
746
863
|
# Enables or disables default internet access for the image builder.
|
@@ -948,6 +1065,11 @@ module Aws::AppStream
|
|
948
1065
|
# of the stack can connect to AppStream 2.0 only through the specified
|
949
1066
|
# endpoints.
|
950
1067
|
#
|
1068
|
+
# @option params [Array<String>] :embed_host_domains
|
1069
|
+
# The domains where AppStream 2.0 streaming sessions can be embedded in
|
1070
|
+
# an iframe. You must approve the domains that you want to host embedded
|
1071
|
+
# AppStream 2.0 streaming sessions.
|
1072
|
+
#
|
951
1073
|
# @return [Types::CreateStackResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
952
1074
|
#
|
953
1075
|
# * {Types::CreateStackResult#stack #stack} => Types::Stack
|
@@ -986,6 +1108,7 @@ module Aws::AppStream
|
|
986
1108
|
# vpce_id: "String",
|
987
1109
|
# },
|
988
1110
|
# ],
|
1111
|
+
# embed_host_domains: ["EmbedHostDomain"],
|
989
1112
|
# })
|
990
1113
|
#
|
991
1114
|
# @example Response structure
|
@@ -1014,6 +1137,8 @@ module Aws::AppStream
|
|
1014
1137
|
# resp.stack.access_endpoints #=> Array
|
1015
1138
|
# resp.stack.access_endpoints[0].endpoint_type #=> String, one of "STREAMING"
|
1016
1139
|
# resp.stack.access_endpoints[0].vpce_id #=> String
|
1140
|
+
# resp.stack.embed_host_domains #=> Array
|
1141
|
+
# resp.stack.embed_host_domains[0] #=> String
|
1017
1142
|
#
|
1018
1143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack AWS API Documentation
|
1019
1144
|
#
|
@@ -1522,6 +1647,12 @@ module Aws::AppStream
|
|
1522
1647
|
# resp.fleets[0].iam_role_arn #=> String
|
1523
1648
|
# resp.next_token #=> String
|
1524
1649
|
#
|
1650
|
+
#
|
1651
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1652
|
+
#
|
1653
|
+
# * fleet_started
|
1654
|
+
# * fleet_stopped
|
1655
|
+
#
|
1525
1656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets AWS API Documentation
|
1526
1657
|
#
|
1527
1658
|
# @overload describe_fleets(params = {})
|
@@ -1625,6 +1756,8 @@ module Aws::AppStream
|
|
1625
1756
|
# * {Types::DescribeImagePermissionsResult#shared_image_permissions_list #shared_image_permissions_list} => Array<Types::SharedImagePermissions>
|
1626
1757
|
# * {Types::DescribeImagePermissionsResult#next_token #next_token} => String
|
1627
1758
|
#
|
1759
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1760
|
+
#
|
1628
1761
|
# @example Request syntax with placeholder values
|
1629
1762
|
#
|
1630
1763
|
# resp = client.describe_image_permissions({
|
@@ -1677,6 +1810,8 @@ module Aws::AppStream
|
|
1677
1810
|
# * {Types::DescribeImagesResult#images #images} => Array<Types::Image>
|
1678
1811
|
# * {Types::DescribeImagesResult#next_token #next_token} => String
|
1679
1812
|
#
|
1813
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1814
|
+
#
|
1680
1815
|
# @example Request syntax with placeholder values
|
1681
1816
|
#
|
1682
1817
|
# resp = client.describe_images({
|
@@ -1846,6 +1981,8 @@ module Aws::AppStream
|
|
1846
1981
|
# resp.stacks[0].access_endpoints #=> Array
|
1847
1982
|
# resp.stacks[0].access_endpoints[0].endpoint_type #=> String, one of "STREAMING"
|
1848
1983
|
# resp.stacks[0].access_endpoints[0].vpce_id #=> String
|
1984
|
+
# resp.stacks[0].embed_host_domains #=> Array
|
1985
|
+
# resp.stacks[0].embed_host_domains[0] #=> String
|
1849
1986
|
# resp.next_token #=> String
|
1850
1987
|
#
|
1851
1988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks AWS API Documentation
|
@@ -2672,7 +2809,17 @@ module Aws::AppStream
|
|
2672
2809
|
# To assume a role, a fleet instance calls the AWS Security Token
|
2673
2810
|
# Service (STS) `AssumeRole` API operation and passes the ARN of the
|
2674
2811
|
# role to use. The operation creates a new session with temporary
|
2675
|
-
# credentials.
|
2812
|
+
# credentials. AppStream 2.0 retrieves the temporary credentials and
|
2813
|
+
# creates the **AppStream\_Machine\_Role** credential profile on the
|
2814
|
+
# instance.
|
2815
|
+
#
|
2816
|
+
# For more information, see [Using an IAM Role to Grant Permissions to
|
2817
|
+
# Applications and Scripts Running on AppStream 2.0 Streaming
|
2818
|
+
# Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
|
2819
|
+
#
|
2820
|
+
#
|
2821
|
+
#
|
2822
|
+
# [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
|
2676
2823
|
#
|
2677
2824
|
# @return [Types::UpdateFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2678
2825
|
#
|
@@ -2825,6 +2972,11 @@ module Aws::AppStream
|
|
2825
2972
|
# of the stack can connect to AppStream 2.0 only through the specified
|
2826
2973
|
# endpoints.
|
2827
2974
|
#
|
2975
|
+
# @option params [Array<String>] :embed_host_domains
|
2976
|
+
# The domains where AppStream 2.0 streaming sessions can be embedded in
|
2977
|
+
# an iframe. You must approve the domains that you want to host embedded
|
2978
|
+
# AppStream 2.0 streaming sessions.
|
2979
|
+
#
|
2828
2980
|
# @return [Types::UpdateStackResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2829
2981
|
#
|
2830
2982
|
# * {Types::UpdateStackResult#stack #stack} => Types::Stack
|
@@ -2845,7 +2997,7 @@ module Aws::AppStream
|
|
2845
2997
|
# delete_storage_connectors: false,
|
2846
2998
|
# redirect_url: "RedirectURL",
|
2847
2999
|
# feedback_url: "FeedbackURL",
|
2848
|
-
# attributes_to_delete: ["STORAGE_CONNECTORS"], # accepts STORAGE_CONNECTORS, STORAGE_CONNECTOR_HOMEFOLDERS, STORAGE_CONNECTOR_GOOGLE_DRIVE, STORAGE_CONNECTOR_ONE_DRIVE, REDIRECT_URL, FEEDBACK_URL, THEME_NAME, USER_SETTINGS, IAM_ROLE_ARN, ACCESS_ENDPOINTS
|
3000
|
+
# attributes_to_delete: ["STORAGE_CONNECTORS"], # accepts STORAGE_CONNECTORS, STORAGE_CONNECTOR_HOMEFOLDERS, STORAGE_CONNECTOR_GOOGLE_DRIVE, STORAGE_CONNECTOR_ONE_DRIVE, REDIRECT_URL, FEEDBACK_URL, THEME_NAME, USER_SETTINGS, EMBED_HOST_DOMAINS, IAM_ROLE_ARN, ACCESS_ENDPOINTS
|
2849
3001
|
# user_settings: [
|
2850
3002
|
# {
|
2851
3003
|
# action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE", # required, accepts CLIPBOARD_COPY_FROM_LOCAL_DEVICE, CLIPBOARD_COPY_TO_LOCAL_DEVICE, FILE_UPLOAD, FILE_DOWNLOAD, PRINTING_TO_LOCAL_DEVICE
|
@@ -2862,6 +3014,7 @@ module Aws::AppStream
|
|
2862
3014
|
# vpce_id: "String",
|
2863
3015
|
# },
|
2864
3016
|
# ],
|
3017
|
+
# embed_host_domains: ["EmbedHostDomain"],
|
2865
3018
|
# })
|
2866
3019
|
#
|
2867
3020
|
# @example Response structure
|
@@ -2890,6 +3043,8 @@ module Aws::AppStream
|
|
2890
3043
|
# resp.stack.access_endpoints #=> Array
|
2891
3044
|
# resp.stack.access_endpoints[0].endpoint_type #=> String, one of "STREAMING"
|
2892
3045
|
# resp.stack.access_endpoints[0].vpce_id #=> String
|
3046
|
+
# resp.stack.embed_host_domains #=> Array
|
3047
|
+
# resp.stack.embed_host_domains[0] #=> String
|
2893
3048
|
#
|
2894
3049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack AWS API Documentation
|
2895
3050
|
#
|
@@ -2913,7 +3068,7 @@ module Aws::AppStream
|
|
2913
3068
|
params: params,
|
2914
3069
|
config: config)
|
2915
3070
|
context[:gem_name] = 'aws-sdk-appstream'
|
2916
|
-
context[:gem_version] = '1.
|
3071
|
+
context[:gem_version] = '1.42.1'
|
2917
3072
|
Seahorse::Client::Request.new(handlers, context)
|
2918
3073
|
end
|
2919
3074
|
|
@@ -2979,10 +3134,10 @@ module Aws::AppStream
|
|
2979
3134
|
# The following table lists the valid waiter names, the operations they call,
|
2980
3135
|
# and the default `:delay` and `:max_attempts` values.
|
2981
3136
|
#
|
2982
|
-
# | waiter_name | params
|
2983
|
-
# | ------------- |
|
2984
|
-
# | fleet_started | {#describe_fleets} | 30 | 40 |
|
2985
|
-
# | fleet_stopped | {#describe_fleets} | 30 | 40 |
|
3137
|
+
# | waiter_name | params | :delay | :max_attempts |
|
3138
|
+
# | ------------- | ------------------------ | -------- | ------------- |
|
3139
|
+
# | fleet_started | {Client#describe_fleets} | 30 | 40 |
|
3140
|
+
# | fleet_stopped | {Client#describe_fleets} | 30 | 40 |
|
2986
3141
|
#
|
2987
3142
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
2988
3143
|
# because the waiter has entered a state that it will not transition
|
@@ -106,6 +106,8 @@ module Aws::AppStream
|
|
106
106
|
Domain = Shapes::StringShape.new(name: 'Domain')
|
107
107
|
DomainJoinInfo = Shapes::StructureShape.new(name: 'DomainJoinInfo')
|
108
108
|
DomainList = Shapes::ListShape.new(name: 'DomainList')
|
109
|
+
EmbedHostDomain = Shapes::StringShape.new(name: 'EmbedHostDomain')
|
110
|
+
EmbedHostDomains = Shapes::ListShape.new(name: 'EmbedHostDomains')
|
109
111
|
EnableUserRequest = Shapes::StructureShape.new(name: 'EnableUserRequest')
|
110
112
|
EnableUserResult = Shapes::StructureShape.new(name: 'EnableUserResult')
|
111
113
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
@@ -367,6 +369,7 @@ module Aws::AppStream
|
|
367
369
|
CreateStackRequest.add_member(:application_settings, Shapes::ShapeRef.new(shape: ApplicationSettings, location_name: "ApplicationSettings"))
|
368
370
|
CreateStackRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
369
371
|
CreateStackRequest.add_member(:access_endpoints, Shapes::ShapeRef.new(shape: AccessEndpointList, location_name: "AccessEndpoints"))
|
372
|
+
CreateStackRequest.add_member(:embed_host_domains, Shapes::ShapeRef.new(shape: EmbedHostDomains, location_name: "EmbedHostDomains"))
|
370
373
|
CreateStackRequest.struct_class = Types::CreateStackRequest
|
371
374
|
|
372
375
|
CreateStackResult.add_member(:stack, Shapes::ShapeRef.new(shape: Stack, location_name: "Stack"))
|
@@ -566,6 +569,8 @@ module Aws::AppStream
|
|
566
569
|
|
567
570
|
DomainList.member = Shapes::ShapeRef.new(shape: Domain)
|
568
571
|
|
572
|
+
EmbedHostDomains.member = Shapes::ShapeRef.new(shape: EmbedHostDomain)
|
573
|
+
|
569
574
|
EnableUserRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: Username, required: true, location_name: "UserName"))
|
570
575
|
EnableUserRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "AuthenticationType"))
|
571
576
|
EnableUserRequest.struct_class = Types::EnableUserRequest
|
@@ -774,6 +779,7 @@ module Aws::AppStream
|
|
774
779
|
Stack.add_member(:user_settings, Shapes::ShapeRef.new(shape: UserSettingList, location_name: "UserSettings"))
|
775
780
|
Stack.add_member(:application_settings, Shapes::ShapeRef.new(shape: ApplicationSettingsResponse, location_name: "ApplicationSettings"))
|
776
781
|
Stack.add_member(:access_endpoints, Shapes::ShapeRef.new(shape: AccessEndpointList, location_name: "AccessEndpoints"))
|
782
|
+
Stack.add_member(:embed_host_domains, Shapes::ShapeRef.new(shape: EmbedHostDomains, location_name: "EmbedHostDomains"))
|
777
783
|
Stack.struct_class = Types::Stack
|
778
784
|
|
779
785
|
StackAttributes.member = Shapes::ShapeRef.new(shape: StackAttribute)
|
@@ -884,6 +890,7 @@ module Aws::AppStream
|
|
884
890
|
UpdateStackRequest.add_member(:user_settings, Shapes::ShapeRef.new(shape: UserSettingList, location_name: "UserSettings"))
|
885
891
|
UpdateStackRequest.add_member(:application_settings, Shapes::ShapeRef.new(shape: ApplicationSettings, location_name: "ApplicationSettings"))
|
886
892
|
UpdateStackRequest.add_member(:access_endpoints, Shapes::ShapeRef.new(shape: AccessEndpointList, location_name: "AccessEndpoints"))
|
893
|
+
UpdateStackRequest.add_member(:embed_host_domains, Shapes::ShapeRef.new(shape: EmbedHostDomains, location_name: "EmbedHostDomains"))
|
887
894
|
UpdateStackRequest.struct_class = Types::UpdateStackRequest
|
888
895
|
|
889
896
|
UpdateStackResult.add_member(:stack, Shapes::ShapeRef.new(shape: Stack, location_name: "Stack"))
|
@@ -6,6 +6,39 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::AppStream
|
9
|
+
|
10
|
+
# When AppStream returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::AppStream::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all AppStream errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::AppStream::Errors::ServiceError
|
18
|
+
# # rescues all AppStream API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {ConcurrentModificationException}
|
29
|
+
# * {IncompatibleImageException}
|
30
|
+
# * {InvalidAccountStatusException}
|
31
|
+
# * {InvalidParameterCombinationException}
|
32
|
+
# * {InvalidRoleException}
|
33
|
+
# * {LimitExceededException}
|
34
|
+
# * {OperationNotPermittedException}
|
35
|
+
# * {ResourceAlreadyExistsException}
|
36
|
+
# * {ResourceInUseException}
|
37
|
+
# * {ResourceNotAvailableException}
|
38
|
+
# * {ResourceNotFoundException}
|
39
|
+
#
|
40
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
41
|
+
# if they are not defined above.
|
9
42
|
module Errors
|
10
43
|
|
11
44
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +56,6 @@ module Aws::AppStream
|
|
23
56
|
def message
|
24
57
|
@message || @data[:message]
|
25
58
|
end
|
26
|
-
|
27
59
|
end
|
28
60
|
|
29
61
|
class IncompatibleImageException < ServiceError
|
@@ -39,7 +71,6 @@ module Aws::AppStream
|
|
39
71
|
def message
|
40
72
|
@message || @data[:message]
|
41
73
|
end
|
42
|
-
|
43
74
|
end
|
44
75
|
|
45
76
|
class InvalidAccountStatusException < ServiceError
|
@@ -55,7 +86,6 @@ module Aws::AppStream
|
|
55
86
|
def message
|
56
87
|
@message || @data[:message]
|
57
88
|
end
|
58
|
-
|
59
89
|
end
|
60
90
|
|
61
91
|
class InvalidParameterCombinationException < ServiceError
|
@@ -71,7 +101,6 @@ module Aws::AppStream
|
|
71
101
|
def message
|
72
102
|
@message || @data[:message]
|
73
103
|
end
|
74
|
-
|
75
104
|
end
|
76
105
|
|
77
106
|
class InvalidRoleException < ServiceError
|
@@ -87,7 +116,6 @@ module Aws::AppStream
|
|
87
116
|
def message
|
88
117
|
@message || @data[:message]
|
89
118
|
end
|
90
|
-
|
91
119
|
end
|
92
120
|
|
93
121
|
class LimitExceededException < ServiceError
|
@@ -103,7 +131,6 @@ module Aws::AppStream
|
|
103
131
|
def message
|
104
132
|
@message || @data[:message]
|
105
133
|
end
|
106
|
-
|
107
134
|
end
|
108
135
|
|
109
136
|
class OperationNotPermittedException < ServiceError
|
@@ -119,7 +146,6 @@ module Aws::AppStream
|
|
119
146
|
def message
|
120
147
|
@message || @data[:message]
|
121
148
|
end
|
122
|
-
|
123
149
|
end
|
124
150
|
|
125
151
|
class ResourceAlreadyExistsException < ServiceError
|
@@ -135,7 +161,6 @@ module Aws::AppStream
|
|
135
161
|
def message
|
136
162
|
@message || @data[:message]
|
137
163
|
end
|
138
|
-
|
139
164
|
end
|
140
165
|
|
141
166
|
class ResourceInUseException < ServiceError
|
@@ -151,7 +176,6 @@ module Aws::AppStream
|
|
151
176
|
def message
|
152
177
|
@message || @data[:message]
|
153
178
|
end
|
154
|
-
|
155
179
|
end
|
156
180
|
|
157
181
|
class ResourceNotAvailableException < ServiceError
|
@@ -167,7 +191,6 @@ module Aws::AppStream
|
|
167
191
|
def message
|
168
192
|
@message || @data[:message]
|
169
193
|
end
|
170
|
-
|
171
194
|
end
|
172
195
|
|
173
196
|
class ResourceNotFoundException < ServiceError
|
@@ -183,7 +206,6 @@ module Aws::AppStream
|
|
183
206
|
def message
|
184
207
|
@message || @data[:message]
|
185
208
|
end
|
186
|
-
|
187
209
|
end
|
188
210
|
|
189
211
|
end
|
@@ -611,7 +611,17 @@ module Aws::AppStream
|
|
611
611
|
# fleet. To assume a role, a fleet instance calls the AWS Security
|
612
612
|
# Token Service (STS) `AssumeRole` API operation and passes the ARN of
|
613
613
|
# the role to use. The operation creates a new session with temporary
|
614
|
-
# credentials.
|
614
|
+
# credentials. AppStream 2.0 retrieves the temporary credentials and
|
615
|
+
# creates the **AppStream\_Machine\_Role** credential profile on the
|
616
|
+
# instance.
|
617
|
+
#
|
618
|
+
# For more information, see [Using an IAM Role to Grant Permissions to
|
619
|
+
# Applications and Scripts Running on AppStream 2.0 Streaming
|
620
|
+
# Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
|
621
|
+
#
|
622
|
+
#
|
623
|
+
#
|
624
|
+
# [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
|
615
625
|
# @return [String]
|
616
626
|
#
|
617
627
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleetRequest AWS API Documentation
|
@@ -692,7 +702,48 @@ module Aws::AppStream
|
|
692
702
|
# @return [String]
|
693
703
|
#
|
694
704
|
# @!attribute [rw] instance_type
|
695
|
-
# The instance type to use when launching the image builder.
|
705
|
+
# The instance type to use when launching the image builder. The
|
706
|
+
# following instance types are available:
|
707
|
+
#
|
708
|
+
# * stream.standard.medium
|
709
|
+
#
|
710
|
+
# * stream.standard.large
|
711
|
+
#
|
712
|
+
# * stream.compute.large
|
713
|
+
#
|
714
|
+
# * stream.compute.xlarge
|
715
|
+
#
|
716
|
+
# * stream.compute.2xlarge
|
717
|
+
#
|
718
|
+
# * stream.compute.4xlarge
|
719
|
+
#
|
720
|
+
# * stream.compute.8xlarge
|
721
|
+
#
|
722
|
+
# * stream.memory.large
|
723
|
+
#
|
724
|
+
# * stream.memory.xlarge
|
725
|
+
#
|
726
|
+
# * stream.memory.2xlarge
|
727
|
+
#
|
728
|
+
# * stream.memory.4xlarge
|
729
|
+
#
|
730
|
+
# * stream.memory.8xlarge
|
731
|
+
#
|
732
|
+
# * stream.graphics-design.large
|
733
|
+
#
|
734
|
+
# * stream.graphics-design.xlarge
|
735
|
+
#
|
736
|
+
# * stream.graphics-design.2xlarge
|
737
|
+
#
|
738
|
+
# * stream.graphics-design.4xlarge
|
739
|
+
#
|
740
|
+
# * stream.graphics-desktop.2xlarge
|
741
|
+
#
|
742
|
+
# * stream.graphics-pro.4xlarge
|
743
|
+
#
|
744
|
+
# * stream.graphics-pro.8xlarge
|
745
|
+
#
|
746
|
+
# * stream.graphics-pro.16xlarge
|
696
747
|
# @return [String]
|
697
748
|
#
|
698
749
|
# @!attribute [rw] description
|
@@ -713,7 +764,17 @@ module Aws::AppStream
|
|
713
764
|
# builder. To assume a role, the image builder calls the AWS Security
|
714
765
|
# Token Service (STS) `AssumeRole` API operation and passes the ARN of
|
715
766
|
# the role to use. The operation creates a new session with temporary
|
716
|
-
# credentials.
|
767
|
+
# credentials. AppStream 2.0 retrieves the temporary credentials and
|
768
|
+
# creates the **AppStream\_Machine\_Role** credential profile on the
|
769
|
+
# instance.
|
770
|
+
#
|
771
|
+
# For more information, see [Using an IAM Role to Grant Permissions to
|
772
|
+
# Applications and Scripts Running on AppStream 2.0 Streaming
|
773
|
+
# Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
|
774
|
+
#
|
775
|
+
#
|
776
|
+
#
|
777
|
+
# [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
|
717
778
|
# @return [String]
|
718
779
|
#
|
719
780
|
# @!attribute [rw] enable_default_internet_access
|
@@ -864,6 +925,7 @@ module Aws::AppStream
|
|
864
925
|
# vpce_id: "String",
|
865
926
|
# },
|
866
927
|
# ],
|
928
|
+
# embed_host_domains: ["EmbedHostDomain"],
|
867
929
|
# }
|
868
930
|
#
|
869
931
|
# @!attribute [rw] name
|
@@ -931,6 +993,12 @@ module Aws::AppStream
|
|
931
993
|
# specified endpoints.
|
932
994
|
# @return [Array<Types::AccessEndpoint>]
|
933
995
|
#
|
996
|
+
# @!attribute [rw] embed_host_domains
|
997
|
+
# The domains where AppStream 2.0 streaming sessions can be embedded
|
998
|
+
# in an iframe. You must approve the domains that you want to host
|
999
|
+
# embedded AppStream 2.0 streaming sessions.
|
1000
|
+
# @return [Array<String>]
|
1001
|
+
#
|
934
1002
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStackRequest AWS API Documentation
|
935
1003
|
#
|
936
1004
|
class CreateStackRequest < Struct.new(
|
@@ -943,7 +1011,8 @@ module Aws::AppStream
|
|
943
1011
|
:user_settings,
|
944
1012
|
:application_settings,
|
945
1013
|
:tags,
|
946
|
-
:access_endpoints
|
1014
|
+
:access_endpoints,
|
1015
|
+
:embed_host_domains)
|
947
1016
|
include Aws::Structure
|
948
1017
|
end
|
949
1018
|
|
@@ -2051,7 +2120,48 @@ module Aws::AppStream
|
|
2051
2120
|
# @return [String]
|
2052
2121
|
#
|
2053
2122
|
# @!attribute [rw] instance_type
|
2054
|
-
# The instance type to use when launching fleet instances.
|
2123
|
+
# The instance type to use when launching fleet instances. The
|
2124
|
+
# following instance types are available:
|
2125
|
+
#
|
2126
|
+
# * stream.standard.medium
|
2127
|
+
#
|
2128
|
+
# * stream.standard.large
|
2129
|
+
#
|
2130
|
+
# * stream.compute.large
|
2131
|
+
#
|
2132
|
+
# * stream.compute.xlarge
|
2133
|
+
#
|
2134
|
+
# * stream.compute.2xlarge
|
2135
|
+
#
|
2136
|
+
# * stream.compute.4xlarge
|
2137
|
+
#
|
2138
|
+
# * stream.compute.8xlarge
|
2139
|
+
#
|
2140
|
+
# * stream.memory.large
|
2141
|
+
#
|
2142
|
+
# * stream.memory.xlarge
|
2143
|
+
#
|
2144
|
+
# * stream.memory.2xlarge
|
2145
|
+
#
|
2146
|
+
# * stream.memory.4xlarge
|
2147
|
+
#
|
2148
|
+
# * stream.memory.8xlarge
|
2149
|
+
#
|
2150
|
+
# * stream.graphics-design.large
|
2151
|
+
#
|
2152
|
+
# * stream.graphics-design.xlarge
|
2153
|
+
#
|
2154
|
+
# * stream.graphics-design.2xlarge
|
2155
|
+
#
|
2156
|
+
# * stream.graphics-design.4xlarge
|
2157
|
+
#
|
2158
|
+
# * stream.graphics-desktop.2xlarge
|
2159
|
+
#
|
2160
|
+
# * stream.graphics-pro.4xlarge
|
2161
|
+
#
|
2162
|
+
# * stream.graphics-pro.8xlarge
|
2163
|
+
#
|
2164
|
+
# * stream.graphics-pro.16xlarge
|
2055
2165
|
# @return [String]
|
2056
2166
|
#
|
2057
2167
|
# @!attribute [rw] fleet_type
|
@@ -2156,6 +2266,16 @@ module Aws::AppStream
|
|
2156
2266
|
# role, the fleet instance calls the AWS Security Token Service (STS)
|
2157
2267
|
# `AssumeRole` API operation and passes the ARN of the role to use.
|
2158
2268
|
# The operation creates a new session with temporary credentials.
|
2269
|
+
# AppStream 2.0 retrieves the temporary credentials and creates the
|
2270
|
+
# **AppStream\_Machine\_Role** credential profile on the instance.
|
2271
|
+
#
|
2272
|
+
# For more information, see [Using an IAM Role to Grant Permissions to
|
2273
|
+
# Applications and Scripts Running on AppStream 2.0 Streaming
|
2274
|
+
# Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
|
2275
|
+
#
|
2276
|
+
#
|
2277
|
+
#
|
2278
|
+
# [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
|
2159
2279
|
# @return [String]
|
2160
2280
|
#
|
2161
2281
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Fleet AWS API Documentation
|
@@ -2323,7 +2443,48 @@ module Aws::AppStream
|
|
2323
2443
|
# @return [Types::VpcConfig]
|
2324
2444
|
#
|
2325
2445
|
# @!attribute [rw] instance_type
|
2326
|
-
# The instance type for the image builder.
|
2446
|
+
# The instance type for the image builder. The following instance
|
2447
|
+
# types are available:
|
2448
|
+
#
|
2449
|
+
# * stream.standard.medium
|
2450
|
+
#
|
2451
|
+
# * stream.standard.large
|
2452
|
+
#
|
2453
|
+
# * stream.compute.large
|
2454
|
+
#
|
2455
|
+
# * stream.compute.xlarge
|
2456
|
+
#
|
2457
|
+
# * stream.compute.2xlarge
|
2458
|
+
#
|
2459
|
+
# * stream.compute.4xlarge
|
2460
|
+
#
|
2461
|
+
# * stream.compute.8xlarge
|
2462
|
+
#
|
2463
|
+
# * stream.memory.large
|
2464
|
+
#
|
2465
|
+
# * stream.memory.xlarge
|
2466
|
+
#
|
2467
|
+
# * stream.memory.2xlarge
|
2468
|
+
#
|
2469
|
+
# * stream.memory.4xlarge
|
2470
|
+
#
|
2471
|
+
# * stream.memory.8xlarge
|
2472
|
+
#
|
2473
|
+
# * stream.graphics-design.large
|
2474
|
+
#
|
2475
|
+
# * stream.graphics-design.xlarge
|
2476
|
+
#
|
2477
|
+
# * stream.graphics-design.2xlarge
|
2478
|
+
#
|
2479
|
+
# * stream.graphics-design.4xlarge
|
2480
|
+
#
|
2481
|
+
# * stream.graphics-desktop.2xlarge
|
2482
|
+
#
|
2483
|
+
# * stream.graphics-pro.4xlarge
|
2484
|
+
#
|
2485
|
+
# * stream.graphics-pro.8xlarge
|
2486
|
+
#
|
2487
|
+
# * stream.graphics-pro.16xlarge
|
2327
2488
|
# @return [String]
|
2328
2489
|
#
|
2329
2490
|
# @!attribute [rw] platform
|
@@ -2335,7 +2496,17 @@ module Aws::AppStream
|
|
2335
2496
|
# assume a role, the image builder calls the AWS Security Token
|
2336
2497
|
# Service (STS) `AssumeRole` API operation and passes the ARN of the
|
2337
2498
|
# role to use. The operation creates a new session with temporary
|
2338
|
-
# credentials.
|
2499
|
+
# credentials. AppStream 2.0 retrieves the temporary credentials and
|
2500
|
+
# creates the **AppStream\_Machine\_Role** credential profile on the
|
2501
|
+
# instance.
|
2502
|
+
#
|
2503
|
+
# For more information, see [Using an IAM Role to Grant Permissions to
|
2504
|
+
# Applications and Scripts Running on AppStream 2.0 Streaming
|
2505
|
+
# Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
|
2506
|
+
#
|
2507
|
+
#
|
2508
|
+
#
|
2509
|
+
# [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
|
2339
2510
|
# @return [String]
|
2340
2511
|
#
|
2341
2512
|
# @!attribute [rw] state
|
@@ -2948,6 +3119,12 @@ module Aws::AppStream
|
|
2948
3119
|
# specified endpoints.
|
2949
3120
|
# @return [Array<Types::AccessEndpoint>]
|
2950
3121
|
#
|
3122
|
+
# @!attribute [rw] embed_host_domains
|
3123
|
+
# The domains where AppStream 2.0 streaming sessions can be embedded
|
3124
|
+
# in an iframe. You must approve the domains that you want to host
|
3125
|
+
# embedded AppStream 2.0 streaming sessions.
|
3126
|
+
# @return [Array<String>]
|
3127
|
+
#
|
2951
3128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Stack AWS API Documentation
|
2952
3129
|
#
|
2953
3130
|
class Stack < Struct.new(
|
@@ -2962,7 +3139,8 @@ module Aws::AppStream
|
|
2962
3139
|
:stack_errors,
|
2963
3140
|
:user_settings,
|
2964
3141
|
:application_settings,
|
2965
|
-
:access_endpoints
|
3142
|
+
:access_endpoints,
|
3143
|
+
:embed_host_domains)
|
2966
3144
|
include Aws::Structure
|
2967
3145
|
end
|
2968
3146
|
|
@@ -3415,7 +3593,17 @@ module Aws::AppStream
|
|
3415
3593
|
# fleet. To assume a role, a fleet instance calls the AWS Security
|
3416
3594
|
# Token Service (STS) `AssumeRole` API operation and passes the ARN of
|
3417
3595
|
# the role to use. The operation creates a new session with temporary
|
3418
|
-
# credentials.
|
3596
|
+
# credentials. AppStream 2.0 retrieves the temporary credentials and
|
3597
|
+
# creates the **AppStream\_Machine\_Role** credential profile on the
|
3598
|
+
# instance.
|
3599
|
+
#
|
3600
|
+
# For more information, see [Using an IAM Role to Grant Permissions to
|
3601
|
+
# Applications and Scripts Running on AppStream 2.0 Streaming
|
3602
|
+
# Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
|
3603
|
+
#
|
3604
|
+
#
|
3605
|
+
#
|
3606
|
+
# [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
|
3419
3607
|
# @return [String]
|
3420
3608
|
#
|
3421
3609
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleetRequest AWS API Documentation
|
@@ -3506,7 +3694,7 @@ module Aws::AppStream
|
|
3506
3694
|
# delete_storage_connectors: false,
|
3507
3695
|
# redirect_url: "RedirectURL",
|
3508
3696
|
# feedback_url: "FeedbackURL",
|
3509
|
-
# attributes_to_delete: ["STORAGE_CONNECTORS"], # accepts STORAGE_CONNECTORS, STORAGE_CONNECTOR_HOMEFOLDERS, STORAGE_CONNECTOR_GOOGLE_DRIVE, STORAGE_CONNECTOR_ONE_DRIVE, REDIRECT_URL, FEEDBACK_URL, THEME_NAME, USER_SETTINGS, IAM_ROLE_ARN, ACCESS_ENDPOINTS
|
3697
|
+
# attributes_to_delete: ["STORAGE_CONNECTORS"], # accepts STORAGE_CONNECTORS, STORAGE_CONNECTOR_HOMEFOLDERS, STORAGE_CONNECTOR_GOOGLE_DRIVE, STORAGE_CONNECTOR_ONE_DRIVE, REDIRECT_URL, FEEDBACK_URL, THEME_NAME, USER_SETTINGS, EMBED_HOST_DOMAINS, IAM_ROLE_ARN, ACCESS_ENDPOINTS
|
3510
3698
|
# user_settings: [
|
3511
3699
|
# {
|
3512
3700
|
# action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE", # required, accepts CLIPBOARD_COPY_FROM_LOCAL_DEVICE, CLIPBOARD_COPY_TO_LOCAL_DEVICE, FILE_UPLOAD, FILE_DOWNLOAD, PRINTING_TO_LOCAL_DEVICE
|
@@ -3523,6 +3711,7 @@ module Aws::AppStream
|
|
3523
3711
|
# vpce_id: "String",
|
3524
3712
|
# },
|
3525
3713
|
# ],
|
3714
|
+
# embed_host_domains: ["EmbedHostDomain"],
|
3526
3715
|
# }
|
3527
3716
|
#
|
3528
3717
|
# @!attribute [rw] display_name
|
@@ -3578,6 +3767,12 @@ module Aws::AppStream
|
|
3578
3767
|
# specified endpoints.
|
3579
3768
|
# @return [Array<Types::AccessEndpoint>]
|
3580
3769
|
#
|
3770
|
+
# @!attribute [rw] embed_host_domains
|
3771
|
+
# The domains where AppStream 2.0 streaming sessions can be embedded
|
3772
|
+
# in an iframe. You must approve the domains that you want to host
|
3773
|
+
# embedded AppStream 2.0 streaming sessions.
|
3774
|
+
# @return [Array<String>]
|
3775
|
+
#
|
3581
3776
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStackRequest AWS API Documentation
|
3582
3777
|
#
|
3583
3778
|
class UpdateStackRequest < Struct.new(
|
@@ -3591,7 +3786,8 @@ module Aws::AppStream
|
|
3591
3786
|
:attributes_to_delete,
|
3592
3787
|
:user_settings,
|
3593
3788
|
:application_settings,
|
3594
|
-
:access_endpoints
|
3789
|
+
:access_endpoints,
|
3790
|
+
:embed_host_domains)
|
3595
3791
|
include Aws::Structure
|
3596
3792
|
end
|
3597
3793
|
|
@@ -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.42.1
|
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: 2020-06-11 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.
|
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.
|
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.
|
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
|