Documentation ¶
Overview ¶
Package applicationdiscoveryservice provides the API client, operations, and parameter types for AWS Application Discovery Service.
Amazon Web Services 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.
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.
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.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AssociateConfigurationItemsToApplicationInput
- type AssociateConfigurationItemsToApplicationOutput
- type AuthResolverParameters
- type AuthSchemeResolver
- type BatchDeleteAgentsInput
- type BatchDeleteAgentsOutput
- type BatchDeleteImportDataInput
- type BatchDeleteImportDataOutput
- type Client
- func (c *Client) AssociateConfigurationItemsToApplication(ctx context.Context, params *AssociateConfigurationItemsToApplicationInput, ...) (*AssociateConfigurationItemsToApplicationOutput, error)
- func (c *Client) BatchDeleteAgents(ctx context.Context, params *BatchDeleteAgentsInput, optFns ...func(*Options)) (*BatchDeleteAgentsOutput, error)
- func (c *Client) BatchDeleteImportData(ctx context.Context, params *BatchDeleteImportDataInput, ...) (*BatchDeleteImportDataOutput, error)
- func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
- func (c *Client) CreateTags(ctx context.Context, params *CreateTagsInput, optFns ...func(*Options)) (*CreateTagsOutput, error)
- func (c *Client) DeleteApplications(ctx context.Context, params *DeleteApplicationsInput, optFns ...func(*Options)) (*DeleteApplicationsOutput, error)
- func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error)
- func (c *Client) DescribeAgents(ctx context.Context, params *DescribeAgentsInput, optFns ...func(*Options)) (*DescribeAgentsOutput, error)
- func (c *Client) DescribeBatchDeleteConfigurationTask(ctx context.Context, params *DescribeBatchDeleteConfigurationTaskInput, ...) (*DescribeBatchDeleteConfigurationTaskOutput, error)
- func (c *Client) DescribeConfigurations(ctx context.Context, params *DescribeConfigurationsInput, ...) (*DescribeConfigurationsOutput, error)
- func (c *Client) DescribeContinuousExports(ctx context.Context, params *DescribeContinuousExportsInput, ...) (*DescribeContinuousExportsOutput, error)
- func (c *Client) DescribeExportConfigurations(ctx context.Context, params *DescribeExportConfigurationsInput, ...) (*DescribeExportConfigurationsOutput, error)deprecated
- func (c *Client) DescribeExportTasks(ctx context.Context, params *DescribeExportTasksInput, ...) (*DescribeExportTasksOutput, error)
- func (c *Client) DescribeImportTasks(ctx context.Context, params *DescribeImportTasksInput, ...) (*DescribeImportTasksOutput, error)
- func (c *Client) DescribeTags(ctx context.Context, params *DescribeTagsInput, optFns ...func(*Options)) (*DescribeTagsOutput, error)
- func (c *Client) DisassociateConfigurationItemsFromApplication(ctx context.Context, ...) (*DisassociateConfigurationItemsFromApplicationOutput, error)
- func (c *Client) ExportConfigurations(ctx context.Context, params *ExportConfigurationsInput, ...) (*ExportConfigurationsOutput, error)deprecated
- func (c *Client) GetDiscoverySummary(ctx context.Context, params *GetDiscoverySummaryInput, ...) (*GetDiscoverySummaryOutput, error)
- func (c *Client) ListConfigurations(ctx context.Context, params *ListConfigurationsInput, optFns ...func(*Options)) (*ListConfigurationsOutput, error)
- func (c *Client) ListServerNeighbors(ctx context.Context, params *ListServerNeighborsInput, ...) (*ListServerNeighborsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) StartBatchDeleteConfigurationTask(ctx context.Context, params *StartBatchDeleteConfigurationTaskInput, ...) (*StartBatchDeleteConfigurationTaskOutput, error)
- func (c *Client) StartContinuousExport(ctx context.Context, params *StartContinuousExportInput, ...) (*StartContinuousExportOutput, error)
- func (c *Client) StartDataCollectionByAgentIds(ctx context.Context, params *StartDataCollectionByAgentIdsInput, ...) (*StartDataCollectionByAgentIdsOutput, error)
- func (c *Client) StartExportTask(ctx context.Context, params *StartExportTaskInput, optFns ...func(*Options)) (*StartExportTaskOutput, error)
- func (c *Client) StartImportTask(ctx context.Context, params *StartImportTaskInput, optFns ...func(*Options)) (*StartImportTaskOutput, error)
- func (c *Client) StopContinuousExport(ctx context.Context, params *StopContinuousExportInput, ...) (*StopContinuousExportOutput, error)
- func (c *Client) StopDataCollectionByAgentIds(ctx context.Context, params *StopDataCollectionByAgentIdsInput, ...) (*StopDataCollectionByAgentIdsOutput, error)
- func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateTagsInput
- type CreateTagsOutput
- type DeleteApplicationsInput
- type DeleteApplicationsOutput
- type DeleteTagsInput
- type DeleteTagsOutput
- type DescribeAgentsAPIClient
- type DescribeAgentsInput
- type DescribeAgentsOutput
- type DescribeAgentsPaginator
- type DescribeAgentsPaginatorOptions
- type DescribeBatchDeleteConfigurationTaskInput
- type DescribeBatchDeleteConfigurationTaskOutput
- type DescribeConfigurationsInput
- type DescribeConfigurationsOutput
- type DescribeContinuousExportsAPIClient
- type DescribeContinuousExportsInput
- type DescribeContinuousExportsOutput
- type DescribeContinuousExportsPaginator
- type DescribeContinuousExportsPaginatorOptions
- type DescribeExportConfigurationsAPIClient
- type DescribeExportConfigurationsInput
- type DescribeExportConfigurationsOutput
- type DescribeExportConfigurationsPaginator
- type DescribeExportConfigurationsPaginatorOptions
- type DescribeExportTasksAPIClient
- type DescribeExportTasksInput
- type DescribeExportTasksOutput
- type DescribeExportTasksPaginator
- type DescribeExportTasksPaginatorOptions
- type DescribeImportTasksAPIClient
- type DescribeImportTasksInput
- type DescribeImportTasksOutput
- type DescribeImportTasksPaginator
- type DescribeImportTasksPaginatorOptions
- type DescribeTagsAPIClient
- type DescribeTagsInput
- type DescribeTagsOutput
- type DescribeTagsPaginator
- type DescribeTagsPaginatorOptions
- type DisassociateConfigurationItemsFromApplicationInput
- type DisassociateConfigurationItemsFromApplicationOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type ExportConfigurationsInput
- type ExportConfigurationsOutput
- type GetDiscoverySummaryInput
- type GetDiscoverySummaryOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListConfigurationsAPIClient
- type ListConfigurationsInput
- type ListConfigurationsOutput
- type ListConfigurationsPaginator
- type ListConfigurationsPaginatorOptions
- type ListServerNeighborsInput
- type ListServerNeighborsOutput
- type Options
- type ResolveEndpoint
- type StartBatchDeleteConfigurationTaskInput
- type StartBatchDeleteConfigurationTaskOutput
- type StartContinuousExportInput
- type StartContinuousExportOutput
- type StartDataCollectionByAgentIdsInput
- type StartDataCollectionByAgentIdsOutput
- type StartExportTaskInput
- type StartExportTaskOutput
- type StartImportTaskInput
- type StartImportTaskOutput
- type StopContinuousExportInput
- type StopContinuousExportOutput
- type StopDataCollectionByAgentIdsInput
- type StopDataCollectionByAgentIdsOutput
- type UpdateApplicationInput
- type UpdateApplicationOutput
Constants ¶
const ServiceAPIVersion = "2015-11-01"
const ServiceID = "Application Discovery Service"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AssociateConfigurationItemsToApplicationInput ¶
type AssociateConfigurationItemsToApplicationInput struct { // The configuration ID of an application with which items are to be associated. // // This member is required. ApplicationConfigurationId *string // The ID of each configuration item to be associated with an application. // // This member is required. ConfigurationIds []string // contains filtered or unexported fields }
type AssociateConfigurationItemsToApplicationOutput ¶
type AssociateConfigurationItemsToApplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type BatchDeleteAgentsInput ¶
type BatchDeleteAgentsInput struct { // The list of agents to delete. // // This member is required. DeleteAgents []types.DeleteAgent // contains filtered or unexported fields }
type BatchDeleteAgentsOutput ¶
type BatchDeleteAgentsOutput struct { // A list of agent IDs that failed to delete during the deletion task, each // paired with an error message. Errors []types.BatchDeleteAgentError // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchDeleteImportDataInput ¶
type BatchDeleteImportDataOutput ¶
type BatchDeleteImportDataOutput struct { // Error messages returned for each import task that you deleted as a response for // this command. Errors []types.BatchDeleteImportDataError // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Application Discovery Service.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateConfigurationItemsToApplication ¶
func (c *Client) AssociateConfigurationItemsToApplication(ctx context.Context, params *AssociateConfigurationItemsToApplicationInput, optFns ...func(*Options)) (*AssociateConfigurationItemsToApplicationOutput, error)
Associates one or more configuration items with an application.
func (*Client) BatchDeleteAgents ¶
func (c *Client) BatchDeleteAgents(ctx context.Context, params *BatchDeleteAgentsInput, optFns ...func(*Options)) (*BatchDeleteAgentsOutput, error)
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 .
func (*Client) BatchDeleteImportData ¶
func (c *Client) BatchDeleteImportData(ctx context.Context, params *BatchDeleteImportDataInput, optFns ...func(*Options)) (*BatchDeleteImportDataOutput, error)
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.
func (*Client) CreateApplication ¶
func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
Creates an application with the given name and description.
func (*Client) CreateTags ¶
func (c *Client) CreateTags(ctx context.Context, params *CreateTagsInput, optFns ...func(*Options)) (*CreateTagsOutput, error)
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.
Do not store sensitive information (like personal data) in tags.
func (*Client) DeleteApplications ¶
func (c *Client) DeleteApplications(ctx context.Context, params *DeleteApplicationsInput, optFns ...func(*Options)) (*DeleteApplicationsOutput, error)
Deletes a list of applications and their associations with configuration items.
func (*Client) DeleteTags ¶
func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error)
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
func (*Client) DescribeAgents ¶
func (c *Client) DescribeAgents(ctx context.Context, params *DescribeAgentsInput, optFns ...func(*Options)) (*DescribeAgentsOutput, error)
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.
func (*Client) DescribeBatchDeleteConfigurationTask ¶
func (c *Client) DescribeBatchDeleteConfigurationTask(ctx context.Context, params *DescribeBatchDeleteConfigurationTaskInput, optFns ...func(*Options)) (*DescribeBatchDeleteConfigurationTaskOutput, error)
Takes a unique deletion task identifier as input and returns metadata about a
configuration deletion task.
func (*Client) DescribeConfigurations ¶
func (c *Client) DescribeConfigurations(ctx context.Context, params *DescribeConfigurationsInput, optFns ...func(*Options)) (*DescribeConfigurationsOutput, error)
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 in the Amazon Web Services Application Discovery Service User Guide.
func (*Client) DescribeContinuousExports ¶
func (c *Client) DescribeContinuousExports(ctx context.Context, params *DescribeContinuousExportsInput, optFns ...func(*Options)) (*DescribeContinuousExportsOutput, error)
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.
func (*Client) DescribeExportConfigurations
deprecated
func (c *Client) DescribeExportConfigurations(ctx context.Context, params *DescribeExportConfigurationsInput, optFns ...func(*Options)) (*DescribeExportConfigurationsOutput, error)
DescribeExportConfigurations is deprecated. Use DescribeExportTasks, instead.
Deprecated: This operation has been deprecated.
func (*Client) DescribeExportTasks ¶
func (c *Client) DescribeExportTasks(ctx context.Context, params *DescribeExportTasksInput, optFns ...func(*Options)) (*DescribeExportTasksOutput, error)
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
func (*Client) DescribeImportTasks ¶
func (c *Client) DescribeImportTasks(ctx context.Context, params *DescribeImportTasksInput, optFns ...func(*Options)) (*DescribeImportTasksOutput, error)
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.
func (*Client) DescribeTags ¶
func (c *Client) DescribeTags(ctx context.Context, params *DescribeTagsInput, optFns ...func(*Options)) (*DescribeTagsOutput, error)
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.
func (*Client) DisassociateConfigurationItemsFromApplication ¶
func (c *Client) DisassociateConfigurationItemsFromApplication(ctx context.Context, params *DisassociateConfigurationItemsFromApplicationInput, optFns ...func(*Options)) (*DisassociateConfigurationItemsFromApplicationOutput, error)
Disassociates one or more configuration items from an application.
func (*Client) ExportConfigurations
deprecated
func (c *Client) ExportConfigurations(ctx context.Context, params *ExportConfigurationsInput, optFns ...func(*Options)) (*ExportConfigurationsOutput, error)
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.
Deprecated: This operation has been deprecated.
func (*Client) GetDiscoverySummary ¶
func (c *Client) GetDiscoverySummary(ctx context.Context, params *GetDiscoverySummaryInput, optFns ...func(*Options)) (*GetDiscoverySummaryOutput, error)
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.
func (*Client) ListConfigurations ¶
func (c *Client) ListConfigurations(ctx context.Context, params *ListConfigurationsInput, optFns ...func(*Options)) (*ListConfigurationsOutput, error)
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.
func (*Client) ListServerNeighbors ¶
func (c *Client) ListServerNeighbors(ctx context.Context, params *ListServerNeighborsInput, optFns ...func(*Options)) (*ListServerNeighborsOutput, error)
Retrieves a list of servers that are one network hop away from a specified server.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) StartBatchDeleteConfigurationTask ¶
func (c *Client) StartBatchDeleteConfigurationTask(ctx context.Context, params *StartBatchDeleteConfigurationTaskInput, optFns ...func(*Options)) (*StartBatchDeleteConfigurationTaskOutput, error)
Takes a list of configurationId as input and starts an asynchronous deletion
task to remove the configurationItems. Returns a unique deletion task identifier.
func (*Client) StartContinuousExport ¶
func (c *Client) StartContinuousExport(ctx context.Context, params *StartContinuousExportInput, optFns ...func(*Options)) (*StartContinuousExportOutput, error)
Start the continuous flow of agent's discovered data into Amazon Athena.
func (*Client) StartDataCollectionByAgentIds ¶
func (c *Client) StartDataCollectionByAgentIds(ctx context.Context, params *StartDataCollectionByAgentIdsInput, optFns ...func(*Options)) (*StartDataCollectionByAgentIdsOutput, error)
Instructs the specified agents to start collecting data.
func (*Client) StartExportTask ¶
func (c *Client) StartExportTask(ctx context.Context, params *StartExportTaskInput, optFns ...func(*Options)) (*StartExportTaskOutput, error)
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
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.
func (*Client) StartImportTask ¶
func (c *Client) StartImportTask(ctx context.Context, params *StartImportTaskInput, optFns ...func(*Options)) (*StartImportTaskOutput, error)
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.
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 Limitsin the Amazon Web Services Application Discovery Service User Guide.
func (*Client) StopContinuousExport ¶
func (c *Client) StopContinuousExport(ctx context.Context, params *StopContinuousExportInput, optFns ...func(*Options)) (*StopContinuousExportOutput, error)
Stop the continuous flow of agent's discovered data into Amazon Athena.
func (*Client) StopDataCollectionByAgentIds ¶
func (c *Client) StopDataCollectionByAgentIds(ctx context.Context, params *StopDataCollectionByAgentIdsInput, optFns ...func(*Options)) (*StopDataCollectionByAgentIdsOutput, error)
Instructs the specified agents to stop collecting data.
func (*Client) UpdateApplication ¶
func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
Updates metadata about an application.
type CreateApplicationInput ¶
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // Configuration ID of an application to be created. ConfigurationId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateTagsInput ¶
type CreateTagsInput struct { // A list of configuration items that you want to tag. // // This member is required. ConfigurationIds []string // 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"} // // This member is required. Tags []types.Tag // contains filtered or unexported fields }
type CreateTagsOutput ¶
type CreateTagsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteApplicationsInput ¶
type DeleteApplicationsInput struct { // Configuration ID of an application to be deleted. // // This member is required. ConfigurationIds []string // contains filtered or unexported fields }
type DeleteApplicationsOutput ¶
type DeleteApplicationsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTagsInput ¶
type DeleteTagsInput struct { // A list of configuration items with tags that you want to delete. // // This member is required. ConfigurationIds []string // 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"} Tags []types.Tag // contains filtered or unexported fields }
type DeleteTagsOutput ¶
type DeleteTagsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAgentsAPIClient ¶
type DescribeAgentsAPIClient interface {
DescribeAgents(context.Context, *DescribeAgentsInput, ...func(*Options)) (*DescribeAgentsOutput, error)
}
DescribeAgentsAPIClient is a client that implements the DescribeAgents operation.
type DescribeAgentsInput ¶
type DescribeAgentsInput struct { // 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. AgentIds []string // You can filter the request using various logical operators and a key-value // format. For example: // // {"key": "collectionStatus", "value": "STARTED"} Filters []types.Filter // The total number of agents/collectors to return in a single page of output. The // maximum value is 100. MaxResults int32 // 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. NextToken *string // contains filtered or unexported fields }
type DescribeAgentsOutput ¶
type DescribeAgentsOutput struct { // 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. AgentsInfo []types.AgentInfo // 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. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAgentsPaginator ¶
type DescribeAgentsPaginator struct {
// contains filtered or unexported fields
}
DescribeAgentsPaginator is a paginator for DescribeAgents
func NewDescribeAgentsPaginator ¶
func NewDescribeAgentsPaginator(client DescribeAgentsAPIClient, params *DescribeAgentsInput, optFns ...func(*DescribeAgentsPaginatorOptions)) *DescribeAgentsPaginator
NewDescribeAgentsPaginator returns a new DescribeAgentsPaginator
func (*DescribeAgentsPaginator) HasMorePages ¶
func (p *DescribeAgentsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeAgentsPaginator) NextPage ¶
func (p *DescribeAgentsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAgentsOutput, error)
NextPage retrieves the next DescribeAgents page.
type DescribeAgentsPaginatorOptions ¶
type DescribeAgentsPaginatorOptions struct { // The total number of agents/collectors to return in a single page of output. The // maximum value is 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeAgentsPaginatorOptions is the paginator options for DescribeAgents
type DescribeBatchDeleteConfigurationTaskInput ¶
type DescribeBatchDeleteConfigurationTaskInput struct { // The ID of the task to delete. // // This member is required. TaskId *string // contains filtered or unexported fields }
type DescribeBatchDeleteConfigurationTaskOutput ¶
type DescribeBatchDeleteConfigurationTaskOutput struct { // The BatchDeleteConfigurationTask that represents the deletion task being // executed. Task *types.BatchDeleteConfigurationTask // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeConfigurationsInput ¶
type DescribeConfigurationsInput struct { // One or more configuration IDs. // // This member is required. ConfigurationIds []string // contains filtered or unexported fields }
type DescribeConfigurationsOutput ¶
type DescribeConfigurationsOutput struct { // A key in the response map. The value is an array of data. Configurations []map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeContinuousExportsAPIClient ¶
type DescribeContinuousExportsAPIClient interface {
DescribeContinuousExports(context.Context, *DescribeContinuousExportsInput, ...func(*Options)) (*DescribeContinuousExportsOutput, error)
}
DescribeContinuousExportsAPIClient is a client that implements the DescribeContinuousExports operation.
type DescribeContinuousExportsInput ¶
type DescribeContinuousExportsInput struct { // The unique IDs assigned to the exports. ExportIds []string // A number between 1 and 100 specifying the maximum number of continuous export // descriptions returned. MaxResults *int32 // The token from the previous call to DescribeExportTasks . NextToken *string // contains filtered or unexported fields }
type DescribeContinuousExportsOutput ¶
type DescribeContinuousExportsOutput struct { // A list of continuous export descriptions. Descriptions []types.ContinuousExportDescription // The token from the previous call to DescribeExportTasks . NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeContinuousExportsPaginator ¶
type DescribeContinuousExportsPaginator struct {
// contains filtered or unexported fields
}
DescribeContinuousExportsPaginator is a paginator for DescribeContinuousExports
func NewDescribeContinuousExportsPaginator ¶
func NewDescribeContinuousExportsPaginator(client DescribeContinuousExportsAPIClient, params *DescribeContinuousExportsInput, optFns ...func(*DescribeContinuousExportsPaginatorOptions)) *DescribeContinuousExportsPaginator
NewDescribeContinuousExportsPaginator returns a new DescribeContinuousExportsPaginator
func (*DescribeContinuousExportsPaginator) HasMorePages ¶
func (p *DescribeContinuousExportsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeContinuousExportsPaginator) NextPage ¶
func (p *DescribeContinuousExportsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeContinuousExportsOutput, error)
NextPage retrieves the next DescribeContinuousExports page.
type DescribeContinuousExportsPaginatorOptions ¶
type DescribeContinuousExportsPaginatorOptions struct { // A number between 1 and 100 specifying the maximum number of continuous export // descriptions returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeContinuousExportsPaginatorOptions is the paginator options for DescribeContinuousExports
type DescribeExportConfigurationsAPIClient ¶
type DescribeExportConfigurationsAPIClient interface {
DescribeExportConfigurations(context.Context, *DescribeExportConfigurationsInput, ...func(*Options)) (*DescribeExportConfigurationsOutput, error)
}
DescribeExportConfigurationsAPIClient is a client that implements the DescribeExportConfigurations operation.
type DescribeExportConfigurationsInput ¶
type DescribeExportConfigurationsInput struct { // A list of continuous export IDs to search for. ExportIds []string // A number between 1 and 100 specifying the maximum number of continuous export // descriptions returned. MaxResults int32 // The token from the previous call to describe-export-tasks. NextToken *string // contains filtered or unexported fields }
type DescribeExportConfigurationsOutput ¶
type DescribeExportConfigurationsOutput struct { // ExportsInfo []types.ExportInfo // The token from the previous call to describe-export-tasks. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeExportConfigurationsPaginator ¶
type DescribeExportConfigurationsPaginator struct {
// contains filtered or unexported fields
}
DescribeExportConfigurationsPaginator is a paginator for DescribeExportConfigurations
func NewDescribeExportConfigurationsPaginator ¶
func NewDescribeExportConfigurationsPaginator(client DescribeExportConfigurationsAPIClient, params *DescribeExportConfigurationsInput, optFns ...func(*DescribeExportConfigurationsPaginatorOptions)) *DescribeExportConfigurationsPaginator
NewDescribeExportConfigurationsPaginator returns a new DescribeExportConfigurationsPaginator
func (*DescribeExportConfigurationsPaginator) HasMorePages ¶
func (p *DescribeExportConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeExportConfigurationsPaginator) NextPage ¶
func (p *DescribeExportConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeExportConfigurationsOutput, error)
NextPage retrieves the next DescribeExportConfigurations page.
type DescribeExportConfigurationsPaginatorOptions ¶
type DescribeExportConfigurationsPaginatorOptions struct { // A number between 1 and 100 specifying the maximum number of continuous export // descriptions returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeExportConfigurationsPaginatorOptions is the paginator options for DescribeExportConfigurations
type DescribeExportTasksAPIClient ¶
type DescribeExportTasksAPIClient interface {
DescribeExportTasks(context.Context, *DescribeExportTasksInput, ...func(*Options)) (*DescribeExportTasksOutput, error)
}
DescribeExportTasksAPIClient is a client that implements the DescribeExportTasks operation.
type DescribeExportTasksInput ¶
type DescribeExportTasksInput struct { // One or more unique identifiers used to query the status of an export request. ExportIds []string // One or more filters. // // - AgentId - ID of the agent whose collected data will be exported Filters []types.ExportFilter // 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. MaxResults int32 // 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. NextToken *string // contains filtered or unexported fields }
type DescribeExportTasksOutput ¶
type DescribeExportTasksOutput struct { // 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. ExportsInfo []types.ExportInfo // 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. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeExportTasksPaginator ¶
type DescribeExportTasksPaginator struct {
// contains filtered or unexported fields
}
DescribeExportTasksPaginator is a paginator for DescribeExportTasks
func NewDescribeExportTasksPaginator ¶
func NewDescribeExportTasksPaginator(client DescribeExportTasksAPIClient, params *DescribeExportTasksInput, optFns ...func(*DescribeExportTasksPaginatorOptions)) *DescribeExportTasksPaginator
NewDescribeExportTasksPaginator returns a new DescribeExportTasksPaginator
func (*DescribeExportTasksPaginator) HasMorePages ¶
func (p *DescribeExportTasksPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeExportTasksPaginator) NextPage ¶
func (p *DescribeExportTasksPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeExportTasksOutput, error)
NextPage retrieves the next DescribeExportTasks page.
type DescribeExportTasksPaginatorOptions ¶
type DescribeExportTasksPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeExportTasksPaginatorOptions is the paginator options for DescribeExportTasks
type DescribeImportTasksAPIClient ¶
type DescribeImportTasksAPIClient interface {
DescribeImportTasks(context.Context, *DescribeImportTasksInput, ...func(*Options)) (*DescribeImportTasksOutput, error)
}
DescribeImportTasksAPIClient is a client that implements the DescribeImportTasks operation.
type DescribeImportTasksInput ¶
type DescribeImportTasksInput struct { // 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. Filters []types.ImportTaskFilter // The maximum number of results that you want this request to return, up to 100. MaxResults *int32 // The token to request a specific page of results. NextToken *string // contains filtered or unexported fields }
type DescribeImportTasksOutput ¶
type DescribeImportTasksOutput struct { // The token to request the next page of results. NextToken *string // A returned array of import tasks that match any applied filters, up to the // specified number of maximum results. Tasks []types.ImportTask // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeImportTasksPaginator ¶
type DescribeImportTasksPaginator struct {
// contains filtered or unexported fields
}
DescribeImportTasksPaginator is a paginator for DescribeImportTasks
func NewDescribeImportTasksPaginator ¶
func NewDescribeImportTasksPaginator(client DescribeImportTasksAPIClient, params *DescribeImportTasksInput, optFns ...func(*DescribeImportTasksPaginatorOptions)) *DescribeImportTasksPaginator
NewDescribeImportTasksPaginator returns a new DescribeImportTasksPaginator
func (*DescribeImportTasksPaginator) HasMorePages ¶
func (p *DescribeImportTasksPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeImportTasksPaginator) NextPage ¶
func (p *DescribeImportTasksPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeImportTasksOutput, error)
NextPage retrieves the next DescribeImportTasks page.
type DescribeImportTasksPaginatorOptions ¶
type DescribeImportTasksPaginatorOptions struct { // The maximum number of results that you want this request to return, up to 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeImportTasksPaginatorOptions is the paginator options for DescribeImportTasks
type DescribeTagsAPIClient ¶
type DescribeTagsAPIClient interface {
DescribeTags(context.Context, *DescribeTagsInput, ...func(*Options)) (*DescribeTagsOutput, error)
}
DescribeTagsAPIClient is a client that implements the DescribeTags operation.
type DescribeTagsInput ¶
type DescribeTagsInput struct { // 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 . Filters []types.TagFilter // The total number of items to return in a single page of output. The maximum // value is 100. MaxResults int32 // A token to start the list. Use this token to get the next set of results. NextToken *string // contains filtered or unexported fields }
type DescribeTagsOutput ¶
type DescribeTagsOutput struct { // The call returns a token. Use this token to get the next set of results. NextToken *string // 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. Tags []types.ConfigurationTag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeTagsPaginator ¶
type DescribeTagsPaginator struct {
// contains filtered or unexported fields
}
DescribeTagsPaginator is a paginator for DescribeTags
func NewDescribeTagsPaginator ¶
func NewDescribeTagsPaginator(client DescribeTagsAPIClient, params *DescribeTagsInput, optFns ...func(*DescribeTagsPaginatorOptions)) *DescribeTagsPaginator
NewDescribeTagsPaginator returns a new DescribeTagsPaginator
func (*DescribeTagsPaginator) HasMorePages ¶
func (p *DescribeTagsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeTagsPaginator) NextPage ¶
func (p *DescribeTagsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeTagsOutput, error)
NextPage retrieves the next DescribeTags page.
type DescribeTagsPaginatorOptions ¶
type DescribeTagsPaginatorOptions struct { // The total number of items to return in a single page of output. The maximum // value is 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeTagsPaginatorOptions is the paginator options for DescribeTags
type DisassociateConfigurationItemsFromApplicationInput ¶
type DisassociateConfigurationItemsFromApplicationInput struct { // Configuration ID of an application from which each item is disassociated. // // This member is required. ApplicationConfigurationId *string // Configuration ID of each item to be disassociated from an application. // // This member is required. ConfigurationIds []string // contains filtered or unexported fields }
type DisassociateConfigurationItemsFromApplicationOutput ¶
type DisassociateConfigurationItemsFromApplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type ExportConfigurationsInput ¶
type ExportConfigurationsInput struct {
// contains filtered or unexported fields
}
type ExportConfigurationsOutput ¶
type ExportConfigurationsOutput struct { // A unique identifier that you can use to query the export status. ExportId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDiscoverySummaryInput ¶
type GetDiscoverySummaryInput struct {
// contains filtered or unexported fields
}
type GetDiscoverySummaryOutput ¶
type GetDiscoverySummaryOutput struct { // Details about discovered agents, including agent status and health. AgentSummary *types.CustomerAgentInfo // Details about Agentless Collector collectors, including status. AgentlessCollectorSummary *types.CustomerAgentlessCollectorInfo // The number of applications discovered. Applications int64 // Details about discovered connectors, including connector status and health. ConnectorSummary *types.CustomerConnectorInfo // Details about Migration Evaluator collectors, including collector status and // health. MeCollectorSummary *types.CustomerMeCollectorInfo // The number of servers discovered. Servers int64 // The number of servers mapped to applications. ServersMappedToApplications int64 // The number of servers mapped to tags. ServersMappedtoTags int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListConfigurationsAPIClient ¶
type ListConfigurationsAPIClient interface {
ListConfigurations(context.Context, *ListConfigurationsInput, ...func(*Options)) (*ListConfigurationsOutput, error)
}
ListConfigurationsAPIClient is a client that implements the ListConfigurations operation.
type ListConfigurationsInput ¶
type ListConfigurationsInput struct { // A valid configuration identified by Application Discovery Service. // // This member is required. ConfigurationType types.ConfigurationItemType // 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. // // [Using the ListConfigurations Action]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations Filters []types.Filter // The total number of items to return. The maximum value is 100. MaxResults int32 // 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. NextToken *string // 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. // // [Using the ListConfigurations Action]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations OrderBy []types.OrderByElement // contains filtered or unexported fields }
type ListConfigurationsOutput ¶
type ListConfigurationsOutput struct { // Returns configuration details, including the configuration ID, attribute names, // and attribute values. Configurations []map[string]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. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListConfigurationsPaginator ¶
type ListConfigurationsPaginator struct {
// contains filtered or unexported fields
}
ListConfigurationsPaginator is a paginator for ListConfigurations
func NewListConfigurationsPaginator ¶
func NewListConfigurationsPaginator(client ListConfigurationsAPIClient, params *ListConfigurationsInput, optFns ...func(*ListConfigurationsPaginatorOptions)) *ListConfigurationsPaginator
NewListConfigurationsPaginator returns a new ListConfigurationsPaginator
func (*ListConfigurationsPaginator) HasMorePages ¶
func (p *ListConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListConfigurationsPaginator) NextPage ¶
func (p *ListConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListConfigurationsOutput, error)
NextPage retrieves the next ListConfigurations page.
type ListConfigurationsPaginatorOptions ¶
type ListConfigurationsPaginatorOptions struct { // The total number of items to return. The maximum value is 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListConfigurationsPaginatorOptions is the paginator options for ListConfigurations
type ListServerNeighborsInput ¶
type ListServerNeighborsInput struct { // Configuration ID of the server for which neighbors are being listed. // // This member is required. ConfigurationId *string // Maximum number of results to return in a single page of output. MaxResults int32 // List of configuration IDs to test for one-hop-away. NeighborConfigurationIds []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. NextToken *string // Flag to indicate if port and protocol information is needed as part of the // response. PortInformationNeeded bool // contains filtered or unexported fields }
type ListServerNeighborsOutput ¶
type ListServerNeighborsOutput struct { // List of distinct servers that are one hop away from the given server. // // This member is required. Neighbors []types.NeighborConnectionDetail // Count of distinct servers that are one hop away from the given server. KnownDependencyCount int64 // 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. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartBatchDeleteConfigurationTaskInput ¶
type StartBatchDeleteConfigurationTaskInput struct { // The list of configuration IDs that will be deleted by the task. // // This member is required. ConfigurationIds []string // The type of configuration item to delete. Supported types are: SERVER. // // This member is required. ConfigurationType types.DeletionConfigurationItemType // contains filtered or unexported fields }
type StartBatchDeleteConfigurationTaskOutput ¶
type StartBatchDeleteConfigurationTaskOutput struct { // The unique identifier associated with the newly started deletion task. TaskId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartContinuousExportInput ¶
type StartContinuousExportInput struct {
// contains filtered or unexported fields
}
type StartContinuousExportOutput ¶
type StartContinuousExportOutput struct { // The type of data collector used to gather this data (currently only offered for // AGENT). DataSource types.DataSource // The unique ID assigned to this export. ExportId *string // The name of the s3 bucket where the export data parquet files are stored. S3Bucket *string // A dictionary which describes how the data is stored. // // - databaseName - the name of the Glue database used to store the schema. SchemaStorageConfig map[string]string // The timestamp representing when the continuous export was started. StartTime *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartDataCollectionByAgentIdsInput ¶
type StartDataCollectionByAgentIdsInput struct { // 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. // // This member is required. AgentIds []string // contains filtered or unexported fields }
type StartDataCollectionByAgentIdsOutput ¶
type StartDataCollectionByAgentIdsOutput struct { // 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. AgentsConfigurationStatus []types.AgentConfigurationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartExportTaskInput ¶
type StartExportTaskInput struct { // 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. EndTime *time.Time // The file format for the returned export data. Default value is CSV . Note: The // GRAPHML option has been deprecated. ExportDataFormat []types.ExportDataFormat // 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. Filters []types.ExportFilter // Indicates the type of data that needs to be exported. Only one [ExportPreferences] can be enabled // at any time. // // [ExportPreferences]: https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_ExportPreferences.html Preferences types.ExportPreferences // 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. StartTime *time.Time // contains filtered or unexported fields }
type StartExportTaskOutput ¶
type StartExportTaskOutput struct { // A unique identifier used to query the status of an export request. ExportId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartImportTaskInput ¶
type StartImportTaskInput struct { // The URL for your import file that you've uploaded to Amazon S3. // // If you're using the Amazon Web Services CLI, this URL is structured as follows: // s3://BucketName/ImportFileName.CSV // // This member is required. ImportUrl *string // 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. // // This member is required. Name *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. ClientRequestToken *string // contains filtered or unexported fields }
type StartImportTaskOutput ¶
type StartImportTaskOutput struct { // 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. Task *types.ImportTask // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopContinuousExportInput ¶
type StopContinuousExportInput struct { // The unique ID assigned to this export. // // This member is required. ExportId *string // contains filtered or unexported fields }
type StopContinuousExportOutput ¶
type StopContinuousExportOutput struct { // Timestamp that represents when this continuous export started collecting data. StartTime *time.Time // Timestamp that represents when this continuous export was stopped. StopTime *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopDataCollectionByAgentIdsInput ¶
type StopDataCollectionByAgentIdsInput struct { // The IDs of the agents from which to stop collecting data. // // This member is required. AgentIds []string // contains filtered or unexported fields }
type StopDataCollectionByAgentIdsOutput ¶
type StopDataCollectionByAgentIdsOutput struct { // 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. AgentsConfigurationStatus []types.AgentConfigurationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateApplicationInput ¶
type UpdateApplicationInput struct { // Configuration ID of the application to be updated. // // This member is required. ConfigurationId *string // New description of the application to be updated. Description *string // New name of the application to be updated. Name *string // contains filtered or unexported fields }
type UpdateApplicationOutput ¶
type UpdateApplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_AssociateConfigurationItemsToApplication.go
- api_op_BatchDeleteAgents.go
- api_op_BatchDeleteImportData.go
- api_op_CreateApplication.go
- api_op_CreateTags.go
- api_op_DeleteApplications.go
- api_op_DeleteTags.go
- api_op_DescribeAgents.go
- api_op_DescribeBatchDeleteConfigurationTask.go
- api_op_DescribeConfigurations.go
- api_op_DescribeContinuousExports.go
- api_op_DescribeExportConfigurations.go
- api_op_DescribeExportTasks.go
- api_op_DescribeImportTasks.go
- api_op_DescribeTags.go
- api_op_DisassociateConfigurationItemsFromApplication.go
- api_op_ExportConfigurations.go
- api_op_GetDiscoverySummary.go
- api_op_ListConfigurations.go
- api_op_ListServerNeighbors.go
- api_op_StartBatchDeleteConfigurationTask.go
- api_op_StartContinuousExport.go
- api_op_StartDataCollectionByAgentIds.go
- api_op_StartExportTask.go
- api_op_StartImportTask.go
- api_op_StopContinuousExport.go
- api_op_StopDataCollectionByAgentIds.go
- api_op_UpdateApplication.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go