aws-sdk-nimblestudio 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 04a681b9b64e30ca4cfce21de71621dcffd85a547cb78a526947189b5f72159c
4
+ data.tar.gz: d789fec02239be5335d7f2579d4e9a92bdf734f91ade12fd303fcaced1e48106
5
+ SHA512:
6
+ metadata.gz: 7772a4298e51a6936d6f86bfdcb33c1d30600f21bfdbace6665ee1cd8e6503b3af288baf5226892cac230f7d638fc5ca06c19511e35fb44cd6af7bec30478475
7
+ data.tar.gz: 37279d7f4eef3a9031387cadb373d3f4be402b8660d19410567257002923575a491d2d636509eee3e863e7a2e315f95e208333908f57a2c59070ba5d3d0f39d8
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.0.0 (2021-04-28)
5
+ ------------------
6
+
7
+ * Feature - Initial release of `aws-sdk-nimblestudio`.
8
+
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ require_relative 'aws-sdk-nimblestudio/types'
15
+ require_relative 'aws-sdk-nimblestudio/client_api'
16
+ require_relative 'aws-sdk-nimblestudio/client'
17
+ require_relative 'aws-sdk-nimblestudio/errors'
18
+ require_relative 'aws-sdk-nimblestudio/resource'
19
+ require_relative 'aws-sdk-nimblestudio/customizations'
20
+
21
+ # This module provides support for AmazonNimbleStudio. This module is available in the
22
+ # `aws-sdk-nimblestudio` gem.
23
+ #
24
+ # # Client
25
+ #
26
+ # The {Client} class provides one method for each API operation. Operation
27
+ # methods each accept a hash of request parameters and return a response
28
+ # structure.
29
+ #
30
+ # nimble_studio = Aws::NimbleStudio::Client.new
31
+ # resp = nimble_studio.accept_eulas(params)
32
+ #
33
+ # See {Client} for more information.
34
+ #
35
+ # # Errors
36
+ #
37
+ # Errors returned from AmazonNimbleStudio are defined in the
38
+ # {Errors} module and all extend {Errors::ServiceError}.
39
+ #
40
+ # begin
41
+ # # do stuff
42
+ # rescue Aws::NimbleStudio::Errors::ServiceError
43
+ # # rescues all AmazonNimbleStudio API errors
44
+ # end
45
+ #
46
+ # See {Errors} for more information.
47
+ #
48
+ # @!group service
49
+ module Aws::NimbleStudio
50
+
51
+ GEM_VERSION = '1.0.0'
52
+
53
+ end
@@ -0,0 +1,2862 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'seahorse/client/plugins/content_length.rb'
11
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
+ require 'aws-sdk-core/plugins/logging.rb'
13
+ require 'aws-sdk-core/plugins/param_converter.rb'
14
+ require 'aws-sdk-core/plugins/param_validator.rb'
15
+ require 'aws-sdk-core/plugins/user_agent.rb'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
+ require 'aws-sdk-core/plugins/retry_errors.rb'
18
+ require 'aws-sdk-core/plugins/global_configuration.rb'
19
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
+ require 'aws-sdk-core/plugins/response_paging.rb'
23
+ require 'aws-sdk-core/plugins/stub_responses.rb'
24
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/signature_v4.rb'
31
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
+
33
+ Aws::Plugins::GlobalConfiguration.add_identifier(:nimblestudio)
34
+
35
+ module Aws::NimbleStudio
36
+ # An API client for NimbleStudio. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::NimbleStudio::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
48
+ class Client < Seahorse::Client::Base
49
+
50
+ include Aws::ClientStubs
51
+
52
+ @identifier = :nimblestudio
53
+
54
+ set_api(ClientApi::API)
55
+
56
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
57
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
58
+ add_plugin(Aws::Plugins::Logging)
59
+ add_plugin(Aws::Plugins::ParamConverter)
60
+ add_plugin(Aws::Plugins::ParamValidator)
61
+ add_plugin(Aws::Plugins::UserAgent)
62
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
63
+ add_plugin(Aws::Plugins::RetryErrors)
64
+ add_plugin(Aws::Plugins::GlobalConfiguration)
65
+ add_plugin(Aws::Plugins::RegionalEndpoint)
66
+ add_plugin(Aws::Plugins::EndpointDiscovery)
67
+ add_plugin(Aws::Plugins::EndpointPattern)
68
+ add_plugin(Aws::Plugins::ResponsePaging)
69
+ add_plugin(Aws::Plugins::StubResponses)
70
+ add_plugin(Aws::Plugins::IdempotencyToken)
71
+ add_plugin(Aws::Plugins::JsonvalueConverter)
72
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
73
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
+ add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
76
+ add_plugin(Aws::Plugins::SignatureV4)
77
+ add_plugin(Aws::Plugins::Protocols::RestJson)
78
+
79
+ # @overload initialize(options)
80
+ # @param [Hash] options
81
+ # @option options [required, Aws::CredentialProvider] :credentials
82
+ # Your AWS credentials. This can be an instance of any one of the
83
+ # following classes:
84
+ #
85
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
+ # credentials.
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
+ #
102
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
103
+ # from an EC2 IMDS on an EC2 instance.
104
+ #
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
107
+ #
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
110
+ #
111
+ # When `:credentials` are not configured directly, the following
112
+ # locations will be searched for credentials:
113
+ #
114
+ # * `Aws.config[:credentials]`
115
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
116
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
117
+ # * `~/.aws/credentials`
118
+ # * `~/.aws/config`
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.
123
+ #
124
+ # @option options [required, String] :region
125
+ # The AWS region to connect to. The configured `:region` is
126
+ # used to determine the service `:endpoint`. When not passed,
127
+ # a default `:region` is searched for in the following locations:
128
+ #
129
+ # * `Aws.config[:region]`
130
+ # * `ENV['AWS_REGION']`
131
+ # * `ENV['AMAZON_REGION']`
132
+ # * `ENV['AWS_DEFAULT_REGION']`
133
+ # * `~/.aws/credentials`
134
+ # * `~/.aws/config`
135
+ #
136
+ # @option options [String] :access_key_id
137
+ #
138
+ # @option options [Boolean] :active_endpoint_cache (false)
139
+ # When set to `true`, a thread polling for endpoints will be running in
140
+ # the background every 60 secs (default). Defaults to `false`.
141
+ #
142
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
143
+ # Used only in `adaptive` retry mode. When true, the request will sleep
144
+ # until there is sufficent client side capacity to retry the request.
145
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
146
+ # not retry instead of sleeping.
147
+ #
148
+ # @option options [Boolean] :client_side_monitoring (false)
149
+ # When `true`, client-side metrics will be collected for all API requests from
150
+ # this client.
151
+ #
152
+ # @option options [String] :client_side_monitoring_client_id ("")
153
+ # Allows you to provide an identifier for this client which will be attached to
154
+ # all generated client side metrics. Defaults to an empty string.
155
+ #
156
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
157
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
158
+ # side monitoring agent is running on, where client metrics will be published via UDP.
159
+ #
160
+ # @option options [Integer] :client_side_monitoring_port (31000)
161
+ # Required for publishing client metrics. The port that the client side monitoring
162
+ # agent is running on, where client metrics will be published via UDP.
163
+ #
164
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
165
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
166
+ # will use the Client Side Monitoring Agent Publisher.
167
+ #
168
+ # @option options [Boolean] :convert_params (true)
169
+ # When `true`, an attempt is made to coerce request parameters into
170
+ # the required types.
171
+ #
172
+ # @option options [Boolean] :correct_clock_skew (true)
173
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
+ # a clock skew correction and retry requests with skewed client clocks.
175
+ #
176
+ # @option options [Boolean] :disable_host_prefix_injection (false)
177
+ # Set to true to disable SDK automatically adding host prefix
178
+ # to default service endpoint when available.
179
+ #
180
+ # @option options [String] :endpoint
181
+ # The client endpoint is normally constructed from the `:region`
182
+ # option. You should only configure an `:endpoint` when connecting
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
184
+ #
185
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
186
+ # Used for the maximum size limit of the LRU cache storing endpoints data
187
+ # for endpoint discovery enabled operations. Defaults to 1000.
188
+ #
189
+ # @option options [Integer] :endpoint_cache_max_threads (10)
190
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
191
+ #
192
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
193
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
194
+ # Use this option to config the time interval in seconds for making
195
+ # requests fetching endpoints information. Defaults to 60 sec.
196
+ #
197
+ # @option options [Boolean] :endpoint_discovery (false)
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
199
+ #
200
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
201
+ # The log formatter.
202
+ #
203
+ # @option options [Symbol] :log_level (:info)
204
+ # The log level to send messages to the `:logger` at.
205
+ #
206
+ # @option options [Logger] :logger
207
+ # The Logger instance to send log messages to. If this option
208
+ # is not set, logging will be disabled.
209
+ #
210
+ # @option options [Integer] :max_attempts (3)
211
+ # An integer representing the maximum number attempts that will be made for
212
+ # a single request, including the initial attempt. For example,
213
+ # setting this value to 5 will result in a request being retried up to
214
+ # 4 times. Used in `standard` and `adaptive` retry modes.
215
+ #
216
+ # @option options [String] :profile ("default")
217
+ # Used when loading credentials from the shared credentials file
218
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
219
+ #
220
+ # @option options [Proc] :retry_backoff
221
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
222
+ # This option is only used in the `legacy` retry mode.
223
+ #
224
+ # @option options [Float] :retry_base_delay (0.3)
225
+ # The base delay in seconds used by the default backoff function. This option
226
+ # is only used in the `legacy` retry mode.
227
+ #
228
+ # @option options [Symbol] :retry_jitter (:none)
229
+ # A delay randomiser function used by the default backoff function.
230
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
231
+ # otherwise a Proc that takes and returns a number. This option is only used
232
+ # in the `legacy` retry mode.
233
+ #
234
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
235
+ #
236
+ # @option options [Integer] :retry_limit (3)
237
+ # The maximum number of times to retry failed requests. Only
238
+ # ~ 500 level server errors and certain ~ 400 level client errors
239
+ # are retried. Generally, these are throttling errors, data
240
+ # checksum errors, networking errors, timeout errors, auth errors,
241
+ # endpoint discovery, and errors from expired credentials.
242
+ # This option is only used in the `legacy` retry mode.
243
+ #
244
+ # @option options [Integer] :retry_max_delay (0)
245
+ # The maximum number of seconds to delay between retries (0 for no limit)
246
+ # used by the default backoff function. This option is only used in the
247
+ # `legacy` retry mode.
248
+ #
249
+ # @option options [String] :retry_mode ("legacy")
250
+ # Specifies which retry algorithm to use. Values are:
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
+ #
264
+ #
265
+ # @option options [String] :secret_access_key
266
+ #
267
+ # @option options [String] :session_token
268
+ #
269
+ # @option options [Boolean] :stub_responses (false)
270
+ # Causes the client to return stubbed responses. By default
271
+ # fake responses are generated and returned. You can specify
272
+ # the response data to return or errors to raise by calling
273
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
274
+ #
275
+ # ** Please note ** When response stubbing is enabled, no HTTP
276
+ # requests are made, and retries are disabled.
277
+ #
278
+ # @option options [Boolean] :validate_params (true)
279
+ # When `true`, request parameters are validated before
280
+ # sending the request.
281
+ #
282
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
283
+ # requests through. Formatted like 'http://proxy.com:123'.
284
+ #
285
+ # @option options [Float] :http_open_timeout (15) The number of
286
+ # seconds to wait when opening a HTTP session before raising a
287
+ # `Timeout::Error`.
288
+ #
289
+ # @option options [Integer] :http_read_timeout (60) The default
290
+ # number of seconds to wait for response data. This value can
291
+ # safely be set per-request on the session.
292
+ #
293
+ # @option options [Float] :http_idle_timeout (5) The number of
294
+ # seconds a connection is allowed to sit idle before it is
295
+ # considered stale. Stale connections are closed and removed
296
+ # from the pool before making a request.
297
+ #
298
+ # @option options [Float] :http_continue_timeout (1) The number of
299
+ # seconds to wait for a 100-continue response before sending the
300
+ # request body. This option has no effect unless the request has
301
+ # "Expect" header set to "100-continue". Defaults to `nil` which
302
+ # disables this behaviour. This value can safely be set per
303
+ # request on the session.
304
+ #
305
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
306
+ # HTTP debug output will be sent to the `:logger`.
307
+ #
308
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
309
+ # SSL peer certificates are verified when establishing a
310
+ # connection.
311
+ #
312
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
313
+ # certificate authority bundle file that should be used when
314
+ # verifying peer certificates. If you do not pass
315
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
316
+ # will be used if available.
317
+ #
318
+ # @option options [String] :ssl_ca_directory Full path of the
319
+ # directory that contains the unbundled SSL certificate
320
+ # authority files for verifying peer certificates. If you do
321
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
322
+ # system default will be used if available.
323
+ #
324
+ def initialize(*args)
325
+ super
326
+ end
327
+
328
+ # @!group API Operations
329
+
330
+ # Accept EULAs.
331
+ #
332
+ # @option params [String] :client_token
333
+ # **A suitable default value is auto-generated.** You should normally
334
+ # not need to pass this option.**
335
+ #
336
+ # @option params [Array<String>] :eula_ids
337
+ #
338
+ # @option params [required, String] :studio_id
339
+ #
340
+ # @return [Types::AcceptEulasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
341
+ #
342
+ # * {Types::AcceptEulasResponse#eula_acceptances #eula_acceptances} => Array&lt;Types::EulaAcceptance&gt;
343
+ #
344
+ # @example Request syntax with placeholder values
345
+ #
346
+ # resp = client.accept_eulas({
347
+ # client_token: "ClientToken",
348
+ # eula_ids: ["__string"],
349
+ # studio_id: "__string", # required
350
+ # })
351
+ #
352
+ # @example Response structure
353
+ #
354
+ # resp.eula_acceptances #=> Array
355
+ # resp.eula_acceptances[0].accepted_at #=> Time
356
+ # resp.eula_acceptances[0].accepted_by #=> String
357
+ # resp.eula_acceptances[0].acceptee_id #=> String
358
+ # resp.eula_acceptances[0].eula_acceptance_id #=> String
359
+ # resp.eula_acceptances[0].eula_id #=> String
360
+ #
361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/AcceptEulas AWS API Documentation
362
+ #
363
+ # @overload accept_eulas(params = {})
364
+ # @param [Hash] params ({})
365
+ def accept_eulas(params = {}, options = {})
366
+ req = build_request(:accept_eulas, params)
367
+ req.send_request(options)
368
+ end
369
+
370
+ # Create a launch profile.
371
+ #
372
+ # @option params [String] :client_token
373
+ # **A suitable default value is auto-generated.** You should normally
374
+ # not need to pass this option.**
375
+ #
376
+ # @option params [String] :description
377
+ #
378
+ # @option params [required, Array<String>] :ec2_subnet_ids
379
+ #
380
+ # @option params [required, Array<String>] :launch_profile_protocol_versions
381
+ #
382
+ # @option params [required, String] :name
383
+ #
384
+ # @option params [required, Types::StreamConfigurationCreate] :stream_configuration
385
+ #
386
+ # @option params [required, Array<String>] :studio_component_ids
387
+ #
388
+ # @option params [required, String] :studio_id
389
+ #
390
+ # @option params [Hash<String,String>] :tags
391
+ #
392
+ # @return [Types::CreateLaunchProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
393
+ #
394
+ # * {Types::CreateLaunchProfileResponse#launch_profile #launch_profile} => Types::LaunchProfile
395
+ #
396
+ # @example Request syntax with placeholder values
397
+ #
398
+ # resp = client.create_launch_profile({
399
+ # client_token: "ClientToken",
400
+ # description: "LaunchProfileDescription",
401
+ # ec2_subnet_ids: ["EC2SubnetId"], # required
402
+ # launch_profile_protocol_versions: ["LaunchProfileProtocolVersion"], # required
403
+ # name: "LaunchProfileName", # required
404
+ # stream_configuration: { # required
405
+ # clipboard_mode: "ENABLED", # required, accepts ENABLED, DISABLED
406
+ # ec2_instance_types: ["g4dn.xlarge"], # required, accepts g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge
407
+ # max_session_length_in_minutes: 1,
408
+ # streaming_image_ids: ["StreamingImageId"], # required
409
+ # },
410
+ # studio_component_ids: ["__string"], # required
411
+ # studio_id: "__string", # required
412
+ # tags: {
413
+ # "__string" => "__string",
414
+ # },
415
+ # })
416
+ #
417
+ # @example Response structure
418
+ #
419
+ # resp.launch_profile.arn #=> String
420
+ # resp.launch_profile.created_at #=> Time
421
+ # resp.launch_profile.created_by #=> String
422
+ # resp.launch_profile.description #=> String
423
+ # resp.launch_profile.ec2_subnet_ids #=> Array
424
+ # resp.launch_profile.ec2_subnet_ids[0] #=> String
425
+ # resp.launch_profile.launch_profile_id #=> String
426
+ # resp.launch_profile.launch_profile_protocol_versions #=> Array
427
+ # resp.launch_profile.launch_profile_protocol_versions[0] #=> String
428
+ # resp.launch_profile.name #=> String
429
+ # resp.launch_profile.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
430
+ # resp.launch_profile.status_code #=> String, one of "LAUNCH_PROFILE_CREATED", "LAUNCH_PROFILE_UPDATED", "LAUNCH_PROFILE_DELETED", "LAUNCH_PROFILE_CREATE_IN_PROGRESS", "LAUNCH_PROFILE_UPDATE_IN_PROGRESS", "LAUNCH_PROFILE_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "STREAMING_IMAGE_NOT_FOUND", "STREAMING_IMAGE_NOT_READY", "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "INVALID_SUBNETS_PROVIDED"
431
+ # resp.launch_profile.status_message #=> String
432
+ # resp.launch_profile.stream_configuration.clipboard_mode #=> String, one of "ENABLED", "DISABLED"
433
+ # resp.launch_profile.stream_configuration.ec2_instance_types #=> Array
434
+ # resp.launch_profile.stream_configuration.ec2_instance_types[0] #=> String, one of "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge"
435
+ # resp.launch_profile.stream_configuration.max_session_length_in_minutes #=> Integer
436
+ # resp.launch_profile.stream_configuration.streaming_image_ids #=> Array
437
+ # resp.launch_profile.stream_configuration.streaming_image_ids[0] #=> String
438
+ # resp.launch_profile.studio_component_ids #=> Array
439
+ # resp.launch_profile.studio_component_ids[0] #=> String
440
+ # resp.launch_profile.tags #=> Hash
441
+ # resp.launch_profile.tags["__string"] #=> String
442
+ # resp.launch_profile.updated_at #=> Time
443
+ # resp.launch_profile.updated_by #=> String
444
+ #
445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateLaunchProfile AWS API Documentation
446
+ #
447
+ # @overload create_launch_profile(params = {})
448
+ # @param [Hash] params ({})
449
+ def create_launch_profile(params = {}, options = {})
450
+ req = build_request(:create_launch_profile, params)
451
+ req.send_request(options)
452
+ end
453
+
454
+ # Creates a streaming image resource in a studio.
455
+ #
456
+ # @option params [String] :client_token
457
+ # **A suitable default value is auto-generated.** You should normally
458
+ # not need to pass this option.**
459
+ #
460
+ # @option params [String] :description
461
+ # The description.
462
+ #
463
+ # @option params [required, String] :ec2_image_id
464
+ #
465
+ # @option params [required, String] :name
466
+ # A friendly name for a streaming image resource.
467
+ #
468
+ # @option params [required, String] :studio_id
469
+ #
470
+ # @option params [Hash<String,String>] :tags
471
+ #
472
+ # @return [Types::CreateStreamingImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
473
+ #
474
+ # * {Types::CreateStreamingImageResponse#streaming_image #streaming_image} => Types::StreamingImage
475
+ #
476
+ # @example Request syntax with placeholder values
477
+ #
478
+ # resp = client.create_streaming_image({
479
+ # client_token: "ClientToken",
480
+ # description: "StreamingImageDescription",
481
+ # ec2_image_id: "EC2ImageId", # required
482
+ # name: "StreamingImageName", # required
483
+ # studio_id: "__string", # required
484
+ # tags: {
485
+ # "__string" => "__string",
486
+ # },
487
+ # })
488
+ #
489
+ # @example Response structure
490
+ #
491
+ # resp.streaming_image.arn #=> String
492
+ # resp.streaming_image.description #=> String
493
+ # resp.streaming_image.ec2_image_id #=> String
494
+ # resp.streaming_image.encryption_configuration.key_arn #=> String
495
+ # resp.streaming_image.encryption_configuration.key_type #=> String, one of "CUSTOMER_MANAGED_KEY"
496
+ # resp.streaming_image.eula_ids #=> Array
497
+ # resp.streaming_image.eula_ids[0] #=> String
498
+ # resp.streaming_image.name #=> String
499
+ # resp.streaming_image.owner #=> String
500
+ # resp.streaming_image.platform #=> String
501
+ # resp.streaming_image.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "DELETE_IN_PROGRESS", "DELETED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "CREATE_FAILED", "DELETE_FAILED"
502
+ # resp.streaming_image.status_code #=> String, one of "STREAMING_IMAGE_CREATE_IN_PROGRESS", "STREAMING_IMAGE_READY", "STREAMING_IMAGE_DELETE_IN_PROGRESS", "STREAMING_IMAGE_DELETED", "STREAMING_IMAGE_UPDATE_IN_PROGRESS", "INTERNAL_ERROR"
503
+ # resp.streaming_image.status_message #=> String
504
+ # resp.streaming_image.streaming_image_id #=> String
505
+ # resp.streaming_image.tags #=> Hash
506
+ # resp.streaming_image.tags["__string"] #=> String
507
+ #
508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingImage AWS API Documentation
509
+ #
510
+ # @overload create_streaming_image(params = {})
511
+ # @param [Hash] params ({})
512
+ def create_streaming_image(params = {}, options = {})
513
+ req = build_request(:create_streaming_image, params)
514
+ req.send_request(options)
515
+ end
516
+
517
+ # Creates a streaming session in a studio.
518
+ #
519
+ # After invoking this operation, you must poll GetStreamingSession until
520
+ # the streaming session is in state READY.
521
+ #
522
+ # @option params [String] :client_token
523
+ # **A suitable default value is auto-generated.** You should normally
524
+ # not need to pass this option.**
525
+ #
526
+ # @option params [String] :ec2_instance_type
527
+ #
528
+ # @option params [String] :launch_profile_id
529
+ #
530
+ # @option params [String] :streaming_image_id
531
+ #
532
+ # @option params [required, String] :studio_id
533
+ #
534
+ # @option params [Hash<String,String>] :tags
535
+ #
536
+ # @return [Types::CreateStreamingSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
537
+ #
538
+ # * {Types::CreateStreamingSessionResponse#session #session} => Types::StreamingSession
539
+ #
540
+ # @example Request syntax with placeholder values
541
+ #
542
+ # resp = client.create_streaming_session({
543
+ # client_token: "ClientToken",
544
+ # ec2_instance_type: "g4dn.xlarge", # accepts g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge
545
+ # launch_profile_id: "__string",
546
+ # streaming_image_id: "StreamingImageId",
547
+ # studio_id: "__string", # required
548
+ # tags: {
549
+ # "__string" => "__string",
550
+ # },
551
+ # })
552
+ #
553
+ # @example Response structure
554
+ #
555
+ # resp.session.arn #=> String
556
+ # resp.session.created_at #=> Time
557
+ # resp.session.created_by #=> String
558
+ # resp.session.ec2_instance_type #=> String
559
+ # resp.session.launch_profile_id #=> String
560
+ # resp.session.session_id #=> String
561
+ # resp.session.state #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "READY", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
562
+ # resp.session.status_code #=> String, one of "STREAMING_SESSION_READY", "STREAMING_SESSION_DELETED", "STREAMING_SESSION_CREATE_IN_PROGRESS", "STREAMING_SESSION_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "INSUFFICIENT_CAPACITY", "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", "NETWORK_CONNECTION_ERROR", "INITIALIZATION_SCRIPT_ERROR", "DECRYPT_STREAMING_IMAGE_ERROR", "NETWORK_INTERFACE_ERROR"
563
+ # resp.session.status_message #=> String
564
+ # resp.session.streaming_image_id #=> String
565
+ # resp.session.tags #=> Hash
566
+ # resp.session.tags["__string"] #=> String
567
+ # resp.session.terminate_at #=> Time
568
+ # resp.session.updated_at #=> Time
569
+ # resp.session.updated_by #=> String
570
+ #
571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingSession AWS API Documentation
572
+ #
573
+ # @overload create_streaming_session(params = {})
574
+ # @param [Hash] params ({})
575
+ def create_streaming_session(params = {}, options = {})
576
+ req = build_request(:create_streaming_session, params)
577
+ req.send_request(options)
578
+ end
579
+
580
+ # Creates a streaming session stream for a streaming session.
581
+ #
582
+ # After invoking this API, invoke GetStreamingSessionStream with the
583
+ # returned streamId to poll the resource until it is in state READY.
584
+ #
585
+ # @option params [String] :client_token
586
+ # **A suitable default value is auto-generated.** You should normally
587
+ # not need to pass this option.**
588
+ #
589
+ # @option params [Integer] :expiration_in_seconds
590
+ #
591
+ # @option params [required, String] :session_id
592
+ #
593
+ # @option params [required, String] :studio_id
594
+ #
595
+ # @return [Types::CreateStreamingSessionStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
596
+ #
597
+ # * {Types::CreateStreamingSessionStreamResponse#stream #stream} => Types::StreamingSessionStream
598
+ #
599
+ # @example Request syntax with placeholder values
600
+ #
601
+ # resp = client.create_streaming_session_stream({
602
+ # client_token: "ClientToken",
603
+ # expiration_in_seconds: 1,
604
+ # session_id: "__string", # required
605
+ # studio_id: "__string", # required
606
+ # })
607
+ #
608
+ # @example Response structure
609
+ #
610
+ # resp.stream.created_at #=> Time
611
+ # resp.stream.created_by #=> String
612
+ # resp.stream.expires_at #=> Time
613
+ # resp.stream.state #=> String, one of "READY", "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
614
+ # resp.stream.status_code #=> String, one of "STREAM_CREATE_IN_PROGRESS", "STREAM_READY", "STREAM_DELETE_IN_PROGRESS", "STREAM_DELETED", "INTERNAL_ERROR", "NETWORK_CONNECTION_ERROR"
615
+ # resp.stream.stream_id #=> String
616
+ # resp.stream.url #=> String
617
+ #
618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingSessionStream AWS API Documentation
619
+ #
620
+ # @overload create_streaming_session_stream(params = {})
621
+ # @param [Hash] params ({})
622
+ def create_streaming_session_stream(params = {}, options = {})
623
+ req = build_request(:create_streaming_session_stream, params)
624
+ req.send_request(options)
625
+ end
626
+
627
+ # Create a new Studio.
628
+ #
629
+ # When creating a Studio, two IAM roles must be provided: the admin role
630
+ # and the user Role. These roles are assumed by your users when they log
631
+ # in to the Nimble Studio portal.
632
+ #
633
+ # The user role must have the AmazonNimbleStudio-StudioUser managed
634
+ # policy attached for the portal to function properly.
635
+ #
636
+ # The Admin Role must have the AmazonNimbleStudio-StudioAdmin managed
637
+ # policy attached for the portal to function properly.
638
+ #
639
+ # You may optionally specify a KMS key in the
640
+ # StudioEncryptionConfiguration.
641
+ #
642
+ # In Nimble Studio, resource names, descriptions, initialization
643
+ # scripts, and other data you provide are always encrypted at rest using
644
+ # an AWS KMS key. By default, this key is owned by AWS and managed on
645
+ # your behalf. You may provide your own AWS KMS key when calling
646
+ # CreateStudio to encrypt this data using a key you own and manage.
647
+ #
648
+ # When providing an AWS KMS key during studio creation, Nimble Studio
649
+ # creates KMS grants in your account to provide your studio user and
650
+ # admin roles access to these KMS keys.
651
+ #
652
+ # If you delete this grant, the studio will no longer be accessible to
653
+ # your portal users.
654
+ #
655
+ # If you delete the studio KMS key, your studio will no longer be
656
+ # accessible.
657
+ #
658
+ # @option params [required, String] :admin_role_arn
659
+ #
660
+ # @option params [String] :client_token
661
+ # **A suitable default value is auto-generated.** You should normally
662
+ # not need to pass this option.**
663
+ #
664
+ # @option params [required, String] :display_name
665
+ #
666
+ # @option params [Types::StudioEncryptionConfiguration] :studio_encryption_configuration
667
+ # Configuration of the encryption method that is used for the studio.
668
+ #
669
+ # @option params [required, String] :studio_name
670
+ #
671
+ # @option params [Hash<String,String>] :tags
672
+ #
673
+ # @option params [required, String] :user_role_arn
674
+ #
675
+ # @return [Types::CreateStudioResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
676
+ #
677
+ # * {Types::CreateStudioResponse#studio #studio} => Types::Studio
678
+ #
679
+ # @example Request syntax with placeholder values
680
+ #
681
+ # resp = client.create_studio({
682
+ # admin_role_arn: "__string", # required
683
+ # client_token: "ClientToken",
684
+ # display_name: "StudioDisplayName", # required
685
+ # studio_encryption_configuration: {
686
+ # key_arn: "StudioEncryptionConfigurationKeyArn",
687
+ # key_type: "AWS_OWNED_KEY", # required, accepts AWS_OWNED_KEY, CUSTOMER_MANAGED_KEY
688
+ # },
689
+ # studio_name: "StudioName", # required
690
+ # tags: {
691
+ # "__string" => "__string",
692
+ # },
693
+ # user_role_arn: "__string", # required
694
+ # })
695
+ #
696
+ # @example Response structure
697
+ #
698
+ # resp.studio.admin_role_arn #=> String
699
+ # resp.studio.arn #=> String
700
+ # resp.studio.created_at #=> Time
701
+ # resp.studio.display_name #=> String
702
+ # resp.studio.home_region #=> String
703
+ # resp.studio.sso_client_id #=> String
704
+ # resp.studio.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
705
+ # resp.studio.status_code #=> String, one of "STUDIO_CREATED", "STUDIO_DELETED", "STUDIO_UPDATED", "STUDIO_CREATE_IN_PROGRESS", "STUDIO_UPDATE_IN_PROGRESS", "STUDIO_DELETE_IN_PROGRESS", "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED", "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED", "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED", "AWS_SSO_NOT_ENABLED", "AWS_SSO_ACCESS_DENIED", "ROLE_NOT_OWNED_BY_STUDIO_OWNER", "ROLE_COULD_NOT_BE_ASSUMED", "INTERNAL_ERROR", "ENCRYPTION_KEY_NOT_FOUND", "ENCRYPTION_KEY_ACCESS_DENIED", "AWS_SSO_CONFIGURATION_REPAIRED", "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS"
706
+ # resp.studio.status_message #=> String
707
+ # resp.studio.studio_encryption_configuration.key_arn #=> String
708
+ # resp.studio.studio_encryption_configuration.key_type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KEY"
709
+ # resp.studio.studio_id #=> String
710
+ # resp.studio.studio_name #=> String
711
+ # resp.studio.studio_url #=> String
712
+ # resp.studio.tags #=> Hash
713
+ # resp.studio.tags["__string"] #=> String
714
+ # resp.studio.updated_at #=> Time
715
+ # resp.studio.user_role_arn #=> String
716
+ #
717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStudio AWS API Documentation
718
+ #
719
+ # @overload create_studio(params = {})
720
+ # @param [Hash] params ({})
721
+ def create_studio(params = {}, options = {})
722
+ req = build_request(:create_studio, params)
723
+ req.send_request(options)
724
+ end
725
+
726
+ # Creates a studio component resource.
727
+ #
728
+ # @option params [String] :client_token
729
+ # **A suitable default value is auto-generated.** You should normally
730
+ # not need to pass this option.**
731
+ #
732
+ # @option params [Types::StudioComponentConfiguration] :configuration
733
+ # The configuration of the studio component, based on component type.
734
+ #
735
+ # @option params [String] :description
736
+ #
737
+ # @option params [Array<String>] :ec2_security_group_ids
738
+ #
739
+ # @option params [Array<Types::StudioComponentInitializationScript>] :initialization_scripts
740
+ #
741
+ # @option params [required, String] :name
742
+ #
743
+ # @option params [Array<Types::ScriptParameterKeyValue>] :script_parameters
744
+ #
745
+ # @option params [required, String] :studio_id
746
+ #
747
+ # @option params [String] :subtype
748
+ #
749
+ # @option params [Hash<String,String>] :tags
750
+ #
751
+ # @option params [required, String] :type
752
+ #
753
+ # @return [Types::CreateStudioComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
754
+ #
755
+ # * {Types::CreateStudioComponentResponse#studio_component #studio_component} => Types::StudioComponent
756
+ #
757
+ # @example Request syntax with placeholder values
758
+ #
759
+ # resp = client.create_studio_component({
760
+ # client_token: "ClientToken",
761
+ # configuration: {
762
+ # active_directory_configuration: {
763
+ # computer_attributes: [
764
+ # {
765
+ # name: "ActiveDirectoryComputerAttributeName",
766
+ # value: "ActiveDirectoryComputerAttributeValue",
767
+ # },
768
+ # ],
769
+ # directory_id: "DirectoryId",
770
+ # organizational_unit_distinguished_name: "ActiveDirectoryOrganizationalUnitDistinguishedName",
771
+ # },
772
+ # compute_farm_configuration: {
773
+ # active_directory_user: "__string",
774
+ # endpoint: "__string",
775
+ # },
776
+ # license_service_configuration: {
777
+ # endpoint: "__string",
778
+ # },
779
+ # shared_file_system_configuration: {
780
+ # endpoint: "__string",
781
+ # file_system_id: "__string",
782
+ # linux_mount_point: "LinuxMountPoint",
783
+ # share_name: "__string",
784
+ # windows_mount_drive: "WindowsMountDrive",
785
+ # },
786
+ # },
787
+ # description: "StudioComponentDescription",
788
+ # ec2_security_group_ids: ["SecurityGroupId"],
789
+ # initialization_scripts: [
790
+ # {
791
+ # launch_profile_protocol_version: "LaunchProfileProtocolVersion",
792
+ # platform: "LINUX", # accepts LINUX, WINDOWS
793
+ # run_context: "SYSTEM_INITIALIZATION", # accepts SYSTEM_INITIALIZATION, USER_INITIALIZATION
794
+ # script: "StudioComponentInitializationScriptContent",
795
+ # },
796
+ # ],
797
+ # name: "StudioComponentName", # required
798
+ # script_parameters: [
799
+ # {
800
+ # key: "ScriptParameterKey",
801
+ # value: "ScriptParameterValue",
802
+ # },
803
+ # ],
804
+ # studio_id: "__string", # required
805
+ # subtype: "AWS_MANAGED_MICROSOFT_AD", # accepts AWS_MANAGED_MICROSOFT_AD, AMAZON_FSX_FOR_WINDOWS, AMAZON_FSX_FOR_LUSTRE, CUSTOM
806
+ # tags: {
807
+ # "__string" => "__string",
808
+ # },
809
+ # type: "ACTIVE_DIRECTORY", # required, accepts ACTIVE_DIRECTORY, SHARED_FILE_SYSTEM, COMPUTE_FARM, LICENSE_SERVICE, CUSTOM
810
+ # })
811
+ #
812
+ # @example Response structure
813
+ #
814
+ # resp.studio_component.arn #=> String
815
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes #=> Array
816
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes[0].name #=> String
817
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes[0].value #=> String
818
+ # resp.studio_component.configuration.active_directory_configuration.directory_id #=> String
819
+ # resp.studio_component.configuration.active_directory_configuration.organizational_unit_distinguished_name #=> String
820
+ # resp.studio_component.configuration.compute_farm_configuration.active_directory_user #=> String
821
+ # resp.studio_component.configuration.compute_farm_configuration.endpoint #=> String
822
+ # resp.studio_component.configuration.license_service_configuration.endpoint #=> String
823
+ # resp.studio_component.configuration.shared_file_system_configuration.endpoint #=> String
824
+ # resp.studio_component.configuration.shared_file_system_configuration.file_system_id #=> String
825
+ # resp.studio_component.configuration.shared_file_system_configuration.linux_mount_point #=> String
826
+ # resp.studio_component.configuration.shared_file_system_configuration.share_name #=> String
827
+ # resp.studio_component.configuration.shared_file_system_configuration.windows_mount_drive #=> String
828
+ # resp.studio_component.created_at #=> Time
829
+ # resp.studio_component.created_by #=> String
830
+ # resp.studio_component.description #=> String
831
+ # resp.studio_component.ec2_security_group_ids #=> Array
832
+ # resp.studio_component.ec2_security_group_ids[0] #=> String
833
+ # resp.studio_component.initialization_scripts #=> Array
834
+ # resp.studio_component.initialization_scripts[0].launch_profile_protocol_version #=> String
835
+ # resp.studio_component.initialization_scripts[0].platform #=> String, one of "LINUX", "WINDOWS"
836
+ # resp.studio_component.initialization_scripts[0].run_context #=> String, one of "SYSTEM_INITIALIZATION", "USER_INITIALIZATION"
837
+ # resp.studio_component.initialization_scripts[0].script #=> String
838
+ # resp.studio_component.name #=> String
839
+ # resp.studio_component.script_parameters #=> Array
840
+ # resp.studio_component.script_parameters[0].key #=> String
841
+ # resp.studio_component.script_parameters[0].value #=> String
842
+ # resp.studio_component.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
843
+ # resp.studio_component.status_code #=> String, one of "ACTIVE_DIRECTORY_ALREADY_EXISTS", "STUDIO_COMPONENT_CREATED", "STUDIO_COMPONENT_UPDATED", "STUDIO_COMPONENT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "STUDIO_COMPONENT_CREATE_IN_PROGRESS", "STUDIO_COMPONENT_UPDATE_IN_PROGRESS", "STUDIO_COMPONENT_DELETE_IN_PROGRESS", "INTERNAL_ERROR"
844
+ # resp.studio_component.status_message #=> String
845
+ # resp.studio_component.studio_component_id #=> String
846
+ # resp.studio_component.subtype #=> String, one of "AWS_MANAGED_MICROSOFT_AD", "AMAZON_FSX_FOR_WINDOWS", "AMAZON_FSX_FOR_LUSTRE", "CUSTOM"
847
+ # resp.studio_component.tags #=> Hash
848
+ # resp.studio_component.tags["__string"] #=> String
849
+ # resp.studio_component.type #=> String, one of "ACTIVE_DIRECTORY", "SHARED_FILE_SYSTEM", "COMPUTE_FARM", "LICENSE_SERVICE", "CUSTOM"
850
+ # resp.studio_component.updated_at #=> Time
851
+ # resp.studio_component.updated_by #=> String
852
+ #
853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStudioComponent AWS API Documentation
854
+ #
855
+ # @overload create_studio_component(params = {})
856
+ # @param [Hash] params ({})
857
+ def create_studio_component(params = {}, options = {})
858
+ req = build_request(:create_studio_component, params)
859
+ req.send_request(options)
860
+ end
861
+
862
+ # Permanently delete a launch profile.
863
+ #
864
+ # @option params [String] :client_token
865
+ # **A suitable default value is auto-generated.** You should normally
866
+ # not need to pass this option.**
867
+ #
868
+ # @option params [required, String] :launch_profile_id
869
+ #
870
+ # @option params [required, String] :studio_id
871
+ #
872
+ # @return [Types::DeleteLaunchProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
873
+ #
874
+ # * {Types::DeleteLaunchProfileResponse#launch_profile #launch_profile} => Types::LaunchProfile
875
+ #
876
+ # @example Request syntax with placeholder values
877
+ #
878
+ # resp = client.delete_launch_profile({
879
+ # client_token: "ClientToken",
880
+ # launch_profile_id: "__string", # required
881
+ # studio_id: "__string", # required
882
+ # })
883
+ #
884
+ # @example Response structure
885
+ #
886
+ # resp.launch_profile.arn #=> String
887
+ # resp.launch_profile.created_at #=> Time
888
+ # resp.launch_profile.created_by #=> String
889
+ # resp.launch_profile.description #=> String
890
+ # resp.launch_profile.ec2_subnet_ids #=> Array
891
+ # resp.launch_profile.ec2_subnet_ids[0] #=> String
892
+ # resp.launch_profile.launch_profile_id #=> String
893
+ # resp.launch_profile.launch_profile_protocol_versions #=> Array
894
+ # resp.launch_profile.launch_profile_protocol_versions[0] #=> String
895
+ # resp.launch_profile.name #=> String
896
+ # resp.launch_profile.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
897
+ # resp.launch_profile.status_code #=> String, one of "LAUNCH_PROFILE_CREATED", "LAUNCH_PROFILE_UPDATED", "LAUNCH_PROFILE_DELETED", "LAUNCH_PROFILE_CREATE_IN_PROGRESS", "LAUNCH_PROFILE_UPDATE_IN_PROGRESS", "LAUNCH_PROFILE_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "STREAMING_IMAGE_NOT_FOUND", "STREAMING_IMAGE_NOT_READY", "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "INVALID_SUBNETS_PROVIDED"
898
+ # resp.launch_profile.status_message #=> String
899
+ # resp.launch_profile.stream_configuration.clipboard_mode #=> String, one of "ENABLED", "DISABLED"
900
+ # resp.launch_profile.stream_configuration.ec2_instance_types #=> Array
901
+ # resp.launch_profile.stream_configuration.ec2_instance_types[0] #=> String, one of "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge"
902
+ # resp.launch_profile.stream_configuration.max_session_length_in_minutes #=> Integer
903
+ # resp.launch_profile.stream_configuration.streaming_image_ids #=> Array
904
+ # resp.launch_profile.stream_configuration.streaming_image_ids[0] #=> String
905
+ # resp.launch_profile.studio_component_ids #=> Array
906
+ # resp.launch_profile.studio_component_ids[0] #=> String
907
+ # resp.launch_profile.tags #=> Hash
908
+ # resp.launch_profile.tags["__string"] #=> String
909
+ # resp.launch_profile.updated_at #=> Time
910
+ # resp.launch_profile.updated_by #=> String
911
+ #
912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteLaunchProfile AWS API Documentation
913
+ #
914
+ # @overload delete_launch_profile(params = {})
915
+ # @param [Hash] params ({})
916
+ def delete_launch_profile(params = {}, options = {})
917
+ req = build_request(:delete_launch_profile, params)
918
+ req.send_request(options)
919
+ end
920
+
921
+ # Delete a user from launch profile membership.
922
+ #
923
+ # @option params [String] :client_token
924
+ # **A suitable default value is auto-generated.** You should normally
925
+ # not need to pass this option.**
926
+ #
927
+ # @option params [required, String] :launch_profile_id
928
+ #
929
+ # @option params [required, String] :principal_id
930
+ #
931
+ # @option params [required, String] :studio_id
932
+ #
933
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
934
+ #
935
+ # @example Request syntax with placeholder values
936
+ #
937
+ # resp = client.delete_launch_profile_member({
938
+ # client_token: "ClientToken",
939
+ # launch_profile_id: "__string", # required
940
+ # principal_id: "__string", # required
941
+ # studio_id: "__string", # required
942
+ # })
943
+ #
944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteLaunchProfileMember AWS API Documentation
945
+ #
946
+ # @overload delete_launch_profile_member(params = {})
947
+ # @param [Hash] params ({})
948
+ def delete_launch_profile_member(params = {}, options = {})
949
+ req = build_request(:delete_launch_profile_member, params)
950
+ req.send_request(options)
951
+ end
952
+
953
+ # Delete streaming image.
954
+ #
955
+ # @option params [String] :client_token
956
+ # **A suitable default value is auto-generated.** You should normally
957
+ # not need to pass this option.**
958
+ #
959
+ # @option params [required, String] :streaming_image_id
960
+ #
961
+ # @option params [required, String] :studio_id
962
+ #
963
+ # @return [Types::DeleteStreamingImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
964
+ #
965
+ # * {Types::DeleteStreamingImageResponse#streaming_image #streaming_image} => Types::StreamingImage
966
+ #
967
+ # @example Request syntax with placeholder values
968
+ #
969
+ # resp = client.delete_streaming_image({
970
+ # client_token: "ClientToken",
971
+ # streaming_image_id: "__string", # required
972
+ # studio_id: "__string", # required
973
+ # })
974
+ #
975
+ # @example Response structure
976
+ #
977
+ # resp.streaming_image.arn #=> String
978
+ # resp.streaming_image.description #=> String
979
+ # resp.streaming_image.ec2_image_id #=> String
980
+ # resp.streaming_image.encryption_configuration.key_arn #=> String
981
+ # resp.streaming_image.encryption_configuration.key_type #=> String, one of "CUSTOMER_MANAGED_KEY"
982
+ # resp.streaming_image.eula_ids #=> Array
983
+ # resp.streaming_image.eula_ids[0] #=> String
984
+ # resp.streaming_image.name #=> String
985
+ # resp.streaming_image.owner #=> String
986
+ # resp.streaming_image.platform #=> String
987
+ # resp.streaming_image.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "DELETE_IN_PROGRESS", "DELETED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "CREATE_FAILED", "DELETE_FAILED"
988
+ # resp.streaming_image.status_code #=> String, one of "STREAMING_IMAGE_CREATE_IN_PROGRESS", "STREAMING_IMAGE_READY", "STREAMING_IMAGE_DELETE_IN_PROGRESS", "STREAMING_IMAGE_DELETED", "STREAMING_IMAGE_UPDATE_IN_PROGRESS", "INTERNAL_ERROR"
989
+ # resp.streaming_image.status_message #=> String
990
+ # resp.streaming_image.streaming_image_id #=> String
991
+ # resp.streaming_image.tags #=> Hash
992
+ # resp.streaming_image.tags["__string"] #=> String
993
+ #
994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStreamingImage AWS API Documentation
995
+ #
996
+ # @overload delete_streaming_image(params = {})
997
+ # @param [Hash] params ({})
998
+ def delete_streaming_image(params = {}, options = {})
999
+ req = build_request(:delete_streaming_image, params)
1000
+ req.send_request(options)
1001
+ end
1002
+
1003
+ # Deletes streaming session resource.
1004
+ #
1005
+ # After invoking this operation, use GetStreamingSession to poll the
1006
+ # resource until it transitions to a DELETED state.
1007
+ #
1008
+ # A streaming session will count against your streaming session quota
1009
+ # until it is marked DELETED.
1010
+ #
1011
+ # @option params [String] :client_token
1012
+ # **A suitable default value is auto-generated.** You should normally
1013
+ # not need to pass this option.**
1014
+ #
1015
+ # @option params [required, String] :session_id
1016
+ #
1017
+ # @option params [required, String] :studio_id
1018
+ #
1019
+ # @return [Types::DeleteStreamingSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1020
+ #
1021
+ # * {Types::DeleteStreamingSessionResponse#session #session} => Types::StreamingSession
1022
+ #
1023
+ # @example Request syntax with placeholder values
1024
+ #
1025
+ # resp = client.delete_streaming_session({
1026
+ # client_token: "ClientToken",
1027
+ # session_id: "__string", # required
1028
+ # studio_id: "__string", # required
1029
+ # })
1030
+ #
1031
+ # @example Response structure
1032
+ #
1033
+ # resp.session.arn #=> String
1034
+ # resp.session.created_at #=> Time
1035
+ # resp.session.created_by #=> String
1036
+ # resp.session.ec2_instance_type #=> String
1037
+ # resp.session.launch_profile_id #=> String
1038
+ # resp.session.session_id #=> String
1039
+ # resp.session.state #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "READY", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
1040
+ # resp.session.status_code #=> String, one of "STREAMING_SESSION_READY", "STREAMING_SESSION_DELETED", "STREAMING_SESSION_CREATE_IN_PROGRESS", "STREAMING_SESSION_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "INSUFFICIENT_CAPACITY", "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", "NETWORK_CONNECTION_ERROR", "INITIALIZATION_SCRIPT_ERROR", "DECRYPT_STREAMING_IMAGE_ERROR", "NETWORK_INTERFACE_ERROR"
1041
+ # resp.session.status_message #=> String
1042
+ # resp.session.streaming_image_id #=> String
1043
+ # resp.session.tags #=> Hash
1044
+ # resp.session.tags["__string"] #=> String
1045
+ # resp.session.terminate_at #=> Time
1046
+ # resp.session.updated_at #=> Time
1047
+ # resp.session.updated_by #=> String
1048
+ #
1049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStreamingSession AWS API Documentation
1050
+ #
1051
+ # @overload delete_streaming_session(params = {})
1052
+ # @param [Hash] params ({})
1053
+ def delete_streaming_session(params = {}, options = {})
1054
+ req = build_request(:delete_streaming_session, params)
1055
+ req.send_request(options)
1056
+ end
1057
+
1058
+ # Delete a studio resource.
1059
+ #
1060
+ # @option params [String] :client_token
1061
+ # **A suitable default value is auto-generated.** You should normally
1062
+ # not need to pass this option.**
1063
+ #
1064
+ # @option params [required, String] :studio_id
1065
+ #
1066
+ # @return [Types::DeleteStudioResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1067
+ #
1068
+ # * {Types::DeleteStudioResponse#studio #studio} => Types::Studio
1069
+ #
1070
+ # @example Request syntax with placeholder values
1071
+ #
1072
+ # resp = client.delete_studio({
1073
+ # client_token: "ClientToken",
1074
+ # studio_id: "__string", # required
1075
+ # })
1076
+ #
1077
+ # @example Response structure
1078
+ #
1079
+ # resp.studio.admin_role_arn #=> String
1080
+ # resp.studio.arn #=> String
1081
+ # resp.studio.created_at #=> Time
1082
+ # resp.studio.display_name #=> String
1083
+ # resp.studio.home_region #=> String
1084
+ # resp.studio.sso_client_id #=> String
1085
+ # resp.studio.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
1086
+ # resp.studio.status_code #=> String, one of "STUDIO_CREATED", "STUDIO_DELETED", "STUDIO_UPDATED", "STUDIO_CREATE_IN_PROGRESS", "STUDIO_UPDATE_IN_PROGRESS", "STUDIO_DELETE_IN_PROGRESS", "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED", "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED", "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED", "AWS_SSO_NOT_ENABLED", "AWS_SSO_ACCESS_DENIED", "ROLE_NOT_OWNED_BY_STUDIO_OWNER", "ROLE_COULD_NOT_BE_ASSUMED", "INTERNAL_ERROR", "ENCRYPTION_KEY_NOT_FOUND", "ENCRYPTION_KEY_ACCESS_DENIED", "AWS_SSO_CONFIGURATION_REPAIRED", "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS"
1087
+ # resp.studio.status_message #=> String
1088
+ # resp.studio.studio_encryption_configuration.key_arn #=> String
1089
+ # resp.studio.studio_encryption_configuration.key_type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KEY"
1090
+ # resp.studio.studio_id #=> String
1091
+ # resp.studio.studio_name #=> String
1092
+ # resp.studio.studio_url #=> String
1093
+ # resp.studio.tags #=> Hash
1094
+ # resp.studio.tags["__string"] #=> String
1095
+ # resp.studio.updated_at #=> Time
1096
+ # resp.studio.user_role_arn #=> String
1097
+ #
1098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudio AWS API Documentation
1099
+ #
1100
+ # @overload delete_studio(params = {})
1101
+ # @param [Hash] params ({})
1102
+ def delete_studio(params = {}, options = {})
1103
+ req = build_request(:delete_studio, params)
1104
+ req.send_request(options)
1105
+ end
1106
+
1107
+ # Deletes a studio component resource.
1108
+ #
1109
+ # @option params [String] :client_token
1110
+ # **A suitable default value is auto-generated.** You should normally
1111
+ # not need to pass this option.**
1112
+ #
1113
+ # @option params [required, String] :studio_component_id
1114
+ #
1115
+ # @option params [required, String] :studio_id
1116
+ #
1117
+ # @return [Types::DeleteStudioComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1118
+ #
1119
+ # * {Types::DeleteStudioComponentResponse#studio_component #studio_component} => Types::StudioComponent
1120
+ #
1121
+ # @example Request syntax with placeholder values
1122
+ #
1123
+ # resp = client.delete_studio_component({
1124
+ # client_token: "ClientToken",
1125
+ # studio_component_id: "__string", # required
1126
+ # studio_id: "__string", # required
1127
+ # })
1128
+ #
1129
+ # @example Response structure
1130
+ #
1131
+ # resp.studio_component.arn #=> String
1132
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes #=> Array
1133
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes[0].name #=> String
1134
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes[0].value #=> String
1135
+ # resp.studio_component.configuration.active_directory_configuration.directory_id #=> String
1136
+ # resp.studio_component.configuration.active_directory_configuration.organizational_unit_distinguished_name #=> String
1137
+ # resp.studio_component.configuration.compute_farm_configuration.active_directory_user #=> String
1138
+ # resp.studio_component.configuration.compute_farm_configuration.endpoint #=> String
1139
+ # resp.studio_component.configuration.license_service_configuration.endpoint #=> String
1140
+ # resp.studio_component.configuration.shared_file_system_configuration.endpoint #=> String
1141
+ # resp.studio_component.configuration.shared_file_system_configuration.file_system_id #=> String
1142
+ # resp.studio_component.configuration.shared_file_system_configuration.linux_mount_point #=> String
1143
+ # resp.studio_component.configuration.shared_file_system_configuration.share_name #=> String
1144
+ # resp.studio_component.configuration.shared_file_system_configuration.windows_mount_drive #=> String
1145
+ # resp.studio_component.created_at #=> Time
1146
+ # resp.studio_component.created_by #=> String
1147
+ # resp.studio_component.description #=> String
1148
+ # resp.studio_component.ec2_security_group_ids #=> Array
1149
+ # resp.studio_component.ec2_security_group_ids[0] #=> String
1150
+ # resp.studio_component.initialization_scripts #=> Array
1151
+ # resp.studio_component.initialization_scripts[0].launch_profile_protocol_version #=> String
1152
+ # resp.studio_component.initialization_scripts[0].platform #=> String, one of "LINUX", "WINDOWS"
1153
+ # resp.studio_component.initialization_scripts[0].run_context #=> String, one of "SYSTEM_INITIALIZATION", "USER_INITIALIZATION"
1154
+ # resp.studio_component.initialization_scripts[0].script #=> String
1155
+ # resp.studio_component.name #=> String
1156
+ # resp.studio_component.script_parameters #=> Array
1157
+ # resp.studio_component.script_parameters[0].key #=> String
1158
+ # resp.studio_component.script_parameters[0].value #=> String
1159
+ # resp.studio_component.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
1160
+ # resp.studio_component.status_code #=> String, one of "ACTIVE_DIRECTORY_ALREADY_EXISTS", "STUDIO_COMPONENT_CREATED", "STUDIO_COMPONENT_UPDATED", "STUDIO_COMPONENT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "STUDIO_COMPONENT_CREATE_IN_PROGRESS", "STUDIO_COMPONENT_UPDATE_IN_PROGRESS", "STUDIO_COMPONENT_DELETE_IN_PROGRESS", "INTERNAL_ERROR"
1161
+ # resp.studio_component.status_message #=> String
1162
+ # resp.studio_component.studio_component_id #=> String
1163
+ # resp.studio_component.subtype #=> String, one of "AWS_MANAGED_MICROSOFT_AD", "AMAZON_FSX_FOR_WINDOWS", "AMAZON_FSX_FOR_LUSTRE", "CUSTOM"
1164
+ # resp.studio_component.tags #=> Hash
1165
+ # resp.studio_component.tags["__string"] #=> String
1166
+ # resp.studio_component.type #=> String, one of "ACTIVE_DIRECTORY", "SHARED_FILE_SYSTEM", "COMPUTE_FARM", "LICENSE_SERVICE", "CUSTOM"
1167
+ # resp.studio_component.updated_at #=> Time
1168
+ # resp.studio_component.updated_by #=> String
1169
+ #
1170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudioComponent AWS API Documentation
1171
+ #
1172
+ # @overload delete_studio_component(params = {})
1173
+ # @param [Hash] params ({})
1174
+ def delete_studio_component(params = {}, options = {})
1175
+ req = build_request(:delete_studio_component, params)
1176
+ req.send_request(options)
1177
+ end
1178
+
1179
+ # Delete a user from studio membership.
1180
+ #
1181
+ # @option params [String] :client_token
1182
+ # **A suitable default value is auto-generated.** You should normally
1183
+ # not need to pass this option.**
1184
+ #
1185
+ # @option params [required, String] :principal_id
1186
+ #
1187
+ # @option params [required, String] :studio_id
1188
+ #
1189
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1190
+ #
1191
+ # @example Request syntax with placeholder values
1192
+ #
1193
+ # resp = client.delete_studio_member({
1194
+ # client_token: "ClientToken",
1195
+ # principal_id: "__string", # required
1196
+ # studio_id: "__string", # required
1197
+ # })
1198
+ #
1199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudioMember AWS API Documentation
1200
+ #
1201
+ # @overload delete_studio_member(params = {})
1202
+ # @param [Hash] params ({})
1203
+ def delete_studio_member(params = {}, options = {})
1204
+ req = build_request(:delete_studio_member, params)
1205
+ req.send_request(options)
1206
+ end
1207
+
1208
+ # Get Eula.
1209
+ #
1210
+ # @option params [required, String] :eula_id
1211
+ #
1212
+ # @return [Types::GetEulaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1213
+ #
1214
+ # * {Types::GetEulaResponse#eula #eula} => Types::Eula
1215
+ #
1216
+ # @example Request syntax with placeholder values
1217
+ #
1218
+ # resp = client.get_eula({
1219
+ # eula_id: "__string", # required
1220
+ # })
1221
+ #
1222
+ # @example Response structure
1223
+ #
1224
+ # resp.eula.content #=> String
1225
+ # resp.eula.created_at #=> Time
1226
+ # resp.eula.eula_id #=> String
1227
+ # resp.eula.name #=> String
1228
+ # resp.eula.updated_at #=> Time
1229
+ #
1230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetEula AWS API Documentation
1231
+ #
1232
+ # @overload get_eula(params = {})
1233
+ # @param [Hash] params ({})
1234
+ def get_eula(params = {}, options = {})
1235
+ req = build_request(:get_eula, params)
1236
+ req.send_request(options)
1237
+ end
1238
+
1239
+ # Get a launch profile.
1240
+ #
1241
+ # @option params [required, String] :launch_profile_id
1242
+ #
1243
+ # @option params [required, String] :studio_id
1244
+ #
1245
+ # @return [Types::GetLaunchProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1246
+ #
1247
+ # * {Types::GetLaunchProfileResponse#launch_profile #launch_profile} => Types::LaunchProfile
1248
+ #
1249
+ # @example Request syntax with placeholder values
1250
+ #
1251
+ # resp = client.get_launch_profile({
1252
+ # launch_profile_id: "__string", # required
1253
+ # studio_id: "__string", # required
1254
+ # })
1255
+ #
1256
+ # @example Response structure
1257
+ #
1258
+ # resp.launch_profile.arn #=> String
1259
+ # resp.launch_profile.created_at #=> Time
1260
+ # resp.launch_profile.created_by #=> String
1261
+ # resp.launch_profile.description #=> String
1262
+ # resp.launch_profile.ec2_subnet_ids #=> Array
1263
+ # resp.launch_profile.ec2_subnet_ids[0] #=> String
1264
+ # resp.launch_profile.launch_profile_id #=> String
1265
+ # resp.launch_profile.launch_profile_protocol_versions #=> Array
1266
+ # resp.launch_profile.launch_profile_protocol_versions[0] #=> String
1267
+ # resp.launch_profile.name #=> String
1268
+ # resp.launch_profile.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
1269
+ # resp.launch_profile.status_code #=> String, one of "LAUNCH_PROFILE_CREATED", "LAUNCH_PROFILE_UPDATED", "LAUNCH_PROFILE_DELETED", "LAUNCH_PROFILE_CREATE_IN_PROGRESS", "LAUNCH_PROFILE_UPDATE_IN_PROGRESS", "LAUNCH_PROFILE_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "STREAMING_IMAGE_NOT_FOUND", "STREAMING_IMAGE_NOT_READY", "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "INVALID_SUBNETS_PROVIDED"
1270
+ # resp.launch_profile.status_message #=> String
1271
+ # resp.launch_profile.stream_configuration.clipboard_mode #=> String, one of "ENABLED", "DISABLED"
1272
+ # resp.launch_profile.stream_configuration.ec2_instance_types #=> Array
1273
+ # resp.launch_profile.stream_configuration.ec2_instance_types[0] #=> String, one of "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge"
1274
+ # resp.launch_profile.stream_configuration.max_session_length_in_minutes #=> Integer
1275
+ # resp.launch_profile.stream_configuration.streaming_image_ids #=> Array
1276
+ # resp.launch_profile.stream_configuration.streaming_image_ids[0] #=> String
1277
+ # resp.launch_profile.studio_component_ids #=> Array
1278
+ # resp.launch_profile.studio_component_ids[0] #=> String
1279
+ # resp.launch_profile.tags #=> Hash
1280
+ # resp.launch_profile.tags["__string"] #=> String
1281
+ # resp.launch_profile.updated_at #=> Time
1282
+ # resp.launch_profile.updated_by #=> String
1283
+ #
1284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfile AWS API Documentation
1285
+ #
1286
+ # @overload get_launch_profile(params = {})
1287
+ # @param [Hash] params ({})
1288
+ def get_launch_profile(params = {}, options = {})
1289
+ req = build_request(:get_launch_profile, params)
1290
+ req.send_request(options)
1291
+ end
1292
+
1293
+ # Launch profile details include the launch profile resource and summary
1294
+ # information of resources that are used by, or available to, the launch
1295
+ # profile. This includes the name and description of all studio
1296
+ # components used by the launch profiles, and the name and description
1297
+ # of streaming images that can be used with this launch profile.
1298
+ #
1299
+ # @option params [required, String] :launch_profile_id
1300
+ #
1301
+ # @option params [required, String] :studio_id
1302
+ #
1303
+ # @return [Types::GetLaunchProfileDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1304
+ #
1305
+ # * {Types::GetLaunchProfileDetailsResponse#launch_profile #launch_profile} => Types::LaunchProfile
1306
+ # * {Types::GetLaunchProfileDetailsResponse#streaming_images #streaming_images} => Array&lt;Types::StreamingImage&gt;
1307
+ # * {Types::GetLaunchProfileDetailsResponse#studio_component_summaries #studio_component_summaries} => Array&lt;Types::StudioComponentSummary&gt;
1308
+ #
1309
+ # @example Request syntax with placeholder values
1310
+ #
1311
+ # resp = client.get_launch_profile_details({
1312
+ # launch_profile_id: "__string", # required
1313
+ # studio_id: "__string", # required
1314
+ # })
1315
+ #
1316
+ # @example Response structure
1317
+ #
1318
+ # resp.launch_profile.arn #=> String
1319
+ # resp.launch_profile.created_at #=> Time
1320
+ # resp.launch_profile.created_by #=> String
1321
+ # resp.launch_profile.description #=> String
1322
+ # resp.launch_profile.ec2_subnet_ids #=> Array
1323
+ # resp.launch_profile.ec2_subnet_ids[0] #=> String
1324
+ # resp.launch_profile.launch_profile_id #=> String
1325
+ # resp.launch_profile.launch_profile_protocol_versions #=> Array
1326
+ # resp.launch_profile.launch_profile_protocol_versions[0] #=> String
1327
+ # resp.launch_profile.name #=> String
1328
+ # resp.launch_profile.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
1329
+ # resp.launch_profile.status_code #=> String, one of "LAUNCH_PROFILE_CREATED", "LAUNCH_PROFILE_UPDATED", "LAUNCH_PROFILE_DELETED", "LAUNCH_PROFILE_CREATE_IN_PROGRESS", "LAUNCH_PROFILE_UPDATE_IN_PROGRESS", "LAUNCH_PROFILE_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "STREAMING_IMAGE_NOT_FOUND", "STREAMING_IMAGE_NOT_READY", "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "INVALID_SUBNETS_PROVIDED"
1330
+ # resp.launch_profile.status_message #=> String
1331
+ # resp.launch_profile.stream_configuration.clipboard_mode #=> String, one of "ENABLED", "DISABLED"
1332
+ # resp.launch_profile.stream_configuration.ec2_instance_types #=> Array
1333
+ # resp.launch_profile.stream_configuration.ec2_instance_types[0] #=> String, one of "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge"
1334
+ # resp.launch_profile.stream_configuration.max_session_length_in_minutes #=> Integer
1335
+ # resp.launch_profile.stream_configuration.streaming_image_ids #=> Array
1336
+ # resp.launch_profile.stream_configuration.streaming_image_ids[0] #=> String
1337
+ # resp.launch_profile.studio_component_ids #=> Array
1338
+ # resp.launch_profile.studio_component_ids[0] #=> String
1339
+ # resp.launch_profile.tags #=> Hash
1340
+ # resp.launch_profile.tags["__string"] #=> String
1341
+ # resp.launch_profile.updated_at #=> Time
1342
+ # resp.launch_profile.updated_by #=> String
1343
+ # resp.streaming_images #=> Array
1344
+ # resp.streaming_images[0].arn #=> String
1345
+ # resp.streaming_images[0].description #=> String
1346
+ # resp.streaming_images[0].ec2_image_id #=> String
1347
+ # resp.streaming_images[0].encryption_configuration.key_arn #=> String
1348
+ # resp.streaming_images[0].encryption_configuration.key_type #=> String, one of "CUSTOMER_MANAGED_KEY"
1349
+ # resp.streaming_images[0].eula_ids #=> Array
1350
+ # resp.streaming_images[0].eula_ids[0] #=> String
1351
+ # resp.streaming_images[0].name #=> String
1352
+ # resp.streaming_images[0].owner #=> String
1353
+ # resp.streaming_images[0].platform #=> String
1354
+ # resp.streaming_images[0].state #=> String, one of "CREATE_IN_PROGRESS", "READY", "DELETE_IN_PROGRESS", "DELETED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "CREATE_FAILED", "DELETE_FAILED"
1355
+ # resp.streaming_images[0].status_code #=> String, one of "STREAMING_IMAGE_CREATE_IN_PROGRESS", "STREAMING_IMAGE_READY", "STREAMING_IMAGE_DELETE_IN_PROGRESS", "STREAMING_IMAGE_DELETED", "STREAMING_IMAGE_UPDATE_IN_PROGRESS", "INTERNAL_ERROR"
1356
+ # resp.streaming_images[0].status_message #=> String
1357
+ # resp.streaming_images[0].streaming_image_id #=> String
1358
+ # resp.streaming_images[0].tags #=> Hash
1359
+ # resp.streaming_images[0].tags["__string"] #=> String
1360
+ # resp.studio_component_summaries #=> Array
1361
+ # resp.studio_component_summaries[0].created_at #=> Time
1362
+ # resp.studio_component_summaries[0].created_by #=> String
1363
+ # resp.studio_component_summaries[0].description #=> String
1364
+ # resp.studio_component_summaries[0].name #=> String
1365
+ # resp.studio_component_summaries[0].studio_component_id #=> String
1366
+ # resp.studio_component_summaries[0].subtype #=> String, one of "AWS_MANAGED_MICROSOFT_AD", "AMAZON_FSX_FOR_WINDOWS", "AMAZON_FSX_FOR_LUSTRE", "CUSTOM"
1367
+ # resp.studio_component_summaries[0].type #=> String, one of "ACTIVE_DIRECTORY", "SHARED_FILE_SYSTEM", "COMPUTE_FARM", "LICENSE_SERVICE", "CUSTOM"
1368
+ # resp.studio_component_summaries[0].updated_at #=> Time
1369
+ # resp.studio_component_summaries[0].updated_by #=> String
1370
+ #
1371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileDetails AWS API Documentation
1372
+ #
1373
+ # @overload get_launch_profile_details(params = {})
1374
+ # @param [Hash] params ({})
1375
+ def get_launch_profile_details(params = {}, options = {})
1376
+ req = build_request(:get_launch_profile_details, params)
1377
+ req.send_request(options)
1378
+ end
1379
+
1380
+ # Get a launch profile initialization.
1381
+ #
1382
+ # @option params [required, String] :launch_profile_id
1383
+ #
1384
+ # @option params [required, Array<String>] :launch_profile_protocol_versions
1385
+ #
1386
+ # @option params [required, String] :launch_purpose
1387
+ #
1388
+ # @option params [required, String] :platform
1389
+ #
1390
+ # @option params [required, String] :studio_id
1391
+ #
1392
+ # @return [Types::GetLaunchProfileInitializationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1393
+ #
1394
+ # * {Types::GetLaunchProfileInitializationResponse#launch_profile_initialization #launch_profile_initialization} => Types::LaunchProfileInitialization
1395
+ #
1396
+ # @example Request syntax with placeholder values
1397
+ #
1398
+ # resp = client.get_launch_profile_initialization({
1399
+ # launch_profile_id: "__string", # required
1400
+ # launch_profile_protocol_versions: ["__string"], # required
1401
+ # launch_purpose: "__string", # required
1402
+ # platform: "__string", # required
1403
+ # studio_id: "__string", # required
1404
+ # })
1405
+ #
1406
+ # @example Response structure
1407
+ #
1408
+ # resp.launch_profile_initialization.active_directory.computer_attributes #=> Array
1409
+ # resp.launch_profile_initialization.active_directory.computer_attributes[0].name #=> String
1410
+ # resp.launch_profile_initialization.active_directory.computer_attributes[0].value #=> String
1411
+ # resp.launch_profile_initialization.active_directory.directory_id #=> String
1412
+ # resp.launch_profile_initialization.active_directory.directory_name #=> String
1413
+ # resp.launch_profile_initialization.active_directory.dns_ip_addresses #=> Array
1414
+ # resp.launch_profile_initialization.active_directory.dns_ip_addresses[0] #=> String
1415
+ # resp.launch_profile_initialization.active_directory.organizational_unit_distinguished_name #=> String
1416
+ # resp.launch_profile_initialization.active_directory.studio_component_id #=> String
1417
+ # resp.launch_profile_initialization.active_directory.studio_component_name #=> String
1418
+ # resp.launch_profile_initialization.ec2_security_group_ids #=> Array
1419
+ # resp.launch_profile_initialization.ec2_security_group_ids[0] #=> String
1420
+ # resp.launch_profile_initialization.launch_profile_id #=> String
1421
+ # resp.launch_profile_initialization.launch_profile_protocol_version #=> String
1422
+ # resp.launch_profile_initialization.launch_purpose #=> String
1423
+ # resp.launch_profile_initialization.name #=> String
1424
+ # resp.launch_profile_initialization.platform #=> String, one of "LINUX", "WINDOWS"
1425
+ # resp.launch_profile_initialization.system_initialization_scripts #=> Array
1426
+ # resp.launch_profile_initialization.system_initialization_scripts[0].script #=> String
1427
+ # resp.launch_profile_initialization.system_initialization_scripts[0].studio_component_id #=> String
1428
+ # resp.launch_profile_initialization.system_initialization_scripts[0].studio_component_name #=> String
1429
+ # resp.launch_profile_initialization.user_initialization_scripts #=> Array
1430
+ # resp.launch_profile_initialization.user_initialization_scripts[0].script #=> String
1431
+ # resp.launch_profile_initialization.user_initialization_scripts[0].studio_component_id #=> String
1432
+ # resp.launch_profile_initialization.user_initialization_scripts[0].studio_component_name #=> String
1433
+ #
1434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileInitialization AWS API Documentation
1435
+ #
1436
+ # @overload get_launch_profile_initialization(params = {})
1437
+ # @param [Hash] params ({})
1438
+ def get_launch_profile_initialization(params = {}, options = {})
1439
+ req = build_request(:get_launch_profile_initialization, params)
1440
+ req.send_request(options)
1441
+ end
1442
+
1443
+ # Get a user persona in launch profile membership.
1444
+ #
1445
+ # @option params [required, String] :launch_profile_id
1446
+ #
1447
+ # @option params [required, String] :principal_id
1448
+ #
1449
+ # @option params [required, String] :studio_id
1450
+ #
1451
+ # @return [Types::GetLaunchProfileMemberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1452
+ #
1453
+ # * {Types::GetLaunchProfileMemberResponse#member #member} => Types::LaunchProfileMembership
1454
+ #
1455
+ # @example Request syntax with placeholder values
1456
+ #
1457
+ # resp = client.get_launch_profile_member({
1458
+ # launch_profile_id: "__string", # required
1459
+ # principal_id: "__string", # required
1460
+ # studio_id: "__string", # required
1461
+ # })
1462
+ #
1463
+ # @example Response structure
1464
+ #
1465
+ # resp.member.identity_store_id #=> String
1466
+ # resp.member.persona #=> String, one of "USER"
1467
+ # resp.member.principal_id #=> String
1468
+ #
1469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileMember AWS API Documentation
1470
+ #
1471
+ # @overload get_launch_profile_member(params = {})
1472
+ # @param [Hash] params ({})
1473
+ def get_launch_profile_member(params = {}, options = {})
1474
+ req = build_request(:get_launch_profile_member, params)
1475
+ req.send_request(options)
1476
+ end
1477
+
1478
+ # Get streaming image.
1479
+ #
1480
+ # @option params [required, String] :streaming_image_id
1481
+ #
1482
+ # @option params [required, String] :studio_id
1483
+ #
1484
+ # @return [Types::GetStreamingImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1485
+ #
1486
+ # * {Types::GetStreamingImageResponse#streaming_image #streaming_image} => Types::StreamingImage
1487
+ #
1488
+ # @example Request syntax with placeholder values
1489
+ #
1490
+ # resp = client.get_streaming_image({
1491
+ # streaming_image_id: "__string", # required
1492
+ # studio_id: "__string", # required
1493
+ # })
1494
+ #
1495
+ # @example Response structure
1496
+ #
1497
+ # resp.streaming_image.arn #=> String
1498
+ # resp.streaming_image.description #=> String
1499
+ # resp.streaming_image.ec2_image_id #=> String
1500
+ # resp.streaming_image.encryption_configuration.key_arn #=> String
1501
+ # resp.streaming_image.encryption_configuration.key_type #=> String, one of "CUSTOMER_MANAGED_KEY"
1502
+ # resp.streaming_image.eula_ids #=> Array
1503
+ # resp.streaming_image.eula_ids[0] #=> String
1504
+ # resp.streaming_image.name #=> String
1505
+ # resp.streaming_image.owner #=> String
1506
+ # resp.streaming_image.platform #=> String
1507
+ # resp.streaming_image.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "DELETE_IN_PROGRESS", "DELETED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "CREATE_FAILED", "DELETE_FAILED"
1508
+ # resp.streaming_image.status_code #=> String, one of "STREAMING_IMAGE_CREATE_IN_PROGRESS", "STREAMING_IMAGE_READY", "STREAMING_IMAGE_DELETE_IN_PROGRESS", "STREAMING_IMAGE_DELETED", "STREAMING_IMAGE_UPDATE_IN_PROGRESS", "INTERNAL_ERROR"
1509
+ # resp.streaming_image.status_message #=> String
1510
+ # resp.streaming_image.streaming_image_id #=> String
1511
+ # resp.streaming_image.tags #=> Hash
1512
+ # resp.streaming_image.tags["__string"] #=> String
1513
+ #
1514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingImage AWS API Documentation
1515
+ #
1516
+ # @overload get_streaming_image(params = {})
1517
+ # @param [Hash] params ({})
1518
+ def get_streaming_image(params = {}, options = {})
1519
+ req = build_request(:get_streaming_image, params)
1520
+ req.send_request(options)
1521
+ end
1522
+
1523
+ # Gets StreamingSession resource.
1524
+ #
1525
+ # Invoke this operation to poll for a streaming session state while
1526
+ # creating or deleting a session.
1527
+ #
1528
+ # @option params [required, String] :session_id
1529
+ #
1530
+ # @option params [required, String] :studio_id
1531
+ #
1532
+ # @return [Types::GetStreamingSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1533
+ #
1534
+ # * {Types::GetStreamingSessionResponse#session #session} => Types::StreamingSession
1535
+ #
1536
+ # @example Request syntax with placeholder values
1537
+ #
1538
+ # resp = client.get_streaming_session({
1539
+ # session_id: "__string", # required
1540
+ # studio_id: "__string", # required
1541
+ # })
1542
+ #
1543
+ # @example Response structure
1544
+ #
1545
+ # resp.session.arn #=> String
1546
+ # resp.session.created_at #=> Time
1547
+ # resp.session.created_by #=> String
1548
+ # resp.session.ec2_instance_type #=> String
1549
+ # resp.session.launch_profile_id #=> String
1550
+ # resp.session.session_id #=> String
1551
+ # resp.session.state #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "READY", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
1552
+ # resp.session.status_code #=> String, one of "STREAMING_SESSION_READY", "STREAMING_SESSION_DELETED", "STREAMING_SESSION_CREATE_IN_PROGRESS", "STREAMING_SESSION_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "INSUFFICIENT_CAPACITY", "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", "NETWORK_CONNECTION_ERROR", "INITIALIZATION_SCRIPT_ERROR", "DECRYPT_STREAMING_IMAGE_ERROR", "NETWORK_INTERFACE_ERROR"
1553
+ # resp.session.status_message #=> String
1554
+ # resp.session.streaming_image_id #=> String
1555
+ # resp.session.tags #=> Hash
1556
+ # resp.session.tags["__string"] #=> String
1557
+ # resp.session.terminate_at #=> Time
1558
+ # resp.session.updated_at #=> Time
1559
+ # resp.session.updated_by #=> String
1560
+ #
1561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingSession AWS API Documentation
1562
+ #
1563
+ # @overload get_streaming_session(params = {})
1564
+ # @param [Hash] params ({})
1565
+ def get_streaming_session(params = {}, options = {})
1566
+ req = build_request(:get_streaming_session, params)
1567
+ req.send_request(options)
1568
+ end
1569
+
1570
+ # Gets a StreamingSessionStream for a streaming session.
1571
+ #
1572
+ # Invoke this operation to poll the resource after invoking
1573
+ # CreateStreamingSessionStream.
1574
+ #
1575
+ # After the StreamingSessionStream changes to the state READY, the url
1576
+ # property will contain a stream to be used with the DCV streaming
1577
+ # client.
1578
+ #
1579
+ # @option params [required, String] :session_id
1580
+ #
1581
+ # @option params [required, String] :stream_id
1582
+ #
1583
+ # @option params [required, String] :studio_id
1584
+ #
1585
+ # @return [Types::GetStreamingSessionStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1586
+ #
1587
+ # * {Types::GetStreamingSessionStreamResponse#stream #stream} => Types::StreamingSessionStream
1588
+ #
1589
+ # @example Request syntax with placeholder values
1590
+ #
1591
+ # resp = client.get_streaming_session_stream({
1592
+ # session_id: "__string", # required
1593
+ # stream_id: "__string", # required
1594
+ # studio_id: "__string", # required
1595
+ # })
1596
+ #
1597
+ # @example Response structure
1598
+ #
1599
+ # resp.stream.created_at #=> Time
1600
+ # resp.stream.created_by #=> String
1601
+ # resp.stream.expires_at #=> Time
1602
+ # resp.stream.state #=> String, one of "READY", "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
1603
+ # resp.stream.status_code #=> String, one of "STREAM_CREATE_IN_PROGRESS", "STREAM_READY", "STREAM_DELETE_IN_PROGRESS", "STREAM_DELETED", "INTERNAL_ERROR", "NETWORK_CONNECTION_ERROR"
1604
+ # resp.stream.stream_id #=> String
1605
+ # resp.stream.url #=> String
1606
+ #
1607
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingSessionStream AWS API Documentation
1608
+ #
1609
+ # @overload get_streaming_session_stream(params = {})
1610
+ # @param [Hash] params ({})
1611
+ def get_streaming_session_stream(params = {}, options = {})
1612
+ req = build_request(:get_streaming_session_stream, params)
1613
+ req.send_request(options)
1614
+ end
1615
+
1616
+ # Get a Studio resource.
1617
+ #
1618
+ # @option params [required, String] :studio_id
1619
+ #
1620
+ # @return [Types::GetStudioResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1621
+ #
1622
+ # * {Types::GetStudioResponse#studio #studio} => Types::Studio
1623
+ #
1624
+ # @example Request syntax with placeholder values
1625
+ #
1626
+ # resp = client.get_studio({
1627
+ # studio_id: "__string", # required
1628
+ # })
1629
+ #
1630
+ # @example Response structure
1631
+ #
1632
+ # resp.studio.admin_role_arn #=> String
1633
+ # resp.studio.arn #=> String
1634
+ # resp.studio.created_at #=> Time
1635
+ # resp.studio.display_name #=> String
1636
+ # resp.studio.home_region #=> String
1637
+ # resp.studio.sso_client_id #=> String
1638
+ # resp.studio.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
1639
+ # resp.studio.status_code #=> String, one of "STUDIO_CREATED", "STUDIO_DELETED", "STUDIO_UPDATED", "STUDIO_CREATE_IN_PROGRESS", "STUDIO_UPDATE_IN_PROGRESS", "STUDIO_DELETE_IN_PROGRESS", "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED", "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED", "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED", "AWS_SSO_NOT_ENABLED", "AWS_SSO_ACCESS_DENIED", "ROLE_NOT_OWNED_BY_STUDIO_OWNER", "ROLE_COULD_NOT_BE_ASSUMED", "INTERNAL_ERROR", "ENCRYPTION_KEY_NOT_FOUND", "ENCRYPTION_KEY_ACCESS_DENIED", "AWS_SSO_CONFIGURATION_REPAIRED", "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS"
1640
+ # resp.studio.status_message #=> String
1641
+ # resp.studio.studio_encryption_configuration.key_arn #=> String
1642
+ # resp.studio.studio_encryption_configuration.key_type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KEY"
1643
+ # resp.studio.studio_id #=> String
1644
+ # resp.studio.studio_name #=> String
1645
+ # resp.studio.studio_url #=> String
1646
+ # resp.studio.tags #=> Hash
1647
+ # resp.studio.tags["__string"] #=> String
1648
+ # resp.studio.updated_at #=> Time
1649
+ # resp.studio.user_role_arn #=> String
1650
+ #
1651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudio AWS API Documentation
1652
+ #
1653
+ # @overload get_studio(params = {})
1654
+ # @param [Hash] params ({})
1655
+ def get_studio(params = {}, options = {})
1656
+ req = build_request(:get_studio, params)
1657
+ req.send_request(options)
1658
+ end
1659
+
1660
+ # Gets a studio component resource.
1661
+ #
1662
+ # @option params [required, String] :studio_component_id
1663
+ #
1664
+ # @option params [required, String] :studio_id
1665
+ #
1666
+ # @return [Types::GetStudioComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1667
+ #
1668
+ # * {Types::GetStudioComponentResponse#studio_component #studio_component} => Types::StudioComponent
1669
+ #
1670
+ # @example Request syntax with placeholder values
1671
+ #
1672
+ # resp = client.get_studio_component({
1673
+ # studio_component_id: "__string", # required
1674
+ # studio_id: "__string", # required
1675
+ # })
1676
+ #
1677
+ # @example Response structure
1678
+ #
1679
+ # resp.studio_component.arn #=> String
1680
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes #=> Array
1681
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes[0].name #=> String
1682
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes[0].value #=> String
1683
+ # resp.studio_component.configuration.active_directory_configuration.directory_id #=> String
1684
+ # resp.studio_component.configuration.active_directory_configuration.organizational_unit_distinguished_name #=> String
1685
+ # resp.studio_component.configuration.compute_farm_configuration.active_directory_user #=> String
1686
+ # resp.studio_component.configuration.compute_farm_configuration.endpoint #=> String
1687
+ # resp.studio_component.configuration.license_service_configuration.endpoint #=> String
1688
+ # resp.studio_component.configuration.shared_file_system_configuration.endpoint #=> String
1689
+ # resp.studio_component.configuration.shared_file_system_configuration.file_system_id #=> String
1690
+ # resp.studio_component.configuration.shared_file_system_configuration.linux_mount_point #=> String
1691
+ # resp.studio_component.configuration.shared_file_system_configuration.share_name #=> String
1692
+ # resp.studio_component.configuration.shared_file_system_configuration.windows_mount_drive #=> String
1693
+ # resp.studio_component.created_at #=> Time
1694
+ # resp.studio_component.created_by #=> String
1695
+ # resp.studio_component.description #=> String
1696
+ # resp.studio_component.ec2_security_group_ids #=> Array
1697
+ # resp.studio_component.ec2_security_group_ids[0] #=> String
1698
+ # resp.studio_component.initialization_scripts #=> Array
1699
+ # resp.studio_component.initialization_scripts[0].launch_profile_protocol_version #=> String
1700
+ # resp.studio_component.initialization_scripts[0].platform #=> String, one of "LINUX", "WINDOWS"
1701
+ # resp.studio_component.initialization_scripts[0].run_context #=> String, one of "SYSTEM_INITIALIZATION", "USER_INITIALIZATION"
1702
+ # resp.studio_component.initialization_scripts[0].script #=> String
1703
+ # resp.studio_component.name #=> String
1704
+ # resp.studio_component.script_parameters #=> Array
1705
+ # resp.studio_component.script_parameters[0].key #=> String
1706
+ # resp.studio_component.script_parameters[0].value #=> String
1707
+ # resp.studio_component.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
1708
+ # resp.studio_component.status_code #=> String, one of "ACTIVE_DIRECTORY_ALREADY_EXISTS", "STUDIO_COMPONENT_CREATED", "STUDIO_COMPONENT_UPDATED", "STUDIO_COMPONENT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "STUDIO_COMPONENT_CREATE_IN_PROGRESS", "STUDIO_COMPONENT_UPDATE_IN_PROGRESS", "STUDIO_COMPONENT_DELETE_IN_PROGRESS", "INTERNAL_ERROR"
1709
+ # resp.studio_component.status_message #=> String
1710
+ # resp.studio_component.studio_component_id #=> String
1711
+ # resp.studio_component.subtype #=> String, one of "AWS_MANAGED_MICROSOFT_AD", "AMAZON_FSX_FOR_WINDOWS", "AMAZON_FSX_FOR_LUSTRE", "CUSTOM"
1712
+ # resp.studio_component.tags #=> Hash
1713
+ # resp.studio_component.tags["__string"] #=> String
1714
+ # resp.studio_component.type #=> String, one of "ACTIVE_DIRECTORY", "SHARED_FILE_SYSTEM", "COMPUTE_FARM", "LICENSE_SERVICE", "CUSTOM"
1715
+ # resp.studio_component.updated_at #=> Time
1716
+ # resp.studio_component.updated_by #=> String
1717
+ #
1718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudioComponent AWS API Documentation
1719
+ #
1720
+ # @overload get_studio_component(params = {})
1721
+ # @param [Hash] params ({})
1722
+ def get_studio_component(params = {}, options = {})
1723
+ req = build_request(:get_studio_component, params)
1724
+ req.send_request(options)
1725
+ end
1726
+
1727
+ # Get a user's membership in a studio.
1728
+ #
1729
+ # @option params [required, String] :principal_id
1730
+ #
1731
+ # @option params [required, String] :studio_id
1732
+ #
1733
+ # @return [Types::GetStudioMemberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1734
+ #
1735
+ # * {Types::GetStudioMemberResponse#member #member} => Types::StudioMembership
1736
+ #
1737
+ # @example Request syntax with placeholder values
1738
+ #
1739
+ # resp = client.get_studio_member({
1740
+ # principal_id: "__string", # required
1741
+ # studio_id: "__string", # required
1742
+ # })
1743
+ #
1744
+ # @example Response structure
1745
+ #
1746
+ # resp.member.identity_store_id #=> String
1747
+ # resp.member.persona #=> String, one of "ADMINISTRATOR"
1748
+ # resp.member.principal_id #=> String
1749
+ #
1750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudioMember AWS API Documentation
1751
+ #
1752
+ # @overload get_studio_member(params = {})
1753
+ # @param [Hash] params ({})
1754
+ def get_studio_member(params = {}, options = {})
1755
+ req = build_request(:get_studio_member, params)
1756
+ req.send_request(options)
1757
+ end
1758
+
1759
+ # List Eula Acceptances.
1760
+ #
1761
+ # @option params [Array<String>] :eula_ids
1762
+ #
1763
+ # @option params [String] :next_token
1764
+ #
1765
+ # @option params [required, String] :studio_id
1766
+ #
1767
+ # @return [Types::ListEulaAcceptancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1768
+ #
1769
+ # * {Types::ListEulaAcceptancesResponse#eula_acceptances #eula_acceptances} => Array&lt;Types::EulaAcceptance&gt;
1770
+ # * {Types::ListEulaAcceptancesResponse#next_token #next_token} => String
1771
+ #
1772
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1773
+ #
1774
+ # @example Request syntax with placeholder values
1775
+ #
1776
+ # resp = client.list_eula_acceptances({
1777
+ # eula_ids: ["__string"],
1778
+ # next_token: "__string",
1779
+ # studio_id: "__string", # required
1780
+ # })
1781
+ #
1782
+ # @example Response structure
1783
+ #
1784
+ # resp.eula_acceptances #=> Array
1785
+ # resp.eula_acceptances[0].accepted_at #=> Time
1786
+ # resp.eula_acceptances[0].accepted_by #=> String
1787
+ # resp.eula_acceptances[0].acceptee_id #=> String
1788
+ # resp.eula_acceptances[0].eula_acceptance_id #=> String
1789
+ # resp.eula_acceptances[0].eula_id #=> String
1790
+ # resp.next_token #=> String
1791
+ #
1792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListEulaAcceptances AWS API Documentation
1793
+ #
1794
+ # @overload list_eula_acceptances(params = {})
1795
+ # @param [Hash] params ({})
1796
+ def list_eula_acceptances(params = {}, options = {})
1797
+ req = build_request(:list_eula_acceptances, params)
1798
+ req.send_request(options)
1799
+ end
1800
+
1801
+ # List Eulas.
1802
+ #
1803
+ # @option params [Array<String>] :eula_ids
1804
+ #
1805
+ # @option params [String] :next_token
1806
+ #
1807
+ # @return [Types::ListEulasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1808
+ #
1809
+ # * {Types::ListEulasResponse#eulas #eulas} => Array&lt;Types::Eula&gt;
1810
+ # * {Types::ListEulasResponse#next_token #next_token} => String
1811
+ #
1812
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1813
+ #
1814
+ # @example Request syntax with placeholder values
1815
+ #
1816
+ # resp = client.list_eulas({
1817
+ # eula_ids: ["__string"],
1818
+ # next_token: "__string",
1819
+ # })
1820
+ #
1821
+ # @example Response structure
1822
+ #
1823
+ # resp.eulas #=> Array
1824
+ # resp.eulas[0].content #=> String
1825
+ # resp.eulas[0].created_at #=> Time
1826
+ # resp.eulas[0].eula_id #=> String
1827
+ # resp.eulas[0].name #=> String
1828
+ # resp.eulas[0].updated_at #=> Time
1829
+ # resp.next_token #=> String
1830
+ #
1831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListEulas AWS API Documentation
1832
+ #
1833
+ # @overload list_eulas(params = {})
1834
+ # @param [Hash] params ({})
1835
+ def list_eulas(params = {}, options = {})
1836
+ req = build_request(:list_eulas, params)
1837
+ req.send_request(options)
1838
+ end
1839
+
1840
+ # Get all users in a given launch profile membership.
1841
+ #
1842
+ # @option params [required, String] :launch_profile_id
1843
+ #
1844
+ # @option params [Integer] :max_results
1845
+ #
1846
+ # @option params [String] :next_token
1847
+ #
1848
+ # @option params [required, String] :studio_id
1849
+ #
1850
+ # @return [Types::ListLaunchProfileMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1851
+ #
1852
+ # * {Types::ListLaunchProfileMembersResponse#members #members} => Array&lt;Types::LaunchProfileMembership&gt;
1853
+ # * {Types::ListLaunchProfileMembersResponse#next_token #next_token} => String
1854
+ #
1855
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1856
+ #
1857
+ # @example Request syntax with placeholder values
1858
+ #
1859
+ # resp = client.list_launch_profile_members({
1860
+ # launch_profile_id: "__string", # required
1861
+ # max_results: 1,
1862
+ # next_token: "__string",
1863
+ # studio_id: "__string", # required
1864
+ # })
1865
+ #
1866
+ # @example Response structure
1867
+ #
1868
+ # resp.members #=> Array
1869
+ # resp.members[0].identity_store_id #=> String
1870
+ # resp.members[0].persona #=> String, one of "USER"
1871
+ # resp.members[0].principal_id #=> String
1872
+ # resp.next_token #=> String
1873
+ #
1874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListLaunchProfileMembers AWS API Documentation
1875
+ #
1876
+ # @overload list_launch_profile_members(params = {})
1877
+ # @param [Hash] params ({})
1878
+ def list_launch_profile_members(params = {}, options = {})
1879
+ req = build_request(:list_launch_profile_members, params)
1880
+ req.send_request(options)
1881
+ end
1882
+
1883
+ # List all the launch profiles a studio.
1884
+ #
1885
+ # @option params [Integer] :max_results
1886
+ #
1887
+ # @option params [String] :next_token
1888
+ #
1889
+ # @option params [String] :principal_id
1890
+ #
1891
+ # @option params [Array<String>] :states
1892
+ #
1893
+ # @option params [required, String] :studio_id
1894
+ #
1895
+ # @return [Types::ListLaunchProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1896
+ #
1897
+ # * {Types::ListLaunchProfilesResponse#launch_profiles #launch_profiles} => Array&lt;Types::LaunchProfile&gt;
1898
+ # * {Types::ListLaunchProfilesResponse#next_token #next_token} => String
1899
+ #
1900
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1901
+ #
1902
+ # @example Request syntax with placeholder values
1903
+ #
1904
+ # resp = client.list_launch_profiles({
1905
+ # max_results: 1,
1906
+ # next_token: "__string",
1907
+ # principal_id: "__string",
1908
+ # states: ["__string"],
1909
+ # studio_id: "__string", # required
1910
+ # })
1911
+ #
1912
+ # @example Response structure
1913
+ #
1914
+ # resp.launch_profiles #=> Array
1915
+ # resp.launch_profiles[0].arn #=> String
1916
+ # resp.launch_profiles[0].created_at #=> Time
1917
+ # resp.launch_profiles[0].created_by #=> String
1918
+ # resp.launch_profiles[0].description #=> String
1919
+ # resp.launch_profiles[0].ec2_subnet_ids #=> Array
1920
+ # resp.launch_profiles[0].ec2_subnet_ids[0] #=> String
1921
+ # resp.launch_profiles[0].launch_profile_id #=> String
1922
+ # resp.launch_profiles[0].launch_profile_protocol_versions #=> Array
1923
+ # resp.launch_profiles[0].launch_profile_protocol_versions[0] #=> String
1924
+ # resp.launch_profiles[0].name #=> String
1925
+ # resp.launch_profiles[0].state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
1926
+ # resp.launch_profiles[0].status_code #=> String, one of "LAUNCH_PROFILE_CREATED", "LAUNCH_PROFILE_UPDATED", "LAUNCH_PROFILE_DELETED", "LAUNCH_PROFILE_CREATE_IN_PROGRESS", "LAUNCH_PROFILE_UPDATE_IN_PROGRESS", "LAUNCH_PROFILE_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "STREAMING_IMAGE_NOT_FOUND", "STREAMING_IMAGE_NOT_READY", "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "INVALID_SUBNETS_PROVIDED"
1927
+ # resp.launch_profiles[0].status_message #=> String
1928
+ # resp.launch_profiles[0].stream_configuration.clipboard_mode #=> String, one of "ENABLED", "DISABLED"
1929
+ # resp.launch_profiles[0].stream_configuration.ec2_instance_types #=> Array
1930
+ # resp.launch_profiles[0].stream_configuration.ec2_instance_types[0] #=> String, one of "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge"
1931
+ # resp.launch_profiles[0].stream_configuration.max_session_length_in_minutes #=> Integer
1932
+ # resp.launch_profiles[0].stream_configuration.streaming_image_ids #=> Array
1933
+ # resp.launch_profiles[0].stream_configuration.streaming_image_ids[0] #=> String
1934
+ # resp.launch_profiles[0].studio_component_ids #=> Array
1935
+ # resp.launch_profiles[0].studio_component_ids[0] #=> String
1936
+ # resp.launch_profiles[0].tags #=> Hash
1937
+ # resp.launch_profiles[0].tags["__string"] #=> String
1938
+ # resp.launch_profiles[0].updated_at #=> Time
1939
+ # resp.launch_profiles[0].updated_by #=> String
1940
+ # resp.next_token #=> String
1941
+ #
1942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListLaunchProfiles AWS API Documentation
1943
+ #
1944
+ # @overload list_launch_profiles(params = {})
1945
+ # @param [Hash] params ({})
1946
+ def list_launch_profiles(params = {}, options = {})
1947
+ req = build_request(:list_launch_profiles, params)
1948
+ req.send_request(options)
1949
+ end
1950
+
1951
+ # List the streaming image resources available to this studio.
1952
+ #
1953
+ # This list will contain both images provided by AWS, as well as
1954
+ # streaming images that you have created in your studio.
1955
+ #
1956
+ # @option params [String] :next_token
1957
+ #
1958
+ # @option params [String] :owner
1959
+ #
1960
+ # @option params [required, String] :studio_id
1961
+ #
1962
+ # @return [Types::ListStreamingImagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1963
+ #
1964
+ # * {Types::ListStreamingImagesResponse#next_token #next_token} => String
1965
+ # * {Types::ListStreamingImagesResponse#streaming_images #streaming_images} => Array&lt;Types::StreamingImage&gt;
1966
+ #
1967
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1968
+ #
1969
+ # @example Request syntax with placeholder values
1970
+ #
1971
+ # resp = client.list_streaming_images({
1972
+ # next_token: "__string",
1973
+ # owner: "__string",
1974
+ # studio_id: "__string", # required
1975
+ # })
1976
+ #
1977
+ # @example Response structure
1978
+ #
1979
+ # resp.next_token #=> String
1980
+ # resp.streaming_images #=> Array
1981
+ # resp.streaming_images[0].arn #=> String
1982
+ # resp.streaming_images[0].description #=> String
1983
+ # resp.streaming_images[0].ec2_image_id #=> String
1984
+ # resp.streaming_images[0].encryption_configuration.key_arn #=> String
1985
+ # resp.streaming_images[0].encryption_configuration.key_type #=> String, one of "CUSTOMER_MANAGED_KEY"
1986
+ # resp.streaming_images[0].eula_ids #=> Array
1987
+ # resp.streaming_images[0].eula_ids[0] #=> String
1988
+ # resp.streaming_images[0].name #=> String
1989
+ # resp.streaming_images[0].owner #=> String
1990
+ # resp.streaming_images[0].platform #=> String
1991
+ # resp.streaming_images[0].state #=> String, one of "CREATE_IN_PROGRESS", "READY", "DELETE_IN_PROGRESS", "DELETED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "CREATE_FAILED", "DELETE_FAILED"
1992
+ # resp.streaming_images[0].status_code #=> String, one of "STREAMING_IMAGE_CREATE_IN_PROGRESS", "STREAMING_IMAGE_READY", "STREAMING_IMAGE_DELETE_IN_PROGRESS", "STREAMING_IMAGE_DELETED", "STREAMING_IMAGE_UPDATE_IN_PROGRESS", "INTERNAL_ERROR"
1993
+ # resp.streaming_images[0].status_message #=> String
1994
+ # resp.streaming_images[0].streaming_image_id #=> String
1995
+ # resp.streaming_images[0].tags #=> Hash
1996
+ # resp.streaming_images[0].tags["__string"] #=> String
1997
+ #
1998
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStreamingImages AWS API Documentation
1999
+ #
2000
+ # @overload list_streaming_images(params = {})
2001
+ # @param [Hash] params ({})
2002
+ def list_streaming_images(params = {}, options = {})
2003
+ req = build_request(:list_streaming_images, params)
2004
+ req.send_request(options)
2005
+ end
2006
+
2007
+ # Lists the streaming image resources in a studio.
2008
+ #
2009
+ # @option params [String] :created_by
2010
+ #
2011
+ # @option params [String] :next_token
2012
+ #
2013
+ # @option params [String] :session_ids
2014
+ #
2015
+ # @option params [required, String] :studio_id
2016
+ #
2017
+ # @return [Types::ListStreamingSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2018
+ #
2019
+ # * {Types::ListStreamingSessionsResponse#next_token #next_token} => String
2020
+ # * {Types::ListStreamingSessionsResponse#sessions #sessions} => Array&lt;Types::StreamingSession&gt;
2021
+ #
2022
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2023
+ #
2024
+ # @example Request syntax with placeholder values
2025
+ #
2026
+ # resp = client.list_streaming_sessions({
2027
+ # created_by: "__string",
2028
+ # next_token: "__string",
2029
+ # session_ids: "__string",
2030
+ # studio_id: "__string", # required
2031
+ # })
2032
+ #
2033
+ # @example Response structure
2034
+ #
2035
+ # resp.next_token #=> String
2036
+ # resp.sessions #=> Array
2037
+ # resp.sessions[0].arn #=> String
2038
+ # resp.sessions[0].created_at #=> Time
2039
+ # resp.sessions[0].created_by #=> String
2040
+ # resp.sessions[0].ec2_instance_type #=> String
2041
+ # resp.sessions[0].launch_profile_id #=> String
2042
+ # resp.sessions[0].session_id #=> String
2043
+ # resp.sessions[0].state #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "READY", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
2044
+ # resp.sessions[0].status_code #=> String, one of "STREAMING_SESSION_READY", "STREAMING_SESSION_DELETED", "STREAMING_SESSION_CREATE_IN_PROGRESS", "STREAMING_SESSION_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "INSUFFICIENT_CAPACITY", "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", "NETWORK_CONNECTION_ERROR", "INITIALIZATION_SCRIPT_ERROR", "DECRYPT_STREAMING_IMAGE_ERROR", "NETWORK_INTERFACE_ERROR"
2045
+ # resp.sessions[0].status_message #=> String
2046
+ # resp.sessions[0].streaming_image_id #=> String
2047
+ # resp.sessions[0].tags #=> Hash
2048
+ # resp.sessions[0].tags["__string"] #=> String
2049
+ # resp.sessions[0].terminate_at #=> Time
2050
+ # resp.sessions[0].updated_at #=> Time
2051
+ # resp.sessions[0].updated_by #=> String
2052
+ #
2053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStreamingSessions AWS API Documentation
2054
+ #
2055
+ # @overload list_streaming_sessions(params = {})
2056
+ # @param [Hash] params ({})
2057
+ def list_streaming_sessions(params = {}, options = {})
2058
+ req = build_request(:list_streaming_sessions, params)
2059
+ req.send_request(options)
2060
+ end
2061
+
2062
+ # Lists the StudioComponents in a studio.
2063
+ #
2064
+ # @option params [Integer] :max_results
2065
+ #
2066
+ # @option params [String] :next_token
2067
+ #
2068
+ # @option params [Array<String>] :states
2069
+ #
2070
+ # @option params [required, String] :studio_id
2071
+ #
2072
+ # @option params [Array<String>] :types
2073
+ #
2074
+ # @return [Types::ListStudioComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2075
+ #
2076
+ # * {Types::ListStudioComponentsResponse#next_token #next_token} => String
2077
+ # * {Types::ListStudioComponentsResponse#studio_components #studio_components} => Array&lt;Types::StudioComponent&gt;
2078
+ #
2079
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2080
+ #
2081
+ # @example Request syntax with placeholder values
2082
+ #
2083
+ # resp = client.list_studio_components({
2084
+ # max_results: 1,
2085
+ # next_token: "__string",
2086
+ # states: ["__string"],
2087
+ # studio_id: "__string", # required
2088
+ # types: ["__string"],
2089
+ # })
2090
+ #
2091
+ # @example Response structure
2092
+ #
2093
+ # resp.next_token #=> String
2094
+ # resp.studio_components #=> Array
2095
+ # resp.studio_components[0].arn #=> String
2096
+ # resp.studio_components[0].configuration.active_directory_configuration.computer_attributes #=> Array
2097
+ # resp.studio_components[0].configuration.active_directory_configuration.computer_attributes[0].name #=> String
2098
+ # resp.studio_components[0].configuration.active_directory_configuration.computer_attributes[0].value #=> String
2099
+ # resp.studio_components[0].configuration.active_directory_configuration.directory_id #=> String
2100
+ # resp.studio_components[0].configuration.active_directory_configuration.organizational_unit_distinguished_name #=> String
2101
+ # resp.studio_components[0].configuration.compute_farm_configuration.active_directory_user #=> String
2102
+ # resp.studio_components[0].configuration.compute_farm_configuration.endpoint #=> String
2103
+ # resp.studio_components[0].configuration.license_service_configuration.endpoint #=> String
2104
+ # resp.studio_components[0].configuration.shared_file_system_configuration.endpoint #=> String
2105
+ # resp.studio_components[0].configuration.shared_file_system_configuration.file_system_id #=> String
2106
+ # resp.studio_components[0].configuration.shared_file_system_configuration.linux_mount_point #=> String
2107
+ # resp.studio_components[0].configuration.shared_file_system_configuration.share_name #=> String
2108
+ # resp.studio_components[0].configuration.shared_file_system_configuration.windows_mount_drive #=> String
2109
+ # resp.studio_components[0].created_at #=> Time
2110
+ # resp.studio_components[0].created_by #=> String
2111
+ # resp.studio_components[0].description #=> String
2112
+ # resp.studio_components[0].ec2_security_group_ids #=> Array
2113
+ # resp.studio_components[0].ec2_security_group_ids[0] #=> String
2114
+ # resp.studio_components[0].initialization_scripts #=> Array
2115
+ # resp.studio_components[0].initialization_scripts[0].launch_profile_protocol_version #=> String
2116
+ # resp.studio_components[0].initialization_scripts[0].platform #=> String, one of "LINUX", "WINDOWS"
2117
+ # resp.studio_components[0].initialization_scripts[0].run_context #=> String, one of "SYSTEM_INITIALIZATION", "USER_INITIALIZATION"
2118
+ # resp.studio_components[0].initialization_scripts[0].script #=> String
2119
+ # resp.studio_components[0].name #=> String
2120
+ # resp.studio_components[0].script_parameters #=> Array
2121
+ # resp.studio_components[0].script_parameters[0].key #=> String
2122
+ # resp.studio_components[0].script_parameters[0].value #=> String
2123
+ # resp.studio_components[0].state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
2124
+ # resp.studio_components[0].status_code #=> String, one of "ACTIVE_DIRECTORY_ALREADY_EXISTS", "STUDIO_COMPONENT_CREATED", "STUDIO_COMPONENT_UPDATED", "STUDIO_COMPONENT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "STUDIO_COMPONENT_CREATE_IN_PROGRESS", "STUDIO_COMPONENT_UPDATE_IN_PROGRESS", "STUDIO_COMPONENT_DELETE_IN_PROGRESS", "INTERNAL_ERROR"
2125
+ # resp.studio_components[0].status_message #=> String
2126
+ # resp.studio_components[0].studio_component_id #=> String
2127
+ # resp.studio_components[0].subtype #=> String, one of "AWS_MANAGED_MICROSOFT_AD", "AMAZON_FSX_FOR_WINDOWS", "AMAZON_FSX_FOR_LUSTRE", "CUSTOM"
2128
+ # resp.studio_components[0].tags #=> Hash
2129
+ # resp.studio_components[0].tags["__string"] #=> String
2130
+ # resp.studio_components[0].type #=> String, one of "ACTIVE_DIRECTORY", "SHARED_FILE_SYSTEM", "COMPUTE_FARM", "LICENSE_SERVICE", "CUSTOM"
2131
+ # resp.studio_components[0].updated_at #=> Time
2132
+ # resp.studio_components[0].updated_by #=> String
2133
+ #
2134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudioComponents AWS API Documentation
2135
+ #
2136
+ # @overload list_studio_components(params = {})
2137
+ # @param [Hash] params ({})
2138
+ def list_studio_components(params = {}, options = {})
2139
+ req = build_request(:list_studio_components, params)
2140
+ req.send_request(options)
2141
+ end
2142
+
2143
+ # Get all users in a given studio membership.
2144
+ #
2145
+ # @option params [Integer] :max_results
2146
+ #
2147
+ # @option params [String] :next_token
2148
+ #
2149
+ # @option params [required, String] :studio_id
2150
+ #
2151
+ # @return [Types::ListStudioMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2152
+ #
2153
+ # * {Types::ListStudioMembersResponse#members #members} => Array&lt;Types::StudioMembership&gt;
2154
+ # * {Types::ListStudioMembersResponse#next_token #next_token} => String
2155
+ #
2156
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2157
+ #
2158
+ # @example Request syntax with placeholder values
2159
+ #
2160
+ # resp = client.list_studio_members({
2161
+ # max_results: 1,
2162
+ # next_token: "__string",
2163
+ # studio_id: "__string", # required
2164
+ # })
2165
+ #
2166
+ # @example Response structure
2167
+ #
2168
+ # resp.members #=> Array
2169
+ # resp.members[0].identity_store_id #=> String
2170
+ # resp.members[0].persona #=> String, one of "ADMINISTRATOR"
2171
+ # resp.members[0].principal_id #=> String
2172
+ # resp.next_token #=> String
2173
+ #
2174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudioMembers AWS API Documentation
2175
+ #
2176
+ # @overload list_studio_members(params = {})
2177
+ # @param [Hash] params ({})
2178
+ def list_studio_members(params = {}, options = {})
2179
+ req = build_request(:list_studio_members, params)
2180
+ req.send_request(options)
2181
+ end
2182
+
2183
+ # List studios in your AWS account in the requested AWS Region.
2184
+ #
2185
+ # @option params [String] :next_token
2186
+ #
2187
+ # @return [Types::ListStudiosResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2188
+ #
2189
+ # * {Types::ListStudiosResponse#next_token #next_token} => String
2190
+ # * {Types::ListStudiosResponse#studios #studios} => Array&lt;Types::Studio&gt;
2191
+ #
2192
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2193
+ #
2194
+ # @example Request syntax with placeholder values
2195
+ #
2196
+ # resp = client.list_studios({
2197
+ # next_token: "__string",
2198
+ # })
2199
+ #
2200
+ # @example Response structure
2201
+ #
2202
+ # resp.next_token #=> String
2203
+ # resp.studios #=> Array
2204
+ # resp.studios[0].admin_role_arn #=> String
2205
+ # resp.studios[0].arn #=> String
2206
+ # resp.studios[0].created_at #=> Time
2207
+ # resp.studios[0].display_name #=> String
2208
+ # resp.studios[0].home_region #=> String
2209
+ # resp.studios[0].sso_client_id #=> String
2210
+ # resp.studios[0].state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
2211
+ # resp.studios[0].status_code #=> String, one of "STUDIO_CREATED", "STUDIO_DELETED", "STUDIO_UPDATED", "STUDIO_CREATE_IN_PROGRESS", "STUDIO_UPDATE_IN_PROGRESS", "STUDIO_DELETE_IN_PROGRESS", "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED", "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED", "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED", "AWS_SSO_NOT_ENABLED", "AWS_SSO_ACCESS_DENIED", "ROLE_NOT_OWNED_BY_STUDIO_OWNER", "ROLE_COULD_NOT_BE_ASSUMED", "INTERNAL_ERROR", "ENCRYPTION_KEY_NOT_FOUND", "ENCRYPTION_KEY_ACCESS_DENIED", "AWS_SSO_CONFIGURATION_REPAIRED", "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS"
2212
+ # resp.studios[0].status_message #=> String
2213
+ # resp.studios[0].studio_encryption_configuration.key_arn #=> String
2214
+ # resp.studios[0].studio_encryption_configuration.key_type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KEY"
2215
+ # resp.studios[0].studio_id #=> String
2216
+ # resp.studios[0].studio_name #=> String
2217
+ # resp.studios[0].studio_url #=> String
2218
+ # resp.studios[0].tags #=> Hash
2219
+ # resp.studios[0].tags["__string"] #=> String
2220
+ # resp.studios[0].updated_at #=> Time
2221
+ # resp.studios[0].user_role_arn #=> String
2222
+ #
2223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudios AWS API Documentation
2224
+ #
2225
+ # @overload list_studios(params = {})
2226
+ # @param [Hash] params ({})
2227
+ def list_studios(params = {}, options = {})
2228
+ req = build_request(:list_studios, params)
2229
+ req.send_request(options)
2230
+ end
2231
+
2232
+ # Gets the tags for a resource, given its Amazon Resource Names (ARN).
2233
+ #
2234
+ # This operation supports ARNs for all resource types in Nimble Studio
2235
+ # that support tags, including studio, studio component, launch profile,
2236
+ # streaming image, and streaming session. All resources that can be
2237
+ # tagged will contain an ARN property, so you do not have to create this
2238
+ # ARN yourself.
2239
+ #
2240
+ # @option params [required, String] :resource_arn
2241
+ #
2242
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2243
+ #
2244
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
2245
+ #
2246
+ # @example Request syntax with placeholder values
2247
+ #
2248
+ # resp = client.list_tags_for_resource({
2249
+ # resource_arn: "__string", # required
2250
+ # })
2251
+ #
2252
+ # @example Response structure
2253
+ #
2254
+ # resp.tags #=> Hash
2255
+ # resp.tags["__string"] #=> String
2256
+ #
2257
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListTagsForResource AWS API Documentation
2258
+ #
2259
+ # @overload list_tags_for_resource(params = {})
2260
+ # @param [Hash] params ({})
2261
+ def list_tags_for_resource(params = {}, options = {})
2262
+ req = build_request(:list_tags_for_resource, params)
2263
+ req.send_request(options)
2264
+ end
2265
+
2266
+ # Add/update users with given persona to launch profile membership.
2267
+ #
2268
+ # @option params [String] :client_token
2269
+ # **A suitable default value is auto-generated.** You should normally
2270
+ # not need to pass this option.**
2271
+ #
2272
+ # @option params [required, String] :identity_store_id
2273
+ #
2274
+ # @option params [required, String] :launch_profile_id
2275
+ #
2276
+ # @option params [required, Array<Types::NewLaunchProfileMember>] :members
2277
+ #
2278
+ # @option params [required, String] :studio_id
2279
+ #
2280
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2281
+ #
2282
+ # @example Request syntax with placeholder values
2283
+ #
2284
+ # resp = client.put_launch_profile_members({
2285
+ # client_token: "ClientToken",
2286
+ # identity_store_id: "__string", # required
2287
+ # launch_profile_id: "__string", # required
2288
+ # members: [ # required
2289
+ # {
2290
+ # persona: "USER", # required, accepts USER
2291
+ # principal_id: "__string", # required
2292
+ # },
2293
+ # ],
2294
+ # studio_id: "__string", # required
2295
+ # })
2296
+ #
2297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/PutLaunchProfileMembers AWS API Documentation
2298
+ #
2299
+ # @overload put_launch_profile_members(params = {})
2300
+ # @param [Hash] params ({})
2301
+ def put_launch_profile_members(params = {}, options = {})
2302
+ req = build_request(:put_launch_profile_members, params)
2303
+ req.send_request(options)
2304
+ end
2305
+
2306
+ # Add/update users with given persona to studio membership.
2307
+ #
2308
+ # @option params [String] :client_token
2309
+ # **A suitable default value is auto-generated.** You should normally
2310
+ # not need to pass this option.**
2311
+ #
2312
+ # @option params [required, String] :identity_store_id
2313
+ #
2314
+ # @option params [required, Array<Types::NewStudioMember>] :members
2315
+ #
2316
+ # @option params [required, String] :studio_id
2317
+ #
2318
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2319
+ #
2320
+ # @example Request syntax with placeholder values
2321
+ #
2322
+ # resp = client.put_studio_members({
2323
+ # client_token: "ClientToken",
2324
+ # identity_store_id: "__string", # required
2325
+ # members: [ # required
2326
+ # {
2327
+ # persona: "ADMINISTRATOR", # required, accepts ADMINISTRATOR
2328
+ # principal_id: "__string", # required
2329
+ # },
2330
+ # ],
2331
+ # studio_id: "__string", # required
2332
+ # })
2333
+ #
2334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/PutStudioMembers AWS API Documentation
2335
+ #
2336
+ # @overload put_studio_members(params = {})
2337
+ # @param [Hash] params ({})
2338
+ def put_studio_members(params = {}, options = {})
2339
+ req = build_request(:put_studio_members, params)
2340
+ req.send_request(options)
2341
+ end
2342
+
2343
+ # Repairs the SSO configuration for a given studio.
2344
+ #
2345
+ # If the studio has a valid AWS SSO configuration currently associated
2346
+ # with it, this operation will fail with a validation error.
2347
+ #
2348
+ # If the studio does not have a valid AWS SSO configuration currently
2349
+ # associated with it, then a new AWS SSO application is created for the
2350
+ # studio and the studio is changed to the READY state.
2351
+ #
2352
+ # After the AWS SSO application is repaired, you must use the Amazon
2353
+ # Nimble Studio console to add administrators and users to your studio.
2354
+ #
2355
+ # @option params [String] :client_token
2356
+ # **A suitable default value is auto-generated.** You should normally
2357
+ # not need to pass this option.**
2358
+ #
2359
+ # @option params [required, String] :studio_id
2360
+ #
2361
+ # @return [Types::StartStudioSSOConfigurationRepairResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2362
+ #
2363
+ # * {Types::StartStudioSSOConfigurationRepairResponse#studio #studio} => Types::Studio
2364
+ #
2365
+ # @example Request syntax with placeholder values
2366
+ #
2367
+ # resp = client.start_studio_sso_configuration_repair({
2368
+ # client_token: "ClientToken",
2369
+ # studio_id: "__string", # required
2370
+ # })
2371
+ #
2372
+ # @example Response structure
2373
+ #
2374
+ # resp.studio.admin_role_arn #=> String
2375
+ # resp.studio.arn #=> String
2376
+ # resp.studio.created_at #=> Time
2377
+ # resp.studio.display_name #=> String
2378
+ # resp.studio.home_region #=> String
2379
+ # resp.studio.sso_client_id #=> String
2380
+ # resp.studio.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
2381
+ # resp.studio.status_code #=> String, one of "STUDIO_CREATED", "STUDIO_DELETED", "STUDIO_UPDATED", "STUDIO_CREATE_IN_PROGRESS", "STUDIO_UPDATE_IN_PROGRESS", "STUDIO_DELETE_IN_PROGRESS", "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED", "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED", "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED", "AWS_SSO_NOT_ENABLED", "AWS_SSO_ACCESS_DENIED", "ROLE_NOT_OWNED_BY_STUDIO_OWNER", "ROLE_COULD_NOT_BE_ASSUMED", "INTERNAL_ERROR", "ENCRYPTION_KEY_NOT_FOUND", "ENCRYPTION_KEY_ACCESS_DENIED", "AWS_SSO_CONFIGURATION_REPAIRED", "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS"
2382
+ # resp.studio.status_message #=> String
2383
+ # resp.studio.studio_encryption_configuration.key_arn #=> String
2384
+ # resp.studio.studio_encryption_configuration.key_type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KEY"
2385
+ # resp.studio.studio_id #=> String
2386
+ # resp.studio.studio_name #=> String
2387
+ # resp.studio.studio_url #=> String
2388
+ # resp.studio.tags #=> Hash
2389
+ # resp.studio.tags["__string"] #=> String
2390
+ # resp.studio.updated_at #=> Time
2391
+ # resp.studio.user_role_arn #=> String
2392
+ #
2393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/StartStudioSSOConfigurationRepair AWS API Documentation
2394
+ #
2395
+ # @overload start_studio_sso_configuration_repair(params = {})
2396
+ # @param [Hash] params ({})
2397
+ def start_studio_sso_configuration_repair(params = {}, options = {})
2398
+ req = build_request(:start_studio_sso_configuration_repair, params)
2399
+ req.send_request(options)
2400
+ end
2401
+
2402
+ # Creates tags for a resource, given its ARN.
2403
+ #
2404
+ # @option params [required, String] :resource_arn
2405
+ #
2406
+ # @option params [Hash<String,String>] :tags
2407
+ #
2408
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2409
+ #
2410
+ # @example Request syntax with placeholder values
2411
+ #
2412
+ # resp = client.tag_resource({
2413
+ # resource_arn: "__string", # required
2414
+ # tags: {
2415
+ # "__string" => "__string",
2416
+ # },
2417
+ # })
2418
+ #
2419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/TagResource AWS API Documentation
2420
+ #
2421
+ # @overload tag_resource(params = {})
2422
+ # @param [Hash] params ({})
2423
+ def tag_resource(params = {}, options = {})
2424
+ req = build_request(:tag_resource, params)
2425
+ req.send_request(options)
2426
+ end
2427
+
2428
+ # Deletes the tags for a resource.
2429
+ #
2430
+ # @option params [required, String] :resource_arn
2431
+ #
2432
+ # @option params [required, Array<String>] :tag_keys
2433
+ #
2434
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2435
+ #
2436
+ # @example Request syntax with placeholder values
2437
+ #
2438
+ # resp = client.untag_resource({
2439
+ # resource_arn: "__string", # required
2440
+ # tag_keys: ["__string"], # required
2441
+ # })
2442
+ #
2443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UntagResource AWS API Documentation
2444
+ #
2445
+ # @overload untag_resource(params = {})
2446
+ # @param [Hash] params ({})
2447
+ def untag_resource(params = {}, options = {})
2448
+ req = build_request(:untag_resource, params)
2449
+ req.send_request(options)
2450
+ end
2451
+
2452
+ # Update a launch profile.
2453
+ #
2454
+ # @option params [String] :client_token
2455
+ # **A suitable default value is auto-generated.** You should normally
2456
+ # not need to pass this option.**
2457
+ #
2458
+ # @option params [String] :description
2459
+ #
2460
+ # @option params [required, String] :launch_profile_id
2461
+ #
2462
+ # @option params [Array<String>] :launch_profile_protocol_versions
2463
+ #
2464
+ # @option params [String] :name
2465
+ #
2466
+ # @option params [Types::StreamConfigurationCreate] :stream_configuration
2467
+ #
2468
+ # @option params [Array<String>] :studio_component_ids
2469
+ #
2470
+ # @option params [required, String] :studio_id
2471
+ #
2472
+ # @return [Types::UpdateLaunchProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2473
+ #
2474
+ # * {Types::UpdateLaunchProfileResponse#launch_profile #launch_profile} => Types::LaunchProfile
2475
+ #
2476
+ # @example Request syntax with placeholder values
2477
+ #
2478
+ # resp = client.update_launch_profile({
2479
+ # client_token: "ClientToken",
2480
+ # description: "LaunchProfileDescription",
2481
+ # launch_profile_id: "__string", # required
2482
+ # launch_profile_protocol_versions: ["LaunchProfileProtocolVersion"],
2483
+ # name: "LaunchProfileName",
2484
+ # stream_configuration: {
2485
+ # clipboard_mode: "ENABLED", # required, accepts ENABLED, DISABLED
2486
+ # ec2_instance_types: ["g4dn.xlarge"], # required, accepts g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge
2487
+ # max_session_length_in_minutes: 1,
2488
+ # streaming_image_ids: ["StreamingImageId"], # required
2489
+ # },
2490
+ # studio_component_ids: ["__string"],
2491
+ # studio_id: "__string", # required
2492
+ # })
2493
+ #
2494
+ # @example Response structure
2495
+ #
2496
+ # resp.launch_profile.arn #=> String
2497
+ # resp.launch_profile.created_at #=> Time
2498
+ # resp.launch_profile.created_by #=> String
2499
+ # resp.launch_profile.description #=> String
2500
+ # resp.launch_profile.ec2_subnet_ids #=> Array
2501
+ # resp.launch_profile.ec2_subnet_ids[0] #=> String
2502
+ # resp.launch_profile.launch_profile_id #=> String
2503
+ # resp.launch_profile.launch_profile_protocol_versions #=> Array
2504
+ # resp.launch_profile.launch_profile_protocol_versions[0] #=> String
2505
+ # resp.launch_profile.name #=> String
2506
+ # resp.launch_profile.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
2507
+ # resp.launch_profile.status_code #=> String, one of "LAUNCH_PROFILE_CREATED", "LAUNCH_PROFILE_UPDATED", "LAUNCH_PROFILE_DELETED", "LAUNCH_PROFILE_CREATE_IN_PROGRESS", "LAUNCH_PROFILE_UPDATE_IN_PROGRESS", "LAUNCH_PROFILE_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "STREAMING_IMAGE_NOT_FOUND", "STREAMING_IMAGE_NOT_READY", "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "INVALID_SUBNETS_PROVIDED"
2508
+ # resp.launch_profile.status_message #=> String
2509
+ # resp.launch_profile.stream_configuration.clipboard_mode #=> String, one of "ENABLED", "DISABLED"
2510
+ # resp.launch_profile.stream_configuration.ec2_instance_types #=> Array
2511
+ # resp.launch_profile.stream_configuration.ec2_instance_types[0] #=> String, one of "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge"
2512
+ # resp.launch_profile.stream_configuration.max_session_length_in_minutes #=> Integer
2513
+ # resp.launch_profile.stream_configuration.streaming_image_ids #=> Array
2514
+ # resp.launch_profile.stream_configuration.streaming_image_ids[0] #=> String
2515
+ # resp.launch_profile.studio_component_ids #=> Array
2516
+ # resp.launch_profile.studio_component_ids[0] #=> String
2517
+ # resp.launch_profile.tags #=> Hash
2518
+ # resp.launch_profile.tags["__string"] #=> String
2519
+ # resp.launch_profile.updated_at #=> Time
2520
+ # resp.launch_profile.updated_by #=> String
2521
+ #
2522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateLaunchProfile AWS API Documentation
2523
+ #
2524
+ # @overload update_launch_profile(params = {})
2525
+ # @param [Hash] params ({})
2526
+ def update_launch_profile(params = {}, options = {})
2527
+ req = build_request(:update_launch_profile, params)
2528
+ req.send_request(options)
2529
+ end
2530
+
2531
+ # Update a user persona in launch profile membership.
2532
+ #
2533
+ # @option params [String] :client_token
2534
+ # **A suitable default value is auto-generated.** You should normally
2535
+ # not need to pass this option.**
2536
+ #
2537
+ # @option params [required, String] :launch_profile_id
2538
+ #
2539
+ # @option params [required, String] :persona
2540
+ #
2541
+ # @option params [required, String] :principal_id
2542
+ #
2543
+ # @option params [required, String] :studio_id
2544
+ #
2545
+ # @return [Types::UpdateLaunchProfileMemberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2546
+ #
2547
+ # * {Types::UpdateLaunchProfileMemberResponse#member #member} => Types::LaunchProfileMembership
2548
+ #
2549
+ # @example Request syntax with placeholder values
2550
+ #
2551
+ # resp = client.update_launch_profile_member({
2552
+ # client_token: "ClientToken",
2553
+ # launch_profile_id: "__string", # required
2554
+ # persona: "USER", # required, accepts USER
2555
+ # principal_id: "__string", # required
2556
+ # studio_id: "__string", # required
2557
+ # })
2558
+ #
2559
+ # @example Response structure
2560
+ #
2561
+ # resp.member.identity_store_id #=> String
2562
+ # resp.member.persona #=> String, one of "USER"
2563
+ # resp.member.principal_id #=> String
2564
+ #
2565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateLaunchProfileMember AWS API Documentation
2566
+ #
2567
+ # @overload update_launch_profile_member(params = {})
2568
+ # @param [Hash] params ({})
2569
+ def update_launch_profile_member(params = {}, options = {})
2570
+ req = build_request(:update_launch_profile_member, params)
2571
+ req.send_request(options)
2572
+ end
2573
+
2574
+ # Update streaming image.
2575
+ #
2576
+ # @option params [String] :client_token
2577
+ # **A suitable default value is auto-generated.** You should normally
2578
+ # not need to pass this option.**
2579
+ #
2580
+ # @option params [String] :description
2581
+ # The description.
2582
+ #
2583
+ # @option params [String] :name
2584
+ # A friendly name for a streaming image resource.
2585
+ #
2586
+ # @option params [required, String] :streaming_image_id
2587
+ #
2588
+ # @option params [required, String] :studio_id
2589
+ #
2590
+ # @return [Types::UpdateStreamingImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2591
+ #
2592
+ # * {Types::UpdateStreamingImageResponse#streaming_image #streaming_image} => Types::StreamingImage
2593
+ #
2594
+ # @example Request syntax with placeholder values
2595
+ #
2596
+ # resp = client.update_streaming_image({
2597
+ # client_token: "ClientToken",
2598
+ # description: "StreamingImageDescription",
2599
+ # name: "StreamingImageName",
2600
+ # streaming_image_id: "__string", # required
2601
+ # studio_id: "__string", # required
2602
+ # })
2603
+ #
2604
+ # @example Response structure
2605
+ #
2606
+ # resp.streaming_image.arn #=> String
2607
+ # resp.streaming_image.description #=> String
2608
+ # resp.streaming_image.ec2_image_id #=> String
2609
+ # resp.streaming_image.encryption_configuration.key_arn #=> String
2610
+ # resp.streaming_image.encryption_configuration.key_type #=> String, one of "CUSTOMER_MANAGED_KEY"
2611
+ # resp.streaming_image.eula_ids #=> Array
2612
+ # resp.streaming_image.eula_ids[0] #=> String
2613
+ # resp.streaming_image.name #=> String
2614
+ # resp.streaming_image.owner #=> String
2615
+ # resp.streaming_image.platform #=> String
2616
+ # resp.streaming_image.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "DELETE_IN_PROGRESS", "DELETED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "CREATE_FAILED", "DELETE_FAILED"
2617
+ # resp.streaming_image.status_code #=> String, one of "STREAMING_IMAGE_CREATE_IN_PROGRESS", "STREAMING_IMAGE_READY", "STREAMING_IMAGE_DELETE_IN_PROGRESS", "STREAMING_IMAGE_DELETED", "STREAMING_IMAGE_UPDATE_IN_PROGRESS", "INTERNAL_ERROR"
2618
+ # resp.streaming_image.status_message #=> String
2619
+ # resp.streaming_image.streaming_image_id #=> String
2620
+ # resp.streaming_image.tags #=> Hash
2621
+ # resp.streaming_image.tags["__string"] #=> String
2622
+ #
2623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStreamingImage AWS API Documentation
2624
+ #
2625
+ # @overload update_streaming_image(params = {})
2626
+ # @param [Hash] params ({})
2627
+ def update_streaming_image(params = {}, options = {})
2628
+ req = build_request(:update_streaming_image, params)
2629
+ req.send_request(options)
2630
+ end
2631
+
2632
+ # Update a Studio resource.
2633
+ #
2634
+ # Currently, this operation only supports updating the displayName of
2635
+ # your studio.
2636
+ #
2637
+ # @option params [String] :admin_role_arn
2638
+ #
2639
+ # @option params [String] :client_token
2640
+ # **A suitable default value is auto-generated.** You should normally
2641
+ # not need to pass this option.**
2642
+ #
2643
+ # @option params [String] :display_name
2644
+ #
2645
+ # @option params [required, String] :studio_id
2646
+ #
2647
+ # @option params [String] :user_role_arn
2648
+ #
2649
+ # @return [Types::UpdateStudioResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2650
+ #
2651
+ # * {Types::UpdateStudioResponse#studio #studio} => Types::Studio
2652
+ #
2653
+ # @example Request syntax with placeholder values
2654
+ #
2655
+ # resp = client.update_studio({
2656
+ # admin_role_arn: "__string",
2657
+ # client_token: "ClientToken",
2658
+ # display_name: "StudioDisplayName",
2659
+ # studio_id: "__string", # required
2660
+ # user_role_arn: "__string",
2661
+ # })
2662
+ #
2663
+ # @example Response structure
2664
+ #
2665
+ # resp.studio.admin_role_arn #=> String
2666
+ # resp.studio.arn #=> String
2667
+ # resp.studio.created_at #=> Time
2668
+ # resp.studio.display_name #=> String
2669
+ # resp.studio.home_region #=> String
2670
+ # resp.studio.sso_client_id #=> String
2671
+ # resp.studio.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
2672
+ # resp.studio.status_code #=> String, one of "STUDIO_CREATED", "STUDIO_DELETED", "STUDIO_UPDATED", "STUDIO_CREATE_IN_PROGRESS", "STUDIO_UPDATE_IN_PROGRESS", "STUDIO_DELETE_IN_PROGRESS", "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED", "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED", "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED", "AWS_SSO_NOT_ENABLED", "AWS_SSO_ACCESS_DENIED", "ROLE_NOT_OWNED_BY_STUDIO_OWNER", "ROLE_COULD_NOT_BE_ASSUMED", "INTERNAL_ERROR", "ENCRYPTION_KEY_NOT_FOUND", "ENCRYPTION_KEY_ACCESS_DENIED", "AWS_SSO_CONFIGURATION_REPAIRED", "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS"
2673
+ # resp.studio.status_message #=> String
2674
+ # resp.studio.studio_encryption_configuration.key_arn #=> String
2675
+ # resp.studio.studio_encryption_configuration.key_type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KEY"
2676
+ # resp.studio.studio_id #=> String
2677
+ # resp.studio.studio_name #=> String
2678
+ # resp.studio.studio_url #=> String
2679
+ # resp.studio.tags #=> Hash
2680
+ # resp.studio.tags["__string"] #=> String
2681
+ # resp.studio.updated_at #=> Time
2682
+ # resp.studio.user_role_arn #=> String
2683
+ #
2684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStudio AWS API Documentation
2685
+ #
2686
+ # @overload update_studio(params = {})
2687
+ # @param [Hash] params ({})
2688
+ def update_studio(params = {}, options = {})
2689
+ req = build_request(:update_studio, params)
2690
+ req.send_request(options)
2691
+ end
2692
+
2693
+ # Updates a studio component resource.
2694
+ #
2695
+ # @option params [String] :client_token
2696
+ # **A suitable default value is auto-generated.** You should normally
2697
+ # not need to pass this option.**
2698
+ #
2699
+ # @option params [Types::StudioComponentConfiguration] :configuration
2700
+ # The configuration of the studio component, based on component type.
2701
+ #
2702
+ # @option params [String] :description
2703
+ #
2704
+ # @option params [Array<String>] :ec2_security_group_ids
2705
+ #
2706
+ # @option params [Array<Types::StudioComponentInitializationScript>] :initialization_scripts
2707
+ #
2708
+ # @option params [String] :name
2709
+ #
2710
+ # @option params [Array<Types::ScriptParameterKeyValue>] :script_parameters
2711
+ #
2712
+ # @option params [required, String] :studio_component_id
2713
+ #
2714
+ # @option params [required, String] :studio_id
2715
+ #
2716
+ # @option params [String] :subtype
2717
+ #
2718
+ # @option params [String] :type
2719
+ #
2720
+ # @return [Types::UpdateStudioComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2721
+ #
2722
+ # * {Types::UpdateStudioComponentResponse#studio_component #studio_component} => Types::StudioComponent
2723
+ #
2724
+ # @example Request syntax with placeholder values
2725
+ #
2726
+ # resp = client.update_studio_component({
2727
+ # client_token: "ClientToken",
2728
+ # configuration: {
2729
+ # active_directory_configuration: {
2730
+ # computer_attributes: [
2731
+ # {
2732
+ # name: "ActiveDirectoryComputerAttributeName",
2733
+ # value: "ActiveDirectoryComputerAttributeValue",
2734
+ # },
2735
+ # ],
2736
+ # directory_id: "DirectoryId",
2737
+ # organizational_unit_distinguished_name: "ActiveDirectoryOrganizationalUnitDistinguishedName",
2738
+ # },
2739
+ # compute_farm_configuration: {
2740
+ # active_directory_user: "__string",
2741
+ # endpoint: "__string",
2742
+ # },
2743
+ # license_service_configuration: {
2744
+ # endpoint: "__string",
2745
+ # },
2746
+ # shared_file_system_configuration: {
2747
+ # endpoint: "__string",
2748
+ # file_system_id: "__string",
2749
+ # linux_mount_point: "LinuxMountPoint",
2750
+ # share_name: "__string",
2751
+ # windows_mount_drive: "WindowsMountDrive",
2752
+ # },
2753
+ # },
2754
+ # description: "StudioComponentDescription",
2755
+ # ec2_security_group_ids: ["SecurityGroupId"],
2756
+ # initialization_scripts: [
2757
+ # {
2758
+ # launch_profile_protocol_version: "LaunchProfileProtocolVersion",
2759
+ # platform: "LINUX", # accepts LINUX, WINDOWS
2760
+ # run_context: "SYSTEM_INITIALIZATION", # accepts SYSTEM_INITIALIZATION, USER_INITIALIZATION
2761
+ # script: "StudioComponentInitializationScriptContent",
2762
+ # },
2763
+ # ],
2764
+ # name: "StudioComponentName",
2765
+ # script_parameters: [
2766
+ # {
2767
+ # key: "ScriptParameterKey",
2768
+ # value: "ScriptParameterValue",
2769
+ # },
2770
+ # ],
2771
+ # studio_component_id: "__string", # required
2772
+ # studio_id: "__string", # required
2773
+ # subtype: "AWS_MANAGED_MICROSOFT_AD", # accepts AWS_MANAGED_MICROSOFT_AD, AMAZON_FSX_FOR_WINDOWS, AMAZON_FSX_FOR_LUSTRE, CUSTOM
2774
+ # type: "ACTIVE_DIRECTORY", # accepts ACTIVE_DIRECTORY, SHARED_FILE_SYSTEM, COMPUTE_FARM, LICENSE_SERVICE, CUSTOM
2775
+ # })
2776
+ #
2777
+ # @example Response structure
2778
+ #
2779
+ # resp.studio_component.arn #=> String
2780
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes #=> Array
2781
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes[0].name #=> String
2782
+ # resp.studio_component.configuration.active_directory_configuration.computer_attributes[0].value #=> String
2783
+ # resp.studio_component.configuration.active_directory_configuration.directory_id #=> String
2784
+ # resp.studio_component.configuration.active_directory_configuration.organizational_unit_distinguished_name #=> String
2785
+ # resp.studio_component.configuration.compute_farm_configuration.active_directory_user #=> String
2786
+ # resp.studio_component.configuration.compute_farm_configuration.endpoint #=> String
2787
+ # resp.studio_component.configuration.license_service_configuration.endpoint #=> String
2788
+ # resp.studio_component.configuration.shared_file_system_configuration.endpoint #=> String
2789
+ # resp.studio_component.configuration.shared_file_system_configuration.file_system_id #=> String
2790
+ # resp.studio_component.configuration.shared_file_system_configuration.linux_mount_point #=> String
2791
+ # resp.studio_component.configuration.shared_file_system_configuration.share_name #=> String
2792
+ # resp.studio_component.configuration.shared_file_system_configuration.windows_mount_drive #=> String
2793
+ # resp.studio_component.created_at #=> Time
2794
+ # resp.studio_component.created_by #=> String
2795
+ # resp.studio_component.description #=> String
2796
+ # resp.studio_component.ec2_security_group_ids #=> Array
2797
+ # resp.studio_component.ec2_security_group_ids[0] #=> String
2798
+ # resp.studio_component.initialization_scripts #=> Array
2799
+ # resp.studio_component.initialization_scripts[0].launch_profile_protocol_version #=> String
2800
+ # resp.studio_component.initialization_scripts[0].platform #=> String, one of "LINUX", "WINDOWS"
2801
+ # resp.studio_component.initialization_scripts[0].run_context #=> String, one of "SYSTEM_INITIALIZATION", "USER_INITIALIZATION"
2802
+ # resp.studio_component.initialization_scripts[0].script #=> String
2803
+ # resp.studio_component.name #=> String
2804
+ # resp.studio_component.script_parameters #=> Array
2805
+ # resp.studio_component.script_parameters[0].key #=> String
2806
+ # resp.studio_component.script_parameters[0].value #=> String
2807
+ # resp.studio_component.state #=> String, one of "CREATE_IN_PROGRESS", "READY", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DELETE_FAILED", "CREATE_FAILED", "UPDATE_FAILED"
2808
+ # resp.studio_component.status_code #=> String, one of "ACTIVE_DIRECTORY_ALREADY_EXISTS", "STUDIO_COMPONENT_CREATED", "STUDIO_COMPONENT_UPDATED", "STUDIO_COMPONENT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", "STUDIO_COMPONENT_CREATE_IN_PROGRESS", "STUDIO_COMPONENT_UPDATE_IN_PROGRESS", "STUDIO_COMPONENT_DELETE_IN_PROGRESS", "INTERNAL_ERROR"
2809
+ # resp.studio_component.status_message #=> String
2810
+ # resp.studio_component.studio_component_id #=> String
2811
+ # resp.studio_component.subtype #=> String, one of "AWS_MANAGED_MICROSOFT_AD", "AMAZON_FSX_FOR_WINDOWS", "AMAZON_FSX_FOR_LUSTRE", "CUSTOM"
2812
+ # resp.studio_component.tags #=> Hash
2813
+ # resp.studio_component.tags["__string"] #=> String
2814
+ # resp.studio_component.type #=> String, one of "ACTIVE_DIRECTORY", "SHARED_FILE_SYSTEM", "COMPUTE_FARM", "LICENSE_SERVICE", "CUSTOM"
2815
+ # resp.studio_component.updated_at #=> Time
2816
+ # resp.studio_component.updated_by #=> String
2817
+ #
2818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStudioComponent AWS API Documentation
2819
+ #
2820
+ # @overload update_studio_component(params = {})
2821
+ # @param [Hash] params ({})
2822
+ def update_studio_component(params = {}, options = {})
2823
+ req = build_request(:update_studio_component, params)
2824
+ req.send_request(options)
2825
+ end
2826
+
2827
+ # @!endgroup
2828
+
2829
+ # @param params ({})
2830
+ # @api private
2831
+ def build_request(operation_name, params = {})
2832
+ handlers = @handlers.for(operation_name)
2833
+ context = Seahorse::Client::RequestContext.new(
2834
+ operation_name: operation_name,
2835
+ operation: config.api.operation(operation_name),
2836
+ client: self,
2837
+ params: params,
2838
+ config: config)
2839
+ context[:gem_name] = 'aws-sdk-nimblestudio'
2840
+ context[:gem_version] = '1.0.0'
2841
+ Seahorse::Client::Request.new(handlers, context)
2842
+ end
2843
+
2844
+ # @api private
2845
+ # @deprecated
2846
+ def waiter_names
2847
+ []
2848
+ end
2849
+
2850
+ class << self
2851
+
2852
+ # @api private
2853
+ attr_reader :identifier
2854
+
2855
+ # @api private
2856
+ def errors_module
2857
+ Errors
2858
+ end
2859
+
2860
+ end
2861
+ end
2862
+ end