{"note":"OpenAPI conversion -- returning structured metadata","name":"amazonaws-com-appstream","description":"Amazon AppStream","version":"2016-12-01","base_url":"","endpoints":79,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Amazon AppStream\n@version 2016-12-01\n@auth AWS SigV4\n@endpoints 79\n@hint download_for_search\n@toc root(79)\n\n@endpoint POST /\n@desc Associates the specified app block builder with the specified app block.\n@required {AppBlockArn: str, AppBlockBuilderName: str}\n@returns(200) {AppBlockBuilderAppBlockAssociation: AppBlockBuilderAppBlockAssociation?{AppBlockArn: str, AppBlockBuilderName: str}}\n\n@endpoint POST /\n@desc Associates the specified application with the specified fleet. This is only supported for Elastic fleets.\n@required {FleetName: str, ApplicationArn: str}\n@returns(200) {ApplicationFleetAssociation: ApplicationFleetAssociation?{FleetName: str, ApplicationArn: str}}\n\n@endpoint POST /\n@desc Associates an application to entitle.\n@required {StackName: str, EntitlementName: str, ApplicationIdentifier: str}\n\n@endpoint POST /\n@desc Associates the specified fleet with the specified stack.\n@required {FleetName: str, StackName: str}\n\n@endpoint POST /\n@desc Associates the specified users with the specified stacks. Users in a user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.\n@required {UserStackAssociations: [UserStackAssociation]}\n@returns(200) {errors: [UserStackAssociationError]?}\n\n@endpoint POST /\n@desc Disassociates the specified users from the specified stacks.\n@required {UserStackAssociations: [UserStackAssociation]}\n@returns(200) {errors: [UserStackAssociationError]?}\n\n@endpoint POST /\n@desc Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.\n@required {SourceImageName: str, DestinationImageName: str, DestinationRegion: str}\n@optional {DestinationImageDescription: str}\n@returns(200) {DestinationImageName: str?}\n\n@endpoint POST /\n@desc Creates an app block. App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block. This is only supported for Elastic fleets.\n@required {Name: str, SourceS3Location: S3Location}\n@optional {Description: str, DisplayName: str, SetupScriptDetails: ScriptDetails, Tags: map<str,str>, PostSetupScriptDetails: ScriptDetails, PackagingType: str}\n@returns(200) {AppBlock: AppBlock?{Name: str, Arn: str, Description: str?, DisplayName: str?, SourceS3Location: S3Location?{S3Bucket: str, S3Key: str?}, SetupScriptDetails: ScriptDetails?{ScriptS3Location: S3Location{S3Bucket: str, S3Key: str?}, ExecutablePath: str, ExecutableParameters: str?, TimeoutInSeconds: int}, CreatedTime: str(timestamp)?, PostSetupScriptDetails: ScriptDetails?{ScriptS3Location: S3Location{S3Bucket: str, S3Key: str?}, ExecutablePath: str, ExecutableParameters: str?, TimeoutInSeconds: int}, PackagingType: str?, State: str?, AppBlockErrors: [ErrorDetails]?}}\n\n@endpoint POST /\n@desc Creates an app block builder.\n@required {Name: str, Platform: str, InstanceType: str, VpcConfig: VpcConfig}\n@optional {Description: str, DisplayName: str, Tags: map<str,str>, EnableDefaultInternetAccess: bool, IamRoleArn: str, AccessEndpoints: [AccessEndpoint]}\n@returns(200) {AppBlockBuilder: AppBlockBuilder?{Arn: str, Name: str, DisplayName: str?, Description: str?, Platform: str, InstanceType: str, EnableDefaultInternetAccess: bool?, IamRoleArn: str?, VpcConfig: VpcConfig{SubnetIds: [str]?, SecurityGroupIds: [str]?}, State: str, CreatedTime: str(timestamp)?, AppBlockBuilderErrors: [ResourceError]?, StateChangeReason: AppBlockBuilderStateChangeReason?{Code: str?, Message: str?}, AccessEndpoints: [AccessEndpoint]?}}\n\n@endpoint POST /\n@desc Creates a URL to start a create app block builder streaming session.\n@required {AppBlockBuilderName: str}\n@optional {Validity: int(i64)}\n@returns(200) {StreamingURL: str?, Expires: str(timestamp)?}\n\n@endpoint POST /\n@desc Creates an application. Applications are an Amazon AppStream 2.0 resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch.  This is only supported for Elastic fleets.\n@required {Name: str, IconS3Location: S3Location, LaunchPath: str, Platforms: [str], InstanceFamilies: [str], AppBlockArn: str}\n@optional {DisplayName: str, Description: str, WorkingDirectory: str, LaunchParameters: str, Tags: map<str,str>}\n@returns(200) {Application: Application?{Name: str?, DisplayName: str?, IconURL: str?, LaunchPath: str?, LaunchParameters: str?, Enabled: bool?, Metadata: map<str,str>?, WorkingDirectory: str?, Description: str?, Arn: str?, AppBlockArn: str?, IconS3Location: S3Location?{S3Bucket: str, S3Key: str?}, Platforms: [str]?, InstanceFamilies: [str]?, CreatedTime: str(timestamp)?}}\n\n@endpoint POST /\n@desc Creates a Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.\n@required {DirectoryName: str, OrganizationalUnitDistinguishedNames: [str]}\n@optional {ServiceAccountCredentials: ServiceAccountCredentials, CertificateBasedAuthProperties: CertificateBasedAuthProperties}\n@returns(200) {DirectoryConfig: DirectoryConfig?{DirectoryName: str, OrganizationalUnitDistinguishedNames: [str]?, ServiceAccountCredentials: ServiceAccountCredentials?{AccountName: str, AccountPassword: str}, CreatedTime: str(timestamp)?, CertificateBasedAuthProperties: CertificateBasedAuthProperties?{Status: str?, CertificateAuthorityArn: str?}}}\n\n@endpoint POST /\n@desc Creates a new entitlement. Entitlements control access to specific applications within a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user identities. Amazon AppStream 2.0 user pool and streaming URL users are entitled to all applications in a stack. Entitlements don't apply to the desktop stream view application, or to applications managed by a dynamic app provider using the Dynamic Application Framework.\n@required {Name: str, StackName: str, AppVisibility: str, Attributes: [EntitlementAttribute]}\n@optional {Description: str}\n@returns(200) {Entitlement: Entitlement?{Name: str, StackName: str, Description: str?, AppVisibility: str, Attributes: [EntitlementAttribute], CreatedTime: str(timestamp)?, LastModifiedTime: str(timestamp)?}}\n\n@endpoint POST /\n@desc Creates a fleet. A fleet consists of streaming instances that your users access for their applications and desktops.\n@required {Name: str, InstanceType: str}\n@optional {ImageName: str, ImageArn: str, FleetType: str, ComputeCapacity: ComputeCapacity, VpcConfig: VpcConfig, MaxUserDurationInSeconds: int, DisconnectTimeoutInSeconds: int, Description: str, DisplayName: str, EnableDefaultInternetAccess: bool, DomainJoinInfo: DomainJoinInfo, Tags: map<str,str>, IdleDisconnectTimeoutInSeconds: int, IamRoleArn: str, StreamView: str, Platform: str, MaxConcurrentSessions: int, UsbDeviceFilterStrings: [str], SessionScriptS3Location: S3Location, MaxSessionsPerInstance: int}\n@returns(200) {Fleet: Fleet?{Arn: str, Name: str, DisplayName: str?, Description: str?, ImageName: str?, ImageArn: str?, InstanceType: str, FleetType: str?, ComputeCapacityStatus: ComputeCapacityStatus{Desired: int, Running: int?, InUse: int?, Available: int?, DesiredUserSessions: int?, AvailableUserSessions: int?, ActiveUserSessions: int?, ActualUserSessions: int?}, MaxUserDurationInSeconds: int?, DisconnectTimeoutInSeconds: int?, State: str, VpcConfig: VpcConfig?{SubnetIds: [str]?, SecurityGroupIds: [str]?}, CreatedTime: str(timestamp)?, FleetErrors: [FleetError]?, EnableDefaultInternetAccess: bool?, DomainJoinInfo: DomainJoinInfo?{DirectoryName: str?, OrganizationalUnitDistinguishedName: str?}, IdleDisconnectTimeoutInSeconds: int?, IamRoleArn: str?, StreamView: str?, Platform: str?, MaxConcurrentSessions: int?, UsbDeviceFilterStrings: [str]?, SessionScriptS3Location: S3Location?{S3Bucket: str, S3Key: str?}, MaxSessionsPerInstance: int?}}\n\n@endpoint POST /\n@desc Creates an image builder. An image builder is a virtual machine that is used to create an image. The initial state of the builder is PENDING. When it is ready, the state is RUNNING.\n@required {Name: str, InstanceType: str}\n@optional {ImageName: str, ImageArn: str, Description: str, DisplayName: str, VpcConfig: VpcConfig, IamRoleArn: str, EnableDefaultInternetAccess: bool, DomainJoinInfo: DomainJoinInfo, AppstreamAgentVersion: str, Tags: map<str,str>, AccessEndpoints: [AccessEndpoint]}\n@returns(200) {ImageBuilder: ImageBuilder?{Name: str, Arn: str?, ImageArn: str?, Description: str?, DisplayName: str?, VpcConfig: VpcConfig?{SubnetIds: [str]?, SecurityGroupIds: [str]?}, InstanceType: str?, Platform: str?, IamRoleArn: str?, State: str?, StateChangeReason: ImageBuilderStateChangeReason?{Code: str?, Message: str?}, CreatedTime: str(timestamp)?, EnableDefaultInternetAccess: bool?, DomainJoinInfo: DomainJoinInfo?{DirectoryName: str?, OrganizationalUnitDistinguishedName: str?}, NetworkAccessConfiguration: NetworkAccessConfiguration?{EniPrivateIpAddress: str?, EniId: str?}, ImageBuilderErrors: [ResourceError]?, AppstreamAgentVersion: str?, AccessEndpoints: [AccessEndpoint]?, LatestAppstreamAgentVersion: str?}}\n\n@endpoint POST /\n@desc Creates a URL to start an image builder streaming session.\n@required {Name: str}\n@optional {Validity: int(i64)}\n@returns(200) {StreamingURL: str?, Expires: str(timestamp)?}\n\n@endpoint POST /\n@desc Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.\n@required {Name: str}\n@optional {Description: str, DisplayName: str, StorageConnectors: [StorageConnector], RedirectURL: str, FeedbackURL: str, UserSettings: [UserSetting], ApplicationSettings: ApplicationSettings, Tags: map<str,str>, AccessEndpoints: [AccessEndpoint], EmbedHostDomains: [str], StreamingExperienceSettings: StreamingExperienceSettings}\n@returns(200) {Stack: Stack?{Arn: str?, Name: str, Description: str?, DisplayName: str?, CreatedTime: str(timestamp)?, StorageConnectors: [StorageConnector]?, RedirectURL: str?, FeedbackURL: str?, StackErrors: [StackError]?, UserSettings: [UserSetting]?, ApplicationSettings: ApplicationSettingsResponse?{Enabled: bool?, SettingsGroup: str?, S3BucketName: str?}, AccessEndpoints: [AccessEndpoint]?, EmbedHostDomains: [str]?, StreamingExperienceSettings: StreamingExperienceSettings?{PreferredProtocol: str?}}}\n\n@endpoint POST /\n@desc Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.\n@required {StackName: str, FleetName: str, UserId: str}\n@optional {ApplicationId: str, Validity: int(i64), SessionContext: str}\n@returns(200) {StreamingURL: str?, Expires: str(timestamp)?}\n\n@endpoint POST /\n@desc Creates custom branding that customizes the appearance of the streaming application catalog page.\n@required {StackName: str, TitleText: str, ThemeStyling: str, OrganizationLogoS3Location: S3Location, FaviconS3Location: S3Location}\n@optional {FooterLinks: [ThemeFooterLink]}\n@returns(200) {Theme: Theme?{StackName: str?, State: str?, ThemeTitleText: str?, ThemeStyling: str?, ThemeFooterLinks: [ThemeFooterLink]?, ThemeOrganizationLogoURL: str?, ThemeFaviconURL: str?, CreatedTime: str(timestamp)?}}\n\n@endpoint POST /\n@desc Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software. For more information, see the \"Update an Image by Using Managed AppStream 2.0 Image Updates\" section in Administer Your AppStream 2.0 Images, in the Amazon AppStream 2.0 Administration Guide.\n@required {existingImageName: str, newImageName: str}\n@optional {newImageDescription: str, newImageDisplayName: str, newImageTags: map<str,str>, dryRun: bool}\n@returns(200) {image: Image?{Name: str, Arn: str?, BaseImageArn: str?, DisplayName: str?, State: str?, Visibility: str?, ImageBuilderSupported: bool?, ImageBuilderName: str?, Platform: str?, Description: str?, StateChangeReason: ImageStateChangeReason?{Code: str?, Message: str?}, Applications: [Application]?, CreatedTime: str(timestamp)?, PublicBaseImageReleasedDate: str(timestamp)?, AppstreamAgentVersion: str?, ImagePermissions: ImagePermissions?{allowFleet: bool?, allowImageBuilder: bool?}, ImageErrors: [ResourceError]?, LatestAppstreamAgentVersion: str?, SupportedInstanceFamilies: [str]?, DynamicAppProvidersEnabled: str?, ImageSharedWithOthers: str?}, canUpdateImage: bool?}\n\n@endpoint POST /\n@desc Creates a usage report subscription. Usage reports are generated daily.\n@returns(200) {S3BucketName: str?, Schedule: str?}\n\n@endpoint POST /\n@desc Creates a new user in the user pool.\n@required {UserName: str, AuthenticationType: str}\n@optional {MessageAction: str, FirstName: str, LastName: str}\n\n@endpoint POST /\n@desc Deletes an app block.\n@required {Name: str}\n\n@endpoint POST /\n@desc Deletes an app block builder. An app block builder can only be deleted when it has no association with an app block.\n@required {Name: str}\n\n@endpoint POST /\n@desc Deletes an application.\n@required {Name: str}\n\n@endpoint POST /\n@desc Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.\n@required {DirectoryName: str}\n\n@endpoint POST /\n@desc Deletes the specified entitlement.\n@required {Name: str, StackName: str}\n\n@endpoint POST /\n@desc Deletes the specified fleet.\n@required {Name: str}\n\n@endpoint POST /\n@desc Deletes the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.\n@required {Name: str}\n@returns(200) {Image: Image?{Name: str, Arn: str?, BaseImageArn: str?, DisplayName: str?, State: str?, Visibility: str?, ImageBuilderSupported: bool?, ImageBuilderName: str?, Platform: str?, Description: str?, StateChangeReason: ImageStateChangeReason?{Code: str?, Message: str?}, Applications: [Application]?, CreatedTime: str(timestamp)?, PublicBaseImageReleasedDate: str(timestamp)?, AppstreamAgentVersion: str?, ImagePermissions: ImagePermissions?{allowFleet: bool?, allowImageBuilder: bool?}, ImageErrors: [ResourceError]?, LatestAppstreamAgentVersion: str?, SupportedInstanceFamilies: [str]?, DynamicAppProvidersEnabled: str?, ImageSharedWithOthers: str?}}\n\n@endpoint POST /\n@desc Deletes the specified image builder and releases the capacity.\n@required {Name: str}\n@returns(200) {ImageBuilder: ImageBuilder?{Name: str, Arn: str?, ImageArn: str?, Description: str?, DisplayName: str?, VpcConfig: VpcConfig?{SubnetIds: [str]?, SecurityGroupIds: [str]?}, InstanceType: str?, Platform: str?, IamRoleArn: str?, State: str?, StateChangeReason: ImageBuilderStateChangeReason?{Code: str?, Message: str?}, CreatedTime: str(timestamp)?, EnableDefaultInternetAccess: bool?, DomainJoinInfo: DomainJoinInfo?{DirectoryName: str?, OrganizationalUnitDistinguishedName: str?}, NetworkAccessConfiguration: NetworkAccessConfiguration?{EniPrivateIpAddress: str?, EniId: str?}, ImageBuilderErrors: [ResourceError]?, AppstreamAgentVersion: str?, AccessEndpoints: [AccessEndpoint]?, LatestAppstreamAgentVersion: str?}}\n\n@endpoint POST /\n@desc Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.\n@required {Name: str, SharedAccountId: str}\n\n@endpoint POST /\n@desc Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.\n@required {Name: str}\n\n@endpoint POST /\n@desc Deletes custom branding that customizes the appearance of the streaming application catalog page.\n@required {StackName: str}\n\n@endpoint POST /\n@desc Disables usage report generation.\n\n@endpoint POST /\n@desc Deletes a user from the user pool.\n@required {UserName: str, AuthenticationType: str}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more app block builder associations.\n@optional {AppBlockArn: str, AppBlockBuilderName: str, MaxResults: int, NextToken: str}\n@returns(200) {AppBlockBuilderAppBlockAssociations: [AppBlockBuilderAppBlockAssociation]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more app block builders.\n@optional {Names: [str], NextToken: str, MaxResults: int}\n@returns(200) {AppBlockBuilders: [AppBlockBuilder]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more app blocks.\n@optional {Arns: [str], NextToken: str, MaxResults: int}\n@returns(200) {AppBlocks: [AppBlock]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more application fleet associations. Either ApplicationArn or FleetName must be specified.\n@optional {FleetName: str, ApplicationArn: str, MaxResults: int, NextToken: str}\n@returns(200) {ApplicationFleetAssociations: [ApplicationFleetAssociation]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more applications.\n@optional {Arns: [str], NextToken: str, MaxResults: int}\n@returns(200) {Applications: [Application]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the configuration information required to join fleets and image builders to Microsoft Active Directory domains.  Although the response syntax in this topic includes the account password, this password is not returned in the actual response.\n@optional {DirectoryNames: [str], MaxResults: int, NextToken: str}\n@returns(200) {DirectoryConfigs: [DirectoryConfig]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one of more entitlements.\n@required {StackName: str}\n@optional {Name: str, NextToken: str, MaxResults: int}\n@returns(200) {Entitlements: [Entitlement]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.\n@optional {Names: [str], NextToken: str}\n@returns(200) {Fleets: [Fleet]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more specified image builders, if the image builder names are provided. Otherwise, all image builders in the account are described.\n@optional {Names: [str], MaxResults: int, NextToken: str}\n@returns(200) {ImageBuilders: [ImageBuilder]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.\n@required {Name: str}\n@optional {MaxResults: int, SharedAwsAccountIds: [str], NextToken: str}\n@returns(200) {Name: str?, SharedImagePermissionsList: [SharedImagePermissions]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided. Otherwise, all images in the account are described.\n@optional {Names: [str], Arns: [str], Type: str, NextToken: str, MaxResults: int}\n@returns(200) {Images: [Image]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a UserId is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.\n@required {StackName: str, FleetName: str}\n@optional {UserId: str, NextToken: str, Limit: int, AuthenticationType: str, InstanceId: str}\n@returns(200) {Sessions: [Session]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.\n@optional {Names: [str], NextToken: str}\n@returns(200) {Stacks: [Stack]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes the theme for a specified stack. A theme is custom branding that customizes the appearance of the streaming application catalog page.\n@required {StackName: str}\n@returns(200) {Theme: Theme?{StackName: str?, State: str?, ThemeTitleText: str?, ThemeStyling: str?, ThemeFooterLinks: [ThemeFooterLink]?, ThemeOrganizationLogoURL: str?, ThemeFaviconURL: str?, CreatedTime: str(timestamp)?}}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more usage report subscriptions.\n@optional {MaxResults: int, NextToken: str}\n@returns(200) {UsageReportSubscriptions: [UsageReportSubscription]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes the UserStackAssociation objects. You must specify either or both of the following:   The stack name   The user name (email address of the user associated with the stack) and the authentication type for the user\n@optional {StackName: str, UserName: str, AuthenticationType: str, MaxResults: int, NextToken: str}\n@returns(200) {UserStackAssociations: [UserStackAssociation]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list that describes one or more specified users in the user pool.\n@required {AuthenticationType: str}\n@optional {MaxResults: int, NextToken: str}\n@returns(200) {Users: [User]?, NextToken: str?}\n\n@endpoint POST /\n@desc Disables the specified user in the user pool. Users can't sign in to AppStream 2.0 until they are re-enabled. This action does not delete the user.\n@required {UserName: str, AuthenticationType: str}\n\n@endpoint POST /\n@desc Disassociates a specified app block builder from a specified app block.\n@required {AppBlockArn: str, AppBlockBuilderName: str}\n\n@endpoint POST /\n@desc Disassociates the specified application from the fleet.\n@required {FleetName: str, ApplicationArn: str}\n\n@endpoint POST /\n@desc Deletes the specified application from the specified entitlement.\n@required {StackName: str, EntitlementName: str, ApplicationIdentifier: str}\n\n@endpoint POST /\n@desc Disassociates the specified fleet from the specified stack.\n@required {FleetName: str, StackName: str}\n\n@endpoint POST /\n@desc Enables a user in the user pool. After being enabled, users can sign in to AppStream 2.0 and open applications from the stacks to which they are assigned.\n@required {UserName: str, AuthenticationType: str}\n\n@endpoint POST /\n@desc Immediately stops the specified streaming session.\n@required {SessionId: str}\n\n@endpoint POST /\n@desc Retrieves the name of the fleet that is associated with the specified stack.\n@required {StackName: str}\n@optional {NextToken: str}\n@returns(200) {Names: [str]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves the name of the stack with which the specified fleet is associated.\n@required {FleetName: str}\n@optional {NextToken: str}\n@returns(200) {Names: [str]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list of entitled applications.\n@required {StackName: str, EntitlementName: str}\n@optional {NextToken: str, MaxResults: int}\n@returns(200) {EntitledApplications: [EntitledApplication]?, NextToken: str?}\n\n@endpoint POST /\n@desc Retrieves a list of all tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.\n@required {ResourceArn: str}\n@returns(200) {Tags: map<str,str>?}\n\n@endpoint POST /\n@desc Starts an app block builder. An app block builder can only be started when it's associated with an app block. Starting an app block builder starts a new instance, which is equivalent to an elastic fleet instance with application builder assistance functionality.\n@required {Name: str}\n@returns(200) {AppBlockBuilder: AppBlockBuilder?{Arn: str, Name: str, DisplayName: str?, Description: str?, Platform: str, InstanceType: str, EnableDefaultInternetAccess: bool?, IamRoleArn: str?, VpcConfig: VpcConfig{SubnetIds: [str]?, SecurityGroupIds: [str]?}, State: str, CreatedTime: str(timestamp)?, AppBlockBuilderErrors: [ResourceError]?, StateChangeReason: AppBlockBuilderStateChangeReason?{Code: str?, Message: str?}, AccessEndpoints: [AccessEndpoint]?}}\n\n@endpoint POST /\n@desc Starts the specified fleet.\n@required {Name: str}\n\n@endpoint POST /\n@desc Starts the specified image builder.\n@required {Name: str}\n@optional {AppstreamAgentVersion: str}\n@returns(200) {ImageBuilder: ImageBuilder?{Name: str, Arn: str?, ImageArn: str?, Description: str?, DisplayName: str?, VpcConfig: VpcConfig?{SubnetIds: [str]?, SecurityGroupIds: [str]?}, InstanceType: str?, Platform: str?, IamRoleArn: str?, State: str?, StateChangeReason: ImageBuilderStateChangeReason?{Code: str?, Message: str?}, CreatedTime: str(timestamp)?, EnableDefaultInternetAccess: bool?, DomainJoinInfo: DomainJoinInfo?{DirectoryName: str?, OrganizationalUnitDistinguishedName: str?}, NetworkAccessConfiguration: NetworkAccessConfiguration?{EniPrivateIpAddress: str?, EniId: str?}, ImageBuilderErrors: [ResourceError]?, AppstreamAgentVersion: str?, AccessEndpoints: [AccessEndpoint]?, LatestAppstreamAgentVersion: str?}}\n\n@endpoint POST /\n@desc Stops an app block builder. Stopping an app block builder terminates the instance, and the instance state is not persisted.\n@required {Name: str}\n@returns(200) {AppBlockBuilder: AppBlockBuilder?{Arn: str, Name: str, DisplayName: str?, Description: str?, Platform: str, InstanceType: str, EnableDefaultInternetAccess: bool?, IamRoleArn: str?, VpcConfig: VpcConfig{SubnetIds: [str]?, SecurityGroupIds: [str]?}, State: str, CreatedTime: str(timestamp)?, AppBlockBuilderErrors: [ResourceError]?, StateChangeReason: AppBlockBuilderStateChangeReason?{Code: str?, Message: str?}, AccessEndpoints: [AccessEndpoint]?}}\n\n@endpoint POST /\n@desc Stops the specified fleet.\n@required {Name: str}\n\n@endpoint POST /\n@desc Stops the specified image builder.\n@required {Name: str}\n@returns(200) {ImageBuilder: ImageBuilder?{Name: str, Arn: str?, ImageArn: str?, Description: str?, DisplayName: str?, VpcConfig: VpcConfig?{SubnetIds: [str]?, SecurityGroupIds: [str]?}, InstanceType: str?, Platform: str?, IamRoleArn: str?, State: str?, StateChangeReason: ImageBuilderStateChangeReason?{Code: str?, Message: str?}, CreatedTime: str(timestamp)?, EnableDefaultInternetAccess: bool?, DomainJoinInfo: DomainJoinInfo?{DirectoryName: str?, OrganizationalUnitDistinguishedName: str?}, NetworkAccessConfiguration: NetworkAccessConfiguration?{EniPrivateIpAddress: str?, EniId: str?}, ImageBuilderErrors: [ResourceError]?, AppstreamAgentVersion: str?, AccessEndpoints: [AccessEndpoint]?, LatestAppstreamAgentVersion: str?}}\n\n@endpoint POST /\n@desc Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value. To list the current tags for your resources, use ListTagsForResource. To disassociate tags from your resources, use UntagResource. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.\n@required {ResourceArn: str, Tags: map<str,str>}\n\n@endpoint POST /\n@desc Disassociates one or more specified tags from the specified AppStream 2.0 resource. To list the current tags for your resources, use ListTagsForResource. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.\n@required {ResourceArn: str, TagKeys: [str]}\n\n@endpoint POST /\n@desc Updates an app block builder. If the app block builder is in the STARTING or STOPPING state, you can't update it. If the app block builder is in the RUNNING state, you can only update the DisplayName and Description. If the app block builder is in the STOPPED state, you can update any attribute except the Name.\n@required {Name: str}\n@optional {Description: str, DisplayName: str, Platform: str, InstanceType: str, VpcConfig: VpcConfig, EnableDefaultInternetAccess: bool, IamRoleArn: str, AccessEndpoints: [AccessEndpoint], AttributesToDelete: [str]}\n@returns(200) {AppBlockBuilder: AppBlockBuilder?{Arn: str, Name: str, DisplayName: str?, Description: str?, Platform: str, InstanceType: str, EnableDefaultInternetAccess: bool?, IamRoleArn: str?, VpcConfig: VpcConfig{SubnetIds: [str]?, SecurityGroupIds: [str]?}, State: str, CreatedTime: str(timestamp)?, AppBlockBuilderErrors: [ResourceError]?, StateChangeReason: AppBlockBuilderStateChangeReason?{Code: str?, Message: str?}, AccessEndpoints: [AccessEndpoint]?}}\n\n@endpoint POST /\n@desc Updates the specified application.\n@required {Name: str}\n@optional {DisplayName: str, Description: str, IconS3Location: S3Location, LaunchPath: str, WorkingDirectory: str, LaunchParameters: str, AppBlockArn: str, AttributesToDelete: [str]}\n@returns(200) {Application: Application?{Name: str?, DisplayName: str?, IconURL: str?, LaunchPath: str?, LaunchParameters: str?, Enabled: bool?, Metadata: map<str,str>?, WorkingDirectory: str?, Description: str?, Arn: str?, AppBlockArn: str?, IconS3Location: S3Location?{S3Bucket: str, S3Key: str?}, Platforms: [str]?, InstanceFamilies: [str]?, CreatedTime: str(timestamp)?}}\n\n@endpoint POST /\n@desc Updates the specified Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.\n@required {DirectoryName: str}\n@optional {OrganizationalUnitDistinguishedNames: [str], ServiceAccountCredentials: ServiceAccountCredentials, CertificateBasedAuthProperties: CertificateBasedAuthProperties}\n@returns(200) {DirectoryConfig: DirectoryConfig?{DirectoryName: str, OrganizationalUnitDistinguishedNames: [str]?, ServiceAccountCredentials: ServiceAccountCredentials?{AccountName: str, AccountPassword: str}, CreatedTime: str(timestamp)?, CertificateBasedAuthProperties: CertificateBasedAuthProperties?{Status: str?, CertificateAuthorityArn: str?}}}\n\n@endpoint POST /\n@desc Updates the specified entitlement.\n@required {Name: str, StackName: str}\n@optional {Description: str, AppVisibility: str, Attributes: [EntitlementAttribute]}\n@returns(200) {Entitlement: Entitlement?{Name: str, StackName: str, Description: str?, AppVisibility: str, Attributes: [EntitlementAttribute], CreatedTime: str(timestamp)?, LastModifiedTime: str(timestamp)?}}\n\n@endpoint POST /\n@desc Updates the specified fleet. If the fleet is in the STOPPED state, you can update any attribute except the fleet name. If the fleet is in the RUNNING state, you can update the following based on the fleet type:   Always-On and On-Demand fleet types You can update the DisplayName, ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, and DisconnectTimeoutInSeconds attributes.   Elastic fleet type You can update the DisplayName, IdleDisconnectTimeoutInSeconds, DisconnectTimeoutInSeconds, MaxConcurrentSessions, SessionScriptS3Location and UsbDeviceFilterStrings attributes.   If the fleet is in the STARTING or STOPPED state, you can't update it.\n@optional {ImageName: str, ImageArn: str, Name: str, InstanceType: str, ComputeCapacity: ComputeCapacity, VpcConfig: VpcConfig, MaxUserDurationInSeconds: int, DisconnectTimeoutInSeconds: int, DeleteVpcConfig: bool, Description: str, DisplayName: str, EnableDefaultInternetAccess: bool, DomainJoinInfo: DomainJoinInfo, IdleDisconnectTimeoutInSeconds: int, AttributesToDelete: [str], IamRoleArn: str, StreamView: str, Platform: str, MaxConcurrentSessions: int, UsbDeviceFilterStrings: [str], SessionScriptS3Location: S3Location, MaxSessionsPerInstance: int}\n@returns(200) {Fleet: Fleet?{Arn: str, Name: str, DisplayName: str?, Description: str?, ImageName: str?, ImageArn: str?, InstanceType: str, FleetType: str?, ComputeCapacityStatus: ComputeCapacityStatus{Desired: int, Running: int?, InUse: int?, Available: int?, DesiredUserSessions: int?, AvailableUserSessions: int?, ActiveUserSessions: int?, ActualUserSessions: int?}, MaxUserDurationInSeconds: int?, DisconnectTimeoutInSeconds: int?, State: str, VpcConfig: VpcConfig?{SubnetIds: [str]?, SecurityGroupIds: [str]?}, CreatedTime: str(timestamp)?, FleetErrors: [FleetError]?, EnableDefaultInternetAccess: bool?, DomainJoinInfo: DomainJoinInfo?{DirectoryName: str?, OrganizationalUnitDistinguishedName: str?}, IdleDisconnectTimeoutInSeconds: int?, IamRoleArn: str?, StreamView: str?, Platform: str?, MaxConcurrentSessions: int?, UsbDeviceFilterStrings: [str]?, SessionScriptS3Location: S3Location?{S3Bucket: str, S3Key: str?}, MaxSessionsPerInstance: int?}}\n\n@endpoint POST /\n@desc Adds or updates permissions for the specified private image.\n@required {Name: str, SharedAccountId: str, ImagePermissions: ImagePermissions}\n\n@endpoint POST /\n@desc Updates the specified fields for the specified stack.\n@required {Name: str}\n@optional {DisplayName: str, Description: str, StorageConnectors: [StorageConnector], DeleteStorageConnectors: bool, RedirectURL: str, FeedbackURL: str, AttributesToDelete: [str], UserSettings: [UserSetting], ApplicationSettings: ApplicationSettings, AccessEndpoints: [AccessEndpoint], EmbedHostDomains: [str], StreamingExperienceSettings: StreamingExperienceSettings}\n@returns(200) {Stack: Stack?{Arn: str?, Name: str, Description: str?, DisplayName: str?, CreatedTime: str(timestamp)?, StorageConnectors: [StorageConnector]?, RedirectURL: str?, FeedbackURL: str?, StackErrors: [StackError]?, UserSettings: [UserSetting]?, ApplicationSettings: ApplicationSettingsResponse?{Enabled: bool?, SettingsGroup: str?, S3BucketName: str?}, AccessEndpoints: [AccessEndpoint]?, EmbedHostDomains: [str]?, StreamingExperienceSettings: StreamingExperienceSettings?{PreferredProtocol: str?}}}\n\n@endpoint POST /\n@desc Updates custom branding that customizes the appearance of the streaming application catalog page.\n@required {StackName: str}\n@optional {FooterLinks: [ThemeFooterLink], TitleText: str, ThemeStyling: str, OrganizationLogoS3Location: S3Location, FaviconS3Location: S3Location, State: str, AttributesToDelete: [str]}\n@returns(200) {Theme: Theme?{StackName: str?, State: str?, ThemeTitleText: str?, ThemeStyling: str?, ThemeFooterLinks: [ThemeFooterLink]?, ThemeOrganizationLogoURL: str?, ThemeFaviconURL: str?, CreatedTime: str(timestamp)?}}\n\n@end\n"}