NimbleStudio / Client / delete_studio

delete_studio#

NimbleStudio.Client.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 Amazon Web Services 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'|'AWS_STS_REGION_DISABLED',
        '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 ISO 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 IAM Identity Center application client ID used to integrate with IAM Identity Center. This ID allows IAM Identity Center 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 ISO 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