import { AttachmentStatus, ExecutionState, InstanceStateName, IpAddressAssignment, PhysicalConnectorType, TaskState, UnlockState, } from "./enums"; export interface CancelTaskInput { taskId: string | undefined; } export interface CancelTaskOutput { taskId?: string | undefined; } export interface Capacity { name?: string | undefined; unit?: string | undefined; total?: number | undefined; used?: number | undefined; available?: number | undefined; } export interface Reboot {} export interface Unlock {} export type Command = Command.RebootMember | Command.UnlockMember | Command.$UnknownMember; export declare namespace Command { interface UnlockMember { unlock: Unlock; reboot?: never; $unknown?: never; } interface RebootMember { unlock?: never; reboot: Reboot; $unknown?: never; } interface $UnknownMember { unlock?: never; reboot?: never; $unknown: [string, any]; } interface Visitor { unlock: (value: Unlock) => T; reboot: (value: Reboot) => T; _: (name: string, value: any) => T; } } export interface CpuOptions { coreCount?: number | undefined; threadsPerCore?: number | undefined; } export interface CreateTaskInput { targets: string[] | undefined; command: Command | undefined; description?: string | undefined; tags?: Record | undefined; clientToken?: string | undefined; } export interface CreateTaskOutput { taskId?: string | undefined; taskArn?: string | undefined; } export interface DescribeDeviceInput { managedDeviceId: string | undefined; } export interface PhysicalNetworkInterface { physicalNetworkInterfaceId?: string | undefined; physicalConnectorType?: PhysicalConnectorType | undefined; ipAddressAssignment?: IpAddressAssignment | undefined; ipAddress?: string | undefined; netmask?: string | undefined; defaultGateway?: string | undefined; macAddress?: string | undefined; } export interface SoftwareInformation { installedVersion?: string | undefined; installingVersion?: string | undefined; installState?: string | undefined; } export interface DescribeDeviceOutput { lastReachedOutAt?: Date | undefined; lastUpdatedAt?: Date | undefined; tags?: Record | undefined; managedDeviceId?: string | undefined; managedDeviceArn?: string | undefined; deviceType?: string | undefined; associatedWithJob?: string | undefined; deviceState?: UnlockState | undefined; physicalNetworkInterfaces?: PhysicalNetworkInterface[] | undefined; deviceCapacities?: Capacity[] | undefined; software?: SoftwareInformation | undefined; } export interface DescribeDeviceEc2Input { managedDeviceId: string | undefined; instanceIds: string[] | undefined; } export interface EbsInstanceBlockDevice { attachTime?: Date | undefined; deleteOnTermination?: boolean | undefined; status?: AttachmentStatus | undefined; volumeId?: string | undefined; } export interface InstanceBlockDeviceMapping { deviceName?: string | undefined; ebs?: EbsInstanceBlockDevice | undefined; } export interface SecurityGroupIdentifier { groupId?: string | undefined; groupName?: string | undefined; } export interface InstanceState { code?: number | undefined; name?: InstanceStateName | undefined; } export interface Instance { imageId?: string | undefined; amiLaunchIndex?: number | undefined; instanceId?: string | undefined; state?: InstanceState | undefined; instanceType?: string | undefined; privateIpAddress?: string | undefined; publicIpAddress?: string | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; blockDeviceMappings?: InstanceBlockDeviceMapping[] | undefined; securityGroups?: SecurityGroupIdentifier[] | undefined; cpuOptions?: CpuOptions | undefined; rootDeviceName?: string | undefined; } export interface InstanceSummary { instance?: Instance | undefined; lastUpdatedAt?: Date | undefined; } export interface DescribeDeviceEc2Output { instances?: InstanceSummary[] | undefined; } export interface DescribeExecutionInput { taskId: string | undefined; managedDeviceId: string | undefined; } export interface DescribeExecutionOutput { taskId?: string | undefined; executionId?: string | undefined; managedDeviceId?: string | undefined; state?: ExecutionState | undefined; startedAt?: Date | undefined; lastUpdatedAt?: Date | undefined; } export interface DescribeTaskInput { taskId: string | undefined; } export interface DescribeTaskOutput { taskId?: string | undefined; taskArn?: string | undefined; targets?: string[] | undefined; state?: TaskState | undefined; createdAt?: Date | undefined; lastUpdatedAt?: Date | undefined; completedAt?: Date | undefined; description?: string | undefined; tags?: Record | undefined; } export interface DeviceSummary { managedDeviceId?: string | undefined; managedDeviceArn?: string | undefined; associatedWithJob?: string | undefined; tags?: Record | undefined; } export interface ListExecutionsInput { taskId: string | undefined; state?: ExecutionState | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface ExecutionSummary { taskId?: string | undefined; executionId?: string | undefined; managedDeviceId?: string | undefined; state?: ExecutionState | undefined; } export interface ListExecutionsOutput { executions?: ExecutionSummary[] | undefined; nextToken?: string | undefined; } export interface ListDeviceResourcesInput { managedDeviceId: string | undefined; type?: string | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface ResourceSummary { resourceType: string | undefined; arn?: string | undefined; id?: string | undefined; } export interface ListDeviceResourcesOutput { resources?: ResourceSummary[] | undefined; nextToken?: string | undefined; } export interface ListDevicesInput { jobId?: string | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface ListDevicesOutput { devices?: DeviceSummary[] | undefined; nextToken?: string | undefined; } export interface ListTagsForResourceInput { resourceArn: string | undefined; } export interface ListTagsForResourceOutput { tags?: Record | undefined; } export interface ListTasksInput { state?: TaskState | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface TaskSummary { taskId: string | undefined; taskArn?: string | undefined; state?: TaskState | undefined; tags?: Record | undefined; } export interface ListTasksOutput { tasks?: TaskSummary[] | undefined; nextToken?: string | undefined; } export interface TagResourceInput { resourceArn: string | undefined; tags: Record | undefined; } export interface UntagResourceInput { resourceArn: string | undefined; tagKeys: string[] | undefined; }