ApplicationDiscoveryService *************************** Client ====== class ApplicationDiscoveryService.Client A low-level client representing AWS Application Discovery Service Amazon Web Services Application Discovery Service (Application Discovery Service) helps you plan application migration projects. It automatically identifies servers, virtual machines (VMs), and network dependencies in your on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ. Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers: * **Agentless discovery** using Amazon Web Services Application Discovery Service Agentless Collector (Agentless Collector), which doesn't require you to install an agent on each host. * Agentless Collector gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment. * Agentless Collector doesn't collect information about network dependencies, only agent-based discovery collects that information. * **Agent-based discovery** using the Amazon Web Services Application Discovery Agent (Application Discovery Agent) collects a richer set of data than agentless discovery, which you install on one or more hosts in your data center. * The agent captures infrastructure and application information, including an inventory of running processes, system performance information, resource utilization, and network dependencies. * The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the Amazon Web Services cloud. For more information, see Amazon Web Services Application Discovery Agent. * **Amazon Web Services Partner Network (APN) solutions** integrate with Application Discovery Service, enabling you to import details of your on-premises environment directly into Amazon Web Services Migration Hub (Migration Hub) without using Agentless Collector or Application Discovery Agent. * Third-party application discovery tools can query Amazon Web Services Application Discovery Service, and they can write to the Application Discovery Service database using the public API. * In this way, you can import data into Migration Hub and view it, so that you can associate applications with servers and track migrations. **Working With This Guide** This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see Amazon Web Services SDKs. Note: * Remember that you must set your Migration Hub home Region before you call any of these APIs. * You must make API calls for write actions (create, notify, associate, disassociate, import, or put) while in your home Region, or a "HomeRegionNotSetException" error is returned. * API calls for read actions (list, describe, stop, and delete) are permitted outside of your home Region. * Although it is unlikely, the Migration Hub home Region could change. If you call APIs outside the home Region, an "InvalidInputException" is returned. * You must call "GetHomeRegion" to obtain the latest Migration Hub home Region. This guide is intended for use with the Amazon Web Services Application Discovery Service User Guide. Warning: All data is handled according to the Amazon Web Services Privacy Policy. You can operate Application Discovery Service offline to inspect collected data before it is shared with the service. import boto3 client = boto3.client('discovery') These are the available methods: * associate_configuration_items_to_application * batch_delete_agents * batch_delete_import_data * can_paginate * close * create_application * create_tags * delete_applications * delete_tags * describe_agents * describe_batch_delete_configuration_task * describe_configurations * describe_continuous_exports * describe_export_configurations * describe_export_tasks * describe_import_tasks * describe_tags * disassociate_configuration_items_from_application * export_configurations * get_discovery_summary * get_paginator * get_waiter * list_configurations * list_server_neighbors * start_batch_delete_configuration_task * start_continuous_export * start_data_collection_by_agent_ids * start_export_task * start_import_task * stop_continuous_export * stop_data_collection_by_agent_ids * update_application Paginators ========== Paginators are available on a client instance via the "get_paginator" method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide. The available paginators are: * DescribeAgents * DescribeContinuousExports * DescribeExportConfigurations * DescribeExportTasks * DescribeImportTasks * DescribeTags * ListConfigurations ApplicationDiscoveryService / Paginator / DescribeExportTasks DescribeExportTasks ******************* class ApplicationDiscoveryService.Paginator.DescribeExportTasks paginator = client.get_paginator('describe_export_tasks') paginate(**kwargs) Creates an iterator that will paginate through responses from "ApplicationDiscoveryService.Client.describe_export_tasks()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( exportIds=[ 'string', ], filters=[ { 'name': 'string', 'values': [ 'string', ], 'condition': 'string' }, ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **exportIds** (*list*) -- One or more unique identifiers used to query the status of an export request. * *(string) --* * **filters** (*list*) -- One or more filters. * "AgentId" - ID of the agent whose collected data will be exported * *(dict) --* Used to select which agent's data is to be exported. A single agent ID may be selected for export using the StartExportTask action. * **name** *(string) --* **[REQUIRED]** A single "ExportFilter" name. Supported filters: "agentIds". * **values** *(list) --* **[REQUIRED]** A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form "o-0123456789abcdef0". * *(string) --* * **condition** *(string) --* **[REQUIRED]** Supported condition: "EQUALS" * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'exportsInfo': [ { 'exportId': 'string', 'exportStatus': 'FAILED'|'SUCCEEDED'|'IN_PROGRESS', 'statusMessage': 'string', 'configurationsDownloadUrl': 'string', 'exportRequestTime': datetime(2015, 1, 1), 'isTruncated': True|False, 'requestedStartTime': datetime(2015, 1, 1), 'requestedEndTime': datetime(2015, 1, 1) }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **exportsInfo** *(list) --* Contains one or more sets of export request details. When the status of a request is "SUCCEEDED", the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file. * *(dict) --* Information regarding the export status of discovered data. The value is an array of objects. * **exportId** *(string) --* A unique identifier used to query an export. * **exportStatus** *(string) --* The status of the data export job. * **statusMessage** *(string) --* A status message provided for API callers. * **configurationsDownloadUrl** *(string) --* A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded. * **exportRequestTime** *(datetime) --* The time that the data export was initiated. * **isTruncated** *(boolean) --* If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using "startDate" and "endDate". * **requestedStartTime** *(datetime) --* The value of "startTime" parameter in the "StartExportTask" request. If no "startTime" was requested, this result does not appear in "ExportInfo". * **requestedEndTime** *(datetime) --* The "endTime" used in the "StartExportTask" request. If no "endTime" was requested, this result does not appear in "ExportInfo". * **NextToken** *(string) --* A token to resume pagination. ApplicationDiscoveryService / Paginator / ListConfigurations ListConfigurations ****************** class ApplicationDiscoveryService.Paginator.ListConfigurations paginator = client.get_paginator('list_configurations') paginate(**kwargs) Creates an iterator that will paginate through responses from "ApplicationDiscoveryService.Client.list_configurations()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( configurationType='SERVER'|'PROCESS'|'CONNECTION'|'APPLICATION', filters=[ { 'name': 'string', 'values': [ 'string', ], 'condition': 'string' }, ], orderBy=[ { 'fieldName': 'string', 'sortOrder': 'ASC'|'DESC' }, ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **configurationType** (*string*) -- **[REQUIRED]** A valid configuration identified by Application Discovery Service. * **filters** (*list*) -- You can filter the request using various logical operators and a *key*-*value* format. For example: "{"key": "serverType", "value": "webServer"}" For a complete list of filter options and guidance about using them with this action, see Using the ListConfigurations Action in the *Amazon Web Services Application Discovery Service User Guide*. * *(dict) --* A filter that can use conditional operators. For more information about filters, see Querying Discovered Configuration Items in the *Amazon Web Services Application Discovery Service User Guide*. * **name** *(string) --* **[REQUIRED]** The name of the filter. * **values** *(list) --* **[REQUIRED]** A string value on which to filter. For example, if you choose the "destinationServer.osVersion" filter name, you could specify "Ubuntu" for the value. * *(string) --* * **condition** *(string) --* **[REQUIRED]** A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by *AND*. If you specify multiple values for a particular filter, the system differentiates the values using *OR*. Calling either *DescribeConfigurations* or *ListConfigurations* returns attributes of matching configuration items. * **orderBy** (*list*) -- Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action in the *Amazon Web Services Application Discovery Service User Guide*. * *(dict) --* A field and direction for ordered output. * **fieldName** *(string) --* **[REQUIRED]** The field on which to order. * **sortOrder** *(string) --* Ordering direction. * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'configurations': [ { 'string': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **configurations** *(list) --* Returns configuration details, including the configuration ID, attribute names, and attribute values. * *(dict) --* * *(string) --* * *(string) --* * **NextToken** *(string) --* A token to resume pagination. ApplicationDiscoveryService / Paginator / DescribeExportConfigurations DescribeExportConfigurations **************************** class ApplicationDiscoveryService.Paginator.DescribeExportConfigurations paginator = client.get_paginator('describe_export_configurations') paginate(**kwargs) Creates an iterator that will paginate through responses from " ApplicationDiscoveryService.Client.describe_export_configuratio ns()". Danger: This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity. See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( exportIds=[ 'string', ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **exportIds** (*list*) -- A list of continuous export IDs to search for. * *(string) --* * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'exportsInfo': [ { 'exportId': 'string', 'exportStatus': 'FAILED'|'SUCCEEDED'|'IN_PROGRESS', 'statusMessage': 'string', 'configurationsDownloadUrl': 'string', 'exportRequestTime': datetime(2015, 1, 1), 'isTruncated': True|False, 'requestedStartTime': datetime(2015, 1, 1), 'requestedEndTime': datetime(2015, 1, 1) }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **exportsInfo** *(list) --* * *(dict) --* Information regarding the export status of discovered data. The value is an array of objects. * **exportId** *(string) --* A unique identifier used to query an export. * **exportStatus** *(string) --* The status of the data export job. * **statusMessage** *(string) --* A status message provided for API callers. * **configurationsDownloadUrl** *(string) --* A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded. * **exportRequestTime** *(datetime) --* The time that the data export was initiated. * **isTruncated** *(boolean) --* If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using "startDate" and "endDate". * **requestedStartTime** *(datetime) --* The value of "startTime" parameter in the "StartExportTask" request. If no "startTime" was requested, this result does not appear in "ExportInfo". * **requestedEndTime** *(datetime) --* The "endTime" used in the "StartExportTask" request. If no "endTime" was requested, this result does not appear in "ExportInfo". * **NextToken** *(string) --* A token to resume pagination. ApplicationDiscoveryService / Paginator / DescribeImportTasks DescribeImportTasks ******************* class ApplicationDiscoveryService.Paginator.DescribeImportTasks paginator = client.get_paginator('describe_import_tasks') paginate(**kwargs) Creates an iterator that will paginate through responses from "ApplicationDiscoveryService.Client.describe_import_tasks()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( filters=[ { 'name': 'IMPORT_TASK_ID'|'STATUS'|'NAME'|'FILE_CLASSIFICATION', 'values': [ 'string', ] }, ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **filters** (*list*) -- An array of name-value pairs that you provide to filter the results for the "DescribeImportTask" request to a specific subset of results. Currently, wildcard values aren't supported for filters. * *(dict) --* A name-values pair of elements you can use to filter the results when querying your import tasks. Currently, wildcards are not supported for filters. Note: When filtering by import status, all other filter values are ignored. * **name** *(string) --* The name, status, or import task ID for a specific import task. * **values** *(list) --* An array of strings that you can provide to match against a specific name, status, or import task ID to filter the results for your import task queries. * *(string) --* * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'tasks': [ { 'importTaskId': 'string', 'clientRequestToken': 'string', 'name': 'string', 'importUrl': 'string', 'status': 'IMPORT_IN_PROGRESS'|'IMPORT_COMPLETE'|'IMPORT_COMPLETE_WITH_ERRORS'|'IMPORT_FAILED'|'IMPORT_FAILED_SERVER_LIMIT_EXCEEDED'|'IMPORT_FAILED_RECORD_LIMIT_EXCEEDED'|'IMPORT_FAILED_UNSUPPORTED_FILE_TYPE'|'DELETE_IN_PROGRESS'|'DELETE_COMPLETE'|'DELETE_FAILED'|'DELETE_FAILED_LIMIT_EXCEEDED'|'INTERNAL_ERROR', 'importRequestTime': datetime(2015, 1, 1), 'importCompletionTime': datetime(2015, 1, 1), 'importDeletedTime': datetime(2015, 1, 1), 'fileClassification': 'MODELIZEIT_EXPORT'|'RVTOOLS_EXPORT'|'VMWARE_NSX_EXPORT'|'IMPORT_TEMPLATE', 'serverImportSuccess': 123, 'serverImportFailure': 123, 'applicationImportSuccess': 123, 'applicationImportFailure': 123, 'errorsAndFailedEntriesZip': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **tasks** *(list) --* A returned array of import tasks that match any applied filters, up to the specified number of maximum results. * *(dict) --* An array of information related to the import task request that includes status information, times, IDs, the Amazon S3 Object URL for the import file, and more. * **importTaskId** *(string) --* The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account. * **clientRequestToken** *(string) --* A unique token used to prevent the same import request from occurring more than once. If you didn't provide a token, a token was automatically generated when the import task request was sent. * **name** *(string) --* A descriptive name for an import task. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task. * **importUrl** *(string) --* The URL for your import file that you've uploaded to Amazon S3. * **status** *(string) --* The status of the import task. An import can have the status of "IMPORT_COMPLETE" and still have some records fail to import from the overall request. More information can be found in the downloadable archive defined in the "errorsAndFailedEntriesZip" field, or in the Migration Hub management console. * **importRequestTime** *(datetime) --* The time that the import task request was made, presented in the Unix time stamp format. * **importCompletionTime** *(datetime) --* The time that the import task request finished, presented in the Unix time stamp format. * **importDeletedTime** *(datetime) --* The time that the import task request was deleted, presented in the Unix time stamp format. * **fileClassification** *(string) --* The type of file detected by the import task. * **serverImportSuccess** *(integer) --* The total number of server records in the import file that were successfully imported. * **serverImportFailure** *(integer) --* The total number of server records in the import file that failed to be imported. * **applicationImportSuccess** *(integer) --* The total number of application records in the import file that were successfully imported. * **applicationImportFailure** *(integer) --* The total number of application records in the import file that failed to be imported. * **errorsAndFailedEntriesZip** *(string) --* A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed records. You can use these two files to quickly identify records that failed, why they failed, and correct those records. Afterward, you can upload the corrected file to your Amazon S3 bucket and create another import task request. This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it. If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again. * **NextToken** *(string) --* A token to resume pagination. ApplicationDiscoveryService / Paginator / DescribeContinuousExports DescribeContinuousExports ************************* class ApplicationDiscoveryService.Paginator.DescribeContinuousExports paginator = client.get_paginator('describe_continuous_exports') paginate(**kwargs) Creates an iterator that will paginate through responses from " ApplicationDiscoveryService.Client.describe_continuous_exports( )". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( exportIds=[ 'string', ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **exportIds** (*list*) -- The unique IDs assigned to the exports. * *(string) --* * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'descriptions': [ { 'exportId': 'string', 'status': 'START_IN_PROGRESS'|'START_FAILED'|'ACTIVE'|'ERROR'|'STOP_IN_PROGRESS'|'STOP_FAILED'|'INACTIVE', 'statusDetail': 'string', 's3Bucket': 'string', 'startTime': datetime(2015, 1, 1), 'stopTime': datetime(2015, 1, 1), 'dataSource': 'AGENT', 'schemaStorageConfig': { 'string': 'string' } }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **descriptions** *(list) --* A list of continuous export descriptions. * *(dict) --* A list of continuous export descriptions. * **exportId** *(string) --* The unique ID assigned to this export. * **status** *(string) --* Describes the status of the export. Can be one of the following values: * START_IN_PROGRESS - setting up resources to start continuous export. * START_FAILED - an error occurred setting up continuous export. To recover, call start- continuous-export again. * ACTIVE - data is being exported to the customer bucket. * ERROR - an error occurred during export. To fix the issue, call stop-continuous-export and start- continuous-export. * STOP_IN_PROGRESS - stopping the export. * STOP_FAILED - an error occurred stopping the export. To recover, call stop-continuous-export again. * INACTIVE - the continuous export has been stopped. Data is no longer being exported to the customer bucket. * **statusDetail** *(string) --* Contains information about any errors that have occurred. This data type can have the following values: * ACCESS_DENIED - You don’t have permission to start Data Exploration in Amazon Athena. Contact your Amazon Web Services administrator for help. For more information, see Setting Up Amazon Web Services Application Discovery Service in the Application Discovery Service User Guide. * DELIVERY_STREAM_LIMIT_FAILURE - You reached the limit for Amazon Kinesis Data Firehose delivery streams. Reduce the number of streams or request a limit increase and try again. For more information, see Kinesis Data Streams Limits in the Amazon Kinesis Data Streams Developer Guide. * FIREHOSE_ROLE_MISSING - The Data Exploration feature is in an error state because your user is missing the Amazon Web ServicesApplicationDiscoveryServiceFirehose role. Turn on Data Exploration in Amazon Athena and try again. For more information, see Creating the Amazon Web ServicesApplicationDiscoveryServiceFirehose Role in the Application Discovery Service User Guide. * FIREHOSE_STREAM_DOES_NOT_EXIST - The Data Exploration feature is in an error state because your user is missing one or more of the Kinesis data delivery streams. * INTERNAL_FAILURE - The Data Exploration feature is in an error state because of an internal failure. Try again later. If this problem persists, contact Amazon Web Services Support. * LAKE_FORMATION_ACCESS_DENIED - You don't have sufficient lake formation permissions to start continuous export. For more information, see Upgrading Amazon Web Services Glue Data Permissions to the Amazon Web Services Lake Formation Model in the Amazon Web Services *Lake Formation Developer Guide*. You can use one of the following two ways to resolve this issue. * If you don’t want to use the Lake Formation permission model, you can change the default Data Catalog settings to use only Amazon Web Services Identity and Access Management (IAM) access control for new databases. For more information, see Change Data Catalog Settings in the *Lake Formation Developer Guide*. * You can give the service-linked IAM roles AWSSer viceRoleForApplicationDiscoveryServiceContinuous Export and AWSApplicationDiscoveryServiceFirehose the required Lake Formation permissions. For more information, see Granting Database Permissions in the *Lake Formation Developer Guide*. * AWSServiceRoleForApplicationDiscoveryServiceCo ntinuousExport - Grant database creator permissions, which gives the role database creation ability and implicit permissions for any created tables. For more information, see Implicit Lake Formation Permissions in the *Lake Formation Developer Guide*. * AWSApplicationDiscoveryServiceFirehose - Grant describe permissions for all tables in the database. * S3_BUCKET_LIMIT_FAILURE - You reached the limit for Amazon S3 buckets. Reduce the number of S3 buckets or request a limit increase and try again. For more information, see Bucket Restrictions and Limitations in the Amazon Simple Storage Service Developer Guide. * S3_NOT_SIGNED_UP - Your account is not signed up for the Amazon S3 service. You must sign up before you can use Amazon S3. You can sign up at the following URL: https://aws.amazon.com/s3. * **s3Bucket** *(string) --* The name of the s3 bucket where the export data parquet files are stored. * **startTime** *(datetime) --* The timestamp representing when the continuous export was started. * **stopTime** *(datetime) --* The timestamp that represents when this continuous export was stopped. * **dataSource** *(string) --* The type of data collector used to gather this data (currently only offered for AGENT). * **schemaStorageConfig** *(dict) --* An object which describes how the data is stored. * "databaseName" - the name of the Glue database used to store the schema. * *(string) --* * *(string) --* * **NextToken** *(string) --* A token to resume pagination. ApplicationDiscoveryService / Paginator / DescribeTags DescribeTags ************ class ApplicationDiscoveryService.Paginator.DescribeTags paginator = client.get_paginator('describe_tags') paginate(**kwargs) Creates an iterator that will paginate through responses from "ApplicationDiscoveryService.Client.describe_tags()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( filters=[ { 'name': 'string', 'values': [ 'string', ] }, ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **filters** (*list*) -- You can filter the list using a *key*-*value* format. You can separate these items by using logical operators. Allowed filters include "tagKey", "tagValue", and "configurationId". * *(dict) --* The tag filter. Valid names are: "tagKey", "tagValue", "configurationId". * **name** *(string) --* **[REQUIRED]** A name of the tag filter. * **values** *(list) --* **[REQUIRED]** Values for the tag filter. * *(string) --* * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'tags': [ { 'configurationType': 'SERVER'|'PROCESS'|'CONNECTION'|'APPLICATION', 'configurationId': 'string', 'key': 'string', 'value': 'string', 'timeOfCreation': datetime(2015, 1, 1) }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **tags** *(list) --* Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item. * *(dict) --* Tags for a configuration item. Tags are metadata that help you categorize IT assets. * **configurationType** *(string) --* A type of IT asset to tag. * **configurationId** *(string) --* The configuration ID for the item to tag. You can specify a list of keys and values. * **key** *(string) --* A type of tag on which to filter. For example, *serverType*. * **value** *(string) --* A value on which to filter. For example *key = serverType* and *value = web server*. * **timeOfCreation** *(datetime) --* The time the configuration tag was created in Coordinated Universal Time (UTC). * **NextToken** *(string) --* A token to resume pagination. ApplicationDiscoveryService / Paginator / DescribeAgents DescribeAgents ************** class ApplicationDiscoveryService.Paginator.DescribeAgents paginator = client.get_paginator('describe_agents') paginate(**kwargs) Creates an iterator that will paginate through responses from "ApplicationDiscoveryService.Client.describe_agents()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( agentIds=[ 'string', ], filters=[ { 'name': 'string', 'values': [ 'string', ], 'condition': 'string' }, ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **agentIds** (*list*) -- The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user. * *(string) --* * **filters** (*list*) -- You can filter the request using various logical operators and a *key*-*value* format. For example: "{"key": "collectionStatus", "value": "STARTED"}" * *(dict) --* A filter that can use conditional operators. For more information about filters, see Querying Discovered Configuration Items in the *Amazon Web Services Application Discovery Service User Guide*. * **name** *(string) --* **[REQUIRED]** The name of the filter. * **values** *(list) --* **[REQUIRED]** A string value on which to filter. For example, if you choose the "destinationServer.osVersion" filter name, you could specify "Ubuntu" for the value. * *(string) --* * **condition** *(string) --* **[REQUIRED]** A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by *AND*. If you specify multiple values for a particular filter, the system differentiates the values using *OR*. Calling either *DescribeConfigurations* or *ListConfigurations* returns attributes of matching configuration items. * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'agentsInfo': [ { 'agentId': 'string', 'hostName': 'string', 'agentNetworkInfoList': [ { 'ipAddress': 'string', 'macAddress': 'string' }, ], 'connectorId': 'string', 'version': 'string', 'health': 'HEALTHY'|'UNHEALTHY'|'RUNNING'|'UNKNOWN'|'BLACKLISTED'|'SHUTDOWN', 'lastHealthPingTime': 'string', 'collectionStatus': 'string', 'agentType': 'string', 'registeredTime': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **agentsInfo** *(list) --* Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector. * *(dict) --* Information about agents associated with the user’s Amazon Web Services account. Information includes agent IDs, IP addresses, media access control (MAC) addresses, agent or collector status, hostname where the agent resides, and agent version for each agent. * **agentId** *(string) --* The agent or collector ID. * **hostName** *(string) --* The name of the host where the agent or collector resides. The host can be a server or virtual machine. * **agentNetworkInfoList** *(list) --* Network details about the host where the agent or collector resides. * *(dict) --* Network details about the host where the agent/collector resides. * **ipAddress** *(string) --* The IP address for the host where the agent/collector resides. * **macAddress** *(string) --* The MAC address for the host where the agent/collector resides. * **connectorId** *(string) --* The ID of the connector. * **version** *(string) --* The agent or collector version. * **health** *(string) --* The health of the agent. * **lastHealthPingTime** *(string) --* Time since agent health was reported. * **collectionStatus** *(string) --* Status of the collection process for an agent. * **agentType** *(string) --* Type of agent. * **registeredTime** *(string) --* Agent's first registration timestamp in UTC. * **NextToken** *(string) --* A token to resume pagination. ApplicationDiscoveryService / Client / get_paginator get_paginator ************* ApplicationDiscoveryService.Client.get_paginator(operation_name) Create a paginator for an operation. Parameters: **operation_name** (*string*) -- The operation name. This is the same name as the method name on the client. For example, if the method name is "create_foo", and you'd normally invoke the operation as "client.create_foo(**kwargs)", if the "create_foo" operation can be paginated, you can use the call "client.get_paginator("create_foo")". Raises: **OperationNotPageableError** -- Raised if the operation is not pageable. You can use the "client.can_paginate" method to check if an operation is pageable. Return type: "botocore.paginate.Paginator" Returns: A paginator object. ApplicationDiscoveryService / Client / disassociate_configuration_items_from_application disassociate_configuration_items_from_application ************************************************* ApplicationDiscoveryService.Client.disassociate_configuration_items_from_application(**kwargs) Disassociates one or more configuration items from an application. See also: AWS API Documentation **Request Syntax** response = client.disassociate_configuration_items_from_application( applicationConfigurationId='string', configurationIds=[ 'string', ] ) Parameters: * **applicationConfigurationId** (*string*) -- **[REQUIRED]** Configuration ID of an application from which each item is disassociated. * **configurationIds** (*list*) -- **[REQUIRED]** Configuration ID of each item to be disassociated from an application. * *(string) --* Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / export_configurations export_configurations ********************* ApplicationDiscoveryService.Client.export_configurations() Deprecated. Use "StartExportTask" instead. Exports all discovered configuration data to an Amazon S3 bucket or an application that enables you to view and evaluate the data. Data includes tags and tag associations, processes, connections, servers, and system performance. This API returns an export ID that you can query using the *DescribeExportConfigurations* API. The system imposes a limit of two configuration exports in six hours. Danger: This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity. See also: AWS API Documentation **Request Syntax** response = client.export_configurations() Return type: dict Returns: **Response Syntax** { 'exportId': 'string' } **Response Structure** * *(dict) --* * **exportId** *(string) --* A unique identifier that you can use to query the export status. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.OperationNotPermi ttedException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / stop_continuous_export stop_continuous_export ********************** ApplicationDiscoveryService.Client.stop_continuous_export(**kwargs) Stop the continuous flow of agent's discovered data into Amazon Athena. See also: AWS API Documentation **Request Syntax** response = client.stop_continuous_export( exportId='string' ) Parameters: **exportId** (*string*) -- **[REQUIRED]** The unique ID assigned to this export. Return type: dict Returns: **Response Syntax** { 'startTime': datetime(2015, 1, 1), 'stopTime': datetime(2015, 1, 1) } **Response Structure** * *(dict) --* * **startTime** *(datetime) --* Timestamp that represents when this continuous export started collecting data. * **stopTime** *(datetime) --* Timestamp that represents when this continuous export was stopped. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.OperationNotPermi ttedException" * "ApplicationDiscoveryService.Client.exceptions.ResourceNotFoundE xception" * "ApplicationDiscoveryService.Client.exceptions.ResourceInUseExce ption" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / can_paginate can_paginate ************ ApplicationDiscoveryService.Client.can_paginate(operation_name) Check if an operation can be paginated. Parameters: **operation_name** (*string*) -- The operation name. This is the same name as the method name on the client. For example, if the method name is "create_foo", and you'd normally invoke the operation as "client.create_foo(**kwargs)", if the "create_foo" operation can be paginated, you can use the call "client.get_paginator("create_foo")". Returns: "True" if the operation can be paginated, "False" otherwise. ApplicationDiscoveryService / Client / batch_delete_agents batch_delete_agents ******************* ApplicationDiscoveryService.Client.batch_delete_agents(**kwargs) Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the previously discovered data. To delete the data collected, use "StartBatchDeleteConfigurationTask". See also: AWS API Documentation **Request Syntax** response = client.batch_delete_agents( deleteAgents=[ { 'agentId': 'string', 'force': True|False }, ] ) Parameters: **deleteAgents** (*list*) -- **[REQUIRED]** The list of agents to delete. * *(dict) --* An object representing the agent or data collector to be deleted along with the optional configurations for error handling. * **agentId** *(string) --* **[REQUIRED]** The ID of the agent or data collector to delete. * **force** *(boolean) --* Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re- registered with a different agent ID after data collector re-connects with Amazon Web Services. Return type: dict Returns: **Response Syntax** { 'errors': [ { 'agentId': 'string', 'errorMessage': 'string', 'errorCode': 'NOT_FOUND'|'INTERNAL_SERVER_ERROR'|'AGENT_IN_USE' }, ] } **Response Structure** * *(dict) --* * **errors** *(list) --* A list of agent IDs that failed to delete during the deletion task, each paired with an error message. * *(dict) --* An object representing the agent or data collector that failed to delete, each containing agentId, errorMessage, and errorCode. * **agentId** *(string) --* The ID of the agent or data collector to delete. * **errorMessage** *(string) --* The description of the error that occurred for the delete failed agent. * **errorCode** *(string) --* The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" ApplicationDiscoveryService / Client / list_configurations list_configurations ******************* ApplicationDiscoveryService.Client.list_configurations(**kwargs) Retrieves a list of configuration items as specified by the value passed to the required parameter "configurationType". Optional filtering may be applied to refine search results. See also: AWS API Documentation **Request Syntax** response = client.list_configurations( configurationType='SERVER'|'PROCESS'|'CONNECTION'|'APPLICATION', filters=[ { 'name': 'string', 'values': [ 'string', ], 'condition': 'string' }, ], maxResults=123, nextToken='string', orderBy=[ { 'fieldName': 'string', 'sortOrder': 'ASC'|'DESC' }, ] ) Parameters: * **configurationType** (*string*) -- **[REQUIRED]** A valid configuration identified by Application Discovery Service. * **filters** (*list*) -- You can filter the request using various logical operators and a *key*-*value* format. For example: "{"key": "serverType", "value": "webServer"}" For a complete list of filter options and guidance about using them with this action, see Using the ListConfigurations Action in the *Amazon Web Services Application Discovery Service User Guide*. * *(dict) --* A filter that can use conditional operators. For more information about filters, see Querying Discovered Configuration Items in the *Amazon Web Services Application Discovery Service User Guide*. * **name** *(string) --* **[REQUIRED]** The name of the filter. * **values** *(list) --* **[REQUIRED]** A string value on which to filter. For example, if you choose the "destinationServer.osVersion" filter name, you could specify "Ubuntu" for the value. * *(string) --* * **condition** *(string) --* **[REQUIRED]** A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by *AND*. If you specify multiple values for a particular filter, the system differentiates the values using *OR*. Calling either *DescribeConfigurations* or *ListConfigurations* returns attributes of matching configuration items. * **maxResults** (*integer*) -- The total number of items to return. The maximum value is 100. * **nextToken** (*string*) -- Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set "ListConfigurationsRequest$maxResults" to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10. * **orderBy** (*list*) -- Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action in the *Amazon Web Services Application Discovery Service User Guide*. * *(dict) --* A field and direction for ordered output. * **fieldName** *(string) --* **[REQUIRED]** The field on which to order. * **sortOrder** *(string) --* Ordering direction. Return type: dict Returns: **Response Syntax** { 'configurations': [ { 'string': 'string' }, ], 'nextToken': 'string' } **Response Structure** * *(dict) --* * **configurations** *(list) --* Returns configuration details, including the configuration ID, attribute names, and attribute values. * *(dict) --* * *(string) --* * *(string) --* * **nextToken** *(string) --* Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you set "ListConfigurationsRequest$maxResults" to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.ResourceNotFoundE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / start_import_task start_import_task ***************** ApplicationDiscoveryService.Client.start_import_task(**kwargs) Starts an import task, which allows you to import details of your on-premises environment directly into Amazon Web Services Migration Hub without having to use the Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status. To start an import request, do this: * Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3.us- west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b- a5b42f282e46/import_template.csv. * Fill out the template with your server and application data. * Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format. * Use the console or the "StartImportTask" command with the Amazon Web Services CLI or one of the Amazon Web Services SDKs to import the records from your file. For more information, including step-by-step procedures, see Migration Hub Import in the *Amazon Web Services Application Discovery Service User Guide*. Note: There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For more information, see Amazon Web Services Application Discovery Service Limits in the *Amazon Web Services Application Discovery Service User Guide*. See also: AWS API Documentation **Request Syntax** response = client.start_import_task( clientRequestToken='string', name='string', importUrl='string' ) Parameters: * **clientRequestToken** (*string*) -- Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated. Sending more than one "StartImportTask" request with the same client request token will return information about the original import task with that client request token. This field is autopopulated if not provided. * **name** (*string*) -- **[REQUIRED]** A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task. * **importUrl** (*string*) -- **[REQUIRED]** The URL for your import file that you've uploaded to Amazon S3. Note: If you're using the Amazon Web Services CLI, this URL is structured as follows: "s3://BucketName/ImportFileName.CSV" Return type: dict Returns: **Response Syntax** { 'task': { 'importTaskId': 'string', 'clientRequestToken': 'string', 'name': 'string', 'importUrl': 'string', 'status': 'IMPORT_IN_PROGRESS'|'IMPORT_COMPLETE'|'IMPORT_COMPLETE_WITH_ERRORS'|'IMPORT_FAILED'|'IMPORT_FAILED_SERVER_LIMIT_EXCEEDED'|'IMPORT_FAILED_RECORD_LIMIT_EXCEEDED'|'IMPORT_FAILED_UNSUPPORTED_FILE_TYPE'|'DELETE_IN_PROGRESS'|'DELETE_COMPLETE'|'DELETE_FAILED'|'DELETE_FAILED_LIMIT_EXCEEDED'|'INTERNAL_ERROR', 'importRequestTime': datetime(2015, 1, 1), 'importCompletionTime': datetime(2015, 1, 1), 'importDeletedTime': datetime(2015, 1, 1), 'fileClassification': 'MODELIZEIT_EXPORT'|'RVTOOLS_EXPORT'|'VMWARE_NSX_EXPORT'|'IMPORT_TEMPLATE', 'serverImportSuccess': 123, 'serverImportFailure': 123, 'applicationImportSuccess': 123, 'applicationImportFailure': 123, 'errorsAndFailedEntriesZip': 'string' } } **Response Structure** * *(dict) --* * **task** *(dict) --* An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more. * **importTaskId** *(string) --* The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account. * **clientRequestToken** *(string) --* A unique token used to prevent the same import request from occurring more than once. If you didn't provide a token, a token was automatically generated when the import task request was sent. * **name** *(string) --* A descriptive name for an import task. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task. * **importUrl** *(string) --* The URL for your import file that you've uploaded to Amazon S3. * **status** *(string) --* The status of the import task. An import can have the status of "IMPORT_COMPLETE" and still have some records fail to import from the overall request. More information can be found in the downloadable archive defined in the "errorsAndFailedEntriesZip" field, or in the Migration Hub management console. * **importRequestTime** *(datetime) --* The time that the import task request was made, presented in the Unix time stamp format. * **importCompletionTime** *(datetime) --* The time that the import task request finished, presented in the Unix time stamp format. * **importDeletedTime** *(datetime) --* The time that the import task request was deleted, presented in the Unix time stamp format. * **fileClassification** *(string) --* The type of file detected by the import task. * **serverImportSuccess** *(integer) --* The total number of server records in the import file that were successfully imported. * **serverImportFailure** *(integer) --* The total number of server records in the import file that failed to be imported. * **applicationImportSuccess** *(integer) --* The total number of application records in the import file that were successfully imported. * **applicationImportFailure** *(integer) --* The total number of application records in the import file that failed to be imported. * **errorsAndFailedEntriesZip** *(string) --* A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed records. You can use these two files to quickly identify records that failed, why they failed, and correct those records. Afterward, you can upload the corrected file to your Amazon S3 bucket and create another import task request. This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it. If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.ResourceInUseExce ption" * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / describe_tags describe_tags ************* ApplicationDiscoveryService.Client.describe_tags(**kwargs) Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value, passed to the optional parameter "filters". There are three valid tag filter names: * tagKey * tagValue * configurationId Also, all configuration items associated with your user that have tags can be listed if you call "DescribeTags" as is without passing any parameters. See also: AWS API Documentation **Request Syntax** response = client.describe_tags( filters=[ { 'name': 'string', 'values': [ 'string', ] }, ], maxResults=123, nextToken='string' ) Parameters: * **filters** (*list*) -- You can filter the list using a *key*-*value* format. You can separate these items by using logical operators. Allowed filters include "tagKey", "tagValue", and "configurationId". * *(dict) --* The tag filter. Valid names are: "tagKey", "tagValue", "configurationId". * **name** *(string) --* **[REQUIRED]** A name of the tag filter. * **values** *(list) --* **[REQUIRED]** Values for the tag filter. * *(string) --* * **maxResults** (*integer*) -- The total number of items to return in a single page of output. The maximum value is 100. * **nextToken** (*string*) -- A token to start the list. Use this token to get the next set of results. Return type: dict Returns: **Response Syntax** { 'tags': [ { 'configurationType': 'SERVER'|'PROCESS'|'CONNECTION'|'APPLICATION', 'configurationId': 'string', 'key': 'string', 'value': 'string', 'timeOfCreation': datetime(2015, 1, 1) }, ], 'nextToken': 'string' } **Response Structure** * *(dict) --* * **tags** *(list) --* Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item. * *(dict) --* Tags for a configuration item. Tags are metadata that help you categorize IT assets. * **configurationType** *(string) --* A type of IT asset to tag. * **configurationId** *(string) --* The configuration ID for the item to tag. You can specify a list of keys and values. * **key** *(string) --* A type of tag on which to filter. For example, *serverType*. * **value** *(string) --* A value on which to filter. For example *key = serverType* and *value = web server*. * **timeOfCreation** *(datetime) --* The time the configuration tag was created in Coordinated Universal Time (UTC). * **nextToken** *(string) --* The call returns a token. Use this token to get the next set of results. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.ResourceNotFoundE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / list_server_neighbors list_server_neighbors ********************* ApplicationDiscoveryService.Client.list_server_neighbors(**kwargs) Retrieves a list of servers that are one network hop away from a specified server. See also: AWS API Documentation **Request Syntax** response = client.list_server_neighbors( configurationId='string', portInformationNeeded=True|False, neighborConfigurationIds=[ 'string', ], maxResults=123, nextToken='string' ) Parameters: * **configurationId** (*string*) -- **[REQUIRED]** Configuration ID of the server for which neighbors are being listed. * **portInformationNeeded** (*boolean*) -- Flag to indicate if port and protocol information is needed as part of the response. * **neighborConfigurationIds** (*list*) -- List of configuration IDs to test for one-hop-away. * *(string) --* * **maxResults** (*integer*) -- Maximum number of results to return in a single page of output. * **nextToken** (*string*) -- Token to retrieve the next set of results. For example, if you previously specified 100 IDs for "ListServerNeighborsRequest$neighborConfigurationIds" but set "ListServerNeighborsRequest$maxResults" to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10. Return type: dict Returns: **Response Syntax** { 'neighbors': [ { 'sourceServerId': 'string', 'destinationServerId': 'string', 'destinationPort': 123, 'transportProtocol': 'string', 'connectionsCount': 123 }, ], 'nextToken': 'string', 'knownDependencyCount': 123 } **Response Structure** * *(dict) --* * **neighbors** *(list) --* List of distinct servers that are one hop away from the given server. * *(dict) --* Details about neighboring servers. * **sourceServerId** *(string) --* The ID of the server that opened the network connection. * **destinationServerId** *(string) --* The ID of the server that accepted the network connection. * **destinationPort** *(integer) --* The destination network port for the connection. * **transportProtocol** *(string) --* The network protocol used for the connection. * **connectionsCount** *(integer) --* The number of open network connections with the neighboring server. * **nextToken** *(string) --* Token to retrieve the next set of results. For example, if you specified 100 IDs for "ListServerNeighborsRequest$neighborConfigurationIds" but set "ListServerNeighborsRequest$maxResults" to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10. * **knownDependencyCount** *(integer) --* Count of distinct servers that are one hop away from the given server. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / get_waiter get_waiter ********** ApplicationDiscoveryService.Client.get_waiter(waiter_name) Returns an object that can wait for some condition. Parameters: **waiter_name** (*str*) -- The name of the waiter to get. See the waiters section of the service docs for a list of available waiters. Returns: The specified waiter object. Return type: "botocore.waiter.Waiter" ApplicationDiscoveryService / Client / describe_agents describe_agents *************** ApplicationDiscoveryService.Client.describe_agents(**kwargs) Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user can be listed if you call "DescribeAgents" as is without passing any parameters. See also: AWS API Documentation **Request Syntax** response = client.describe_agents( agentIds=[ 'string', ], filters=[ { 'name': 'string', 'values': [ 'string', ], 'condition': 'string' }, ], maxResults=123, nextToken='string' ) Parameters: * **agentIds** (*list*) -- The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user. * *(string) --* * **filters** (*list*) -- You can filter the request using various logical operators and a *key*-*value* format. For example: "{"key": "collectionStatus", "value": "STARTED"}" * *(dict) --* A filter that can use conditional operators. For more information about filters, see Querying Discovered Configuration Items in the *Amazon Web Services Application Discovery Service User Guide*. * **name** *(string) --* **[REQUIRED]** The name of the filter. * **values** *(list) --* **[REQUIRED]** A string value on which to filter. For example, if you choose the "destinationServer.osVersion" filter name, you could specify "Ubuntu" for the value. * *(string) --* * **condition** *(string) --* **[REQUIRED]** A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by *AND*. If you specify multiple values for a particular filter, the system differentiates the values using *OR*. Calling either *DescribeConfigurations* or *ListConfigurations* returns attributes of matching configuration items. * **maxResults** (*integer*) -- The total number of agents/collectors to return in a single page of output. The maximum value is 100. * **nextToken** (*string*) -- Token to retrieve the next set of results. For example, if you previously specified 100 IDs for "DescribeAgentsRequest$agentIds" but set "DescribeAgentsRequest$maxResults" to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10. Return type: dict Returns: **Response Syntax** { 'agentsInfo': [ { 'agentId': 'string', 'hostName': 'string', 'agentNetworkInfoList': [ { 'ipAddress': 'string', 'macAddress': 'string' }, ], 'connectorId': 'string', 'version': 'string', 'health': 'HEALTHY'|'UNHEALTHY'|'RUNNING'|'UNKNOWN'|'BLACKLISTED'|'SHUTDOWN', 'lastHealthPingTime': 'string', 'collectionStatus': 'string', 'agentType': 'string', 'registeredTime': 'string' }, ], 'nextToken': 'string' } **Response Structure** * *(dict) --* * **agentsInfo** *(list) --* Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector. * *(dict) --* Information about agents associated with the user’s Amazon Web Services account. Information includes agent IDs, IP addresses, media access control (MAC) addresses, agent or collector status, hostname where the agent resides, and agent version for each agent. * **agentId** *(string) --* The agent or collector ID. * **hostName** *(string) --* The name of the host where the agent or collector resides. The host can be a server or virtual machine. * **agentNetworkInfoList** *(list) --* Network details about the host where the agent or collector resides. * *(dict) --* Network details about the host where the agent/collector resides. * **ipAddress** *(string) --* The IP address for the host where the agent/collector resides. * **macAddress** *(string) --* The MAC address for the host where the agent/collector resides. * **connectorId** *(string) --* The ID of the connector. * **version** *(string) --* The agent or collector version. * **health** *(string) --* The health of the agent. * **lastHealthPingTime** *(string) --* Time since agent health was reported. * **collectionStatus** *(string) --* Status of the collection process for an agent. * **agentType** *(string) --* Type of agent. * **registeredTime** *(string) --* Agent's first registration timestamp in UTC. * **nextToken** *(string) --* Token to retrieve the next set of results. For example, if you specified 100 IDs for "DescribeAgentsRequest$agentIds" but set "DescribeAgentsRequest$maxResults" to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / start_data_collection_by_agent_ids start_data_collection_by_agent_ids ********************************** ApplicationDiscoveryService.Client.start_data_collection_by_agent_ids(**kwargs) Instructs the specified agents to start collecting data. See also: AWS API Documentation **Request Syntax** response = client.start_data_collection_by_agent_ids( agentIds=[ 'string', ] ) Parameters: **agentIds** (*list*) -- **[REQUIRED]** The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the *Description* field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows "Failed" in the *Description* field. * *(string) --* Return type: dict Returns: **Response Syntax** { 'agentsConfigurationStatus': [ { 'agentId': 'string', 'operationSucceeded': True|False, 'description': 'string' }, ] } **Response Structure** * *(dict) --* * **agentsConfigurationStatus** *(list) --* Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated. * *(dict) --* Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation, and whether the agent configuration was updated. * **agentId** *(string) --* The agent ID. * **operationSucceeded** *(boolean) --* Information about the status of the "StartDataCollection" and "StopDataCollection" operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command. * **description** *(string) --* A description of the operation performed. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / create_tags create_tags *********** ApplicationDiscoveryService.Client.create_tags(**kwargs) Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items. Warning: Do not store sensitive information (like personal data) in tags. See also: AWS API Documentation **Request Syntax** response = client.create_tags( configurationIds=[ 'string', ], tags=[ { 'key': 'string', 'value': 'string' }, ] ) Parameters: * **configurationIds** (*list*) -- **[REQUIRED]** A list of configuration items that you want to tag. * *(string) --* * **tags** (*list*) -- **[REQUIRED]** Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a *key*-*value* format. For example: "{"key": "serverType", "value": "webServer"}" * *(dict) --* Metadata that help you categorize IT assets. Warning: Do not store sensitive information (like personal data) in tags. * **key** *(string) --* **[REQUIRED]** The type of tag on which to filter. * **value** *(string) --* **[REQUIRED]** A value for a tag key on which to filter. Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.ResourceNotFoundE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / get_discovery_summary get_discovery_summary ********************* ApplicationDiscoveryService.Client.get_discovery_summary() Retrieves a short summary of discovered assets. This API operation takes no request parameters and is called as is at the command prompt as shown in the example. See also: AWS API Documentation **Request Syntax** response = client.get_discovery_summary() Return type: dict Returns: **Response Syntax** { 'servers': 123, 'applications': 123, 'serversMappedToApplications': 123, 'serversMappedtoTags': 123, 'agentSummary': { 'activeAgents': 123, 'healthyAgents': 123, 'blackListedAgents': 123, 'shutdownAgents': 123, 'unhealthyAgents': 123, 'totalAgents': 123, 'unknownAgents': 123 }, 'connectorSummary': { 'activeConnectors': 123, 'healthyConnectors': 123, 'blackListedConnectors': 123, 'shutdownConnectors': 123, 'unhealthyConnectors': 123, 'totalConnectors': 123, 'unknownConnectors': 123 }, 'meCollectorSummary': { 'activeMeCollectors': 123, 'healthyMeCollectors': 123, 'denyListedMeCollectors': 123, 'shutdownMeCollectors': 123, 'unhealthyMeCollectors': 123, 'totalMeCollectors': 123, 'unknownMeCollectors': 123 }, 'agentlessCollectorSummary': { 'activeAgentlessCollectors': 123, 'healthyAgentlessCollectors': 123, 'denyListedAgentlessCollectors': 123, 'shutdownAgentlessCollectors': 123, 'unhealthyAgentlessCollectors': 123, 'totalAgentlessCollectors': 123, 'unknownAgentlessCollectors': 123 } } **Response Structure** * *(dict) --* * **servers** *(integer) --* The number of servers discovered. * **applications** *(integer) --* The number of applications discovered. * **serversMappedToApplications** *(integer) --* The number of servers mapped to applications. * **serversMappedtoTags** *(integer) --* The number of servers mapped to tags. * **agentSummary** *(dict) --* Details about discovered agents, including agent status and health. * **activeAgents** *(integer) --* Number of active discovery agents. * **healthyAgents** *(integer) --* Number of healthy discovery agents * **blackListedAgents** *(integer) --* Number of blacklisted discovery agents. * **shutdownAgents** *(integer) --* Number of discovery agents with status SHUTDOWN. * **unhealthyAgents** *(integer) --* Number of unhealthy discovery agents. * **totalAgents** *(integer) --* Total number of discovery agents. * **unknownAgents** *(integer) --* Number of unknown discovery agents. * **connectorSummary** *(dict) --* Details about discovered connectors, including connector status and health. * **activeConnectors** *(integer) --* Number of active discovery connectors. * **healthyConnectors** *(integer) --* Number of healthy discovery connectors. * **blackListedConnectors** *(integer) --* Number of blacklisted discovery connectors. * **shutdownConnectors** *(integer) --* Number of discovery connectors with status SHUTDOWN, * **unhealthyConnectors** *(integer) --* Number of unhealthy discovery connectors. * **totalConnectors** *(integer) --* Total number of discovery connectors. * **unknownConnectors** *(integer) --* Number of unknown discovery connectors. * **meCollectorSummary** *(dict) --* Details about Migration Evaluator collectors, including collector status and health. * **activeMeCollectors** *(integer) --* The number of active Migration Evaluator collectors. * **healthyMeCollectors** *(integer) --* The number of healthy Migration Evaluator collectors. * **denyListedMeCollectors** *(integer) --* The number of deny-listed Migration Evaluator collectors. * **shutdownMeCollectors** *(integer) --* The number of Migration Evaluator collectors with "SHUTDOWN" status. * **unhealthyMeCollectors** *(integer) --* The number of unhealthy Migration Evaluator collectors. * **totalMeCollectors** *(integer) --* The total number of Migration Evaluator collectors. * **unknownMeCollectors** *(integer) --* The number of unknown Migration Evaluator collectors. * **agentlessCollectorSummary** *(dict) --* Details about Agentless Collector collectors, including status. * **activeAgentlessCollectors** *(integer) --* The number of active Agentless Collector collectors. * **healthyAgentlessCollectors** *(integer) --* The number of healthy Agentless Collector collectors. * **denyListedAgentlessCollectors** *(integer) --* The number of deny-listed Agentless Collector collectors. * **shutdownAgentlessCollectors** *(integer) --* The number of Agentless Collector collectors with "SHUTDOWN" status. * **unhealthyAgentlessCollectors** *(integer) --* The number of unhealthy Agentless Collector collectors. * **totalAgentlessCollectors** *(integer) --* The total number of Agentless Collector collectors. * **unknownAgentlessCollectors** *(integer) --* The number of unknown Agentless Collector collectors. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / describe_export_configurations describe_export_configurations ****************************** ApplicationDiscoveryService.Client.describe_export_configurations(**kwargs) "DescribeExportConfigurations" is deprecated. Use DescribeExportTasks, instead. Danger: This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity. See also: AWS API Documentation **Request Syntax** response = client.describe_export_configurations( exportIds=[ 'string', ], maxResults=123, nextToken='string' ) Parameters: * **exportIds** (*list*) -- A list of continuous export IDs to search for. * *(string) --* * **maxResults** (*integer*) -- A number between 1 and 100 specifying the maximum number of continuous export descriptions returned. * **nextToken** (*string*) -- The token from the previous call to describe-export-tasks. Return type: dict Returns: **Response Syntax** { 'exportsInfo': [ { 'exportId': 'string', 'exportStatus': 'FAILED'|'SUCCEEDED'|'IN_PROGRESS', 'statusMessage': 'string', 'configurationsDownloadUrl': 'string', 'exportRequestTime': datetime(2015, 1, 1), 'isTruncated': True|False, 'requestedStartTime': datetime(2015, 1, 1), 'requestedEndTime': datetime(2015, 1, 1) }, ], 'nextToken': 'string' } **Response Structure** * *(dict) --* * **exportsInfo** *(list) --* * *(dict) --* Information regarding the export status of discovered data. The value is an array of objects. * **exportId** *(string) --* A unique identifier used to query an export. * **exportStatus** *(string) --* The status of the data export job. * **statusMessage** *(string) --* A status message provided for API callers. * **configurationsDownloadUrl** *(string) --* A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded. * **exportRequestTime** *(datetime) --* The time that the data export was initiated. * **isTruncated** *(boolean) --* If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using "startDate" and "endDate". * **requestedStartTime** *(datetime) --* The value of "startTime" parameter in the "StartExportTask" request. If no "startTime" was requested, this result does not appear in "ExportInfo". * **requestedEndTime** *(datetime) --* The "endTime" used in the "StartExportTask" request. If no "endTime" was requested, this result does not appear in "ExportInfo". * **nextToken** *(string) --* The token from the previous call to describe-export-tasks. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.ResourceNotFoundE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / batch_delete_import_data batch_delete_import_data ************************ ApplicationDiscoveryService.Client.batch_delete_import_data(**kwargs) Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications. Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted. See also: AWS API Documentation **Request Syntax** response = client.batch_delete_import_data( importTaskIds=[ 'string', ], deleteHistory=True|False ) Parameters: * **importTaskIds** (*list*) -- **[REQUIRED]** The IDs for the import tasks that you want to delete. * *(string) --* * **deleteHistory** (*boolean*) -- Set to "true" to remove the deleted import task from DescribeImportTasks. Return type: dict Returns: **Response Syntax** { 'errors': [ { 'importTaskId': 'string', 'errorCode': 'NOT_FOUND'|'INTERNAL_SERVER_ERROR'|'OVER_LIMIT', 'errorDescription': 'string' }, ] } **Response Structure** * *(dict) --* * **errors** *(list) --* Error messages returned for each import task that you deleted as a response for this command. * *(dict) --* Error messages returned for each import task that you deleted as a response for this command. * **importTaskId** *(string) --* The unique import ID associated with the error that occurred. * **errorCode** *(string) --* The type of error that occurred for a specific import task. * **errorDescription** *(string) --* The description of the error that occurred for a specific import task. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / update_application update_application ****************** ApplicationDiscoveryService.Client.update_application(**kwargs) Updates metadata about an application. See also: AWS API Documentation **Request Syntax** response = client.update_application( configurationId='string', name='string', description='string', wave='string' ) Parameters: * **configurationId** (*string*) -- **[REQUIRED]** Configuration ID of the application to be updated. * **name** (*string*) -- New name of the application to be updated. * **description** (*string*) -- New description of the application to be updated. * **wave** (*string*) -- The new migration wave of the application that you want to update. Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / delete_applications delete_applications ******************* ApplicationDiscoveryService.Client.delete_applications(**kwargs) Deletes a list of applications and their associations with configuration items. See also: AWS API Documentation **Request Syntax** response = client.delete_applications( configurationIds=[ 'string', ] ) Parameters: **configurationIds** (*list*) -- **[REQUIRED]** Configuration ID of an application to be deleted. * *(string) --* Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / start_continuous_export start_continuous_export *********************** ApplicationDiscoveryService.Client.start_continuous_export() Start the continuous flow of agent's discovered data into Amazon Athena. See also: AWS API Documentation **Request Syntax** response = client.start_continuous_export() Return type: dict Returns: **Response Syntax** { 'exportId': 'string', 's3Bucket': 'string', 'startTime': datetime(2015, 1, 1), 'dataSource': 'AGENT', 'schemaStorageConfig': { 'string': 'string' } } **Response Structure** * *(dict) --* * **exportId** *(string) --* The unique ID assigned to this export. * **s3Bucket** *(string) --* The name of the s3 bucket where the export data parquet files are stored. * **startTime** *(datetime) --* The timestamp representing when the continuous export was started. * **dataSource** *(string) --* The type of data collector used to gather this data (currently only offered for AGENT). * **schemaStorageConfig** *(dict) --* A dictionary which describes how the data is stored. * "databaseName" - the name of the Glue database used to store the schema. * *(string) --* * *(string) --* **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.ConflictErrorExce ption" * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.OperationNotPermi ttedException" * "ApplicationDiscoveryService.Client.exceptions.ResourceInUseExce ption" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / start_batch_delete_configuration_task start_batch_delete_configuration_task ************************************* ApplicationDiscoveryService.Client.start_batch_delete_configuration_task(**kwargs) Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier. See also: AWS API Documentation **Request Syntax** response = client.start_batch_delete_configuration_task( configurationType='SERVER', configurationIds=[ 'string', ] ) Parameters: * **configurationType** (*string*) -- **[REQUIRED]** The type of configuration item to delete. Supported types are: SERVER. * **configurationIds** (*list*) -- **[REQUIRED]** The list of configuration IDs that will be deleted by the task. * *(string) --* Return type: dict Returns: **Response Syntax** { 'taskId': 'string' } **Response Structure** * *(dict) --* * **taskId** *(string) --* The unique identifier associated with the newly started deletion task. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.LimitExceededExce ption" * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" * "ApplicationDiscoveryService.Client.exceptions.OperationNotPermi ttedException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" ApplicationDiscoveryService / Client / delete_tags delete_tags *********** ApplicationDiscoveryService.Client.delete_tags(**kwargs) Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items. See also: AWS API Documentation **Request Syntax** response = client.delete_tags( configurationIds=[ 'string', ], tags=[ { 'key': 'string', 'value': 'string' }, ] ) Parameters: * **configurationIds** (*list*) -- **[REQUIRED]** A list of configuration items with tags that you want to delete. * *(string) --* * **tags** (*list*) -- Tags that you want to delete from one or more configuration items. Specify the tags that you want to delete in a *key*-*value* format. For example: "{"key": "serverType", "value": "webServer"}" * *(dict) --* Metadata that help you categorize IT assets. Warning: Do not store sensitive information (like personal data) in tags. * **key** *(string) --* **[REQUIRED]** The type of tag on which to filter. * **value** *(string) --* **[REQUIRED]** A value for a tag key on which to filter. Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.ResourceNotFoundE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / close close ***** ApplicationDiscoveryService.Client.close() Closes underlying endpoint connections. ApplicationDiscoveryService / Client / describe_export_tasks describe_export_tasks ********************* ApplicationDiscoveryService.Client.describe_export_tasks(**kwargs) Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks. See also: AWS API Documentation **Request Syntax** response = client.describe_export_tasks( exportIds=[ 'string', ], filters=[ { 'name': 'string', 'values': [ 'string', ], 'condition': 'string' }, ], maxResults=123, nextToken='string' ) Parameters: * **exportIds** (*list*) -- One or more unique identifiers used to query the status of an export request. * *(string) --* * **filters** (*list*) -- One or more filters. * "AgentId" - ID of the agent whose collected data will be exported * *(dict) --* Used to select which agent's data is to be exported. A single agent ID may be selected for export using the StartExportTask action. * **name** *(string) --* **[REQUIRED]** A single "ExportFilter" name. Supported filters: "agentIds". * **values** *(list) --* **[REQUIRED]** A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form "o-0123456789abcdef0". * *(string) --* * **condition** *(string) --* **[REQUIRED]** Supported condition: "EQUALS" * **maxResults** (*integer*) -- The maximum number of volume results returned by "DescribeExportTasks" in paginated output. When this parameter is used, "DescribeExportTasks" only returns "maxResults" results in a single page along with a "nextToken" response element. * **nextToken** (*string*) -- The "nextToken" value returned from a previous paginated "DescribeExportTasks" request where "maxResults" was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the "nextToken" value. This value is null when there are no more results to return. Return type: dict Returns: **Response Syntax** { 'exportsInfo': [ { 'exportId': 'string', 'exportStatus': 'FAILED'|'SUCCEEDED'|'IN_PROGRESS', 'statusMessage': 'string', 'configurationsDownloadUrl': 'string', 'exportRequestTime': datetime(2015, 1, 1), 'isTruncated': True|False, 'requestedStartTime': datetime(2015, 1, 1), 'requestedEndTime': datetime(2015, 1, 1) }, ], 'nextToken': 'string' } **Response Structure** * *(dict) --* * **exportsInfo** *(list) --* Contains one or more sets of export request details. When the status of a request is "SUCCEEDED", the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file. * *(dict) --* Information regarding the export status of discovered data. The value is an array of objects. * **exportId** *(string) --* A unique identifier used to query an export. * **exportStatus** *(string) --* The status of the data export job. * **statusMessage** *(string) --* A status message provided for API callers. * **configurationsDownloadUrl** *(string) --* A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded. * **exportRequestTime** *(datetime) --* The time that the data export was initiated. * **isTruncated** *(boolean) --* If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using "startDate" and "endDate". * **requestedStartTime** *(datetime) --* The value of "startTime" parameter in the "StartExportTask" request. If no "startTime" was requested, this result does not appear in "ExportInfo". * **requestedEndTime** *(datetime) --* The "endTime" used in the "StartExportTask" request. If no "endTime" was requested, this result does not appear in "ExportInfo". * **nextToken** *(string) --* The "nextToken" value to include in a future "DescribeExportTasks" request. When the results of a "DescribeExportTasks" request exceed "maxResults", this value can be used to retrieve the next page of results. This value is null when there are no more results to return. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / describe_configurations describe_configurations *********************** ApplicationDiscoveryService.Client.describe_configurations(**kwargs) Retrieves attributes for a list of configuration item IDs. Note: All of the supplied IDs must be for the same asset type from one of the following: * server * application * process * connection Output fields are specific to the asset type specified. For example, the output for a *server* configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc.For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the *Amazon Web Services Application Discovery Service User Guide*. See also: AWS API Documentation **Request Syntax** response = client.describe_configurations( configurationIds=[ 'string', ] ) Parameters: **configurationIds** (*list*) -- **[REQUIRED]** One or more configuration IDs. * *(string) --* Return type: dict Returns: **Response Syntax** { 'configurations': [ { 'string': 'string' }, ] } **Response Structure** * *(dict) --* * **configurations** *(list) --* A key in the response map. The value is an array of data. * *(dict) --* * *(string) --* * *(string) --* **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / stop_data_collection_by_agent_ids stop_data_collection_by_agent_ids ********************************* ApplicationDiscoveryService.Client.stop_data_collection_by_agent_ids(**kwargs) Instructs the specified agents to stop collecting data. See also: AWS API Documentation **Request Syntax** response = client.stop_data_collection_by_agent_ids( agentIds=[ 'string', ] ) Parameters: **agentIds** (*list*) -- **[REQUIRED]** The IDs of the agents from which to stop collecting data. * *(string) --* Return type: dict Returns: **Response Syntax** { 'agentsConfigurationStatus': [ { 'agentId': 'string', 'operationSucceeded': True|False, 'description': 'string' }, ] } **Response Structure** * *(dict) --* * **agentsConfigurationStatus** *(list) --* Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated. * *(dict) --* Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation, and whether the agent configuration was updated. * **agentId** *(string) --* The agent ID. * **operationSucceeded** *(boolean) --* Information about the status of the "StartDataCollection" and "StopDataCollection" operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command. * **description** *(string) --* A description of the operation performed. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / create_application create_application ****************** ApplicationDiscoveryService.Client.create_application(**kwargs) Creates an application with the given name and description. See also: AWS API Documentation **Request Syntax** response = client.create_application( name='string', description='string', wave='string' ) Parameters: * **name** (*string*) -- **[REQUIRED]** The name of the application to be created. * **description** (*string*) -- The description of the application to be created. * **wave** (*string*) -- The name of the migration wave of the application to be created. Return type: dict Returns: **Response Syntax** { 'configurationId': 'string' } **Response Structure** * *(dict) --* * **configurationId** *(string) --* The configuration ID of an application to be created. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / associate_configuration_items_to_application associate_configuration_items_to_application ******************************************** ApplicationDiscoveryService.Client.associate_configuration_items_to_application(**kwargs) Associates one or more configuration items with an application. See also: AWS API Documentation **Request Syntax** response = client.associate_configuration_items_to_application( applicationConfigurationId='string', configurationIds=[ 'string', ] ) Parameters: * **applicationConfigurationId** (*string*) -- **[REQUIRED]** The configuration ID of an application with which items are to be associated. * **configurationIds** (*list*) -- **[REQUIRED]** The ID of each configuration item to be associated with an application. * *(string) --* Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / describe_continuous_exports describe_continuous_exports *************************** ApplicationDiscoveryService.Client.describe_continuous_exports(**kwargs) Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call "DescribeContinuousExports" as is without passing any parameters. See also: AWS API Documentation **Request Syntax** response = client.describe_continuous_exports( exportIds=[ 'string', ], maxResults=123, nextToken='string' ) Parameters: * **exportIds** (*list*) -- The unique IDs assigned to the exports. * *(string) --* * **maxResults** (*integer*) -- A number between 1 and 100 specifying the maximum number of continuous export descriptions returned. * **nextToken** (*string*) -- The token from the previous call to "DescribeExportTasks". Return type: dict Returns: **Response Syntax** { 'descriptions': [ { 'exportId': 'string', 'status': 'START_IN_PROGRESS'|'START_FAILED'|'ACTIVE'|'ERROR'|'STOP_IN_PROGRESS'|'STOP_FAILED'|'INACTIVE', 'statusDetail': 'string', 's3Bucket': 'string', 'startTime': datetime(2015, 1, 1), 'stopTime': datetime(2015, 1, 1), 'dataSource': 'AGENT', 'schemaStorageConfig': { 'string': 'string' } }, ], 'nextToken': 'string' } **Response Structure** * *(dict) --* * **descriptions** *(list) --* A list of continuous export descriptions. * *(dict) --* A list of continuous export descriptions. * **exportId** *(string) --* The unique ID assigned to this export. * **status** *(string) --* Describes the status of the export. Can be one of the following values: * START_IN_PROGRESS - setting up resources to start continuous export. * START_FAILED - an error occurred setting up continuous export. To recover, call start-continuous-export again. * ACTIVE - data is being exported to the customer bucket. * ERROR - an error occurred during export. To fix the issue, call stop-continuous-export and start- continuous-export. * STOP_IN_PROGRESS - stopping the export. * STOP_FAILED - an error occurred stopping the export. To recover, call stop-continuous-export again. * INACTIVE - the continuous export has been stopped. Data is no longer being exported to the customer bucket. * **statusDetail** *(string) --* Contains information about any errors that have occurred. This data type can have the following values: * ACCESS_DENIED - You don’t have permission to start Data Exploration in Amazon Athena. Contact your Amazon Web Services administrator for help. For more information, see Setting Up Amazon Web Services Application Discovery Service in the Application Discovery Service User Guide. * DELIVERY_STREAM_LIMIT_FAILURE - You reached the limit for Amazon Kinesis Data Firehose delivery streams. Reduce the number of streams or request a limit increase and try again. For more information, see Kinesis Data Streams Limits in the Amazon Kinesis Data Streams Developer Guide. * FIREHOSE_ROLE_MISSING - The Data Exploration feature is in an error state because your user is missing the Amazon Web ServicesApplicationDiscoveryServiceFirehose role. Turn on Data Exploration in Amazon Athena and try again. For more information, see Creating the Amazon Web ServicesApplicationDiscoveryServiceFirehose Role in the Application Discovery Service User Guide. * FIREHOSE_STREAM_DOES_NOT_EXIST - The Data Exploration feature is in an error state because your user is missing one or more of the Kinesis data delivery streams. * INTERNAL_FAILURE - The Data Exploration feature is in an error state because of an internal failure. Try again later. If this problem persists, contact Amazon Web Services Support. * LAKE_FORMATION_ACCESS_DENIED - You don't have sufficient lake formation permissions to start continuous export. For more information, see Upgrading Amazon Web Services Glue Data Permissions to the Amazon Web Services Lake Formation Model in the Amazon Web Services *Lake Formation Developer Guide*. You can use one of the following two ways to resolve this issue. * If you don’t want to use the Lake Formation permission model, you can change the default Data Catalog settings to use only Amazon Web Services Identity and Access Management (IAM) access control for new databases. For more information, see Change Data Catalog Settings in the *Lake Formation Developer Guide*. * You can give the service-linked IAM roles AWSServic eRoleForApplicationDiscoveryServiceContinuousExport and AWSApplicationDiscoveryServiceFirehose the required Lake Formation permissions. For more information, see Granting Database Permissions in the *Lake Formation Developer Guide*. * AWSServiceRoleForApplicationDiscoveryServiceConti nuousExport - Grant database creator permissions, which gives the role database creation ability and implicit permissions for any created tables. For more information, see Implicit Lake Formation Permissions in the *Lake Formation Developer Guide*. * AWSApplicationDiscoveryServiceFirehose - Grant describe permissions for all tables in the database. * S3_BUCKET_LIMIT_FAILURE - You reached the limit for Amazon S3 buckets. Reduce the number of S3 buckets or request a limit increase and try again. For more information, see Bucket Restrictions and Limitations in the Amazon Simple Storage Service Developer Guide. * S3_NOT_SIGNED_UP - Your account is not signed up for the Amazon S3 service. You must sign up before you can use Amazon S3. You can sign up at the following URL: https://aws.amazon.com/s3. * **s3Bucket** *(string) --* The name of the s3 bucket where the export data parquet files are stored. * **startTime** *(datetime) --* The timestamp representing when the continuous export was started. * **stopTime** *(datetime) --* The timestamp that represents when this continuous export was stopped. * **dataSource** *(string) --* The type of data collector used to gather this data (currently only offered for AGENT). * **schemaStorageConfig** *(dict) --* An object which describes how the data is stored. * "databaseName" - the name of the Glue database used to store the schema. * *(string) --* * *(string) --* * **nextToken** *(string) --* The token from the previous call to "DescribeExportTasks". **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.OperationNotPermi ttedException" * "ApplicationDiscoveryService.Client.exceptions.ResourceNotFoundE xception" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / start_export_task start_export_task ***************** ApplicationDiscoveryService.Client.start_export_task(**kwargs) Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services. Note: Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report. If you do not specify "preferences" or "agentIds" in the filter, a summary of all servers, applications, tags, and performance is generated. This data is an aggregation of all server data collected through on-premises tooling, file import, application grouping and applying tags. If you specify "agentIds" in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using "startTime" and "endTime". Export of detailed agent data is limited to five concurrently running exports. Export of detailed agent data is limited to two exports per day. If you enable "ec2RecommendationsPreferences" in "preferences" , an Amazon EC2 instance matching the characteristics of each server in Application Discovery Service is generated. Changing the attributes of the "ec2RecommendationsPreferences" changes the criteria of the recommendation. See also: AWS API Documentation **Request Syntax** response = client.start_export_task( exportDataFormat=[ 'CSV', ], filters=[ { 'name': 'string', 'values': [ 'string', ], 'condition': 'string' }, ], startTime=datetime(2015, 1, 1), endTime=datetime(2015, 1, 1), preferences={ 'ec2RecommendationsPreferences': { 'enabled': True|False, 'cpuPerformanceMetricBasis': { 'name': 'string', 'percentageAdjust': 123.0 }, 'ramPerformanceMetricBasis': { 'name': 'string', 'percentageAdjust': 123.0 }, 'tenancy': 'DEDICATED'|'SHARED', 'excludedInstanceTypes': [ 'string', ], 'preferredRegion': 'string', 'reservedInstanceOptions': { 'purchasingOption': 'ALL_UPFRONT'|'PARTIAL_UPFRONT'|'NO_UPFRONT', 'offeringClass': 'STANDARD'|'CONVERTIBLE', 'termLength': 'ONE_YEAR'|'THREE_YEAR' } } } ) Parameters: * **exportDataFormat** (*list*) -- The file format for the returned export data. Default value is "CSV". **Note:** *The* "GRAPHML" *option has been deprecated.* * *(string) --* * **filters** (*list*) -- If a filter is present, it selects the single "agentId" of the Application Discovery Agent for which data is exported. The "agentId" can be found in the results of the "DescribeAgents" API or CLI. If no filter is present, "startTime" and "endTime" are ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents. * *(dict) --* Used to select which agent's data is to be exported. A single agent ID may be selected for export using the StartExportTask action. * **name** *(string) --* **[REQUIRED]** A single "ExportFilter" name. Supported filters: "agentIds". * **values** *(list) --* **[REQUIRED]** A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form "o-0123456789abcdef0". * *(string) --* * **condition** *(string) --* **[REQUIRED]** Supported condition: "EQUALS" * **startTime** (*datetime*) -- The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent. * **endTime** (*datetime*) -- The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent. * **preferences** (*dict*) -- Indicates the type of data that needs to be exported. Only one ExportPreferences can be enabled at any time. Note: This is a Tagged Union structure. Only one of the following top level keys can be set: "ec2RecommendationsPreferences". * **ec2RecommendationsPreferences** *(dict) --* If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service. * **enabled** *(boolean) --* If set to true, the export preferences is set to "Ec2RecommendationsExportPreferences". * **cpuPerformanceMetricBasis** *(dict) --* The recommended EC2 instance type that matches the CPU usage metric of server performance data. * **name** *(string) --* A utilization metric that is used by the recommendations. * **percentageAdjust** *(float) --* Specifies the percentage of the specified utilization metric that is used by the recommendations. * **ramPerformanceMetricBasis** *(dict) --* The recommended EC2 instance type that matches the Memory usage metric of server performance data. * **name** *(string) --* A utilization metric that is used by the recommendations. * **percentageAdjust** *(float) --* Specifies the percentage of the specified utilization metric that is used by the recommendations. * **tenancy** *(string) --* The target tenancy to use for your recommended EC2 instances. * **excludedInstanceTypes** *(list) --* An array of instance types to exclude from recommendations. * *(string) --* * **preferredRegion** *(string) --* The target Amazon Web Services Region for the recommendations. You can use any of the Region codes available for the chosen service, as listed in Amazon Web Services service endpoints in the *Amazon Web Services General Reference*. * **reservedInstanceOptions** *(dict) --* The contract type for a reserved instance. If blank, we assume an On-Demand instance is preferred. * **purchasingOption** *(string) --* **[REQUIRED]** The payment plan to use for your Reserved Instance. * **offeringClass** *(string) --* **[REQUIRED]** The flexibility to change the instance types needed for your Reserved Instance. * **termLength** *(string) --* **[REQUIRED]** The preferred duration of the Reserved Instance term. Return type: dict Returns: **Response Syntax** { 'exportId': 'string' } **Response Structure** * *(dict) --* * **exportId** *(string) --* A unique identifier used to query the status of an export request. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.OperationNotPermi ttedException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / describe_batch_delete_configuration_task describe_batch_delete_configuration_task **************************************** ApplicationDiscoveryService.Client.describe_batch_delete_configuration_task(**kwargs) Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task. See also: AWS API Documentation **Request Syntax** response = client.describe_batch_delete_configuration_task( taskId='string' ) Parameters: **taskId** (*string*) -- **[REQUIRED]** The ID of the task to delete. Return type: dict Returns: **Response Syntax** { 'task': { 'taskId': 'string', 'status': 'INITIALIZING'|'VALIDATING'|'DELETING'|'COMPLETED'|'FAILED', 'startTime': datetime(2015, 1, 1), 'endTime': datetime(2015, 1, 1), 'configurationType': 'SERVER', 'requestedConfigurations': [ 'string', ], 'deletedConfigurations': [ 'string', ], 'failedConfigurations': [ { 'configurationId': 'string', 'errorStatusCode': 123, 'errorMessage': 'string' }, ], 'deletionWarnings': [ { 'configurationId': 'string', 'warningCode': 123, 'warningText': 'string' }, ] } } **Response Structure** * *(dict) --* * **task** *(dict) --* The "BatchDeleteConfigurationTask" that represents the deletion task being executed. * **taskId** *(string) --* The deletion task's unique identifier. * **status** *(string) --* The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED. * **startTime** *(datetime) --* An epoch seconds timestamp (UTC) of when the deletion task was started. * **endTime** *(datetime) --* An epoch seconds timestamp (UTC) of when the deletion task was completed or failed. * **configurationType** *(string) --* The type of configuration item to delete. Supported types are: SERVER. * **requestedConfigurations** *(list) --* The list of configuration IDs that were originally requested to be deleted by the deletion task. * *(string) --* * **deletedConfigurations** *(list) --* The list of configuration IDs that were successfully deleted by the deletion task. * *(string) --* * **failedConfigurations** *(list) --* A list of configuration IDs that failed to delete during the deletion task, each paired with an error message. * *(dict) --* A configuration ID paired with an error message. * **configurationId** *(string) --* The unique identifier of the configuration the failed to delete. * **errorStatusCode** *(integer) --* The integer error code associated with the error message. * **errorMessage** *(string) --* A descriptive message indicating why the associated configuration failed to delete. * **deletionWarnings** *(list) --* A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message. * *(dict) --* A configuration ID paired with a warning message. * **configurationId** *(string) --* The unique identifier of the configuration that produced a warning. * **warningCode** *(integer) --* The integer warning code associated with the warning message. * **warningText** *(string) --* A descriptive message of the warning the associated configuration ID produced. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception" ApplicationDiscoveryService / Client / describe_import_tasks describe_import_tasks ********************* ApplicationDiscoveryService.Client.describe_import_tasks(**kwargs) Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more. See also: AWS API Documentation **Request Syntax** response = client.describe_import_tasks( filters=[ { 'name': 'IMPORT_TASK_ID'|'STATUS'|'NAME'|'FILE_CLASSIFICATION', 'values': [ 'string', ] }, ], maxResults=123, nextToken='string' ) Parameters: * **filters** (*list*) -- An array of name-value pairs that you provide to filter the results for the "DescribeImportTask" request to a specific subset of results. Currently, wildcard values aren't supported for filters. * *(dict) --* A name-values pair of elements you can use to filter the results when querying your import tasks. Currently, wildcards are not supported for filters. Note: When filtering by import status, all other filter values are ignored. * **name** *(string) --* The name, status, or import task ID for a specific import task. * **values** *(list) --* An array of strings that you can provide to match against a specific name, status, or import task ID to filter the results for your import task queries. * *(string) --* * **maxResults** (*integer*) -- The maximum number of results that you want this request to return, up to 100. * **nextToken** (*string*) -- The token to request a specific page of results. Return type: dict Returns: **Response Syntax** { 'nextToken': 'string', 'tasks': [ { 'importTaskId': 'string', 'clientRequestToken': 'string', 'name': 'string', 'importUrl': 'string', 'status': 'IMPORT_IN_PROGRESS'|'IMPORT_COMPLETE'|'IMPORT_COMPLETE_WITH_ERRORS'|'IMPORT_FAILED'|'IMPORT_FAILED_SERVER_LIMIT_EXCEEDED'|'IMPORT_FAILED_RECORD_LIMIT_EXCEEDED'|'IMPORT_FAILED_UNSUPPORTED_FILE_TYPE'|'DELETE_IN_PROGRESS'|'DELETE_COMPLETE'|'DELETE_FAILED'|'DELETE_FAILED_LIMIT_EXCEEDED'|'INTERNAL_ERROR', 'importRequestTime': datetime(2015, 1, 1), 'importCompletionTime': datetime(2015, 1, 1), 'importDeletedTime': datetime(2015, 1, 1), 'fileClassification': 'MODELIZEIT_EXPORT'|'RVTOOLS_EXPORT'|'VMWARE_NSX_EXPORT'|'IMPORT_TEMPLATE', 'serverImportSuccess': 123, 'serverImportFailure': 123, 'applicationImportSuccess': 123, 'applicationImportFailure': 123, 'errorsAndFailedEntriesZip': 'string' }, ] } **Response Structure** * *(dict) --* * **nextToken** *(string) --* The token to request the next page of results. * **tasks** *(list) --* A returned array of import tasks that match any applied filters, up to the specified number of maximum results. * *(dict) --* An array of information related to the import task request that includes status information, times, IDs, the Amazon S3 Object URL for the import file, and more. * **importTaskId** *(string) --* The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account. * **clientRequestToken** *(string) --* A unique token used to prevent the same import request from occurring more than once. If you didn't provide a token, a token was automatically generated when the import task request was sent. * **name** *(string) --* A descriptive name for an import task. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task. * **importUrl** *(string) --* The URL for your import file that you've uploaded to Amazon S3. * **status** *(string) --* The status of the import task. An import can have the status of "IMPORT_COMPLETE" and still have some records fail to import from the overall request. More information can be found in the downloadable archive defined in the "errorsAndFailedEntriesZip" field, or in the Migration Hub management console. * **importRequestTime** *(datetime) --* The time that the import task request was made, presented in the Unix time stamp format. * **importCompletionTime** *(datetime) --* The time that the import task request finished, presented in the Unix time stamp format. * **importDeletedTime** *(datetime) --* The time that the import task request was deleted, presented in the Unix time stamp format. * **fileClassification** *(string) --* The type of file detected by the import task. * **serverImportSuccess** *(integer) --* The total number of server records in the import file that were successfully imported. * **serverImportFailure** *(integer) --* The total number of server records in the import file that failed to be imported. * **applicationImportSuccess** *(integer) --* The total number of application records in the import file that were successfully imported. * **applicationImportFailure** *(integer) --* The total number of application records in the import file that failed to be imported. * **errorsAndFailedEntriesZip** *(string) --* A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed records. You can use these two files to quickly identify records that failed, why they failed, and correct those records. Afterward, you can upload the corrected file to your Amazon S3 bucket and create another import task request. This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it. If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again. **Exceptions** * "ApplicationDiscoveryService.Client.exceptions.AuthorizationErro rException" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterE xception" * "ApplicationDiscoveryService.Client.exceptions.InvalidParameterV alueException" * "ApplicationDiscoveryService.Client.exceptions.ServerInternalErr orException" * "ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetE xception"