使用灵活的工作室示例 AWS CLI - AWS SDK代码示例

AWS 文档 AWS SDK示例 GitHub 存储库中还有更多SDK示例

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

使用灵活的工作室示例 AWS CLI

以下代码示例向您展示了如何使用 AWS Command Line Interface 与 Nimble Studio 配合使用来执行操作和实现常见场景。

操作是大型程序的代码摘录,必须在上下文中运行。您可以通过操作了解如何调用单个服务函数,还可以通过函数相关场景的上下文查看操作。

每个示例都包含一个指向完整源代码的链接,您可以在其中找到有关如何在上下文中设置和运行代码的说明。

主题

操作

以下代码示例演示如何使用 get-eula

AWS CLI

获取有关您的工作室的信息

以下get-eula示例列出了有关的信息EULA。

aws nimble get-eula \ --eula-id "EULAid"

输出:

{ "eula": { "content": "https://www.mozilla.org/en-US/MPL/2.0/", "createdAt": "2021-04-20T16:45:23+00:00", "eulaId": "gJZLygd-Srq_5NNbSfiaLg", "name": "Mozilla-FireFox", "updatedAt": "2021-04-20T16:45:23+00:00" } }

有关更多信息,请参阅 Amazon Nimble Studio 用户指南EULA中的接受

以下代码示例演示如何使用 get-launch-profile-details

AWS CLI

列出可用的小部件

以下get-launch-profile-details示例列出了有关启动配置文件的详细信息。

aws nimble get-launch-profile-details \ --studio-id "StudioID" \ --launch-profile-id "LaunchProfileID"

输出:

