Skip to content

Type definitions#

Index > ApplicationDiscoveryService > Type definitions

Auto-generated documentation for ApplicationDiscoveryService type annotations stubs module mypy-boto3-discovery.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AgentConfigurationStatusTypeDef#

# AgentConfigurationStatusTypeDef definition

class AgentConfigurationStatusTypeDef(TypedDict):
    agentId: NotRequired[str],
    operationSucceeded: NotRequired[bool],
    description: NotRequired[str],

AgentNetworkInfoTypeDef#

# AgentNetworkInfoTypeDef definition

class AgentNetworkInfoTypeDef(TypedDict):
    ipAddress: NotRequired[str],
    macAddress: NotRequired[str],

AssociateConfigurationItemsToApplicationRequestRequestTypeDef#

# AssociateConfigurationItemsToApplicationRequestRequestTypeDef definition

class AssociateConfigurationItemsToApplicationRequestRequestTypeDef(TypedDict):
    applicationConfigurationId: str,
    configurationIds: Sequence[str],

BatchDeleteAgentErrorTypeDef#

# BatchDeleteAgentErrorTypeDef definition

class BatchDeleteAgentErrorTypeDef(TypedDict):
    agentId: str,
    errorMessage: str,
    errorCode: DeleteAgentErrorCodeType,  # (1)
  1. See DeleteAgentErrorCodeType

DeleteAgentTypeDef#

# DeleteAgentTypeDef definition

class DeleteAgentTypeDef(TypedDict):
    agentId: str,
    force: NotRequired[bool],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

DeletionWarningTypeDef#

# DeletionWarningTypeDef definition

class DeletionWarningTypeDef(TypedDict):
    configurationId: NotRequired[str],
    warningCode: NotRequired[int],
    warningText: NotRequired[str],

FailedConfigurationTypeDef#

# FailedConfigurationTypeDef definition

class FailedConfigurationTypeDef(TypedDict):
    configurationId: NotRequired[str],
    errorStatusCode: NotRequired[int],
    errorMessage: NotRequired[str],

BatchDeleteImportDataErrorTypeDef#

# BatchDeleteImportDataErrorTypeDef definition

class BatchDeleteImportDataErrorTypeDef(TypedDict):
    importTaskId: NotRequired[str],
    errorCode: NotRequired[BatchDeleteImportDataErrorCodeType],  # (1)
    errorDescription: NotRequired[str],
  1. See BatchDeleteImportDataErrorCodeType

BatchDeleteImportDataRequestRequestTypeDef#

# BatchDeleteImportDataRequestRequestTypeDef definition

class BatchDeleteImportDataRequestRequestTypeDef(TypedDict):
    importTaskIds: Sequence[str],
    deleteHistory: NotRequired[bool],

ConfigurationTagTypeDef#

# ConfigurationTagTypeDef definition

class ConfigurationTagTypeDef(TypedDict):
    configurationType: NotRequired[ConfigurationItemTypeType],  # (1)
    configurationId: NotRequired[str],
    key: NotRequired[str],
    value: NotRequired[str],
    timeOfCreation: NotRequired[datetime],
  1. See ConfigurationItemTypeType

ContinuousExportDescriptionTypeDef#

# ContinuousExportDescriptionTypeDef definition

class ContinuousExportDescriptionTypeDef(TypedDict):
    exportId: NotRequired[str],
    status: NotRequired[ContinuousExportStatusType],  # (1)
    statusDetail: NotRequired[str],
    s3Bucket: NotRequired[str],
    startTime: NotRequired[datetime],
    stopTime: NotRequired[datetime],
    dataSource: NotRequired[DataSourceType],  # (2)
    schemaStorageConfig: NotRequired[Dict[str, str]],
  1. See ContinuousExportStatusType
  2. See DataSourceType

CreateApplicationRequestRequestTypeDef#

# CreateApplicationRequestRequestTypeDef definition

class CreateApplicationRequestRequestTypeDef(TypedDict):
    name: str,
    description: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: str,
    value: str,

CustomerAgentInfoTypeDef#

# CustomerAgentInfoTypeDef definition

class CustomerAgentInfoTypeDef(TypedDict):
    activeAgents: int,
    healthyAgents: int,
    blackListedAgents: int,
    shutdownAgents: int,
    unhealthyAgents: int,
    totalAgents: int,
    unknownAgents: int,

CustomerAgentlessCollectorInfoTypeDef#

# CustomerAgentlessCollectorInfoTypeDef definition

class CustomerAgentlessCollectorInfoTypeDef(TypedDict):
    activeAgentlessCollectors: int,
    healthyAgentlessCollectors: int,
    denyListedAgentlessCollectors: int,
    shutdownAgentlessCollectors: int,
    unhealthyAgentlessCollectors: int,
    totalAgentlessCollectors: int,
    unknownAgentlessCollectors: int,

CustomerConnectorInfoTypeDef#

# CustomerConnectorInfoTypeDef definition

class CustomerConnectorInfoTypeDef(TypedDict):
    activeConnectors: int,
    healthyConnectors: int,
    blackListedConnectors: int,
    shutdownConnectors: int,
    unhealthyConnectors: int,
    totalConnectors: int,
    unknownConnectors: int,

CustomerMeCollectorInfoTypeDef#

# CustomerMeCollectorInfoTypeDef definition

class CustomerMeCollectorInfoTypeDef(TypedDict):
    activeMeCollectors: int,
    healthyMeCollectors: int,
    denyListedMeCollectors: int,
    shutdownMeCollectors: int,
    unhealthyMeCollectors: int,
    totalMeCollectors: int,
    unknownMeCollectors: int,

DeleteApplicationsRequestRequestTypeDef#

# DeleteApplicationsRequestRequestTypeDef definition

class DeleteApplicationsRequestRequestTypeDef(TypedDict):
    configurationIds: Sequence[str],

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    name: str,
    values: Sequence[str],
    condition: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeBatchDeleteConfigurationTaskRequestRequestTypeDef#

# DescribeBatchDeleteConfigurationTaskRequestRequestTypeDef definition

class DescribeBatchDeleteConfigurationTaskRequestRequestTypeDef(TypedDict):
    taskId: str,

DescribeConfigurationsRequestRequestTypeDef#

# DescribeConfigurationsRequestRequestTypeDef definition

class DescribeConfigurationsRequestRequestTypeDef(TypedDict):
    configurationIds: Sequence[str],

DescribeContinuousExportsRequestRequestTypeDef#

# DescribeContinuousExportsRequestRequestTypeDef definition

class DescribeContinuousExportsRequestRequestTypeDef(TypedDict):
    exportIds: NotRequired[Sequence[str]],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DescribeExportConfigurationsRequestRequestTypeDef#

# DescribeExportConfigurationsRequestRequestTypeDef definition

class DescribeExportConfigurationsRequestRequestTypeDef(TypedDict):
    exportIds: NotRequired[Sequence[str]],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ExportInfoTypeDef#

# ExportInfoTypeDef definition

class ExportInfoTypeDef(TypedDict):
    exportId: str,
    exportStatus: ExportStatusType,  # (1)
    statusMessage: str,
    exportRequestTime: datetime,
    configurationsDownloadUrl: NotRequired[str],
    isTruncated: NotRequired[bool],
    requestedStartTime: NotRequired[datetime],
    requestedEndTime: NotRequired[datetime],
  1. See ExportStatusType

ExportFilterTypeDef#

# ExportFilterTypeDef definition

class ExportFilterTypeDef(TypedDict):
    name: str,
    values: Sequence[str],
    condition: str,

ImportTaskFilterTypeDef#

# ImportTaskFilterTypeDef definition

class ImportTaskFilterTypeDef(TypedDict):
    name: NotRequired[ImportTaskFilterNameType],  # (1)
    values: NotRequired[Sequence[str]],
  1. See ImportTaskFilterNameType

ImportTaskTypeDef#

# ImportTaskTypeDef definition

class ImportTaskTypeDef(TypedDict):
    importTaskId: NotRequired[str],
    clientRequestToken: NotRequired[str],
    name: NotRequired[str],
    importUrl: NotRequired[str],
    status: NotRequired[ImportStatusType],  # (1)
    importRequestTime: NotRequired[datetime],
    importCompletionTime: NotRequired[datetime],
    importDeletedTime: NotRequired[datetime],
    serverImportSuccess: NotRequired[int],
    serverImportFailure: NotRequired[int],
    applicationImportSuccess: NotRequired[int],
    applicationImportFailure: NotRequired[int],
    errorsAndFailedEntriesZip: NotRequired[str],
  1. See ImportStatusType

TagFilterTypeDef#

# TagFilterTypeDef definition

class TagFilterTypeDef(TypedDict):
    name: str,
    values: Sequence[str],

DisassociateConfigurationItemsFromApplicationRequestRequestTypeDef#

# DisassociateConfigurationItemsFromApplicationRequestRequestTypeDef definition

class DisassociateConfigurationItemsFromApplicationRequestRequestTypeDef(TypedDict):
    applicationConfigurationId: str,
    configurationIds: Sequence[str],

ReservedInstanceOptionsTypeDef#

# ReservedInstanceOptionsTypeDef definition

class ReservedInstanceOptionsTypeDef(TypedDict):
    purchasingOption: PurchasingOptionType,  # (1)
    offeringClass: OfferingClassType,  # (2)
    termLength: TermLengthType,  # (3)
  1. See PurchasingOptionType
  2. See OfferingClassType
  3. See TermLengthType

UsageMetricBasisTypeDef#

# UsageMetricBasisTypeDef definition

class UsageMetricBasisTypeDef(TypedDict):
    name: NotRequired[str],
    percentageAdjust: NotRequired[float],

OrderByElementTypeDef#

# OrderByElementTypeDef definition

class OrderByElementTypeDef(TypedDict):
    fieldName: str,
    sortOrder: NotRequired[OrderStringType],  # (1)
  1. See OrderStringType

ListServerNeighborsRequestRequestTypeDef#

# ListServerNeighborsRequestRequestTypeDef definition

class ListServerNeighborsRequestRequestTypeDef(TypedDict):
    configurationId: str,
    portInformationNeeded: NotRequired[bool],
    neighborConfigurationIds: NotRequired[Sequence[str]],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

NeighborConnectionDetailTypeDef#

# NeighborConnectionDetailTypeDef definition

class NeighborConnectionDetailTypeDef(TypedDict):
    sourceServerId: str,
    destinationServerId: str,
    connectionsCount: int,
    destinationPort: NotRequired[int],
    transportProtocol: NotRequired[str],

StartBatchDeleteConfigurationTaskRequestRequestTypeDef#

# StartBatchDeleteConfigurationTaskRequestRequestTypeDef definition

class StartBatchDeleteConfigurationTaskRequestRequestTypeDef(TypedDict):
    configurationType: DeletionConfigurationItemTypeType,  # (1)
    configurationIds: Sequence[str],
  1. See DeletionConfigurationItemTypeType

StartDataCollectionByAgentIdsRequestRequestTypeDef#

# StartDataCollectionByAgentIdsRequestRequestTypeDef definition

class StartDataCollectionByAgentIdsRequestRequestTypeDef(TypedDict):
    agentIds: Sequence[str],

StartImportTaskRequestRequestTypeDef#

# StartImportTaskRequestRequestTypeDef definition

class StartImportTaskRequestRequestTypeDef(TypedDict):
    name: str,
    importUrl: str,
    clientRequestToken: NotRequired[str],

StopContinuousExportRequestRequestTypeDef#

# StopContinuousExportRequestRequestTypeDef definition

class StopContinuousExportRequestRequestTypeDef(TypedDict):
    exportId: str,

StopDataCollectionByAgentIdsRequestRequestTypeDef#

# StopDataCollectionByAgentIdsRequestRequestTypeDef definition

class StopDataCollectionByAgentIdsRequestRequestTypeDef(TypedDict):
    agentIds: Sequence[str],

UpdateApplicationRequestRequestTypeDef#

# UpdateApplicationRequestRequestTypeDef definition

class UpdateApplicationRequestRequestTypeDef(TypedDict):
    configurationId: str,
    name: NotRequired[str],
    description: NotRequired[str],

AgentInfoTypeDef#

# AgentInfoTypeDef definition

class AgentInfoTypeDef(TypedDict):
    agentId: NotRequired[str],
    hostName: NotRequired[str],
    agentNetworkInfoList: NotRequired[List[AgentNetworkInfoTypeDef]],  # (1)
    connectorId: NotRequired[str],
    version: NotRequired[str],
    health: NotRequired[AgentStatusType],  # (2)
    lastHealthPingTime: NotRequired[str],
    collectionStatus: NotRequired[str],
    agentType: NotRequired[str],
    registeredTime: NotRequired[str],
  1. See AgentNetworkInfoTypeDef
  2. See AgentStatusType

BatchDeleteAgentsRequestRequestTypeDef#

# BatchDeleteAgentsRequestRequestTypeDef definition

class BatchDeleteAgentsRequestRequestTypeDef(TypedDict):
    deleteAgents: Sequence[DeleteAgentTypeDef],  # (1)
  1. See DeleteAgentTypeDef

BatchDeleteAgentsResponseTypeDef#

# BatchDeleteAgentsResponseTypeDef definition

class BatchDeleteAgentsResponseTypeDef(TypedDict):
    errors: List[BatchDeleteAgentErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchDeleteAgentErrorTypeDef
  2. See ResponseMetadataTypeDef

CreateApplicationResponseTypeDef#

# CreateApplicationResponseTypeDef definition

class CreateApplicationResponseTypeDef(TypedDict):
    configurationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeConfigurationsResponseTypeDef#

# DescribeConfigurationsResponseTypeDef definition

class DescribeConfigurationsResponseTypeDef(TypedDict):
    configurations: List[Dict[str, str]],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ExportConfigurationsResponseTypeDef#

# ExportConfigurationsResponseTypeDef definition

class ExportConfigurationsResponseTypeDef(TypedDict):
    exportId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListConfigurationsResponseTypeDef#

# ListConfigurationsResponseTypeDef definition

class ListConfigurationsResponseTypeDef(TypedDict):
    configurations: List[Dict[str, str]],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartBatchDeleteConfigurationTaskResponseTypeDef#

# StartBatchDeleteConfigurationTaskResponseTypeDef definition

class StartBatchDeleteConfigurationTaskResponseTypeDef(TypedDict):
    taskId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartContinuousExportResponseTypeDef#

# StartContinuousExportResponseTypeDef definition

class StartContinuousExportResponseTypeDef(TypedDict):
    exportId: str,
    s3Bucket: str,
    startTime: datetime,
    dataSource: DataSourceType,  # (1)
    schemaStorageConfig: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataSourceType
  2. See ResponseMetadataTypeDef

StartDataCollectionByAgentIdsResponseTypeDef#

# StartDataCollectionByAgentIdsResponseTypeDef definition

class StartDataCollectionByAgentIdsResponseTypeDef(TypedDict):
    agentsConfigurationStatus: List[AgentConfigurationStatusTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AgentConfigurationStatusTypeDef
  2. See