// Copyright 2022 Amazon.com and its affiliates; all rights reserved. // SPDX-License-Identifier: MIT No Attribution import React from 'react'; import {useSelector} from "react-redux"; import {ReduxRoot} from "../../interfaces"; import {CustomAppLayout} from "../common/app-layout"; import {Navigation} from "../common/navigation"; import {BreadcrumbGroup, HelpPanel} from "@cloudscape-design/components"; import SpaceBetween from "@cloudscape-design/components/space-between"; import Box from "@cloudscape-design/components/box"; import ColumnLayout from "@cloudscape-design/components/column-layout"; export default class AnalyticsEventDetailView extends React.Component { render() { return ( } navigationOpen={true} breadcrumbs={} content={} contentType="default" tools={} toolsHide={false} // labels={appLayoutNavigationLabels} /> ); } } export const resourcesBreadcrumbs = [ { text: 'AnalyticsEvents', href: '/AnalyticsEvents', }, { text: 'AnalyticsEvent', href: '/AnalyticsEvent', }, ]; export const Breadcrumbs = () => ( ); export const ToolsContent = () => ( File Events} footer={ <> } >

View details of a file event.

); function AnalyticsEventDetail (props: any) { const analyticsEvent = useSelector( (state:ReduxRoot) => { return state.reducerState.analyticsEvent }); return (
Date
{analyticsEvent.date}
Time
{analyticsEvent.time}
Duration
{analyticsEvent.duration}
Files
{analyticsEvent.files}
Executor
{analyticsEvent.executor}
); }