쿠키 기본 설정 선택

당사는 사이트와 서비스를 제공하는 데 필요한 필수 쿠키 및 유사한 도구를 사용합니다. 고객이 사이트를 어떻게 사용하는지 파악하고 개선할 수 있도록 성능 쿠키를 사용해 익명의 통계를 수집합니다. 필수 쿠키는 비활성화할 수 없지만 '사용자 지정' 또는 ‘거부’를 클릭하여 성능 쿠키를 거부할 수 있습니다.

사용자가 동의하는 경우 AWS와 승인된 제3자도 쿠키를 사용하여 유용한 사이트 기능을 제공하고, 사용자의 기본 설정을 기억하고, 관련 광고를 비롯한 관련 콘텐츠를 표시합니다. 필수가 아닌 모든 쿠키를 수락하거나 거부하려면 ‘수락’ 또는 ‘거부’를 클릭하세요. 더 자세한 내용을 선택하려면 ‘사용자 정의’를 클릭하세요.

RejectDataShare - Amazon Redshift
이 페이지는 귀하의 언어로 번역되지 않았습니다. 번역 요청

RejectDataShare

From a datashare consumer account, rejects the specified datashare.

Request Parameters

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

DataShareArn

The Amazon Resource Name (ARN) of the datashare to reject.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: Yes

Response Elements

The following elements are returned by the service.

AllowPubliclyAccessibleConsumers

A value that specifies whether the datashare can be shared to a publicly accessible cluster.

Type: Boolean

DataShareArn

The Amazon Resource Name (ARN) of the datashare that the consumer is to use.

Type: String

Length Constraints: Maximum length of 2147483647.

DataShareAssociations.member.N

A value that specifies when the datashare has an association between producer and data consumers.

Type: Array of DataShareAssociation objects

DataShareType

The type of the datashare created by RegisterNamespace.

Type: String

Valid Values: INTERNAL

ManagedBy

The identifier of a datashare to show its managing entity.

Type: String

Length Constraints: Maximum length of 2147483647.

ProducerArn

The Amazon Resource Name (ARN) of the producer namespace.

Type: String

Length Constraints: Maximum length of 2147483647.

Errors

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

InvalidDataShareFault

There is an error with the datashare.

HTTP Status Code: 400

Examples

Example

This example illustrates one usage of RejectDataShare.

Sample Request

https://redshift.us-east-2.amazonaws.com/ ?Action=RejectDataShare &DataShareArn=arn%3Aaws%3Ar&dshift%3Aus-east-1%3A275247490162%3Adatashare%3Afd59653e-4ace-4952-a102-286dad7263ca%2Ftestshare1 &SignatureMethod=HmacSHA256&SignatureVersion=4 &Version=2012-12-01 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request &X-Amz-Date=20190825T160000Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b

Sample Response

<RejectDataShareResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/"> <RejectDataShareResult> <ProducerNamespaceArn>arn:aws:redshift:us-east-1:275247490162:namespace:fd59653e-4ace-4952-a102-286dad7263ca</ProducerNamespaceArn> <AllowPubliclyAccessibleConsumers>true</AllowPubliclyAccessibleConsumers> <DataShareArn>arn:aws:redshift:us-east-1:275247490162:datashare:fd59653e-4ace-4952-a102-286dad7263ca/testshare1</DataShareArn> <DataShareAssociations> <member> <StatusChangeDate>2020-10-30T17:43:02.108138</StatusChangeDate> <ConsumerIdentifier>827630067164</ConsumerIdentifier> <CreatedDate>2020-10-29T22:54:27.948849</CreatedDate> <Status>REJECTED</Status> </member> </DataShareAssociations> </RejectDataShareResult> <ResponseMetadata> <RequestId>fc19bc1a-18c1-4888-a35e-3e1366775c36</RequestId> </ResponseMetadata> </RejectDataShareResponse>

See Also

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

프라이버시사이트 이용 약관쿠키 기본 설정
© 2025, Amazon Web Services, Inc. 또는 계열사. All rights reserved.