Interface SimulatorGrpc.AsyncService (0.13.0)

public static interface SimulatorGrpc.AsyncService

Policy Simulator API service. Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A Replay is a type of simulation that lets you see how your principals' access to resources might change if you changed your IAM policy. During a Replay, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your principals' access might change under the proposed policy.

Methods

createReplay(CreateReplayRequest request, StreamObserver<Operation> responseObserver)

public default void createReplay(CreateReplayRequest request, StreamObserver<Operation> responseObserver)

Creates and starts a Replay using the given ReplayConfig.

Parameters
NameDescription
requestCreateReplayRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getReplay(GetReplayRequest request, StreamObserver<Replay> responseObserver)

public default void getReplay(GetReplayRequest request, StreamObserver<Replay> responseObserver)

Gets the specified Replay. Each Replay is available for at least 7 days.

Parameters
NameDescription
requestGetReplayRequest
responseObserverio.grpc.stub.StreamObserver<Replay>

listReplayResults(ListReplayResultsRequest request, StreamObserver<ListReplayResultsResponse> responseObserver)

public default void listReplayResults(ListReplayResultsRequest request, StreamObserver<ListReplayResultsResponse> responseObserver)

Lists the results of running a Replay.

Parameters
NameDescription
requestListReplayResultsRequest
responseObserverio.grpc.stub.StreamObserver<ListReplayResultsResponse>