NimbleStudio

Client

class NimbleStudio.Client

A low-level client representing AmazonNimbleStudio

Welcome to the Amazon Nimble Studio API reference. This API reference provides methods, schema, resources, parameters, and more to help you get the most out of Nimble Studio.

Nimble Studio is a virtual studio that empowers visual effects, animation, and interactive content teams to create content securely within a scalable, private cloud service.

import boto3

client = boto3.client('nimble')

These are the available methods:

accept_eulas(**kwargs)

Accept EULAs.

See also: AWS API Documentation

Request Syntax

response = client.accept_eulas(
    clientToken='string',
    eulaIds=[
        'string',
    ],
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • eulaIds (list) --

    The EULA ID.

    • (string) --
  • studioId (string) --

    [REQUIRED]

    A collection of EULA IDs.

Return type

dict

Returns

Response Syntax

{
    'eulaAcceptances': [
        {
            'acceptedAt': datetime(2015, 1, 1),
            'acceptedBy': 'string',
            'accepteeId': 'string',
            'eulaAcceptanceId': 'string',
            'eulaId': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • eulaAcceptances (list) --

      A collection of EULA acceptances.

      • (dict) --

        The acceptance of a EULA, required to use Amazon-provided streaming images.

        • acceptedAt (datetime) --

          The Unix epoch timestamp in seconds for when the EULA was accepted.

        • acceptedBy (string) --

          The ID of the person who accepted the EULA.

        • accepteeId (string) --

          The ID of the acceptee.

        • eulaAcceptanceId (string) --

          The EULA acceptance ID.

        • eulaId (string) --

          The EULA ID.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
can_paginate(operation_name)

Check if an operation can be paginated.

Parameters
operation_name (string) -- The operation name. This is the same name as the method name on the client. For example, if the method name is create_foo, and you'd normally invoke the operation as client.create_foo(**kwargs), if the create_foo operation can be paginated, you can use the call client.get_paginator("create_foo").
Returns
True if the operation can be paginated, False otherwise.
create_launch_profile(**kwargs)

Create a launch profile.

See also: AWS API Documentation

Request Syntax

response = client.create_launch_profile(
    clientToken='string',
    description='string',
    ec2SubnetIds=[
        'string',
    ],
    launchProfileProtocolVersions=[
        'string',
    ],
    name='string',
    streamConfiguration={
        'clipboardMode': 'ENABLED'|'DISABLED',
        'ec2InstanceTypes': [
            'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
        ],
        'maxSessionLengthInMinutes': 123,
        'maxStoppedSessionLengthInMinutes': 123,
        'sessionStorage': {
            'mode': [
                'UPLOAD',
            ],
            'root': {
                'linux': 'string',
                'windows': 'string'
            }
        },
        'streamingImageIds': [
            'string',
        ]
    },
    studioComponentIds=[
        'string',
    ],
    studioId='string',
    tags={
        'string': 'string'
    }
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • description (string) -- The description.
  • ec2SubnetIds (list) --

    [REQUIRED]

    Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.

    • (string) --
  • launchProfileProtocolVersions (list) --

    [REQUIRED]

    The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

    • (string) --

      The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

  • name (string) --

    [REQUIRED]

    The name for the launch profile.

  • streamConfiguration (dict) --

    [REQUIRED]

    A configuration for a streaming session.

    • clipboardMode (string) -- [REQUIRED]

      Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

    • ec2InstanceTypes (list) -- [REQUIRED]

      The EC2 instance types that users can select from when launching a streaming session with this launch profile.

      • (string) --
    • maxSessionLengthInMinutes (integer) --

      The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

    • maxStoppedSessionLengthInMinutes (integer) --

      Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

      If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

      If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

    • sessionStorage (dict) --

      (Optional) The upload storage for a streaming workstation that is created using this launch profile.

      • mode (list) -- [REQUIRED]

        Allows artists to upload files to their workstations. The only valid option is UPLOAD .

        • (string) --
      • root (dict) --

        The configuration for the upload storage root of the streaming session.

        • linux (string) --

          The folder path in Linux workstations where files are uploaded.

        • windows (string) --

          The folder path in Windows workstations where files are uploaded.

    • streamingImageIds (list) -- [REQUIRED]

      The streaming images that users can select from when launching a streaming session with this launch profile.

      • (string) --
  • studioComponentIds (list) --

    [REQUIRED]

    Unique identifiers for a collection of studio components that can be used with this launch profile.

    • (string) --
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • tags (dict) --

    A collection of labels, in the form of key:value pairs, that apply to this resource.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'launchProfile': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SubnetIds': [
            'string',
        ],
        'launchProfileId': 'string',
        'launchProfileProtocolVersions': [
            'string',
        ],
        'name': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'LAUNCH_PROFILE_CREATED'|'LAUNCH_PROFILE_UPDATED'|'LAUNCH_PROFILE_DELETED'|'LAUNCH_PROFILE_CREATE_IN_PROGRESS'|'LAUNCH_PROFILE_UPDATE_IN_PROGRESS'|'LAUNCH_PROFILE_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'STREAMING_IMAGE_NOT_FOUND'|'STREAMING_IMAGE_NOT_READY'|'LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'INVALID_SUBNETS_PROVIDED',
        'statusMessage': 'string',
        'streamConfiguration': {
            'clipboardMode': 'ENABLED'|'DISABLED',
            'ec2InstanceTypes': [
                'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
            ],
            'maxSessionLengthInMinutes': 123,
            'maxStoppedSessionLengthInMinutes': 123,
            'sessionStorage': {
                'mode': [
                    'UPLOAD',
                ],
                'root': {
                    'linux': 'string',
                    'windows': 'string'
                }
            },
            'streamingImageIds': [
                'string',
            ]
        },
        'studioComponentIds': [
            'string',
        ],
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string',
        'validationResults': [
            {
                'state': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusCode': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION'|'VALIDATION_FAILED_SUBNET_NOT_FOUND'|'VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION'|'VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY'|'VALIDATION_FAILED_UNAUTHORIZED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusMessage': 'string',
                'type': 'VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT'|'VALIDATE_SUBNET_ASSOCIATION'|'VALIDATE_NETWORK_ACL_ASSOCIATION'|'VALIDATE_SECURITY_GROUP_ASSOCIATION'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • launchProfile (dict) --

      The launch profile.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the launch profile.

      • description (string) --

        A human-readable description of the launch profile.

      • ec2SubnetIds (list) --

        Unique identifiers for a collection of EC2 subnets.

        • (string) --
      • launchProfileId (string) --

        The launch profile ID.

      • launchProfileProtocolVersions (list) --

        The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

        • (string) --

          The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      • name (string) --

        A friendly name for the launch profile.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the launch profile.

      • streamConfiguration (dict) --

        A configuration for a streaming session.

        • clipboardMode (string) --

          Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

        • ec2InstanceTypes (list) --

          The EC2 instance types that users can select from when launching a streaming session with this launch profile.

          • (string) --
        • maxSessionLengthInMinutes (integer) --

          The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

        • maxStoppedSessionLengthInMinutes (integer) --

          Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

          If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

          If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

        • sessionStorage (dict) --

          (Optional) The upload storage for a streaming session.

          • mode (list) --

            Allows artists to upload files to their workstations. The only valid option is UPLOAD .

            • (string) --
          • root (dict) --

            The configuration for the upload storage root of the streaming session.

            • linux (string) --

              The folder path in Linux workstations where files are uploaded.

            • windows (string) --

              The folder path in Windows workstations where files are uploaded.

        • streamingImageIds (list) --

          The streaming images that users can select from when launching a streaming session with this launch profile.

          • (string) --
      • studioComponentIds (list) --

        Unique identifiers for a collection of studio components that can be used with this launch profile.

        • (string) --
      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

      • validationResults (list) --

        The list of the latest validation results.

        • (dict) --

          The launch profile validation result.

          • state (string) --

            The current state.

          • statusCode (string) --

            The status code. This will contain the failure reason if the state is VALIDATION_FAILED .

          • statusMessage (string) --

            The status message for the validation result.

          • type (string) --

            The type of the validation result.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
create_streaming_image(**kwargs)

Creates a streaming image resource in a studio.

See also: AWS API Documentation

Request Syntax

response = client.create_streaming_image(
    clientToken='string',
    description='string',
    ec2ImageId='string',
    name='string',
    studioId='string',
    tags={
        'string': 'string'
    }
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • description (string) -- A human-readable description of the streaming image.
  • ec2ImageId (string) --

    [REQUIRED]

    The ID of an EC2 machine image with which to create this streaming image.

  • name (string) --

    [REQUIRED]

    A friendly name for a streaming image resource.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • tags (dict) --

    A collection of labels, in the form of key:value pairs, that apply to this resource.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'streamingImage': {
        'arn': 'string',
        'description': 'string',
        'ec2ImageId': 'string',
        'encryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'CUSTOMER_MANAGED_KEY'
        },
        'eulaIds': [
            'string',
        ],
        'name': 'string',
        'owner': 'string',
        'platform': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'DELETE_IN_PROGRESS'|'DELETED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'CREATE_FAILED'|'DELETE_FAILED',
        'statusCode': 'STREAMING_IMAGE_CREATE_IN_PROGRESS'|'STREAMING_IMAGE_READY'|'STREAMING_IMAGE_DELETE_IN_PROGRESS'|'STREAMING_IMAGE_DELETED'|'STREAMING_IMAGE_UPDATE_IN_PROGRESS'|'INTERNAL_ERROR'|'ACCESS_DENIED',
        'statusMessage': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • streamingImage (dict) --

      The streaming image.

      • arn (string) --

        The ARN of the resource.

      • description (string) --

        A human-readable description of the streaming image.

      • ec2ImageId (string) --

        The ID of an EC2 machine image with which to create the streaming image.

      • encryptionConfiguration (dict) --

        The encryption configuration.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • eulaIds (list) --

        The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.

        • (string) --
      • name (string) --

        A friendly name for a streaming image resource.

      • owner (string) --

        The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.

      • platform (string) --

        The platform of the streaming image, either WINDOWS or LINUX.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming image.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
create_streaming_session(**kwargs)

Creates a streaming session in a studio.

After invoking this operation, you must poll GetStreamingSession until the streaming session is in state READY.

See also: AWS API Documentation

Request Syntax

response = client.create_streaming_session(
    clientToken='string',
    ec2InstanceType='g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
    launchProfileId='string',
    ownedBy='string',
    streamingImageId='string',
    studioId='string',
    tags={
        'string': 'string'
    }
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • ec2InstanceType (string) -- The EC2 Instance type used for the streaming session.
  • launchProfileId (string) -- The launch profile ID.
  • ownedBy (string) -- The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
  • streamingImageId (string) -- The ID of the streaming image.
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • tags (dict) --

    A collection of labels, in the form of key:value pairs, that apply to this resource.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'session': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'ec2InstanceType': 'string',
        'launchProfileId': 'string',
        'ownedBy': 'string',
        'sessionId': 'string',
        'startedAt': datetime(2015, 1, 1),
        'startedBy': 'string',
        'state': 'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'READY'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED'|'STOP_IN_PROGRESS'|'START_IN_PROGRESS'|'STOPPED'|'STOP_FAILED'|'START_FAILED',
        'statusCode': 'STREAMING_SESSION_READY'|'STREAMING_SESSION_DELETED'|'STREAMING_SESSION_CREATE_IN_PROGRESS'|'STREAMING_SESSION_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'INSUFFICIENT_CAPACITY'|'ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR'|'NETWORK_CONNECTION_ERROR'|'INITIALIZATION_SCRIPT_ERROR'|'DECRYPT_STREAMING_IMAGE_ERROR'|'NETWORK_INTERFACE_ERROR'|'STREAMING_SESSION_STOPPED'|'STREAMING_SESSION_STARTED'|'STREAMING_SESSION_STOP_IN_PROGRESS'|'STREAMING_SESSION_START_IN_PROGRESS'|'AMI_VALIDATION_ERROR',
        'statusMessage': 'string',
        'stopAt': datetime(2015, 1, 1),
        'stoppedAt': datetime(2015, 1, 1),
        'stoppedBy': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        },
        'terminateAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • session (dict) --

      The session.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the streaming session.

      • ec2InstanceType (string) --

        The EC2 Instance type used for the streaming session.

      • launchProfileId (string) --

        The ID of the launch profile used to control access from the streaming session.

      • ownedBy (string) --

        The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

      • sessionId (string) --

        The session ID.

      • startedAt (datetime) --

        The time the session entered START_IN_PROGRESS state.

      • startedBy (string) --

        The user ID of the user that started the streaming session.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming session.

      • stopAt (datetime) --

        The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.

      • stoppedAt (datetime) --

        The time the session entered STOP_IN_PROGRESS state.

      • stoppedBy (string) --

        The user ID of the user that stopped the streaming session.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • terminateAt (datetime) --

        The time the streaming session will automatically terminate if not terminated by the user.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
create_streaming_session_stream(**kwargs)

Creates a streaming session stream for a streaming session.

After invoking this API, invoke GetStreamingSessionStream with the returned streamId to poll the resource until it is in state READY.

See also: AWS API Documentation

Request Syntax

response = client.create_streaming_session_stream(
    clientToken='string',
    expirationInSeconds=123,
    sessionId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • expirationInSeconds (integer) -- The expiration time in seconds.
  • sessionId (string) --

    [REQUIRED]

    The streaming session ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'stream': {
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'expiresAt': datetime(2015, 1, 1),
        'ownedBy': 'string',
        'state': 'READY'|'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED',
        'statusCode': 'STREAM_CREATE_IN_PROGRESS'|'STREAM_READY'|'STREAM_DELETE_IN_PROGRESS'|'STREAM_DELETED'|'INTERNAL_ERROR'|'NETWORK_CONNECTION_ERROR',
        'streamId': 'string',
        'url': 'string'
    }
}

Response Structure

  • (dict) --

    • stream (dict) --

      The stream.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the streaming session stream.

      • expiresAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource expires.

      • ownedBy (string) --

        The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

      • state (string) --

        The current state.

      • statusCode (string) --

        The streaming session stream status code.

      • streamId (string) --

        The stream ID.

      • url (string) --

        The URL to connect to this stream using the DCV client.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
create_studio(**kwargs)

Create a new Studio.

When creating a Studio, two IAM roles must be provided: the admin role and the user Role. These roles are assumed by your users when they log in to the Nimble Studio portal.

The user role must have the AmazonNimbleStudio-StudioUser managed policy attached for the portal to function properly.

The Admin Role must have the AmazonNimbleStudio-StudioAdmin managed policy attached for the portal to function properly.

You may optionally specify a KMS key in the StudioEncryptionConfiguration.

In Nimble Studio, resource names, descriptions, initialization scripts, and other data you provide are always encrypted at rest using an KMS key. By default, this key is owned by Amazon Web Services and managed on your behalf. You may provide your own KMS key when calling CreateStudio to encrypt this data using a key you own and manage.

When providing an KMS key during studio creation, Nimble Studio creates KMS grants in your account to provide your studio user and admin roles access to these KMS keys.

If you delete this grant, the studio will no longer be accessible to your portal users.

If you delete the studio KMS key, your studio will no longer be accessible.

See also: AWS API Documentation

Request Syntax

response = client.create_studio(
    adminRoleArn='string',
    clientToken='string',
    displayName='string',
    studioEncryptionConfiguration={
        'keyArn': 'string',
        'keyType': 'AWS_OWNED_KEY'|'CUSTOMER_MANAGED_KEY'
    },
    studioName='string',
    tags={
        'string': 'string'
    },
    userRoleArn='string'
)
Parameters
  • adminRoleArn (string) --

    [REQUIRED]

    The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.

  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • displayName (string) --

    [REQUIRED]

    A friendly name for the studio.

  • studioEncryptionConfiguration (dict) --

    The studio encryption configuration.

    • keyArn (string) --

      The ARN for a KMS key that is used to encrypt studio data.

    • keyType (string) -- [REQUIRED]

      The type of KMS key that is used to encrypt studio data.

  • studioName (string) --

    [REQUIRED]

    The studio name that is used in the URL of the Nimble Studio portal when accessed by Nimble Studio users.

  • tags (dict) --

    A collection of labels, in the form of key:value pairs, that apply to this resource.

    • (string) --
      • (string) --
  • userRoleArn (string) --

    [REQUIRED]

    The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.

Return type

dict

Returns

Response Syntax

{
    'studio': {
        'adminRoleArn': 'string',
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'displayName': 'string',
        'homeRegion': 'string',
        'ssoClientId': 'string',
        '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',
        'statusMessage': 'string',
        'studioEncryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'AWS_OWNED_KEY'|'CUSTOMER_MANAGED_KEY'
        },
        'studioId': 'string',
        'studioName': 'string',
        'studioUrl': 'string',
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'userRoleArn': 'string'
    }
}

Response Structure

  • (dict) --

    • studio (dict) --

      Information about a studio.

      • adminRoleArn (string) --

        The IAM role that studio admins assume when logging in to the Nimble Studio portal.

      • arn (string) --

        The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • displayName (string) --

        A friendly name for the studio.

      • homeRegion (string) --

        The Amazon Web Services Region where the studio resource is located.

      • ssoClientId (string) --

        The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

      • state (string) --

        The current state of the studio resource.

      • statusCode (string) --

        Status codes that provide additional detail on the studio state.

      • statusMessage (string) --

        Additional detail on the studio state.

      • studioEncryptionConfiguration (dict) --

        Configuration of the encryption method that is used for the studio.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • studioId (string) --

        The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.

      • studioName (string) --

        The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

      • studioUrl (string) --

        The address of the web page for the studio.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • userRoleArn (string) --

        The IAM role that studio users assume when logging in to the Nimble Studio portal.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
create_studio_component(**kwargs)

Creates a studio component resource.

See also: AWS API Documentation

Request Syntax

response = client.create_studio_component(
    clientToken='string',
    configuration={
        'activeDirectoryConfiguration': {
            'computerAttributes': [
                {
                    'name': 'string',
                    'value': 'string'
                },
            ],
            'directoryId': 'string',
            'organizationalUnitDistinguishedName': 'string'
        },
        'computeFarmConfiguration': {
            'activeDirectoryUser': 'string',
            'endpoint': 'string'
        },
        'licenseServiceConfiguration': {
            'endpoint': 'string'
        },
        'sharedFileSystemConfiguration': {
            'endpoint': 'string',
            'fileSystemId': 'string',
            'linuxMountPoint': 'string',
            'shareName': 'string',
            'windowsMountDrive': 'string'
        }
    },
    description='string',
    ec2SecurityGroupIds=[
        'string',
    ],
    initializationScripts=[
        {
            'launchProfileProtocolVersion': 'string',
            'platform': 'LINUX'|'WINDOWS',
            'runContext': 'SYSTEM_INITIALIZATION'|'USER_INITIALIZATION',
            'script': 'string'
        },
    ],
    name='string',
    scriptParameters=[
        {
            'key': 'string',
            'value': 'string'
        },
    ],
    studioId='string',
    subtype='AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
    tags={
        'string': 'string'
    },
    type='ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • configuration (dict) --

    The configuration of the studio component, based on component type.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: activeDirectoryConfiguration, computeFarmConfiguration, licenseServiceConfiguration, sharedFileSystemConfiguration.

    • activeDirectoryConfiguration (dict) --

      The configuration for a Microsoft Active Directory (Microsoft AD) studio resource.

      • computerAttributes (list) --

        A collection of custom attributes for an Active Directory computer.

        • (dict) --

          An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

          • name (string) --

            The name for the LDAP attribute.

          • value (string) --

            The value for the LDAP attribute.

      • directoryId (string) --

        The directory ID of the Directory Service for Microsoft Active Directory to access using this studio component.

      • organizationalUnitDistinguishedName (string) --

        The distinguished name (DN) and organizational unit (OU) of an Active Directory computer.

    • computeFarmConfiguration (dict) --

      The configuration for a render farm that is associated with a studio resource.

      • activeDirectoryUser (string) --

        The name of an Active Directory user that is used on ComputeFarm worker instances.

      • endpoint (string) --

        The endpoint of the ComputeFarm that is accessed by the studio component resource.

    • licenseServiceConfiguration (dict) --

      The configuration for a license service that is associated with a studio resource.

      • endpoint (string) --

        The endpoint of the license service that is accessed by the studio component resource.

    • sharedFileSystemConfiguration (dict) --

      The configuration for a shared file storage system that is associated with a studio resource.

      • endpoint (string) --

        The endpoint of the shared file system that is accessed by the studio component resource.

      • fileSystemId (string) --

        The unique identifier for a file system.

      • linuxMountPoint (string) --

        The mount location for a shared file system on a Linux virtual workstation.

      • shareName (string) --

        The name of the file share.

      • windowsMountDrive (string) --

        The mount location for a shared file system on a Windows virtual workstation.

  • description (string) -- The description.
  • ec2SecurityGroupIds (list) --

    The EC2 security groups that control access to the studio component.

    • (string) --
  • initializationScripts (list) --

    Initialization scripts for studio components.

    • (dict) --

      Initialization scripts for studio components.

      • launchProfileProtocolVersion (string) --

        The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      • platform (string) --

        The platform of the initialization script, either WINDOWS or LINUX.

      • runContext (string) --

        The method to use when running the initialization script.

      • script (string) --

        The initialization script.

  • name (string) --

    [REQUIRED]

    The name for the studio component.

  • scriptParameters (list) --

    Parameters for the studio component scripts.

    • (dict) --

      A parameter for a studio component script, in the form of a key:value pair.

      • key (string) --

        A script parameter key.

      • value (string) --

        A script parameter value.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • subtype (string) -- The specific subtype of a studio component.
  • tags (dict) --

    A collection of labels, in the form of key:value pairs, that apply to this resource.

    • (string) --
      • (string) --
  • type (string) --

    [REQUIRED]

    The type of the studio component.

Return type

dict

Returns

Response Syntax

{
    'studioComponent': {
        'arn': 'string',
        'configuration': {
            'activeDirectoryConfiguration': {
                'computerAttributes': [
                    {
                        'name': 'string',
                        'value': 'string'
                    },
                ],
                'directoryId': 'string',
                'organizationalUnitDistinguishedName': 'string'
            },
            'computeFarmConfiguration': {
                'activeDirectoryUser': 'string',
                'endpoint': 'string'
            },
            'licenseServiceConfiguration': {
                'endpoint': 'string'
            },
            'sharedFileSystemConfiguration': {
                'endpoint': 'string',
                'fileSystemId': 'string',
                'linuxMountPoint': 'string',
                'shareName': 'string',
                'windowsMountDrive': 'string'
            }
        },
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SecurityGroupIds': [
            'string',
        ],
        'initializationScripts': [
            {
                'launchProfileProtocolVersion': 'string',
                'platform': 'LINUX'|'WINDOWS',
                'runContext': 'SYSTEM_INITIALIZATION'|'USER_INITIALIZATION',
                'script': 'string'
            },
        ],
        'name': 'string',
        'scriptParameters': [
            {
                'key': 'string',
                'value': 'string'
            },
        ],
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'ACTIVE_DIRECTORY_ALREADY_EXISTS'|'STUDIO_COMPONENT_CREATED'|'STUDIO_COMPONENT_UPDATED'|'STUDIO_COMPONENT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'STUDIO_COMPONENT_CREATE_IN_PROGRESS'|'STUDIO_COMPONENT_UPDATE_IN_PROGRESS'|'STUDIO_COMPONENT_DELETE_IN_PROGRESS'|'INTERNAL_ERROR',
        'statusMessage': 'string',
        'studioComponentId': 'string',
        'subtype': 'AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
        'tags': {
            'string': 'string'
        },
        'type': 'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • studioComponent (dict) --

      Information about the studio component.

      • arn (string) --

        The ARN of the resource.

      • configuration (dict) --

        The configuration of the studio component, based on component type.

        Note

        This is a Tagged Union structure. Only one of the following top level keys will be set: activeDirectoryConfiguration, computeFarmConfiguration, licenseServiceConfiguration, sharedFileSystemConfiguration. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

        'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
        
        • activeDirectoryConfiguration (dict) --

          The configuration for a Microsoft Active Directory (Microsoft AD) studio resource.

          • computerAttributes (list) --

            A collection of custom attributes for an Active Directory computer.

            • (dict) --

              An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

              • name (string) --

                The name for the LDAP attribute.

              • value (string) --

                The value for the LDAP attribute.

          • directoryId (string) --

            The directory ID of the Directory Service for Microsoft Active Directory to access using this studio component.

          • organizationalUnitDistinguishedName (string) --

            The distinguished name (DN) and organizational unit (OU) of an Active Directory computer.

        • computeFarmConfiguration (dict) --

          The configuration for a render farm that is associated with a studio resource.

          • activeDirectoryUser (string) --

            The name of an Active Directory user that is used on ComputeFarm worker instances.

          • endpoint (string) --

            The endpoint of the ComputeFarm that is accessed by the studio component resource.

        • licenseServiceConfiguration (dict) --

          The configuration for a license service that is associated with a studio resource.

          • endpoint (string) --

            The endpoint of the license service that is accessed by the studio component resource.

        • sharedFileSystemConfiguration (dict) --

          The configuration for a shared file storage system that is associated with a studio resource.

          • endpoint (string) --

            The endpoint of the shared file system that is accessed by the studio component resource.

          • fileSystemId (string) --

            The unique identifier for a file system.

          • linuxMountPoint (string) --

            The mount location for a shared file system on a Linux virtual workstation.

          • shareName (string) --

            The name of the file share.

          • windowsMountDrive (string) --

            The mount location for a shared file system on a Windows virtual workstation.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the studio component.

      • description (string) --

        A human-readable description for the studio component resource.

      • ec2SecurityGroupIds (list) --

        The EC2 security groups that control access to the studio component.

        • (string) --
      • initializationScripts (list) --

        Initialization scripts for studio components.

        • (dict) --

          Initialization scripts for studio components.

          • launchProfileProtocolVersion (string) --

            The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

          • platform (string) --

            The platform of the initialization script, either WINDOWS or LINUX.

          • runContext (string) --

            The method to use when running the initialization script.

          • script (string) --

            The initialization script.

      • name (string) --

        A friendly name for the studio component resource.

      • scriptParameters (list) --

        Parameters for the studio component scripts.

        • (dict) --

          A parameter for a studio component script, in the form of a key:value pair.

          • key (string) --

            A script parameter key.

          • value (string) --

            A script parameter value.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the studio component.

      • studioComponentId (string) --

        The unique identifier for a studio component resource.

      • subtype (string) --

        The specific subtype of a studio component.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • type (string) --

        The type of the studio component.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
delete_launch_profile(**kwargs)

Permanently delete a launch profile.

See also: AWS API Documentation

Request Syntax

response = client.delete_launch_profile(
    clientToken='string',
    launchProfileId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'launchProfile': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SubnetIds': [
            'string',
        ],
        'launchProfileId': 'string',
        'launchProfileProtocolVersions': [
            'string',
        ],
        'name': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'LAUNCH_PROFILE_CREATED'|'LAUNCH_PROFILE_UPDATED'|'LAUNCH_PROFILE_DELETED'|'LAUNCH_PROFILE_CREATE_IN_PROGRESS'|'LAUNCH_PROFILE_UPDATE_IN_PROGRESS'|'LAUNCH_PROFILE_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'STREAMING_IMAGE_NOT_FOUND'|'STREAMING_IMAGE_NOT_READY'|'LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'INVALID_SUBNETS_PROVIDED',
        'statusMessage': 'string',
        'streamConfiguration': {
            'clipboardMode': 'ENABLED'|'DISABLED',
            'ec2InstanceTypes': [
                'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
            ],
            'maxSessionLengthInMinutes': 123,
            'maxStoppedSessionLengthInMinutes': 123,
            'sessionStorage': {
                'mode': [
                    'UPLOAD',
                ],
                'root': {
                    'linux': 'string',
                    'windows': 'string'
                }
            },
            'streamingImageIds': [
                'string',
            ]
        },
        'studioComponentIds': [
            'string',
        ],
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string',
        'validationResults': [
            {
                'state': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusCode': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION'|'VALIDATION_FAILED_SUBNET_NOT_FOUND'|'VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION'|'VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY'|'VALIDATION_FAILED_UNAUTHORIZED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusMessage': 'string',
                'type': 'VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT'|'VALIDATE_SUBNET_ASSOCIATION'|'VALIDATE_NETWORK_ACL_ASSOCIATION'|'VALIDATE_SECURITY_GROUP_ASSOCIATION'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • launchProfile (dict) --

      The launch profile.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the launch profile.

      • description (string) --

        A human-readable description of the launch profile.

      • ec2SubnetIds (list) --

        Unique identifiers for a collection of EC2 subnets.

        • (string) --
      • launchProfileId (string) --

        The launch profile ID.

      • launchProfileProtocolVersions (list) --

        The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

        • (string) --

          The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      • name (string) --

        A friendly name for the launch profile.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the launch profile.

      • streamConfiguration (dict) --

        A configuration for a streaming session.

        • clipboardMode (string) --

          Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

        • ec2InstanceTypes (list) --

          The EC2 instance types that users can select from when launching a streaming session with this launch profile.

          • (string) --
        • maxSessionLengthInMinutes (integer) --

          The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

        • maxStoppedSessionLengthInMinutes (integer) --

          Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

          If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

          If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

        • sessionStorage (dict) --

          (Optional) The upload storage for a streaming session.

          • mode (list) --

            Allows artists to upload files to their workstations. The only valid option is UPLOAD .

            • (string) --
          • root (dict) --

            The configuration for the upload storage root of the streaming session.

            • linux (string) --

              The folder path in Linux workstations where files are uploaded.

            • windows (string) --

              The folder path in Windows workstations where files are uploaded.

        • streamingImageIds (list) --

          The streaming images that users can select from when launching a streaming session with this launch profile.

          • (string) --
      • studioComponentIds (list) --

        Unique identifiers for a collection of studio components that can be used with this launch profile.

        • (string) --
      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

      • validationResults (list) --

        The list of the latest validation results.

        • (dict) --

          The launch profile validation result.

          • state (string) --

            The current state.

          • statusCode (string) --

            The status code. This will contain the failure reason if the state is VALIDATION_FAILED .

          • statusMessage (string) --

            The status message for the validation result.

          • type (string) --

            The type of the validation result.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
delete_launch_profile_member(**kwargs)

Delete a user from launch profile membership.

See also: AWS API Documentation

Request Syntax

response = client.delete_launch_profile_member(
    clientToken='string',
    launchProfileId='string',
    principalId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • principalId (string) --

    [REQUIRED]

    The principal ID. This currently supports a Amazon Web Services SSO UserId.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
delete_streaming_image(**kwargs)

Delete streaming image.

See also: AWS API Documentation

Request Syntax

response = client.delete_streaming_image(
    clientToken='string',
    streamingImageId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • streamingImageId (string) --

    [REQUIRED]

    The streaming image ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'streamingImage': {
        'arn': 'string',
        'description': 'string',
        'ec2ImageId': 'string',
        'encryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'CUSTOMER_MANAGED_KEY'
        },
        'eulaIds': [
            'string',
        ],
        'name': 'string',
        'owner': 'string',
        'platform': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'DELETE_IN_PROGRESS'|'DELETED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'CREATE_FAILED'|'DELETE_FAILED',
        'statusCode': 'STREAMING_IMAGE_CREATE_IN_PROGRESS'|'STREAMING_IMAGE_READY'|'STREAMING_IMAGE_DELETE_IN_PROGRESS'|'STREAMING_IMAGE_DELETED'|'STREAMING_IMAGE_UPDATE_IN_PROGRESS'|'INTERNAL_ERROR'|'ACCESS_DENIED',
        'statusMessage': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • streamingImage (dict) --

      The streaming image.

      • arn (string) --

        The ARN of the resource.

      • description (string) --

        A human-readable description of the streaming image.

      • ec2ImageId (string) --

        The ID of an EC2 machine image with which to create the streaming image.

      • encryptionConfiguration (dict) --

        The encryption configuration.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • eulaIds (list) --

        The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.

        • (string) --
      • name (string) --

        A friendly name for a streaming image resource.

      • owner (string) --

        The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.

      • platform (string) --

        The platform of the streaming image, either WINDOWS or LINUX.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming image.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
delete_streaming_session(**kwargs)

Deletes streaming session resource.

After invoking this operation, use GetStreamingSession to poll the resource until it transitions to a DELETED state.

A streaming session will count against your streaming session quota until it is marked DELETED.

See also: AWS API Documentation

Request Syntax

response = client.delete_streaming_session(
    clientToken='string',
    sessionId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • sessionId (string) --

    [REQUIRED]

    The streaming session ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'session': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'ec2InstanceType': 'string',
        'launchProfileId': 'string',
        'ownedBy': 'string',
        'sessionId': 'string',
        'startedAt': datetime(2015, 1, 1),
        'startedBy': 'string',
        'state': 'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'READY'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED'|'STOP_IN_PROGRESS'|'START_IN_PROGRESS'|'STOPPED'|'STOP_FAILED'|'START_FAILED',
        'statusCode': 'STREAMING_SESSION_READY'|'STREAMING_SESSION_DELETED'|'STREAMING_SESSION_CREATE_IN_PROGRESS'|'STREAMING_SESSION_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'INSUFFICIENT_CAPACITY'|'ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR'|'NETWORK_CONNECTION_ERROR'|'INITIALIZATION_SCRIPT_ERROR'|'DECRYPT_STREAMING_IMAGE_ERROR'|'NETWORK_INTERFACE_ERROR'|'STREAMING_SESSION_STOPPED'|'STREAMING_SESSION_STARTED'|'STREAMING_SESSION_STOP_IN_PROGRESS'|'STREAMING_SESSION_START_IN_PROGRESS'|'AMI_VALIDATION_ERROR',
        'statusMessage': 'string',
        'stopAt': datetime(2015, 1, 1),
        'stoppedAt': datetime(2015, 1, 1),
        'stoppedBy': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        },
        'terminateAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • session (dict) --

      The session.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the streaming session.

      • ec2InstanceType (string) --

        The EC2 Instance type used for the streaming session.

      • launchProfileId (string) --

        The ID of the launch profile used to control access from the streaming session.

      • ownedBy (string) --

        The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

      • sessionId (string) --

        The session ID.

      • startedAt (datetime) --

        The time the session entered START_IN_PROGRESS state.

      • startedBy (string) --

        The user ID of the user that started the streaming session.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming session.

      • stopAt (datetime) --

        The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.

      • stoppedAt (datetime) --

        The time the session entered STOP_IN_PROGRESS state.

      • stoppedBy (string) --

        The user ID of the user that stopped the streaming session.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • terminateAt (datetime) --

        The time the streaming session will automatically terminate if not terminated by the user.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
delete_studio(**kwargs)

Delete a studio resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_studio(
    clientToken='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'studio': {
        'adminRoleArn': 'string',
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'displayName': 'string',
        'homeRegion': 'string',
        'ssoClientId': 'string',
        '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',
        'statusMessage': 'string',
        'studioEncryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'AWS_OWNED_KEY'|'CUSTOMER_MANAGED_KEY'
        },
        'studioId': 'string',
        'studioName': 'string',
        'studioUrl': 'string',
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'userRoleArn': 'string'
    }
}

Response Structure

  • (dict) --

    • studio (dict) --

      Information about a studio.

      • adminRoleArn (string) --

        The IAM role that studio admins assume when logging in to the Nimble Studio portal.

      • arn (string) --

        The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • displayName (string) --

        A friendly name for the studio.

      • homeRegion (string) --

        The Amazon Web Services Region where the studio resource is located.

      • ssoClientId (string) --

        The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

      • state (string) --

        The current state of the studio resource.

      • statusCode (string) --

        Status codes that provide additional detail on the studio state.

      • statusMessage (string) --

        Additional detail on the studio state.

      • studioEncryptionConfiguration (dict) --

        Configuration of the encryption method that is used for the studio.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • studioId (string) --

        The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.

      • studioName (string) --

        The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

      • studioUrl (string) --

        The address of the web page for the studio.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • userRoleArn (string) --

        The IAM role that studio users assume when logging in to the Nimble Studio portal.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
delete_studio_component(**kwargs)

Deletes a studio component resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_studio_component(
    clientToken='string',
    studioComponentId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • studioComponentId (string) --

    [REQUIRED]

    The studio component ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'studioComponent': {
        'arn': 'string',
        'configuration': {
            'activeDirectoryConfiguration': {
                'computerAttributes': [
                    {
                        'name': 'string',
                        'value': 'string'
                    },
                ],
                'directoryId': 'string',
                'organizationalUnitDistinguishedName': 'string'
            },
            'computeFarmConfiguration': {
                'activeDirectoryUser': 'string',
                'endpoint': 'string'
            },
            'licenseServiceConfiguration': {
                'endpoint': 'string'
            },
            'sharedFileSystemConfiguration': {
                'endpoint': 'string',
                'fileSystemId': 'string',
                'linuxMountPoint': 'string',
                'shareName': 'string',
                'windowsMountDrive': 'string'
            }
        },
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SecurityGroupIds': [
            'string',
        ],
        'initializationScripts': [
            {
                'launchProfileProtocolVersion': 'string',
                'platform': 'LINUX'|'WINDOWS',
                'runContext': 'SYSTEM_INITIALIZATION'|'USER_INITIALIZATION',
                'script': 'string'
            },
        ],
        'name': 'string',
        'scriptParameters': [
            {
                'key': 'string',
                'value': 'string'
            },
        ],
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'ACTIVE_DIRECTORY_ALREADY_EXISTS'|'STUDIO_COMPONENT_CREATED'|'STUDIO_COMPONENT_UPDATED'|'STUDIO_COMPONENT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'STUDIO_COMPONENT_CREATE_IN_PROGRESS'|'STUDIO_COMPONENT_UPDATE_IN_PROGRESS'|'STUDIO_COMPONENT_DELETE_IN_PROGRESS'|'INTERNAL_ERROR',
        'statusMessage': 'string',
        'studioComponentId': 'string',
        'subtype': 'AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
        'tags': {
            'string': 'string'
        },
        'type': 'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • studioComponent (dict) --

      Information about the studio component.

      • arn (string) --

        The ARN of the resource.

      • configuration (dict) --

        The configuration of the studio component, based on component type.

        Note

        This is a Tagged Union structure. Only one of the following top level keys will be set: activeDirectoryConfiguration, computeFarmConfiguration, licenseServiceConfiguration, sharedFileSystemConfiguration. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

        'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
        
        • activeDirectoryConfiguration (dict) --

          The configuration for a Microsoft Active Directory (Microsoft AD) studio resource.

          • computerAttributes (list) --

            A collection of custom attributes for an Active Directory computer.

            • (dict) --

              An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

              • name (string) --

                The name for the LDAP attribute.

              • value (string) --

                The value for the LDAP attribute.

          • directoryId (string) --

            The directory ID of the Directory Service for Microsoft Active Directory to access using this studio component.

          • organizationalUnitDistinguishedName (string) --

            The distinguished name (DN) and organizational unit (OU) of an Active Directory computer.

        • computeFarmConfiguration (dict) --

          The configuration for a render farm that is associated with a studio resource.

          • activeDirectoryUser (string) --

            The name of an Active Directory user that is used on ComputeFarm worker instances.

          • endpoint (string) --

            The endpoint of the ComputeFarm that is accessed by the studio component resource.

        • licenseServiceConfiguration (dict) --

          The configuration for a license service that is associated with a studio resource.

          • endpoint (string) --

            The endpoint of the license service that is accessed by the studio component resource.

        • sharedFileSystemConfiguration (dict) --

          The configuration for a shared file storage system that is associated with a studio resource.

          • endpoint (string) --

            The endpoint of the shared file system that is accessed by the studio component resource.

          • fileSystemId (string) --

            The unique identifier for a file system.

          • linuxMountPoint (string) --

            The mount location for a shared file system on a Linux virtual workstation.

          • shareName (string) --

            The name of the file share.

          • windowsMountDrive (string) --

            The mount location for a shared file system on a Windows virtual workstation.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the studio component.

      • description (string) --

        A human-readable description for the studio component resource.

      • ec2SecurityGroupIds (list) --

        The EC2 security groups that control access to the studio component.

        • (string) --
      • initializationScripts (list) --

        Initialization scripts for studio components.

        • (dict) --

          Initialization scripts for studio components.

          • launchProfileProtocolVersion (string) --

            The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

          • platform (string) --

            The platform of the initialization script, either WINDOWS or LINUX.

          • runContext (string) --

            The method to use when running the initialization script.

          • script (string) --

            The initialization script.

      • name (string) --

        A friendly name for the studio component resource.

      • scriptParameters (list) --

        Parameters for the studio component scripts.

        • (dict) --

          A parameter for a studio component script, in the form of a key:value pair.

          • key (string) --

            A script parameter key.

          • value (string) --

            A script parameter value.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the studio component.

      • studioComponentId (string) --

        The unique identifier for a studio component resource.

      • subtype (string) --

        The specific subtype of a studio component.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • type (string) --

        The type of the studio component.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
delete_studio_member(**kwargs)

Delete a user from studio membership.

See also: AWS API Documentation

Request Syntax

response = client.delete_studio_member(
    clientToken='string',
    principalId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • principalId (string) --

    [REQUIRED]

    The principal ID. This currently supports a Amazon Web Services SSO UserId.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_eula(**kwargs)

Get Eula.

See also: AWS API Documentation

Request Syntax

response = client.get_eula(
    eulaId='string'
)
Parameters
eulaId (string) --

[REQUIRED]

The EULA ID.

Return type
dict
Returns
Response Syntax
{
    'eula': {
        'content': 'string',
        'createdAt': datetime(2015, 1, 1),
        'eulaId': 'string',
        'name': 'string',
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --
    • eula (dict) --

      The EULA.

      • content (string) --

        The EULA content.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • eulaId (string) --

        The EULA ID.

      • name (string) --

        The name for the EULA.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_launch_profile(**kwargs)

Get a launch profile.

See also: AWS API Documentation

Request Syntax

response = client.get_launch_profile(
    launchProfileId='string',
    studioId='string'
)
Parameters
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'launchProfile': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SubnetIds': [
            'string',
        ],
        'launchProfileId': 'string',
        'launchProfileProtocolVersions': [
            'string',
        ],
        'name': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'LAUNCH_PROFILE_CREATED'|'LAUNCH_PROFILE_UPDATED'|'LAUNCH_PROFILE_DELETED'|'LAUNCH_PROFILE_CREATE_IN_PROGRESS'|'LAUNCH_PROFILE_UPDATE_IN_PROGRESS'|'LAUNCH_PROFILE_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'STREAMING_IMAGE_NOT_FOUND'|'STREAMING_IMAGE_NOT_READY'|'LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'INVALID_SUBNETS_PROVIDED',
        'statusMessage': 'string',
        'streamConfiguration': {
            'clipboardMode': 'ENABLED'|'DISABLED',
            'ec2InstanceTypes': [
                'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
            ],
            'maxSessionLengthInMinutes': 123,
            'maxStoppedSessionLengthInMinutes': 123,
            'sessionStorage': {
                'mode': [
                    'UPLOAD',
                ],
                'root': {
                    'linux': 'string',
                    'windows': 'string'
                }
            },
            'streamingImageIds': [
                'string',
            ]
        },
        'studioComponentIds': [
            'string',
        ],
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string',
        'validationResults': [
            {
                'state': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusCode': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION'|'VALIDATION_FAILED_SUBNET_NOT_FOUND'|'VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION'|'VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY'|'VALIDATION_FAILED_UNAUTHORIZED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusMessage': 'string',
                'type': 'VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT'|'VALIDATE_SUBNET_ASSOCIATION'|'VALIDATE_NETWORK_ACL_ASSOCIATION'|'VALIDATE_SECURITY_GROUP_ASSOCIATION'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • launchProfile (dict) --

      The launch profile.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the launch profile.

      • description (string) --

        A human-readable description of the launch profile.

      • ec2SubnetIds (list) --

        Unique identifiers for a collection of EC2 subnets.

        • (string) --
      • launchProfileId (string) --

        The launch profile ID.

      • launchProfileProtocolVersions (list) --

        The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

        • (string) --

          The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      • name (string) --

        A friendly name for the launch profile.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the launch profile.

      • streamConfiguration (dict) --

        A configuration for a streaming session.

        • clipboardMode (string) --

          Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

        • ec2InstanceTypes (list) --

          The EC2 instance types that users can select from when launching a streaming session with this launch profile.

          • (string) --
        • maxSessionLengthInMinutes (integer) --

          The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

        • maxStoppedSessionLengthInMinutes (integer) --

          Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

          If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

          If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

        • sessionStorage (dict) --

          (Optional) The upload storage for a streaming session.

          • mode (list) --

            Allows artists to upload files to their workstations. The only valid option is UPLOAD .

            • (string) --
          • root (dict) --

            The configuration for the upload storage root of the streaming session.

            • linux (string) --

              The folder path in Linux workstations where files are uploaded.

            • windows (string) --

              The folder path in Windows workstations where files are uploaded.

        • streamingImageIds (list) --

          The streaming images that users can select from when launching a streaming session with this launch profile.

          • (string) --
      • studioComponentIds (list) --

        Unique identifiers for a collection of studio components that can be used with this launch profile.

        • (string) --
      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

      • validationResults (list) --

        The list of the latest validation results.

        • (dict) --

          The launch profile validation result.

          • state (string) --

            The current state.

          • statusCode (string) --

            The status code. This will contain the failure reason if the state is VALIDATION_FAILED .

          • statusMessage (string) --

            The status message for the validation result.

          • type (string) --

            The type of the validation result.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_launch_profile_details(**kwargs)

Launch profile details include the launch profile resource and summary information of resources that are used by, or available to, the launch profile. This includes the name and description of all studio components used by the launch profiles, and the name and description of streaming images that can be used with this launch profile.

See also: AWS API Documentation

Request Syntax

response = client.get_launch_profile_details(
    launchProfileId='string',
    studioId='string'
)
Parameters
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'launchProfile': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SubnetIds': [
            'string',
        ],
        'launchProfileId': 'string',
        'launchProfileProtocolVersions': [
            'string',
        ],
        'name': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'LAUNCH_PROFILE_CREATED'|'LAUNCH_PROFILE_UPDATED'|'LAUNCH_PROFILE_DELETED'|'LAUNCH_PROFILE_CREATE_IN_PROGRESS'|'LAUNCH_PROFILE_UPDATE_IN_PROGRESS'|'LAUNCH_PROFILE_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'STREAMING_IMAGE_NOT_FOUND'|'STREAMING_IMAGE_NOT_READY'|'LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'INVALID_SUBNETS_PROVIDED',
        'statusMessage': 'string',
        'streamConfiguration': {
            'clipboardMode': 'ENABLED'|'DISABLED',
            'ec2InstanceTypes': [
                'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
            ],
            'maxSessionLengthInMinutes': 123,
            'maxStoppedSessionLengthInMinutes': 123,
            'sessionStorage': {
                'mode': [
                    'UPLOAD',
                ],
                'root': {
                    'linux': 'string',
                    'windows': 'string'
                }
            },
            'streamingImageIds': [
                'string',
            ]
        },
        'studioComponentIds': [
            'string',
        ],
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string',
        'validationResults': [
            {
                'state': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusCode': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION'|'VALIDATION_FAILED_SUBNET_NOT_FOUND'|'VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION'|'VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY'|'VALIDATION_FAILED_UNAUTHORIZED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusMessage': 'string',
                'type': 'VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT'|'VALIDATE_SUBNET_ASSOCIATION'|'VALIDATE_NETWORK_ACL_ASSOCIATION'|'VALIDATE_SECURITY_GROUP_ASSOCIATION'
            },
        ]
    },
    'streamingImages': [
        {
            'arn': 'string',
            'description': 'string',
            'ec2ImageId': 'string',
            'encryptionConfiguration': {
                'keyArn': 'string',
                'keyType': 'CUSTOMER_MANAGED_KEY'
            },
            'eulaIds': [
                'string',
            ],
            'name': 'string',
            'owner': 'string',
            'platform': 'string',
            'state': 'CREATE_IN_PROGRESS'|'READY'|'DELETE_IN_PROGRESS'|'DELETED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'CREATE_FAILED'|'DELETE_FAILED',
            'statusCode': 'STREAMING_IMAGE_CREATE_IN_PROGRESS'|'STREAMING_IMAGE_READY'|'STREAMING_IMAGE_DELETE_IN_PROGRESS'|'STREAMING_IMAGE_DELETED'|'STREAMING_IMAGE_UPDATE_IN_PROGRESS'|'INTERNAL_ERROR'|'ACCESS_DENIED',
            'statusMessage': 'string',
            'streamingImageId': 'string',
            'tags': {
                'string': 'string'
            }
        },
    ],
    'studioComponentSummaries': [
        {
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'description': 'string',
            'name': 'string',
            'studioComponentId': 'string',
            'subtype': 'AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
            'type': 'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • launchProfile (dict) --

      The launch profile.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the launch profile.

      • description (string) --

        A human-readable description of the launch profile.

      • ec2SubnetIds (list) --

        Unique identifiers for a collection of EC2 subnets.

        • (string) --
      • launchProfileId (string) --

        The launch profile ID.

      • launchProfileProtocolVersions (list) --

        The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

        • (string) --

          The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      • name (string) --

        A friendly name for the launch profile.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the launch profile.

      • streamConfiguration (dict) --

        A configuration for a streaming session.

        • clipboardMode (string) --

          Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

        • ec2InstanceTypes (list) --

          The EC2 instance types that users can select from when launching a streaming session with this launch profile.

          • (string) --
        • maxSessionLengthInMinutes (integer) --

          The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

        • maxStoppedSessionLengthInMinutes (integer) --

          Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

          If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

          If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

        • sessionStorage (dict) --

          (Optional) The upload storage for a streaming session.

          • mode (list) --

            Allows artists to upload files to their workstations. The only valid option is UPLOAD .

            • (string) --
          • root (dict) --

            The configuration for the upload storage root of the streaming session.

            • linux (string) --

              The folder path in Linux workstations where files are uploaded.

            • windows (string) --

              The folder path in Windows workstations where files are uploaded.

        • streamingImageIds (list) --

          The streaming images that users can select from when launching a streaming session with this launch profile.

          • (string) --
      • studioComponentIds (list) --

        Unique identifiers for a collection of studio components that can be used with this launch profile.

        • (string) --
      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

      • validationResults (list) --

        The list of the latest validation results.

        • (dict) --

          The launch profile validation result.

          • state (string) --

            The current state.

          • statusCode (string) --

            The status code. This will contain the failure reason if the state is VALIDATION_FAILED .

          • statusMessage (string) --

            The status message for the validation result.

          • type (string) --

            The type of the validation result.

    • streamingImages (list) --

      A collection of streaming images.

      • (dict) --

        Represents a streaming image resource.

        Streaming images are used by studio users to select which operating system and software they want to use in a Nimble Studio streaming session.

        Amazon provides a number of streaming images that include popular 3rd-party software.

        You can create your own streaming images using an Amazon Elastic Compute Cloud (Amazon EC2) machine image that you create for this purpose. You can also include software that your users require.

        • arn (string) --

          The ARN of the resource.

        • description (string) --

          A human-readable description of the streaming image.

        • ec2ImageId (string) --

          The ID of an EC2 machine image with which to create the streaming image.

        • encryptionConfiguration (dict) --

          The encryption configuration.

          • keyArn (string) --

            The ARN for a KMS key that is used to encrypt studio data.

          • keyType (string) --

            The type of KMS key that is used to encrypt studio data.

        • eulaIds (list) --

          The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.

          • (string) --
        • name (string) --

          A friendly name for a streaming image resource.

        • owner (string) --

          The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.

        • platform (string) --

          The platform of the streaming image, either WINDOWS or LINUX.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the streaming image.

        • streamingImageId (string) --

          The ID of the streaming image.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
    • studioComponentSummaries (list) --

      A collection of studio component summaries.

      • (dict) --

        The studio component's summary.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • createdBy (string) --

          The user ID of the user that created the studio component.

        • description (string) --

          The description.

        • name (string) --

          The name for the studio component.

        • studioComponentId (string) --

          The unique identifier for a studio component resource.

        • subtype (string) --

          The specific subtype of a studio component.

        • type (string) --

          The type of the studio component.

        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • updatedBy (string) --

          The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_launch_profile_initialization(**kwargs)

Get a launch profile initialization.

See also: AWS API Documentation

Request Syntax

response = client.get_launch_profile_initialization(
    launchProfileId='string',
    launchProfileProtocolVersions=[
        'string',
    ],
    launchPurpose='string',
    platform='string',
    studioId='string'
)
Parameters
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • launchProfileProtocolVersions (list) --

    [REQUIRED]

    The launch profile protocol versions supported by the client.

    • (string) --
  • launchPurpose (string) --

    [REQUIRED]

    The launch purpose.

  • platform (string) --

    [REQUIRED]

    The platform where this Launch Profile will be used, either WINDOWS or LINUX.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'launchProfileInitialization': {
        'activeDirectory': {
            'computerAttributes': [
                {
                    'name': 'string',
                    'value': 'string'
                },
            ],
            'directoryId': 'string',
            'directoryName': 'string',
            'dnsIpAddresses': [
                'string',
            ],
            'organizationalUnitDistinguishedName': 'string',
            'studioComponentId': 'string',
            'studioComponentName': 'string'
        },
        'ec2SecurityGroupIds': [
            'string',
        ],
        'launchProfileId': 'string',
        'launchProfileProtocolVersion': 'string',
        'launchPurpose': 'string',
        'name': 'string',
        'platform': 'LINUX'|'WINDOWS',
        'systemInitializationScripts': [
            {
                'script': 'string',
                'studioComponentId': 'string',
                'studioComponentName': 'string'
            },
        ],
        'userInitializationScripts': [
            {
                'script': 'string',
                'studioComponentId': 'string',
                'studioComponentName': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • launchProfileInitialization (dict) --

      The launch profile initialization.

      • activeDirectory (dict) --

        A LaunchProfileInitializationActiveDirectory resource.

        • computerAttributes (list) --

          A collection of custom attributes for an Active Directory computer.

          • (dict) --

            An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

            • name (string) --

              The name for the LDAP attribute.

            • value (string) --

              The value for the LDAP attribute.

        • directoryId (string) --

          The directory ID of the Directory Service for Microsoft Active Directory to access using this launch profile.

        • directoryName (string) --

          The directory name.

        • dnsIpAddresses (list) --

          The DNS IP address.

          • (string) --
        • organizationalUnitDistinguishedName (string) --

          The name for the organizational unit distinguished name.

        • studioComponentId (string) --

          The unique identifier for a studio component resource.

        • studioComponentName (string) --

          The name for the studio component.

      • ec2SecurityGroupIds (list) --

        The EC2 security groups that control access to the studio component.

        • (string) --
      • launchProfileId (string) --

        The launch profile ID.

      • launchProfileProtocolVersion (string) --

        The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      • launchPurpose (string) --

        The launch purpose.

      • name (string) --

        The name for the launch profile.

      • platform (string) --

        The platform of the launch platform, either WINDOWS or LINUX.

      • systemInitializationScripts (list) --

        The system initializtion scripts.

        • (dict) --

          The Launch Profile Initialization Script is used when start streaming session runs.

          • script (string) --

            The initialization script.

          • studioComponentId (string) --

            The unique identifier for a studio component resource.

          • studioComponentName (string) --

            The name for the studio component.

      • userInitializationScripts (list) --

        The user initializtion scripts.

        • (dict) --

          The Launch Profile Initialization Script is used when start streaming session runs.

          • script (string) --

            The initialization script.

          • studioComponentId (string) --

            The unique identifier for a studio component resource.

          • studioComponentName (string) --

            The name for the studio component.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_launch_profile_member(**kwargs)

Get a user persona in launch profile membership.

See also: AWS API Documentation

Request Syntax

response = client.get_launch_profile_member(
    launchProfileId='string',
    principalId='string',
    studioId='string'
)
Parameters
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • principalId (string) --

    [REQUIRED]

    The principal ID. This currently supports a Amazon Web Services SSO UserId.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'member': {
        'identityStoreId': 'string',
        'persona': 'USER',
        'principalId': 'string',
        'sid': 'string'
    }
}

Response Structure

  • (dict) --

    • member (dict) --

      The member.

      • identityStoreId (string) --

        The ID of the identity store.

      • persona (string) --

        The persona.

      • principalId (string) --

        The principal ID.

      • sid (string) --

        The Active Directory Security Identifier for this user, if available.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_paginator(operation_name)

Create a paginator for an operation.

Parameters
operation_name (string) -- The operation name. This is the same name as the method name on the client. For example, if the method name is create_foo, and you'd normally invoke the operation as client.create_foo(**kwargs), if the create_foo operation can be paginated, you can use the call client.get_paginator("create_foo").
Raises OperationNotPageableError
Raised if the operation is not pageable. You can use the client.can_paginate method to check if an operation is pageable.
Return type
L{botocore.paginate.Paginator}
Returns
A paginator object.
get_streaming_image(**kwargs)

Get streaming image.

See also: AWS API Documentation

Request Syntax

response = client.get_streaming_image(
    streamingImageId='string',
    studioId='string'
)
Parameters
  • streamingImageId (string) --

    [REQUIRED]

    The streaming image ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'streamingImage': {
        'arn': 'string',
        'description': 'string',
        'ec2ImageId': 'string',
        'encryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'CUSTOMER_MANAGED_KEY'
        },
        'eulaIds': [
            'string',
        ],
        'name': 'string',
        'owner': 'string',
        'platform': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'DELETE_IN_PROGRESS'|'DELETED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'CREATE_FAILED'|'DELETE_FAILED',
        'statusCode': 'STREAMING_IMAGE_CREATE_IN_PROGRESS'|'STREAMING_IMAGE_READY'|'STREAMING_IMAGE_DELETE_IN_PROGRESS'|'STREAMING_IMAGE_DELETED'|'STREAMING_IMAGE_UPDATE_IN_PROGRESS'|'INTERNAL_ERROR'|'ACCESS_DENIED',
        'statusMessage': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • streamingImage (dict) --

      The streaming image.

      • arn (string) --

        The ARN of the resource.

      • description (string) --

        A human-readable description of the streaming image.

      • ec2ImageId (string) --

        The ID of an EC2 machine image with which to create the streaming image.

      • encryptionConfiguration (dict) --

        The encryption configuration.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • eulaIds (list) --

        The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.

        • (string) --
      • name (string) --

        A friendly name for a streaming image resource.

      • owner (string) --

        The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.

      • platform (string) --

        The platform of the streaming image, either WINDOWS or LINUX.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming image.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_streaming_session(**kwargs)

Gets StreamingSession resource.

Invoke this operation to poll for a streaming session state while creating or deleting a session.

See also: AWS API Documentation

Request Syntax

response = client.get_streaming_session(
    sessionId='string',
    studioId='string'
)
Parameters
  • sessionId (string) --

    [REQUIRED]

    The streaming session ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'session': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'ec2InstanceType': 'string',
        'launchProfileId': 'string',
        'ownedBy': 'string',
        'sessionId': 'string',
        'startedAt': datetime(2015, 1, 1),
        'startedBy': 'string',
        'state': 'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'READY'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED'|'STOP_IN_PROGRESS'|'START_IN_PROGRESS'|'STOPPED'|'STOP_FAILED'|'START_FAILED',
        'statusCode': 'STREAMING_SESSION_READY'|'STREAMING_SESSION_DELETED'|'STREAMING_SESSION_CREATE_IN_PROGRESS'|'STREAMING_SESSION_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'INSUFFICIENT_CAPACITY'|'ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR'|'NETWORK_CONNECTION_ERROR'|'INITIALIZATION_SCRIPT_ERROR'|'DECRYPT_STREAMING_IMAGE_ERROR'|'NETWORK_INTERFACE_ERROR'|'STREAMING_SESSION_STOPPED'|'STREAMING_SESSION_STARTED'|'STREAMING_SESSION_STOP_IN_PROGRESS'|'STREAMING_SESSION_START_IN_PROGRESS'|'AMI_VALIDATION_ERROR',
        'statusMessage': 'string',
        'stopAt': datetime(2015, 1, 1),
        'stoppedAt': datetime(2015, 1, 1),
        'stoppedBy': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        },
        'terminateAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • session (dict) --

      The session.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the streaming session.

      • ec2InstanceType (string) --

        The EC2 Instance type used for the streaming session.

      • launchProfileId (string) --

        The ID of the launch profile used to control access from the streaming session.

      • ownedBy (string) --

        The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

      • sessionId (string) --

        The session ID.

      • startedAt (datetime) --

        The time the session entered START_IN_PROGRESS state.

      • startedBy (string) --

        The user ID of the user that started the streaming session.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming session.

      • stopAt (datetime) --

        The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.

      • stoppedAt (datetime) --

        The time the session entered STOP_IN_PROGRESS state.

      • stoppedBy (string) --

        The user ID of the user that stopped the streaming session.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • terminateAt (datetime) --

        The time the streaming session will automatically terminate if not terminated by the user.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_streaming_session_stream(**kwargs)

Gets a StreamingSessionStream for a streaming session.

Invoke this operation to poll the resource after invoking CreateStreamingSessionStream.

After the StreamingSessionStream changes to the state READY, the url property will contain a stream to be used with the DCV streaming client.

See also: AWS API Documentation

Request Syntax

response = client.get_streaming_session_stream(
    sessionId='string',
    streamId='string',
    studioId='string'
)
Parameters
  • sessionId (string) --

    [REQUIRED]

    The streaming session ID.

  • streamId (string) --

    [REQUIRED]

    The streaming session stream ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'stream': {
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'expiresAt': datetime(2015, 1, 1),
        'ownedBy': 'string',
        'state': 'READY'|'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED',
        'statusCode': 'STREAM_CREATE_IN_PROGRESS'|'STREAM_READY'|'STREAM_DELETE_IN_PROGRESS'|'STREAM_DELETED'|'INTERNAL_ERROR'|'NETWORK_CONNECTION_ERROR',
        'streamId': 'string',
        'url': 'string'
    }
}

Response Structure

  • (dict) --

    • stream (dict) --

      The stream.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the streaming session stream.

      • expiresAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource expires.

      • ownedBy (string) --

        The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

      • state (string) --

        The current state.

      • statusCode (string) --

        The streaming session stream status code.

      • streamId (string) --

        The stream ID.

      • url (string) --

        The URL to connect to this stream using the DCV client.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_studio(**kwargs)

Get a Studio resource.

See also: AWS API Documentation

Request Syntax

response = client.get_studio(
    studioId='string'
)
Parameters
studioId (string) --

[REQUIRED]

The studio ID.

Return type
dict
Returns
Response Syntax
{
    'studio': {
        'adminRoleArn': 'string',
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'displayName': 'string',
        'homeRegion': 'string',
        'ssoClientId': 'string',
        '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',
        'statusMessage': 'string',
        'studioEncryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'AWS_OWNED_KEY'|'CUSTOMER_MANAGED_KEY'
        },
        'studioId': 'string',
        'studioName': 'string',
        'studioUrl': 'string',
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'userRoleArn': 'string'
    }
}

Response Structure

  • (dict) --
    • studio (dict) --

      Information about a studio.

      • adminRoleArn (string) --

        The IAM role that studio admins assume when logging in to the Nimble Studio portal.

      • arn (string) --

        The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • displayName (string) --

        A friendly name for the studio.

      • homeRegion (string) --

        The Amazon Web Services Region where the studio resource is located.

      • ssoClientId (string) --

        The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

      • state (string) --

        The current state of the studio resource.

      • statusCode (string) --

        Status codes that provide additional detail on the studio state.

      • statusMessage (string) --

        Additional detail on the studio state.

      • studioEncryptionConfiguration (dict) --

        Configuration of the encryption method that is used for the studio.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • studioId (string) --

        The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.

      • studioName (string) --

        The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

      • studioUrl (string) --

        The address of the web page for the studio.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • userRoleArn (string) --

        The IAM role that studio users assume when logging in to the Nimble Studio portal.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_studio_component(**kwargs)

Gets a studio component resource.

See also: AWS API Documentation

Request Syntax

response = client.get_studio_component(
    studioComponentId='string',
    studioId='string'
)
Parameters
  • studioComponentId (string) --

    [REQUIRED]

    The studio component ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'studioComponent': {
        'arn': 'string',
        'configuration': {
            'activeDirectoryConfiguration': {
                'computerAttributes': [
                    {
                        'name': 'string',
                        'value': 'string'
                    },
                ],
                'directoryId': 'string',
                'organizationalUnitDistinguishedName': 'string'
            },
            'computeFarmConfiguration': {
                'activeDirectoryUser': 'string',
                'endpoint': 'string'
            },
            'licenseServiceConfiguration': {
                'endpoint': 'string'
            },
            'sharedFileSystemConfiguration': {
                'endpoint': 'string',
                'fileSystemId': 'string',
                'linuxMountPoint': 'string',
                'shareName': 'string',
                'windowsMountDrive': 'string'
            }
        },
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SecurityGroupIds': [
            'string',
        ],
        'initializationScripts': [
            {
                'launchProfileProtocolVersion': 'string',
                'platform': 'LINUX'|'WINDOWS',
                'runContext': 'SYSTEM_INITIALIZATION'|'USER_INITIALIZATION',
                'script': 'string'
            },
        ],
        'name': 'string',
        'scriptParameters': [
            {
                'key': 'string',
                'value': 'string'
            },
        ],
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'ACTIVE_DIRECTORY_ALREADY_EXISTS'|'STUDIO_COMPONENT_CREATED'|'STUDIO_COMPONENT_UPDATED'|'STUDIO_COMPONENT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'STUDIO_COMPONENT_CREATE_IN_PROGRESS'|'STUDIO_COMPONENT_UPDATE_IN_PROGRESS'|'STUDIO_COMPONENT_DELETE_IN_PROGRESS'|'INTERNAL_ERROR',
        'statusMessage': 'string',
        'studioComponentId': 'string',
        'subtype': 'AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
        'tags': {
            'string': 'string'
        },
        'type': 'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • studioComponent (dict) --

      Information about the studio component.

      • arn (string) --

        The ARN of the resource.

      • configuration (dict) --

        The configuration of the studio component, based on component type.

        Note

        This is a Tagged Union structure. Only one of the following top level keys will be set: activeDirectoryConfiguration, computeFarmConfiguration, licenseServiceConfiguration, sharedFileSystemConfiguration. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

        'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
        
        • activeDirectoryConfiguration (dict) --

          The configuration for a Microsoft Active Directory (Microsoft AD) studio resource.

          • computerAttributes (list) --

            A collection of custom attributes for an Active Directory computer.

            • (dict) --

              An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

              • name (string) --

                The name for the LDAP attribute.

              • value (string) --

                The value for the LDAP attribute.

          • directoryId (string) --

            The directory ID of the Directory Service for Microsoft Active Directory to access using this studio component.

          • organizationalUnitDistinguishedName (string) --

            The distinguished name (DN) and organizational unit (OU) of an Active Directory computer.

        • computeFarmConfiguration (dict) --

          The configuration for a render farm that is associated with a studio resource.

          • activeDirectoryUser (string) --

            The name of an Active Directory user that is used on ComputeFarm worker instances.

          • endpoint (string) --

            The endpoint of the ComputeFarm that is accessed by the studio component resource.

        • licenseServiceConfiguration (dict) --

          The configuration for a license service that is associated with a studio resource.

          • endpoint (string) --

            The endpoint of the license service that is accessed by the studio component resource.

        • sharedFileSystemConfiguration (dict) --

          The configuration for a shared file storage system that is associated with a studio resource.

          • endpoint (string) --

            The endpoint of the shared file system that is accessed by the studio component resource.

          • fileSystemId (string) --

            The unique identifier for a file system.

          • linuxMountPoint (string) --

            The mount location for a shared file system on a Linux virtual workstation.

          • shareName (string) --

            The name of the file share.

          • windowsMountDrive (string) --

            The mount location for a shared file system on a Windows virtual workstation.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the studio component.

      • description (string) --

        A human-readable description for the studio component resource.

      • ec2SecurityGroupIds (list) --

        The EC2 security groups that control access to the studio component.

        • (string) --
      • initializationScripts (list) --

        Initialization scripts for studio components.

        • (dict) --

          Initialization scripts for studio components.

          • launchProfileProtocolVersion (string) --

            The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

          • platform (string) --

            The platform of the initialization script, either WINDOWS or LINUX.

          • runContext (string) --

            The method to use when running the initialization script.

          • script (string) --

            The initialization script.

      • name (string) --

        A friendly name for the studio component resource.

      • scriptParameters (list) --

        Parameters for the studio component scripts.

        • (dict) --

          A parameter for a studio component script, in the form of a key:value pair.

          • key (string) --

            A script parameter key.

          • value (string) --

            A script parameter value.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the studio component.

      • studioComponentId (string) --

        The unique identifier for a studio component resource.

      • subtype (string) --

        The specific subtype of a studio component.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • type (string) --

        The type of the studio component.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_studio_member(**kwargs)

Get a user's membership in a studio.

See also: AWS API Documentation

Request Syntax

response = client.get_studio_member(
    principalId='string',
    studioId='string'
)
Parameters
  • principalId (string) --

    [REQUIRED]

    The principal ID. This currently supports a Amazon Web Services SSO UserId.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'member': {
        'identityStoreId': 'string',
        'persona': 'ADMINISTRATOR',
        'principalId': 'string',
        'sid': 'string'
    }
}

Response Structure

  • (dict) --

    • member (dict) --

      The member.

      • identityStoreId (string) --

        The ID of the identity store.

      • persona (string) --

        The persona.

      • principalId (string) --

        The principal ID.

      • sid (string) --

        The Active Directory Security Identifier for this user, if available.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
get_waiter(waiter_name)

Returns an object that can wait for some condition.

Parameters
waiter_name (str) -- The name of the waiter to get. See the waiters section of the service docs for a list of available waiters.
Returns
The specified waiter object.
Return type
botocore.waiter.Waiter
list_eula_acceptances(**kwargs)

List Eula Acceptances.

See also: AWS API Documentation

Request Syntax

response = client.list_eula_acceptances(
    eulaIds=[
        'string',
    ],
    nextToken='string',
    studioId='string'
)
Parameters
  • eulaIds (list) --

    The list of EULA IDs that have been previously accepted.

    • (string) --
  • nextToken (string) -- The token to request the next page of results.
  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'eulaAcceptances': [
        {
            'acceptedAt': datetime(2015, 1, 1),
            'acceptedBy': 'string',
            'accepteeId': 'string',
            'eulaAcceptanceId': 'string',
            'eulaId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • eulaAcceptances (list) --

      A collection of EULA acceptances.

      • (dict) --

        The acceptance of a EULA, required to use Amazon-provided streaming images.

        • acceptedAt (datetime) --

          The Unix epoch timestamp in seconds for when the EULA was accepted.

        • acceptedBy (string) --

          The ID of the person who accepted the EULA.

        • accepteeId (string) --

          The ID of the acceptee.

        • eulaAcceptanceId (string) --

          The EULA acceptance ID.

        • eulaId (string) --

          The EULA ID.

    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_eulas(**kwargs)

List Eulas.

See also: AWS API Documentation

Request Syntax

response = client.list_eulas(
    eulaIds=[
        'string',
    ],
    nextToken='string'
)
Parameters
  • eulaIds (list) --

    The list of EULA IDs that should be returned

    • (string) --
  • nextToken (string) -- The token to request the next page of results.
Return type

dict

Returns

Response Syntax

{
    'eulas': [
        {
            'content': 'string',
            'createdAt': datetime(2015, 1, 1),
            'eulaId': 'string',
            'name': 'string',
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • eulas (list) --

      A collection of EULA resources.

      • (dict) --

        Represents a EULA resource.

        • content (string) --

          The EULA content.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • eulaId (string) --

          The EULA ID.

        • name (string) --

          The name for the EULA.

        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_launch_profile_members(**kwargs)

Get all users in a given launch profile membership.

See also: AWS API Documentation

Request Syntax

response = client.list_launch_profile_members(
    launchProfileId='string',
    maxResults=123,
    nextToken='string',
    studioId='string'
)
Parameters
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • maxResults (integer) -- The max number of results to return in the response.
  • nextToken (string) -- The token to request the next page of results.
  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'members': [
        {
            'identityStoreId': 'string',
            'persona': 'USER',
            'principalId': 'string',
            'sid': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • members (list) --

      A list of members.

      • (dict) --

        Launch profile membership enables your studio admins to delegate launch profile access to other studio users in the Nimble Studio portal without needing to write or maintain complex IAM policies. A launch profile member is a user association from your studio identity source who is granted permissions to a launch profile.

        A launch profile member (type USER) provides the following permissions to that launch profile:

        • GetLaunchProfile
        • GetLaunchProfileInitialization
        • GetLaunchProfileMembers
        • GetLaunchProfileMember
        • CreateStreamingSession
        • GetLaunchProfileDetails
        • identityStoreId (string) --

          The ID of the identity store.

        • persona (string) --

          The persona.

        • principalId (string) --

          The principal ID.

        • sid (string) --

          The Active Directory Security Identifier for this user, if available.

    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_launch_profiles(**kwargs)

List all the launch profiles a studio.

See also: AWS API Documentation

Request Syntax

response = client.list_launch_profiles(
    maxResults=123,
    nextToken='string',
    principalId='string',
    states=[
        'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
    ],
    studioId='string'
)
Parameters
  • maxResults (integer) -- The max number of results to return in the response.
  • nextToken (string) -- The token to request the next page of results.
  • principalId (string) -- The principal ID. This currently supports a Amazon Web Services SSO UserId.
  • states (list) --

    Filter this request to launch profiles in any of the given states.

    • (string) --
  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'launchProfiles': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'description': 'string',
            'ec2SubnetIds': [
                'string',
            ],
            'launchProfileId': 'string',
            'launchProfileProtocolVersions': [
                'string',
            ],
            'name': 'string',
            'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
            'statusCode': 'LAUNCH_PROFILE_CREATED'|'LAUNCH_PROFILE_UPDATED'|'LAUNCH_PROFILE_DELETED'|'LAUNCH_PROFILE_CREATE_IN_PROGRESS'|'LAUNCH_PROFILE_UPDATE_IN_PROGRESS'|'LAUNCH_PROFILE_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'STREAMING_IMAGE_NOT_FOUND'|'STREAMING_IMAGE_NOT_READY'|'LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'INVALID_SUBNETS_PROVIDED',
            'statusMessage': 'string',
            'streamConfiguration': {
                'clipboardMode': 'ENABLED'|'DISABLED',
                'ec2InstanceTypes': [
                    'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
                ],
                'maxSessionLengthInMinutes': 123,
                'maxStoppedSessionLengthInMinutes': 123,
                'sessionStorage': {
                    'mode': [
                        'UPLOAD',
                    ],
                    'root': {
                        'linux': 'string',
                        'windows': 'string'
                    }
                },
                'streamingImageIds': [
                    'string',
                ]
            },
            'studioComponentIds': [
                'string',
            ],
            'tags': {
                'string': 'string'
            },
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string',
            'validationResults': [
                {
                    'state': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                    'statusCode': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION'|'VALIDATION_FAILED_SUBNET_NOT_FOUND'|'VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION'|'VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY'|'VALIDATION_FAILED_UNAUTHORIZED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                    'statusMessage': 'string',
                    'type': 'VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT'|'VALIDATE_SUBNET_ASSOCIATION'|'VALIDATE_NETWORK_ACL_ASSOCIATION'|'VALIDATE_SECURITY_GROUP_ASSOCIATION'
                },
            ]
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • launchProfiles (list) --

      A collection of launch profiles.

      • (dict) --

        A launch profile controls your artist workforce’s access to studio components, like compute farms, shared file systems, managed file systems, and license server configurations, as well as instance types and Amazon Machine Images (AMIs).

        <p>Studio administrators create launch profiles in the Nimble Studio console. Artists can use their launch profiles to launch an instance from the Nimble Studio portal. Each user’s launch profile defines how they can launch a streaming session. By default, studio admins can use all launch profiles.</p>

        • arn (string) --

          The ARN of the resource.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • createdBy (string) --

          The user ID of the user that created the launch profile.

        • description (string) --

          A human-readable description of the launch profile.

        • ec2SubnetIds (list) --

          Unique identifiers for a collection of EC2 subnets.

          • (string) --
        • launchProfileId (string) --

          The launch profile ID.

        • launchProfileProtocolVersions (list) --

          The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

          • (string) --

            The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

        • name (string) --

          A friendly name for the launch profile.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the launch profile.

        • streamConfiguration (dict) --

          A configuration for a streaming session.

          • clipboardMode (string) --

            Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

          • ec2InstanceTypes (list) --

            The EC2 instance types that users can select from when launching a streaming session with this launch profile.

            • (string) --
          • maxSessionLengthInMinutes (integer) --

            The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

          • maxStoppedSessionLengthInMinutes (integer) --

            Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

            If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

            If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

          • sessionStorage (dict) --

            (Optional) The upload storage for a streaming session.

            • mode (list) --

              Allows artists to upload files to their workstations. The only valid option is UPLOAD .

              • (string) --
            • root (dict) --

              The configuration for the upload storage root of the streaming session.

              • linux (string) --

                The folder path in Linux workstations where files are uploaded.

              • windows (string) --

                The folder path in Windows workstations where files are uploaded.

          • streamingImageIds (list) --

            The streaming images that users can select from when launching a streaming session with this launch profile.

            • (string) --
        • studioComponentIds (list) --

          Unique identifiers for a collection of studio components that can be used with this launch profile.

          • (string) --
        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • updatedBy (string) --

          The user ID of the user that most recently updated the resource.

        • validationResults (list) --

          The list of the latest validation results.

          • (dict) --

            The launch profile validation result.

            • state (string) --

              The current state.

            • statusCode (string) --

              The status code. This will contain the failure reason if the state is VALIDATION_FAILED .

            • statusMessage (string) --

              The status message for the validation result.

            • type (string) --

              The type of the validation result.

    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_streaming_images(**kwargs)

List the streaming image resources available to this studio.

This list will contain both images provided by Amazon Web Services, as well as streaming images that you have created in your studio.

See also: AWS API Documentation

Request Syntax

response = client.list_streaming_images(
    nextToken='string',
    owner='string',
    studioId='string'
)
Parameters
  • nextToken (string) -- The token to request the next page of results.
  • owner (string) -- Filter this request to streaming images with the given owner
  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'nextToken': 'string',
    'streamingImages': [
        {
            'arn': 'string',
            'description': 'string',
            'ec2ImageId': 'string',
            'encryptionConfiguration': {
                'keyArn': 'string',
                'keyType': 'CUSTOMER_MANAGED_KEY'
            },
            'eulaIds': [
                'string',
            ],
            'name': 'string',
            'owner': 'string',
            'platform': 'string',
            'state': 'CREATE_IN_PROGRESS'|'READY'|'DELETE_IN_PROGRESS'|'DELETED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'CREATE_FAILED'|'DELETE_FAILED',
            'statusCode': 'STREAMING_IMAGE_CREATE_IN_PROGRESS'|'STREAMING_IMAGE_READY'|'STREAMING_IMAGE_DELETE_IN_PROGRESS'|'STREAMING_IMAGE_DELETED'|'STREAMING_IMAGE_UPDATE_IN_PROGRESS'|'INTERNAL_ERROR'|'ACCESS_DENIED',
            'statusMessage': 'string',
            'streamingImageId': 'string',
            'tags': {
                'string': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

    • streamingImages (list) --

      A collection of streaming images.

      • (dict) --

        Represents a streaming image resource.

        Streaming images are used by studio users to select which operating system and software they want to use in a Nimble Studio streaming session.

        Amazon provides a number of streaming images that include popular 3rd-party software.

        You can create your own streaming images using an Amazon Elastic Compute Cloud (Amazon EC2) machine image that you create for this purpose. You can also include software that your users require.

        • arn (string) --

          The ARN of the resource.

        • description (string) --

          A human-readable description of the streaming image.

        • ec2ImageId (string) --

          The ID of an EC2 machine image with which to create the streaming image.

        • encryptionConfiguration (dict) --

          The encryption configuration.

          • keyArn (string) --

            The ARN for a KMS key that is used to encrypt studio data.

          • keyType (string) --

            The type of KMS key that is used to encrypt studio data.

        • eulaIds (list) --

          The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.

          • (string) --
        • name (string) --

          A friendly name for a streaming image resource.

        • owner (string) --

          The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.

        • platform (string) --

          The platform of the streaming image, either WINDOWS or LINUX.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the streaming image.

        • streamingImageId (string) --

          The ID of the streaming image.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_streaming_sessions(**kwargs)

Lists the streaming image resources in a studio.

See also: AWS API Documentation

Request Syntax

response = client.list_streaming_sessions(
    createdBy='string',
    nextToken='string',
    ownedBy='string',
    sessionIds='string',
    studioId='string'
)
Parameters
  • createdBy (string) -- Filters the request to streaming sessions created by the given user.
  • nextToken (string) -- The token to request the next page of results.
  • ownedBy (string) -- Filters the request to streaming session owned by the given user
  • sessionIds (string) -- Filters the request to only the provided session IDs.
  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'nextToken': 'string',
    'sessions': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'ec2InstanceType': 'string',
            'launchProfileId': 'string',
            'ownedBy': 'string',
            'sessionId': 'string',
            'startedAt': datetime(2015, 1, 1),
            'startedBy': 'string',
            'state': 'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'READY'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED'|'STOP_IN_PROGRESS'|'START_IN_PROGRESS'|'STOPPED'|'STOP_FAILED'|'START_FAILED',
            'statusCode': 'STREAMING_SESSION_READY'|'STREAMING_SESSION_DELETED'|'STREAMING_SESSION_CREATE_IN_PROGRESS'|'STREAMING_SESSION_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'INSUFFICIENT_CAPACITY'|'ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR'|'NETWORK_CONNECTION_ERROR'|'INITIALIZATION_SCRIPT_ERROR'|'DECRYPT_STREAMING_IMAGE_ERROR'|'NETWORK_INTERFACE_ERROR'|'STREAMING_SESSION_STOPPED'|'STREAMING_SESSION_STARTED'|'STREAMING_SESSION_STOP_IN_PROGRESS'|'STREAMING_SESSION_START_IN_PROGRESS'|'AMI_VALIDATION_ERROR',
            'statusMessage': 'string',
            'stopAt': datetime(2015, 1, 1),
            'stoppedAt': datetime(2015, 1, 1),
            'stoppedBy': 'string',
            'streamingImageId': 'string',
            'tags': {
                'string': 'string'
            },
            'terminateAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

    • sessions (list) --

      A collection of streaming sessions.

      • (dict) --

        A streaming session is a virtual workstation created using a particular launch profile.

        • arn (string) --

          The ARN of the resource.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • createdBy (string) --

          The user ID of the user that created the streaming session.

        • ec2InstanceType (string) --

          The EC2 Instance type used for the streaming session.

        • launchProfileId (string) --

          The ID of the launch profile used to control access from the streaming session.

        • ownedBy (string) --

          The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

        • sessionId (string) --

          The session ID.

        • startedAt (datetime) --

          The time the session entered START_IN_PROGRESS state.

        • startedBy (string) --

          The user ID of the user that started the streaming session.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the streaming session.

        • stopAt (datetime) --

          The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.

        • stoppedAt (datetime) --

          The time the session entered STOP_IN_PROGRESS state.

        • stoppedBy (string) --

          The user ID of the user that stopped the streaming session.

        • streamingImageId (string) --

          The ID of the streaming image.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
        • terminateAt (datetime) --

          The time the streaming session will automatically terminate if not terminated by the user.

        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • updatedBy (string) --

          The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_studio_components(**kwargs)

Lists the StudioComponents in a studio.

See also: AWS API Documentation

Request Syntax

response = client.list_studio_components(
    maxResults=123,
    nextToken='string',
    states=[
        'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
    ],
    studioId='string',
    types=[
        'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
    ]
)
Parameters
  • maxResults (integer) -- The max number of results to return in the response.
  • nextToken (string) -- The token to request the next page of results.
  • states (list) --

    Filters the request to studio components that are in one of the given states.

    • (string) --

      The current state of the studio component resource.

      While a studio component is being created, modified, or deleted, its state will equal "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", or "DELETE_IN_PROGRESS"

      These are called 'transition states'.

      No modifications may be made to the studio component while it is in a transition state.

      If creation of the resource fails, the state will change to CREATE_FAILED. The resource StatusCode and StatusMessage will provide more information of why creation failed. The resource in this state will automatically be deleted from your account after a period of time.

      If updating the resource fails, the state will change to UPDATE_FAILED. The resource StatusCode and StatusMessage will provide more information of why the update failed. The resource will be returned to the state it was in when the update request was invoked.

      If deleting the resource fails, the state will change to DELETE_FAILED. The resource StatusCode and StatusMessage will provide more information of why the update failed. The resource will be returned to the state it was in when the update request was invoked. After the resource is deleted successfully, it will change to the "DELETED" state. The resource will no longer count against service quotas and cannot be used or acted upon any futher. It will be removed from your account after a period of time.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • types (list) --

    Filters the request to studio components that are of one of the given types.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'nextToken': 'string',
    'studioComponents': [
        {
            'arn': 'string',
            'configuration': {
                'activeDirectoryConfiguration': {
                    'computerAttributes': [
                        {
                            'name': 'string',
                            'value': 'string'
                        },
                    ],
                    'directoryId': 'string',
                    'organizationalUnitDistinguishedName': 'string'
                },
                'computeFarmConfiguration': {
                    'activeDirectoryUser': 'string',
                    'endpoint': 'string'
                },
                'licenseServiceConfiguration': {
                    'endpoint': 'string'
                },
                'sharedFileSystemConfiguration': {
                    'endpoint': 'string',
                    'fileSystemId': 'string',
                    'linuxMountPoint': 'string',
                    'shareName': 'string',
                    'windowsMountDrive': 'string'
                }
            },
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'description': 'string',
            'ec2SecurityGroupIds': [
                'string',
            ],
            'initializationScripts': [
                {
                    'launchProfileProtocolVersion': 'string',
                    'platform': 'LINUX'|'WINDOWS',
                    'runContext': 'SYSTEM_INITIALIZATION'|'USER_INITIALIZATION',
                    'script': 'string'
                },
            ],
            'name': 'string',
            'scriptParameters': [
                {
                    'key': 'string',
                    'value': 'string'
                },
            ],
            'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
            'statusCode': 'ACTIVE_DIRECTORY_ALREADY_EXISTS'|'STUDIO_COMPONENT_CREATED'|'STUDIO_COMPONENT_UPDATED'|'STUDIO_COMPONENT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'STUDIO_COMPONENT_CREATE_IN_PROGRESS'|'STUDIO_COMPONENT_UPDATE_IN_PROGRESS'|'STUDIO_COMPONENT_DELETE_IN_PROGRESS'|'INTERNAL_ERROR',
            'statusMessage': 'string',
            'studioComponentId': 'string',
            'subtype': 'AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
            'tags': {
                'string': 'string'
            },
            'type': 'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

    • studioComponents (list) --

      A collection of studio components.

      • (dict) --

        A studio component represents a network resource to be used by a studio's users and workflows. A typical studio contains studio components for each of the following: render farm, Active Directory, licensing, and file system.

        Access to a studio component is managed by specifying security groups for the resource, as well as its endpoint.

        A studio component also has a set of initialization scripts that are returned by GetLaunchProfileInitialization . These initialization scripts run on streaming sessions when they start. They provide users with flexibility in controlling how the studio resources are configured on a streaming session.

        • arn (string) --

          The ARN of the resource.

        • configuration (dict) --

          The configuration of the studio component, based on component type.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: activeDirectoryConfiguration, computeFarmConfiguration, licenseServiceConfiguration, sharedFileSystemConfiguration. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

          'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
          
          • activeDirectoryConfiguration (dict) --

            The configuration for a Microsoft Active Directory (Microsoft AD) studio resource.

            • computerAttributes (list) --

              A collection of custom attributes for an Active Directory computer.

              • (dict) --

                An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

                • name (string) --

                  The name for the LDAP attribute.

                • value (string) --

                  The value for the LDAP attribute.

            • directoryId (string) --

              The directory ID of the Directory Service for Microsoft Active Directory to access using this studio component.

            • organizationalUnitDistinguishedName (string) --

              The distinguished name (DN) and organizational unit (OU) of an Active Directory computer.

          • computeFarmConfiguration (dict) --

            The configuration for a render farm that is associated with a studio resource.

            • activeDirectoryUser (string) --

              The name of an Active Directory user that is used on ComputeFarm worker instances.

            • endpoint (string) --

              The endpoint of the ComputeFarm that is accessed by the studio component resource.

          • licenseServiceConfiguration (dict) --

            The configuration for a license service that is associated with a studio resource.

            • endpoint (string) --

              The endpoint of the license service that is accessed by the studio component resource.

          • sharedFileSystemConfiguration (dict) --

            The configuration for a shared file storage system that is associated with a studio resource.

            • endpoint (string) --

              The endpoint of the shared file system that is accessed by the studio component resource.

            • fileSystemId (string) --

              The unique identifier for a file system.

            • linuxMountPoint (string) --

              The mount location for a shared file system on a Linux virtual workstation.

            • shareName (string) --

              The name of the file share.

            • windowsMountDrive (string) --

              The mount location for a shared file system on a Windows virtual workstation.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • createdBy (string) --

          The user ID of the user that created the studio component.

        • description (string) --

          A human-readable description for the studio component resource.

        • ec2SecurityGroupIds (list) --

          The EC2 security groups that control access to the studio component.

          • (string) --
        • initializationScripts (list) --

          Initialization scripts for studio components.

          • (dict) --

            Initialization scripts for studio components.

            • launchProfileProtocolVersion (string) --

              The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

            • platform (string) --

              The platform of the initialization script, either WINDOWS or LINUX.

            • runContext (string) --

              The method to use when running the initialization script.

            • script (string) --

              The initialization script.

        • name (string) --

          A friendly name for the studio component resource.

        • scriptParameters (list) --

          Parameters for the studio component scripts.

          • (dict) --

            A parameter for a studio component script, in the form of a key:value pair.

            • key (string) --

              A script parameter key.

            • value (string) --

              A script parameter value.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the studio component.

        • studioComponentId (string) --

          The unique identifier for a studio component resource.

        • subtype (string) --

          The specific subtype of a studio component.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
        • type (string) --

          The type of the studio component.

        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • updatedBy (string) --

          The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_studio_members(**kwargs)

Get all users in a given studio membership.

Note

ListStudioMembers only returns admin members.

See also: AWS API Documentation

Request Syntax

response = client.list_studio_members(
    maxResults=123,
    nextToken='string',
    studioId='string'
)
Parameters
  • maxResults (integer) -- The max number of results to return in the response.
  • nextToken (string) -- The token to request the next page of results.
  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'members': [
        {
            'identityStoreId': 'string',
            'persona': 'ADMINISTRATOR',
            'principalId': 'string',
            'sid': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • members (list) --

      A list of admin members.

      • (dict) --

        A studio member is an association of a user from your studio identity source to elevated permissions that they are granted in the studio.

        When you add a user to your studio using the Nimble Studio console, they are given access to the studio's AWS SSO application and are given access to log in to the Nimble Studio portal. These users have the permissions provided by the studio's user IAM role and do not appear in the studio membership collection. Only studio admins appear in studio membership.

        When you add a user to studio membership with the persona ADMIN, upon logging in to the Nimble Studio portal, they are granted permissions specified by the Studio's Admin IAM role.

        • identityStoreId (string) --

          The ID of the identity store.

        • persona (string) --

          The persona.

        • principalId (string) --

          The principal ID.

        • sid (string) --

          The Active Directory Security Identifier for this user, if available.

    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_studios(**kwargs)

List studios in your Amazon Web Services account in the requested Amazon Web Services Region.

See also: AWS API Documentation

Request Syntax

response = client.list_studios(
    nextToken='string'
)
Parameters
nextToken (string) -- The token to request the next page of results.
Return type
dict
Returns
Response Syntax
{
    'nextToken': 'string',
    'studios': [
        {
            'adminRoleArn': 'string',
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'displayName': 'string',
            'homeRegion': 'string',
            'ssoClientId': 'string',
            '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',
            'statusMessage': 'string',
            'studioEncryptionConfiguration': {
                'keyArn': 'string',
                'keyType': 'AWS_OWNED_KEY'|'CUSTOMER_MANAGED_KEY'
            },
            'studioId': 'string',
            'studioName': 'string',
            'studioUrl': 'string',
            'tags': {
                'string': 'string'
            },
            'updatedAt': datetime(2015, 1, 1),
            'userRoleArn': 'string'
        },
    ]
}

Response Structure

  • (dict) --
    • nextToken (string) --

      The token for the next set of results, or null if there are no more results.

    • studios (list) --

      A collection of studios.

      • (dict) --

        Represents a studio resource.

        A studio is the core resource used with Nimble Studio. You must create a studio first, before any other resource type can be created. All other resources you create and manage in Nimble Studio are contained within a studio.

        When creating a studio, you must provides two IAM roles for use with the Nimble Studio portal. These roles are assumed by your users when they log in to the Nimble Studio portal via Amazon Web Services SSO and your identity source.

        The user role must have the AmazonNimbleStudio-StudioUser managed policy attached for the portal to function properly.

        The admin role must have the AmazonNimbleStudio-StudioAdmin managed policy attached for the portal to function properly.

        Your studio roles must trust the identity.nimble.amazonaws.com service principal to function properly.

        • adminRoleArn (string) --

          The IAM role that studio admins assume when logging in to the Nimble Studio portal.

        • arn (string) --

          The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • displayName (string) --

          A friendly name for the studio.

        • homeRegion (string) --

          The Amazon Web Services Region where the studio resource is located.

        • ssoClientId (string) --

          The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

        • state (string) --

          The current state of the studio resource.

        • statusCode (string) --

          Status codes that provide additional detail on the studio state.

        • statusMessage (string) --

          Additional detail on the studio state.

        • studioEncryptionConfiguration (dict) --

          Configuration of the encryption method that is used for the studio.

          • keyArn (string) --

            The ARN for a KMS key that is used to encrypt studio data.

          • keyType (string) --

            The type of KMS key that is used to encrypt studio data.

        • studioId (string) --

          The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.

        • studioName (string) --

          The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

        • studioUrl (string) --

          The address of the web page for the studio.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • userRoleArn (string) --

          The IAM role that studio users assume when logging in to the Nimble Studio portal.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
list_tags_for_resource(**kwargs)

Gets the tags for a resource, given its Amazon Resource Names (ARN).

This operation supports ARNs for all resource types in Nimble Studio that support tags, including studio, studio component, launch profile, streaming image, and streaming session. All resources that can be tagged will contain an ARN property, so you do not have to create this ARN yourself.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    resourceArn='string'
)
Parameters
resourceArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the resource for which you want to list tags.

Return type
dict
Returns
Response Syntax
{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • tags (dict) --

      A collection of labels, in the form of key:value pairs, that apply to this resource.

      • (string) --
        • (string) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
put_launch_profile_members(**kwargs)

Add/update users with given persona to launch profile membership.

See also: AWS API Documentation

Request Syntax

response = client.put_launch_profile_members(
    clientToken='string',
    identityStoreId='string',
    launchProfileId='string',
    members=[
        {
            'persona': 'USER',
            'principalId': 'string'
        },
    ],
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • identityStoreId (string) --

    [REQUIRED]

    The ID of the identity store.

  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • members (list) --

    [REQUIRED]

    A list of members.

    • (dict) --

      A new member that is added to a launch profile.

      • persona (string) -- [REQUIRED]

        The persona.

      • principalId (string) -- [REQUIRED]

        The principal ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
put_studio_members(**kwargs)

Add/update users with given persona to studio membership.

See also: AWS API Documentation

Request Syntax

response = client.put_studio_members(
    clientToken='string',
    identityStoreId='string',
    members=[
        {
            'persona': 'ADMINISTRATOR',
            'principalId': 'string'
        },
    ],
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • identityStoreId (string) --

    [REQUIRED]

    The ID of the identity store.

  • members (list) --

    [REQUIRED]

    A list of members.

    • (dict) --

      A new studio user's membership.

      • persona (string) -- [REQUIRED]

        The persona.

      • principalId (string) -- [REQUIRED]

        The principal ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
start_streaming_session(**kwargs)

Transitions sessions from the STOPPED state into the READY state. The START_IN_PROGRESS state is the intermediate state between the STOPPED and READY states.

See also: AWS API Documentation

Request Syntax

response = client.start_streaming_session(
    clientToken='string',
    sessionId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • sessionId (string) --

    [REQUIRED]

    The streaming session ID for the StartStreamingSessionRequest.

  • studioId (string) --

    [REQUIRED]

    The studio ID for the StartStreamingSessionRequest.

Return type

dict

Returns

Response Syntax

{
    'session': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'ec2InstanceType': 'string',
        'launchProfileId': 'string',
        'ownedBy': 'string',
        'sessionId': 'string',
        'startedAt': datetime(2015, 1, 1),
        'startedBy': 'string',
        'state': 'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'READY'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED'|'STOP_IN_PROGRESS'|'START_IN_PROGRESS'|'STOPPED'|'STOP_FAILED'|'START_FAILED',
        'statusCode': 'STREAMING_SESSION_READY'|'STREAMING_SESSION_DELETED'|'STREAMING_SESSION_CREATE_IN_PROGRESS'|'STREAMING_SESSION_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'INSUFFICIENT_CAPACITY'|'ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR'|'NETWORK_CONNECTION_ERROR'|'INITIALIZATION_SCRIPT_ERROR'|'DECRYPT_STREAMING_IMAGE_ERROR'|'NETWORK_INTERFACE_ERROR'|'STREAMING_SESSION_STOPPED'|'STREAMING_SESSION_STARTED'|'STREAMING_SESSION_STOP_IN_PROGRESS'|'STREAMING_SESSION_START_IN_PROGRESS'|'AMI_VALIDATION_ERROR',
        'statusMessage': 'string',
        'stopAt': datetime(2015, 1, 1),
        'stoppedAt': datetime(2015, 1, 1),
        'stoppedBy': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        },
        'terminateAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • session (dict) --

      A streaming session is a virtual workstation created using a particular launch profile.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the streaming session.

      • ec2InstanceType (string) --

        The EC2 Instance type used for the streaming session.

      • launchProfileId (string) --

        The ID of the launch profile used to control access from the streaming session.

      • ownedBy (string) --

        The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

      • sessionId (string) --

        The session ID.

      • startedAt (datetime) --

        The time the session entered START_IN_PROGRESS state.

      • startedBy (string) --

        The user ID of the user that started the streaming session.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming session.

      • stopAt (datetime) --

        The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.

      • stoppedAt (datetime) --

        The time the session entered STOP_IN_PROGRESS state.

      • stoppedBy (string) --

        The user ID of the user that stopped the streaming session.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • terminateAt (datetime) --

        The time the streaming session will automatically terminate if not terminated by the user.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
start_studio_sso_configuration_repair(**kwargs)

Repairs the Amazon Web Services SSO configuration for a given studio.

If the studio has a valid Amazon Web Services SSO configuration currently associated with it, this operation will fail with a validation error.

If the studio does not have a valid Amazon Web Services SSO configuration currently associated with it, then a new Amazon Web Services SSO application is created for the studio and the studio is changed to the READY state.

After the Amazon Web Services SSO application is repaired, you must use the Amazon Nimble Studio console to add administrators and users to your studio.

See also: AWS API Documentation

Request Syntax

response = client.start_studio_sso_configuration_repair(
    clientToken='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'studio': {
        'adminRoleArn': 'string',
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'displayName': 'string',
        'homeRegion': 'string',
        'ssoClientId': 'string',
        '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',
        'statusMessage': 'string',
        'studioEncryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'AWS_OWNED_KEY'|'CUSTOMER_MANAGED_KEY'
        },
        'studioId': 'string',
        'studioName': 'string',
        'studioUrl': 'string',
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'userRoleArn': 'string'
    }
}

Response Structure

  • (dict) --

    • studio (dict) --

      Information about a studio.

      • adminRoleArn (string) --

        The IAM role that studio admins assume when logging in to the Nimble Studio portal.

      • arn (string) --

        The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • displayName (string) --

        A friendly name for the studio.

      • homeRegion (string) --

        The Amazon Web Services Region where the studio resource is located.

      • ssoClientId (string) --

        The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

      • state (string) --

        The current state of the studio resource.

      • statusCode (string) --

        Status codes that provide additional detail on the studio state.

      • statusMessage (string) --

        Additional detail on the studio state.

      • studioEncryptionConfiguration (dict) --

        Configuration of the encryption method that is used for the studio.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • studioId (string) --

        The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.

      • studioName (string) --

        The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

      • studioUrl (string) --

        The address of the web page for the studio.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • userRoleArn (string) --

        The IAM role that studio users assume when logging in to the Nimble Studio portal.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
stop_streaming_session(**kwargs)

Transitions sessions from the READY state into the STOPPED state. The STOP_IN_PROGRESS state is the intermediate state between the READY and STOPPED states.

See also: AWS API Documentation

Request Syntax

response = client.stop_streaming_session(
    clientToken='string',
    sessionId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • sessionId (string) --

    [REQUIRED]

    The streaming session ID for the StopStreamingSessionRequest.

  • studioId (string) --

    [REQUIRED]

    The studioId for the StopStreamingSessionRequest.

Return type

dict

Returns

Response Syntax

{
    'session': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'ec2InstanceType': 'string',
        'launchProfileId': 'string',
        'ownedBy': 'string',
        'sessionId': 'string',
        'startedAt': datetime(2015, 1, 1),
        'startedBy': 'string',
        'state': 'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'READY'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED'|'STOP_IN_PROGRESS'|'START_IN_PROGRESS'|'STOPPED'|'STOP_FAILED'|'START_FAILED',
        'statusCode': 'STREAMING_SESSION_READY'|'STREAMING_SESSION_DELETED'|'STREAMING_SESSION_CREATE_IN_PROGRESS'|'STREAMING_SESSION_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'INSUFFICIENT_CAPACITY'|'ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR'|'NETWORK_CONNECTION_ERROR'|'INITIALIZATION_SCRIPT_ERROR'|'DECRYPT_STREAMING_IMAGE_ERROR'|'NETWORK_INTERFACE_ERROR'|'STREAMING_SESSION_STOPPED'|'STREAMING_SESSION_STARTED'|'STREAMING_SESSION_STOP_IN_PROGRESS'|'STREAMING_SESSION_START_IN_PROGRESS'|'AMI_VALIDATION_ERROR',
        'statusMessage': 'string',
        'stopAt': datetime(2015, 1, 1),
        'stoppedAt': datetime(2015, 1, 1),
        'stoppedBy': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        },
        'terminateAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • session (dict) --

      A streaming session is a virtual workstation created using a particular launch profile.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the streaming session.

      • ec2InstanceType (string) --

        The EC2 Instance type used for the streaming session.

      • launchProfileId (string) --

        The ID of the launch profile used to control access from the streaming session.

      • ownedBy (string) --

        The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

      • sessionId (string) --

        The session ID.

      • startedAt (datetime) --

        The time the session entered START_IN_PROGRESS state.

      • startedBy (string) --

        The user ID of the user that started the streaming session.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming session.

      • stopAt (datetime) --

        The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.

      • stoppedAt (datetime) --

        The time the session entered STOP_IN_PROGRESS state.

      • stoppedBy (string) --

        The user ID of the user that stopped the streaming session.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • terminateAt (datetime) --

        The time the streaming session will automatically terminate if not terminated by the user.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
tag_resource(**kwargs)

Creates tags for a resource, given its ARN.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
Parameters
  • resourceArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource you want to add tags to.

  • tags (dict) --

    A collection of labels, in the form of key:value pairs, that apply to this resource.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
untag_resource(**kwargs)

Deletes the tags for a resource.

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
Parameters
  • resourceArn (string) --

    [REQUIRED]

    Identifies the Amazon Resource Name(ARN) key from which you are removing tags.

  • tagKeys (list) --

    [REQUIRED]

    One or more tag keys. Specify only the tag keys, not the tag values.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
update_launch_profile(**kwargs)

Update a launch profile.

See also: AWS API Documentation

Request Syntax

response = client.update_launch_profile(
    clientToken='string',
    description='string',
    launchProfileId='string',
    launchProfileProtocolVersions=[
        'string',
    ],
    name='string',
    streamConfiguration={
        'clipboardMode': 'ENABLED'|'DISABLED',
        'ec2InstanceTypes': [
            'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
        ],
        'maxSessionLengthInMinutes': 123,
        'maxStoppedSessionLengthInMinutes': 123,
        'sessionStorage': {
            'mode': [
                'UPLOAD',
            ],
            'root': {
                'linux': 'string',
                'windows': 'string'
            }
        },
        'streamingImageIds': [
            'string',
        ]
    },
    studioComponentIds=[
        'string',
    ],
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • description (string) -- The description.
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • launchProfileProtocolVersions (list) --

    The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

    • (string) --

      The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

  • name (string) -- The name for the launch profile.
  • streamConfiguration (dict) --

    A configuration for a streaming session.

    • clipboardMode (string) -- [REQUIRED]

      Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

    • ec2InstanceTypes (list) -- [REQUIRED]

      The EC2 instance types that users can select from when launching a streaming session with this launch profile.

      • (string) --
    • maxSessionLengthInMinutes (integer) --

      The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

    • maxStoppedSessionLengthInMinutes (integer) --

      Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

      If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

      If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

    • sessionStorage (dict) --

      (Optional) The upload storage for a streaming workstation that is created using this launch profile.

      • mode (list) -- [REQUIRED]

        Allows artists to upload files to their workstations. The only valid option is UPLOAD .

        • (string) --
      • root (dict) --

        The configuration for the upload storage root of the streaming session.

        • linux (string) --

          The folder path in Linux workstations where files are uploaded.

        • windows (string) --

          The folder path in Windows workstations where files are uploaded.

    • streamingImageIds (list) -- [REQUIRED]

      The streaming images that users can select from when launching a streaming session with this launch profile.

      • (string) --
  • studioComponentIds (list) --

    Unique identifiers for a collection of studio components that can be used with this launch profile.

    • (string) --
  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'launchProfile': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SubnetIds': [
            'string',
        ],
        'launchProfileId': 'string',
        'launchProfileProtocolVersions': [
            'string',
        ],
        'name': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'LAUNCH_PROFILE_CREATED'|'LAUNCH_PROFILE_UPDATED'|'LAUNCH_PROFILE_DELETED'|'LAUNCH_PROFILE_CREATE_IN_PROGRESS'|'LAUNCH_PROFILE_UPDATE_IN_PROGRESS'|'LAUNCH_PROFILE_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'STREAMING_IMAGE_NOT_FOUND'|'STREAMING_IMAGE_NOT_READY'|'LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'INVALID_SUBNETS_PROVIDED',
        'statusMessage': 'string',
        'streamConfiguration': {
            'clipboardMode': 'ENABLED'|'DISABLED',
            'ec2InstanceTypes': [
                'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
            ],
            'maxSessionLengthInMinutes': 123,
            'maxStoppedSessionLengthInMinutes': 123,
            'sessionStorage': {
                'mode': [
                    'UPLOAD',
                ],
                'root': {
                    'linux': 'string',
                    'windows': 'string'
                }
            },
            'streamingImageIds': [
                'string',
            ]
        },
        'studioComponentIds': [
            'string',
        ],
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string',
        'validationResults': [
            {
                'state': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusCode': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION'|'VALIDATION_FAILED_SUBNET_NOT_FOUND'|'VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION'|'VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY'|'VALIDATION_FAILED_UNAUTHORIZED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                'statusMessage': 'string',
                'type': 'VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT'|'VALIDATE_SUBNET_ASSOCIATION'|'VALIDATE_NETWORK_ACL_ASSOCIATION'|'VALIDATE_SECURITY_GROUP_ASSOCIATION'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • launchProfile (dict) --

      The launch profile.

      • arn (string) --

        The ARN of the resource.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the launch profile.

      • description (string) --

        A human-readable description of the launch profile.

      • ec2SubnetIds (list) --

        Unique identifiers for a collection of EC2 subnets.

        • (string) --
      • launchProfileId (string) --

        The launch profile ID.

      • launchProfileProtocolVersions (list) --

        The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

        • (string) --

          The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      • name (string) --

        A friendly name for the launch profile.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the launch profile.

      • streamConfiguration (dict) --

        A configuration for a streaming session.

        • clipboardMode (string) --

          Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

        • ec2InstanceTypes (list) --

          The EC2 instance types that users can select from when launching a streaming session with this launch profile.

          • (string) --
        • maxSessionLengthInMinutes (integer) --

          The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

        • maxStoppedSessionLengthInMinutes (integer) --

          Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

          If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

          If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

        • sessionStorage (dict) --

          (Optional) The upload storage for a streaming session.

          • mode (list) --

            Allows artists to upload files to their workstations. The only valid option is UPLOAD .

            • (string) --
          • root (dict) --

            The configuration for the upload storage root of the streaming session.

            • linux (string) --

              The folder path in Linux workstations where files are uploaded.

            • windows (string) --

              The folder path in Windows workstations where files are uploaded.

        • streamingImageIds (list) --

          The streaming images that users can select from when launching a streaming session with this launch profile.

          • (string) --
      • studioComponentIds (list) --

        Unique identifiers for a collection of studio components that can be used with this launch profile.

        • (string) --
      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

      • validationResults (list) --

        The list of the latest validation results.

        • (dict) --

          The launch profile validation result.

          • state (string) --

            The current state.

          • statusCode (string) --

            The status code. This will contain the failure reason if the state is VALIDATION_FAILED .

          • statusMessage (string) --

            The status message for the validation result.

          • type (string) --

            The type of the validation result.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
update_launch_profile_member(**kwargs)

Update a user persona in launch profile membership.

See also: AWS API Documentation

Request Syntax

response = client.update_launch_profile_member(
    clientToken='string',
    launchProfileId='string',
    persona='USER',
    principalId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • persona (string) --

    [REQUIRED]

    The persona.

  • principalId (string) --

    [REQUIRED]

    The principal ID. This currently supports a Amazon Web Services SSO UserId.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'member': {
        'identityStoreId': 'string',
        'persona': 'USER',
        'principalId': 'string',
        'sid': 'string'
    }
}

Response Structure

  • (dict) --

    • member (dict) --

      The updated member.

      • identityStoreId (string) --

        The ID of the identity store.

      • persona (string) --

        The persona.

      • principalId (string) --

        The principal ID.

      • sid (string) --

        The Active Directory Security Identifier for this user, if available.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
update_streaming_image(**kwargs)

Update streaming image.

See also: AWS API Documentation

Request Syntax

response = client.update_streaming_image(
    clientToken='string',
    description='string',
    name='string',
    streamingImageId='string',
    studioId='string'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • description (string) -- The description.
  • name (string) -- The name for the streaming image.
  • streamingImageId (string) --

    [REQUIRED]

    The streaming image ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

Return type

dict

Returns

Response Syntax

{
    'streamingImage': {
        'arn': 'string',
        'description': 'string',
        'ec2ImageId': 'string',
        'encryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'CUSTOMER_MANAGED_KEY'
        },
        'eulaIds': [
            'string',
        ],
        'name': 'string',
        'owner': 'string',
        'platform': 'string',
        'state': 'CREATE_IN_PROGRESS'|'READY'|'DELETE_IN_PROGRESS'|'DELETED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'CREATE_FAILED'|'DELETE_FAILED',
        'statusCode': 'STREAMING_IMAGE_CREATE_IN_PROGRESS'|'STREAMING_IMAGE_READY'|'STREAMING_IMAGE_DELETE_IN_PROGRESS'|'STREAMING_IMAGE_DELETED'|'STREAMING_IMAGE_UPDATE_IN_PROGRESS'|'INTERNAL_ERROR'|'ACCESS_DENIED',
        'statusMessage': 'string',
        'streamingImageId': 'string',
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • streamingImage (dict) --

      Represents a streaming image resource.

      Streaming images are used by studio users to select which operating system and software they want to use in a Nimble Studio streaming session.

      Amazon provides a number of streaming images that include popular 3rd-party software.

      You can create your own streaming images using an Amazon Elastic Compute Cloud (Amazon EC2) machine image that you create for this purpose. You can also include software that your users require.

      • arn (string) --

        The ARN of the resource.

      • description (string) --

        A human-readable description of the streaming image.

      • ec2ImageId (string) --

        The ID of an EC2 machine image with which to create the streaming image.

      • encryptionConfiguration (dict) --

        The encryption configuration.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • eulaIds (list) --

        The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.

        • (string) --
      • name (string) --

        A friendly name for a streaming image resource.

      • owner (string) --

        The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.

      • platform (string) --

        The platform of the streaming image, either WINDOWS or LINUX.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the streaming image.

      • streamingImageId (string) --

        The ID of the streaming image.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
update_studio(**kwargs)

Update a Studio resource.

Currently, this operation only supports updating the displayName of your studio.

See also: AWS API Documentation

Request Syntax

response = client.update_studio(
    adminRoleArn='string',
    clientToken='string',
    displayName='string',
    studioId='string',
    userRoleArn='string'
)
Parameters
  • adminRoleArn (string) -- The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • displayName (string) -- A friendly name for the studio.
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • userRoleArn (string) -- The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.
Return type

dict

Returns

Response Syntax

{
    'studio': {
        'adminRoleArn': 'string',
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'displayName': 'string',
        'homeRegion': 'string',
        'ssoClientId': 'string',
        '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',
        'statusMessage': 'string',
        'studioEncryptionConfiguration': {
            'keyArn': 'string',
            'keyType': 'AWS_OWNED_KEY'|'CUSTOMER_MANAGED_KEY'
        },
        'studioId': 'string',
        'studioName': 'string',
        'studioUrl': 'string',
        'tags': {
            'string': 'string'
        },
        'updatedAt': datetime(2015, 1, 1),
        'userRoleArn': 'string'
    }
}

Response Structure

  • (dict) --

    • studio (dict) --

      Information about a studio.

      • adminRoleArn (string) --

        The IAM role that studio admins assume when logging in to the Nimble Studio portal.

      • arn (string) --

        The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • displayName (string) --

        A friendly name for the studio.

      • homeRegion (string) --

        The Amazon Web Services Region where the studio resource is located.

      • ssoClientId (string) --

        The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

      • state (string) --

        The current state of the studio resource.

      • statusCode (string) --

        Status codes that provide additional detail on the studio state.

      • statusMessage (string) --

        Additional detail on the studio state.

      • studioEncryptionConfiguration (dict) --

        Configuration of the encryption method that is used for the studio.

        • keyArn (string) --

          The ARN for a KMS key that is used to encrypt studio data.

        • keyType (string) --

          The type of KMS key that is used to encrypt studio data.

      • studioId (string) --

        The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.

      • studioName (string) --

        The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

      • studioUrl (string) --

        The address of the web page for the studio.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • userRoleArn (string) --

        The IAM role that studio users assume when logging in to the Nimble Studio portal.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException
update_studio_component(**kwargs)

Updates a studio component resource.

See also: AWS API Documentation

Request Syntax

response = client.update_studio_component(
    clientToken='string',
    configuration={
        'activeDirectoryConfiguration': {
            'computerAttributes': [
                {
                    'name': 'string',
                    'value': 'string'
                },
            ],
            'directoryId': 'string',
            'organizationalUnitDistinguishedName': 'string'
        },
        'computeFarmConfiguration': {
            'activeDirectoryUser': 'string',
            'endpoint': 'string'
        },
        'licenseServiceConfiguration': {
            'endpoint': 'string'
        },
        'sharedFileSystemConfiguration': {
            'endpoint': 'string',
            'fileSystemId': 'string',
            'linuxMountPoint': 'string',
            'shareName': 'string',
            'windowsMountDrive': 'string'
        }
    },
    description='string',
    ec2SecurityGroupIds=[
        'string',
    ],
    initializationScripts=[
        {
            'launchProfileProtocolVersion': 'string',
            'platform': 'LINUX'|'WINDOWS',
            'runContext': 'SYSTEM_INITIALIZATION'|'USER_INITIALIZATION',
            'script': 'string'
        },
    ],
    name='string',
    scriptParameters=[
        {
            'key': 'string',
            'value': 'string'
        },
    ],
    studioComponentId='string',
    studioId='string',
    subtype='AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
    type='ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM'
)
Parameters
  • clientToken (string) --

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

    This field is autopopulated if not provided.

  • configuration (dict) --

    The configuration of the studio component, based on component type.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: activeDirectoryConfiguration, computeFarmConfiguration, licenseServiceConfiguration, sharedFileSystemConfiguration.

    • activeDirectoryConfiguration (dict) --

      The configuration for a Microsoft Active Directory (Microsoft AD) studio resource.

      • computerAttributes (list) --

        A collection of custom attributes for an Active Directory computer.

        • (dict) --

          An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

          • name (string) --

            The name for the LDAP attribute.

          • value (string) --

            The value for the LDAP attribute.

      • directoryId (string) --

        The directory ID of the Directory Service for Microsoft Active Directory to access using this studio component.

      • organizationalUnitDistinguishedName (string) --

        The distinguished name (DN) and organizational unit (OU) of an Active Directory computer.

    • computeFarmConfiguration (dict) --

      The configuration for a render farm that is associated with a studio resource.

      • activeDirectoryUser (string) --

        The name of an Active Directory user that is used on ComputeFarm worker instances.

      • endpoint (string) --

        The endpoint of the ComputeFarm that is accessed by the studio component resource.

    • licenseServiceConfiguration (dict) --

      The configuration for a license service that is associated with a studio resource.

      • endpoint (string) --

        The endpoint of the license service that is accessed by the studio component resource.

    • sharedFileSystemConfiguration (dict) --

      The configuration for a shared file storage system that is associated with a studio resource.

      • endpoint (string) --

        The endpoint of the shared file system that is accessed by the studio component resource.

      • fileSystemId (string) --

        The unique identifier for a file system.

      • linuxMountPoint (string) --

        The mount location for a shared file system on a Linux virtual workstation.

      • shareName (string) --

        The name of the file share.

      • windowsMountDrive (string) --

        The mount location for a shared file system on a Windows virtual workstation.

  • description (string) -- The description.
  • ec2SecurityGroupIds (list) --

    The EC2 security groups that control access to the studio component.

    • (string) --
  • initializationScripts (list) --

    Initialization scripts for studio components.

    • (dict) --

      Initialization scripts for studio components.

      • launchProfileProtocolVersion (string) --

        The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      • platform (string) --

        The platform of the initialization script, either WINDOWS or LINUX.

      • runContext (string) --

        The method to use when running the initialization script.

      • script (string) --

        The initialization script.

  • name (string) -- The name for the studio component.
  • scriptParameters (list) --

    Parameters for the studio component scripts.

    • (dict) --

      A parameter for a studio component script, in the form of a key:value pair.

      • key (string) --

        A script parameter key.

      • value (string) --

        A script parameter value.

  • studioComponentId (string) --

    [REQUIRED]

    The studio component ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • subtype (string) -- The specific subtype of a studio component.
  • type (string) -- The type of the studio component.
Return type

dict

Returns

Response Syntax

{
    'studioComponent': {
        'arn': 'string',
        'configuration': {
            'activeDirectoryConfiguration': {
                'computerAttributes': [
                    {
                        'name': 'string',
                        'value': 'string'
                    },
                ],
                'directoryId': 'string',
                'organizationalUnitDistinguishedName': 'string'
            },
            'computeFarmConfiguration': {
                'activeDirectoryUser': 'string',
                'endpoint': 'string'
            },
            'licenseServiceConfiguration': {
                'endpoint': 'string'
            },
            'sharedFileSystemConfiguration': {
                'endpoint': 'string',
                'fileSystemId': 'string',
                'linuxMountPoint': 'string',
                'shareName': 'string',
                'windowsMountDrive': 'string'
            }
        },
        'createdAt': datetime(2015, 1, 1),
        'createdBy': 'string',
        'description': 'string',
        'ec2SecurityGroupIds': [
            'string',
        ],
        'initializationScripts': [
            {
                'launchProfileProtocolVersion': 'string',
                'platform': 'LINUX'|'WINDOWS',
                'runContext': 'SYSTEM_INITIALIZATION'|'USER_INITIALIZATION',
                'script': 'string'
            },
        ],
        'name': 'string',
        'scriptParameters': [
            {
                'key': 'string',
                'value': 'string'
            },
        ],
        'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
        'statusCode': 'ACTIVE_DIRECTORY_ALREADY_EXISTS'|'STUDIO_COMPONENT_CREATED'|'STUDIO_COMPONENT_UPDATED'|'STUDIO_COMPONENT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'STUDIO_COMPONENT_CREATE_IN_PROGRESS'|'STUDIO_COMPONENT_UPDATE_IN_PROGRESS'|'STUDIO_COMPONENT_DELETE_IN_PROGRESS'|'INTERNAL_ERROR',
        'statusMessage': 'string',
        'studioComponentId': 'string',
        'subtype': 'AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
        'tags': {
            'string': 'string'
        },
        'type': 'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
        'updatedAt': datetime(2015, 1, 1),
        'updatedBy': 'string'
    }
}

Response Structure

  • (dict) --

    • studioComponent (dict) --

      Information about the studio component.

      • arn (string) --

        The ARN of the resource.

      • configuration (dict) --

        The configuration of the studio component, based on component type.

        Note

        This is a Tagged Union structure. Only one of the following top level keys will be set: activeDirectoryConfiguration, computeFarmConfiguration, licenseServiceConfiguration, sharedFileSystemConfiguration. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

        'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
        
        • activeDirectoryConfiguration (dict) --

          The configuration for a Microsoft Active Directory (Microsoft AD) studio resource.

          • computerAttributes (list) --

            A collection of custom attributes for an Active Directory computer.

            • (dict) --

              An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

              • name (string) --

                The name for the LDAP attribute.

              • value (string) --

                The value for the LDAP attribute.

          • directoryId (string) --

            The directory ID of the Directory Service for Microsoft Active Directory to access using this studio component.

          • organizationalUnitDistinguishedName (string) --

            The distinguished name (DN) and organizational unit (OU) of an Active Directory computer.

        • computeFarmConfiguration (dict) --

          The configuration for a render farm that is associated with a studio resource.

          • activeDirectoryUser (string) --

            The name of an Active Directory user that is used on ComputeFarm worker instances.

          • endpoint (string) --

            The endpoint of the ComputeFarm that is accessed by the studio component resource.

        • licenseServiceConfiguration (dict) --

          The configuration for a license service that is associated with a studio resource.

          • endpoint (string) --

            The endpoint of the license service that is accessed by the studio component resource.

        • sharedFileSystemConfiguration (dict) --

          The configuration for a shared file storage system that is associated with a studio resource.

          • endpoint (string) --

            The endpoint of the shared file system that is accessed by the studio component resource.

          • fileSystemId (string) --

            The unique identifier for a file system.

          • linuxMountPoint (string) --

            The mount location for a shared file system on a Linux virtual workstation.

          • shareName (string) --

            The name of the file share.

          • windowsMountDrive (string) --

            The mount location for a shared file system on a Windows virtual workstation.

      • createdAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was created.

      • createdBy (string) --

        The user ID of the user that created the studio component.

      • description (string) --

        A human-readable description for the studio component resource.

      • ec2SecurityGroupIds (list) --

        The EC2 security groups that control access to the studio component.

        • (string) --
      • initializationScripts (list) --

        Initialization scripts for studio components.

        • (dict) --

          Initialization scripts for studio components.

          • launchProfileProtocolVersion (string) --

            The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

          • platform (string) --

            The platform of the initialization script, either WINDOWS or LINUX.

          • runContext (string) --

            The method to use when running the initialization script.

          • script (string) --

            The initialization script.

      • name (string) --

        A friendly name for the studio component resource.

      • scriptParameters (list) --

        Parameters for the studio component scripts.

        • (dict) --

          A parameter for a studio component script, in the form of a key:value pair.

          • key (string) --

            A script parameter key.

          • value (string) --

            A script parameter value.

      • state (string) --

        The current state.

      • statusCode (string) --

        The status code.

      • statusMessage (string) --

        The status message for the studio component.

      • studioComponentId (string) --

        The unique identifier for a studio component resource.

      • subtype (string) --

        The specific subtype of a studio component.

      • tags (dict) --

        A collection of labels, in the form of key:value pairs, that apply to this resource.

        • (string) --
          • (string) --
      • type (string) --

        The type of the studio component.

      • updatedAt (datetime) --

        The Unix epoch timestamp in seconds for when the resource was updated.

      • updatedBy (string) --

        The user ID of the user that most recently updated the resource.

Exceptions

  • NimbleStudio.Client.exceptions.ResourceNotFoundException
  • NimbleStudio.Client.exceptions.ConflictException
  • NimbleStudio.Client.exceptions.ThrottlingException
  • NimbleStudio.Client.exceptions.ValidationException
  • NimbleStudio.Client.exceptions.AccessDeniedException
  • NimbleStudio.Client.exceptions.InternalServerErrorException
  • NimbleStudio.Client.exceptions.ServiceQuotaExceededException

Paginators

The available paginators are:

class NimbleStudio.Paginator.ListEulaAcceptances
paginator = client.get_paginator('list_eula_acceptances')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_eula_acceptances().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    eulaIds=[
        'string',
    ],
    studioId='string',
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • eulaIds (list) --

    The list of EULA IDs that have been previously accepted.

    • (string) --
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'eulaAcceptances': [
        {
            'acceptedAt': datetime(2015, 1, 1),
            'acceptedBy': 'string',
            'accepteeId': 'string',
            'eulaAcceptanceId': 'string',
            'eulaId': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • eulaAcceptances (list) --

      A collection of EULA acceptances.

      • (dict) --

        The acceptance of a EULA, required to use Amazon-provided streaming images.

        • acceptedAt (datetime) --

          The Unix epoch timestamp in seconds for when the EULA was accepted.

        • acceptedBy (string) --

          The ID of the person who accepted the EULA.

        • accepteeId (string) --

          The ID of the acceptee.

        • eulaAcceptanceId (string) --

          The EULA acceptance ID.

        • eulaId (string) --

          The EULA ID.

    • NextToken (string) --

      A token to resume pagination.

class NimbleStudio.Paginator.ListEulas
paginator = client.get_paginator('list_eulas')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_eulas().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    eulaIds=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • eulaIds (list) --

    The list of EULA IDs that should be returned

    • (string) --
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'eulas': [
        {
            'content': 'string',
            'createdAt': datetime(2015, 1, 1),
            'eulaId': 'string',
            'name': 'string',
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • eulas (list) --

      A collection of EULA resources.

      • (dict) --

        Represents a EULA resource.

        • content (string) --

          The EULA content.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • eulaId (string) --

          The EULA ID.

        • name (string) --

          The name for the EULA.

        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

    • NextToken (string) --

      A token to resume pagination.

class NimbleStudio.Paginator.ListLaunchProfileMembers
paginator = client.get_paginator('list_launch_profile_members')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_launch_profile_members().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    launchProfileId='string',
    studioId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'members': [
        {
            'identityStoreId': 'string',
            'persona': 'USER',
            'principalId': 'string',
            'sid': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • members (list) --

      A list of members.

      • (dict) --

        Launch profile membership enables your studio admins to delegate launch profile access to other studio users in the Nimble Studio portal without needing to write or maintain complex IAM policies. A launch profile member is a user association from your studio identity source who is granted permissions to a launch profile.

        A launch profile member (type USER) provides the following permissions to that launch profile:

        • GetLaunchProfile
        • GetLaunchProfileInitialization
        • GetLaunchProfileMembers
        • GetLaunchProfileMember
        • CreateStreamingSession
        • GetLaunchProfileDetails
        • identityStoreId (string) --

          The ID of the identity store.

        • persona (string) --

          The persona.

        • principalId (string) --

          The principal ID.

        • sid (string) --

          The Active Directory Security Identifier for this user, if available.

    • NextToken (string) --

      A token to resume pagination.

class NimbleStudio.Paginator.ListLaunchProfiles
paginator = client.get_paginator('list_launch_profiles')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_launch_profiles().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    principalId='string',
    states=[
        'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
    ],
    studioId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • principalId (string) -- The principal ID. This currently supports a Amazon Web Services SSO UserId.
  • states (list) --

    Filter this request to launch profiles in any of the given states.

    • (string) --
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'launchProfiles': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'description': 'string',
            'ec2SubnetIds': [
                'string',
            ],
            'launchProfileId': 'string',
            'launchProfileProtocolVersions': [
                'string',
            ],
            'name': 'string',
            'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
            'statusCode': 'LAUNCH_PROFILE_CREATED'|'LAUNCH_PROFILE_UPDATED'|'LAUNCH_PROFILE_DELETED'|'LAUNCH_PROFILE_CREATE_IN_PROGRESS'|'LAUNCH_PROFILE_UPDATE_IN_PROGRESS'|'LAUNCH_PROFILE_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'STREAMING_IMAGE_NOT_FOUND'|'STREAMING_IMAGE_NOT_READY'|'LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'INVALID_SUBNETS_PROVIDED',
            'statusMessage': 'string',
            'streamConfiguration': {
                'clipboardMode': 'ENABLED'|'DISABLED',
                'ec2InstanceTypes': [
                    'g4dn.xlarge'|'g4dn.2xlarge'|'g4dn.4xlarge'|'g4dn.8xlarge'|'g4dn.12xlarge'|'g4dn.16xlarge',
                ],
                'maxSessionLengthInMinutes': 123,
                'maxStoppedSessionLengthInMinutes': 123,
                'sessionStorage': {
                    'mode': [
                        'UPLOAD',
                    ],
                    'root': {
                        'linux': 'string',
                        'windows': 'string'
                    }
                },
                'streamingImageIds': [
                    'string',
                ]
            },
            'studioComponentIds': [
                'string',
            ],
            'tags': {
                'string': 'string'
            },
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string',
            'validationResults': [
                {
                    'state': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                    'statusCode': 'VALIDATION_NOT_STARTED'|'VALIDATION_IN_PROGRESS'|'VALIDATION_SUCCESS'|'VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION'|'VALIDATION_FAILED_SUBNET_NOT_FOUND'|'VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION'|'VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY'|'VALIDATION_FAILED_UNAUTHORIZED'|'VALIDATION_FAILED_INTERNAL_SERVER_ERROR',
                    'statusMessage': 'string',
                    'type': 'VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT'|'VALIDATE_SUBNET_ASSOCIATION'|'VALIDATE_NETWORK_ACL_ASSOCIATION'|'VALIDATE_SECURITY_GROUP_ASSOCIATION'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • launchProfiles (list) --

      A collection of launch profiles.

      • (dict) --

        A launch profile controls your artist workforce’s access to studio components, like compute farms, shared file systems, managed file systems, and license server configurations, as well as instance types and Amazon Machine Images (AMIs).

        <p>Studio administrators create launch profiles in the Nimble Studio console. Artists can use their launch profiles to launch an instance from the Nimble Studio portal. Each user’s launch profile defines how they can launch a streaming session. By default, studio admins can use all launch profiles.</p>

        • arn (string) --

          The ARN of the resource.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • createdBy (string) --

          The user ID of the user that created the launch profile.

        • description (string) --

          A human-readable description of the launch profile.

        • ec2SubnetIds (list) --

          Unique identifiers for a collection of EC2 subnets.

          • (string) --
        • launchProfileId (string) --

          The launch profile ID.

        • launchProfileProtocolVersions (list) --

          The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

          • (string) --

            The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

        • name (string) --

          A friendly name for the launch profile.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the launch profile.

        • streamConfiguration (dict) --

          A configuration for a streaming session.

          • clipboardMode (string) --

            Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

          • ec2InstanceTypes (list) --

            The EC2 instance types that users can select from when launching a streaming session with this launch profile.

            • (string) --
          • maxSessionLengthInMinutes (integer) --

            The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

          • maxStoppedSessionLengthInMinutes (integer) --

            Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

            If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession , the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

            If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

          • sessionStorage (dict) --

            (Optional) The upload storage for a streaming session.

            • mode (list) --

              Allows artists to upload files to their workstations. The only valid option is UPLOAD .

              • (string) --
            • root (dict) --

              The configuration for the upload storage root of the streaming session.

              • linux (string) --

                The folder path in Linux workstations where files are uploaded.

              • windows (string) --

                The folder path in Windows workstations where files are uploaded.

          • streamingImageIds (list) --

            The streaming images that users can select from when launching a streaming session with this launch profile.

            • (string) --
        • studioComponentIds (list) --

          Unique identifiers for a collection of studio components that can be used with this launch profile.

          • (string) --
        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • updatedBy (string) --

          The user ID of the user that most recently updated the resource.

        • validationResults (list) --

          The list of the latest validation results.

          • (dict) --

            The launch profile validation result.

            • state (string) --

              The current state.

            • statusCode (string) --

              The status code. This will contain the failure reason if the state is VALIDATION_FAILED .

            • statusMessage (string) --

              The status message for the validation result.

            • type (string) --

              The type of the validation result.

    • NextToken (string) --

      A token to resume pagination.

class NimbleStudio.Paginator.ListStreamingImages
paginator = client.get_paginator('list_streaming_images')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_streaming_images().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    owner='string',
    studioId='string',
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • owner (string) -- Filter this request to streaming images with the given owner
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'streamingImages': [
        {
            'arn': 'string',
            'description': 'string',
            'ec2ImageId': 'string',
            'encryptionConfiguration': {
                'keyArn': 'string',
                'keyType': 'CUSTOMER_MANAGED_KEY'
            },
            'eulaIds': [
                'string',
            ],
            'name': 'string',
            'owner': 'string',
            'platform': 'string',
            'state': 'CREATE_IN_PROGRESS'|'READY'|'DELETE_IN_PROGRESS'|'DELETED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'CREATE_FAILED'|'DELETE_FAILED',
            'statusCode': 'STREAMING_IMAGE_CREATE_IN_PROGRESS'|'STREAMING_IMAGE_READY'|'STREAMING_IMAGE_DELETE_IN_PROGRESS'|'STREAMING_IMAGE_DELETED'|'STREAMING_IMAGE_UPDATE_IN_PROGRESS'|'INTERNAL_ERROR'|'ACCESS_DENIED',
            'statusMessage': 'string',
            'streamingImageId': 'string',
            'tags': {
                'string': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • streamingImages (list) --

      A collection of streaming images.

      • (dict) --

        Represents a streaming image resource.

        Streaming images are used by studio users to select which operating system and software they want to use in a Nimble Studio streaming session.

        Amazon provides a number of streaming images that include popular 3rd-party software.

        You can create your own streaming images using an Amazon Elastic Compute Cloud (Amazon EC2) machine image that you create for this purpose. You can also include software that your users require.

        • arn (string) --

          The ARN of the resource.

        • description (string) --

          A human-readable description of the streaming image.

        • ec2ImageId (string) --

          The ID of an EC2 machine image with which to create the streaming image.

        • encryptionConfiguration (dict) --

          The encryption configuration.

          • keyArn (string) --

            The ARN for a KMS key that is used to encrypt studio data.

          • keyType (string) --

            The type of KMS key that is used to encrypt studio data.

        • eulaIds (list) --

          The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.

          • (string) --
        • name (string) --

          A friendly name for a streaming image resource.

        • owner (string) --

          The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.

        • platform (string) --

          The platform of the streaming image, either WINDOWS or LINUX.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the streaming image.

        • streamingImageId (string) --

          The ID of the streaming image.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
    • NextToken (string) --

      A token to resume pagination.

class NimbleStudio.Paginator.ListStreamingSessions
paginator = client.get_paginator('list_streaming_sessions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_streaming_sessions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    createdBy='string',
    ownedBy='string',
    sessionIds='string',
    studioId='string',
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • createdBy (string) -- Filters the request to streaming sessions created by the given user.
  • ownedBy (string) -- Filters the request to streaming session owned by the given user
  • sessionIds (string) -- Filters the request to only the provided session IDs.
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'sessions': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'ec2InstanceType': 'string',
            'launchProfileId': 'string',
            'ownedBy': 'string',
            'sessionId': 'string',
            'startedAt': datetime(2015, 1, 1),
            'startedBy': 'string',
            'state': 'CREATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'READY'|'DELETED'|'CREATE_FAILED'|'DELETE_FAILED'|'STOP_IN_PROGRESS'|'START_IN_PROGRESS'|'STOPPED'|'STOP_FAILED'|'START_FAILED',
            'statusCode': 'STREAMING_SESSION_READY'|'STREAMING_SESSION_DELETED'|'STREAMING_SESSION_CREATE_IN_PROGRESS'|'STREAMING_SESSION_DELETE_IN_PROGRESS'|'INTERNAL_ERROR'|'INSUFFICIENT_CAPACITY'|'ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR'|'NETWORK_CONNECTION_ERROR'|'INITIALIZATION_SCRIPT_ERROR'|'DECRYPT_STREAMING_IMAGE_ERROR'|'NETWORK_INTERFACE_ERROR'|'STREAMING_SESSION_STOPPED'|'STREAMING_SESSION_STARTED'|'STREAMING_SESSION_STOP_IN_PROGRESS'|'STREAMING_SESSION_START_IN_PROGRESS'|'AMI_VALIDATION_ERROR',
            'statusMessage': 'string',
            'stopAt': datetime(2015, 1, 1),
            'stoppedAt': datetime(2015, 1, 1),
            'stoppedBy': 'string',
            'streamingImageId': 'string',
            'tags': {
                'string': 'string'
            },
            'terminateAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • sessions (list) --

      A collection of streaming sessions.

      • (dict) --

        A streaming session is a virtual workstation created using a particular launch profile.

        • arn (string) --

          The ARN of the resource.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • createdBy (string) --

          The user ID of the user that created the streaming session.

        • ec2InstanceType (string) --

          The EC2 Instance type used for the streaming session.

        • launchProfileId (string) --

          The ID of the launch profile used to control access from the streaming session.

        • ownedBy (string) --

          The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

        • sessionId (string) --

          The session ID.

        • startedAt (datetime) --

          The time the session entered START_IN_PROGRESS state.

        • startedBy (string) --

          The user ID of the user that started the streaming session.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the streaming session.

        • stopAt (datetime) --

          The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.

        • stoppedAt (datetime) --

          The time the session entered STOP_IN_PROGRESS state.

        • stoppedBy (string) --

          The user ID of the user that stopped the streaming session.

        • streamingImageId (string) --

          The ID of the streaming image.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
        • terminateAt (datetime) --

          The time the streaming session will automatically terminate if not terminated by the user.

        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • updatedBy (string) --

          The user ID of the user that most recently updated the resource.

    • NextToken (string) --

      A token to resume pagination.

class NimbleStudio.Paginator.ListStudioComponents
paginator = client.get_paginator('list_studio_components')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_studio_components().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    states=[
        'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
    ],
    studioId='string',
    types=[
        'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • states (list) --

    Filters the request to studio components that are in one of the given states.

    • (string) --

      The current state of the studio component resource.

      While a studio component is being created, modified, or deleted, its state will equal "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", or "DELETE_IN_PROGRESS"

      These are called 'transition states'.

      No modifications may be made to the studio component while it is in a transition state.

      If creation of the resource fails, the state will change to CREATE_FAILED. The resource StatusCode and StatusMessage will provide more information of why creation failed. The resource in this state will automatically be deleted from your account after a period of time.

      If updating the resource fails, the state will change to UPDATE_FAILED. The resource StatusCode and StatusMessage will provide more information of why the update failed. The resource will be returned to the state it was in when the update request was invoked.

      If deleting the resource fails, the state will change to DELETE_FAILED. The resource StatusCode and StatusMessage will provide more information of why the update failed. The resource will be returned to the state it was in when the update request was invoked. After the resource is deleted successfully, it will change to the "DELETED" state. The resource will no longer count against service quotas and cannot be used or acted upon any futher. It will be removed from your account after a period of time.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • types (list) --

    Filters the request to studio components that are of one of the given types.

    • (string) --
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'studioComponents': [
        {
            'arn': 'string',
            'configuration': {
                'activeDirectoryConfiguration': {
                    'computerAttributes': [
                        {
                            'name': 'string',
                            'value': 'string'
                        },
                    ],
                    'directoryId': 'string',
                    'organizationalUnitDistinguishedName': 'string'
                },
                'computeFarmConfiguration': {
                    'activeDirectoryUser': 'string',
                    'endpoint': 'string'
                },
                'licenseServiceConfiguration': {
                    'endpoint': 'string'
                },
                'sharedFileSystemConfiguration': {
                    'endpoint': 'string',
                    'fileSystemId': 'string',
                    'linuxMountPoint': 'string',
                    'shareName': 'string',
                    'windowsMountDrive': 'string'
                }
            },
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'description': 'string',
            'ec2SecurityGroupIds': [
                'string',
            ],
            'initializationScripts': [
                {
                    'launchProfileProtocolVersion': 'string',
                    'platform': 'LINUX'|'WINDOWS',
                    'runContext': 'SYSTEM_INITIALIZATION'|'USER_INITIALIZATION',
                    'script': 'string'
                },
            ],
            'name': 'string',
            'scriptParameters': [
                {
                    'key': 'string',
                    'value': 'string'
                },
            ],
            'state': 'CREATE_IN_PROGRESS'|'READY'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'DELETED'|'DELETE_FAILED'|'CREATE_FAILED'|'UPDATE_FAILED',
            'statusCode': 'ACTIVE_DIRECTORY_ALREADY_EXISTS'|'STUDIO_COMPONENT_CREATED'|'STUDIO_COMPONENT_UPDATED'|'STUDIO_COMPONENT_DELETED'|'ENCRYPTION_KEY_ACCESS_DENIED'|'ENCRYPTION_KEY_NOT_FOUND'|'STUDIO_COMPONENT_CREATE_IN_PROGRESS'|'STUDIO_COMPONENT_UPDATE_IN_PROGRESS'|'STUDIO_COMPONENT_DELETE_IN_PROGRESS'|'INTERNAL_ERROR',
            'statusMessage': 'string',
            'studioComponentId': 'string',
            'subtype': 'AWS_MANAGED_MICROSOFT_AD'|'AMAZON_FSX_FOR_WINDOWS'|'AMAZON_FSX_FOR_LUSTRE'|'CUSTOM',
            'tags': {
                'string': 'string'
            },
            'type': 'ACTIVE_DIRECTORY'|'SHARED_FILE_SYSTEM'|'COMPUTE_FARM'|'LICENSE_SERVICE'|'CUSTOM',
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • studioComponents (list) --

      A collection of studio components.

      • (dict) --

        A studio component represents a network resource to be used by a studio's users and workflows. A typical studio contains studio components for each of the following: render farm, Active Directory, licensing, and file system.

        Access to a studio component is managed by specifying security groups for the resource, as well as its endpoint.

        A studio component also has a set of initialization scripts that are returned by GetLaunchProfileInitialization . These initialization scripts run on streaming sessions when they start. They provide users with flexibility in controlling how the studio resources are configured on a streaming session.

        • arn (string) --

          The ARN of the resource.

        • configuration (dict) --

          The configuration of the studio component, based on component type.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: activeDirectoryConfiguration, computeFarmConfiguration, licenseServiceConfiguration, sharedFileSystemConfiguration. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

          'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
          
          • activeDirectoryConfiguration (dict) --

            The configuration for a Microsoft Active Directory (Microsoft AD) studio resource.

            • computerAttributes (list) --

              A collection of custom attributes for an Active Directory computer.

              • (dict) --

                An LDAP attribute of an Active Directory computer account, in the form of a name:value pair.

                • name (string) --

                  The name for the LDAP attribute.

                • value (string) --

                  The value for the LDAP attribute.

            • directoryId (string) --

              The directory ID of the Directory Service for Microsoft Active Directory to access using this studio component.

            • organizationalUnitDistinguishedName (string) --

              The distinguished name (DN) and organizational unit (OU) of an Active Directory computer.

          • computeFarmConfiguration (dict) --

            The configuration for a render farm that is associated with a studio resource.

            • activeDirectoryUser (string) --

              The name of an Active Directory user that is used on ComputeFarm worker instances.

            • endpoint (string) --

              The endpoint of the ComputeFarm that is accessed by the studio component resource.

          • licenseServiceConfiguration (dict) --

            The configuration for a license service that is associated with a studio resource.

            • endpoint (string) --

              The endpoint of the license service that is accessed by the studio component resource.

          • sharedFileSystemConfiguration (dict) --

            The configuration for a shared file storage system that is associated with a studio resource.

            • endpoint (string) --

              The endpoint of the shared file system that is accessed by the studio component resource.

            • fileSystemId (string) --

              The unique identifier for a file system.

            • linuxMountPoint (string) --

              The mount location for a shared file system on a Linux virtual workstation.

            • shareName (string) --

              The name of the file share.

            • windowsMountDrive (string) --

              The mount location for a shared file system on a Windows virtual workstation.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • createdBy (string) --

          The user ID of the user that created the studio component.

        • description (string) --

          A human-readable description for the studio component resource.

        • ec2SecurityGroupIds (list) --

          The EC2 security groups that control access to the studio component.

          • (string) --
        • initializationScripts (list) --

          Initialization scripts for studio components.

          • (dict) --

            Initialization scripts for studio components.

            • launchProfileProtocolVersion (string) --

              The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

            • platform (string) --

              The platform of the initialization script, either WINDOWS or LINUX.

            • runContext (string) --

              The method to use when running the initialization script.

            • script (string) --

              The initialization script.

        • name (string) --

          A friendly name for the studio component resource.

        • scriptParameters (list) --

          Parameters for the studio component scripts.

          • (dict) --

            A parameter for a studio component script, in the form of a key:value pair.

            • key (string) --

              A script parameter key.

            • value (string) --

              A script parameter value.

        • state (string) --

          The current state.

        • statusCode (string) --

          The status code.

        • statusMessage (string) --

          The status message for the studio component.

        • studioComponentId (string) --

          The unique identifier for a studio component resource.

        • subtype (string) --

          The specific subtype of a studio component.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
        • type (string) --

          The type of the studio component.

        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • updatedBy (string) --

          The user ID of the user that most recently updated the resource.

    • NextToken (string) --

      A token to resume pagination.

class NimbleStudio.Paginator.ListStudioMembers
paginator = client.get_paginator('list_studio_members')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_studio_members().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    studioId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'members': [
        {
            'identityStoreId': 'string',
            'persona': 'ADMINISTRATOR',
            'principalId': 'string',
            'sid': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • members (list) --

      A list of admin members.

      • (dict) --

        A studio member is an association of a user from your studio identity source to elevated permissions that they are granted in the studio.

        When you add a user to your studio using the Nimble Studio console, they are given access to the studio's AWS SSO application and are given access to log in to the Nimble Studio portal. These users have the permissions provided by the studio's user IAM role and do not appear in the studio membership collection. Only studio admins appear in studio membership.

        When you add a user to studio membership with the persona ADMIN, upon logging in to the Nimble Studio portal, they are granted permissions specified by the Studio's Admin IAM role.

        • identityStoreId (string) --

          The ID of the identity store.

        • persona (string) --

          The persona.

        • principalId (string) --

          The principal ID.

        • sid (string) --

          The Active Directory Security Identifier for this user, if available.

    • NextToken (string) --

      A token to resume pagination.

class NimbleStudio.Paginator.ListStudios
paginator = client.get_paginator('list_studios')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NimbleStudio.Client.list_studios().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters
PaginationConfig (dict) --

A dictionary that provides parameters to control pagination.

  • MaxItems (integer) --

    The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

  • StartingToken (string) --

    A token to specify where to start paginating. This is the NextToken from a previous response.

Return type
dict
Returns
Response Syntax
{
    'studios': [
        {
            'adminRoleArn': 'string',
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'displayName': 'string',
            'homeRegion': 'string',
            'ssoClientId': 'string',
            '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',
            'statusMessage': 'string',
            'studioEncryptionConfiguration': {
                'keyArn': 'string',
                'keyType': 'AWS_OWNED_KEY'|'CUSTOMER_MANAGED_KEY'
            },
            'studioId': 'string',
            'studioName': 'string',
            'studioUrl': 'string',
            'tags': {
                'string': 'string'
            },
            'updatedAt': datetime(2015, 1, 1),
            'userRoleArn': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --
    • studios (list) --

      A collection of studios.

      • (dict) --

        Represents a studio resource.

        A studio is the core resource used with Nimble Studio. You must create a studio first, before any other resource type can be created. All other resources you create and manage in Nimble Studio are contained within a studio.

        When creating a studio, you must provides two IAM roles for use with the Nimble Studio portal. These roles are assumed by your users when they log in to the Nimble Studio portal via Amazon Web Services SSO and your identity source.

        The user role must have the AmazonNimbleStudio-StudioUser managed policy attached for the portal to function properly.

        The admin role must have the AmazonNimbleStudio-StudioAdmin managed policy attached for the portal to function properly.

        Your studio roles must trust the identity.nimble.amazonaws.com service principal to function properly.

        • adminRoleArn (string) --

          The IAM role that studio admins assume when logging in to the Nimble Studio portal.

        • arn (string) --

          The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

        • createdAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was created.

        • displayName (string) --

          A friendly name for the studio.

        • homeRegion (string) --

          The Amazon Web Services Region where the studio resource is located.

        • ssoClientId (string) --

          The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

        • state (string) --

          The current state of the studio resource.

        • statusCode (string) --

          Status codes that provide additional detail on the studio state.

        • statusMessage (string) --

          Additional detail on the studio state.

        • studioEncryptionConfiguration (dict) --

          Configuration of the encryption method that is used for the studio.

          • keyArn (string) --

            The ARN for a KMS key that is used to encrypt studio data.

          • keyType (string) --

            The type of KMS key that is used to encrypt studio data.

        • studioId (string) --

          The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.

        • studioName (string) --

          The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

        • studioUrl (string) --

          The address of the web page for the studio.

        • tags (dict) --

          A collection of labels, in the form of key:value pairs, that apply to this resource.

          • (string) --
            • (string) --
        • updatedAt (datetime) --

          The Unix epoch timestamp in seconds for when the resource was updated.

        • userRoleArn (string) --

          The IAM role that studio users assume when logging in to the Nimble Studio portal.

    • NextToken (string) --

      A token to resume pagination.

Waiters

The available waiters are:

class NimbleStudio.Waiter.LaunchProfileDeleted
waiter = client.get_waiter('launch_profile_deleted')
wait(**kwargs)

Polls NimbleStudio.Client.get_launch_profile() every 5 seconds until a successful state is reached. An error is returned after 150 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    launchProfileId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 5

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 150

Returns

None

class NimbleStudio.Waiter.LaunchProfileReady
waiter = client.get_waiter('launch_profile_ready')
wait(**kwargs)

Polls NimbleStudio.Client.get_launch_profile() every 5 seconds until a successful state is reached. An error is returned after 150 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    launchProfileId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • launchProfileId (string) --

    [REQUIRED]

    The Launch Profile ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 5

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 150

Returns

None

class NimbleStudio.Waiter.StreamingImageDeleted
waiter = client.get_waiter('streaming_image_deleted')
wait(**kwargs)

Polls NimbleStudio.Client.get_streaming_image() every 2 seconds until a successful state is reached. An error is returned after 60 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    streamingImageId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • streamingImageId (string) --

    [REQUIRED]

    The streaming image ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 2

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 60

Returns

None

class NimbleStudio.Waiter.StreamingImageReady
waiter = client.get_waiter('streaming_image_ready')
wait(**kwargs)

Polls NimbleStudio.Client.get_streaming_image() every 2 seconds until a successful state is reached. An error is returned after 60 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    streamingImageId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • streamingImageId (string) --

    [REQUIRED]

    The streaming image ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 2

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 60

Returns

None

class NimbleStudio.Waiter.StreamingSessionDeleted
waiter = client.get_waiter('streaming_session_deleted')
wait(**kwargs)

Polls NimbleStudio.Client.get_streaming_session() every 5 seconds until a successful state is reached. An error is returned after 180 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    sessionId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • sessionId (string) --

    [REQUIRED]

    The streaming session ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 5

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 180

Returns

None

class NimbleStudio.Waiter.StreamingSessionReady
waiter = client.get_waiter('streaming_session_ready')
wait(**kwargs)

Polls NimbleStudio.Client.get_streaming_session() every 10 seconds until a successful state is reached. An error is returned after 180 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    sessionId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • sessionId (string) --

    [REQUIRED]

    The streaming session ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 10

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 180

Returns

None

class NimbleStudio.Waiter.StreamingSessionStopped
waiter = client.get_waiter('streaming_session_stopped')
wait(**kwargs)

Polls NimbleStudio.Client.get_streaming_session() every 5 seconds until a successful state is reached. An error is returned after 180 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    sessionId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • sessionId (string) --

    [REQUIRED]

    The streaming session ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 5

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 180

Returns

None

class NimbleStudio.Waiter.StreamingSessionStreamReady
waiter = client.get_waiter('streaming_session_stream_ready')
wait(**kwargs)

Polls NimbleStudio.Client.get_streaming_session_stream() every 5 seconds until a successful state is reached. An error is returned after 30 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    sessionId='string',
    streamId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • sessionId (string) --

    [REQUIRED]

    The streaming session ID.

  • streamId (string) --

    [REQUIRED]

    The streaming session stream ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 5

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 30

Returns

None

class NimbleStudio.Waiter.StudioComponentDeleted
waiter = client.get_waiter('studio_component_deleted')
wait(**kwargs)

Polls NimbleStudio.Client.get_studio_component() every 1 seconds until a successful state is reached. An error is returned after 120 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    studioComponentId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • studioComponentId (string) --

    [REQUIRED]

    The studio component ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 1

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 120

Returns

None

class NimbleStudio.Waiter.StudioComponentReady
waiter = client.get_waiter('studio_component_ready')
wait(**kwargs)

Polls NimbleStudio.Client.get_studio_component() every 2 seconds until a successful state is reached. An error is returned after 60 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    studioComponentId='string',
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • studioComponentId (string) --

    [REQUIRED]

    The studio component ID.

  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 2

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 60

Returns

None

class NimbleStudio.Waiter.StudioDeleted
waiter = client.get_waiter('studio_deleted')
wait(**kwargs)

Polls NimbleStudio.Client.get_studio() every 2 seconds until a successful state is reached. An error is returned after 60 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 2

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 60

Returns

None

class NimbleStudio.Waiter.StudioReady
waiter = client.get_waiter('studio_ready')
wait(**kwargs)

Polls NimbleStudio.Client.get_studio() every 2 seconds until a successful state is reached. An error is returned after 60 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    studioId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • studioId (string) --

    [REQUIRED]

    The studio ID.

  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 2

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 60

Returns

None