Hi@Lakshminarayanan,
I am not able to understand the use case. You are trying to use aws cli command in boto3. But you can do all the tasks using boto3 syntax. For example, You are using AWS appstream command in AWS cli. You can do the same in boto3 also as shown below.
import boto3
client = boto3.client('appstream')
These are the available methods:
associate_fleet()
batch_associate_user_stack()
batch_disassociate_user_stack()
can_paginate()
copy_image()
create_directory_config()
create_fleet()
create_image_builder()
create_image_builder_streaming_url()
create_stack()
create_streaming_url()
create_usage_report_subscription()
create_user()
delete_directory_config()
delete_fleet()
delete_image()
delete_image_builder()
delete_image_permissions()
delete_stack()
delete_usage_report_subscription()
delete_user()
describe_directory_configs()
describe_fleets()
describe_image_builders()
describe_image_permissions()
describe_images()
describe_sessions()
describe_stacks()
describe_usage_report_subscriptions()
describe_user_stack_associations()
describe_users()
disable_user()
disassociate_fleet()
enable_user()
expire_session()
generate_presigned_url()
get_paginator()
get_waiter()
list_associated_fleets()
list_associated_stacks()
list_tags_for_resource()
start_fleet()
start_image_builder()
stop_fleet()
stop_image_builder()
tag_resource()
untag_resource()
update_directory_config()
update_fleet()
update_image_permissions()
update_stack()