Redshift Serverless

2022/06/16 - Redshift Serverless - 37 new api methods

Changes  Add new API operations for Amazon Redshift Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned clusters. The new operations let you interact with Redshift Serverless resources, such as create snapshots, list VPC endpoints, delete resource policies, and more.

ConvertRecoveryPointToSnapshot (new) Link ¶

Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points .

See also: AWS API Documentation

Request Syntax

client.convert_recovery_point_to_snapshot(
    recoveryPointId='string',
    retentionPeriod=123,
    snapshotName='string'
)
type recoveryPointId

string

param recoveryPointId

[REQUIRED]

The unique identifier of the recovery point.

type retentionPeriod

integer

param retentionPeriod

How long to retain the snapshot.

type snapshotName

string

param snapshotName

[REQUIRED]

The name of the snapshot.

rtype

dict

returns

Response Syntax

{
    'snapshot': {
        'accountsWithProvisionedRestoreAccess': [
            'string',
        ],
        'accountsWithRestoreAccess': [
            'string',
        ],
        'actualIncrementalBackupSizeInMegaBytes': 123.0,
        'adminUsername': 'string',
        'backupProgressInMegaBytes': 123.0,
        'currentBackupRateInMegaBytesPerSecond': 123.0,
        'elapsedTimeInSeconds': 123,
        'estimatedSecondsToCompletion': 123,
        'kmsKeyId': 'string',
        'namespaceArn': 'string',
        'namespaceName': 'string',
        'ownerAccount': 'string',
        'snapshotArn': 'string',
        'snapshotCreateTime': datetime(2015, 1, 1),
        'snapshotName': 'string',
        'snapshotRemainingDays': 123,
        'snapshotRetentionPeriod': 123,
        'snapshotRetentionStartTime': datetime(2015, 1, 1),
        'status': 'AVAILABLE'|'CREATING'|'DELETED'|'CANCELLED'|'FAILED'|'COPYING',
        'totalBackupSizeInMegaBytes': 123.0
    }
}

Response Structure

  • (dict) --

    • snapshot (dict) --

      The snapshot converted from the recovery point.

      • accountsWithProvisionedRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.

        • (string) --

      • accountsWithRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.

        • (string) --

      • actualIncrementalBackupSizeInMegaBytes (float) --

        The size of the incremental backup in megabytes.

      • adminUsername (string) --

        The username of the database within a snapshot.

      • backupProgressInMegaBytes (float) --

        The size in megabytes of the data that has been backed up to a snapshot.

      • currentBackupRateInMegaBytesPerSecond (float) --

        The rate at which data is backed up into a snapshot in megabytes per second.

      • elapsedTimeInSeconds (integer) --

        The amount of time it took to back up data into a snapshot.

      • estimatedSecondsToCompletion (integer) --

        The estimated amount of seconds until the snapshot completes backup.

      • kmsKeyId (string) --

        The unique identifier of the KMS key used to encrypt the snapshot.

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

      • namespaceName (string) --

        The name of the namepsace.

      • ownerAccount (string) --

        The owner Amazon Web Services; account of the snapshot.

      • snapshotArn (string) --

        The Amazon Resource Name (ARN) of the snapshot.

      • snapshotCreateTime (datetime) --

        The timestamp of when the snapshot was created.

      • snapshotName (string) --

        The name of the snapshot.

      • snapshotRemainingDays (integer) --

        The amount of days until the snapshot is deleted.

      • snapshotRetentionPeriod (integer) --

        The period of time, in days, of how long the snapshot is retained.

      • snapshotRetentionStartTime (datetime) --

        The timestamp of when data within the snapshot started getting retained.

      • status (string) --

        The status of the snapshot.

      • totalBackupSizeInMegaBytes (float) --

        The total size, in megabytes, of how big the snapshot is.

CreateNamespace (new) Link ¶

Creates a namespace in Amazon Redshift Serverless.

See also: AWS API Documentation

Request Syntax

client.create_namespace(
    adminUserPassword='string',
    adminUsername='string',
    dbName='string',
    defaultIamRoleArn='string',
    iamRoles=[
        'string',
    ],
    kmsKeyId='string',
    logExports=[
        'useractivitylog'|'userlog'|'connectionlog',
    ],
    namespaceName='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type adminUserPassword

string

param adminUserPassword

The password of the administrator for the first database created in the namespace.

type adminUsername

string

param adminUsername

The username of the administrator for the first database created in the namespace.

type dbName

string

param dbName

The name of the first database created in the namespace.

type defaultIamRoleArn

string

param defaultIamRoleArn

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

type iamRoles

list

param iamRoles

A list of IAM roles to associate with the namespace.

  • (string) --

type kmsKeyId

string

param kmsKeyId

The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

type logExports

list

param logExports

The types of logs the namespace can export. Available export types are userlog , connectionlog , and useractivitylog .

  • (string) --

type namespaceName

string

param namespaceName

[REQUIRED]

The name of the namespace.

type tags

list

param tags

A list of tag instances.

  • (dict) --

    A map of key-value pairs.

    • key (string) -- [REQUIRED]

      The key to use in the tag.

    • value (string) -- [REQUIRED]

      The value of the tag.

rtype

dict

returns

Response Syntax

{
    'namespace': {
        'adminUsername': 'string',
        'creationDate': datetime(2015, 1, 1),
        'dbName': 'string',
        'defaultIamRoleArn': 'string',
        'iamRoles': [
            'string',
        ],
        'kmsKeyId': 'string',
        'logExports': [
            'useractivitylog'|'userlog'|'connectionlog',
        ],
        'namespaceArn': 'string',
        'namespaceId': 'string',
        'namespaceName': 'string',
        'status': 'AVAILABLE'|'MODIFYING'|'DELETING'
    }
}

Response Structure

  • (dict) --

    • namespace (dict) --

      The created namespace object.

      • adminUsername (string) --

        The username of the administrator for the first database created in the namespace.

      • creationDate (datetime) --

        The date of when the namespace was created.

      • dbName (string) --

        The name of the first database created in the namespace.

      • defaultIamRoleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

      • iamRoles (list) --

        A list of IAM roles to associate with the namespace.

        • (string) --

      • kmsKeyId (string) --

        The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

      • logExports (list) --

        The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

        • (string) --

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) associated with a namespace.

      • namespaceId (string) --

        The unique identifier of a namespace.

      • namespaceName (string) --

        The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

      • status (string) --

        The status of the namespace.

GetSnapshot (new) Link ¶

Returns information about a specific snapshot.

See also: AWS API Documentation

Request Syntax

client.get_snapshot(
    ownerAccount='string',
    snapshotArn='string',
    snapshotName='string'
)
type ownerAccount

string

param ownerAccount

The owner Amazon Web Services account of a snapshot shared with another user.

type snapshotArn

string

param snapshotArn

The Amazon Resource Name (ARN) of the snapshot to return.

type snapshotName

string

param snapshotName

The name of the snapshot to return.

rtype

dict

returns

Response Syntax

{
    'snapshot': {
        'accountsWithProvisionedRestoreAccess': [
            'string',
        ],
        'accountsWithRestoreAccess': [
            'string',
        ],
        'actualIncrementalBackupSizeInMegaBytes': 123.0,
        'adminUsername': 'string',
        'backupProgressInMegaBytes': 123.0,
        'currentBackupRateInMegaBytesPerSecond': 123.0,
        'elapsedTimeInSeconds': 123,
        'estimatedSecondsToCompletion': 123,
        'kmsKeyId': 'string',
        'namespaceArn': 'string',
        'namespaceName': 'string',
        'ownerAccount': 'string',
        'snapshotArn': 'string',
        'snapshotCreateTime': datetime(2015, 1, 1),
        'snapshotName': 'string',
        'snapshotRemainingDays': 123,
        'snapshotRetentionPeriod': 123,
        'snapshotRetentionStartTime': datetime(2015, 1, 1),
        'status': 'AVAILABLE'|'CREATING'|'DELETED'|'CANCELLED'|'FAILED'|'COPYING',
        'totalBackupSizeInMegaBytes': 123.0
    }
}

Response Structure

  • (dict) --

    • snapshot (dict) --

      The returned snapshot object.

      • accountsWithProvisionedRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.

        • (string) --

      • accountsWithRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.

        • (string) --

      • actualIncrementalBackupSizeInMegaBytes (float) --

        The size of the incremental backup in megabytes.

      • adminUsername (string) --

        The username of the database within a snapshot.

      • backupProgressInMegaBytes (float) --

        The size in megabytes of the data that has been backed up to a snapshot.

      • currentBackupRateInMegaBytesPerSecond (float) --

        The rate at which data is backed up into a snapshot in megabytes per second.

      • elapsedTimeInSeconds (integer) --

        The amount of time it took to back up data into a snapshot.

      • estimatedSecondsToCompletion (integer) --

        The estimated amount of seconds until the snapshot completes backup.

      • kmsKeyId (string) --

        The unique identifier of the KMS key used to encrypt the snapshot.

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

      • namespaceName (string) --

        The name of the namepsace.

      • ownerAccount (string) --

        The owner Amazon Web Services; account of the snapshot.

      • snapshotArn (string) --

        The Amazon Resource Name (ARN) of the snapshot.

      • snapshotCreateTime (datetime) --

        The timestamp of when the snapshot was created.

      • snapshotName (string) --

        The name of the snapshot.

      • snapshotRemainingDays (integer) --

        The amount of days until the snapshot is deleted.

      • snapshotRetentionPeriod (integer) --

        The period of time, in days, of how long the snapshot is retained.

      • snapshotRetentionStartTime (datetime) --

        The timestamp of when data within the snapshot started getting retained.

      • status (string) --

        The status of the snapshot.

      • totalBackupSizeInMegaBytes (float) --

        The total size, in megabytes, of how big the snapshot is.

UpdateWorkgroup (new) Link ¶

Updates a workgroup with the specified configuration settings.

See also: AWS API Documentation

Request Syntax

client.update_workgroup(
    baseCapacity=123,
    configParameters=[
        {
            'parameterKey': 'string',
            'parameterValue': 'string'
        },
    ],
    enhancedVpcRouting=True|False,
    publiclyAccessible=True|False,
    securityGroupIds=[
        'string',
    ],
    subnetIds=[
        'string',
    ],
    workgroupName='string'
)
type baseCapacity

integer

param baseCapacity

The new base data warehouse capacity in Redshift Processing Units (RPUs).

type configParameters

list

param configParameters

An array of parameters to set for advanced control over a database. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

  • (dict) --

    An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.

    • parameterKey (string) --

      The key of the parameter. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

    • parameterValue (string) --

      The value of the parameter to set.

type enhancedVpcRouting

boolean

param enhancedVpcRouting

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

type publiclyAccessible

boolean

param publiclyAccessible

A value that specifies whether the workgroup can be accessible from a public network.

type securityGroupIds

list

param securityGroupIds

An array of security group IDs to associate with the workgroup.

  • (string) --

type subnetIds

list

param subnetIds

An array of VPC subnet IDs to associate with the workgroup.

  • (string) --

type workgroupName

string

param workgroupName

[REQUIRED]

The name of the workgroup to update.

rtype

dict

returns

Response Syntax

{
    'workgroup': {
        'baseCapacity': 123,
        'configParameters': [
            {
                'parameterKey': 'string',
                'parameterValue': 'string'
            },
        ],
        'creationDate': datetime(2015, 1, 1),
        'endpoint': {
            'address': 'string',
            'port': 123,
            'vpcEndpoints': [
                {
                    'networkInterfaces': [
                        {
                            'availabilityZone': 'string',
                            'networkInterfaceId': 'string',
                            'privateIpAddress': 'string',
                            'subnetId': 'string'
                        },
                    ],
                    'vpcEndpointId': 'string',
                    'vpcId': 'string'
                },
            ]
        },
        'enhancedVpcRouting': True|False,
        'namespaceName': 'string',
        'publiclyAccessible': True|False,
        'securityGroupIds': [
            'string',
        ],
        'status': 'CREATING'|'AVAILABLE'|'MODIFYING'|'DELETING',
        'subnetIds': [
            'string',
        ],
        'workgroupArn': 'string',
        'workgroupId': 'string',
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • workgroup (dict) --

      The updated workgroup object.

      • baseCapacity (integer) --

        The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

      • configParameters (list) --

        An array of parameters to set for finer control over a database. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

        • (dict) --

          An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.

          • parameterKey (string) --

            The key of the parameter. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

          • parameterValue (string) --

            The value of the parameter to set.

      • creationDate (datetime) --

        The creation date of the workgroup.

      • endpoint (dict) --

        The endpoint that is created from the workgroup.

        • address (string) --

          The DNS address of the VPC endpoint.

        • port (integer) --

          The port that Amazon Redshift Serverless listens on.

        • vpcEndpoints (list) --

          An array of VpcEndpoint objects.

          • (dict) --

            The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.

            • networkInterfaces (list) --

              One or more network interfaces of the endpoint. Also known as an interface endpoint.

              • (dict) --

                Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

                • availabilityZone (string) --

                  The availability Zone.

                • networkInterfaceId (string) --

                  The unique identifier of the network interface.

                • privateIpAddress (string) --

                  The IPv4 address of the network interface within the subnet.

                • subnetId (string) --

                  The unique identifier of the subnet.

            • vpcEndpointId (string) --

              The connection endpoint ID for connecting to Amazon Redshift Serverless.

            • vpcId (string) --

              The VPC identifier that the endpoint is associated with.

      • enhancedVpcRouting (boolean) --

        The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

      • namespaceName (string) --

        The namespace the workgroup is associated with.

      • publiclyAccessible (boolean) --

        A value that specifies whether the workgroup can be accessible from a public network

      • securityGroupIds (list) --

        An array of security group IDs to associate with the workgroup.

        • (string) --

      • status (string) --

        The status of the workgroup.

      • subnetIds (list) --

        An array of subnet IDs the workgroup is associated with.

        • (string) --

      • workgroupArn (string) --

        The Amazon Resource Name (ARN) that links to the workgroup.

      • workgroupId (string) --

        The unique identifier of the workgroup.

      • workgroupName (string) --

        The name of the workgroup.

GetCredentials (new) Link ¶

Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.

By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).

<p> The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources. </p> <p> If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p>

See also: AWS API Documentation

Request Syntax

client.get_credentials(
    dbName='string',
    durationSeconds=123,
    workgroupName='string'
)
type dbName

string

param dbName

The name of the database to get temporary authorization to log on to.

Constraints:

  • Must be 1 to 64 alphanumeric characters or hyphens.

  • Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.

  • The first character must be a letter.

  • Must not contain a colon ( : ) or slash ( / ).

  • Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide

type durationSeconds

integer

param durationSeconds

The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.

type workgroupName

string

param workgroupName

[REQUIRED]

The name of the workgroup associated with the database.

rtype

dict

returns

Response Syntax

{
    'dbPassword': 'string',
    'dbUser': 'string',
    'expiration': datetime(2015, 1, 1),
    'nextRefreshTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • dbPassword (string) --

      A temporary password that authorizes the user name returned by DbUser to log on to the database DbName .

    • dbUser (string) --

      A database user name that is authorized to log on to the database DbName using the password DbPassword . If the specified DbUser exists in the database, the new user name has the same database privileges as the the user named in DbUser . By default, the user is added to PUBLIC.

    • expiration (datetime) --

      The date and time the password in DbPassword expires.

    • nextRefreshTime (datetime) --

      The date and time of when the DbUser and DbPassword authorization refreshes.

ListWorkgroups (new) Link ¶

Returns information about a list of specified workgroups.

See also: AWS API Documentation

Request Syntax

client.list_workgroups(
    maxResults=123,
    nextToken='string'
)
type maxResults

integer

param maxResults

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

type nextToken

string

param nextToken

If your initial ListWorkgroups operation returns a nextToken , you can include the returned nextToken in subsequent ListNamespaces operations, which returns results in the next page.

rtype

dict

returns

Response Syntax

{
    'nextToken': 'string',
    'workgroups': [
        {
            'baseCapacity': 123,
            'configParameters': [
                {
                    'parameterKey': 'string',
                    'parameterValue': 'string'
                },
            ],
            'creationDate': datetime(2015, 1, 1),
            'endpoint': {
                'address': 'string',
                'port': 123,
                'vpcEndpoints': [
                    {
                        'networkInterfaces': [
                            {
                                'availabilityZone': 'string',
                                'networkInterfaceId': 'string',
                                'privateIpAddress': 'string',
                                'subnetId': 'string'
                            },
                        ],
                        'vpcEndpointId': 'string',
                        'vpcId': 'string'
                    },
                ]
            },
            'enhancedVpcRouting': True|False,
            'namespaceName': 'string',
            'publiclyAccessible': True|False,
            'securityGroupIds': [
                'string',
            ],
            'status': 'CREATING'|'AVAILABLE'|'MODIFYING'|'DELETING',
            'subnetIds': [
                'string',
            ],
            'workgroupArn': 'string',
            'workgroupId': 'string',
            'workgroupName': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.

    • workgroups (list) --

      The returned array of workgroups.

      • (dict) --

        The collection of computing resources from which an endpoint is created.

        • baseCapacity (integer) --

          The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

        • configParameters (list) --

          An array of parameters to set for finer control over a database. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

          • (dict) --

            An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.

            • parameterKey (string) --

              The key of the parameter. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

            • parameterValue (string) --

              The value of the parameter to set.

        • creationDate (datetime) --

          The creation date of the workgroup.

        • endpoint (dict) --

          The endpoint that is created from the workgroup.

          • address (string) --

            The DNS address of the VPC endpoint.

          • port (integer) --

            The port that Amazon Redshift Serverless listens on.

          • vpcEndpoints (list) --

            An array of VpcEndpoint objects.

            • (dict) --

              The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.

              • networkInterfaces (list) --

                One or more network interfaces of the endpoint. Also known as an interface endpoint.

                • (dict) --

                  Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

                  • availabilityZone (string) --

                    The availability Zone.

                  • networkInterfaceId (string) --

                    The unique identifier of the network interface.

                  • privateIpAddress (string) --

                    The IPv4 address of the network interface within the subnet.

                  • subnetId (string) --

                    The unique identifier of the subnet.

              • vpcEndpointId (string) --

                The connection endpoint ID for connecting to Amazon Redshift Serverless.

              • vpcId (string) --

                The VPC identifier that the endpoint is associated with.

        • enhancedVpcRouting (boolean) --

          The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

        • namespaceName (string) --

          The namespace the workgroup is associated with.

        • publiclyAccessible (boolean) --

          A value that specifies whether the workgroup can be accessible from a public network

        • securityGroupIds (list) --

          An array of security group IDs to associate with the workgroup.

          • (string) --

        • status (string) --

          The status of the workgroup.

        • subnetIds (list) --

          An array of subnet IDs the workgroup is associated with.

          • (string) --

        • workgroupArn (string) --

          The Amazon Resource Name (ARN) that links to the workgroup.

        • workgroupId (string) --

          The unique identifier of the workgroup.

        • workgroupName (string) --

          The name of the workgroup.

DeleteWorkgroup (new) Link ¶

Deletes a workgroup.

See also: AWS API Documentation

Request Syntax

client.delete_workgroup(
    workgroupName='string'
)
type workgroupName

string

param workgroupName

[REQUIRED]

The name of the workgroup to be deleted.

rtype

dict

returns

Response Syntax

{
    'workgroup': {
        'baseCapacity': 123,
        'configParameters': [
            {
                'parameterKey': 'string',
                'parameterValue': 'string'
            },
        ],
        'creationDate': datetime(2015, 1, 1),
        'endpoint': {
            'address': 'string',
            'port': 123,
            'vpcEndpoints': [
                {
                    'networkInterfaces': [
                        {
                            'availabilityZone': 'string',
                            'networkInterfaceId': 'string',
                            'privateIpAddress': 'string',
                            'subnetId': 'string'
                        },
                    ],
                    'vpcEndpointId': 'string',
                    'vpcId': 'string'
                },
            ]
        },
        'enhancedVpcRouting': True|False,
        'namespaceName': 'string',
        'publiclyAccessible': True|False,
        'securityGroupIds': [
            'string',
        ],
        'status': 'CREATING'|'AVAILABLE'|'MODIFYING'|'DELETING',
        'subnetIds': [
            'string',
        ],
        'workgroupArn': 'string',
        'workgroupId': 'string',
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • workgroup (dict) --

      The deleted workgroup object.

      • baseCapacity (integer) --

        The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

      • configParameters (list) --

        An array of parameters to set for finer control over a database. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

        • (dict) --

          An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.

          • parameterKey (string) --

            The key of the parameter. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

          • parameterValue (string) --

            The value of the parameter to set.

      • creationDate (datetime) --

        The creation date of the workgroup.

      • endpoint (dict) --

        The endpoint that is created from the workgroup.

        • address (string) --

          The DNS address of the VPC endpoint.

        • port (integer) --

          The port that Amazon Redshift Serverless listens on.

        • vpcEndpoints (list) --

          An array of VpcEndpoint objects.

          • (dict) --

            The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.

            • networkInterfaces (list) --

              One or more network interfaces of the endpoint. Also known as an interface endpoint.

              • (dict) --

                Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

                • availabilityZone (string) --

                  The availability Zone.

                • networkInterfaceId (string) --

                  The unique identifier of the network interface.

                • privateIpAddress (string) --

                  The IPv4 address of the network interface within the subnet.

                • subnetId (string) --

                  The unique identifier of the subnet.

            • vpcEndpointId (string) --

              The connection endpoint ID for connecting to Amazon Redshift Serverless.

            • vpcId (string) --

              The VPC identifier that the endpoint is associated with.

      • enhancedVpcRouting (boolean) --

        The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

      • namespaceName (string) --

        The namespace the workgroup is associated with.

      • publiclyAccessible (boolean) --

        A value that specifies whether the workgroup can be accessible from a public network

      • securityGroupIds (list) --

        An array of security group IDs to associate with the workgroup.

        • (string) --

      • status (string) --

        The status of the workgroup.

      • subnetIds (list) --

        An array of subnet IDs the workgroup is associated with.

        • (string) --

      • workgroupArn (string) --

        The Amazon Resource Name (ARN) that links to the workgroup.

      • workgroupId (string) --

        The unique identifier of the workgroup.

      • workgroupName (string) --

        The name of the workgroup.

GetResourcePolicy (new) Link ¶

Returns a resource policy.

See also: AWS API Documentation

Request Syntax

client.get_resource_policy(
    resourceArn='string'
)
type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the resource to return.

rtype

dict

returns

Response Syntax

{
    'resourcePolicy': {
        'policy': 'string',
        'resourceArn': 'string'
    }
}

Response Structure

  • (dict) --

    • resourcePolicy (dict) --

      The returned resource policy.

      • policy (string) --

        The resource policy.

      • resourceArn (string) --

        The Amazon Resource Name (ARN) of the policy.

PutResourcePolicy (new) Link ¶

Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.

See also: AWS API Documentation

Request Syntax

client.put_resource_policy(
    policy='string',
    resourceArn='string'
)
type policy

string

param policy

[REQUIRED]

The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.

"{\"Version\": \"2012-10-17\", \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"] , \"Effect\": \"Allow\" }]}"

type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the account to create or update a resource policy for.

rtype

dict

returns

Response Syntax

{
    'resourcePolicy': {
        'policy': 'string',
        'resourceArn': 'string'
    }
}

Response Structure

  • (dict) --

    • resourcePolicy (dict) --

      The policy that was created or updated.

      • policy (string) --

        The resource policy.

      • resourceArn (string) --

        The Amazon Resource Name (ARN) of the policy.

ListSnapshots (new) Link ¶

Returns a list of snapshots.

See also: AWS API Documentation

Request Syntax

client.list_snapshots(
    endTime=datetime(2015, 1, 1),
    maxResults=123,
    namespaceArn='string',
    namespaceName='string',
    nextToken='string',
    ownerAccount='string',
    startTime=datetime(2015, 1, 1)
)
type endTime

datetime

param endTime

The timestamp showing when the snapshot creation finished.

type maxResults

integer

param maxResults

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

type namespaceArn

string

param namespaceArn

The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.

type namespaceName

string

param namespaceName

The namespace from which to list all snapshots.

type nextToken

string

param nextToken

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

type ownerAccount

string

param ownerAccount

The owner Amazon Web Services account of the snapshot.

type startTime

datetime

param startTime

The time when the creation of the snapshot was initiated.

rtype

dict

returns

Response Syntax

{
    'nextToken': 'string',
    'snapshots': [
        {
            'accountsWithProvisionedRestoreAccess': [
                'string',
            ],
            'accountsWithRestoreAccess': [
                'string',
            ],
            'actualIncrementalBackupSizeInMegaBytes': 123.0,
            'adminUsername': 'string',
            'backupProgressInMegaBytes': 123.0,
            'currentBackupRateInMegaBytesPerSecond': 123.0,
            'elapsedTimeInSeconds': 123,
            'estimatedSecondsToCompletion': 123,
            'kmsKeyId': 'string',
            'namespaceArn': 'string',
            'namespaceName': 'string',
            'ownerAccount': 'string',
            'snapshotArn': 'string',
            'snapshotCreateTime': datetime(2015, 1, 1),
            'snapshotName': 'string',
            'snapshotRemainingDays': 123,
            'snapshotRetentionPeriod': 123,
            'snapshotRetentionStartTime': datetime(2015, 1, 1),
            'status': 'AVAILABLE'|'CREATING'|'DELETED'|'CANCELLED'|'FAILED'|'COPYING',
            'totalBackupSizeInMegaBytes': 123.0
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

    • snapshots (list) --

      All of the returned snapshot objects.

      • (dict) --

        A snapshot object that contains databases.

        • accountsWithProvisionedRestoreAccess (list) --

          All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.

          • (string) --

        • accountsWithRestoreAccess (list) --

          All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.

          • (string) --

        • actualIncrementalBackupSizeInMegaBytes (float) --

          The size of the incremental backup in megabytes.

        • adminUsername (string) --

          The username of the database within a snapshot.

        • backupProgressInMegaBytes (float) --

          The size in megabytes of the data that has been backed up to a snapshot.

        • currentBackupRateInMegaBytesPerSecond (float) --

          The rate at which data is backed up into a snapshot in megabytes per second.

        • elapsedTimeInSeconds (integer) --

          The amount of time it took to back up data into a snapshot.

        • estimatedSecondsToCompletion (integer) --

          The estimated amount of seconds until the snapshot completes backup.

        • kmsKeyId (string) --

          The unique identifier of the KMS key used to encrypt the snapshot.

        • namespaceArn (string) --

          The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

        • namespaceName (string) --

          The name of the namepsace.

        • ownerAccount (string) --

          The owner Amazon Web Services; account of the snapshot.

        • snapshotArn (string) --

          The Amazon Resource Name (ARN) of the snapshot.

        • snapshotCreateTime (datetime) --

          The timestamp of when the snapshot was created.

        • snapshotName (string) --

          The name of the snapshot.

        • snapshotRemainingDays (integer) --

          The amount of days until the snapshot is deleted.

        • snapshotRetentionPeriod (integer) --

          The period of time, in days, of how long the snapshot is retained.

        • snapshotRetentionStartTime (datetime) --

          The timestamp of when data within the snapshot started getting retained.

        • status (string) --

          The status of the snapshot.

        • totalBackupSizeInMegaBytes (float) --

          The total size, in megabytes, of how big the snapshot is.

RestoreFromRecoveryPoint (new) Link ¶

Restore the data from a recovery point.

See also: AWS API Documentation

Request Syntax

client.restore_from_recovery_point(
    namespaceName='string',
    recoveryPointId='string',
    workgroupName='string'
)
type namespaceName

string

param namespaceName

[REQUIRED]

The name of the namespace to restore data into.

type recoveryPointId

string

param recoveryPointId

[REQUIRED]

The unique identifier of the recovery point to restore from.

type workgroupName

string

param workgroupName

[REQUIRED]

The name of the workgroup used to restore data.

rtype

dict

returns

Response Syntax

{
    'namespace': {
        'adminUsername': 'string',
        'creationDate': datetime(2015, 1, 1),
        'dbName': 'string',
        'defaultIamRoleArn': 'string',
        'iamRoles': [
            'string',
        ],
        'kmsKeyId': 'string',
        'logExports': [
            'useractivitylog'|'userlog'|'connectionlog',
        ],
        'namespaceArn': 'string',
        'namespaceId': 'string',
        'namespaceName': 'string',
        'status': 'AVAILABLE'|'MODIFYING'|'DELETING'
    },
    'recoveryPointId': 'string'
}

Response Structure

  • (dict) --

    • namespace (dict) --

      The namespace that data was restored into.

      • adminUsername (string) --

        The username of the administrator for the first database created in the namespace.

      • creationDate (datetime) --

        The date of when the namespace was created.

      • dbName (string) --

        The name of the first database created in the namespace.

      • defaultIamRoleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

      • iamRoles (list) --

        A list of IAM roles to associate with the namespace.

        • (string) --

      • kmsKeyId (string) --

        The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

      • logExports (list) --

        The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

        • (string) --

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) associated with a namespace.

      • namespaceId (string) --

        The unique identifier of a namespace.

      • namespaceName (string) --

        The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

      • status (string) --

        The status of the namespace.

    • recoveryPointId (string) --

      The unique identifier of the recovery point used for the restore.

RestoreFromSnapshot (new) Link ¶

Restores a namespace from a snapshot.

See also: AWS API Documentation

Request Syntax

client.restore_from_snapshot(
    namespaceName='string',
    ownerAccount='string',
    snapshotArn='string',
    snapshotName='string',
    workgroupName='string'
)
type namespaceName

string

param namespaceName

[REQUIRED]

The name of the namespace to restore the snapshot to.

type ownerAccount

string

param ownerAccount

The Amazon Web Services account that owns the snapshot.

type snapshotArn

string

param snapshotArn

The Amazon Resource Name (ARN) of the snapshot to restore from.

type snapshotName

string

param snapshotName

The name of the snapshot to restore from.

type workgroupName

string

param workgroupName

[REQUIRED]

The name of the workgroup used to restore the snapshot.

rtype

dict

returns

Response Syntax

{
    'namespace': {
        'adminUsername': 'string',
        'creationDate': datetime(2015, 1, 1),
        'dbName': 'string',
        'defaultIamRoleArn': 'string',
        'iamRoles': [
            'string',
        ],
        'kmsKeyId': 'string',
        'logExports': [
            'useractivitylog'|'userlog'|'connectionlog',
        ],
        'namespaceArn': 'string',
        'namespaceId': 'string',
        'namespaceName': 'string',
        'status': 'AVAILABLE'|'MODIFYING'|'DELETING'
    },
    'ownerAccount': 'string',
    'snapshotName': 'string'
}

Response Structure

  • (dict) --

    • namespace (dict) --

      A collection of database objects and users.

      • adminUsername (string) --

        The username of the administrator for the first database created in the namespace.

      • creationDate (datetime) --

        The date of when the namespace was created.

      • dbName (string) --

        The name of the first database created in the namespace.

      • defaultIamRoleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

      • iamRoles (list) --

        A list of IAM roles to associate with the namespace.

        • (string) --

      • kmsKeyId (string) --

        The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

      • logExports (list) --

        The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

        • (string) --

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) associated with a namespace.

      • namespaceId (string) --

        The unique identifier of a namespace.

      • namespaceName (string) --

        The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

      • status (string) --

        The status of the namespace.

    • ownerAccount (string) --

      The owner Amazon Web Services; account of the snapshot that was restored.

    • snapshotName (string) --

      The name of the snapshot used to restore the namespace.

ListUsageLimits (new) Link ¶

Lists all usage limits within Amazon Redshift Serverless.

See also: AWS API Documentation

Request Syntax

client.list_usage_limits(
    maxResults=123,
    nextToken='string',
    resourceArn='string',
    usageType='serverless-compute'|'cross-region-datasharing'
)
type maxResults

integer

param maxResults

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 100.

type nextToken

string

param nextToken

If your initial ListUsageLimits operation returns a nextToken , you can include the returned nextToken in subsequent ListUsageLimits operations, which returns results in the next page.

type resourceArn

string

param resourceArn

The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.

type usageType

string

param usageType

The Amazon Redshift Serverless feature whose limits you want to see.

rtype

dict

returns

Response Syntax

{
    'nextToken': 'string',
    'usageLimits': [
        {
            'amount': 123,
            'breachAction': 'log'|'emit-metric'|'deactivate',
            'period': 'daily'|'weekly'|'monthly',
            'resourceArn': 'string',
            'usageLimitArn': 'string',
            'usageLimitId': 'string',
            'usageType': 'serverless-compute'|'cross-region-datasharing'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

    • usageLimits (list) --

      An array of returned usage limit objects.

      • (dict) --

        The usage limit object.

        • amount (integer) --

          The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

        • breachAction (string) --

          The action that Amazon Redshift Serverless takes when the limit is reached.

        • period (string) --

          The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

        • resourceArn (string) --

          The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

        • usageLimitArn (string) --

          The Amazon Resource Name (ARN) of the resource associated with the usage limit.

        • usageLimitId (string) --

          The identifier of the usage limit.

        • usageType (string) --

          The Amazon Redshift Serverless feature to limit.

UpdateSnapshot (new) Link ¶

Updates a snapshot.

See also: AWS API Documentation

Request Syntax

client.update_snapshot(
    retentionPeriod=123,
    snapshotName='string'
)
type retentionPeriod

integer

param retentionPeriod

The new retention period of the snapshot.

type snapshotName

string

param snapshotName

[REQUIRED]

The name of the snapshot.

rtype

dict

returns

Response Syntax

{
    'snapshot': {
        'accountsWithProvisionedRestoreAccess': [
            'string',
        ],
        'accountsWithRestoreAccess': [
            'string',
        ],
        'actualIncrementalBackupSizeInMegaBytes': 123.0,
        'adminUsername': 'string',
        'backupProgressInMegaBytes': 123.0,
        'currentBackupRateInMegaBytesPerSecond': 123.0,
        'elapsedTimeInSeconds': 123,
        'estimatedSecondsToCompletion': 123,
        'kmsKeyId': 'string',
        'namespaceArn': 'string',
        'namespaceName': 'string',
        'ownerAccount': 'string',
        'snapshotArn': 'string',
        'snapshotCreateTime': datetime(2015, 1, 1),
        'snapshotName': 'string',
        'snapshotRemainingDays': 123,
        'snapshotRetentionPeriod': 123,
        'snapshotRetentionStartTime': datetime(2015, 1, 1),
        'status': 'AVAILABLE'|'CREATING'|'DELETED'|'CANCELLED'|'FAILED'|'COPYING',
        'totalBackupSizeInMegaBytes': 123.0
    }
}

Response Structure

  • (dict) --

    • snapshot (dict) --

      The updated snapshot object.

      • accountsWithProvisionedRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.

        • (string) --

      • accountsWithRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.

        • (string) --

      • actualIncrementalBackupSizeInMegaBytes (float) --

        The size of the incremental backup in megabytes.

      • adminUsername (string) --

        The username of the database within a snapshot.

      • backupProgressInMegaBytes (float) --

        The size in megabytes of the data that has been backed up to a snapshot.

      • currentBackupRateInMegaBytesPerSecond (float) --

        The rate at which data is backed up into a snapshot in megabytes per second.

      • elapsedTimeInSeconds (integer) --

        The amount of time it took to back up data into a snapshot.

      • estimatedSecondsToCompletion (integer) --

        The estimated amount of seconds until the snapshot completes backup.

      • kmsKeyId (string) --

        The unique identifier of the KMS key used to encrypt the snapshot.

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

      • namespaceName (string) --

        The name of the namepsace.

      • ownerAccount (string) --

        The owner Amazon Web Services; account of the snapshot.

      • snapshotArn (string) --

        The Amazon Resource Name (ARN) of the snapshot.

      • snapshotCreateTime (datetime) --

        The timestamp of when the snapshot was created.

      • snapshotName (string) --

        The name of the snapshot.

      • snapshotRemainingDays (integer) --

        The amount of days until the snapshot is deleted.

      • snapshotRetentionPeriod (integer) --

        The period of time, in days, of how long the snapshot is retained.

      • snapshotRetentionStartTime (datetime) --

        The timestamp of when data within the snapshot started getting retained.

      • status (string) --

        The status of the snapshot.

      • totalBackupSizeInMegaBytes (float) --

        The total size, in megabytes, of how big the snapshot is.

GetRecoveryPoint (new) Link ¶

Returns information about a recovery point.

See also: AWS API Documentation

Request Syntax

client.get_recovery_point(
    recoveryPointId='string'
)
type recoveryPointId

string

param recoveryPointId

[REQUIRED]

The unique identifier of the recovery point to return information for.

rtype

dict

returns

Response Syntax

{
    'recoveryPoint': {
        'namespaceName': 'string',
        'recoveryPointCreateTime': datetime(2015, 1, 1),
        'recoveryPointId': 'string',
        'totalSizeInMegaBytes': 123.0,
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • recoveryPoint (dict) --

      The returned recovery point object.

      • namespaceName (string) --

        The name of the namespace the recovery point is associated with.

      • recoveryPointCreateTime (datetime) --

        The time the recovery point is created.

      • recoveryPointId (string) --

        The unique identifier of the recovery point.

      • totalSizeInMegaBytes (float) --

        The total size of the data in the recovery point in megabytes.

      • workgroupName (string) --

        The name of the workgroup the recovery point is associated with.

TagResource (new) Link ¶

Assigns one or more tags to a resource.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    resourceArn='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the resource to tag.

type tags

list

param tags

[REQUIRED]

The map of the key-value pairs used to tag the resource.

  • (dict) --

    A map of key-value pairs.

    • key (string) -- [REQUIRED]

      The key to use in the tag.

    • value (string) -- [REQUIRED]

      The value of the tag.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

CreateUsageLimit (new) Link ¶

Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.

See also: AWS API Documentation

Request Syntax

client.create_usage_limit(
    amount=123,
    breachAction='log'|'emit-metric'|'deactivate',
    period='daily'|'weekly'|'monthly',
    resourceArn='string',
    usageType='serverless-compute'|'cross-region-datasharing'
)
type amount

integer

param amount

[REQUIRED]

The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

type breachAction

string

param breachAction

The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.

type period

string

param period

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.

type usageType

string

param usageType

[REQUIRED]

The type of Amazon Redshift Serverless usage to create a usage limit for.

rtype

dict

returns

Response Syntax

{
    'usageLimit': {
        'amount': 123,
        'breachAction': 'log'|'emit-metric'|'deactivate',
        'period': 'daily'|'weekly'|'monthly',
        'resourceArn': 'string',
        'usageLimitArn': 'string',
        'usageLimitId': 'string',
        'usageType': 'serverless-compute'|'cross-region-datasharing'
    }
}

Response Structure

  • (dict) --

    • usageLimit (dict) --

      The returned usage limit object.

      • amount (integer) --

        The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

      • breachAction (string) --

        The action that Amazon Redshift Serverless takes when the limit is reached.

      • period (string) --

        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

      • resourceArn (string) --

        The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

      • usageLimitArn (string) --

        The Amazon Resource Name (ARN) of the resource associated with the usage limit.

      • usageLimitId (string) --

        The identifier of the usage limit.

      • usageType (string) --

        The Amazon Redshift Serverless feature to limit.

UpdateUsageLimit (new) Link ¶

Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.

See also: AWS API Documentation

Request Syntax

client.update_usage_limit(
    amount=123,
    breachAction='log'|'emit-metric'|'deactivate',
    usageLimitId='string'
)
type amount

integer

param amount

The new limit amount. For more information about this parameter.

type breachAction

string

param breachAction

The new action that Amazon Redshift Serverless takes when the limit is reached.

type usageLimitId

string

param usageLimitId

[REQUIRED]

The identifier of the usage limit to update.

rtype

dict

returns

Response Syntax

{
    'usageLimit': {
        'amount': 123,
        'breachAction': 'log'|'emit-metric'|'deactivate',
        'period': 'daily'|'weekly'|'monthly',
        'resourceArn': 'string',
        'usageLimitArn': 'string',
        'usageLimitId': 'string',
        'usageType': 'serverless-compute'|'cross-region-datasharing'
    }
}

Response Structure

  • (dict) --

    • usageLimit (dict) --

      The updated usage limit object.

      • amount (integer) --

        The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

      • breachAction (string) --

        The action that Amazon Redshift Serverless takes when the limit is reached.

      • period (string) --

        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

      • resourceArn (string) --

        The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

      • usageLimitArn (string) --

        The Amazon Resource Name (ARN) of the resource associated with the usage limit.

      • usageLimitId (string) --

        The identifier of the usage limit.

      • usageType (string) --

        The Amazon Redshift Serverless feature to limit.

CreateEndpointAccess (new) Link ¶

Creates an Amazon Redshift Serverless managed VPC endpoint.

See also: AWS API Documentation

Request Syntax

client.create_endpoint_access(
    endpointName='string',
    subnetIds=[
        'string',
    ],
    vpcSecurityGroupIds=[
        'string',
    ],
    workgroupName='string'
)
type endpointName

string

param endpointName

[REQUIRED]

The name of the VPC endpoint. An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.

type subnetIds

list

param subnetIds

[REQUIRED]

The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.

  • (string) --

type vpcSecurityGroupIds

list

param vpcSecurityGroupIds

The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

  • (string) --

type workgroupName

string

param workgroupName

[REQUIRED]

The name of the workgroup to associate with the VPC endpoint.

rtype

dict

returns

Response Syntax

{
    'endpoint': {
        'address': 'string',
        'endpointArn': 'string',
        'endpointCreateTime': datetime(2015, 1, 1),
        'endpointName': 'string',
        'endpointStatus': 'string',
        'port': 123,
        'subnetIds': [
            'string',
        ],
        'vpcEndpoint': {
            'networkInterfaces': [
                {
                    'availabilityZone': 'string',
                    'networkInterfaceId': 'string',
                    'privateIpAddress': 'string',
                    'subnetId': 'string'
                },
            ],
            'vpcEndpointId': 'string',
            'vpcId': 'string'
        },
        'vpcSecurityGroups': [
            {
                'status': 'string',
                'vpcSecurityGroupId': 'string'
            },
        ],
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • endpoint (dict) --

      The created VPC endpoint.

      • address (string) --

        The DNS address of the endpoint.

      • endpointArn (string) --

        The Amazon Resource Name (ARN) of the VPC endpoint.

      • endpointCreateTime (datetime) --

        The time that the endpoint was created.

      • endpointName (string) --

        The name of the VPC endpoint.

      • endpointStatus (string) --

        The status of the VPC endpoint.

      • port (integer) --

        The port number on which Amazon Redshift Serverless accepts incoming connections.

      • subnetIds (list) --

        The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.

        • (string) --

      • vpcEndpoint (dict) --

        The connection endpoint for connecting to Amazon Redshift Serverless.

        • networkInterfaces (list) --

          One or more network interfaces of the endpoint. Also known as an interface endpoint.

          • (dict) --

            Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

            • availabilityZone (string) --

              The availability Zone.

            • networkInterfaceId (string) --

              The unique identifier of the network interface.

            • privateIpAddress (string) --

              The IPv4 address of the network interface within the subnet.

            • subnetId (string) --

              The unique identifier of the subnet.

        • vpcEndpointId (string) --

          The connection endpoint ID for connecting to Amazon Redshift Serverless.

        • vpcId (string) --

          The VPC identifier that the endpoint is associated with.

      • vpcSecurityGroups (list) --

        The security groups associated with the endpoint.

        • (dict) --

          Describes the members of a VPC security group.

          • status (string) --

            The status of the VPC security group.

          • vpcSecurityGroupId (string) --

            The unique identifier of the VPC security group.

      • workgroupName (string) --

        The name of the workgroup associated with the endpoint.

UpdateEndpointAccess (new) Link ¶

Updates an Amazon Redshift Serverless managed endpoint.

See also: AWS API Documentation

Request Syntax

client.update_endpoint_access(
    endpointName='string',
    vpcSecurityGroupIds=[
        'string',
    ]
)
type endpointName

string

param endpointName

[REQUIRED]

The name of the VPC endpoint to update.

type vpcSecurityGroupIds

list

param vpcSecurityGroupIds

The list of VPC security groups associated with the endpoint after the endpoint is modified.

  • (string) --

rtype

dict

returns

Response Syntax

{
    'endpoint': {
        'address': 'string',
        'endpointArn': 'string',
        'endpointCreateTime': datetime(2015, 1, 1),
        'endpointName': 'string',
        'endpointStatus': 'string',
        'port': 123,
        'subnetIds': [
            'string',
        ],
        'vpcEndpoint': {
            'networkInterfaces': [
                {
                    'availabilityZone': 'string',
                    'networkInterfaceId': 'string',
                    'privateIpAddress': 'string',
                    'subnetId': 'string'
                },
            ],
            'vpcEndpointId': 'string',
            'vpcId': 'string'
        },
        'vpcSecurityGroups': [
            {
                'status': 'string',
                'vpcSecurityGroupId': 'string'
            },
        ],
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • endpoint (dict) --

      The updated VPC endpoint.

      • address (string) --

        The DNS address of the endpoint.

      • endpointArn (string) --

        The Amazon Resource Name (ARN) of the VPC endpoint.

      • endpointCreateTime (datetime) --

        The time that the endpoint was created.

      • endpointName (string) --

        The name of the VPC endpoint.

      • endpointStatus (string) --

        The status of the VPC endpoint.

      • port (integer) --

        The port number on which Amazon Redshift Serverless accepts incoming connections.

      • subnetIds (list) --

        The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.

        • (string) --

      • vpcEndpoint (dict) --

        The connection endpoint for connecting to Amazon Redshift Serverless.

        • networkInterfaces (list) --

          One or more network interfaces of the endpoint. Also known as an interface endpoint.

          • (dict) --

            Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

            • availabilityZone (string) --

              The availability Zone.

            • networkInterfaceId (string) --

              The unique identifier of the network interface.

            • privateIpAddress (string) --

              The IPv4 address of the network interface within the subnet.

            • subnetId (string) --

              The unique identifier of the subnet.

        • vpcEndpointId (string) --

          The connection endpoint ID for connecting to Amazon Redshift Serverless.

        • vpcId (string) --

          The VPC identifier that the endpoint is associated with.

      • vpcSecurityGroups (list) --

        The security groups associated with the endpoint.

        • (dict) --

          Describes the members of a VPC security group.

          • status (string) --

            The status of the VPC security group.

          • vpcSecurityGroupId (string) --

            The unique identifier of the VPC security group.

      • workgroupName (string) --

        The name of the workgroup associated with the endpoint.

ListTagsForResource (new) Link ¶

Lists the tags assigned to a resource.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    resourceArn='string'
)
type resourceArn

string

param resourceArn

[REQUIRED]

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

rtype

dict

returns

Response Syntax

{
    'tags': [
        {
            'key': 'string',
            'value': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • tags (list) --

      A map of the key-value pairs assigned to the resource.

      • (dict) --

        A map of key-value pairs.

        • key (string) --

          The key to use in the tag.

        • value (string) --

          The value of the tag.

GetWorkgroup (new) Link ¶

Returns information about a specific workgroup.

See also: AWS API Documentation

Request Syntax

client.get_workgroup(
    workgroupName='string'
)
type workgroupName

string

param workgroupName

[REQUIRED]

The name of the workgroup to return information for.

rtype

dict

returns

Response Syntax

{
    'workgroup': {
        'baseCapacity': 123,
        'configParameters': [
            {
                'parameterKey': 'string',
                'parameterValue': 'string'
            },
        ],
        'creationDate': datetime(2015, 1, 1),
        'endpoint': {
            'address': 'string',
            'port': 123,
            'vpcEndpoints': [
                {
                    'networkInterfaces': [
                        {
                            'availabilityZone': 'string',
                            'networkInterfaceId': 'string',
                            'privateIpAddress': 'string',
                            'subnetId': 'string'
                        },
                    ],
                    'vpcEndpointId': 'string',
                    'vpcId': 'string'
                },
            ]
        },
        'enhancedVpcRouting': True|False,
        'namespaceName': 'string',
        'publiclyAccessible': True|False,
        'securityGroupIds': [
            'string',
        ],
        'status': 'CREATING'|'AVAILABLE'|'MODIFYING'|'DELETING',
        'subnetIds': [
            'string',
        ],
        'workgroupArn': 'string',
        'workgroupId': 'string',
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • workgroup (dict) --

      The returned workgroup object.

      • baseCapacity (integer) --

        The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

      • configParameters (list) --

        An array of parameters to set for finer control over a database. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

        • (dict) --

          An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.

          • parameterKey (string) --

            The key of the parameter. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

          • parameterValue (string) --

            The value of the parameter to set.

      • creationDate (datetime) --

        The creation date of the workgroup.

      • endpoint (dict) --

        The endpoint that is created from the workgroup.

        • address (string) --

          The DNS address of the VPC endpoint.

        • port (integer) --

          The port that Amazon Redshift Serverless listens on.

        • vpcEndpoints (list) --

          An array of VpcEndpoint objects.

          • (dict) --

            The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.

            • networkInterfaces (list) --

              One or more network interfaces of the endpoint. Also known as an interface endpoint.

              • (dict) --

                Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

                • availabilityZone (string) --

                  The availability Zone.

                • networkInterfaceId (string) --

                  The unique identifier of the network interface.

                • privateIpAddress (string) --

                  The IPv4 address of the network interface within the subnet.

                • subnetId (string) --

                  The unique identifier of the subnet.

            • vpcEndpointId (string) --

              The connection endpoint ID for connecting to Amazon Redshift Serverless.

            • vpcId (string) --

              The VPC identifier that the endpoint is associated with.

      • enhancedVpcRouting (boolean) --

        The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

      • namespaceName (string) --

        The namespace the workgroup is associated with.

      • publiclyAccessible (boolean) --

        A value that specifies whether the workgroup can be accessible from a public network

      • securityGroupIds (list) --

        An array of security group IDs to associate with the workgroup.

        • (string) --

      • status (string) --

        The status of the workgroup.

      • subnetIds (list) --

        An array of subnet IDs the workgroup is associated with.

        • (string) --

      • workgroupArn (string) --

        The Amazon Resource Name (ARN) that links to the workgroup.

      • workgroupId (string) --

        The unique identifier of the workgroup.

      • workgroupName (string) --

        The name of the workgroup.

DeleteNamespace (new) Link ¶

Deletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace.

See also: AWS API Documentation

Request Syntax

client.delete_namespace(
    finalSnapshotName='string',
    finalSnapshotRetentionPeriod=123,
    namespaceName='string'
)
type finalSnapshotName

string

param finalSnapshotName

The name of the snapshot to be created before the namespace is deleted.

type finalSnapshotRetentionPeriod

integer

param finalSnapshotRetentionPeriod

How long to retain the final snapshot.

type namespaceName

string

param namespaceName

[REQUIRED]

The name of the namespace to delete.

rtype

dict

returns

Response Syntax

{
    'namespace': {
        'adminUsername': 'string',
        'creationDate': datetime(2015, 1, 1),
        'dbName': 'string',
        'defaultIamRoleArn': 'string',
        'iamRoles': [
            'string',
        ],
        'kmsKeyId': 'string',
        'logExports': [
            'useractivitylog'|'userlog'|'connectionlog',
        ],
        'namespaceArn': 'string',
        'namespaceId': 'string',
        'namespaceName': 'string',
        'status': 'AVAILABLE'|'MODIFYING'|'DELETING'
    }
}

Response Structure

  • (dict) --

    • namespace (dict) --

      The deleted namespace object.

      • adminUsername (string) --

        The username of the administrator for the first database created in the namespace.

      • creationDate (datetime) --

        The date of when the namespace was created.

      • dbName (string) --

        The name of the first database created in the namespace.

      • defaultIamRoleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

      • iamRoles (list) --

        A list of IAM roles to associate with the namespace.

        • (string) --

      • kmsKeyId (string) --

        The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

      • logExports (list) --

        The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

        • (string) --

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) associated with a namespace.

      • namespaceId (string) --

        The unique identifier of a namespace.

      • namespaceName (string) --

        The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

      • status (string) --

        The status of the namespace.

DeleteUsageLimit (new) Link ¶

Deletes a usage limit from Amazon Redshift Serverless.

See also: AWS API Documentation

Request Syntax

client.delete_usage_limit(
    usageLimitId='string'
)
type usageLimitId

string

param usageLimitId

[REQUIRED]

The unique identifier of the usage limit to delete.

rtype

dict

returns

Response Syntax

{
    'usageLimit': {
        'amount': 123,
        'breachAction': 'log'|'emit-metric'|'deactivate',
        'period': 'daily'|'weekly'|'monthly',
        'resourceArn': 'string',
        'usageLimitArn': 'string',
        'usageLimitId': 'string',
        'usageType': 'serverless-compute'|'cross-region-datasharing'
    }
}

Response Structure

  • (dict) --

    • usageLimit (dict) --

      The deleted usage limit object.

      • amount (integer) --

        The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

      • breachAction (string) --

        The action that Amazon Redshift Serverless takes when the limit is reached.

      • period (string) --

        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

      • resourceArn (string) --

        The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

      • usageLimitArn (string) --

        The Amazon Resource Name (ARN) of the resource associated with the usage limit.

      • usageLimitId (string) --

        The identifier of the usage limit.

      • usageType (string) --

        The Amazon Redshift Serverless feature to limit.

GetUsageLimit (new) Link ¶

Returns information about a usage limit.

See also: AWS API Documentation

Request Syntax

client.get_usage_limit(
    usageLimitId='string'
)
type usageLimitId

string

param usageLimitId

[REQUIRED]

The unique identifier of the usage limit to return information for.

rtype

dict

returns

Response Syntax

{
    'usageLimit': {
        'amount': 123,
        'breachAction': 'log'|'emit-metric'|'deactivate',
        'period': 'daily'|'weekly'|'monthly',
        'resourceArn': 'string',
        'usageLimitArn': 'string',
        'usageLimitId': 'string',
        'usageType': 'serverless-compute'|'cross-region-datasharing'
    }
}

Response Structure

  • (dict) --

    • usageLimit (dict) --

      The returned usage limit object.

      • amount (integer) --

        The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

      • breachAction (string) --

        The action that Amazon Redshift Serverless takes when the limit is reached.

      • period (string) --

        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

      • resourceArn (string) --

        The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

      • usageLimitArn (string) --

        The Amazon Resource Name (ARN) of the resource associated with the usage limit.

      • usageLimitId (string) --

        The identifier of the usage limit.

      • usageType (string) --

        The Amazon Redshift Serverless feature to limit.

GetEndpointAccess (new) Link ¶

Returns information, such as the name, about a VPC endpoint.

See also: AWS API Documentation

Request Syntax

client.get_endpoint_access(
    endpointName='string'
)
type endpointName

string

param endpointName

[REQUIRED]

The name of the VPC endpoint to return information for.

rtype

dict

returns

Response Syntax

{
    'endpoint': {
        'address': 'string',
        'endpointArn': 'string',
        'endpointCreateTime': datetime(2015, 1, 1),
        'endpointName': 'string',
        'endpointStatus': 'string',
        'port': 123,
        'subnetIds': [
            'string',
        ],
        'vpcEndpoint': {
            'networkInterfaces': [
                {
                    'availabilityZone': 'string',
                    'networkInterfaceId': 'string',
                    'privateIpAddress': 'string',
                    'subnetId': 'string'
                },
            ],
            'vpcEndpointId': 'string',
            'vpcId': 'string'
        },
        'vpcSecurityGroups': [
            {
                'status': 'string',
                'vpcSecurityGroupId': 'string'
            },
        ],
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • endpoint (dict) --

      The returned VPC endpoint.

      • address (string) --

        The DNS address of the endpoint.

      • endpointArn (string) --

        The Amazon Resource Name (ARN) of the VPC endpoint.

      • endpointCreateTime (datetime) --

        The time that the endpoint was created.

      • endpointName (string) --

        The name of the VPC endpoint.

      • endpointStatus (string) --

        The status of the VPC endpoint.

      • port (integer) --

        The port number on which Amazon Redshift Serverless accepts incoming connections.

      • subnetIds (list) --

        The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.

        • (string) --

      • vpcEndpoint (dict) --

        The connection endpoint for connecting to Amazon Redshift Serverless.

        • networkInterfaces (list) --

          One or more network interfaces of the endpoint. Also known as an interface endpoint.

          • (dict) --

            Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

            • availabilityZone (string) --

              The availability Zone.

            • networkInterfaceId (string) --

              The unique identifier of the network interface.

            • privateIpAddress (string) --

              The IPv4 address of the network interface within the subnet.

            • subnetId (string) --

              The unique identifier of the subnet.

        • vpcEndpointId (string) --

          The connection endpoint ID for connecting to Amazon Redshift Serverless.

        • vpcId (string) --

          The VPC identifier that the endpoint is associated with.

      • vpcSecurityGroups (list) --

        The security groups associated with the endpoint.

        • (dict) --

          Describes the members of a VPC security group.

          • status (string) --

            The status of the VPC security group.

          • vpcSecurityGroupId (string) --

            The unique identifier of the VPC security group.

      • workgroupName (string) --

        The name of the workgroup associated with the endpoint.

ListNamespaces (new) Link ¶

Returns information about a list of specified namespaces.

See also: AWS API Documentation

Request Syntax

client.list_namespaces(
    maxResults=123,
    nextToken='string'
)
type maxResults

integer

param maxResults

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

type nextToken

string

param nextToken

If your initial ListNamespaces operation returns a nextToken , you can include the returned nextToken in subsequent ListNamespaces operations, which returns results in the next page.

rtype

dict

returns

Response Syntax

{
    'namespaces': [
        {
            'adminUsername': 'string',
            'creationDate': datetime(2015, 1, 1),
            'dbName': 'string',
            'defaultIamRoleArn': 'string',
            'iamRoles': [
                'string',
            ],
            'kmsKeyId': 'string',
            'logExports': [
                'useractivitylog'|'userlog'|'connectionlog',
            ],
            'namespaceArn': 'string',
            'namespaceId': 'string',
            'namespaceName': 'string',
            'status': 'AVAILABLE'|'MODIFYING'|'DELETING'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • namespaces (list) --

      The list of returned namespaces.

      • (dict) --

        A collection of database objects and users.

        • adminUsername (string) --

          The username of the administrator for the first database created in the namespace.

        • creationDate (datetime) --

          The date of when the namespace was created.

        • dbName (string) --

          The name of the first database created in the namespace.

        • defaultIamRoleArn (string) --

          The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

        • iamRoles (list) --

          A list of IAM roles to associate with the namespace.

          • (string) --

        • kmsKeyId (string) --

          The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

        • logExports (list) --

          The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

          • (string) --

        • namespaceArn (string) --

          The Amazon Resource Name (ARN) associated with a namespace.

        • namespaceId (string) --

          The unique identifier of a namespace.

        • namespaceName (string) --

          The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

        • status (string) --

          The status of the namespace.

    • nextToken (string) --

      When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

UntagResource (new) Link ¶

Removes a tag or set of tags from a resource.

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the resource to remove tags from.

type tagKeys

list

param tagKeys

[REQUIRED]

The tag or set of tags to remove from the resource.

  • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

UpdateNamespace (new) Link ¶

Updates a namespace with the specified settings.

See also: AWS API Documentation

Request Syntax

client.update_namespace(
    adminUserPassword='string',
    adminUsername='string',
    defaultIamRoleArn='string',
    iamRoles=[
        'string',
    ],
    kmsKeyId='string',
    logExports=[
        'useractivitylog'|'userlog'|'connectionlog',
    ],
    namespaceName='string'
)
type adminUserPassword

string

param adminUserPassword

The password of the administrator for the first database created in the namespace.

type adminUsername

string

param adminUsername

The username of the administrator for the first database created in the namespace.

type defaultIamRoleArn

string

param defaultIamRoleArn

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

type iamRoles

list

param iamRoles

A list of IAM roles to associate with the namespace.

  • (string) --

type kmsKeyId

string

param kmsKeyId

The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

type logExports

list

param logExports

The types of logs the namespace can export. The export types are userlog , connectionlog , and useractivitylog .

  • (string) --

type namespaceName

string

param namespaceName

[REQUIRED]

The name of the namespace.

rtype

dict

returns

Response Syntax

{
    'namespace': {
        'adminUsername': 'string',
        'creationDate': datetime(2015, 1, 1),
        'dbName': 'string',
        'defaultIamRoleArn': 'string',
        'iamRoles': [
            'string',
        ],
        'kmsKeyId': 'string',
        'logExports': [
            'useractivitylog'|'userlog'|'connectionlog',
        ],
        'namespaceArn': 'string',
        'namespaceId': 'string',
        'namespaceName': 'string',
        'status': 'AVAILABLE'|'MODIFYING'|'DELETING'
    }
}

Response Structure

  • (dict) --

    • namespace (dict) --

      A list of tag instances.

      • adminUsername (string) --

        The username of the administrator for the first database created in the namespace.

      • creationDate (datetime) --

        The date of when the namespace was created.

      • dbName (string) --

        The name of the first database created in the namespace.

      • defaultIamRoleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

      • iamRoles (list) --

        A list of IAM roles to associate with the namespace.

        • (string) --

      • kmsKeyId (string) --

        The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

      • logExports (list) --

        The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

        • (string) --

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) associated with a namespace.

      • namespaceId (string) --

        The unique identifier of a namespace.

      • namespaceName (string) --

        The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

      • status (string) --

        The status of the namespace.

CreateWorkgroup (new) Link ¶

Creates an workgroup in Amazon Redshift Serverless.

See also: AWS API Documentation

Request Syntax

client.create_workgroup(
    baseCapacity=123,
    configParameters=[
        {
            'parameterKey': 'string',
            'parameterValue': 'string'
        },
    ],
    enhancedVpcRouting=True|False,
    namespaceName='string',
    publiclyAccessible=True|False,
    securityGroupIds=[
        'string',
    ],
    subnetIds=[
        'string',
    ],
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ],
    workgroupName='string'
)
type baseCapacity

integer

param baseCapacity

The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

type configParameters

list

param configParameters

An array of parameters to set for more control over a serverless database. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

  • (dict) --

    An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.

    • parameterKey (string) --

      The key of the parameter. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

    • parameterValue (string) --

      The value of the parameter to set.

type enhancedVpcRouting

boolean

param enhancedVpcRouting

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.

type namespaceName

string

param namespaceName

[REQUIRED]

The name of the namespace to associate with the workgroup.

type publiclyAccessible

boolean

param publiclyAccessible

A value that specifies whether the workgroup can be accessed from a public network.

type securityGroupIds

list

param securityGroupIds

An array of security group IDs to associate with the workgroup.

  • (string) --

type subnetIds

list

param subnetIds

An array of VPC subnet IDs to associate with the workgroup.

  • (string) --

type tags

list

param tags

A array of tag instances.

  • (dict) --

    A map of key-value pairs.

    • key (string) -- [REQUIRED]

      The key to use in the tag.

    • value (string) -- [REQUIRED]

      The value of the tag.

type workgroupName

string

param workgroupName

[REQUIRED]

The name of the created workgroup.

rtype

dict

returns

Response Syntax

{
    'workgroup': {
        'baseCapacity': 123,
        'configParameters': [
            {
                'parameterKey': 'string',
                'parameterValue': 'string'
            },
        ],
        'creationDate': datetime(2015, 1, 1),
        'endpoint': {
            'address': 'string',
            'port': 123,
            'vpcEndpoints': [
                {
                    'networkInterfaces': [
                        {
                            'availabilityZone': 'string',
                            'networkInterfaceId': 'string',
                            'privateIpAddress': 'string',
                            'subnetId': 'string'
                        },
                    ],
                    'vpcEndpointId': 'string',
                    'vpcId': 'string'
                },
            ]
        },
        'enhancedVpcRouting': True|False,
        'namespaceName': 'string',
        'publiclyAccessible': True|False,
        'securityGroupIds': [
            'string',
        ],
        'status': 'CREATING'|'AVAILABLE'|'MODIFYING'|'DELETING',
        'subnetIds': [
            'string',
        ],
        'workgroupArn': 'string',
        'workgroupId': 'string',
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • workgroup (dict) --

      The created workgroup object.

      • baseCapacity (integer) --

        The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

      • configParameters (list) --

        An array of parameters to set for finer control over a database. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

        • (dict) --

          An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.

          • parameterKey (string) --

            The key of the parameter. The options are datestyle , enable_user_activity_logging , query_group , search_path , and max_query_execution_time .

          • parameterValue (string) --

            The value of the parameter to set.

      • creationDate (datetime) --

        The creation date of the workgroup.

      • endpoint (dict) --

        The endpoint that is created from the workgroup.

        • address (string) --

          The DNS address of the VPC endpoint.

        • port (integer) --

          The port that Amazon Redshift Serverless listens on.

        • vpcEndpoints (list) --

          An array of VpcEndpoint objects.

          • (dict) --

            The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.

            • networkInterfaces (list) --

              One or more network interfaces of the endpoint. Also known as an interface endpoint.

              • (dict) --

                Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

                • availabilityZone (string) --

                  The availability Zone.

                • networkInterfaceId (string) --

                  The unique identifier of the network interface.

                • privateIpAddress (string) --

                  The IPv4 address of the network interface within the subnet.

                • subnetId (string) --

                  The unique identifier of the subnet.

            • vpcEndpointId (string) --

              The connection endpoint ID for connecting to Amazon Redshift Serverless.

            • vpcId (string) --

              The VPC identifier that the endpoint is associated with.

      • enhancedVpcRouting (boolean) --

        The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

      • namespaceName (string) --

        The namespace the workgroup is associated with.

      • publiclyAccessible (boolean) --

        A value that specifies whether the workgroup can be accessible from a public network

      • securityGroupIds (list) --

        An array of security group IDs to associate with the workgroup.

        • (string) --

      • status (string) --

        The status of the workgroup.

      • subnetIds (list) --

        An array of subnet IDs the workgroup is associated with.

        • (string) --

      • workgroupArn (string) --

        The Amazon Resource Name (ARN) that links to the workgroup.

      • workgroupId (string) --

        The unique identifier of the workgroup.

      • workgroupName (string) --

        The name of the workgroup.

DeleteEndpointAccess (new) Link ¶

Deletes an Amazon Redshift Serverless managed VPC endpoint.

See also: AWS API Documentation

Request Syntax

client.delete_endpoint_access(
    endpointName='string'
)
type endpointName

string

param endpointName

[REQUIRED]

The name of the VPC endpoint to delete.

rtype

dict

returns

Response Syntax

{
    'endpoint': {
        'address': 'string',
        'endpointArn': 'string',
        'endpointCreateTime': datetime(2015, 1, 1),
        'endpointName': 'string',
        'endpointStatus': 'string',
        'port': 123,
        'subnetIds': [
            'string',
        ],
        'vpcEndpoint': {
            'networkInterfaces': [
                {
                    'availabilityZone': 'string',
                    'networkInterfaceId': 'string',
                    'privateIpAddress': 'string',
                    'subnetId': 'string'
                },
            ],
            'vpcEndpointId': 'string',
            'vpcId': 'string'
        },
        'vpcSecurityGroups': [
            {
                'status': 'string',
                'vpcSecurityGroupId': 'string'
            },
        ],
        'workgroupName': 'string'
    }
}

Response Structure

  • (dict) --

    • endpoint (dict) --

      The deleted VPC endpoint.

      • address (string) --

        The DNS address of the endpoint.

      • endpointArn (string) --

        The Amazon Resource Name (ARN) of the VPC endpoint.

      • endpointCreateTime (datetime) --

        The time that the endpoint was created.

      • endpointName (string) --

        The name of the VPC endpoint.

      • endpointStatus (string) --

        The status of the VPC endpoint.

      • port (integer) --

        The port number on which Amazon Redshift Serverless accepts incoming connections.

      • subnetIds (list) --

        The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.

        • (string) --

      • vpcEndpoint (dict) --

        The connection endpoint for connecting to Amazon Redshift Serverless.

        • networkInterfaces (list) --

          One or more network interfaces of the endpoint. Also known as an interface endpoint.

          • (dict) --

            Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

            • availabilityZone (string) --

              The availability Zone.

            • networkInterfaceId (string) --

              The unique identifier of the network interface.

            • privateIpAddress (string) --

              The IPv4 address of the network interface within the subnet.

            • subnetId (string) --

              The unique identifier of the subnet.

        • vpcEndpointId (string) --

          The connection endpoint ID for connecting to Amazon Redshift Serverless.

        • vpcId (string) --

          The VPC identifier that the endpoint is associated with.

      • vpcSecurityGroups (list) --

        The security groups associated with the endpoint.

        • (dict) --

          Describes the members of a VPC security group.

          • status (string) --

            The status of the VPC security group.

          • vpcSecurityGroupId (string) --

            The unique identifier of the VPC security group.

      • workgroupName (string) --

        The name of the workgroup associated with the endpoint.

GetNamespace (new) Link ¶

Returns information about a namespace in Amazon Redshift Serverless.

See also: AWS API Documentation

Request Syntax

client.get_namespace(
    namespaceName='string'
)
type namespaceName

string

param namespaceName

[REQUIRED]

The name of the namespace to retrieve information for.

rtype

dict

returns

Response Syntax

{
    'namespace': {
        'adminUsername': 'string',
        'creationDate': datetime(2015, 1, 1),
        'dbName': 'string',
        'defaultIamRoleArn': 'string',
        'iamRoles': [
            'string',
        ],
        'kmsKeyId': 'string',
        'logExports': [
            'useractivitylog'|'userlog'|'connectionlog',
        ],
        'namespaceArn': 'string',
        'namespaceId': 'string',
        'namespaceName': 'string',
        'status': 'AVAILABLE'|'MODIFYING'|'DELETING'
    }
}

Response Structure

  • (dict) --

    • namespace (dict) --

      The returned namespace object.

      • adminUsername (string) --

        The username of the administrator for the first database created in the namespace.

      • creationDate (datetime) --

        The date of when the namespace was created.

      • dbName (string) --

        The name of the first database created in the namespace.

      • defaultIamRoleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

      • iamRoles (list) --

        A list of IAM roles to associate with the namespace.

        • (string) --

      • kmsKeyId (string) --

        The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

      • logExports (list) --

        The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

        • (string) --

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) associated with a namespace.

      • namespaceId (string) --

        The unique identifier of a namespace.

      • namespaceName (string) --

        The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

      • status (string) --

        The status of the namespace.

ListEndpointAccess (new) Link ¶

Returns an array of EndpointAccess objects and relevant information.

See also: AWS API Documentation

Request Syntax

client.list_endpoint_access(
    maxResults=123,
    nextToken='string',
    vpcId='string',
    workgroupName='string'
)
type maxResults

integer

param maxResults

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

type nextToken

string

param nextToken

If your initial ListEndpointAccess operation returns a nextToken , you can include the returned nextToken in subsequent ListEndpointAccess operations, which returns results in the next page.

type vpcId

string

param vpcId

The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.

type workgroupName

string

param workgroupName

The name of the workgroup associated with the VPC endpoint to return.

rtype

dict

returns

Response Syntax

{
    'endpoints': [
        {
            'address': 'string',
            'endpointArn': 'string',
            'endpointCreateTime': datetime(2015, 1, 1),
            'endpointName': 'string',
            'endpointStatus': 'string',
            'port': 123,
            'subnetIds': [
                'string',
            ],
            'vpcEndpoint': {
                'networkInterfaces': [
                    {
                        'availabilityZone': 'string',
                        'networkInterfaceId': 'string',
                        'privateIpAddress': 'string',
                        'subnetId': 'string'
                    },
                ],
                'vpcEndpointId': 'string',
                'vpcId': 'string'
            },
            'vpcSecurityGroups': [
                {
                    'status': 'string',
                    'vpcSecurityGroupId': 'string'
                },
            ],
            'workgroupName': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • endpoints (list) --

      The returned VPC endpoints.

      • (dict) --

        Information about an Amazon Redshift Serverless VPC endpoint.

        • address (string) --

          The DNS address of the endpoint.

        • endpointArn (string) --

          The Amazon Resource Name (ARN) of the VPC endpoint.

        • endpointCreateTime (datetime) --

          The time that the endpoint was created.

        • endpointName (string) --

          The name of the VPC endpoint.

        • endpointStatus (string) --

          The status of the VPC endpoint.

        • port (integer) --

          The port number on which Amazon Redshift Serverless accepts incoming connections.

        • subnetIds (list) --

          The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.

          • (string) --

        • vpcEndpoint (dict) --

          The connection endpoint for connecting to Amazon Redshift Serverless.

          • networkInterfaces (list) --

            One or more network interfaces of the endpoint. Also known as an interface endpoint.

            • (dict) --

              Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

              • availabilityZone (string) --

                The availability Zone.

              • networkInterfaceId (string) --

                The unique identifier of the network interface.

              • privateIpAddress (string) --

                The IPv4 address of the network interface within the subnet.

              • subnetId (string) --

                The unique identifier of the subnet.

          • vpcEndpointId (string) --

            The connection endpoint ID for connecting to Amazon Redshift Serverless.

          • vpcId (string) --

            The VPC identifier that the endpoint is associated with.

        • vpcSecurityGroups (list) --

          The security groups associated with the endpoint.

          • (dict) --

            Describes the members of a VPC security group.

            • status (string) --

              The status of the VPC security group.

            • vpcSecurityGroupId (string) --

              The unique identifier of the VPC security group.

        • workgroupName (string) --

          The name of the workgroup associated with the endpoint.

    • nextToken (string) --

      When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

DeleteResourcePolicy (new) Link ¶

Deletes the specified resource policy.

See also: AWS API Documentation

Request Syntax

client.delete_resource_policy(
    resourceArn='string'
)
type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the policy to delete.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

CreateSnapshot (new) Link ¶

Creates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points .

See also: AWS API Documentation

Request Syntax

client.create_snapshot(
    namespaceName='string',
    retentionPeriod=123,
    snapshotName='string'
)
type namespaceName

string

param namespaceName

[REQUIRED]

The namespace to create a snapshot for.

type retentionPeriod

integer

param retentionPeriod

How long to retain the created snapshot.

type snapshotName

string

param snapshotName

[REQUIRED]

The name of the snapshot.

rtype

dict

returns

Response Syntax

{
    'snapshot': {
        'accountsWithProvisionedRestoreAccess': [
            'string',
        ],
        'accountsWithRestoreAccess': [
            'string',
        ],
        'actualIncrementalBackupSizeInMegaBytes': 123.0,
        'adminUsername': 'string',
        'backupProgressInMegaBytes': 123.0,
        'currentBackupRateInMegaBytesPerSecond': 123.0,
        'elapsedTimeInSeconds': 123,
        'estimatedSecondsToCompletion': 123,
        'kmsKeyId': 'string',
        'namespaceArn': 'string',
        'namespaceName': 'string',
        'ownerAccount': 'string',
        'snapshotArn': 'string',
        'snapshotCreateTime': datetime(2015, 1, 1),
        'snapshotName': 'string',
        'snapshotRemainingDays': 123,
        'snapshotRetentionPeriod': 123,
        'snapshotRetentionStartTime': datetime(2015, 1, 1),
        'status': 'AVAILABLE'|'CREATING'|'DELETED'|'CANCELLED'|'FAILED'|'COPYING',
        'totalBackupSizeInMegaBytes': 123.0
    }
}

Response Structure

  • (dict) --

    • snapshot (dict) --

      The created snapshot object.

      • accountsWithProvisionedRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.

        • (string) --

      • accountsWithRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.

        • (string) --

      • actualIncrementalBackupSizeInMegaBytes (float) --

        The size of the incremental backup in megabytes.

      • adminUsername (string) --

        The username of the database within a snapshot.

      • backupProgressInMegaBytes (float) --

        The size in megabytes of the data that has been backed up to a snapshot.

      • currentBackupRateInMegaBytesPerSecond (float) --

        The rate at which data is backed up into a snapshot in megabytes per second.

      • elapsedTimeInSeconds (integer) --

        The amount of time it took to back up data into a snapshot.

      • estimatedSecondsToCompletion (integer) --

        The estimated amount of seconds until the snapshot completes backup.

      • kmsKeyId (string) --

        The unique identifier of the KMS key used to encrypt the snapshot.

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

      • namespaceName (string) --

        The name of the namepsace.

      • ownerAccount (string) --

        The owner Amazon Web Services; account of the snapshot.

      • snapshotArn (string) --

        The Amazon Resource Name (ARN) of the snapshot.

      • snapshotCreateTime (datetime) --

        The timestamp of when the snapshot was created.

      • snapshotName (string) --

        The name of the snapshot.

      • snapshotRemainingDays (integer) --

        The amount of days until the snapshot is deleted.

      • snapshotRetentionPeriod (integer) --

        The period of time, in days, of how long the snapshot is retained.

      • snapshotRetentionStartTime (datetime) --

        The timestamp of when data within the snapshot started getting retained.

      • status (string) --

        The status of the snapshot.

      • totalBackupSizeInMegaBytes (float) --

        The total size, in megabytes, of how big the snapshot is.

ListRecoveryPoints (new) Link ¶

Returns an array of recovery points.

See also: AWS API Documentation

Request Syntax

client.list_recovery_points(
    endTime=datetime(2015, 1, 1),
    maxResults=123,
    namespaceName='string',
    nextToken='string',
    startTime=datetime(2015, 1, 1)
)
type endTime

datetime

param endTime

The time when creation of the recovery point finished.

type maxResults

integer

param maxResults

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

type namespaceName

string

param namespaceName

The name of the namespace to list recovery points for.

type nextToken

string

param nextToken

If your initial ListRecoveryPoints operation returns a nextToken , you can include the returned nextToken in subsequent ListRecoveryPoints operations, which returns results in the next page.

type startTime

datetime

param startTime

The time when the recovery point's creation was initiated.

rtype

dict

returns

Response Syntax

{
    'nextToken': 'string',
    'recoveryPoints': [
        {
            'namespaceName': 'string',
            'recoveryPointCreateTime': datetime(2015, 1, 1),
            'recoveryPointId': 'string',
            'totalSizeInMegaBytes': 123.0,
            'workgroupName': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

    • recoveryPoints (list) --

      The returned recovery point objects.

      • (dict) --

        The automatically created recovery point of a namespace. Recovery points are created every 30 minutes and kept for 24 hours.

        • namespaceName (string) --

          The name of the namespace the recovery point is associated with.

        • recoveryPointCreateTime (datetime) --

          The time the recovery point is created.

        • recoveryPointId (string) --

          The unique identifier of the recovery point.

        • totalSizeInMegaBytes (float) --

          The total size of the data in the recovery point in megabytes.

        • workgroupName (string) --

          The name of the workgroup the recovery point is associated with.

DeleteSnapshot (new) Link ¶

Deletes a snapshot from Amazon Redshift Serverless.

See also: AWS API Documentation

Request Syntax

client.delete_snapshot(
    snapshotName='string'
)
type snapshotName

string

param snapshotName

[REQUIRED]

The name of the snapshot to be deleted.

rtype

dict

returns

Response Syntax

{
    'snapshot': {
        'accountsWithProvisionedRestoreAccess': [
            'string',
        ],
        'accountsWithRestoreAccess': [
            'string',
        ],
        'actualIncrementalBackupSizeInMegaBytes': 123.0,
        'adminUsername': 'string',
        'backupProgressInMegaBytes': 123.0,
        'currentBackupRateInMegaBytesPerSecond': 123.0,
        'elapsedTimeInSeconds': 123,
        'estimatedSecondsToCompletion': 123,
        'kmsKeyId': 'string',
        'namespaceArn': 'string',
        'namespaceName': 'string',
        'ownerAccount': 'string',
        'snapshotArn': 'string',
        'snapshotCreateTime': datetime(2015, 1, 1),
        'snapshotName': 'string',
        'snapshotRemainingDays': 123,
        'snapshotRetentionPeriod': 123,
        'snapshotRetentionStartTime': datetime(2015, 1, 1),
        'status': 'AVAILABLE'|'CREATING'|'DELETED'|'CANCELLED'|'FAILED'|'COPYING',
        'totalBackupSizeInMegaBytes': 123.0
    }
}

Response Structure

  • (dict) --

    • snapshot (dict) --

      The deleted snapshot object.

      • accountsWithProvisionedRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.

        • (string) --

      • accountsWithRestoreAccess (list) --

        All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.

        • (string) --

      • actualIncrementalBackupSizeInMegaBytes (float) --

        The size of the incremental backup in megabytes.

      • adminUsername (string) --

        The username of the database within a snapshot.

      • backupProgressInMegaBytes (float) --

        The size in megabytes of the data that has been backed up to a snapshot.

      • currentBackupRateInMegaBytesPerSecond (float) --

        The rate at which data is backed up into a snapshot in megabytes per second.

      • elapsedTimeInSeconds (integer) --

        The amount of time it took to back up data into a snapshot.

      • estimatedSecondsToCompletion (integer) --

        The estimated amount of seconds until the snapshot completes backup.

      • kmsKeyId (string) --

        The unique identifier of the KMS key used to encrypt the snapshot.

      • namespaceArn (string) --

        The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

      • namespaceName (string) --

        The name of the namepsace.

      • ownerAccount (string) --

        The owner Amazon Web Services; account of the snapshot.

      • snapshotArn (string) --

        The Amazon Resource Name (ARN) of the snapshot.

      • snapshotCreateTime (datetime) --

        The timestamp of when the snapshot was created.

      • snapshotName (string) --

        The name of the snapshot.

      • snapshotRemainingDays (integer) --

        The amount of days until the snapshot is deleted.

      • snapshotRetentionPeriod (integer) --

        The period of time, in days, of how long the snapshot is retained.

      • snapshotRetentionStartTime (datetime) --

        The timestamp of when data within the snapshot started getting retained.

      • status (string) --

        The status of the snapshot.

      • totalBackupSizeInMegaBytes (float) --

        The total size, in megabytes, of how big the snapshot is.