Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class PutStudioMembersCommandProtected

Add/update users with given persona to studio membership.

Example

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

import { NimbleClient, PutStudioMembersCommand } from "@aws-sdk/client-nimble"; // ES Modules import
// const { NimbleClient, PutStudioMembersCommand } = require("@aws-sdk/client-nimble"); // CommonJS import
const client = new NimbleClient(config);
const input = { // PutStudioMembersRequest
clientToken: "STRING_VALUE",
identityStoreId: "STRING_VALUE", // required
members: [ // NewStudioMemberList // required
{ // NewStudioMember
persona: "ADMINISTRATOR", // required
principalId: "STRING_VALUE", // required
},
],
studioId: "STRING_VALUE", // required
};
const command = new PutStudioMembersCommand(input);
const response = await client.send(command);
// {};

Param

PutStudioMembersCommandInput

Returns

PutStudioMembersCommandOutput

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