revoke_vpc_endpoint_access
¶
revoke_vpc_endpoint_access(
domain_name: DomainName,
*,
config_overrides: Optional[OpenSearchClientConfig] = None,
account: Optional[AWSAccount] = None,
service: Optional[AWSServicePrincipal] = None,
service_options: Optional[ServiceOptions] = None,
) -> RevokeVpcEndpointAccessResponse
Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.
Parameters:
-
domain_name(DomainName) –The name of the OpenSearch Service domain.
-
account(Optional[AWSAccount], default:None) –The account ID to revoke access from.
-
service(Optional[AWSServicePrincipal], default:None) –The service SP to revoke access from.
-
service_options(Optional[ServiceOptions], default:None) –The options for the service, including the supported Regions for the endpoint access.
Raises:
-
BaseException–An error occurred while processing the request.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearch/_services/open_search.py
5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 | |