2018/06/04 - Amazon AppStream - 3 updated api methods
Changes Amazon AppStream 2.0 adds support for Google Drive for G Suite. With this feature, customers will be able to connect their G Suite accounts with AppStream 2.0 and enable Google Drive access for an AppStream 2.0 stack. Users of the stack can then link their Google Drive using their G Suite login credentials and use their existing files stored in Drive with their AppStream 2.0 applications. File changes will be synced automatically to Google cloud.
{'StorageConnectors': {'ConnectorType': ['GOOGLE_DRIVE'], 'Domains': ['string']}}Response
{'Stack': {'StorageConnectors': {'ConnectorType': ['GOOGLE_DRIVE'], 'Domains': ['string']}}}
Creates a stack.
See also: AWS API Documentation
Request Syntax
client.create_stack( Name='string', Description='string', DisplayName='string', StorageConnectors=[ { 'ConnectorType': 'HOMEFOLDERS'|'GOOGLE_DRIVE', 'ResourceIdentifier': 'string', 'Domains': [ 'string', ] }, ], RedirectURL='string', FeedbackURL='string', UserSettings=[ { 'Action': 'CLIPBOARD_COPY_FROM_LOCAL_DEVICE'|'CLIPBOARD_COPY_TO_LOCAL_DEVICE'|'FILE_UPLOAD'|'FILE_DOWNLOAD'|'PRINTING_TO_LOCAL_DEVICE', 'Permission': 'ENABLED'|'DISABLED' }, ] )
string
[REQUIRED]
The name of the stack.
string
The description for display.
string
The stack name for display.
list
The storage connectors to enable.
(dict) --
Describes a connector to enable persistent storage for users.
ConnectorType (string) -- [REQUIRED]
The type of storage connector.
ResourceIdentifier (string) --
The ARN of the storage connector.
Domains (list) --
The names of the domains for the G Suite account.
(string) -- GSuite domain for GDrive integration.
string
The URL that users are redirected to after their streaming session ends.
string
The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
list
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
(dict) --
Describes an action and whether the action is enabled or disabled for users during their streaming sessions.
Action (string) -- [REQUIRED]
The action that is enabled or disabled.
Permission (string) -- [REQUIRED]
Indicates whether the action is enabled or disabled.
dict
Response Syntax
{ 'Stack': { 'Arn': 'string', 'Name': 'string', 'Description': 'string', 'DisplayName': 'string', 'CreatedTime': datetime(2015, 1, 1), 'StorageConnectors': [ { 'ConnectorType': 'HOMEFOLDERS'|'GOOGLE_DRIVE', 'ResourceIdentifier': 'string', 'Domains': [ 'string', ] }, ], 'RedirectURL': 'string', 'FeedbackURL': 'string', 'StackErrors': [ { 'ErrorCode': 'STORAGE_CONNECTOR_ERROR'|'INTERNAL_SERVICE_ERROR', 'ErrorMessage': 'string' }, ], 'UserSettings': [ { 'Action': 'CLIPBOARD_COPY_FROM_LOCAL_DEVICE'|'CLIPBOARD_COPY_TO_LOCAL_DEVICE'|'FILE_UPLOAD'|'FILE_DOWNLOAD'|'PRINTING_TO_LOCAL_DEVICE', 'Permission': 'ENABLED'|'DISABLED' }, ] } }
Response Structure
(dict) --
Stack (dict) --
Information about the stack.
Arn (string) --
The ARN of the stack.
Name (string) --
The name of the stack.
Description (string) --
The description for display.
DisplayName (string) --
The stack name for display.
CreatedTime (datetime) --
The time the stack was created.
StorageConnectors (list) --
The storage connectors to enable.
(dict) --
Describes a connector to enable persistent storage for users.
ConnectorType (string) --
The type of storage connector.
ResourceIdentifier (string) --
The ARN of the storage connector.
Domains (list) --
The names of the domains for the G Suite account.
(string) -- GSuite domain for GDrive integration.
RedirectURL (string) --
The URL that users are redirected to after their streaming session ends.
FeedbackURL (string) --
The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
StackErrors (list) --
The errors for the stack.
(dict) --
Describes a stack error.
ErrorCode (string) --
The error code.
ErrorMessage (string) --
The error message.
UserSettings (list) --
The actions that are enabled or disabled for users during their streaming sessions. By default these actions are enabled.
(dict) --
Describes an action and whether the action is enabled or disabled for users during their streaming sessions.
Action (string) --
The action that is enabled or disabled.
Permission (string) --
Indicates whether the action is enabled or disabled.
{'Stacks': {'StorageConnectors': {'ConnectorType': ['GOOGLE_DRIVE'], 'Domains': ['string']}}}
Describes the specified stacks or all stacks in the account.
See also: AWS API Documentation
Request Syntax
client.describe_stacks( Names=[ 'string', ], NextToken='string' )
list
The names of the stacks to describe.
(string) --
string
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
dict
Response Syntax
{ 'Stacks': [ { 'Arn': 'string', 'Name': 'string', 'Description': 'string', 'DisplayName': 'string', 'CreatedTime': datetime(2015, 1, 1), 'StorageConnectors': [ { 'ConnectorType': 'HOMEFOLDERS'|'GOOGLE_DRIVE', 'ResourceIdentifier': 'string', 'Domains': [ 'string', ] }, ], 'RedirectURL': 'string', 'FeedbackURL': 'string', 'StackErrors': [ { 'ErrorCode': 'STORAGE_CONNECTOR_ERROR'|'INTERNAL_SERVICE_ERROR', 'ErrorMessage': 'string' }, ], 'UserSettings': [ { 'Action': 'CLIPBOARD_COPY_FROM_LOCAL_DEVICE'|'CLIPBOARD_COPY_TO_LOCAL_DEVICE'|'FILE_UPLOAD'|'FILE_DOWNLOAD'|'PRINTING_TO_LOCAL_DEVICE', 'Permission': 'ENABLED'|'DISABLED' }, ] }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Stacks (list) --
Information about the stacks.
(dict) --
Describes a stack.
Arn (string) --
The ARN of the stack.
Name (string) --
The name of the stack.
Description (string) --
The description for display.
DisplayName (string) --
The stack name for display.
CreatedTime (datetime) --
The time the stack was created.
StorageConnectors (list) --
The storage connectors to enable.
(dict) --
Describes a connector to enable persistent storage for users.
ConnectorType (string) --
The type of storage connector.
ResourceIdentifier (string) --
The ARN of the storage connector.
Domains (list) --
The names of the domains for the G Suite account.
(string) -- GSuite domain for GDrive integration.
RedirectURL (string) --
The URL that users are redirected to after their streaming session ends.
FeedbackURL (string) --
The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
StackErrors (list) --
The errors for the stack.
(dict) --
Describes a stack error.
ErrorCode (string) --
The error code.
ErrorMessage (string) --
The error message.
UserSettings (list) --
The actions that are enabled or disabled for users during their streaming sessions. By default these actions are enabled.
(dict) --
Describes an action and whether the action is enabled or disabled for users during their streaming sessions.
Action (string) --
The action that is enabled or disabled.
Permission (string) --
Indicates whether the action is enabled or disabled.
NextToken (string) --
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
{'AttributesToDelete': ['STORAGE_CONNECTOR_HOMEFOLDERS', 'STORAGE_CONNECTOR_GOOGLE_DRIVE'], 'StorageConnectors': {'ConnectorType': ['GOOGLE_DRIVE'], 'Domains': ['string']}}Response
{'Stack': {'StorageConnectors': {'ConnectorType': ['GOOGLE_DRIVE'], 'Domains': ['string']}}}
Updates the specified stack.
See also: AWS API Documentation
Request Syntax
client.update_stack( DisplayName='string', Description='string', Name='string', StorageConnectors=[ { 'ConnectorType': 'HOMEFOLDERS'|'GOOGLE_DRIVE', 'ResourceIdentifier': 'string', 'Domains': [ 'string', ] }, ], DeleteStorageConnectors=True|False, RedirectURL='string', FeedbackURL='string', AttributesToDelete=[ 'STORAGE_CONNECTORS'|'STORAGE_CONNECTOR_HOMEFOLDERS'|'STORAGE_CONNECTOR_GOOGLE_DRIVE'|'REDIRECT_URL'|'FEEDBACK_URL'|'THEME_NAME'|'USER_SETTINGS', ], UserSettings=[ { 'Action': 'CLIPBOARD_COPY_FROM_LOCAL_DEVICE'|'CLIPBOARD_COPY_TO_LOCAL_DEVICE'|'FILE_UPLOAD'|'FILE_DOWNLOAD'|'PRINTING_TO_LOCAL_DEVICE', 'Permission': 'ENABLED'|'DISABLED' }, ] )
string
The stack name for display.
string
The description for display.
string
[REQUIRED]
The name of the stack.
list
The storage connectors to enable.
(dict) --
Describes a connector to enable persistent storage for users.
ConnectorType (string) -- [REQUIRED]
The type of storage connector.
ResourceIdentifier (string) --
The ARN of the storage connector.
Domains (list) --
The names of the domains for the G Suite account.
(string) -- GSuite domain for GDrive integration.
boolean
Deletes the storage connectors currently enabled for the stack.
string
The URL that users are redirected to after their streaming session ends.
string
The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
list
The stack attributes to delete.
(string) --
list
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
(dict) --
Describes an action and whether the action is enabled or disabled for users during their streaming sessions.
Action (string) -- [REQUIRED]
The action that is enabled or disabled.
Permission (string) -- [REQUIRED]
Indicates whether the action is enabled or disabled.
dict
Response Syntax
{ 'Stack': { 'Arn': 'string', 'Name': 'string', 'Description': 'string', 'DisplayName': 'string', 'CreatedTime': datetime(2015, 1, 1), 'StorageConnectors': [ { 'ConnectorType': 'HOMEFOLDERS'|'GOOGLE_DRIVE', 'ResourceIdentifier': 'string', 'Domains': [ 'string', ] }, ], 'RedirectURL': 'string', 'FeedbackURL': 'string', 'StackErrors': [ { 'ErrorCode': 'STORAGE_CONNECTOR_ERROR'|'INTERNAL_SERVICE_ERROR', 'ErrorMessage': 'string' }, ], 'UserSettings': [ { 'Action': 'CLIPBOARD_COPY_FROM_LOCAL_DEVICE'|'CLIPBOARD_COPY_TO_LOCAL_DEVICE'|'FILE_UPLOAD'|'FILE_DOWNLOAD'|'PRINTING_TO_LOCAL_DEVICE', 'Permission': 'ENABLED'|'DISABLED' }, ] } }
Response Structure
(dict) --
Stack (dict) --
Information about the stack.
Arn (string) --
The ARN of the stack.
Name (string) --
The name of the stack.
Description (string) --
The description for display.
DisplayName (string) --
The stack name for display.
CreatedTime (datetime) --
The time the stack was created.
StorageConnectors (list) --
The storage connectors to enable.
(dict) --
Describes a connector to enable persistent storage for users.
ConnectorType (string) --
The type of storage connector.
ResourceIdentifier (string) --
The ARN of the storage connector.
Domains (list) --
The names of the domains for the G Suite account.
(string) -- GSuite domain for GDrive integration.
RedirectURL (string) --
The URL that users are redirected to after their streaming session ends.
FeedbackURL (string) --
The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
StackErrors (list) --
The errors for the stack.
(dict) --
Describes a stack error.
ErrorCode (string) --
The error code.
ErrorMessage (string) --
The error message.
UserSettings (list) --
The actions that are enabled or disabled for users during their streaming sessions. By default these actions are enabled.
(dict) --
Describes an action and whether the action is enabled or disabled for users during their streaming sessions.
Action (string) --
The action that is enabled or disabled.
Permission (string) --
Indicates whether the action is enabled or disabled.