aws_sdk_appstream/operation/create_fleet/
_create_fleet_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct CreateFleetInput {
6    /// <p>A unique name for the fleet.</p>
7    pub name: ::std::option::Option<::std::string::String>,
8    /// <p>The name of the image used to create the fleet.</p>
9    pub image_name: ::std::option::Option<::std::string::String>,
10    /// <p>The ARN of the public, private, or shared image to use.</p>
11    pub image_arn: ::std::option::Option<::std::string::String>,
12    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
13    /// <ul>
14    /// <li>
15    /// <p>stream.standard.small</p></li>
16    /// <li>
17    /// <p>stream.standard.medium</p></li>
18    /// <li>
19    /// <p>stream.standard.large</p></li>
20    /// <li>
21    /// <p>stream.standard.xlarge</p></li>
22    /// <li>
23    /// <p>stream.standard.2xlarge</p></li>
24    /// <li>
25    /// <p>stream.compute.large</p></li>
26    /// <li>
27    /// <p>stream.compute.xlarge</p></li>
28    /// <li>
29    /// <p>stream.compute.2xlarge</p></li>
30    /// <li>
31    /// <p>stream.compute.4xlarge</p></li>
32    /// <li>
33    /// <p>stream.compute.8xlarge</p></li>
34    /// <li>
35    /// <p>stream.memory.large</p></li>
36    /// <li>
37    /// <p>stream.memory.xlarge</p></li>
38    /// <li>
39    /// <p>stream.memory.2xlarge</p></li>
40    /// <li>
41    /// <p>stream.memory.4xlarge</p></li>
42    /// <li>
43    /// <p>stream.memory.8xlarge</p></li>
44    /// <li>
45    /// <p>stream.memory.z1d.large</p></li>
46    /// <li>
47    /// <p>stream.memory.z1d.xlarge</p></li>
48    /// <li>
49    /// <p>stream.memory.z1d.2xlarge</p></li>
50    /// <li>
51    /// <p>stream.memory.z1d.3xlarge</p></li>
52    /// <li>
53    /// <p>stream.memory.z1d.6xlarge</p></li>
54    /// <li>
55    /// <p>stream.memory.z1d.12xlarge</p></li>
56    /// <li>
57    /// <p>stream.graphics-design.large</p></li>
58    /// <li>
59    /// <p>stream.graphics-design.xlarge</p></li>
60    /// <li>
61    /// <p>stream.graphics-design.2xlarge</p></li>
62    /// <li>
63    /// <p>stream.graphics-design.4xlarge</p></li>
64    /// <li>
65    /// <p>stream.graphics-desktop.2xlarge</p></li>
66    /// <li>
67    /// <p>stream.graphics.g4dn.xlarge</p></li>
68    /// <li>
69    /// <p>stream.graphics.g4dn.2xlarge</p></li>
70    /// <li>
71    /// <p>stream.graphics.g4dn.4xlarge</p></li>
72    /// <li>
73    /// <p>stream.graphics.g4dn.8xlarge</p></li>
74    /// <li>
75    /// <p>stream.graphics.g4dn.12xlarge</p></li>
76    /// <li>
77    /// <p>stream.graphics.g4dn.16xlarge</p></li>
78    /// <li>
79    /// <p>stream.graphics.g5.xlarge</p></li>
80    /// <li>
81    /// <p>stream.graphics.g5.2xlarge</p></li>
82    /// <li>
83    /// <p>stream.graphics.g5.4xlarge</p></li>
84    /// <li>
85    /// <p>stream.graphics.g5.8xlarge</p></li>
86    /// <li>
87    /// <p>stream.graphics.g5.12xlarge</p></li>
88    /// <li>
89    /// <p>stream.graphics.g5.16xlarge</p></li>
90    /// <li>
91    /// <p>stream.graphics.g5.24xlarge</p></li>
92    /// <li>
93    /// <p>stream.graphics-pro.4xlarge</p></li>
94    /// <li>
95    /// <p>stream.graphics-pro.8xlarge</p></li>
96    /// <li>
97    /// <p>stream.graphics-pro.16xlarge</p></li>
98    /// <li>
99    /// <p>stream.graphics.g6.xlarge</p></li>
100    /// <li>
101    /// <p>stream.graphics.g6.2xlarge</p></li>
102    /// <li>
103    /// <p>stream.graphics.g6.4xlarge</p></li>
104    /// <li>
105    /// <p>stream.graphics.g6.8xlarge</p></li>
106    /// <li>
107    /// <p>stream.graphics.g6.16xlarge</p></li>
108    /// <li>
109    /// <p>stream.graphics.g6.12xlarge</p></li>
110    /// <li>
111    /// <p>stream.graphics.g6.24xlarge</p></li>
112    /// <li>
113    /// <p>stream.graphics.gr6.4xlarge</p></li>
114    /// <li>
115    /// <p>stream.graphics.gr6.8xlarge</p></li>
116    /// <li>
117    /// <p>stream.graphics.g6f.large</p></li>
118    /// <li>
119    /// <p>stream.graphics.g6f.xlarge</p></li>
120    /// <li>
121    /// <p>stream.graphics.g6f.2xlarge</p></li>
122    /// <li>
123    /// <p>stream.graphics.g6f.4xlarge</p></li>
124    /// <li>
125    /// <p>stream.graphics.gr6f.4xlarge</p></li>
126    /// </ul>
127    /// <p>The following instance types are available for Elastic fleets:</p>
128    /// <ul>
129    /// <li>
130    /// <p>stream.standard.small</p></li>
131    /// <li>
132    /// <p>stream.standard.medium</p></li>
133    /// <li>
134    /// <p>stream.standard.large</p></li>
135    /// <li>
136    /// <p>stream.standard.xlarge</p></li>
137    /// <li>
138    /// <p>stream.standard.2xlarge</p></li>
139    /// </ul>
140    pub instance_type: ::std::option::Option<::std::string::String>,
141    /// <p>The fleet type.</p>
142    /// <dl>
143    /// <dt>
144    /// ALWAYS_ON
145    /// </dt>
146    /// <dd>
147    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
148    /// </dd>
149    /// <dt>
150    /// ON_DEMAND
151    /// </dt>
152    /// <dd>
153    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
154    /// </dd>
155    /// </dl>
156    pub fleet_type: ::std::option::Option<crate::types::FleetType>,
157    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
158    pub compute_capacity: ::std::option::Option<crate::types::ComputeCapacity>,
159    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
160    pub vpc_config: ::std::option::Option<crate::types::VpcConfig>,
161    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
162    /// <p>Specify a value between 600 and 432000.</p>
163    pub max_user_duration_in_seconds: ::std::option::Option<i32>,
164    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
165    /// <p>Specify a value between 60 and 36000.</p>
166    pub disconnect_timeout_in_seconds: ::std::option::Option<i32>,
167    /// <p>The description to display.</p>
168    pub description: ::std::option::Option<::std::string::String>,
169    /// <p>The fleet name to display.</p>
170    pub display_name: ::std::option::Option<::std::string::String>,
171    /// <p>Enables or disables default internet access for the fleet.</p>
172    pub enable_default_internet_access: ::std::option::Option<bool>,
173    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
174    pub domain_join_info: ::std::option::Option<crate::types::DomainJoinInfo>,
175    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
176    /// <p>If you do not specify a value, the value is set to an empty string.</p>
177    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
178    /// <p>_ . : / = + \ - @</p>
179    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
180    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
181    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
182    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
183    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
184    /// </note>
185    pub idle_disconnect_timeout_in_seconds: ::std::option::Option<i32>,
186    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
187    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
188    pub iam_role_arn: ::std::option::Option<::std::string::String>,
189    /// <p>The AppStream 2.0 view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
190    /// <p>The default value is <code>APP</code>.</p>
191    pub stream_view: ::std::option::Option<crate::types::StreamView>,
192    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
193    pub platform: ::std::option::Option<crate::types::PlatformType>,
194    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
195    pub max_concurrent_sessions: ::std::option::Option<i32>,
196    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
197    pub usb_device_filter_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
198    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
199    pub session_script_s3_location: ::std::option::Option<crate::types::S3Location>,
200    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
201    pub max_sessions_per_instance: ::std::option::Option<i32>,
202}
203impl CreateFleetInput {
204    /// <p>A unique name for the fleet.</p>
205    pub fn name(&self) -> ::std::option::Option<&str> {
206        self.name.as_deref()
207    }
208    /// <p>The name of the image used to create the fleet.</p>
209    pub fn image_name(&self) -> ::std::option::Option<&str> {
210        self.image_name.as_deref()
211    }
212    /// <p>The ARN of the public, private, or shared image to use.</p>
213    pub fn image_arn(&self) -> ::std::option::Option<&str> {
214        self.image_arn.as_deref()
215    }
216    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
217    /// <ul>
218    /// <li>
219    /// <p>stream.standard.small</p></li>
220    /// <li>
221    /// <p>stream.standard.medium</p></li>
222    /// <li>
223    /// <p>stream.standard.large</p></li>
224    /// <li>
225    /// <p>stream.standard.xlarge</p></li>
226    /// <li>
227    /// <p>stream.standard.2xlarge</p></li>
228    /// <li>
229    /// <p>stream.compute.large</p></li>
230    /// <li>
231    /// <p>stream.compute.xlarge</p></li>
232    /// <li>
233    /// <p>stream.compute.2xlarge</p></li>
234    /// <li>
235    /// <p>stream.compute.4xlarge</p></li>
236    /// <li>
237    /// <p>stream.compute.8xlarge</p></li>
238    /// <li>
239    /// <p>stream.memory.large</p></li>
240    /// <li>
241    /// <p>stream.memory.xlarge</p></li>
242    /// <li>
243    /// <p>stream.memory.2xlarge</p></li>
244    /// <li>
245    /// <p>stream.memory.4xlarge</p></li>
246    /// <li>
247    /// <p>stream.memory.8xlarge</p></li>
248    /// <li>
249    /// <p>stream.memory.z1d.large</p></li>
250    /// <li>
251    /// <p>stream.memory.z1d.xlarge</p></li>
252    /// <li>
253    /// <p>stream.memory.z1d.2xlarge</p></li>
254    /// <li>
255    /// <p>stream.memory.z1d.3xlarge</p></li>
256    /// <li>
257    /// <p>stream.memory.z1d.6xlarge</p></li>
258    /// <li>
259    /// <p>stream.memory.z1d.12xlarge</p></li>
260    /// <li>
261    /// <p>stream.graphics-design.large</p></li>
262    /// <li>
263    /// <p>stream.graphics-design.xlarge</p></li>
264    /// <li>
265    /// <p>stream.graphics-design.2xlarge</p></li>
266    /// <li>
267    /// <p>stream.graphics-design.4xlarge</p></li>
268    /// <li>
269    /// <p>stream.graphics-desktop.2xlarge</p></li>
270    /// <li>
271    /// <p>stream.graphics.g4dn.xlarge</p></li>
272    /// <li>
273    /// <p>stream.graphics.g4dn.2xlarge</p></li>
274    /// <li>
275    /// <p>stream.graphics.g4dn.4xlarge</p></li>
276    /// <li>
277    /// <p>stream.graphics.g4dn.8xlarge</p></li>
278    /// <li>
279    /// <p>stream.graphics.g4dn.12xlarge</p></li>
280    /// <li>
281    /// <p>stream.graphics.g4dn.16xlarge</p></li>
282    /// <li>
283    /// <p>stream.graphics.g5.xlarge</p></li>
284    /// <li>
285    /// <p>stream.graphics.g5.2xlarge</p></li>
286    /// <li>
287    /// <p>stream.graphics.g5.4xlarge</p></li>
288    /// <li>
289    /// <p>stream.graphics.g5.8xlarge</p></li>
290    /// <li>
291    /// <p>stream.graphics.g5.12xlarge</p></li>
292    /// <li>
293    /// <p>stream.graphics.g5.16xlarge</p></li>
294    /// <li>
295    /// <p>stream.graphics.g5.24xlarge</p></li>
296    /// <li>
297    /// <p>stream.graphics-pro.4xlarge</p></li>
298    /// <li>
299    /// <p>stream.graphics-pro.8xlarge</p></li>
300    /// <li>
301    /// <p>stream.graphics-pro.16xlarge</p></li>
302    /// <li>
303    /// <p>stream.graphics.g6.xlarge</p></li>
304    /// <li>
305    /// <p>stream.graphics.g6.2xlarge</p></li>
306    /// <li>
307    /// <p>stream.graphics.g6.4xlarge</p></li>
308    /// <li>
309    /// <p>stream.graphics.g6.8xlarge</p></li>
310    /// <li>
311    /// <p>stream.graphics.g6.16xlarge</p></li>
312    /// <li>
313    /// <p>stream.graphics.g6.12xlarge</p></li>
314    /// <li>
315    /// <p>stream.graphics.g6.24xlarge</p></li>
316    /// <li>
317    /// <p>stream.graphics.gr6.4xlarge</p></li>
318    /// <li>
319    /// <p>stream.graphics.gr6.8xlarge</p></li>
320    /// <li>
321    /// <p>stream.graphics.g6f.large</p></li>
322    /// <li>
323    /// <p>stream.graphics.g6f.xlarge</p></li>
324    /// <li>
325    /// <p>stream.graphics.g6f.2xlarge</p></li>
326    /// <li>
327    /// <p>stream.graphics.g6f.4xlarge</p></li>
328    /// <li>
329    /// <p>stream.graphics.gr6f.4xlarge</p></li>
330    /// </ul>
331    /// <p>The following instance types are available for Elastic fleets:</p>
332    /// <ul>
333    /// <li>
334    /// <p>stream.standard.small</p></li>
335    /// <li>
336    /// <p>stream.standard.medium</p></li>
337    /// <li>
338    /// <p>stream.standard.large</p></li>
339    /// <li>
340    /// <p>stream.standard.xlarge</p></li>
341    /// <li>
342    /// <p>stream.standard.2xlarge</p></li>
343    /// </ul>
344    pub fn instance_type(&self) -> ::std::option::Option<&str> {
345        self.instance_type.as_deref()
346    }
347    /// <p>The fleet type.</p>
348    /// <dl>
349    /// <dt>
350    /// ALWAYS_ON
351    /// </dt>
352    /// <dd>
353    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
354    /// </dd>
355    /// <dt>
356    /// ON_DEMAND
357    /// </dt>
358    /// <dd>
359    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
360    /// </dd>
361    /// </dl>
362    pub fn fleet_type(&self) -> ::std::option::Option<&crate::types::FleetType> {
363        self.fleet_type.as_ref()
364    }
365    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
366    pub fn compute_capacity(&self) -> ::std::option::Option<&crate::types::ComputeCapacity> {
367        self.compute_capacity.as_ref()
368    }
369    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
370    pub fn vpc_config(&self) -> ::std::option::Option<&crate::types::VpcConfig> {
371        self.vpc_config.as_ref()
372    }
373    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
374    /// <p>Specify a value between 600 and 432000.</p>
375    pub fn max_user_duration_in_seconds(&self) -> ::std::option::Option<i32> {
376        self.max_user_duration_in_seconds
377    }
378    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
379    /// <p>Specify a value between 60 and 36000.</p>
380    pub fn disconnect_timeout_in_seconds(&self) -> ::std::option::Option<i32> {
381        self.disconnect_timeout_in_seconds
382    }
383    /// <p>The description to display.</p>
384    pub fn description(&self) -> ::std::option::Option<&str> {
385        self.description.as_deref()
386    }
387    /// <p>The fleet name to display.</p>
388    pub fn display_name(&self) -> ::std::option::Option<&str> {
389        self.display_name.as_deref()
390    }
391    /// <p>Enables or disables default internet access for the fleet.</p>
392    pub fn enable_default_internet_access(&self) -> ::std::option::Option<bool> {
393        self.enable_default_internet_access
394    }
395    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
396    pub fn domain_join_info(&self) -> ::std::option::Option<&crate::types::DomainJoinInfo> {
397        self.domain_join_info.as_ref()
398    }
399    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
400    /// <p>If you do not specify a value, the value is set to an empty string.</p>
401    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
402    /// <p>_ . : / = + \ - @</p>
403    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
404    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
405        self.tags.as_ref()
406    }
407    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
408    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
409    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
410    /// </note>
411    pub fn idle_disconnect_timeout_in_seconds(&self) -> ::std::option::Option<i32> {
412        self.idle_disconnect_timeout_in_seconds
413    }
414    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
415    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
416    pub fn iam_role_arn(&self) -> ::std::option::Option<&str> {
417        self.iam_role_arn.as_deref()
418    }
419    /// <p>The AppStream 2.0 view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
420    /// <p>The default value is <code>APP</code>.</p>
421    pub fn stream_view(&self) -> ::std::option::Option<&crate::types::StreamView> {
422        self.stream_view.as_ref()
423    }
424    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
425    pub fn platform(&self) -> ::std::option::Option<&crate::types::PlatformType> {
426        self.platform.as_ref()
427    }
428    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
429    pub fn max_concurrent_sessions(&self) -> ::std::option::Option<i32> {
430        self.max_concurrent_sessions
431    }
432    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
433    ///
434    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.usb_device_filter_strings.is_none()`.
435    pub fn usb_device_filter_strings(&self) -> &[::std::string::String] {
436        self.usb_device_filter_strings.as_deref().unwrap_or_default()
437    }
438    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
439    pub fn session_script_s3_location(&self) -> ::std::option::Option<&crate::types::S3Location> {
440        self.session_script_s3_location.as_ref()
441    }
442    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
443    pub fn max_sessions_per_instance(&self) -> ::std::option::Option<i32> {
444        self.max_sessions_per_instance
445    }
446}
447impl CreateFleetInput {
448    /// Creates a new builder-style object to manufacture [`CreateFleetInput`](crate::operation::create_fleet::CreateFleetInput).
449    pub fn builder() -> crate::operation::create_fleet::builders::CreateFleetInputBuilder {
450        crate::operation::create_fleet::builders::CreateFleetInputBuilder::default()
451    }
452}
453
454/// A builder for [`CreateFleetInput`](crate::operation::create_fleet::CreateFleetInput).
455#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
456#[non_exhaustive]
457pub struct CreateFleetInputBuilder {
458    pub(crate) name: ::std::option::Option<::std::string::String>,
459    pub(crate) image_name: ::std::option::Option<::std::string::String>,
460    pub(crate) image_arn: ::std::option::Option<::std::string::String>,
461    pub(crate) instance_type: ::std::option::Option<::std::string::String>,
462    pub(crate) fleet_type: ::std::option::Option<crate::types::FleetType>,
463    pub(crate) compute_capacity: ::std::option::Option<crate::types::ComputeCapacity>,
464    pub(crate) vpc_config: ::std::option::Option<crate::types::VpcConfig>,
465    pub(crate) max_user_duration_in_seconds: ::std::option::Option<i32>,
466    pub(crate) disconnect_timeout_in_seconds: ::std::option::Option<i32>,
467    pub(crate) description: ::std::option::Option<::std::string::String>,
468    pub(crate) display_name: ::std::option::Option<::std::string::String>,
469    pub(crate) enable_default_internet_access: ::std::option::Option<bool>,
470    pub(crate) domain_join_info: ::std::option::Option<crate::types::DomainJoinInfo>,
471    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
472    pub(crate) idle_disconnect_timeout_in_seconds: ::std::option::Option<i32>,
473    pub(crate) iam_role_arn: ::std::option::Option<::std::string::String>,
474    pub(crate) stream_view: ::std::option::Option<crate::types::StreamView>,
475    pub(crate) platform: ::std::option::Option<crate::types::PlatformType>,
476    pub(crate) max_concurrent_sessions: ::std::option::Option<i32>,
477    pub(crate) usb_device_filter_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
478    pub(crate) session_script_s3_location: ::std::option::Option<crate::types::S3Location>,
479    pub(crate) max_sessions_per_instance: ::std::option::Option<i32>,
480}
481impl CreateFleetInputBuilder {
482    /// <p>A unique name for the fleet.</p>
483    /// This field is required.
484    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
485        self.name = ::std::option::Option::Some(input.into());
486        self
487    }
488    /// <p>A unique name for the fleet.</p>
489    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
490        self.name = input;
491        self
492    }
493    /// <p>A unique name for the fleet.</p>
494    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
495        &self.name
496    }
497    /// <p>The name of the image used to create the fleet.</p>
498    pub fn image_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
499        self.image_name = ::std::option::Option::Some(input.into());
500        self
501    }
502    /// <p>The name of the image used to create the fleet.</p>
503    pub fn set_image_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
504        self.image_name = input;
505        self
506    }
507    /// <p>The name of the image used to create the fleet.</p>
508    pub fn get_image_name(&self) -> &::std::option::Option<::std::string::String> {
509        &self.image_name
510    }
511    /// <p>The ARN of the public, private, or shared image to use.</p>
512    pub fn image_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
513        self.image_arn = ::std::option::Option::Some(input.into());
514        self
515    }
516    /// <p>The ARN of the public, private, or shared image to use.</p>
517    pub fn set_image_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
518        self.image_arn = input;
519        self
520    }
521    /// <p>The ARN of the public, private, or shared image to use.</p>
522    pub fn get_image_arn(&self) -> &::std::option::Option<::std::string::String> {
523        &self.image_arn
524    }
525    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
526    /// <ul>
527    /// <li>
528    /// <p>stream.standard.small</p></li>
529    /// <li>
530    /// <p>stream.standard.medium</p></li>
531    /// <li>
532    /// <p>stream.standard.large</p></li>
533    /// <li>
534    /// <p>stream.standard.xlarge</p></li>
535    /// <li>
536    /// <p>stream.standard.2xlarge</p></li>
537    /// <li>
538    /// <p>stream.compute.large</p></li>
539    /// <li>
540    /// <p>stream.compute.xlarge</p></li>
541    /// <li>
542    /// <p>stream.compute.2xlarge</p></li>
543    /// <li>
544    /// <p>stream.compute.4xlarge</p></li>
545    /// <li>
546    /// <p>stream.compute.8xlarge</p></li>
547    /// <li>
548    /// <p>stream.memory.large</p></li>
549    /// <li>
550    /// <p>stream.memory.xlarge</p></li>
551    /// <li>
552    /// <p>stream.memory.2xlarge</p></li>
553    /// <li>
554    /// <p>stream.memory.4xlarge</p></li>
555    /// <li>
556    /// <p>stream.memory.8xlarge</p></li>
557    /// <li>
558    /// <p>stream.memory.z1d.large</p></li>
559    /// <li>
560    /// <p>stream.memory.z1d.xlarge</p></li>
561    /// <li>
562    /// <p>stream.memory.z1d.2xlarge</p></li>
563    /// <li>
564    /// <p>stream.memory.z1d.3xlarge</p></li>
565    /// <li>
566    /// <p>stream.memory.z1d.6xlarge</p></li>
567    /// <li>
568    /// <p>stream.memory.z1d.12xlarge</p></li>
569    /// <li>
570    /// <p>stream.graphics-design.large</p></li>
571    /// <li>
572    /// <p>stream.graphics-design.xlarge</p></li>
573    /// <li>
574    /// <p>stream.graphics-design.2xlarge</p></li>
575    /// <li>
576    /// <p>stream.graphics-design.4xlarge</p></li>
577    /// <li>
578    /// <p>stream.graphics-desktop.2xlarge</p></li>
579    /// <li>
580    /// <p>stream.graphics.g4dn.xlarge</p></li>
581    /// <li>
582    /// <p>stream.graphics.g4dn.2xlarge</p></li>
583    /// <li>
584    /// <p>stream.graphics.g4dn.4xlarge</p></li>
585    /// <li>
586    /// <p>stream.graphics.g4dn.8xlarge</p></li>
587    /// <li>
588    /// <p>stream.graphics.g4dn.12xlarge</p></li>
589    /// <li>
590    /// <p>stream.graphics.g4dn.16xlarge</p></li>
591    /// <li>
592    /// <p>stream.graphics.g5.xlarge</p></li>
593    /// <li>
594    /// <p>stream.graphics.g5.2xlarge</p></li>
595    /// <li>
596    /// <p>stream.graphics.g5.4xlarge</p></li>
597    /// <li>
598    /// <p>stream.graphics.g5.8xlarge</p></li>
599    /// <li>
600    /// <p>stream.graphics.g5.12xlarge</p></li>
601    /// <li>
602    /// <p>stream.graphics.g5.16xlarge</p></li>
603    /// <li>
604    /// <p>stream.graphics.g5.24xlarge</p></li>
605    /// <li>
606    /// <p>stream.graphics-pro.4xlarge</p></li>
607    /// <li>
608    /// <p>stream.graphics-pro.8xlarge</p></li>
609    /// <li>
610    /// <p>stream.graphics-pro.16xlarge</p></li>
611    /// <li>
612    /// <p>stream.graphics.g6.xlarge</p></li>
613    /// <li>
614    /// <p>stream.graphics.g6.2xlarge</p></li>
615    /// <li>
616    /// <p>stream.graphics.g6.4xlarge</p></li>
617    /// <li>
618    /// <p>stream.graphics.g6.8xlarge</p></li>
619    /// <li>
620    /// <p>stream.graphics.g6.16xlarge</p></li>
621    /// <li>
622    /// <p>stream.graphics.g6.12xlarge</p></li>
623    /// <li>
624    /// <p>stream.graphics.g6.24xlarge</p></li>
625    /// <li>
626    /// <p>stream.graphics.gr6.4xlarge</p></li>
627    /// <li>
628    /// <p>stream.graphics.gr6.8xlarge</p></li>
629    /// <li>
630    /// <p>stream.graphics.g6f.large</p></li>
631    /// <li>
632    /// <p>stream.graphics.g6f.xlarge</p></li>
633    /// <li>
634    /// <p>stream.graphics.g6f.2xlarge</p></li>
635    /// <li>
636    /// <p>stream.graphics.g6f.4xlarge</p></li>
637    /// <li>
638    /// <p>stream.graphics.gr6f.4xlarge</p></li>
639    /// </ul>
640    /// <p>The following instance types are available for Elastic fleets:</p>
641    /// <ul>
642    /// <li>
643    /// <p>stream.standard.small</p></li>
644    /// <li>
645    /// <p>stream.standard.medium</p></li>
646    /// <li>
647    /// <p>stream.standard.large</p></li>
648    /// <li>
649    /// <p>stream.standard.xlarge</p></li>
650    /// <li>
651    /// <p>stream.standard.2xlarge</p></li>
652    /// </ul>
653    /// This field is required.
654    pub fn instance_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
655        self.instance_type = ::std::option::Option::Some(input.into());
656        self
657    }
658    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
659    /// <ul>
660    /// <li>
661    /// <p>stream.standard.small</p></li>
662    /// <li>
663    /// <p>stream.standard.medium</p></li>
664    /// <li>
665    /// <p>stream.standard.large</p></li>
666    /// <li>
667    /// <p>stream.standard.xlarge</p></li>
668    /// <li>
669    /// <p>stream.standard.2xlarge</p></li>
670    /// <li>
671    /// <p>stream.compute.large</p></li>
672    /// <li>
673    /// <p>stream.compute.xlarge</p></li>
674    /// <li>
675    /// <p>stream.compute.2xlarge</p></li>
676    /// <li>
677    /// <p>stream.compute.4xlarge</p></li>
678    /// <li>
679    /// <p>stream.compute.8xlarge</p></li>
680    /// <li>
681    /// <p>stream.memory.large</p></li>
682    /// <li>
683    /// <p>stream.memory.xlarge</p></li>
684    /// <li>
685    /// <p>stream.memory.2xlarge</p></li>
686    /// <li>
687    /// <p>stream.memory.4xlarge</p></li>
688    /// <li>
689    /// <p>stream.memory.8xlarge</p></li>
690    /// <li>
691    /// <p>stream.memory.z1d.large</p></li>
692    /// <li>
693    /// <p>stream.memory.z1d.xlarge</p></li>
694    /// <li>
695    /// <p>stream.memory.z1d.2xlarge</p></li>
696    /// <li>
697    /// <p>stream.memory.z1d.3xlarge</p></li>
698    /// <li>
699    /// <p>stream.memory.z1d.6xlarge</p></li>
700    /// <li>
701    /// <p>stream.memory.z1d.12xlarge</p></li>
702    /// <li>
703    /// <p>stream.graphics-design.large</p></li>
704    /// <li>
705    /// <p>stream.graphics-design.xlarge</p></li>
706    /// <li>
707    /// <p>stream.graphics-design.2xlarge</p></li>
708    /// <li>
709    /// <p>stream.graphics-design.4xlarge</p></li>
710    /// <li>
711    /// <p>stream.graphics-desktop.2xlarge</p></li>
712    /// <li>
713    /// <p>stream.graphics.g4dn.xlarge</p></li>
714    /// <li>
715    /// <p>stream.graphics.g4dn.2xlarge</p></li>
716    /// <li>
717    /// <p>stream.graphics.g4dn.4xlarge</p></li>
718    /// <li>
719    /// <p>stream.graphics.g4dn.8xlarge</p></li>
720    /// <li>
721    /// <p>stream.graphics.g4dn.12xlarge</p></li>
722    /// <li>
723    /// <p>stream.graphics.g4dn.16xlarge</p></li>
724    /// <li>
725    /// <p>stream.graphics.g5.xlarge</p></li>
726    /// <li>
727    /// <p>stream.graphics.g5.2xlarge</p></li>
728    /// <li>
729    /// <p>stream.graphics.g5.4xlarge</p></li>
730    /// <li>
731    /// <p>stream.graphics.g5.8xlarge</p></li>
732    /// <li>
733    /// <p>stream.graphics.g5.12xlarge</p></li>
734    /// <li>
735    /// <p>stream.graphics.g5.16xlarge</p></li>
736    /// <li>
737    /// <p>stream.graphics.g5.24xlarge</p></li>
738    /// <li>
739    /// <p>stream.graphics-pro.4xlarge</p></li>
740    /// <li>
741    /// <p>stream.graphics-pro.8xlarge</p></li>
742    /// <li>
743    /// <p>stream.graphics-pro.16xlarge</p></li>
744    /// <li>
745    /// <p>stream.graphics.g6.xlarge</p></li>
746    /// <li>
747    /// <p>stream.graphics.g6.2xlarge</p></li>
748    /// <li>
749    /// <p>stream.graphics.g6.4xlarge</p></li>
750    /// <li>
751    /// <p>stream.graphics.g6.8xlarge</p></li>
752    /// <li>
753    /// <p>stream.graphics.g6.16xlarge</p></li>
754    /// <li>
755    /// <p>stream.graphics.g6.12xlarge</p></li>
756    /// <li>
757    /// <p>stream.graphics.g6.24xlarge</p></li>
758    /// <li>
759    /// <p>stream.graphics.gr6.4xlarge</p></li>
760    /// <li>
761    /// <p>stream.graphics.gr6.8xlarge</p></li>
762    /// <li>
763    /// <p>stream.graphics.g6f.large</p></li>
764    /// <li>
765    /// <p>stream.graphics.g6f.xlarge</p></li>
766    /// <li>
767    /// <p>stream.graphics.g6f.2xlarge</p></li>
768    /// <li>
769    /// <p>stream.graphics.g6f.4xlarge</p></li>
770    /// <li>
771    /// <p>stream.graphics.gr6f.4xlarge</p></li>
772    /// </ul>
773    /// <p>The following instance types are available for Elastic fleets:</p>
774    /// <ul>
775    /// <li>
776    /// <p>stream.standard.small</p></li>
777    /// <li>
778    /// <p>stream.standard.medium</p></li>
779    /// <li>
780    /// <p>stream.standard.large</p></li>
781    /// <li>
782    /// <p>stream.standard.xlarge</p></li>
783    /// <li>
784    /// <p>stream.standard.2xlarge</p></li>
785    /// </ul>
786    pub fn set_instance_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
787        self.instance_type = input;
788        self
789    }
790    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
791    /// <ul>
792    /// <li>
793    /// <p>stream.standard.small</p></li>
794    /// <li>
795    /// <p>stream.standard.medium</p></li>
796    /// <li>
797    /// <p>stream.standard.large</p></li>
798    /// <li>
799    /// <p>stream.standard.xlarge</p></li>
800    /// <li>
801    /// <p>stream.standard.2xlarge</p></li>
802    /// <li>
803    /// <p>stream.compute.large</p></li>
804    /// <li>
805    /// <p>stream.compute.xlarge</p></li>
806    /// <li>
807    /// <p>stream.compute.2xlarge</p></li>
808    /// <li>
809    /// <p>stream.compute.4xlarge</p></li>
810    /// <li>
811    /// <p>stream.compute.8xlarge</p></li>
812    /// <li>
813    /// <p>stream.memory.large</p></li>
814    /// <li>
815    /// <p>stream.memory.xlarge</p></li>
816    /// <li>
817    /// <p>stream.memory.2xlarge</p></li>
818    /// <li>
819    /// <p>stream.memory.4xlarge</p></li>
820    /// <li>
821    /// <p>stream.memory.8xlarge</p></li>
822    /// <li>
823    /// <p>stream.memory.z1d.large</p></li>
824    /// <li>
825    /// <p>stream.memory.z1d.xlarge</p></li>
826    /// <li>
827    /// <p>stream.memory.z1d.2xlarge</p></li>
828    /// <li>
829    /// <p>stream.memory.z1d.3xlarge</p></li>
830    /// <li>
831    /// <p>stream.memory.z1d.6xlarge</p></li>
832    /// <li>
833    /// <p>stream.memory.z1d.12xlarge</p></li>
834    /// <li>
835    /// <p>stream.graphics-design.large</p></li>
836    /// <li>
837    /// <p>stream.graphics-design.xlarge</p></li>
838    /// <li>
839    /// <p>stream.graphics-design.2xlarge</p></li>
840    /// <li>
841    /// <p>stream.graphics-design.4xlarge</p></li>
842    /// <li>
843    /// <p>stream.graphics-desktop.2xlarge</p></li>
844    /// <li>
845    /// <p>stream.graphics.g4dn.xlarge</p></li>
846    /// <li>
847    /// <p>stream.graphics.g4dn.2xlarge</p></li>
848    /// <li>
849    /// <p>stream.graphics.g4dn.4xlarge</p></li>
850    /// <li>
851    /// <p>stream.graphics.g4dn.8xlarge</p></li>
852    /// <li>
853    /// <p>stream.graphics.g4dn.12xlarge</p></li>
854    /// <li>
855    /// <p>stream.graphics.g4dn.16xlarge</p></li>
856    /// <li>
857    /// <p>stream.graphics.g5.xlarge</p></li>
858    /// <li>
859    /// <p>stream.graphics.g5.2xlarge</p></li>
860    /// <li>
861    /// <p>stream.graphics.g5.4xlarge</p></li>
862    /// <li>
863    /// <p>stream.graphics.g5.8xlarge</p></li>
864    /// <li>
865    /// <p>stream.graphics.g5.12xlarge</p></li>
866    /// <li>
867    /// <p>stream.graphics.g5.16xlarge</p></li>
868    /// <li>
869    /// <p>stream.graphics.g5.24xlarge</p></li>
870    /// <li>
871    /// <p>stream.graphics-pro.4xlarge</p></li>
872    /// <li>
873    /// <p>stream.graphics-pro.8xlarge</p></li>
874    /// <li>
875    /// <p>stream.graphics-pro.16xlarge</p></li>
876    /// <li>
877    /// <p>stream.graphics.g6.xlarge</p></li>
878    /// <li>
879    /// <p>stream.graphics.g6.2xlarge</p></li>
880    /// <li>
881    /// <p>stream.graphics.g6.4xlarge</p></li>
882    /// <li>
883    /// <p>stream.graphics.g6.8xlarge</p></li>
884    /// <li>
885    /// <p>stream.graphics.g6.16xlarge</p></li>
886    /// <li>
887    /// <p>stream.graphics.g6.12xlarge</p></li>
888    /// <li>
889    /// <p>stream.graphics.g6.24xlarge</p></li>
890    /// <li>
891    /// <p>stream.graphics.gr6.4xlarge</p></li>
892    /// <li>
893    /// <p>stream.graphics.gr6.8xlarge</p></li>
894    /// <li>
895    /// <p>stream.graphics.g6f.large</p></li>
896    /// <li>
897    /// <p>stream.graphics.g6f.xlarge</p></li>
898    /// <li>
899    /// <p>stream.graphics.g6f.2xlarge</p></li>
900    /// <li>
901    /// <p>stream.graphics.g6f.4xlarge</p></li>
902    /// <li>
903    /// <p>stream.graphics.gr6f.4xlarge</p></li>
904    /// </ul>
905    /// <p>The following instance types are available for Elastic fleets:</p>
906    /// <ul>
907    /// <li>
908    /// <p>stream.standard.small</p></li>
909    /// <li>
910    /// <p>stream.standard.medium</p></li>
911    /// <li>
912    /// <p>stream.standard.large</p></li>
913    /// <li>
914    /// <p>stream.standard.xlarge</p></li>
915    /// <li>
916    /// <p>stream.standard.2xlarge</p></li>
917    /// </ul>
918    pub fn get_instance_type(&self) -> &::std::option::Option<::std::string::String> {
919        &self.instance_type
920    }
921    /// <p>The fleet type.</p>
922    /// <dl>
923    /// <dt>
924    /// ALWAYS_ON
925    /// </dt>
926    /// <dd>
927    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
928    /// </dd>
929    /// <dt>
930    /// ON_DEMAND
931    /// </dt>
932    /// <dd>
933    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
934    /// </dd>
935    /// </dl>
936    pub fn fleet_type(mut self, input: crate::types::FleetType) -> Self {
937        self.fleet_type = ::std::option::Option::Some(input);
938        self
939    }
940    /// <p>The fleet type.</p>
941    /// <dl>
942    /// <dt>
943    /// ALWAYS_ON
944    /// </dt>
945    /// <dd>
946    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
947    /// </dd>
948    /// <dt>
949    /// ON_DEMAND
950    /// </dt>
951    /// <dd>
952    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
953    /// </dd>
954    /// </dl>
955    pub fn set_fleet_type(mut self, input: ::std::option::Option<crate::types::FleetType>) -> Self {
956        self.fleet_type = input;
957        self
958    }
959    /// <p>The fleet type.</p>
960    /// <dl>
961    /// <dt>
962    /// ALWAYS_ON
963    /// </dt>
964    /// <dd>
965    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
966    /// </dd>
967    /// <dt>
968    /// ON_DEMAND
969    /// </dt>
970    /// <dd>
971    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
972    /// </dd>
973    /// </dl>
974    pub fn get_fleet_type(&self) -> &::std::option::Option<crate::types::FleetType> {
975        &self.fleet_type
976    }
977    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
978    pub fn compute_capacity(mut self, input: crate::types::ComputeCapacity) -> Self {
979        self.compute_capacity = ::std::option::Option::Some(input);
980        self
981    }
982    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
983    pub fn set_compute_capacity(mut self, input: ::std::option::Option<crate::types::ComputeCapacity>) -> Self {
984        self.compute_capacity = input;
985        self
986    }
987    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
988    pub fn get_compute_capacity(&self) -> &::std::option::Option<crate::types::ComputeCapacity> {
989        &self.compute_capacity
990    }
991    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
992    pub fn vpc_config(mut self, input: crate::types::VpcConfig) -> Self {
993        self.vpc_config = ::std::option::Option::Some(input);
994        self
995    }
996    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
997    pub fn set_vpc_config(mut self, input: ::std::option::Option<crate::types::VpcConfig>) -> Self {
998        self.vpc_config = input;
999        self
1000    }
1001    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
1002    pub fn get_vpc_config(&self) -> &::std::option::Option<crate::types::VpcConfig> {
1003        &self.vpc_config
1004    }
1005    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
1006    /// <p>Specify a value between 600 and 432000.</p>
1007    pub fn max_user_duration_in_seconds(mut self, input: i32) -> Self {
1008        self.max_user_duration_in_seconds = ::std::option::Option::Some(input);
1009        self
1010    }
1011    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
1012    /// <p>Specify a value between 600 and 432000.</p>
1013    pub fn set_max_user_duration_in_seconds(mut self, input: ::std::option::Option<i32>) -> Self {
1014        self.max_user_duration_in_seconds = input;
1015        self
1016    }
1017    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
1018    /// <p>Specify a value between 600 and 432000.</p>
1019    pub fn get_max_user_duration_in_seconds(&self) -> &::std::option::Option<i32> {
1020        &self.max_user_duration_in_seconds
1021    }
1022    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
1023    /// <p>Specify a value between 60 and 36000.</p>
1024    pub fn disconnect_timeout_in_seconds(mut self, input: i32) -> Self {
1025        self.disconnect_timeout_in_seconds = ::std::option::Option::Some(input);
1026        self
1027    }
1028    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
1029    /// <p>Specify a value between 60 and 36000.</p>
1030    pub fn set_disconnect_timeout_in_seconds(mut self, input: ::std::option::Option<i32>) -> Self {
1031        self.disconnect_timeout_in_seconds = input;
1032        self
1033    }
1034    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
1035    /// <p>Specify a value between 60 and 36000.</p>
1036    pub fn get_disconnect_timeout_in_seconds(&self) -> &::std::option::Option<i32> {
1037        &self.disconnect_timeout_in_seconds
1038    }
1039    /// <p>The description to display.</p>
1040    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
1041        self.description = ::std::option::Option::Some(input.into());
1042        self
1043    }
1044    /// <p>The description to display.</p>
1045    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
1046        self.description = input;
1047        self
1048    }
1049    /// <p>The description to display.</p>
1050    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
1051        &self.description
1052    }
1053    /// <p>The fleet name to display.</p>
1054    pub fn display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
1055        self.display_name = ::std::option::Option::Some(input.into());
1056        self
1057    }
1058    /// <p>The fleet name to display.</p>
1059    pub fn set_display_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
1060        self.display_name = input;
1061        self
1062    }
1063    /// <p>The fleet name to display.</p>
1064    pub fn get_display_name(&self) -> &::std::option::Option<::std::string::String> {
1065        &self.display_name
1066    }
1067    /// <p>Enables or disables default internet access for the fleet.</p>
1068    pub fn enable_default_internet_access(mut self, input: bool) -> Self {
1069        self.enable_default_internet_access = ::std::option::Option::Some(input);
1070        self
1071    }
1072    /// <p>Enables or disables default internet access for the fleet.</p>
1073    pub fn set_enable_default_internet_access(mut self, input: ::std::option::Option<bool>) -> Self {
1074        self.enable_default_internet_access = input;
1075        self
1076    }
1077    /// <p>Enables or disables default internet access for the fleet.</p>
1078    pub fn get_enable_default_internet_access(&self) -> &::std::option::Option<bool> {
1079        &self.enable_default_internet_access
1080    }
1081    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
1082    pub fn domain_join_info(mut self, input: crate::types::DomainJoinInfo) -> Self {
1083        self.domain_join_info = ::std::option::Option::Some(input);
1084        self
1085    }
1086    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
1087    pub fn set_domain_join_info(mut self, input: ::std::option::Option<crate::types::DomainJoinInfo>) -> Self {
1088        self.domain_join_info = input;
1089        self
1090    }
1091    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
1092    pub fn get_domain_join_info(&self) -> &::std::option::Option<crate::types::DomainJoinInfo> {
1093        &self.domain_join_info
1094    }
1095    /// Adds a key-value pair to `tags`.
1096    ///
1097    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
1098    ///
1099    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
1100    /// <p>If you do not specify a value, the value is set to an empty string.</p>
1101    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
1102    /// <p>_ . : / = + \ - @</p>
1103    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
1104    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
1105        let mut hash_map = self.tags.unwrap_or_default();
1106        hash_map.insert(k.into(), v.into());
1107        self.tags = ::std::option::Option::Some(hash_map);
1108        self
1109    }
1110    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
1111    /// <p>If you do not specify a value, the value is set to an empty string.</p>
1112    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
1113    /// <p>_ . : / = + \ - @</p>
1114    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
1115    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
1116        self.tags = input;
1117        self
1118    }
1119    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
1120    /// <p>If you do not specify a value, the value is set to an empty string.</p>
1121    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
1122    /// <p>_ . : / = + \ - @</p>
1123    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
1124    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
1125        &self.tags
1126    }
1127    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
1128    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
1129    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
1130    /// </note>
1131    pub fn idle_disconnect_timeout_in_seconds(mut self, input: i32) -> Self {
1132        self.idle_disconnect_timeout_in_seconds = ::std::option::Option::Some(input);
1133        self
1134    }
1135    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
1136    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
1137    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
1138    /// </note>
1139    pub fn set_idle_disconnect_timeout_in_seconds(mut self, input: ::std::option::Option<i32>) -> Self {
1140        self.idle_disconnect_timeout_in_seconds = input;
1141        self
1142    }
1143    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
1144    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
1145    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
1146    /// </note>
1147    pub fn get_idle_disconnect_timeout_in_seconds(&self) -> &::std::option::Option<i32> {
1148        &self.idle_disconnect_timeout_in_seconds
1149    }
1150    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
1151    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
1152    pub fn iam_role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
1153        self.iam_role_arn = ::std::option::Option::Some(input.into());
1154        self
1155    }
1156    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
1157    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
1158    pub fn set_iam_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
1159        self.iam_role_arn = input;
1160        self
1161    }
1162    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
1163    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
1164    pub fn get_iam_role_arn(&self) -> &::std::option::Option<::std::string::String> {
1165        &self.iam_role_arn
1166    }
1167    /// <p>The AppStream 2.0 view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
1168    /// <p>The default value is <code>APP</code>.</p>
1169    pub fn stream_view(mut self, input: crate::types::StreamView) -> Self {
1170        self.stream_view = ::std::option::Option::Some(input);
1171        self
1172    }
1173    /// <p>The AppStream 2.0 view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
1174    /// <p>The default value is <code>APP</code>.</p>
1175    pub fn set_stream_view(mut self, input: ::std::option::Option<crate::types::StreamView>) -> Self {
1176        self.stream_view = input;
1177        self
1178    }
1179    /// <p>The AppStream 2.0 view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
1180    /// <p>The default value is <code>APP</code>.</p>
1181    pub fn get_stream_view(&self) -> &::std::option::Option<crate::types::StreamView> {
1182        &self.stream_view
1183    }
1184    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
1185    pub fn platform(mut self, input: crate::types::PlatformType) -> Self {
1186        self.platform = ::std::option::Option::Some(input);
1187        self
1188    }
1189    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
1190    pub fn set_platform(mut self, input: ::std::option::Option<crate::types::PlatformType>) -> Self {
1191        self.platform = input;
1192        self
1193    }
1194    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
1195    pub fn get_platform(&self) -> &::std::option::Option<crate::types::PlatformType> {
1196        &self.platform
1197    }
1198    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
1199    pub fn max_concurrent_sessions(mut self, input: i32) -> Self {
1200        self.max_concurrent_sessions = ::std::option::Option::Some(input);
1201        self
1202    }
1203    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
1204    pub fn set_max_concurrent_sessions(mut self, input: ::std::option::Option<i32>) -> Self {
1205        self.max_concurrent_sessions = input;
1206        self
1207    }
1208    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
1209    pub fn get_max_concurrent_sessions(&self) -> &::std::option::Option<i32> {
1210        &self.max_concurrent_sessions
1211    }
1212    /// Appends an item to `usb_device_filter_strings`.
1213    ///
1214    /// To override the contents of this collection use [`set_usb_device_filter_strings`](Self::set_usb_device_filter_strings).
1215    ///
1216    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
1217    pub fn usb_device_filter_strings(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
1218        let mut v = self.usb_device_filter_strings.unwrap_or_default();
1219        v.push(input.into());
1220        self.usb_device_filter_strings = ::std::option::Option::Some(v);
1221        self
1222    }
1223    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
1224    pub fn set_usb_device_filter_strings(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
1225        self.usb_device_filter_strings = input;
1226        self
1227    }
1228    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
1229    pub fn get_usb_device_filter_strings(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
1230        &self.usb_device_filter_strings
1231    }
1232    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
1233    pub fn session_script_s3_location(mut self, input: crate::types::S3Location) -> Self {
1234        self.session_script_s3_location = ::std::option::Option::Some(input);
1235        self
1236    }
1237    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
1238    pub fn set_session_script_s3_location(mut self, input: ::std::option::Option<crate::types::S3Location>) -> Self {
1239        self.session_script_s3_location = input;
1240        self
1241    }
1242    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
1243    pub fn get_session_script_s3_location(&self) -> &::std::option::Option<crate::types::S3Location> {
1244        &self.session_script_s3_location
1245    }
1246    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
1247    pub fn max_sessions_per_instance(mut self, input: i32) -> Self {
1248        self.max_sessions_per_instance = ::std::option::Option::Some(input);
1249        self
1250    }
1251    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
1252    pub fn set_max_sessions_per_instance(mut self, input: ::std::option::Option<i32>) -> Self {
1253        self.max_sessions_per_instance = input;
1254        self
1255    }
1256    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
1257    pub fn get_max_sessions_per_instance(&self) -> &::std::option::Option<i32> {
1258        &self.max_sessions_per_instance
1259    }
1260    /// Consumes the builder and constructs a [`CreateFleetInput`](crate::operation::create_fleet::CreateFleetInput).
1261    pub fn build(self) -> ::std::result::Result<crate::operation::create_fleet::CreateFleetInput, ::aws_smithy_types::error::operation::BuildError> {
1262        ::std::result::Result::Ok(crate::operation::create_fleet::CreateFleetInput {
1263            name: self.name,
1264            image_name: self.image_name,
1265            image_arn: self.image_arn,
1266            instance_type: self.instance_type,
1267            fleet_type: self.fleet_type,
1268            compute_capacity: self.compute_capacity,
1269            vpc_config: self.vpc_config,
1270            max_user_duration_in_seconds: self.max_user_duration_in_seconds,
1271            disconnect_timeout_in_seconds: self.disconnect_timeout_in_seconds,
1272            description: self.description,
1273            display_name: self.display_name,
1274            enable_default_internet_access: self.enable_default_internet_access,
1275            domain_join_info: self.domain_join_info,
1276            tags: self.tags,
1277            idle_disconnect_timeout_in_seconds: self.idle_disconnect_timeout_in_seconds,
1278            iam_role_arn: self.iam_role_arn,
1279            stream_view: self.stream_view,
1280            platform: self.platform,
1281            max_concurrent_sessions: self.max_concurrent_sessions,
1282            usb_device_filter_strings: self.usb_device_filter_strings,
1283            session_script_s3_location: self.session_script_s3_location,
1284            max_sessions_per_instance: self.max_sessions_per_instance,
1285        })
1286    }
1287}