Paws::Discovery - Perl Interface to AWS AWS Application Discovery Service
use Paws; my $obj = Paws->service('Discovery'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], );
AWS Application Discovery Service
AWS Application Discovery Service helps you plan application migration projects by automatically identifying servers, virtual machines (VMs), software, and software dependencies running in your on-premises data centers. Application Discovery Service also collects application performance data, which can help you assess the outcome of your migration. The data collected by Application Discovery Service is securely retained in an AWS-hosted and managed database in the cloud. You can export the data as a CSV or XML file into your preferred visualization tool or cloud-migration solution to plan your migration. For more information, see AWS Application Discovery Service FAQ (http://aws.amazon.com/application-discovery/faqs/).
Application Discovery Service offers two modes of operation:
Agentless discovery mode is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. Agentless discovery gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment. Agentless discovery doesn't collect information about software and software dependencies. It also doesn't work in non-VMware environments.
Agent-based discovery mode collects a richer set of data than agentless discovery by using the AWS Application Discovery Agent, which you install on one or more hosts in your data center. The agent captures infrastructure and application information, including an inventory of installed software applications, system and process performance, resource utilization, and network dependencies between workloads. The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the cloud.
We recommend that you use agent-based discovery for non-VMware environments and to collect information about software and software dependencies. You can also run agent-based and agentless discovery simultaneously. Use agentless discovery to quickly complete the initial infrastructure assessment and then install agents on select hosts.
Application Discovery Service integrates with application discovery solutions from AWS Partner Network (APN) partners. Third-party application discovery tools can query Application Discovery Service and write to the Application Discovery Service database using a public API. You can then import the data into either a visualization tool or cloud-migration solution.
Application Discovery Service doesn't gather sensitive information. All data is handled according to the AWS Privacy Policy (http://aws.amazon.com/privacy/). You can operate Application Discovery Service offline to inspect collected data before it is shared with the service.
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 AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see AWS SDKs (http://aws.amazon.com/tools/#SDKs).
This guide is intended for use with the AWS Application Discovery Service User Guide (http://docs.aws.amazon.com/application-discovery/latest/userguide/).
For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01
Each argument is described in detail in: Paws::Discovery::AssociateConfigurationItemsToApplication
Returns: a Paws::Discovery::AssociateConfigurationItemsToApplicationResponse instance
Associates one or more configuration items with an application.
Each argument is described in detail in: Paws::Discovery::BatchDeleteImportData
Returns: a Paws::Discovery::BatchDeleteImportDataResponse instance
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.
AWS 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.
Each argument is described in detail in: Paws::Discovery::CreateApplication
Returns: a Paws::Discovery::CreateApplicationResponse instance
Creates an application with the given name and description.
Each argument is described in detail in: Paws::Discovery::CreateTags
Returns: a Paws::Discovery::CreateTagsResponse instance
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.
Each argument is described in detail in: Paws::Discovery::DeleteApplications
Returns: a Paws::Discovery::DeleteApplicationsResponse instance
Deletes a list of applications and their associations with configuration items.
Each argument is described in detail in: Paws::Discovery::DeleteTags
Returns: a Paws::Discovery::DeleteTagsResponse instance
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
Each argument is described in detail in: Paws::Discovery::DescribeAgents
Returns: a Paws::Discovery::DescribeAgentsResponse instance
Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user account can be listed if you call DescribeAgents as is without passing any parameters.
DescribeAgents
Each argument is described in detail in: Paws::Discovery::DescribeConfigurations
Returns: a Paws::Discovery::DescribeConfigurationsResponse instance
Retrieves attributes for a list of configuration item IDs.
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 (http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#DescribeConfigurations).
Each argument is described in detail in: Paws::Discovery::DescribeContinuousExports
Returns: a Paws::Discovery::DescribeContinuousExportsResponse instance
Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you call DescribeContinuousExports as is without passing any parameters.
DescribeContinuousExports
Each argument is described in detail in: Paws::Discovery::DescribeExportConfigurations
Returns: a Paws::Discovery::DescribeExportConfigurationsResponse instance
DescribeExportConfigurations is deprecated.
DescribeExportConfigurations
Use instead DescribeExportTasks (http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html).
DescribeExportTasks
Each argument is described in detail in: Paws::Discovery::DescribeExportTasks
Returns: a Paws::Discovery::DescribeExportTasksResponse instance
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
Each argument is described in detail in: Paws::Discovery::DescribeImportTasks
Returns: a Paws::Discovery::DescribeImportTasksResponse instance
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.
Each argument is described in detail in: Paws::Discovery::DescribeTags
Returns: a Paws::Discovery::DescribeTagsResponse instance
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.
filters
There are three valid tag filter names:
tagKey
tagValue
configurationId
Also, all configuration items associated with your user account that have tags can be listed if you call DescribeTags as is without passing any parameters.
DescribeTags
Each argument is described in detail in: Paws::Discovery::DisassociateConfigurationItemsFromApplication
Returns: a Paws::Discovery::DisassociateConfigurationItemsFromApplicationResponse instance
Disassociates one or more configuration items from an application.
Each argument is described in detail in: Paws::Discovery::ExportConfigurations
Returns: a Paws::Discovery::ExportConfigurationsResponse instance
Deprecated. Use StartExportTask instead.
StartExportTask
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.
Each argument is described in detail in: Paws::Discovery::GetDiscoverySummary
Returns: a Paws::Discovery::GetDiscoverySummaryResponse instance
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.
Each argument is described in detail in: Paws::Discovery::ListConfigurations
Returns: a Paws::Discovery::ListConfigurationsResponse instance
Retrieves a list of configuration items as specified by the value passed to the required paramater configurationType. Optional filtering may be applied to refine search results.
configurationType
Each argument is described in detail in: Paws::Discovery::ListServerNeighbors
Returns: a Paws::Discovery::ListServerNeighborsResponse instance
Retrieves a list of servers that are one network hop away from a specified server.
Each argument is described in detail in: Paws::Discovery::StartContinuousExport
Returns: a Paws::Discovery::StartContinuousExportResponse instance
Start the continuous flow of agent's discovered data into Amazon Athena.
Each argument is described in detail in: Paws::Discovery::StartDataCollectionByAgentIds
Returns: a Paws::Discovery::StartDataCollectionByAgentIdsResponse instance
Instructs the specified agents or connectors to start collecting data.
Each argument is described in detail in: Paws::Discovery::StartExportTask
Returns: a Paws::Discovery::StartExportTaskResponse instance
Begins the export of discovered data to an S3 bucket.
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.
agentIds
startTime
endTime
If you do not include an agentIds filter, summary data is exported that includes both AWS Agentless Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two exports per day.
Each argument is described in detail in: Paws::Discovery::StartImportTask
Returns: a Paws::Discovery::StartImportTaskResponse instance
Starts an import task, which allows you to import details of your on-premises environment directly into AWS without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or 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 (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 AWS CLI or one of the AWS SDKs to import the records from your file.
StartImportTask
For more information, including step-by-step procedures, see Migration Hub Import (https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-import.html) in the AWS Application Discovery Service User Guide.
There are limits to the number of import tasks you can create (and delete) in an AWS account. For more information, see AWS Application Discovery Service Limits (https://docs.aws.amazon.com/application-discovery/latest/userguide/ads_service_limits.html) in the AWS Application Discovery Service User Guide.
Each argument is described in detail in: Paws::Discovery::StopContinuousExport
Returns: a Paws::Discovery::StopContinuousExportResponse instance
Stop the continuous flow of agent's discovered data into Amazon Athena.
Each argument is described in detail in: Paws::Discovery::StopDataCollectionByAgentIds
Returns: a Paws::Discovery::StopDataCollectionByAgentIdsResponse instance
Instructs the specified agents or connectors to stop collecting data.
Each argument is described in detail in: Paws::Discovery::UpdateApplication
Returns: a Paws::Discovery::UpdateApplicationResponse instance
Updates metadata about an application.
Paginator methods are helpers that repetively call methods that return partial results
If passed a sub as first parameter, it will call the sub for each element found in :
- agentsInfo, passing the object as the first parameter, and the string 'agentsInfo' as the second parameter
If not, it will return a a Paws::Discovery::DescribeAgentsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
param
- descriptions, passing the object as the first parameter, and the string 'descriptions' as the second parameter
If not, it will return a a Paws::Discovery::DescribeContinuousExportsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
- exportsInfo, passing the object as the first parameter, and the string 'exportsInfo' as the second parameter
If not, it will return a a Paws::Discovery::DescribeExportConfigurationsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
If not, it will return a a Paws::Discovery::DescribeExportTasksResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
- tags, passing the object as the first parameter, and the string 'tags' as the second parameter
If not, it will return a a Paws::Discovery::DescribeTagsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
- configurations, passing the object as the first parameter, and the string 'configurations' as the second parameter
If not, it will return a a Paws::Discovery::ListConfigurationsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
This service class forms part of Paws
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.