#![allow(
dead_code,
clippy::too_many_lines,
clippy::unused_async,
clippy::implicit_clone
)]
use cortexa_aws_core::client::AwsClient;
use cortexa_aws_core::transport::{DefaultRuntime, Runtime};
use cortexa_aws_errors::AwsError;
use super::types::*;
#[derive(Debug)]
#[repr(transparent)]
pub struct GeneratedClient<R: Runtime = DefaultRuntime> {
client: AwsClient<R>,
}
impl<R: Runtime> Clone for GeneratedClient<R> {
fn clone(&self) -> Self {
Self {
client: self.client.clone(),
}
}
}
impl<R: Runtime> GeneratedClient<R> {
#[must_use]
pub const fn new(client: AwsClient<R>) -> Self {
Self { client }
}
#[must_use]
pub const fn inner(&self) -> &AwsClient<R> {
&self.client
}
pub async fn associate_app_block_builder_app_block(
&self,
input: &AssociateAppBlockBuilderAppBlockRequest,
) -> Result<AssociateAppBlockBuilderAppBlockResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.AssociateAppBlockBuilderAppBlock",
"AssociateAppBlockBuilderAppBlock",
input,
)
.await
}
pub async fn associate_application_fleet(
&self,
input: &AssociateApplicationFleetRequest,
) -> Result<AssociateApplicationFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.AssociateApplicationFleet",
"AssociateApplicationFleet",
input,
)
.await
}
pub async fn associate_application_to_entitlement(
&self,
input: &AssociateApplicationToEntitlementRequest,
) -> Result<AssociateApplicationToEntitlementResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.AssociateApplicationToEntitlement",
"AssociateApplicationToEntitlement",
input,
)
.await
}
pub async fn associate_fleet(
&self,
input: &AssociateFleetRequest,
) -> Result<AssociateFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.AssociateFleet",
"AssociateFleet",
input,
)
.await
}
pub async fn associate_software_to_image_builder(
&self,
input: &AssociateSoftwareToImageBuilderRequest,
) -> Result<AssociateSoftwareToImageBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.AssociateSoftwareToImageBuilder",
"AssociateSoftwareToImageBuilder",
input,
)
.await
}
pub async fn batch_associate_user_stack(
&self,
input: &BatchAssociateUserStackRequest,
) -> Result<BatchAssociateUserStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.BatchAssociateUserStack",
"BatchAssociateUserStack",
input,
)
.await
}
pub async fn batch_disassociate_user_stack(
&self,
input: &BatchDisassociateUserStackRequest,
) -> Result<BatchDisassociateUserStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.BatchDisassociateUserStack",
"BatchDisassociateUserStack",
input,
)
.await
}
pub async fn copy_image(
&self,
input: &CopyImageRequest,
) -> Result<CopyImageResponse, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CopyImage",
"CopyImage",
input,
)
.await
}
pub async fn create_app_block(
&self,
input: &CreateAppBlockRequest,
) -> Result<CreateAppBlockResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateAppBlock",
"CreateAppBlock",
input,
)
.await
}
pub async fn create_app_block_builder(
&self,
input: &CreateAppBlockBuilderRequest,
) -> Result<CreateAppBlockBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateAppBlockBuilder",
"CreateAppBlockBuilder",
input,
)
.await
}
pub async fn create_app_block_builder_streaming_url(
&self,
input: &CreateAppBlockBuilderStreamingUrlRequest,
) -> Result<CreateAppBlockBuilderStreamingUrlResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateAppBlockBuilderStreamingURL",
"CreateAppBlockBuilderStreamingURL",
input,
)
.await
}
pub async fn create_application(
&self,
input: &CreateApplicationRequest,
) -> Result<CreateApplicationResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateApplication",
"CreateApplication",
input,
)
.await
}
pub async fn create_directory_config(
&self,
input: &CreateDirectoryConfigRequest,
) -> Result<CreateDirectoryConfigResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateDirectoryConfig",
"CreateDirectoryConfig",
input,
)
.await
}
pub async fn create_entitlement(
&self,
input: &CreateEntitlementRequest,
) -> Result<CreateEntitlementResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateEntitlement",
"CreateEntitlement",
input,
)
.await
}
pub async fn create_export_image_task(
&self,
input: &CreateExportImageTaskRequest,
) -> Result<CreateExportImageTaskResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateExportImageTask",
"CreateExportImageTask",
input,
)
.await
}
pub async fn create_fleet(
&self,
input: &CreateFleetRequest,
) -> Result<CreateFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateFleet",
"CreateFleet",
input,
)
.await
}
pub async fn create_image_builder(
&self,
input: &CreateImageBuilderRequest,
) -> Result<CreateImageBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateImageBuilder",
"CreateImageBuilder",
input,
)
.await
}
pub async fn create_image_builder_streaming_url(
&self,
input: &CreateImageBuilderStreamingUrlRequest,
) -> Result<CreateImageBuilderStreamingUrlResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateImageBuilderStreamingURL",
"CreateImageBuilderStreamingURL",
input,
)
.await
}
pub async fn create_imported_image(
&self,
input: &CreateImportedImageRequest,
) -> Result<CreateImportedImageResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateImportedImage",
"CreateImportedImage",
input,
)
.await
}
pub async fn create_stack(
&self,
input: &CreateStackRequest,
) -> Result<CreateStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateStack",
"CreateStack",
input,
)
.await
}
pub async fn create_streaming_url(
&self,
input: &CreateStreamingUrlRequest,
) -> Result<CreateStreamingUrlResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateStreamingURL",
"CreateStreamingURL",
input,
)
.await
}
pub async fn create_theme_for_stack(
&self,
input: &CreateThemeForStackRequest,
) -> Result<CreateThemeForStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateThemeForStack",
"CreateThemeForStack",
input,
)
.await
}
pub async fn create_updated_image(
&self,
input: &CreateUpdatedImageRequest,
) -> Result<CreateUpdatedImageResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateUpdatedImage",
"CreateUpdatedImage",
input,
)
.await
}
pub async fn create_usage_report_subscription(
&self,
input: &CreateUsageReportSubscriptionRequest,
) -> Result<CreateUsageReportSubscriptionResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateUsageReportSubscription",
"CreateUsageReportSubscription",
input,
)
.await
}
pub async fn create_user(
&self,
input: &CreateUserRequest,
) -> Result<CreateUserResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.CreateUser",
"CreateUser",
input,
)
.await
}
pub async fn delete_app_block(
&self,
input: &DeleteAppBlockRequest,
) -> Result<DeleteAppBlockResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteAppBlock",
"DeleteAppBlock",
input,
)
.await
}
pub async fn delete_app_block_builder(
&self,
input: &DeleteAppBlockBuilderRequest,
) -> Result<DeleteAppBlockBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteAppBlockBuilder",
"DeleteAppBlockBuilder",
input,
)
.await
}
pub async fn delete_application(
&self,
input: &DeleteApplicationRequest,
) -> Result<DeleteApplicationResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteApplication",
"DeleteApplication",
input,
)
.await
}
pub async fn delete_directory_config(
&self,
input: &DeleteDirectoryConfigRequest,
) -> Result<DeleteDirectoryConfigResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteDirectoryConfig",
"DeleteDirectoryConfig",
input,
)
.await
}
pub async fn delete_entitlement(
&self,
input: &DeleteEntitlementRequest,
) -> Result<DeleteEntitlementResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteEntitlement",
"DeleteEntitlement",
input,
)
.await
}
pub async fn delete_fleet(
&self,
input: &DeleteFleetRequest,
) -> Result<DeleteFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteFleet",
"DeleteFleet",
input,
)
.await
}
pub async fn delete_image(
&self,
input: &DeleteImageRequest,
) -> Result<DeleteImageResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteImage",
"DeleteImage",
input,
)
.await
}
pub async fn delete_image_builder(
&self,
input: &DeleteImageBuilderRequest,
) -> Result<DeleteImageBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteImageBuilder",
"DeleteImageBuilder",
input,
)
.await
}
pub async fn delete_image_permissions(
&self,
input: &DeleteImagePermissionsRequest,
) -> Result<DeleteImagePermissionsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteImagePermissions",
"DeleteImagePermissions",
input,
)
.await
}
pub async fn delete_stack(
&self,
input: &DeleteStackRequest,
) -> Result<DeleteStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteStack",
"DeleteStack",
input,
)
.await
}
pub async fn delete_theme_for_stack(
&self,
input: &DeleteThemeForStackRequest,
) -> Result<DeleteThemeForStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteThemeForStack",
"DeleteThemeForStack",
input,
)
.await
}
pub async fn delete_usage_report_subscription(
&self,
input: &DeleteUsageReportSubscriptionRequest,
) -> Result<DeleteUsageReportSubscriptionResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteUsageReportSubscription",
"DeleteUsageReportSubscription",
input,
)
.await
}
pub async fn delete_user(
&self,
input: &DeleteUserRequest,
) -> Result<DeleteUserResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DeleteUser",
"DeleteUser",
input,
)
.await
}
pub async fn describe_app_block_builder_app_block_associations(
&self,
input: &DescribeAppBlockBuilderAppBlockAssociationsRequest,
) -> Result<DescribeAppBlockBuilderAppBlockAssociationsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeAppBlockBuilderAppBlockAssociations",
"DescribeAppBlockBuilderAppBlockAssociations",
input,
)
.await
}
pub async fn describe_app_block_builders(
&self,
input: &DescribeAppBlockBuildersRequest,
) -> Result<DescribeAppBlockBuildersResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeAppBlockBuilders",
"DescribeAppBlockBuilders",
input,
)
.await
}
pub async fn describe_app_blocks(
&self,
input: &DescribeAppBlocksRequest,
) -> Result<DescribeAppBlocksResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeAppBlocks",
"DescribeAppBlocks",
input,
)
.await
}
pub async fn describe_app_license_usage(
&self,
input: &DescribeAppLicenseUsageRequest,
) -> Result<DescribeAppLicenseUsageResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeAppLicenseUsage",
"DescribeAppLicenseUsage",
input,
)
.await
}
pub async fn describe_application_fleet_associations(
&self,
input: &DescribeApplicationFleetAssociationsRequest,
) -> Result<DescribeApplicationFleetAssociationsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeApplicationFleetAssociations",
"DescribeApplicationFleetAssociations",
input,
)
.await
}
pub async fn describe_applications(
&self,
input: &DescribeApplicationsRequest,
) -> Result<DescribeApplicationsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeApplications",
"DescribeApplications",
input,
)
.await
}
pub async fn describe_directory_configs(
&self,
input: &DescribeDirectoryConfigsRequest,
) -> Result<DescribeDirectoryConfigsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeDirectoryConfigs",
"DescribeDirectoryConfigs",
input,
)
.await
}
pub async fn describe_entitlements(
&self,
input: &DescribeEntitlementsRequest,
) -> Result<DescribeEntitlementsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeEntitlements",
"DescribeEntitlements",
input,
)
.await
}
pub async fn describe_fleets(
&self,
input: &DescribeFleetsRequest,
) -> Result<DescribeFleetsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeFleets",
"DescribeFleets",
input,
)
.await
}
pub async fn describe_image_builders(
&self,
input: &DescribeImageBuildersRequest,
) -> Result<DescribeImageBuildersResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeImageBuilders",
"DescribeImageBuilders",
input,
)
.await
}
pub async fn describe_image_permissions(
&self,
input: &DescribeImagePermissionsRequest,
) -> Result<DescribeImagePermissionsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeImagePermissions",
"DescribeImagePermissions",
input,
)
.await
}
pub async fn describe_images(
&self,
input: &DescribeImagesRequest,
) -> Result<DescribeImagesResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeImages",
"DescribeImages",
input,
)
.await
}
pub async fn describe_sessions(
&self,
input: &DescribeSessionsRequest,
) -> Result<DescribeSessionsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeSessions",
"DescribeSessions",
input,
)
.await
}
pub async fn describe_software_associations(
&self,
input: &DescribeSoftwareAssociationsRequest,
) -> Result<DescribeSoftwareAssociationsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeSoftwareAssociations",
"DescribeSoftwareAssociations",
input,
)
.await
}
pub async fn describe_stacks(
&self,
input: &DescribeStacksRequest,
) -> Result<DescribeStacksResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeStacks",
"DescribeStacks",
input,
)
.await
}
pub async fn describe_theme_for_stack(
&self,
input: &DescribeThemeForStackRequest,
) -> Result<DescribeThemeForStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeThemeForStack",
"DescribeThemeForStack",
input,
)
.await
}
pub async fn describe_usage_report_subscriptions(
&self,
input: &DescribeUsageReportSubscriptionsRequest,
) -> Result<DescribeUsageReportSubscriptionsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeUsageReportSubscriptions",
"DescribeUsageReportSubscriptions",
input,
)
.await
}
pub async fn describe_user_stack_associations(
&self,
input: &DescribeUserStackAssociationsRequest,
) -> Result<DescribeUserStackAssociationsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeUserStackAssociations",
"DescribeUserStackAssociations",
input,
)
.await
}
pub async fn describe_users(
&self,
input: &DescribeUsersRequest,
) -> Result<DescribeUsersResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DescribeUsers",
"DescribeUsers",
input,
)
.await
}
pub async fn disable_user(
&self,
input: &DisableUserRequest,
) -> Result<DisableUserResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DisableUser",
"DisableUser",
input,
)
.await
}
pub async fn disassociate_app_block_builder_app_block(
&self,
input: &DisassociateAppBlockBuilderAppBlockRequest,
) -> Result<DisassociateAppBlockBuilderAppBlockResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DisassociateAppBlockBuilderAppBlock",
"DisassociateAppBlockBuilderAppBlock",
input,
)
.await
}
pub async fn disassociate_application_fleet(
&self,
input: &DisassociateApplicationFleetRequest,
) -> Result<DisassociateApplicationFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DisassociateApplicationFleet",
"DisassociateApplicationFleet",
input,
)
.await
}
pub async fn disassociate_application_from_entitlement(
&self,
input: &DisassociateApplicationFromEntitlementRequest,
) -> Result<DisassociateApplicationFromEntitlementResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DisassociateApplicationFromEntitlement",
"DisassociateApplicationFromEntitlement",
input,
)
.await
}
pub async fn disassociate_fleet(
&self,
input: &DisassociateFleetRequest,
) -> Result<DisassociateFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DisassociateFleet",
"DisassociateFleet",
input,
)
.await
}
pub async fn disassociate_software_from_image_builder(
&self,
input: &DisassociateSoftwareFromImageBuilderRequest,
) -> Result<DisassociateSoftwareFromImageBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DisassociateSoftwareFromImageBuilder",
"DisassociateSoftwareFromImageBuilder",
input,
)
.await
}
pub async fn drain_session_instance(
&self,
input: &DrainSessionInstanceRequest,
) -> Result<DrainSessionInstanceResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.DrainSessionInstance",
"DrainSessionInstance",
input,
)
.await
}
pub async fn enable_user(
&self,
input: &EnableUserRequest,
) -> Result<EnableUserResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.EnableUser",
"EnableUser",
input,
)
.await
}
pub async fn expire_session(
&self,
input: &ExpireSessionRequest,
) -> Result<ExpireSessionResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.ExpireSession",
"ExpireSession",
input,
)
.await
}
pub async fn get_export_image_task(
&self,
input: &GetExportImageTaskRequest,
) -> Result<GetExportImageTaskResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.GetExportImageTask",
"GetExportImageTask",
input,
)
.await
}
pub async fn list_associated_fleets(
&self,
input: &ListAssociatedFleetsRequest,
) -> Result<ListAssociatedFleetsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.ListAssociatedFleets",
"ListAssociatedFleets",
input,
)
.await
}
pub async fn list_associated_stacks(
&self,
input: &ListAssociatedStacksRequest,
) -> Result<ListAssociatedStacksResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.ListAssociatedStacks",
"ListAssociatedStacks",
input,
)
.await
}
pub async fn list_entitled_applications(
&self,
input: &ListEntitledApplicationsRequest,
) -> Result<ListEntitledApplicationsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.ListEntitledApplications",
"ListEntitledApplications",
input,
)
.await
}
pub async fn list_export_image_tasks(
&self,
input: &ListExportImageTasksRequest,
) -> Result<ListExportImageTasksResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.ListExportImageTasks",
"ListExportImageTasks",
input,
)
.await
}
pub async fn list_tags_for_resource(
&self,
input: &ListTagsForResourceRequest,
) -> Result<ListTagsForResourceResponse, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.ListTagsForResource",
"ListTagsForResource",
input,
)
.await
}
pub async fn start_app_block_builder(
&self,
input: &StartAppBlockBuilderRequest,
) -> Result<StartAppBlockBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.StartAppBlockBuilder",
"StartAppBlockBuilder",
input,
)
.await
}
pub async fn start_fleet(
&self,
input: &StartFleetRequest,
) -> Result<StartFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.StartFleet",
"StartFleet",
input,
)
.await
}
pub async fn start_image_builder(
&self,
input: &StartImageBuilderRequest,
) -> Result<StartImageBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.StartImageBuilder",
"StartImageBuilder",
input,
)
.await
}
pub async fn start_software_deployment_to_image_builder(
&self,
input: &StartSoftwareDeploymentToImageBuilderRequest,
) -> Result<StartSoftwareDeploymentToImageBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.StartSoftwareDeploymentToImageBuilder",
"StartSoftwareDeploymentToImageBuilder",
input,
)
.await
}
pub async fn stop_app_block_builder(
&self,
input: &StopAppBlockBuilderRequest,
) -> Result<StopAppBlockBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.StopAppBlockBuilder",
"StopAppBlockBuilder",
input,
)
.await
}
pub async fn stop_fleet(&self, input: &StopFleetRequest) -> Result<StopFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.StopFleet",
"StopFleet",
input,
)
.await
}
pub async fn stop_image_builder(
&self,
input: &StopImageBuilderRequest,
) -> Result<StopImageBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.StopImageBuilder",
"StopImageBuilder",
input,
)
.await
}
pub async fn tag_resource(
&self,
input: &TagResourceRequest,
) -> Result<TagResourceResponse, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.TagResource",
"TagResource",
input,
)
.await
}
pub async fn untag_resource(
&self,
input: &UntagResourceRequest,
) -> Result<UntagResourceResponse, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UntagResource",
"UntagResource",
input,
)
.await
}
pub async fn update_app_block_builder(
&self,
input: &UpdateAppBlockBuilderRequest,
) -> Result<UpdateAppBlockBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateAppBlockBuilder",
"UpdateAppBlockBuilder",
input,
)
.await
}
pub async fn update_application(
&self,
input: &UpdateApplicationRequest,
) -> Result<UpdateApplicationResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateApplication",
"UpdateApplication",
input,
)
.await
}
pub async fn update_directory_config(
&self,
input: &UpdateDirectoryConfigRequest,
) -> Result<UpdateDirectoryConfigResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateDirectoryConfig",
"UpdateDirectoryConfig",
input,
)
.await
}
pub async fn update_entitlement(
&self,
input: &UpdateEntitlementRequest,
) -> Result<UpdateEntitlementResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateEntitlement",
"UpdateEntitlement",
input,
)
.await
}
pub async fn update_fleet(
&self,
input: &UpdateFleetRequest,
) -> Result<UpdateFleetResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateFleet",
"UpdateFleet",
input,
)
.await
}
pub async fn update_image_builder(
&self,
input: &UpdateImageBuilderRequest,
) -> Result<UpdateImageBuilderResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateImageBuilder",
"UpdateImageBuilder",
input,
)
.await
}
pub async fn update_image_permissions(
&self,
input: &UpdateImagePermissionsRequest,
) -> Result<UpdateImagePermissionsResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateImagePermissions",
"UpdateImagePermissions",
input,
)
.await
}
pub async fn update_stack(
&self,
input: &UpdateStackRequest,
) -> Result<UpdateStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateStack",
"UpdateStack",
input,
)
.await
}
pub async fn update_theme_for_stack(
&self,
input: &UpdateThemeForStackRequest,
) -> Result<UpdateThemeForStackResult, AwsError> {
cortexa_aws_protocols::invoke::invoke_aws_json(
&self.client,
"appstream2",
"appstream",
None,
cortexa_aws_protocols::aws_json::AwsJsonVersion::V1_1,
"PhotonAdminProxyService.UpdateThemeForStack",
"UpdateThemeForStack",
input,
)
.await
}
}