Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class GetStudioCommandProtected

Get a studio resource.

Example

Use a bare-bones client and the command you need to make an API call.

import { NimbleClient, GetStudioCommand } from "@aws-sdk/client-nimble"; // ES Modules import
// const { NimbleClient, GetStudioCommand } = require("@aws-sdk/client-nimble"); // CommonJS import
const client = new NimbleClient(config);
const input = { // GetStudioRequest
studioId: "STRING_VALUE", // required
};
const command = new GetStudioCommand(input);
const response = await client.send(command);
// { // GetStudioResponse
// studio: { // Studio
// adminRoleArn: "STRING_VALUE",
// arn: "STRING_VALUE",
// createdAt: new Date("TIMESTAMP"),
// displayName: "STRING_VALUE",
// homeRegion: "STRING_VALUE",
// ssoClientId: "STRING_VALUE",
// state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED",
// statusCode: "STUDIO_CREATED" || "STUDIO_DELETED" || "STUDIO_UPDATED" || "STUDIO_CREATE_IN_PROGRESS" || "STUDIO_UPDATE_IN_PROGRESS" || "STUDIO_DELETE_IN_PROGRESS" || "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED" || "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED" || "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED" || "AWS_SSO_NOT_ENABLED" || "AWS_SSO_ACCESS_DENIED" || "ROLE_NOT_OWNED_BY_STUDIO_OWNER" || "ROLE_COULD_NOT_BE_ASSUMED" || "INTERNAL_ERROR" || "ENCRYPTION_KEY_NOT_FOUND" || "ENCRYPTION_KEY_ACCESS_DENIED" || "AWS_SSO_CONFIGURATION_REPAIRED" || "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS" || "AWS_STS_REGION_DISABLED",
// statusMessage: "STRING_VALUE",
// studioEncryptionConfiguration: { // StudioEncryptionConfiguration
// keyArn: "STRING_VALUE",
// keyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required
// },
// studioId: "STRING_VALUE",
// studioName: "STRING_VALUE",
// studioUrl: "STRING_VALUE",
// tags: { // Tags
// "<keys>": "STRING_VALUE",
// },
// updatedAt: new Date("TIMESTAMP"),
// userRoleArn: "STRING_VALUE",
// },
// };

Param

GetStudioCommandInput

Returns

GetStudioCommandOutput

See

Throws

AccessDeniedException (client fault)

You are not authorized to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

Throws

ConflictException (client fault)

Another operation is in progress.

Throws

InternalServerErrorException (server fault)

An internal error has occurred. Please retry your request.

Throws

ResourceNotFoundException (client fault)

The specified resource could not be found.

Throws

ServiceQuotaExceededException (client fault)

Your current quota does not allow you to perform the request action. You can request increases for some quotas, and other quotas cannot be increased.

Please use Amazon Web Services Service Quotas to request an increase.

Throws

ThrottlingException (client fault)

The request throughput limit was exceeded.

Throws

ValidationException (client fault)

One of the parameters in the request is invalid.

Throws

NimbleServiceException

Base exception class for all service exceptions from Nimble service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods