UpdatePartnerStatus - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

UpdatePartnerStatus

Updates the status of a partner integration.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

AccountId

The Amazon Web Services account ID that owns the cluster.

Type: String

Length Constraints: Fixed length of 12.

Pattern: ^[0-9]+$

Required: Yes

ClusterIdentifier

The cluster identifier of the cluster whose partner integration status is being updated.

Type: String

Length Constraints: Maximum length of 63.

Pattern: ^[a-zA-Z0-9\-]+$

Required: Yes

DatabaseName

The name of the database whose partner integration status is being updated.

Type: String

Length Constraints: Maximum length of 127.

Pattern: ^[\p{L}_][\p{L}\p{N}@$#_]+$

Required: Yes

PartnerName

The name of the partner whose integration status is being updated.

Type: String

Length Constraints: Maximum length of 255.

Pattern: ^[a-zA-Z0-9\-_]+$

Required: Yes

Status

The value of the updated status.

Type: String

Valid Values: Active | Inactive | RuntimeFailure | ConnectionFailure

Required: Yes

StatusMessage

The status message provided by the partner.

Type: String

Length Constraints: Maximum length of 262144.

Pattern: ^[\x20-\x7E]+$

Required: No

Response Elements

The following elements are returned by the service.

DatabaseName

The name of the database that receives data from the partner.

Type: String

Length Constraints: Maximum length of 127.

Pattern: ^[\p{L}_][\p{L}\p{N}@$#_]+$

PartnerName

The name of the partner that is authorized to send data.

Type: String

Length Constraints: Maximum length of 255.

Pattern: ^[a-zA-Z0-9\-_]+$

Errors

For information about the errors that are common to all actions, see Common Errors.

ClusterNotFound

The ClusterIdentifier parameter does not refer to an existing cluster.

HTTP Status Code: 404

PartnerNotFound

The name of the partner was not found.

HTTP Status Code: 404

UnauthorizedPartnerIntegration

The partner integration is not authorized.

HTTP Status Code: 401

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: