GameLiftStreams / Client / delete_application
delete_application#
- GameLiftStreams.Client.delete_application(**kwargs)#
Permanently deletes an Amazon GameLift Streams application resource. This also deletes the application content files stored with Amazon GameLift Streams. However, this does not delete the original files that you uploaded to your Amazon S3 bucket; you can delete these any time after Amazon GameLift Streams creates an application, which is the only time Amazon GameLift Streams accesses your Amazon S3 bucket.
You can only delete an application that meets the following conditions:
The application is in
READY
orERROR
status. You cannot delete an application that’s inPROCESSING
orINITIALIZED
status.The application is not the default application of any stream groups. You must first delete the stream group by using DeleteStreamGroup.
The application is not linked to any stream groups. You must first unlink the stream group by using DisassociateApplications.
An application is not streaming in any ongoing stream session. You must wait until the client ends the stream session or call TerminateStreamSession to end the stream.
If any active stream groups exist for this application, this request returns a
ValidationException
.See also: AWS API Documentation
Request Syntax
response = client.delete_application( Identifier='string' )
- Parameters:
Identifier (string) –
[REQUIRED]
An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Format example: ARN-
arn:aws:gameliftstreams:us-west-2:123456789012:application/9ZY8X7Wv6
or ID-9ZY8X7Wv6
.- Returns:
None
Exceptions