getScene method
Retrieves information about a scene.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter sceneId :
The ID of the scene.
Parameter workspaceId :
The ID of the workspace that contains the scene.
Implementation
Future<GetSceneResponse> getScene({
required String sceneId,
required String workspaceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/workspaces/${Uri.encodeComponent(workspaceId)}/scenes/${Uri.encodeComponent(sceneId)}',
hostPrefix: 'api.',
exceptionFnMap: _exceptionFns,
);
return GetSceneResponse.fromJson(response);
}