Skip to main content

cortexa_aws_appstream/generated/
client.rs

1//! codegen-checksum: 3fc17c1f7f4c6c4b
2//! Auto-generated executable typed client for AWS appstream.
3//! Do not edit manually.
4
5#![allow(
6    dead_code,
7    clippy::too_many_lines,
8    clippy::unused_async,
9    clippy::implicit_clone
10)]
11
12use cortexa_aws_core::client::AwsClient;
13use cortexa_aws_core::transport::{DefaultRuntime, Runtime};
14use cortexa_aws_errors::AwsError;
15
16use super::types::*;
17
18/// Auto-generated typed client covering all Smithy 2.0 operations for AWS `appstream`.
19#[derive(Debug)]
20#[repr(transparent)]
21pub struct GeneratedClient<R: Runtime = DefaultRuntime> {
22    client: AwsClient<R>,
23}
24
25impl<R: Runtime> Clone for GeneratedClient<R> {
26    fn clone(&self) -> Self {
27        Self {
28            client: self.client.clone(),
29        }
30    }
31}
32
33impl<R: Runtime> GeneratedClient<R> {
34    /// Creates a new [`GeneratedClient`] wrapping `client`.
35    #[must_use]
36    pub const fn new(client: AwsClient<R>) -> Self {
37        Self { client }
38    }
39
40    /// Returns a reference to the underlying [`AwsClient`].
41    #[must_use]
42    pub const fn inner(&self) -> &AwsClient<R> {
43        &self.client
44    }
45
46    /// Invokes AWS `AssociateAppBlockBuilderAppBlock` operation.
47    pub async fn associate_app_block_builder_app_block(
48        &self,
49        input: &AssociateAppBlockBuilderAppBlockRequest,
50    ) -> Result<AssociateAppBlockBuilderAppBlockResult, AwsError> {
51        cortexa_aws_protocols::invoke::invoke_aws_json(
52            &self.client,
53            "appstream2",
54            "appstream",
55            None,
56            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
57            "PhotonAdminProxyService.AssociateAppBlockBuilderAppBlock",
58            "AssociateAppBlockBuilderAppBlock",
59            input,
60        )
61        .await
62    }
63
64    /// Invokes AWS `AssociateApplicationFleet` operation.
65    pub async fn associate_application_fleet(
66        &self,
67        input: &AssociateApplicationFleetRequest,
68    ) -> Result<AssociateApplicationFleetResult, AwsError> {
69        cortexa_aws_protocols::invoke::invoke_aws_json(
70            &self.client,
71            "appstream2",
72            "appstream",
73            None,
74            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
75            "PhotonAdminProxyService.AssociateApplicationFleet",
76            "AssociateApplicationFleet",
77            input,
78        )
79        .await
80    }
81
82    /// Invokes AWS `AssociateApplicationToEntitlement` operation.
83    pub async fn associate_application_to_entitlement(
84        &self,
85        input: &AssociateApplicationToEntitlementRequest,
86    ) -> Result<AssociateApplicationToEntitlementResult, AwsError> {
87        cortexa_aws_protocols::invoke::invoke_aws_json(
88            &self.client,
89            "appstream2",
90            "appstream",
91            None,
92            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
93            "PhotonAdminProxyService.AssociateApplicationToEntitlement",
94            "AssociateApplicationToEntitlement",
95            input,
96        )
97        .await
98    }
99
100    /// Invokes AWS `AssociateFleet` operation.
101    pub async fn associate_fleet(
102        &self,
103        input: &AssociateFleetRequest,
104    ) -> Result<AssociateFleetResult, AwsError> {
105        cortexa_aws_protocols::invoke::invoke_aws_json(
106            &self.client,
107            "appstream2",
108            "appstream",
109            None,
110            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
111            "PhotonAdminProxyService.AssociateFleet",
112            "AssociateFleet",
113            input,
114        )
115        .await
116    }
117
118    /// Invokes AWS `AssociateSoftwareToImageBuilder` operation.
119    pub async fn associate_software_to_image_builder(
120        &self,
121        input: &AssociateSoftwareToImageBuilderRequest,
122    ) -> Result<AssociateSoftwareToImageBuilderResult, AwsError> {
123        cortexa_aws_protocols::invoke::invoke_aws_json(
124            &self.client,
125            "appstream2",
126            "appstream",
127            None,
128            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
129            "PhotonAdminProxyService.AssociateSoftwareToImageBuilder",
130            "AssociateSoftwareToImageBuilder",
131            input,
132        )
133        .await
134    }
135
136    /// Invokes AWS `BatchAssociateUserStack` operation.
137    pub async fn batch_associate_user_stack(
138        &self,
139        input: &BatchAssociateUserStackRequest,
140    ) -> Result<BatchAssociateUserStackResult, AwsError> {
141        cortexa_aws_protocols::invoke::invoke_aws_json(
142            &self.client,
143            "appstream2",
144            "appstream",
145            None,
146            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
147            "PhotonAdminProxyService.BatchAssociateUserStack",
148            "BatchAssociateUserStack",
149            input,
150        )
151        .await
152    }
153
154    /// Invokes AWS `BatchDisassociateUserStack` operation.
155    pub async fn batch_disassociate_user_stack(
156        &self,
157        input: &BatchDisassociateUserStackRequest,
158    ) -> Result<BatchDisassociateUserStackResult, AwsError> {
159        cortexa_aws_protocols::invoke::invoke_aws_json(
160            &self.client,
161            "appstream2",
162            "appstream",
163            None,
164            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
165            "PhotonAdminProxyService.BatchDisassociateUserStack",
166            "BatchDisassociateUserStack",
167            input,
168        )
169        .await
170    }
171
172    /// Invokes AWS `CopyImage` operation.
173    pub async fn copy_image(
174        &self,
175        input: &CopyImageRequest,
176    ) -> Result<CopyImageResponse, AwsError> {
177        cortexa_aws_protocols::invoke::invoke_aws_json(
178            &self.client,
179            "appstream2",
180            "appstream",
181            None,
182            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
183            "PhotonAdminProxyService.CopyImage",
184            "CopyImage",
185            input,
186        )
187        .await
188    }
189
190    /// Invokes AWS `CreateAppBlock` operation.
191    pub async fn create_app_block(
192        &self,
193        input: &CreateAppBlockRequest,
194    ) -> Result<CreateAppBlockResult, AwsError> {
195        cortexa_aws_protocols::invoke::invoke_aws_json(
196            &self.client,
197            "appstream2",
198            "appstream",
199            None,
200            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
201            "PhotonAdminProxyService.CreateAppBlock",
202            "CreateAppBlock",
203            input,
204        )
205        .await
206    }
207
208    /// Invokes AWS `CreateAppBlockBuilder` operation.
209    pub async fn create_app_block_builder(
210        &self,
211        input: &CreateAppBlockBuilderRequest,
212    ) -> Result<CreateAppBlockBuilderResult, AwsError> {
213        cortexa_aws_protocols::invoke::invoke_aws_json(
214            &self.client,
215            "appstream2",
216            "appstream",
217            None,
218            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
219            "PhotonAdminProxyService.CreateAppBlockBuilder",
220            "CreateAppBlockBuilder",
221            input,
222        )
223        .await
224    }
225
226    /// Invokes AWS `CreateAppBlockBuilderStreamingURL` operation.
227    pub async fn create_app_block_builder_streaming_url(
228        &self,
229        input: &CreateAppBlockBuilderStreamingUrlRequest,
230    ) -> Result<CreateAppBlockBuilderStreamingUrlResult, AwsError> {
231        cortexa_aws_protocols::invoke::invoke_aws_json(
232            &self.client,
233            "appstream2",
234            "appstream",
235            None,
236            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
237            "PhotonAdminProxyService.CreateAppBlockBuilderStreamingURL",
238            "CreateAppBlockBuilderStreamingURL",
239            input,
240        )
241        .await
242    }
243
244    /// Invokes AWS `CreateApplication` operation.
245    pub async fn create_application(
246        &self,
247        input: &CreateApplicationRequest,
248    ) -> Result<CreateApplicationResult, AwsError> {
249        cortexa_aws_protocols::invoke::invoke_aws_json(
250            &self.client,
251            "appstream2",
252            "appstream",
253            None,
254            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
255            "PhotonAdminProxyService.CreateApplication",
256            "CreateApplication",
257            input,
258        )
259        .await
260    }
261
262    /// Invokes AWS `CreateDirectoryConfig` operation.
263    pub async fn create_directory_config(
264        &self,
265        input: &CreateDirectoryConfigRequest,
266    ) -> Result<CreateDirectoryConfigResult, AwsError> {
267        cortexa_aws_protocols::invoke::invoke_aws_json(
268            &self.client,
269            "appstream2",
270            "appstream",
271            None,
272            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
273            "PhotonAdminProxyService.CreateDirectoryConfig",
274            "CreateDirectoryConfig",
275            input,
276        )
277        .await
278    }
279
280    /// Invokes AWS `CreateEntitlement` operation.
281    pub async fn create_entitlement(
282        &self,
283        input: &CreateEntitlementRequest,
284    ) -> Result<CreateEntitlementResult, AwsError> {
285        cortexa_aws_protocols::invoke::invoke_aws_json(
286            &self.client,
287            "appstream2",
288            "appstream",
289            None,
290            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
291            "PhotonAdminProxyService.CreateEntitlement",
292            "CreateEntitlement",
293            input,
294        )
295        .await
296    }
297
298    /// Invokes AWS `CreateExportImageTask` operation.
299    pub async fn create_export_image_task(
300        &self,
301        input: &CreateExportImageTaskRequest,
302    ) -> Result<CreateExportImageTaskResult, AwsError> {
303        cortexa_aws_protocols::invoke::invoke_aws_json(
304            &self.client,
305            "appstream2",
306            "appstream",
307            None,
308            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
309            "PhotonAdminProxyService.CreateExportImageTask",
310            "CreateExportImageTask",
311            input,
312        )
313        .await
314    }
315
316    /// Invokes AWS `CreateFleet` operation.
317    pub async fn create_fleet(
318        &self,
319        input: &CreateFleetRequest,
320    ) -> Result<CreateFleetResult, AwsError> {
321        cortexa_aws_protocols::invoke::invoke_aws_json(
322            &self.client,
323            "appstream2",
324            "appstream",
325            None,
326            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
327            "PhotonAdminProxyService.CreateFleet",
328            "CreateFleet",
329            input,
330        )
331        .await
332    }
333
334    /// Invokes AWS `CreateImageBuilder` operation.
335    pub async fn create_image_builder(
336        &self,
337        input: &CreateImageBuilderRequest,
338    ) -> Result<CreateImageBuilderResult, AwsError> {
339        cortexa_aws_protocols::invoke::invoke_aws_json(
340            &self.client,
341            "appstream2",
342            "appstream",
343            None,
344            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
345            "PhotonAdminProxyService.CreateImageBuilder",
346            "CreateImageBuilder",
347            input,
348        )
349        .await
350    }
351
352    /// Invokes AWS `CreateImageBuilderStreamingURL` operation.
353    pub async fn create_image_builder_streaming_url(
354        &self,
355        input: &CreateImageBuilderStreamingUrlRequest,
356    ) -> Result<CreateImageBuilderStreamingUrlResult, AwsError> {
357        cortexa_aws_protocols::invoke::invoke_aws_json(
358            &self.client,
359            "appstream2",
360            "appstream",
361            None,
362            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
363            "PhotonAdminProxyService.CreateImageBuilderStreamingURL",
364            "CreateImageBuilderStreamingURL",
365            input,
366        )
367        .await
368    }
369
370    /// Invokes AWS `CreateImportedImage` operation.
371    pub async fn create_imported_image(
372        &self,
373        input: &CreateImportedImageRequest,
374    ) -> Result<CreateImportedImageResult, AwsError> {
375        cortexa_aws_protocols::invoke::invoke_aws_json(
376            &self.client,
377            "appstream2",
378            "appstream",
379            None,
380            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
381            "PhotonAdminProxyService.CreateImportedImage",
382            "CreateImportedImage",
383            input,
384        )
385        .await
386    }
387
388    /// Invokes AWS `CreateStack` operation.
389    pub async fn create_stack(
390        &self,
391        input: &CreateStackRequest,
392    ) -> Result<CreateStackResult, AwsError> {
393        cortexa_aws_protocols::invoke::invoke_aws_json(
394            &self.client,
395            "appstream2",
396            "appstream",
397            None,
398            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
399            "PhotonAdminProxyService.CreateStack",
400            "CreateStack",
401            input,
402        )
403        .await
404    }
405
406    /// Invokes AWS `CreateStreamingURL` operation.
407    pub async fn create_streaming_url(
408        &self,
409        input: &CreateStreamingUrlRequest,
410    ) -> Result<CreateStreamingUrlResult, AwsError> {
411        cortexa_aws_protocols::invoke::invoke_aws_json(
412            &self.client,
413            "appstream2",
414            "appstream",
415            None,
416            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
417            "PhotonAdminProxyService.CreateStreamingURL",
418            "CreateStreamingURL",
419            input,
420        )
421        .await
422    }
423
424    /// Invokes AWS `CreateThemeForStack` operation.
425    pub async fn create_theme_for_stack(
426        &self,
427        input: &CreateThemeForStackRequest,
428    ) -> Result<CreateThemeForStackResult, AwsError> {
429        cortexa_aws_protocols::invoke::invoke_aws_json(
430            &self.client,
431            "appstream2",
432            "appstream",
433            None,
434            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
435            "PhotonAdminProxyService.CreateThemeForStack",
436            "CreateThemeForStack",
437            input,
438        )
439        .await
440    }
441
442    /// Invokes AWS `CreateUpdatedImage` operation.
443    pub async fn create_updated_image(
444        &self,
445        input: &CreateUpdatedImageRequest,
446    ) -> Result<CreateUpdatedImageResult, AwsError> {
447        cortexa_aws_protocols::invoke::invoke_aws_json(
448            &self.client,
449            "appstream2",
450            "appstream",
451            None,
452            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
453            "PhotonAdminProxyService.CreateUpdatedImage",
454            "CreateUpdatedImage",
455            input,
456        )
457        .await
458    }
459
460    /// Invokes AWS `CreateUsageReportSubscription` operation.
461    pub async fn create_usage_report_subscription(
462        &self,
463        input: &CreateUsageReportSubscriptionRequest,
464    ) -> Result<CreateUsageReportSubscriptionResult, AwsError> {
465        cortexa_aws_protocols::invoke::invoke_aws_json(
466            &self.client,
467            "appstream2",
468            "appstream",
469            None,
470            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
471            "PhotonAdminProxyService.CreateUsageReportSubscription",
472            "CreateUsageReportSubscription",
473            input,
474        )
475        .await
476    }
477
478    /// Invokes AWS `CreateUser` operation.
479    pub async fn create_user(
480        &self,
481        input: &CreateUserRequest,
482    ) -> Result<CreateUserResult, AwsError> {
483        cortexa_aws_protocols::invoke::invoke_aws_json(
484            &self.client,
485            "appstream2",
486            "appstream",
487            None,
488            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
489            "PhotonAdminProxyService.CreateUser",
490            "CreateUser",
491            input,
492        )
493        .await
494    }
495
496    /// Invokes AWS `DeleteAppBlock` operation.
497    pub async fn delete_app_block(
498        &self,
499        input: &DeleteAppBlockRequest,
500    ) -> Result<DeleteAppBlockResult, AwsError> {
501        cortexa_aws_protocols::invoke::invoke_aws_json(
502            &self.client,
503            "appstream2",
504            "appstream",
505            None,
506            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
507            "PhotonAdminProxyService.DeleteAppBlock",
508            "DeleteAppBlock",
509            input,
510        )
511        .await
512    }
513
514    /// Invokes AWS `DeleteAppBlockBuilder` operation.
515    pub async fn delete_app_block_builder(
516        &self,
517        input: &DeleteAppBlockBuilderRequest,
518    ) -> Result<DeleteAppBlockBuilderResult, AwsError> {
519        cortexa_aws_protocols::invoke::invoke_aws_json(
520            &self.client,
521            "appstream2",
522            "appstream",
523            None,
524            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
525            "PhotonAdminProxyService.DeleteAppBlockBuilder",
526            "DeleteAppBlockBuilder",
527            input,
528        )
529        .await
530    }
531
532    /// Invokes AWS `DeleteApplication` operation.
533    pub async fn delete_application(
534        &self,
535        input: &DeleteApplicationRequest,
536    ) -> Result<DeleteApplicationResult, AwsError> {
537        cortexa_aws_protocols::invoke::invoke_aws_json(
538            &self.client,
539            "appstream2",
540            "appstream",
541            None,
542            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
543            "PhotonAdminProxyService.DeleteApplication",
544            "DeleteApplication",
545            input,
546        )
547        .await
548    }
549
550    /// Invokes AWS `DeleteDirectoryConfig` operation.
551    pub async fn delete_directory_config(
552        &self,
553        input: &DeleteDirectoryConfigRequest,
554    ) -> Result<DeleteDirectoryConfigResult, AwsError> {
555        cortexa_aws_protocols::invoke::invoke_aws_json(
556            &self.client,
557            "appstream2",
558            "appstream",
559            None,
560            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
561            "PhotonAdminProxyService.DeleteDirectoryConfig",
562            "DeleteDirectoryConfig",
563            input,
564        )
565        .await
566    }
567
568    /// Invokes AWS `DeleteEntitlement` operation.
569    pub async fn delete_entitlement(
570        &self,
571        input: &DeleteEntitlementRequest,
572    ) -> Result<DeleteEntitlementResult, AwsError> {
573        cortexa_aws_protocols::invoke::invoke_aws_json(
574            &self.client,
575            "appstream2",
576            "appstream",
577            None,
578            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
579            "PhotonAdminProxyService.DeleteEntitlement",
580            "DeleteEntitlement",
581            input,
582        )
583        .await
584    }
585
586    /// Invokes AWS `DeleteFleet` operation.
587    pub async fn delete_fleet(
588        &self,
589        input: &DeleteFleetRequest,
590    ) -> Result<DeleteFleetResult, AwsError> {
591        cortexa_aws_protocols::invoke::invoke_aws_json(
592            &self.client,
593            "appstream2",
594            "appstream",
595            None,
596            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
597            "PhotonAdminProxyService.DeleteFleet",
598            "DeleteFleet",
599            input,
600        )
601        .await
602    }
603
604    /// Invokes AWS `DeleteImage` operation.
605    pub async fn delete_image(
606        &self,
607        input: &DeleteImageRequest,
608    ) -> Result<DeleteImageResult, AwsError> {
609        cortexa_aws_protocols::invoke::invoke_aws_json(
610            &self.client,
611            "appstream2",
612            "appstream",
613            None,
614            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
615            "PhotonAdminProxyService.DeleteImage",
616            "DeleteImage",
617            input,
618        )
619        .await
620    }
621
622    /// Invokes AWS `DeleteImageBuilder` operation.
623    pub async fn delete_image_builder(
624        &self,
625        input: &DeleteImageBuilderRequest,
626    ) -> Result<DeleteImageBuilderResult, AwsError> {
627        cortexa_aws_protocols::invoke::invoke_aws_json(
628            &self.client,
629            "appstream2",
630            "appstream",
631            None,
632            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
633            "PhotonAdminProxyService.DeleteImageBuilder",
634            "DeleteImageBuilder",
635            input,
636        )
637        .await
638    }
639
640    /// Invokes AWS `DeleteImagePermissions` operation.
641    pub async fn delete_image_permissions(
642        &self,
643        input: &DeleteImagePermissionsRequest,
644    ) -> Result<DeleteImagePermissionsResult, AwsError> {
645        cortexa_aws_protocols::invoke::invoke_aws_json(
646            &self.client,
647            "appstream2",
648            "appstream",
649            None,
650            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
651            "PhotonAdminProxyService.DeleteImagePermissions",
652            "DeleteImagePermissions",
653            input,
654        )
655        .await
656    }
657
658    /// Invokes AWS `DeleteStack` operation.
659    pub async fn delete_stack(
660        &self,
661        input: &DeleteStackRequest,
662    ) -> Result<DeleteStackResult, AwsError> {
663        cortexa_aws_protocols::invoke::invoke_aws_json(
664            &self.client,
665            "appstream2",
666            "appstream",
667            None,
668            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
669            "PhotonAdminProxyService.DeleteStack",
670            "DeleteStack",
671            input,
672        )
673        .await
674    }
675
676    /// Invokes AWS `DeleteThemeForStack` operation.
677    pub async fn delete_theme_for_stack(
678        &self,
679        input: &DeleteThemeForStackRequest,
680    ) -> Result<DeleteThemeForStackResult, AwsError> {
681        cortexa_aws_protocols::invoke::invoke_aws_json(
682            &self.client,
683            "appstream2",
684            "appstream",
685            None,
686            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
687            "PhotonAdminProxyService.DeleteThemeForStack",
688            "DeleteThemeForStack",
689            input,
690        )
691        .await
692    }
693
694    /// Invokes AWS `DeleteUsageReportSubscription` operation.
695    pub async fn delete_usage_report_subscription(
696        &self,
697        input: &DeleteUsageReportSubscriptionRequest,
698    ) -> Result<DeleteUsageReportSubscriptionResult, AwsError> {
699        cortexa_aws_protocols::invoke::invoke_aws_json(
700            &self.client,
701            "appstream2",
702            "appstream",
703            None,
704            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
705            "PhotonAdminProxyService.DeleteUsageReportSubscription",
706            "DeleteUsageReportSubscription",
707            input,
708        )
709        .await
710    }
711
712    /// Invokes AWS `DeleteUser` operation.
713    pub async fn delete_user(
714        &self,
715        input: &DeleteUserRequest,
716    ) -> Result<DeleteUserResult, AwsError> {
717        cortexa_aws_protocols::invoke::invoke_aws_json(
718            &self.client,
719            "appstream2",
720            "appstream",
721            None,
722            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
723            "PhotonAdminProxyService.DeleteUser",
724            "DeleteUser",
725            input,
726        )
727        .await
728    }
729
730    /// Invokes AWS `DescribeAppBlockBuilderAppBlockAssociations` operation.
731    pub async fn describe_app_block_builder_app_block_associations(
732        &self,
733        input: &DescribeAppBlockBuilderAppBlockAssociationsRequest,
734    ) -> Result<DescribeAppBlockBuilderAppBlockAssociationsResult, AwsError> {
735        cortexa_aws_protocols::invoke::invoke_aws_json(
736            &self.client,
737            "appstream2",
738            "appstream",
739            None,
740            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
741            "PhotonAdminProxyService.DescribeAppBlockBuilderAppBlockAssociations",
742            "DescribeAppBlockBuilderAppBlockAssociations",
743            input,
744        )
745        .await
746    }
747
748    /// Invokes AWS `DescribeAppBlockBuilders` operation.
749    pub async fn describe_app_block_builders(
750        &self,
751        input: &DescribeAppBlockBuildersRequest,
752    ) -> Result<DescribeAppBlockBuildersResult, AwsError> {
753        cortexa_aws_protocols::invoke::invoke_aws_json(
754            &self.client,
755            "appstream2",
756            "appstream",
757            None,
758            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
759            "PhotonAdminProxyService.DescribeAppBlockBuilders",
760            "DescribeAppBlockBuilders",
761            input,
762        )
763        .await
764    }
765
766    /// Invokes AWS `DescribeAppBlocks` operation.
767    pub async fn describe_app_blocks(
768        &self,
769        input: &DescribeAppBlocksRequest,
770    ) -> Result<DescribeAppBlocksResult, AwsError> {
771        cortexa_aws_protocols::invoke::invoke_aws_json(
772            &self.client,
773            "appstream2",
774            "appstream",
775            None,
776            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
777            "PhotonAdminProxyService.DescribeAppBlocks",
778            "DescribeAppBlocks",
779            input,
780        )
781        .await
782    }
783
784    /// Invokes AWS `DescribeAppLicenseUsage` operation.
785    pub async fn describe_app_license_usage(
786        &self,
787        input: &DescribeAppLicenseUsageRequest,
788    ) -> Result<DescribeAppLicenseUsageResult, AwsError> {
789        cortexa_aws_protocols::invoke::invoke_aws_json(
790            &self.client,
791            "appstream2",
792            "appstream",
793            None,
794            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
795            "PhotonAdminProxyService.DescribeAppLicenseUsage",
796            "DescribeAppLicenseUsage",
797            input,
798        )
799        .await
800    }
801
802    /// Invokes AWS `DescribeApplicationFleetAssociations` operation.
803    pub async fn describe_application_fleet_associations(
804        &self,
805        input: &DescribeApplicationFleetAssociationsRequest,
806    ) -> Result<DescribeApplicationFleetAssociationsResult, AwsError> {
807        cortexa_aws_protocols::invoke::invoke_aws_json(
808            &self.client,
809            "appstream2",
810            "appstream",
811            None,
812            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
813            "PhotonAdminProxyService.DescribeApplicationFleetAssociations",
814            "DescribeApplicationFleetAssociations",
815            input,
816        )
817        .await
818    }
819
820    /// Invokes AWS `DescribeApplications` operation.
821    pub async fn describe_applications(
822        &self,
823        input: &DescribeApplicationsRequest,
824    ) -> Result<DescribeApplicationsResult, AwsError> {
825        cortexa_aws_protocols::invoke::invoke_aws_json(
826            &self.client,
827            "appstream2",
828            "appstream",
829            None,
830            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
831            "PhotonAdminProxyService.DescribeApplications",
832            "DescribeApplications",
833            input,
834        )
835        .await
836    }
837
838    /// Invokes AWS `DescribeDirectoryConfigs` operation.
839    pub async fn describe_directory_configs(
840        &self,
841        input: &DescribeDirectoryConfigsRequest,
842    ) -> Result<DescribeDirectoryConfigsResult, AwsError> {
843        cortexa_aws_protocols::invoke::invoke_aws_json(
844            &self.client,
845            "appstream2",
846            "appstream",
847            None,
848            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
849            "PhotonAdminProxyService.DescribeDirectoryConfigs",
850            "DescribeDirectoryConfigs",
851            input,
852        )
853        .await
854    }
855
856    /// Invokes AWS `DescribeEntitlements` operation.
857    pub async fn describe_entitlements(
858        &self,
859        input: &DescribeEntitlementsRequest,
860    ) -> Result<DescribeEntitlementsResult, AwsError> {
861        cortexa_aws_protocols::invoke::invoke_aws_json(
862            &self.client,
863            "appstream2",
864            "appstream",
865            None,
866            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
867            "PhotonAdminProxyService.DescribeEntitlements",
868            "DescribeEntitlements",
869            input,
870        )
871        .await
872    }
873
874    /// Invokes AWS `DescribeFleets` operation.
875    pub async fn describe_fleets(
876        &self,
877        input: &DescribeFleetsRequest,
878    ) -> Result<DescribeFleetsResult, AwsError> {
879        cortexa_aws_protocols::invoke::invoke_aws_json(
880            &self.client,
881            "appstream2",
882            "appstream",
883            None,
884            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
885            "PhotonAdminProxyService.DescribeFleets",
886            "DescribeFleets",
887            input,
888        )
889        .await
890    }
891
892    /// Invokes AWS `DescribeImageBuilders` operation.
893    pub async fn describe_image_builders(
894        &self,
895        input: &DescribeImageBuildersRequest,
896    ) -> Result<DescribeImageBuildersResult, AwsError> {
897        cortexa_aws_protocols::invoke::invoke_aws_json(
898            &self.client,
899            "appstream2",
900            "appstream",
901            None,
902            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
903            "PhotonAdminProxyService.DescribeImageBuilders",
904            "DescribeImageBuilders",
905            input,
906        )
907        .await
908    }
909
910    /// Invokes AWS `DescribeImagePermissions` operation.
911    pub async fn describe_image_permissions(
912        &self,
913        input: &DescribeImagePermissionsRequest,
914    ) -> Result<DescribeImagePermissionsResult, AwsError> {
915        cortexa_aws_protocols::invoke::invoke_aws_json(
916            &self.client,
917            "appstream2",
918            "appstream",
919            None,
920            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
921            "PhotonAdminProxyService.DescribeImagePermissions",
922            "DescribeImagePermissions",
923            input,
924        )
925        .await
926    }
927
928    /// Invokes AWS `DescribeImages` operation.
929    pub async fn describe_images(
930        &self,
931        input: &DescribeImagesRequest,
932    ) -> Result<DescribeImagesResult, AwsError> {
933        cortexa_aws_protocols::invoke::invoke_aws_json(
934            &self.client,
935            "appstream2",
936            "appstream",
937            None,
938            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
939            "PhotonAdminProxyService.DescribeImages",
940            "DescribeImages",
941            input,
942        )
943        .await
944    }
945
946    /// Invokes AWS `DescribeSessions` operation.
947    pub async fn describe_sessions(
948        &self,
949        input: &DescribeSessionsRequest,
950    ) -> Result<DescribeSessionsResult, AwsError> {
951        cortexa_aws_protocols::invoke::invoke_aws_json(
952            &self.client,
953            "appstream2",
954            "appstream",
955            None,
956            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
957            "PhotonAdminProxyService.DescribeSessions",
958            "DescribeSessions",
959            input,
960        )
961        .await
962    }
963
964    /// Invokes AWS `DescribeSoftwareAssociations` operation.
965    pub async fn describe_software_associations(
966        &self,
967        input: &DescribeSoftwareAssociationsRequest,
968    ) -> Result<DescribeSoftwareAssociationsResult, AwsError> {
969        cortexa_aws_protocols::invoke::invoke_aws_json(
970            &self.client,
971            "appstream2",
972            "appstream",
973            None,
974            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
975            "PhotonAdminProxyService.DescribeSoftwareAssociations",
976            "DescribeSoftwareAssociations",
977            input,
978        )
979        .await
980    }
981
982    /// Invokes AWS `DescribeStacks` operation.
983    pub async fn describe_stacks(
984        &self,
985        input: &DescribeStacksRequest,
986    ) -> Result<DescribeStacksResult, AwsError> {
987        cortexa_aws_protocols::invoke::invoke_aws_json(
988            &self.client,
989            "appstream2",
990            "appstream",
991            None,
992            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
993            "PhotonAdminProxyService.DescribeStacks",
994            "DescribeStacks",
995            input,
996        )
997        .await
998    }
999
1000    /// Invokes AWS `DescribeThemeForStack` operation.
1001    pub async fn describe_theme_for_stack(
1002        &self,
1003        input: &DescribeThemeForStackRequest,
1004    ) -> Result<DescribeThemeForStackResult, AwsError> {
1005        cortexa_aws_protocols::invoke::invoke_aws_json(
1006            &self.client,
1007            "appstream2",
1008            "appstream",
1009            None,
1010            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1011            "PhotonAdminProxyService.DescribeThemeForStack",
1012            "DescribeThemeForStack",
1013            input,
1014        )
1015        .await
1016    }
1017
1018    /// Invokes AWS `DescribeUsageReportSubscriptions` operation.
1019    pub async fn describe_usage_report_subscriptions(
1020        &self,
1021        input: &DescribeUsageReportSubscriptionsRequest,
1022    ) -> Result<DescribeUsageReportSubscriptionsResult, AwsError> {
1023        cortexa_aws_protocols::invoke::invoke_aws_json(
1024            &self.client,
1025            "appstream2",
1026            "appstream",
1027            None,
1028            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1029            "PhotonAdminProxyService.DescribeUsageReportSubscriptions",
1030            "DescribeUsageReportSubscriptions",
1031            input,
1032        )
1033        .await
1034    }
1035
1036    /// Invokes AWS `DescribeUserStackAssociations` operation.
1037    pub async fn describe_user_stack_associations(
1038        &self,
1039        input: &DescribeUserStackAssociationsRequest,
1040    ) -> Result<DescribeUserStackAssociationsResult, AwsError> {
1041        cortexa_aws_protocols::invoke::invoke_aws_json(
1042            &self.client,
1043            "appstream2",
1044            "appstream",
1045            None,
1046            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1047            "PhotonAdminProxyService.DescribeUserStackAssociations",
1048            "DescribeUserStackAssociations",
1049            input,
1050        )
1051        .await
1052    }
1053
1054    /// Invokes AWS `DescribeUsers` operation.
1055    pub async fn describe_users(
1056        &self,
1057        input: &DescribeUsersRequest,
1058    ) -> Result<DescribeUsersResult, AwsError> {
1059        cortexa_aws_protocols::invoke::invoke_aws_json(
1060            &self.client,
1061            "appstream2",
1062            "appstream",
1063            None,
1064            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1065            "PhotonAdminProxyService.DescribeUsers",
1066            "DescribeUsers",
1067            input,
1068        )
1069        .await
1070    }
1071
1072    /// Invokes AWS `DisableUser` operation.
1073    pub async fn disable_user(
1074        &self,
1075        input: &DisableUserRequest,
1076    ) -> Result<DisableUserResult, AwsError> {
1077        cortexa_aws_protocols::invoke::invoke_aws_json(
1078            &self.client,
1079            "appstream2",
1080            "appstream",
1081            None,
1082            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1083            "PhotonAdminProxyService.DisableUser",
1084            "DisableUser",
1085            input,
1086        )
1087        .await
1088    }
1089
1090    /// Invokes AWS `DisassociateAppBlockBuilderAppBlock` operation.
1091    pub async fn disassociate_app_block_builder_app_block(
1092        &self,
1093        input: &DisassociateAppBlockBuilderAppBlockRequest,
1094    ) -> Result<DisassociateAppBlockBuilderAppBlockResult, AwsError> {
1095        cortexa_aws_protocols::invoke::invoke_aws_json(
1096            &self.client,
1097            "appstream2",
1098            "appstream",
1099            None,
1100            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1101            "PhotonAdminProxyService.DisassociateAppBlockBuilderAppBlock",
1102            "DisassociateAppBlockBuilderAppBlock",
1103            input,
1104        )
1105        .await
1106    }
1107
1108    /// Invokes AWS `DisassociateApplicationFleet` operation.
1109    pub async fn disassociate_application_fleet(
1110        &self,
1111        input: &DisassociateApplicationFleetRequest,
1112    ) -> Result<DisassociateApplicationFleetResult, AwsError> {
1113        cortexa_aws_protocols::invoke::invoke_aws_json(
1114            &self.client,
1115            "appstream2",
1116            "appstream",
1117            None,
1118            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1119            "PhotonAdminProxyService.DisassociateApplicationFleet",
1120            "DisassociateApplicationFleet",
1121            input,
1122        )
1123        .await
1124    }
1125
1126    /// Invokes AWS `DisassociateApplicationFromEntitlement` operation.
1127    pub async fn disassociate_application_from_entitlement(
1128        &self,
1129        input: &DisassociateApplicationFromEntitlementRequest,
1130    ) -> Result<DisassociateApplicationFromEntitlementResult, AwsError> {
1131        cortexa_aws_protocols::invoke::invoke_aws_json(
1132            &self.client,
1133            "appstream2",
1134            "appstream",
1135            None,
1136            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1137            "PhotonAdminProxyService.DisassociateApplicationFromEntitlement",
1138            "DisassociateApplicationFromEntitlement",
1139            input,
1140        )
1141        .await
1142    }
1143
1144    /// Invokes AWS `DisassociateFleet` operation.
1145    pub async fn disassociate_fleet(
1146        &self,
1147        input: &DisassociateFleetRequest,
1148    ) -> Result<DisassociateFleetResult, AwsError> {
1149        cortexa_aws_protocols::invoke::invoke_aws_json(
1150            &self.client,
1151            "appstream2",
1152            "appstream",
1153            None,
1154            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1155            "PhotonAdminProxyService.DisassociateFleet",
1156            "DisassociateFleet",
1157            input,
1158        )
1159        .await
1160    }
1161
1162    /// Invokes AWS `DisassociateSoftwareFromImageBuilder` operation.
1163    pub async fn disassociate_software_from_image_builder(
1164        &self,
1165        input: &DisassociateSoftwareFromImageBuilderRequest,
1166    ) -> Result<DisassociateSoftwareFromImageBuilderResult, AwsError> {
1167        cortexa_aws_protocols::invoke::invoke_aws_json(
1168            &self.client,
1169            "appstream2",
1170            "appstream",
1171            None,
1172            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1173            "PhotonAdminProxyService.DisassociateSoftwareFromImageBuilder",
1174            "DisassociateSoftwareFromImageBuilder",
1175            input,
1176        )
1177        .await
1178    }
1179
1180    /// Invokes AWS `DrainSessionInstance` operation.
1181    pub async fn drain_session_instance(
1182        &self,
1183        input: &DrainSessionInstanceRequest,
1184    ) -> Result<DrainSessionInstanceResult, AwsError> {
1185        cortexa_aws_protocols::invoke::invoke_aws_json(
1186            &self.client,
1187            "appstream2",
1188            "appstream",
1189            None,
1190            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1191            "PhotonAdminProxyService.DrainSessionInstance",
1192            "DrainSessionInstance",
1193            input,
1194        )
1195        .await
1196    }
1197
1198    /// Invokes AWS `EnableUser` operation.
1199    pub async fn enable_user(
1200        &self,
1201        input: &EnableUserRequest,
1202    ) -> Result<EnableUserResult, AwsError> {
1203        cortexa_aws_protocols::invoke::invoke_aws_json(
1204            &self.client,
1205            "appstream2",
1206            "appstream",
1207            None,
1208            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1209            "PhotonAdminProxyService.EnableUser",
1210            "EnableUser",
1211            input,
1212        )
1213        .await
1214    }
1215
1216    /// Invokes AWS `ExpireSession` operation.
1217    pub async fn expire_session(
1218        &self,
1219        input: &ExpireSessionRequest,
1220    ) -> Result<ExpireSessionResult, AwsError> {
1221        cortexa_aws_protocols::invoke::invoke_aws_json(
1222            &self.client,
1223            "appstream2",
1224            "appstream",
1225            None,
1226            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1227            "PhotonAdminProxyService.ExpireSession",
1228            "ExpireSession",
1229            input,
1230        )
1231        .await
1232    }
1233
1234    /// Invokes AWS `GetExportImageTask` operation.
1235    pub async fn get_export_image_task(
1236        &self,
1237        input: &GetExportImageTaskRequest,
1238    ) -> Result<GetExportImageTaskResult, AwsError> {
1239        cortexa_aws_protocols::invoke::invoke_aws_json(
1240            &self.client,
1241            "appstream2",
1242            "appstream",
1243            None,
1244            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1245            "PhotonAdminProxyService.GetExportImageTask",
1246            "GetExportImageTask",
1247            input,
1248        )
1249        .await
1250    }
1251
1252    /// Invokes AWS `ListAssociatedFleets` operation.
1253    pub async fn list_associated_fleets(
1254        &self,
1255        input: &ListAssociatedFleetsRequest,
1256    ) -> Result<ListAssociatedFleetsResult, AwsError> {
1257        cortexa_aws_protocols::invoke::invoke_aws_json(
1258            &self.client,
1259            "appstream2",
1260            "appstream",
1261            None,
1262            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1263            "PhotonAdminProxyService.ListAssociatedFleets",
1264            "ListAssociatedFleets",
1265            input,
1266        )
1267        .await
1268    }
1269
1270    /// Invokes AWS `ListAssociatedStacks` operation.
1271    pub async fn list_associated_stacks(
1272        &self,
1273        input: &ListAssociatedStacksRequest,
1274    ) -> Result<ListAssociatedStacksResult, AwsError> {
1275        cortexa_aws_protocols::invoke::invoke_aws_json(
1276            &self.client,
1277            "appstream2",
1278            "appstream",
1279            None,
1280            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1281            "PhotonAdminProxyService.ListAssociatedStacks",
1282            "ListAssociatedStacks",
1283            input,
1284        )
1285        .await
1286    }
1287
1288    /// Invokes AWS `ListEntitledApplications` operation.
1289    pub async fn list_entitled_applications(
1290        &self,
1291        input: &ListEntitledApplicationsRequest,
1292    ) -> Result<ListEntitledApplicationsResult, AwsError> {
1293        cortexa_aws_protocols::invoke::invoke_aws_json(
1294            &self.client,
1295            "appstream2",
1296            "appstream",
1297            None,
1298            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1299            "PhotonAdminProxyService.ListEntitledApplications",
1300            "ListEntitledApplications",
1301            input,
1302        )
1303        .await
1304    }
1305
1306    /// Invokes AWS `ListExportImageTasks` operation.
1307    pub async fn list_export_image_tasks(
1308        &self,
1309        input: &ListExportImageTasksRequest,
1310    ) -> Result<ListExportImageTasksResult, AwsError> {
1311        cortexa_aws_protocols::invoke::invoke_aws_json(
1312            &self.client,
1313            "appstream2",
1314            "appstream",
1315            None,
1316            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1317            "PhotonAdminProxyService.ListExportImageTasks",
1318            "ListExportImageTasks",
1319            input,
1320        )
1321        .await
1322    }
1323
1324    /// Invokes AWS `ListTagsForResource` operation.
1325    pub async fn list_tags_for_resource(
1326        &self,
1327        input: &ListTagsForResourceRequest,
1328    ) -> Result<ListTagsForResourceResponse, AwsError> {
1329        cortexa_aws_protocols::invoke::invoke_aws_json(
1330            &self.client,
1331            "appstream2",
1332            "appstream",
1333            None,
1334            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1335            "PhotonAdminProxyService.ListTagsForResource",
1336            "ListTagsForResource",
1337            input,
1338        )
1339        .await
1340    }
1341
1342    /// Invokes AWS `StartAppBlockBuilder` operation.
1343    pub async fn start_app_block_builder(
1344        &self,
1345        input: &StartAppBlockBuilderRequest,
1346    ) -> Result<StartAppBlockBuilderResult, AwsError> {
1347        cortexa_aws_protocols::invoke::invoke_aws_json(
1348            &self.client,
1349            "appstream2",
1350            "appstream",
1351            None,
1352            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1353            "PhotonAdminProxyService.StartAppBlockBuilder",
1354            "StartAppBlockBuilder",
1355            input,
1356        )
1357        .await
1358    }
1359
1360    /// Invokes AWS `StartFleet` operation.
1361    pub async fn start_fleet(
1362        &self,
1363        input: &StartFleetRequest,
1364    ) -> Result<StartFleetResult, AwsError> {
1365        cortexa_aws_protocols::invoke::invoke_aws_json(
1366            &self.client,
1367            "appstream2",
1368            "appstream",
1369            None,
1370            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1371            "PhotonAdminProxyService.StartFleet",
1372            "StartFleet",
1373            input,
1374        )
1375        .await
1376    }
1377
1378    /// Invokes AWS `StartImageBuilder` operation.
1379    pub async fn start_image_builder(
1380        &self,
1381        input: &StartImageBuilderRequest,
1382    ) -> Result<StartImageBuilderResult, AwsError> {
1383        cortexa_aws_protocols::invoke::invoke_aws_json(
1384            &self.client,
1385            "appstream2",
1386            "appstream",
1387            None,
1388            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1389            "PhotonAdminProxyService.StartImageBuilder",
1390            "StartImageBuilder",
1391            input,
1392        )
1393        .await
1394    }
1395
1396    /// Invokes AWS `StartSoftwareDeploymentToImageBuilder` operation.
1397    pub async fn start_software_deployment_to_image_builder(
1398        &self,
1399        input: &StartSoftwareDeploymentToImageBuilderRequest,
1400    ) -> Result<StartSoftwareDeploymentToImageBuilderResult, AwsError> {
1401        cortexa_aws_protocols::invoke::invoke_aws_json(
1402            &self.client,
1403            "appstream2",
1404            "appstream",
1405            None,
1406            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1407            "PhotonAdminProxyService.StartSoftwareDeploymentToImageBuilder",
1408            "StartSoftwareDeploymentToImageBuilder",
1409            input,
1410        )
1411        .await
1412    }
1413
1414    /// Invokes AWS `StopAppBlockBuilder` operation.
1415    pub async fn stop_app_block_builder(
1416        &self,
1417        input: &StopAppBlockBuilderRequest,
1418    ) -> Result<StopAppBlockBuilderResult, AwsError> {
1419        cortexa_aws_protocols::invoke::invoke_aws_json(
1420            &self.client,
1421            "appstream2",
1422            "appstream",
1423            None,
1424            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1425            "PhotonAdminProxyService.StopAppBlockBuilder",
1426            "StopAppBlockBuilder",
1427            input,
1428        )
1429        .await
1430    }
1431
1432    /// Invokes AWS `StopFleet` operation.
1433    pub async fn stop_fleet(&self, input: &StopFleetRequest) -> Result<StopFleetResult, AwsError> {
1434        cortexa_aws_protocols::invoke::invoke_aws_json(
1435            &self.client,
1436            "appstream2",
1437            "appstream",
1438            None,
1439            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1440            "PhotonAdminProxyService.StopFleet",
1441            "StopFleet",
1442            input,
1443        )
1444        .await
1445    }
1446
1447    /// Invokes AWS `StopImageBuilder` operation.
1448    pub async fn stop_image_builder(
1449        &self,
1450        input: &StopImageBuilderRequest,
1451    ) -> Result<StopImageBuilderResult, AwsError> {
1452        cortexa_aws_protocols::invoke::invoke_aws_json(
1453            &self.client,
1454            "appstream2",
1455            "appstream",
1456            None,
1457            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1458            "PhotonAdminProxyService.StopImageBuilder",
1459            "StopImageBuilder",
1460            input,
1461        )
1462        .await
1463    }
1464
1465    /// Invokes AWS `TagResource` operation.
1466    pub async fn tag_resource(
1467        &self,
1468        input: &TagResourceRequest,
1469    ) -> Result<TagResourceResponse, AwsError> {
1470        cortexa_aws_protocols::invoke::invoke_aws_json(
1471            &self.client,
1472            "appstream2",
1473            "appstream",
1474            None,
1475            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1476            "PhotonAdminProxyService.TagResource",
1477            "TagResource",
1478            input,
1479        )
1480        .await
1481    }
1482
1483    /// Invokes AWS `UntagResource` operation.
1484    pub async fn untag_resource(
1485        &self,
1486        input: &UntagResourceRequest,
1487    ) -> Result<UntagResourceResponse, AwsError> {
1488        cortexa_aws_protocols::invoke::invoke_aws_json(
1489            &self.client,
1490            "appstream2",
1491            "appstream",
1492            None,
1493            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1494            "PhotonAdminProxyService.UntagResource",
1495            "UntagResource",
1496            input,
1497        )
1498        .await
1499    }
1500
1501    /// Invokes AWS `UpdateAppBlockBuilder` operation.
1502    pub async fn update_app_block_builder(
1503        &self,
1504        input: &UpdateAppBlockBuilderRequest,
1505    ) -> Result<UpdateAppBlockBuilderResult, AwsError> {
1506        cortexa_aws_protocols::invoke::invoke_aws_json(
1507            &self.client,
1508            "appstream2",
1509            "appstream",
1510            None,
1511            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1512            "PhotonAdminProxyService.UpdateAppBlockBuilder",
1513            "UpdateAppBlockBuilder",
1514            input,
1515        )
1516        .await
1517    }
1518
1519    /// Invokes AWS `UpdateApplication` operation.
1520    pub async fn update_application(
1521        &self,
1522        input: &UpdateApplicationRequest,
1523    ) -> Result<UpdateApplicationResult, AwsError> {
1524        cortexa_aws_protocols::invoke::invoke_aws_json(
1525            &self.client,
1526            "appstream2",
1527            "appstream",
1528            None,
1529            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1530            "PhotonAdminProxyService.UpdateApplication",
1531            "UpdateApplication",
1532            input,
1533        )
1534        .await
1535    }
1536
1537    /// Invokes AWS `UpdateDirectoryConfig` operation.
1538    pub async fn update_directory_config(
1539        &self,
1540        input: &UpdateDirectoryConfigRequest,
1541    ) -> Result<UpdateDirectoryConfigResult, AwsError> {
1542        cortexa_aws_protocols::invoke::invoke_aws_json(
1543            &self.client,
1544            "appstream2",
1545            "appstream",
1546            None,
1547            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1548            "PhotonAdminProxyService.UpdateDirectoryConfig",
1549            "UpdateDirectoryConfig",
1550            input,
1551        )
1552        .await
1553    }
1554
1555    /// Invokes AWS `UpdateEntitlement` operation.
1556    pub async fn update_entitlement(
1557        &self,
1558        input: &UpdateEntitlementRequest,
1559    ) -> Result<UpdateEntitlementResult, AwsError> {
1560        cortexa_aws_protocols::invoke::invoke_aws_json(
1561            &self.client,
1562            "appstream2",
1563            "appstream",
1564            None,
1565            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1566            "PhotonAdminProxyService.UpdateEntitlement",
1567            "UpdateEntitlement",
1568            input,
1569        )
1570        .await
1571    }
1572
1573    /// Invokes AWS `UpdateFleet` operation.
1574    pub async fn update_fleet(
1575        &self,
1576        input: &UpdateFleetRequest,
1577    ) -> Result<UpdateFleetResult, AwsError> {
1578        cortexa_aws_protocols::invoke::invoke_aws_json(
1579            &self.client,
1580            "appstream2",
1581            "appstream",
1582            None,
1583            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1584            "PhotonAdminProxyService.UpdateFleet",
1585            "UpdateFleet",
1586            input,
1587        )
1588        .await
1589    }
1590
1591    /// Invokes AWS `UpdateImageBuilder` operation.
1592    pub async fn update_image_builder(
1593        &self,
1594        input: &UpdateImageBuilderRequest,
1595    ) -> Result<UpdateImageBuilderResult, AwsError> {
1596        cortexa_aws_protocols::invoke::invoke_aws_json(
1597            &self.client,
1598            "appstream2",
1599            "appstream",
1600            None,
1601            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1602            "PhotonAdminProxyService.UpdateImageBuilder",
1603            "UpdateImageBuilder",
1604            input,
1605        )
1606        .await
1607    }
1608
1609    /// Invokes AWS `UpdateImagePermissions` operation.
1610    pub async fn update_image_permissions(
1611        &self,
1612        input: &UpdateImagePermissionsRequest,
1613    ) -> Result<UpdateImagePermissionsResult, AwsError> {
1614        cortexa_aws_protocols::invoke::invoke_aws_json(
1615            &self.client,
1616            "appstream2",
1617            "appstream",
1618            None,
1619            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1620            "PhotonAdminProxyService.UpdateImagePermissions",
1621            "UpdateImagePermissions",
1622            input,
1623        )
1624        .await
1625    }
1626
1627    /// Invokes AWS `UpdateStack` operation.
1628    pub async fn update_stack(
1629        &self,
1630        input: &UpdateStackRequest,
1631    ) -> Result<UpdateStackResult, AwsError> {
1632        cortexa_aws_protocols::invoke::invoke_aws_json(
1633            &self.client,
1634            "appstream2",
1635            "appstream",
1636            None,
1637            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1638            "PhotonAdminProxyService.UpdateStack",
1639            "UpdateStack",
1640            input,
1641        )
1642        .await
1643    }
1644
1645    /// Invokes AWS `UpdateThemeForStack` operation.
1646    pub async fn update_theme_for_stack(
1647        &self,
1648        input: &UpdateThemeForStackRequest,
1649    ) -> Result<UpdateThemeForStackResult, AwsError> {
1650        cortexa_aws_protocols::invoke::invoke_aws_json(
1651            &self.client,
1652            "appstream2",
1653            "appstream",
1654            None,
1655            cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
1656            "PhotonAdminProxyService.UpdateThemeForStack",
1657            "UpdateThemeForStack",
1658            input,
1659        )
1660        .await
1661    }
1662}