revokePipelineEndpointConnections method
Revokes pipeline endpoints from specified endpoint IDs.
May throw AccessDeniedException.
May throw DisabledOperationException.
May throw InternalException.
May throw LimitExceededException.
May throw ValidationException.
Parameter endpointIds :
A list of endpoint IDs for which to revoke access to the pipeline.
Parameter pipelineArn :
The Amazon Resource Name (ARN) of the pipeline from which to revoke
endpoint connections.
Implementation
Future<RevokePipelineEndpointConnectionsResponse>
revokePipelineEndpointConnections({
required List<String> endpointIds,
required String pipelineArn,
}) async {
final $payload = <String, dynamic>{
'EndpointIds': endpointIds,
'PipelineArn': pipelineArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/2022-01-01/osis/revokePipelineEndpointConnections',
exceptionFnMap: _exceptionFns,
);
return RevokePipelineEndpointConnectionsResponse.fromJson(response);
}