{ "launchProfile": { "arn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/yeG7lDwNQEiwNTRT7DrV7Q", "createdAt": "2022-01-27T21:18:59+00:00", "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", "description": "The Launch Profile for the Render workers created by StudioBuilder.", "ec2SubnetIds": [ "subnet-EXAMPLE11111" ], "launchProfileId": "yeG7lDwNQEiwNTRT7DrV7Q", "launchProfileProtocolVersions": [ "2021-03-31" ], "name": "RenderWorker-Default", "state": "READY", "statusCode": "LAUNCH_PROFILE_CREATED", "statusMessage": "Launch Profile has been created", "streamConfiguration": { "clipboardMode": "ENABLED", "ec2InstanceTypes": [ "g4dn.4xlarge", "g4dn.8xlarge" ], "maxSessionLengthInMinutes": 690, "maxStoppedSessionLengthInMinutes": 0, "streamingImageIds": [ "Cw_jXnp1QcSSXhE2hkNRoQ", "YGXAqgoWTnCNSV8VP20sHQ" ] }, "studioComponentIds": [ "_hR_-RaAReSOjAnLakbX7Q", "vQ5w_TbIRayPkAZgcbyYRA", "ZQuMxN99Qfa_Js6ma9TwdA", "45KjOSPPRzK2OyvpCuQ6qw" ], "tags": { "resourceArn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/yeG7lDwNQEiwNTRT7DrV7Q" }, "updatedAt": "2022-01-27T21:19:13+00:00", "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-00b98256b04d9e989", "validationResults": [ { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_SUBNET_ASSOCIATION" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_NETWORK_ACL_ASSOCIATION" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_SECURITY_GROUP_ASSOCIATION" } ] }, "streamingImages": [ { "arn": "arn:aws:nimble:us-west-2:123456789012:streaming-image/Cw_jXnp1QcSSXhE2hkNRoQ", "description": "Base windows image for NimbleStudio", "ec2ImageId": "ami-EXAMPLE11111", "eulaIds": [ "gJZLygd-Srq_5NNbSfiaLg", "ggK2eIw6RQyt8PIeeOlD3g", "a-D9Wc0VQCKUfxAinCDxaw", "RvoNmVXiSrS4LhLTb6ybkw", "wtp85BcSTa2NZeNRnMKdjw", "Rl-J0fM5Sl2hyIiwWIV6hw" ], "name": "NimbleStudioWindowsStreamImage", "owner": "amazon", "platform": "WINDOWS", "state": "READY", "streamingImageId": "Cw_jXnp1QcSSXhE2hkNRoQ", "tags": { "resourceArn": "arn:aws:nimble:us-west-2:123456789012:streaming-image/Cw_jXnp1QcSSXhE2hkNRoQ" } }, { "arn": "arn:aws:nimble:us-west-2:123456789012:streaming-image/YGXAqgoWTnCNSV8VP20sHQ", "description": "Base linux image for NimbleStudio", "ec2ImageId": "ami-EXAMPLE11111", "eulaIds": [ "gJZLygd-Srq_5NNbSfiaLg", "ggK2eIw6RQyt8PIeeOlD3g", "a-D9Wc0VQCKUfxAinCDxaw", "RvoNmVXiSrS4LhLTb6ybkw", "wtp85BcSTa2NZeNRnMKdjw", "Rl-J0fM5Sl2hyIiwWIV6hw" ], "name": "NimbleStudioLinuxStreamImage", "owner": "amazon", "platform": "LINUX", "state": "READY", "streamingImageId": "YGXAqgoWTnCNSV8VP20sHQ", "tags": { "resourceArn": "arn:aws:nimble:us-west-2:123456789012:streaming-image/YGXAqgoWTnCNSV8VP20sHQ" } } ], "studioComponentSummaries": [ { "description": "FSx for Windows", "name": "FSxWindows", "studioComponentId": "ZQuMxN99Qfa_Js6ma9TwdA", "subtype": "AMAZON_FSX_FOR_WINDOWS", "type": "SHARED_FILE_SYSTEM" }, { "description": "Instance configuration studio component.", "name": "InstanceConfiguration", "studioComponentId": "vQ5w_TbIRayPkAZgcbyYRA", "subtype": "CUSTOM", "type": "CUSTOM" }, { "name": "ActiveDirectory", "studioComponentId": "_hR_-RaAReSOjAnLakbX7Q", "subtype": "AWS_MANAGED_MICROSOFT_AD", "type": "ACTIVE_DIRECTORY" }, { "description": "Render farm running Deadline", "name": "RenderFarm", "studioComponentId": "45KjOSPPRzK2OyvpCuQ6qw", "subtype": "CUSTOM", "type": "COMPUTE_FARM" } ] }

有关更多信息,请参阅 Amazon Nimble Studio 用户指南中的创建启动配置文件

以下代码示例演示如何使用 get-launch-profile

AWS CLI

列出可用的小部件

以下get-launch-profile示例列出了有关启动配置文件的信息。

aws nimble get-launch-profile \ --studio-id "StudioID" \ --launch-profile-id "LaunchProfileID"

输出:

{ "launchProfile": { "arn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/yeG7lDwNQEiwNTRT7DrV7Q", "createdAt": "2022-01-27T21:18:59+00:00", "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", "description": "The Launch Profile for the Render workers created by StudioBuilder.", "ec2SubnetIds": [ "subnet-EXAMPLE11111" ], "launchProfileId": "yeG7lDwNQEiwNTRT7DrV7Q", "launchProfileProtocolVersions": [ "2021-03-31" ], "name": "RenderWorker-Default", "state": "READY", "statusCode": "LAUNCH_PROFILE_CREATED", "statusMessage": "Launch Profile has been created", "streamConfiguration": { "clipboardMode": "ENABLED", "ec2InstanceTypes": [ "g4dn.4xlarge", "g4dn.8xlarge" ], "maxSessionLengthInMinutes": 690, "maxStoppedSessionLengthInMinutes": 0, "streamingImageIds": [ "Cw_jXnp1QcSSXhE2hkNRoQ", "YGXAqgoWTnCNSV8VP20sHQ" ] }, "studioComponentIds": [ "_hR_-RaAReSOjAnLakbX7Q", "vQ5w_TbIRayPkAZgcbyYRA", "ZQuMxN99Qfa_Js6ma9TwdA", "45KjOSPPRzK2OyvpCuQ6qw" ], "tags": {}, "updatedAt": "2022-01-27T21:19:13+00:00", "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-00b98256b04d9e989", "validationResults": [ { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_SUBNET_ASSOCIATION" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_NETWORK_ACL_ASSOCIATION" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_SECURITY_GROUP_ASSOCIATION" } ] } }

有关更多信息,请参阅 Amazon Nimble Studio 用户指南中的创建启动配置文件

以下代码示例演示如何使用 get-studio

AWS CLI

获取有关您的工作室的信息

以下get-studio示例列出了您 AWS 账户中的工作室。

aws nimble get-studio \ --studio-id "StudioID"

输出:

{ "studio": { "adminRoleArn": "arn:aws:iam::123456789012:role/studio-admin-role", "arn": "arn:aws:nimble:us-west-2:123456789012:studio/stid-EXAMPLE11111", "createdAt": "2022-01-27T20:29:35+00:00", "displayName": "studio-name", "homeRegion": "us-west-2", "ssoClientId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "state": "READY", "statusCode": "STUDIO_CREATED", "statusMessage": "The studio has been created successfully ", "studioEncryptionConfiguration": { "keyType": "AWS_OWNED_KEY" }, "studioId": "us-west-2:stid-EXAMPLE11111", "studioName": "studio-name", "studioUrl": "https://studio-name.nimblestudio.us-west-2.amazonaws.com", "tags": {}, "updatedAt": "2022-01-27T20:29:37+00:00", "userRoleArn": "arn:aws:iam::123456789012:role/studio-user-role" } }

有关更多信息,请参阅什么是 Amazon Nimble Studio? 在 Amazon Nimble Studio 用户指南中。

以下代码示例演示如何使用 list-eula-acceptances

AWS CLI

列出可用的小部件

以下list-eula-acceptances示例列出了您的 AWS 账户EULAs中已接受的内容。

aws nimble list-eula-acceptances \ --studio-id "StudioID"

输出:

{ "eulaAcceptances": [ { "acceptedAt": "2022-01-28T17:44:35+00:00", "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", "eulaAcceptanceId": "V0JlpZQaSx6yHcUuX0qfQw", "eulaId": "Rl-J0fM5Sl2hyIiwWIV6hw" }, { "acceptedAt": "2022-01-28T17:44:35+00:00", "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", "eulaAcceptanceId": "YY_uDFW-SVibc627qbug0Q", "eulaId": "RvoNmVXiSrS4LhLTb6ybkw" }, { "acceptedAt": "2022-01-28T17:44:35+00:00", "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", "eulaAcceptanceId": "ovO87PnhQ4-MpttiL5uN6Q", "eulaId": "a-D9Wc0VQCKUfxAinCDxaw" }, { "acceptedAt": "2022-01-28T17:44:35+00:00", "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", "eulaAcceptanceId": "5YeXje4yROamuTESGvqIAQ", "eulaId": "gJZLygd-Srq_5NNbSfiaLg" }, { "acceptedAt": "2022-01-28T17:44:35+00:00", "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", "eulaAcceptanceId": "W1sIn8PtScqeJEn8sxxhgw", "eulaId": "ggK2eIw6RQyt8PIeeOlD3g" }, { "acceptedAt": "2022-01-28T17:44:35+00:00", "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", "eulaAcceptanceId": "Zq9KNEQPRMWJ7FolSoQgUA", "eulaId": "wtp85BcSTa2NZeNRnMKdjw" } ] }

有关更多信息,请参阅 Amazon Nimble Studio 用户指南EULA中的接受

以下代码示例演示如何使用 list-eulas

AWS CLI

列出可用的小部件

以下list-eulas示例列出了您 AWS 账户EULAs中的。

aws nimble list-eulas

输出:

{ "eulas": [ { "content": "https://www.mozilla.org/en-US/MPL/2.0/", "createdAt": "2021-04-20T16:45:23+00:00", "eulaId": "gJZLygd-Srq_5NNbSfiaLg", "name": "Mozilla-FireFox", "updatedAt": "2021-04-20T16:45:23+00:00" }, { "content": "https://www.awsthinkbox.com/end-user-license-agreement", "createdAt": "2021-04-20T16:45:24+00:00", "eulaId": "RvoNmVXiSrS4LhLTb6ybkw", "name": "Thinkbox-Deadline", "updatedAt": "2021-04-20T16:45:24+00:00" }, { "content": "https://www.videolan.org/legal.html", "createdAt": "2021-04-20T16:45:24+00:00", "eulaId": "Rl-J0fM5Sl2hyIiwWIV6hw", "name": "Videolan-VLC", "updatedAt": "2021-04-20T16:45:24+00:00" }, { "content": "https://code.visualstudio.com/license", "createdAt": "2021-04-20T16:45:23+00:00", "eulaId": "ggK2eIw6RQyt8PIeeOlD3g", "name": "Microsoft-VSCode", "updatedAt": "2021-04-20T16:45:23+00:00" }, { "content": "https://darbyjohnston.github.io/DJV/legal.html#License", "createdAt": "2021-04-20T16:45:23+00:00", "eulaId": "wtp85BcSTa2NZeNRnMKdjw", "name": "DJV-DJV", "updatedAt": "2021-04-20T16:45:23+00:00" }, { "content": "https://www.sidefx.com/legal/license-agreement/", "createdAt": "2021-04-20T16:45:24+00:00", "eulaId": "uu2VDLo-QJeIGWWLBae_UA", "name": "SideFX-Houdini", "updatedAt": "2021-04-20T16:45:24+00:00" }, { "content": "https://www.chaosgroup.com/eula", "createdAt": "2021-04-20T16:45:23+00:00", "eulaId": "L0HS4P3CRYKVXc2J2LO7Vw", "name": "ChaosGroup-Vray", "updatedAt": "2021-04-20T16:45:23+00:00" }, { "content": "https://www.foundry.com/eula", "createdAt": "2021-04-20T16:45:23+00:00", "eulaId": "SAuhfHmmSAeUuq3wsMiMlw", "name": "Foundry-Nuke", "updatedAt": "2021-04-20T16:45:23+00:00" }, { "content": "https://download.blender.org/release/GPL3-license.txt", "createdAt": "2021-04-20T16:45:23+00:00", "eulaId": "a-D9Wc0VQCKUfxAinCDxaw", "name": "BlenderFoundation-Blender", "updatedAt": "2021-04-20T16:45:23+00:00" } ] }

有关更多信息,请参阅 Amazon Nimble Studio 用户指南EULA中的接受

以下代码示例演示如何使用 list-launch-profiles

AWS CLI

列出可用的小部件

以下list-launch-profiles示例列出了您 AWS 账户中的启动配置文件。

aws nimble list-launch-profiles \ --studio-id "StudioID"

输出:

{ "launchProfiles": [ { "arn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/yeG7lDwNQEiwNTRT7DrV7Q", "createdAt": "2022-01-27T21:18:59+00:00", "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", "description": "The Launch Profile for the Render workers created by StudioBuilder.", "ec2SubnetIds": [ "subnet-EXAMPLE11111" ], "launchProfileId": "yeG7lDwNQEiwNTRT7DrV7Q", "launchProfileProtocolVersions": [ "2021-03-31" ], "name": "RenderWorker-Default", "state": "READY", "statusCode": "LAUNCH_PROFILE_CREATED", "statusMessage": "Launch Profile has been created", "streamConfiguration": { "clipboardMode": "ENABLED", "ec2InstanceTypes": [ "g4dn.4xlarge", "g4dn.8xlarge" ], "maxSessionLengthInMinutes": 690, "maxStoppedSessionLengthInMinutes": 0, "streamingImageIds": [ "Cw_jXnp1QcSSXhE2hkNRoQ", "YGXAqgoWTnCNSV8VP20sHQ" ] }, "studioComponentIds": [ "_hR_-RaAReSOjAnLakbX7Q", "vQ5w_TbIRayPkAZgcbyYRA", "ZQuMxN99Qfa_Js6ma9TwdA", "45KjOSPPRzK2OyvpCuQ6qw" ], "tags": {}, "updatedAt": "2022-01-27T21:19:13+00:00", "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", "validationResults": [ { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_SUBNET_ASSOCIATION" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_NETWORK_ACL_ASSOCIATION" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_SECURITY_GROUP_ASSOCIATION" } ] }, { "arn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/jDCIm1jRSaa9e44PZ3w7gg", "createdAt": "2022-01-27T21:19:26+00:00", "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", "description": "This Workstation Launch Profile was created by StudioBuilder", "ec2SubnetIds": [ "subnet-046f4205ae535b2cc" ], "launchProfileId": "jDCIm1jRSaa9e44PZ3w7gg", "launchProfileProtocolVersions": [ "2021-03-31" ], "name": "Workstation-Default", "state": "READY", "statusCode": "LAUNCH_PROFILE_CREATED", "statusMessage": "Launch Profile has been created", "streamConfiguration": { "clipboardMode": "ENABLED", "ec2InstanceTypes": [ "g4dn.4xlarge", "g4dn.8xlarge" ], "maxSessionLengthInMinutes": 690, "maxStoppedSessionLengthInMinutes": 0, "streamingImageIds": [ "Cw_jXnp1QcSSXhE2hkNRoQ", "YGXAqgoWTnCNSV8VP20sHQ" ] }, "studioComponentIds": [ "_hR_-RaAReSOjAnLakbX7Q", "vQ5w_TbIRayPkAZgcbyYRA", "ZQuMxN99Qfa_Js6ma9TwdA", "yJSbsHXAQYWk9FXLNusXlQ", "45KjOSPPRzK2OyvpCuQ6qw" ], "tags": {}, "updatedAt": "2022-01-27T21:19:40+00:00", "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", "validationResults": [ { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_SUBNET_ASSOCIATION" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_NETWORK_ACL_ASSOCIATION" }, { "state": "VALIDATION_SUCCESS", "statusCode": "VALIDATION_SUCCESS", "statusMessage": "The validation succeeded.", "type": "VALIDATE_SECURITY_GROUP_ASSOCIATION" } ] } ] }

有关更多信息,请参阅 Amazon Nimble Studio 用户指南中的创建启动配置文件

以下代码示例演示如何使用 list-studio-components

AWS CLI

列出可用的小部件

以下list-studio-components示例列出了您 AWS 账户中的工作室组件。

aws nimble list-studio-components \ --studio-id "StudioID"

输出:

{ "studioComponents": [ { "arn": "arn:aws:nimble:us-west-2:123456789012:studio-component/ZQuMxN99Qfa_Js6ma9TwdA", "configuration": { "sharedFileSystemConfiguration": { "fileSystemId": "fs-EXAMPLE11111", "linuxMountPoint": "/mnt/fsxshare", "shareName": "share", "windowsMountDrive": "Z" } }, "createdAt": "2022-01-27T21:15:34+00:00", "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", "description": "FSx for Windows", "ec2SecurityGroupIds": [ "sg-EXAMPLE11111" ], "name": "FSxWindows", "state": "READY", "statusCode": "STUDIO_COMPONENT_CREATED", "statusMessage": "Studio Component has been created", "studioComponentId": "ZQuMxN99Qfa_Js6ma9TwdA", "subtype": "AMAZON_FSX_FOR_WINDOWS", "tags": {}, "type": "SHARED_FILE_SYSTEM", "updatedAt": "2022-01-27T21:15:35+00:00", "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111" }, ... }

有关更多信息,请参阅亚马逊 Nimble Studio 用户指南中的 StudioBuilder 如何使用亚马逊 Nimble Studio

以下代码示例演示如何使用 list-studio-members

AWS CLI

列出可用的小部件

以下list-studio-members示例列出了您 AWS 账户中可用的工作室成员。

aws nimble list-studio-members \ --studio-id "StudioID"

输出:

{ "members": [ { "identityStoreId": "d-EXAMPLE11111", "persona": "ADMINISTRATOR", "principalId": "EXAMPLE11111-e9fd012a-94ad-4f16-9866-c69a63ab6486" } ] }

有关更多信息,请参阅 Amazon Nimble Studio 用户指南中的添加工作室用户

以下代码示例演示如何使用 list-studios

AWS CLI

列出你的工作室

以下list-studios示例列出了您 AWS 账户中的工作室。

aws nimble list-studios

输出:

{ "studios": [ { "adminRoleArn": "arn:aws:iam::123456789012:role/studio-admin-role", "arn": "arn:aws:nimble:us-west-2:123456789012:studio/studio-id", "createdAt": "2022-01-27T20:29:35+00:00", "displayName": "studio-name", "homeRegion": "us-west-2", "ssoClientId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "state": "READY", "statusCode": "STUDIO_CREATED", "statusMessage": "The studio has been created successfully ", "studioEncryptionConfiguration": { "keyType": "AWS_OWNED_KEY" }, "studioId": "us-west-2:studio-id", "studioName": "studio-name", "studioUrl": "https://studio-name.nimblestudio.us-west-2.amazonaws.com", "tags": {}, "updatedAt": "2022-01-27T20:29:37+00:00", "userRoleArn": "arn:aws:iam::123456789012:role/studio-user-role" } ] }

有关更多信息,请参阅什么是 Amazon Nimble Studio? 在 Amazon Nimble Studio 用户指南中。