Documentation ¶
Overview ¶
Package applicationdiscoveryservice provides the client and types for making API requests to AWS Application Discovery Service.
AWS 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 AWS Application Discovery Service FAQ (http://aws.amazon.com/application-discovery/faqs/). Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers:
Agentless discovery is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. It does not work in non-VMware environments. 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 network dependencies, only agent-based discovery collects that information.
Agent-based discovery 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 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 cloud.
AWS Partner Network (APN) solutions integrate with Application Discovery Service, enabling you to import details of your on-premises environment directly into Migration Hub without using the discovery connector or discovery agent. Third-party application discovery tools can query AWS 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.
Recommendations ¶
We recommend that you use agent-based discovery for non-VMware environments, and whenever you want to collect information about network dependencies. You can run agent-based and agentless discovery simultaneously. Use agentless discovery to complete the initial infrastructure assessment quickly, and then install agents on select hosts to collect additional information.
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 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).
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 AWS Application Discovery Service User Guide (http://docs.aws.amazon.com/application-discovery/latest/userguide/).
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.
See https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01 for more information on this service.
See applicationdiscoveryservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/applicationdiscoveryservice/
Using the Client ¶
To use AWS Application Discovery Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Application Discovery Service client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/applicationdiscoveryservice/#New
Index ¶
- Constants
- type AgentConfigurationStatus
- type AgentInfo
- type AgentNetworkInfo
- type AgentStatus
- type AssociateConfigurationItemsToApplicationInput
- type AssociateConfigurationItemsToApplicationOutput
- type AssociateConfigurationItemsToApplicationRequest
- type AssociateConfigurationItemsToApplicationResponse
- type BatchDeleteImportDataError
- type BatchDeleteImportDataErrorCode
- type BatchDeleteImportDataInput
- type BatchDeleteImportDataOutput
- type BatchDeleteImportDataRequest
- type BatchDeleteImportDataResponse
- type Client
- func (c *Client) AssociateConfigurationItemsToApplicationRequest(input *AssociateConfigurationItemsToApplicationInput) AssociateConfigurationItemsToApplicationRequest
- func (c *Client) BatchDeleteImportDataRequest(input *BatchDeleteImportDataInput) BatchDeleteImportDataRequest
- func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
- func (c *Client) CreateTagsRequest(input *CreateTagsInput) CreateTagsRequest
- func (c *Client) DeleteApplicationsRequest(input *DeleteApplicationsInput) DeleteApplicationsRequest
- func (c *Client) DeleteTagsRequest(input *DeleteTagsInput) DeleteTagsRequest
- func (c *Client) DescribeAgentsRequest(input *DescribeAgentsInput) DescribeAgentsRequest
- func (c *Client) DescribeConfigurationsRequest(input *DescribeConfigurationsInput) DescribeConfigurationsRequest
- func (c *Client) DescribeContinuousExportsRequest(input *DescribeContinuousExportsInput) DescribeContinuousExportsRequest
- func (c *Client) DescribeExportConfigurationsRequest(input *DescribeExportConfigurationsInput) DescribeExportConfigurationsRequest
- func (c *Client) DescribeExportTasksRequest(input *DescribeExportTasksInput) DescribeExportTasksRequest
- func (c *Client) DescribeImportTasksRequest(input *DescribeImportTasksInput) DescribeImportTasksRequest
- func (c *Client) DescribeTagsRequest(input *DescribeTagsInput) DescribeTagsRequest
- func (c *Client) DisassociateConfigurationItemsFromApplicationRequest(input *DisassociateConfigurationItemsFromApplicationInput) DisassociateConfigurationItemsFromApplicationRequest
- func (c *Client) ExportConfigurationsRequest(input *ExportConfigurationsInput) ExportConfigurationsRequest
- func (c *Client) GetDiscoverySummaryRequest(input *GetDiscoverySummaryInput) GetDiscoverySummaryRequest
- func (c *Client) ListConfigurationsRequest(input *ListConfigurationsInput) ListConfigurationsRequest
- func (c *Client) ListServerNeighborsRequest(input *ListServerNeighborsInput) ListServerNeighborsRequest
- func (c *Client) StartContinuousExportRequest(input *StartContinuousExportInput) StartContinuousExportRequest
- func (c *Client) StartDataCollectionByAgentIdsRequest(input *StartDataCollectionByAgentIdsInput) StartDataCollectionByAgentIdsRequest
- func (c *Client) StartExportTaskRequest(input *StartExportTaskInput) StartExportTaskRequest
- func (c *Client) StartImportTaskRequest(input *StartImportTaskInput) StartImportTaskRequest
- func (c *Client) StopContinuousExportRequest(input *StopContinuousExportInput) StopContinuousExportRequest
- func (c *Client) StopDataCollectionByAgentIdsRequest(input *StopDataCollectionByAgentIdsInput) StopDataCollectionByAgentIdsRequest
- func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
- type ConfigurationItemType
- type ConfigurationTag
- type ContinuousExportDescription
- type ContinuousExportStatus
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateApplicationRequest
- type CreateApplicationResponse
- type CreateTagsInput
- type CreateTagsOutput
- type CreateTagsRequest
- type CreateTagsResponse
- type CustomerAgentInfo
- type CustomerConnectorInfo
- type DataSource
- type DeleteApplicationsInput
- type DeleteApplicationsOutput
- type DeleteApplicationsRequest
- type DeleteApplicationsResponse
- type DeleteTagsInput
- type DeleteTagsOutput
- type DeleteTagsRequest
- type DeleteTagsResponse
- type DescribeAgentsInput
- type DescribeAgentsOutput
- type DescribeAgentsRequest
- type DescribeAgentsResponse
- type DescribeConfigurationsInput
- type DescribeConfigurationsOutput
- type DescribeConfigurationsRequest
- type DescribeConfigurationsResponse
- type DescribeContinuousExportsInput
- type DescribeContinuousExportsOutput
- type DescribeContinuousExportsPaginator
- type DescribeContinuousExportsRequest
- type DescribeContinuousExportsResponse
- type DescribeExportConfigurationsInput
- type DescribeExportConfigurationsOutput
- type DescribeExportConfigurationsRequest
- type DescribeExportConfigurationsResponse
- type DescribeExportTasksInput
- type DescribeExportTasksOutput
- type DescribeExportTasksRequest
- type DescribeExportTasksResponse
- type DescribeImportTasksInput
- type DescribeImportTasksOutput
- type DescribeImportTasksPaginator
- type DescribeImportTasksRequest
- type DescribeImportTasksResponse
- type DescribeTagsInput
- type DescribeTagsOutput
- type DescribeTagsRequest
- type DescribeTagsResponse
- type DisassociateConfigurationItemsFromApplicationInput
- type DisassociateConfigurationItemsFromApplicationOutput
- type DisassociateConfigurationItemsFromApplicationRequest
- type DisassociateConfigurationItemsFromApplicationResponse
- type ExportConfigurationsInput
- type ExportConfigurationsOutput
- type ExportConfigurationsRequest
- type ExportConfigurationsResponse
- type ExportDataFormat
- type ExportFilter
- type ExportInfo
- type ExportStatus
- type Filter
- type GetDiscoverySummaryInput
- type GetDiscoverySummaryOutput
- type GetDiscoverySummaryRequest
- type GetDiscoverySummaryResponse
- type ImportStatus
- type ImportTask
- type ImportTaskFilter
- type ImportTaskFilterName
- type ListConfigurationsInput
- type ListConfigurationsOutput
- type ListConfigurationsRequest
- type ListConfigurationsResponse
- type ListServerNeighborsInput
- type ListServerNeighborsOutput
- type ListServerNeighborsRequest
- type ListServerNeighborsResponse
- type NeighborConnectionDetail
- type OrderByElement
- type OrderString
- type StartContinuousExportInput
- type StartContinuousExportOutput
- type StartContinuousExportRequest
- type StartContinuousExportResponse
- type StartDataCollectionByAgentIdsInput
- type StartDataCollectionByAgentIdsOutput
- type StartDataCollectionByAgentIdsRequest
- type StartDataCollectionByAgentIdsResponse
- type StartExportTaskInput
- type StartExportTaskOutput
- type StartExportTaskRequest
- type StartExportTaskResponse
- type StartImportTaskInput
- type StartImportTaskOutput
- type StartImportTaskRequest
- type StartImportTaskResponse
- type StopContinuousExportInput
- type StopContinuousExportOutput
- type StopContinuousExportRequest
- type StopContinuousExportResponse
- type StopDataCollectionByAgentIdsInput
- type StopDataCollectionByAgentIdsOutput
- type StopDataCollectionByAgentIdsRequest
- type StopDataCollectionByAgentIdsResponse
- type Tag
- type TagFilter
- type UpdateApplicationInput
- type UpdateApplicationOutput
- type UpdateApplicationRequest
- type UpdateApplicationResponse
Constants ¶
const ( ServiceName = "AWS Application Discovery Service" // Service's name ServiceID = "ApplicationDiscoveryService" // Service's identifier EndpointsID = "discovery" // Service's Endpoint identifier )
const ( // ErrCodeAuthorizationErrorException for service response error code // "AuthorizationErrorException". // // The AWS user account does not have permission to perform the action. Check // the IAM policy associated with this account. ErrCodeAuthorizationErrorException = "AuthorizationErrorException" // ErrCodeConflictErrorException for service response error code // "ConflictErrorException". ErrCodeConflictErrorException = "ConflictErrorException" // ErrCodeHomeRegionNotSetException for service response error code // "HomeRegionNotSetException". // // The home region is not set. Set the home region to continue. ErrCodeHomeRegionNotSetException = "HomeRegionNotSetException" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // One or more parameters are not valid. Verify the parameters and try again. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeInvalidParameterValueException for service response error code // "InvalidParameterValueException". // // The value of one or more parameters are either invalid or out of range. Verify // the parameter values and try again. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeOperationNotPermittedException for service response error code // "OperationNotPermittedException". // // This operation is not permitted. ErrCodeOperationNotPermittedException = "OperationNotPermittedException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // This issue occurs when the same clientRequestToken is used with the StartImportTask // action, but with different parameters. For example, you use the same request // token but have two different import URLs, you can encounter this issue. If // the import tasks are meant to be different, use a different clientRequestToken, // and try again. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified configuration ID was not located. Verify the configuration // ID and try again. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServerInternalErrorException for service response error code // "ServerInternalErrorException". // // The server experienced an internal error. Try again. ErrCodeServerInternalErrorException = "ServerInternalErrorException" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfigurationStatus ¶
type AgentConfigurationStatus struct { // The agent/connector ID. AgentId *string `locationName:"agentId" type:"string"` // A description of the operation performed. Description *string `locationName:"description" type:"string"` // Information about the status of the StartDataCollection and StopDataCollection // operations. The system has recorded the data collection operation. The agent/connector // receives this command the next time it polls for a new command. OperationSucceeded *bool `locationName:"operationSucceeded" type:"boolean"` // contains filtered or unexported fields }
Information about agents or connectors that were instructed to start collecting data. Information includes the agent/connector ID, a description of the operation, and whether the agent/connector configuration was updated.
func (AgentConfigurationStatus) String ¶
func (s AgentConfigurationStatus) String() string
String returns the string representation
type AgentInfo ¶
type AgentInfo struct { // The agent or connector ID. AgentId *string `locationName:"agentId" type:"string"` // Network details about the host where the agent or connector resides. AgentNetworkInfoList []AgentNetworkInfo `locationName:"agentNetworkInfoList" type:"list"` // Type of agent. AgentType *string `locationName:"agentType" type:"string"` // Status of the collection process for an agent or connector. CollectionStatus *string `locationName:"collectionStatus" type:"string"` // The ID of the connector. ConnectorId *string `locationName:"connectorId" type:"string"` // The health of the agent or connector. Health AgentStatus `locationName:"health" type:"string" enum:"true"` // The name of the host where the agent or connector resides. The host can be // a server or virtual machine. HostName *string `locationName:"hostName" type:"string"` // Time since agent or connector health was reported. LastHealthPingTime *string `locationName:"lastHealthPingTime" type:"string"` // Agent's first registration timestamp in UTC. RegisteredTime *string `locationName:"registeredTime" type:"string"` // The agent or connector version. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
Information about agents or connectors associated with the user’s AWS account. Information includes agent or connector IDs, IP addresses, media access control (MAC) addresses, agent or connector health, hostname where the agent or connector resides, and agent version for each agent.
type AgentNetworkInfo ¶
type AgentNetworkInfo struct { // The IP address for the host where the agent/connector resides. IpAddress *string `locationName:"ipAddress" type:"string"` // The MAC address for the host where the agent/connector resides. MacAddress *string `locationName:"macAddress" type:"string"` // contains filtered or unexported fields }
Network details about the host where the agent/connector resides.
func (AgentNetworkInfo) String ¶
func (s AgentNetworkInfo) String() string
String returns the string representation
type AgentStatus ¶
type AgentStatus string
const ( AgentStatusHealthy AgentStatus = "HEALTHY" AgentStatusUnhealthy AgentStatus = "UNHEALTHY" AgentStatusRunning AgentStatus = "RUNNING" AgentStatusUnknown AgentStatus = "UNKNOWN" AgentStatusBlacklisted AgentStatus = "BLACKLISTED" AgentStatusShutdown AgentStatus = "SHUTDOWN" )
Enum values for AgentStatus
func (AgentStatus) MarshalValue ¶ added in v0.3.0
func (enum AgentStatus) MarshalValue() (string, error)
func (AgentStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum AgentStatus) MarshalValueBuf(b []byte) ([]byte, error)
type AssociateConfigurationItemsToApplicationInput ¶
type AssociateConfigurationItemsToApplicationInput struct { // The configuration ID of an application with which items are to be associated. // // ApplicationConfigurationId is a required field ApplicationConfigurationId *string `locationName:"applicationConfigurationId" type:"string" required:"true"` // The ID of each configuration item to be associated with an application. // // ConfigurationIds is a required field ConfigurationIds []string `locationName:"configurationIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (AssociateConfigurationItemsToApplicationInput) String ¶
func (s AssociateConfigurationItemsToApplicationInput) String() string
String returns the string representation
func (*AssociateConfigurationItemsToApplicationInput) Validate ¶
func (s *AssociateConfigurationItemsToApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateConfigurationItemsToApplicationOutput ¶
type AssociateConfigurationItemsToApplicationOutput struct {
// contains filtered or unexported fields
}
func (AssociateConfigurationItemsToApplicationOutput) String ¶
func (s AssociateConfigurationItemsToApplicationOutput) String() string
String returns the string representation
type AssociateConfigurationItemsToApplicationRequest ¶
type AssociateConfigurationItemsToApplicationRequest struct { *aws.Request Input *AssociateConfigurationItemsToApplicationInput Copy func(*AssociateConfigurationItemsToApplicationInput) AssociateConfigurationItemsToApplicationRequest }
AssociateConfigurationItemsToApplicationRequest is the request type for the AssociateConfigurationItemsToApplication API operation.
func (AssociateConfigurationItemsToApplicationRequest) Send ¶
func (r AssociateConfigurationItemsToApplicationRequest) Send(ctx context.Context) (*AssociateConfigurationItemsToApplicationResponse, error)
Send marshals and sends the AssociateConfigurationItemsToApplication API request.
type AssociateConfigurationItemsToApplicationResponse ¶ added in v0.9.0
type AssociateConfigurationItemsToApplicationResponse struct { *AssociateConfigurationItemsToApplicationOutput // contains filtered or unexported fields }
AssociateConfigurationItemsToApplicationResponse is the response type for the AssociateConfigurationItemsToApplication API operation.
func (*AssociateConfigurationItemsToApplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateConfigurationItemsToApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateConfigurationItemsToApplication request.
type BatchDeleteImportDataError ¶ added in v0.8.0
type BatchDeleteImportDataError struct { // The type of error that occurred for a specific import task. ErrorCode BatchDeleteImportDataErrorCode `locationName:"errorCode" type:"string" enum:"true"` // The description of the error that occurred for a specific import task. ErrorDescription *string `locationName:"errorDescription" type:"string"` // The unique import ID associated with the error that occurred. ImportTaskId *string `locationName:"importTaskId" type:"string"` // contains filtered or unexported fields }
Error messages returned for each import task that you deleted as a response for this command.
func (BatchDeleteImportDataError) String ¶ added in v0.8.0
func (s BatchDeleteImportDataError) String() string
String returns the string representation
type BatchDeleteImportDataErrorCode ¶ added in v0.8.0
type BatchDeleteImportDataErrorCode string
const ( BatchDeleteImportDataErrorCodeNotFound BatchDeleteImportDataErrorCode = "NOT_FOUND" BatchDeleteImportDataErrorCodeInternalServerError BatchDeleteImportDataErrorCode = "INTERNAL_SERVER_ERROR" BatchDeleteImportDataErrorCodeOverLimit BatchDeleteImportDataErrorCode = "OVER_LIMIT" )
Enum values for BatchDeleteImportDataErrorCode
func (BatchDeleteImportDataErrorCode) MarshalValue ¶ added in v0.8.0
func (enum BatchDeleteImportDataErrorCode) MarshalValue() (string, error)
func (BatchDeleteImportDataErrorCode) MarshalValueBuf ¶ added in v0.8.0
func (enum BatchDeleteImportDataErrorCode) MarshalValueBuf(b []byte) ([]byte, error)
type BatchDeleteImportDataInput ¶ added in v0.8.0
type BatchDeleteImportDataInput struct { // The IDs for the import tasks that you want to delete. // // ImportTaskIds is a required field ImportTaskIds []string `locationName:"importTaskIds" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (BatchDeleteImportDataInput) String ¶ added in v0.8.0
func (s BatchDeleteImportDataInput) String() string
String returns the string representation
func (*BatchDeleteImportDataInput) Validate ¶ added in v0.8.0
func (s *BatchDeleteImportDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchDeleteImportDataOutput ¶ added in v0.8.0
type BatchDeleteImportDataOutput struct { // Error messages returned for each import task that you deleted as a response // for this command. Errors []BatchDeleteImportDataError `locationName:"errors" type:"list"` // contains filtered or unexported fields }
func (BatchDeleteImportDataOutput) String ¶ added in v0.8.0
func (s BatchDeleteImportDataOutput) String() string
String returns the string representation
type BatchDeleteImportDataRequest ¶ added in v0.8.0
type BatchDeleteImportDataRequest struct { *aws.Request Input *BatchDeleteImportDataInput Copy func(*BatchDeleteImportDataInput) BatchDeleteImportDataRequest }
BatchDeleteImportDataRequest is the request type for the BatchDeleteImportData API operation.
func (BatchDeleteImportDataRequest) Send ¶ added in v0.8.0
func (r BatchDeleteImportDataRequest) Send(ctx context.Context) (*BatchDeleteImportDataResponse, error)
Send marshals and sends the BatchDeleteImportData API request.
type BatchDeleteImportDataResponse ¶ added in v0.9.0
type BatchDeleteImportDataResponse struct { *BatchDeleteImportDataOutput // contains filtered or unexported fields }
BatchDeleteImportDataResponse is the response type for the BatchDeleteImportData API operation.
func (*BatchDeleteImportDataResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BatchDeleteImportDataResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BatchDeleteImportData request.
type Client ¶ added in v0.9.0
Client provides the API operation methods for making requests to AWS Application Discovery Service. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := applicationdiscoveryservice.New(myConfig)
func (*Client) AssociateConfigurationItemsToApplicationRequest ¶ added in v0.9.0
func (c *Client) AssociateConfigurationItemsToApplicationRequest(input *AssociateConfigurationItemsToApplicationInput) AssociateConfigurationItemsToApplicationRequest
AssociateConfigurationItemsToApplicationRequest returns a request value for making API operation for AWS Application Discovery Service.
Associates one or more configuration items with an application.
// Example sending a request using AssociateConfigurationItemsToApplicationRequest. req := client.AssociateConfigurationItemsToApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplication
func (*Client) BatchDeleteImportDataRequest ¶ added in v0.9.0
func (c *Client) BatchDeleteImportDataRequest(input *BatchDeleteImportDataInput) BatchDeleteImportDataRequest
BatchDeleteImportDataRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
// Example sending a request using BatchDeleteImportDataRequest. req := client.BatchDeleteImportDataRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/BatchDeleteImportData
func (*Client) CreateApplicationRequest ¶ added in v0.9.0
func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
CreateApplicationRequest returns a request value for making API operation for AWS Application Discovery Service.
Creates an application with the given name and description.
// Example sending a request using CreateApplicationRequest. req := client.CreateApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplication
func (*Client) CreateTagsRequest ¶ added in v0.9.0
func (c *Client) CreateTagsRequest(input *CreateTagsInput) CreateTagsRequest
CreateTagsRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
// Example sending a request using CreateTagsRequest. req := client.CreateTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTags
func (*Client) DeleteApplicationsRequest ¶ added in v0.9.0
func (c *Client) DeleteApplicationsRequest(input *DeleteApplicationsInput) DeleteApplicationsRequest
DeleteApplicationsRequest returns a request value for making API operation for AWS Application Discovery Service.
Deletes a list of applications and their associations with configuration items.
// Example sending a request using DeleteApplicationsRequest. req := client.DeleteApplicationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplications
func (*Client) DeleteTagsRequest ¶ added in v0.9.0
func (c *Client) DeleteTagsRequest(input *DeleteTagsInput) DeleteTagsRequest
DeleteTagsRequest returns a request value for making API operation for AWS Application Discovery Service.
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
// Example sending a request using DeleteTagsRequest. req := client.DeleteTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTags
func (*Client) DescribeAgentsRequest ¶ added in v0.9.0
func (c *Client) DescribeAgentsRequest(input *DescribeAgentsInput) DescribeAgentsRequest
DescribeAgentsRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
// Example sending a request using DescribeAgentsRequest. req := client.DescribeAgentsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgents
func (*Client) DescribeConfigurationsRequest ¶ added in v0.9.0
func (c *Client) DescribeConfigurationsRequest(input *DescribeConfigurationsInput) DescribeConfigurationsRequest
DescribeConfigurationsRequest returns a request value for making API operation for AWS Application Discovery Service.
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 (https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#DescribeConfigurations) in the AWS Application Discovery Service User Guide.
// Example sending a request using DescribeConfigurationsRequest. req := client.DescribeConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurations
func (*Client) DescribeContinuousExportsRequest ¶ added in v0.9.0
func (c *Client) DescribeContinuousExportsRequest(input *DescribeContinuousExportsInput) DescribeContinuousExportsRequest
DescribeContinuousExportsRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
// Example sending a request using DescribeContinuousExportsRequest. req := client.DescribeContinuousExportsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeContinuousExports
func (*Client) DescribeExportConfigurationsRequest ¶ added in v0.9.0
func (c *Client) DescribeExportConfigurationsRequest(input *DescribeExportConfigurationsInput) DescribeExportConfigurationsRequest
DescribeExportConfigurationsRequest returns a request value for making API operation for AWS Application Discovery Service.
DescribeExportConfigurations is deprecated. Use DescribeImportTasks (https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html), instead.
// Example sending a request using DescribeExportConfigurationsRequest. req := client.DescribeExportConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurations
func (*Client) DescribeExportTasksRequest ¶ added in v0.9.0
func (c *Client) DescribeExportTasksRequest(input *DescribeExportTasksInput) DescribeExportTasksRequest
DescribeExportTasksRequest returns a request value for making API operation for AWS Application Discovery Service.
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
// Example sending a request using DescribeExportTasksRequest. req := client.DescribeExportTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasks
func (*Client) DescribeImportTasksRequest ¶ added in v0.9.0
func (c *Client) DescribeImportTasksRequest(input *DescribeImportTasksInput) DescribeImportTasksRequest
DescribeImportTasksRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
// Example sending a request using DescribeImportTasksRequest. req := client.DescribeImportTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeImportTasks
func (*Client) DescribeTagsRequest ¶ added in v0.9.0
func (c *Client) DescribeTagsRequest(input *DescribeTagsInput) DescribeTagsRequest
DescribeTagsRequest returns a request value for making API operation for AWS Application Discovery Service.
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 account that have tags can be listed if you call DescribeTags as is without passing any parameters.
// Example sending a request using DescribeTagsRequest. req := client.DescribeTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTags
func (*Client) DisassociateConfigurationItemsFromApplicationRequest ¶ added in v0.9.0
func (c *Client) DisassociateConfigurationItemsFromApplicationRequest(input *DisassociateConfigurationItemsFromApplicationInput) DisassociateConfigurationItemsFromApplicationRequest
DisassociateConfigurationItemsFromApplicationRequest returns a request value for making API operation for AWS Application Discovery Service.
Disassociates one or more configuration items from an application.
// Example sending a request using DisassociateConfigurationItemsFromApplicationRequest. req := client.DisassociateConfigurationItemsFromApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplication
func (*Client) ExportConfigurationsRequest ¶ added in v0.9.0
func (c *Client) ExportConfigurationsRequest(input *ExportConfigurationsInput) ExportConfigurationsRequest
ExportConfigurationsRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
// Example sending a request using ExportConfigurationsRequest. req := client.ExportConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurations
func (*Client) GetDiscoverySummaryRequest ¶ added in v0.9.0
func (c *Client) GetDiscoverySummaryRequest(input *GetDiscoverySummaryInput) GetDiscoverySummaryRequest
GetDiscoverySummaryRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
// Example sending a request using GetDiscoverySummaryRequest. req := client.GetDiscoverySummaryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummary
func (*Client) ListConfigurationsRequest ¶ added in v0.9.0
func (c *Client) ListConfigurationsRequest(input *ListConfigurationsInput) ListConfigurationsRequest
ListConfigurationsRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
// Example sending a request using ListConfigurationsRequest. req := client.ListConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurations
func (*Client) ListServerNeighborsRequest ¶ added in v0.9.0
func (c *Client) ListServerNeighborsRequest(input *ListServerNeighborsInput) ListServerNeighborsRequest
ListServerNeighborsRequest returns a request value for making API operation for AWS Application Discovery Service.
Retrieves a list of servers that are one network hop away from a specified server.
// Example sending a request using ListServerNeighborsRequest. req := client.ListServerNeighborsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors
func (*Client) StartContinuousExportRequest ¶ added in v0.9.0
func (c *Client) StartContinuousExportRequest(input *StartContinuousExportInput) StartContinuousExportRequest
StartContinuousExportRequest returns a request value for making API operation for AWS Application Discovery Service.
Start the continuous flow of agent's discovered data into Amazon Athena.
// Example sending a request using StartContinuousExportRequest. req := client.StartContinuousExportRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartContinuousExport
func (*Client) StartDataCollectionByAgentIdsRequest ¶ added in v0.9.0
func (c *Client) StartDataCollectionByAgentIdsRequest(input *StartDataCollectionByAgentIdsInput) StartDataCollectionByAgentIdsRequest
StartDataCollectionByAgentIdsRequest returns a request value for making API operation for AWS Application Discovery Service.
Instructs the specified agents or connectors to start collecting data.
// Example sending a request using StartDataCollectionByAgentIdsRequest. req := client.StartDataCollectionByAgentIdsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIds
func (*Client) StartExportTaskRequest ¶ added in v0.9.0
func (c *Client) StartExportTaskRequest(input *StartExportTaskInput) StartExportTaskRequest
StartExportTaskRequest returns a request value for making API operation for AWS Application Discovery Service.
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.
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.
// Example sending a request using StartExportTaskRequest. req := client.StartExportTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTask
func (*Client) StartImportTaskRequest ¶ added in v0.9.0
func (c *Client) StartImportTaskRequest(input *StartImportTaskInput) StartImportTaskRequest
StartImportTaskRequest returns a request value for making API operation for AWS Application Discovery Service.
Starts an import task, which allows you to import details of your on-premises environment directly into AWS Migration Hub 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.
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.
// Example sending a request using StartImportTaskRequest. req := client.StartImportTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartImportTask
func (*Client) StopContinuousExportRequest ¶ added in v0.9.0
func (c *Client) StopContinuousExportRequest(input *StopContinuousExportInput) StopContinuousExportRequest
StopContinuousExportRequest returns a request value for making API operation for AWS Application Discovery Service.
Stop the continuous flow of agent's discovered data into Amazon Athena.
// Example sending a request using StopContinuousExportRequest. req := client.StopContinuousExportRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopContinuousExport
func (*Client) StopDataCollectionByAgentIdsRequest ¶ added in v0.9.0
func (c *Client) StopDataCollectionByAgentIdsRequest(input *StopDataCollectionByAgentIdsInput) StopDataCollectionByAgentIdsRequest
StopDataCollectionByAgentIdsRequest returns a request value for making API operation for AWS Application Discovery Service.
Instructs the specified agents or connectors to stop collecting data.
// Example sending a request using StopDataCollectionByAgentIdsRequest. req := client.StopDataCollectionByAgentIdsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIds
func (*Client) UpdateApplicationRequest ¶ added in v0.9.0
func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
UpdateApplicationRequest returns a request value for making API operation for AWS Application Discovery Service.
Updates metadata about an application.
// Example sending a request using UpdateApplicationRequest. req := client.UpdateApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplication
type ConfigurationItemType ¶
type ConfigurationItemType string
const ( ConfigurationItemTypeServer ConfigurationItemType = "SERVER" ConfigurationItemTypeProcess ConfigurationItemType = "PROCESS" ConfigurationItemTypeConnection ConfigurationItemType = "CONNECTION" ConfigurationItemTypeApplication ConfigurationItemType = "APPLICATION" )
Enum values for ConfigurationItemType
func (ConfigurationItemType) MarshalValue ¶ added in v0.3.0
func (enum ConfigurationItemType) MarshalValue() (string, error)
func (ConfigurationItemType) MarshalValueBuf ¶ added in v0.3.0
func (enum ConfigurationItemType) MarshalValueBuf(b []byte) ([]byte, error)
type ConfigurationTag ¶
type ConfigurationTag struct { // The configuration ID for the item to tag. You can specify a list of keys // and values. ConfigurationId *string `locationName:"configurationId" type:"string"` // A type of IT asset to tag. ConfigurationType ConfigurationItemType `locationName:"configurationType" type:"string" enum:"true"` // A type of tag on which to filter. For example, serverType. Key *string `locationName:"key" type:"string"` // The time the configuration tag was created in Coordinated Universal Time // (UTC). TimeOfCreation *time.Time `locationName:"timeOfCreation" type:"timestamp"` // A value on which to filter. For example key = serverType and value = web // server. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Tags for a configuration item. Tags are metadata that help you categorize IT assets.
func (ConfigurationTag) String ¶
func (s ConfigurationTag) String() string
String returns the string representation
type ContinuousExportDescription ¶ added in v0.5.0
type ContinuousExportDescription struct { // The type of data collector used to gather this data (currently only offered // for AGENT). DataSource DataSource `locationName:"dataSource" type:"string" enum:"true"` // The unique ID assigned to this export. ExportId *string `locationName:"exportId" type:"string"` // The name of the s3 bucket where the export data parquet files are stored. S3Bucket *string `locationName:"s3Bucket" type:"string"` // An object which describes how the data is stored. // // * databaseName - the name of the Glue database used to store the schema. SchemaStorageConfig map[string]string `locationName:"schemaStorageConfig" type:"map"` // The timestamp representing when the continuous export was started. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // 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. Status ContinuousExportStatus `locationName:"status" type:"string" enum:"true"` // 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 AWS administrator for help. For more information, // see Setting Up AWS Application Discovery Service (http://docs.aws.amazon.com/application-discovery/latest/userguide/setting-up.html) // 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 (http://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html) // in the Amazon Kinesis Data Streams Developer Guide. // // * FIREHOSE_ROLE_MISSING - The Data Exploration feature is in an error // state because your IAM User is missing the AWSApplicationDiscoveryServiceFirehose // role. Turn on Data Exploration in Amazon Athena and try again. For more // information, see Step 3: Provide Application Discovery Service Access // to Non-Administrator Users by Attaching Policies (http://docs.aws.amazon.com/application-discovery/latest/userguide/setting-up.html#setting-up-user-policy) // in the Application Discovery Service User Guide. // // * FIREHOSE_STREAM_DOES_NOT_EXIST - The Data Exploration feature is in // an error state because your IAM 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 AWS Support. // // * S3_BUCKET_LIMIT_FAILURE - You reached the limit for Amazon S3 buckets. // Reduce the number of Amazon S3 buckets or request a limit increase and // try again. For more information, see Bucket Restrictions and Limitations // (http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html) // 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 (https://aws.amazon.com/s3). StatusDetail *string `locationName:"statusDetail" min:"1" type:"string"` // The timestamp that represents when this continuous export was stopped. StopTime *time.Time `locationName:"stopTime" type:"timestamp"` // contains filtered or unexported fields }
A list of continuous export descriptions.
func (ContinuousExportDescription) String ¶ added in v0.5.0
func (s ContinuousExportDescription) String() string
String returns the string representation
type ContinuousExportStatus ¶ added in v0.5.0
type ContinuousExportStatus string
const ( ContinuousExportStatusStartInProgress ContinuousExportStatus = "START_IN_PROGRESS" ContinuousExportStatusStartFailed ContinuousExportStatus = "START_FAILED" ContinuousExportStatusActive ContinuousExportStatus = "ACTIVE" ContinuousExportStatusError ContinuousExportStatus = "ERROR" ContinuousExportStatusStopInProgress ContinuousExportStatus = "STOP_IN_PROGRESS" ContinuousExportStatusStopFailed ContinuousExportStatus = "STOP_FAILED" ContinuousExportStatusInactive ContinuousExportStatus = "INACTIVE" )
Enum values for ContinuousExportStatus
func (ContinuousExportStatus) MarshalValue ¶ added in v0.5.0
func (enum ContinuousExportStatus) MarshalValue() (string, error)
func (ContinuousExportStatus) MarshalValueBuf ¶ added in v0.5.0
func (enum ContinuousExportStatus) MarshalValueBuf(b []byte) ([]byte, error)
type CreateApplicationInput ¶
type CreateApplicationInput struct { // Description of the application to be created. Description *string `locationName:"description" type:"string"` // Name of the application to be created. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateApplicationInput) String ¶
func (s CreateApplicationInput) String() string
String returns the string representation
func (*CreateApplicationInput) Validate ¶
func (s *CreateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // Configuration ID of an application to be created. ConfigurationId *string `locationName:"configurationId" type:"string"` // contains filtered or unexported fields }
func (CreateApplicationOutput) String ¶
func (s CreateApplicationOutput) String() string
String returns the string representation
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *aws.Request Input *CreateApplicationInput Copy func(*CreateApplicationInput) CreateApplicationRequest }
CreateApplicationRequest is the request type for the CreateApplication API operation.
func (CreateApplicationRequest) Send ¶
func (r CreateApplicationRequest) Send(ctx context.Context) (*CreateApplicationResponse, error)
Send marshals and sends the CreateApplication API request.
type CreateApplicationResponse ¶ added in v0.9.0
type CreateApplicationResponse struct { *CreateApplicationOutput // contains filtered or unexported fields }
CreateApplicationResponse is the response type for the CreateApplication API operation.
func (*CreateApplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateApplication request.
type CreateTagsInput ¶
type CreateTagsInput struct { // A list of configuration items that you want to tag. // // ConfigurationIds is a required field ConfigurationIds []string `locationName:"configurationIds" type:"list" required:"true"` // 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"} // // Tags is a required field Tags []Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (CreateTagsInput) String ¶
func (s CreateTagsInput) String() string
String returns the string representation
func (*CreateTagsInput) Validate ¶
func (s *CreateTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTagsOutput ¶
type CreateTagsOutput struct {
// contains filtered or unexported fields
}
func (CreateTagsOutput) String ¶
func (s CreateTagsOutput) String() string
String returns the string representation
type CreateTagsRequest ¶
type CreateTagsRequest struct { *aws.Request Input *CreateTagsInput Copy func(*CreateTagsInput) CreateTagsRequest }
CreateTagsRequest is the request type for the CreateTags API operation.
func (CreateTagsRequest) Send ¶
func (r CreateTagsRequest) Send(ctx context.Context) (*CreateTagsResponse, error)
Send marshals and sends the CreateTags API request.
type CreateTagsResponse ¶ added in v0.9.0
type CreateTagsResponse struct { *CreateTagsOutput // contains filtered or unexported fields }
CreateTagsResponse is the response type for the CreateTags API operation.
func (*CreateTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTags request.
type CustomerAgentInfo ¶
type CustomerAgentInfo struct { // Number of active discovery agents. // // ActiveAgents is a required field ActiveAgents *int64 `locationName:"activeAgents" type:"integer" required:"true"` // Number of blacklisted discovery agents. // // BlackListedAgents is a required field BlackListedAgents *int64 `locationName:"blackListedAgents" type:"integer" required:"true"` // Number of healthy discovery agents // // HealthyAgents is a required field HealthyAgents *int64 `locationName:"healthyAgents" type:"integer" required:"true"` // Number of discovery agents with status SHUTDOWN. // // ShutdownAgents is a required field ShutdownAgents *int64 `locationName:"shutdownAgents" type:"integer" required:"true"` // Total number of discovery agents. // // TotalAgents is a required field TotalAgents *int64 `locationName:"totalAgents" type:"integer" required:"true"` // Number of unhealthy discovery agents. // // UnhealthyAgents is a required field UnhealthyAgents *int64 `locationName:"unhealthyAgents" type:"integer" required:"true"` // Number of unknown discovery agents. // // UnknownAgents is a required field UnknownAgents *int64 `locationName:"unknownAgents" type:"integer" required:"true"` // contains filtered or unexported fields }
Inventory data for installed discovery agents.
func (CustomerAgentInfo) String ¶
func (s CustomerAgentInfo) String() string
String returns the string representation
type CustomerConnectorInfo ¶
type CustomerConnectorInfo struct { // Number of active discovery connectors. // // ActiveConnectors is a required field ActiveConnectors *int64 `locationName:"activeConnectors" type:"integer" required:"true"` // Number of blacklisted discovery connectors. // // BlackListedConnectors is a required field BlackListedConnectors *int64 `locationName:"blackListedConnectors" type:"integer" required:"true"` // Number of healthy discovery connectors. // // HealthyConnectors is a required field HealthyConnectors *int64 `locationName:"healthyConnectors" type:"integer" required:"true"` // Number of discovery connectors with status SHUTDOWN, // // ShutdownConnectors is a required field ShutdownConnectors *int64 `locationName:"shutdownConnectors" type:"integer" required:"true"` // Total number of discovery connectors. // // TotalConnectors is a required field TotalConnectors *int64 `locationName:"totalConnectors" type:"integer" required:"true"` // Number of unhealthy discovery connectors. // // UnhealthyConnectors is a required field UnhealthyConnectors *int64 `locationName:"unhealthyConnectors" type:"integer" required:"true"` // Number of unknown discovery connectors. // // UnknownConnectors is a required field UnknownConnectors *int64 `locationName:"unknownConnectors" type:"integer" required:"true"` // contains filtered or unexported fields }
Inventory data for installed discovery connectors.
func (CustomerConnectorInfo) String ¶
func (s CustomerConnectorInfo) String() string
String returns the string representation
type DataSource ¶ added in v0.5.0
type DataSource string
const (
DataSourceAgent DataSource = "AGENT"
)
Enum values for DataSource
func (DataSource) MarshalValue ¶ added in v0.5.0
func (enum DataSource) MarshalValue() (string, error)
func (DataSource) MarshalValueBuf ¶ added in v0.5.0
func (enum DataSource) MarshalValueBuf(b []byte) ([]byte, error)
type DeleteApplicationsInput ¶
type DeleteApplicationsInput struct { // Configuration ID of an application to be deleted. // // ConfigurationIds is a required field ConfigurationIds []string `locationName:"configurationIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (DeleteApplicationsInput) String ¶
func (s DeleteApplicationsInput) String() string
String returns the string representation
func (*DeleteApplicationsInput) Validate ¶
func (s *DeleteApplicationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApplicationsOutput ¶
type DeleteApplicationsOutput struct {
// contains filtered or unexported fields
}
func (DeleteApplicationsOutput) String ¶
func (s DeleteApplicationsOutput) String() string
String returns the string representation
type DeleteApplicationsRequest ¶
type DeleteApplicationsRequest struct { *aws.Request Input *DeleteApplicationsInput Copy func(*DeleteApplicationsInput) DeleteApplicationsRequest }
DeleteApplicationsRequest is the request type for the DeleteApplications API operation.
func (DeleteApplicationsRequest) Send ¶
func (r DeleteApplicationsRequest) Send(ctx context.Context) (*DeleteApplicationsResponse, error)
Send marshals and sends the DeleteApplications API request.
type DeleteApplicationsResponse ¶ added in v0.9.0
type DeleteApplicationsResponse struct { *DeleteApplicationsOutput // contains filtered or unexported fields }
DeleteApplicationsResponse is the response type for the DeleteApplications API operation.
func (*DeleteApplicationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteApplicationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteApplications request.
type DeleteTagsInput ¶
type DeleteTagsInput struct { // A list of configuration items with tags that you want to delete. // // ConfigurationIds is a required field ConfigurationIds []string `locationName:"configurationIds" type:"list" required:"true"` // 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 []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (DeleteTagsInput) String ¶
func (s DeleteTagsInput) String() string
String returns the string representation
func (*DeleteTagsInput) Validate ¶
func (s *DeleteTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTagsOutput ¶
type DeleteTagsOutput struct {
// contains filtered or unexported fields
}
func (DeleteTagsOutput) String ¶
func (s DeleteTagsOutput) String() string
String returns the string representation
type DeleteTagsRequest ¶
type DeleteTagsRequest struct { *aws.Request Input *DeleteTagsInput Copy func(*DeleteTagsInput) DeleteTagsRequest }
DeleteTagsRequest is the request type for the DeleteTags API operation.
func (DeleteTagsRequest) Send ¶
func (r DeleteTagsRequest) Send(ctx context.Context) (*DeleteTagsResponse, error)
Send marshals and sends the DeleteTags API request.
type DeleteTagsResponse ¶ added in v0.9.0
type DeleteTagsResponse struct { *DeleteTagsOutput // contains filtered or unexported fields }
DeleteTagsResponse is the response type for the DeleteTags API operation.
func (*DeleteTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTags request.
type DescribeAgentsInput ¶
type DescribeAgentsInput struct { // The agent or the Connector IDs for which you want information. If you specify // no IDs, the system returns information about all agents/Connectors associated // with your AWS user account. AgentIds []string `locationName:"agentIds" type:"list"` // You can filter the request using various logical operators and a key-value // format. For example: // // {"key": "collectionStatus", "value": "STARTED"} Filters []Filter `locationName:"filters" type:"list"` // The total number of agents/Connectors to return in a single page of output. // The maximum value is 100. MaxResults *int64 `locationName:"maxResults" type:"integer"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeAgentsInput) String ¶
func (s DescribeAgentsInput) String() string
String returns the string representation
func (*DescribeAgentsInput) Validate ¶
func (s *DescribeAgentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAgentsOutput ¶
type DescribeAgentsOutput struct { // Lists agents or the Connector by ID or lists all agents/Connectors associated // with your user account if you did not specify an agent/Connector ID. The // output includes agent/Connector IDs, IP addresses, media access control (MAC) // addresses, agent/Connector health, host name where the agent/Connector resides, // and the version number of each agent/Connector. AgentsInfo []AgentInfo `locationName:"agentsInfo" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeAgentsOutput) String ¶
func (s DescribeAgentsOutput) String() string
String returns the string representation
type DescribeAgentsRequest ¶
type DescribeAgentsRequest struct { *aws.Request Input *DescribeAgentsInput Copy func(*DescribeAgentsInput) DescribeAgentsRequest }
DescribeAgentsRequest is the request type for the DescribeAgents API operation.
func (DescribeAgentsRequest) Send ¶
func (r DescribeAgentsRequest) Send(ctx context.Context) (*DescribeAgentsResponse, error)
Send marshals and sends the DescribeAgents API request.
type DescribeAgentsResponse ¶ added in v0.9.0
type DescribeAgentsResponse struct { *DescribeAgentsOutput // contains filtered or unexported fields }
DescribeAgentsResponse is the response type for the DescribeAgents API operation.
func (*DescribeAgentsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeAgentsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeAgents request.
type DescribeConfigurationsInput ¶
type DescribeConfigurationsInput struct { // One or more configuration IDs. // // ConfigurationIds is a required field ConfigurationIds []string `locationName:"configurationIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (DescribeConfigurationsInput) String ¶
func (s DescribeConfigurationsInput) String() string
String returns the string representation
func (*DescribeConfigurationsInput) Validate ¶
func (s *DescribeConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeConfigurationsOutput ¶
type DescribeConfigurationsOutput struct { // A key in the response map. The value is an array of data. Configurations []map[string]string `locationName:"configurations" type:"list"` // contains filtered or unexported fields }
func (DescribeConfigurationsOutput) String ¶
func (s DescribeConfigurationsOutput) String() string
String returns the string representation
type DescribeConfigurationsRequest ¶
type DescribeConfigurationsRequest struct { *aws.Request Input *DescribeConfigurationsInput Copy func(*DescribeConfigurationsInput) DescribeConfigurationsRequest }
DescribeConfigurationsRequest is the request type for the DescribeConfigurations API operation.
func (DescribeConfigurationsRequest) Send ¶
func (r DescribeConfigurationsRequest) Send(ctx context.Context) (*DescribeConfigurationsResponse, error)
Send marshals and sends the DescribeConfigurations API request.
type DescribeConfigurationsResponse ¶ added in v0.9.0
type DescribeConfigurationsResponse struct { *DescribeConfigurationsOutput // contains filtered or unexported fields }
DescribeConfigurationsResponse is the response type for the DescribeConfigurations API operation.
func (*DescribeConfigurationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeConfigurationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeConfigurations request.
type DescribeContinuousExportsInput ¶ added in v0.5.0
type DescribeContinuousExportsInput struct { // The unique IDs assigned to the exports. ExportIds []string `locationName:"exportIds" type:"list"` // A number between 1 and 100 specifying the maximum number of continuous export // descriptions returned. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token from the previous call to DescribeExportTasks. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeContinuousExportsInput) String ¶ added in v0.5.0
func (s DescribeContinuousExportsInput) String() string
String returns the string representation
func (*DescribeContinuousExportsInput) Validate ¶ added in v0.5.0
func (s *DescribeContinuousExportsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeContinuousExportsOutput ¶ added in v0.5.0
type DescribeContinuousExportsOutput struct { // A list of continuous export descriptions. Descriptions []ContinuousExportDescription `locationName:"descriptions" type:"list"` // The token from the previous call to DescribeExportTasks. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeContinuousExportsOutput) String ¶ added in v0.5.0
func (s DescribeContinuousExportsOutput) String() string
String returns the string representation
type DescribeContinuousExportsPaginator ¶ added in v0.9.0
DescribeContinuousExportsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeContinuousExportsPaginator ¶ added in v0.9.0
func NewDescribeContinuousExportsPaginator(req DescribeContinuousExportsRequest) DescribeContinuousExportsPaginator
NewDescribeContinuousExportsRequestPaginator returns a paginator for DescribeContinuousExports. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.DescribeContinuousExportsRequest(input) p := applicationdiscoveryservice.NewDescribeContinuousExportsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeContinuousExportsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeContinuousExportsPaginator) CurrentPage() *DescribeContinuousExportsOutput
type DescribeContinuousExportsRequest ¶ added in v0.5.0
type DescribeContinuousExportsRequest struct { *aws.Request Input *DescribeContinuousExportsInput Copy func(*DescribeContinuousExportsInput) DescribeContinuousExportsRequest }
DescribeContinuousExportsRequest is the request type for the DescribeContinuousExports API operation.
func (DescribeContinuousExportsRequest) Send ¶ added in v0.5.0
func (r DescribeContinuousExportsRequest) Send(ctx context.Context) (*DescribeContinuousExportsResponse, error)
Send marshals and sends the DescribeContinuousExports API request.
type DescribeContinuousExportsResponse ¶ added in v0.9.0
type DescribeContinuousExportsResponse struct { *DescribeContinuousExportsOutput // contains filtered or unexported fields }
DescribeContinuousExportsResponse is the response type for the DescribeContinuousExports API operation.
func (*DescribeContinuousExportsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeContinuousExportsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeContinuousExports request.
type DescribeExportConfigurationsInput ¶
type DescribeExportConfigurationsInput struct { // A list of continuous export IDs to search for. ExportIds []string `locationName:"exportIds" type:"list"` // A number between 1 and 100 specifying the maximum number of continuous export // descriptions returned. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token from the previous call to describe-export-tasks. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeExportConfigurationsInput) String ¶
func (s DescribeExportConfigurationsInput) String() string
String returns the string representation
type DescribeExportConfigurationsOutput ¶
type DescribeExportConfigurationsOutput struct { ExportsInfo []ExportInfo `locationName:"exportsInfo" type:"list"` // The token from the previous call to describe-export-tasks. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeExportConfigurationsOutput) String ¶
func (s DescribeExportConfigurationsOutput) String() string
String returns the string representation
type DescribeExportConfigurationsRequest ¶
type DescribeExportConfigurationsRequest struct { *aws.Request Input *DescribeExportConfigurationsInput Copy func(*DescribeExportConfigurationsInput) DescribeExportConfigurationsRequest }
DescribeExportConfigurationsRequest is the request type for the DescribeExportConfigurations API operation.
func (DescribeExportConfigurationsRequest) Send ¶
func (r DescribeExportConfigurationsRequest) Send(ctx context.Context) (*DescribeExportConfigurationsResponse, error)
Send marshals and sends the DescribeExportConfigurations API request.
type DescribeExportConfigurationsResponse ¶ added in v0.9.0
type DescribeExportConfigurationsResponse struct { *DescribeExportConfigurationsOutput // contains filtered or unexported fields }
DescribeExportConfigurationsResponse is the response type for the DescribeExportConfigurations API operation.
func (*DescribeExportConfigurationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeExportConfigurationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeExportConfigurations request.
type DescribeExportTasksInput ¶
type DescribeExportTasksInput struct { // One or more unique identifiers used to query the status of an export request. ExportIds []string `locationName:"exportIds" type:"list"` // One or more filters. // // * AgentId - ID of the agent whose collected data will be exported Filters []ExportFilter `locationName:"filters" type:"list"` // 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 *int64 `locationName:"maxResults" type:"integer"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeExportTasksInput) String ¶
func (s DescribeExportTasksInput) String() string
String returns the string representation
func (*DescribeExportTasksInput) Validate ¶
func (s *DescribeExportTasksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 []ExportInfo `locationName:"exportsInfo" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeExportTasksOutput) String ¶
func (s DescribeExportTasksOutput) String() string
String returns the string representation
type DescribeExportTasksRequest ¶
type DescribeExportTasksRequest struct { *aws.Request Input *DescribeExportTasksInput Copy func(*DescribeExportTasksInput) DescribeExportTasksRequest }
DescribeExportTasksRequest is the request type for the DescribeExportTasks API operation.
func (DescribeExportTasksRequest) Send ¶
func (r DescribeExportTasksRequest) Send(ctx context.Context) (*DescribeExportTasksResponse, error)
Send marshals and sends the DescribeExportTasks API request.
type DescribeExportTasksResponse ¶ added in v0.9.0
type DescribeExportTasksResponse struct { *DescribeExportTasksOutput // contains filtered or unexported fields }
DescribeExportTasksResponse is the response type for the DescribeExportTasks API operation.
func (*DescribeExportTasksResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeExportTasksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeExportTasks request.
type DescribeImportTasksInput ¶ added in v0.8.0
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 []ImportTaskFilter `locationName:"filters" type:"list"` // The maximum number of results that you want this request to return, up to // 100. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token to request a specific page of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeImportTasksInput) String ¶ added in v0.8.0
func (s DescribeImportTasksInput) String() string
String returns the string representation
func (*DescribeImportTasksInput) Validate ¶ added in v0.8.0
func (s *DescribeImportTasksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeImportTasksOutput ¶ added in v0.8.0
type DescribeImportTasksOutput struct { // The token to request the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // A returned array of import tasks that match any applied filters, up to the // specified number of maximum results. Tasks []ImportTask `locationName:"tasks" type:"list"` // contains filtered or unexported fields }
func (DescribeImportTasksOutput) String ¶ added in v0.8.0
func (s DescribeImportTasksOutput) String() string
String returns the string representation
type DescribeImportTasksPaginator ¶ added in v0.9.0
DescribeImportTasksPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeImportTasksPaginator ¶ added in v0.9.0
func NewDescribeImportTasksPaginator(req DescribeImportTasksRequest) DescribeImportTasksPaginator
NewDescribeImportTasksRequestPaginator returns a paginator for DescribeImportTasks. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.DescribeImportTasksRequest(input) p := applicationdiscoveryservice.NewDescribeImportTasksRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeImportTasksPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeImportTasksPaginator) CurrentPage() *DescribeImportTasksOutput
type DescribeImportTasksRequest ¶ added in v0.8.0
type DescribeImportTasksRequest struct { *aws.Request Input *DescribeImportTasksInput Copy func(*DescribeImportTasksInput) DescribeImportTasksRequest }
DescribeImportTasksRequest is the request type for the DescribeImportTasks API operation.
func (DescribeImportTasksRequest) Send ¶ added in v0.8.0
func (r DescribeImportTasksRequest) Send(ctx context.Context) (*DescribeImportTasksResponse, error)
Send marshals and sends the DescribeImportTasks API request.
type DescribeImportTasksResponse ¶ added in v0.9.0
type DescribeImportTasksResponse struct { *DescribeImportTasksOutput // contains filtered or unexported fields }
DescribeImportTasksResponse is the response type for the DescribeImportTasks API operation.
func (*DescribeImportTasksResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeImportTasksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeImportTasks request.
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 []TagFilter `locationName:"filters" type:"list"` // The total number of items to return in a single page of output. The maximum // value is 100. MaxResults *int64 `locationName:"maxResults" type:"integer"` // A token to start the list. Use this token to get the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeTagsInput) String ¶
func (s DescribeTagsInput) String() string
String returns the string representation
func (*DescribeTagsInput) Validate ¶
func (s *DescribeTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTagsOutput ¶
type DescribeTagsOutput struct { // The call returns a token. Use this token to get the next set of results. NextToken *string `locationName:"nextToken" type:"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 []ConfigurationTag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (DescribeTagsOutput) String ¶
func (s DescribeTagsOutput) String() string
String returns the string representation
type DescribeTagsRequest ¶
type DescribeTagsRequest struct { *aws.Request Input *DescribeTagsInput Copy func(*DescribeTagsInput) DescribeTagsRequest }
DescribeTagsRequest is the request type for the DescribeTags API operation.
func (DescribeTagsRequest) Send ¶
func (r DescribeTagsRequest) Send(ctx context.Context) (*DescribeTagsResponse, error)
Send marshals and sends the DescribeTags API request.
type DescribeTagsResponse ¶ added in v0.9.0
type DescribeTagsResponse struct { *DescribeTagsOutput // contains filtered or unexported fields }
DescribeTagsResponse is the response type for the DescribeTags API operation.
func (*DescribeTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTags request.
type DisassociateConfigurationItemsFromApplicationInput ¶
type DisassociateConfigurationItemsFromApplicationInput struct { // Configuration ID of an application from which each item is disassociated. // // ApplicationConfigurationId is a required field ApplicationConfigurationId *string `locationName:"applicationConfigurationId" type:"string" required:"true"` // Configuration ID of each item to be disassociated from an application. // // ConfigurationIds is a required field ConfigurationIds []string `locationName:"configurationIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (DisassociateConfigurationItemsFromApplicationInput) String ¶
func (s DisassociateConfigurationItemsFromApplicationInput) String() string
String returns the string representation
func (*DisassociateConfigurationItemsFromApplicationInput) Validate ¶
func (s *DisassociateConfigurationItemsFromApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateConfigurationItemsFromApplicationOutput ¶
type DisassociateConfigurationItemsFromApplicationOutput struct {
// contains filtered or unexported fields
}
func (DisassociateConfigurationItemsFromApplicationOutput) String ¶
func (s DisassociateConfigurationItemsFromApplicationOutput) String() string
String returns the string representation
type DisassociateConfigurationItemsFromApplicationRequest ¶
type DisassociateConfigurationItemsFromApplicationRequest struct { *aws.Request Input *DisassociateConfigurationItemsFromApplicationInput Copy func(*DisassociateConfigurationItemsFromApplicationInput) DisassociateConfigurationItemsFromApplicationRequest }
DisassociateConfigurationItemsFromApplicationRequest is the request type for the DisassociateConfigurationItemsFromApplication API operation.
func (DisassociateConfigurationItemsFromApplicationRequest) Send ¶
func (r DisassociateConfigurationItemsFromApplicationRequest) Send(ctx context.Context) (*DisassociateConfigurationItemsFromApplicationResponse, error)
Send marshals and sends the DisassociateConfigurationItemsFromApplication API request.
type DisassociateConfigurationItemsFromApplicationResponse ¶ added in v0.9.0
type DisassociateConfigurationItemsFromApplicationResponse struct { *DisassociateConfigurationItemsFromApplicationOutput // contains filtered or unexported fields }
DisassociateConfigurationItemsFromApplicationResponse is the response type for the DisassociateConfigurationItemsFromApplication API operation.
func (*DisassociateConfigurationItemsFromApplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateConfigurationItemsFromApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateConfigurationItemsFromApplication request.
type ExportConfigurationsInput ¶
type ExportConfigurationsInput struct {
// contains filtered or unexported fields
}
func (ExportConfigurationsInput) String ¶
func (s ExportConfigurationsInput) String() string
String returns the string representation
type ExportConfigurationsOutput ¶
type ExportConfigurationsOutput struct { // A unique identifier that you can use to query the export status. ExportId *string `locationName:"exportId" type:"string"` // contains filtered or unexported fields }
func (ExportConfigurationsOutput) String ¶
func (s ExportConfigurationsOutput) String() string
String returns the string representation
type ExportConfigurationsRequest ¶
type ExportConfigurationsRequest struct { *aws.Request Input *ExportConfigurationsInput Copy func(*ExportConfigurationsInput) ExportConfigurationsRequest }
ExportConfigurationsRequest is the request type for the ExportConfigurations API operation.
func (ExportConfigurationsRequest) Send ¶
func (r ExportConfigurationsRequest) Send(ctx context.Context) (*ExportConfigurationsResponse, error)
Send marshals and sends the ExportConfigurations API request.
type ExportConfigurationsResponse ¶ added in v0.9.0
type ExportConfigurationsResponse struct { *ExportConfigurationsOutput // contains filtered or unexported fields }
ExportConfigurationsResponse is the response type for the ExportConfigurations API operation.
func (*ExportConfigurationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ExportConfigurationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ExportConfigurations request.
type ExportDataFormat ¶
type ExportDataFormat string
const ( ExportDataFormatCsv ExportDataFormat = "CSV" ExportDataFormatGraphml ExportDataFormat = "GRAPHML" )
Enum values for ExportDataFormat
func (ExportDataFormat) MarshalValue ¶ added in v0.3.0
func (enum ExportDataFormat) MarshalValue() (string, error)
func (ExportDataFormat) MarshalValueBuf ¶ added in v0.3.0
func (enum ExportDataFormat) MarshalValueBuf(b []byte) ([]byte, error)
type ExportFilter ¶
type ExportFilter struct { // Supported condition: EQUALS // // Condition is a required field Condition *string `locationName:"condition" type:"string" required:"true"` // A single ExportFilter name. Supported filters: agentId. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A single agentId for a Discovery Agent. An agentId can be found using the // DescribeAgents (http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html) // action. Typically an ADS agentId is in the form o-0123456789abcdef0. // // Values is a required field Values []string `locationName:"values" type:"list" required:"true"` // contains filtered or unexported fields }
Used to select which agent's data is to be exported. A single agent ID may be selected for export using the StartExportTask (http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html) action.
func (ExportFilter) String ¶
func (s ExportFilter) String() string
String returns the string representation
func (*ExportFilter) Validate ¶
func (s *ExportFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportInfo ¶
type ExportInfo struct { // A URL for an Amazon S3 bucket where you can review the exported data. The // URL is displayed only if the export succeeded. ConfigurationsDownloadUrl *string `locationName:"configurationsDownloadUrl" type:"string"` // A unique identifier used to query an export. // // ExportId is a required field ExportId *string `locationName:"exportId" type:"string" required:"true"` // The time that the data export was initiated. // // ExportRequestTime is a required field ExportRequestTime *time.Time `locationName:"exportRequestTime" type:"timestamp" required:"true"` // The status of the data export job. // // ExportStatus is a required field ExportStatus ExportStatus `locationName:"exportStatus" type:"string" required:"true" enum:"true"` // 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. IsTruncated *bool `locationName:"isTruncated" type:"boolean"` // The endTime used in the StartExportTask request. If no endTime was requested, // this result does not appear in ExportInfo. RequestedEndTime *time.Time `locationName:"requestedEndTime" type:"timestamp"` // The value of startTime parameter in the StartExportTask request. If no startTime // was requested, this result does not appear in ExportInfo. RequestedStartTime *time.Time `locationName:"requestedStartTime" type:"timestamp"` // A status message provided for API callers. // // StatusMessage is a required field StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` // contains filtered or unexported fields }
Information regarding the export status of discovered data. The value is an array of objects.
func (ExportInfo) String ¶
func (s ExportInfo) String() string
String returns the string representation
type ExportStatus ¶
type ExportStatus string
const ( ExportStatusFailed ExportStatus = "FAILED" ExportStatusSucceeded ExportStatus = "SUCCEEDED" ExportStatusInProgress ExportStatus = "IN_PROGRESS" )
Enum values for ExportStatus
func (ExportStatus) MarshalValue ¶ added in v0.3.0
func (enum ExportStatus) MarshalValue() (string, error)
func (ExportStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ExportStatus) MarshalValueBuf(b []byte) ([]byte, error)
type Filter ¶
type Filter struct { // 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. // // Condition is a required field Condition *string `locationName:"condition" type:"string" required:"true"` // The name of the filter. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A string value on which to filter. For example, if you choose the destinationServer.osVersion // filter name, you could specify Ubuntu for the value. // // Values is a required field Values []string `locationName:"values" type:"list" required:"true"` // contains filtered or unexported fields }
A filter that can use conditional operators.
For more information about filters, see Querying Discovered Configuration Items (https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html) in the AWS Application Discovery Service User Guide.
type GetDiscoverySummaryInput ¶
type GetDiscoverySummaryInput struct {
// contains filtered or unexported fields
}
func (GetDiscoverySummaryInput) String ¶
func (s GetDiscoverySummaryInput) String() string
String returns the string representation
type GetDiscoverySummaryOutput ¶
type GetDiscoverySummaryOutput struct { // Details about discovered agents, including agent status and health. AgentSummary *CustomerAgentInfo `locationName:"agentSummary" type:"structure"` // The number of applications discovered. Applications *int64 `locationName:"applications" type:"long"` // Details about discovered connectors, including connector status and health. ConnectorSummary *CustomerConnectorInfo `locationName:"connectorSummary" type:"structure"` // The number of servers discovered. Servers *int64 `locationName:"servers" type:"long"` // The number of servers mapped to applications. ServersMappedToApplications *int64 `locationName:"serversMappedToApplications" type:"long"` // The number of servers mapped to tags. ServersMappedtoTags *int64 `locationName:"serversMappedtoTags" type:"long"` // contains filtered or unexported fields }
func (GetDiscoverySummaryOutput) String ¶
func (s GetDiscoverySummaryOutput) String() string
String returns the string representation
type GetDiscoverySummaryRequest ¶
type GetDiscoverySummaryRequest struct { *aws.Request Input *GetDiscoverySummaryInput Copy func(*GetDiscoverySummaryInput) GetDiscoverySummaryRequest }
GetDiscoverySummaryRequest is the request type for the GetDiscoverySummary API operation.
func (GetDiscoverySummaryRequest) Send ¶
func (r GetDiscoverySummaryRequest) Send(ctx context.Context) (*GetDiscoverySummaryResponse, error)
Send marshals and sends the GetDiscoverySummary API request.
type GetDiscoverySummaryResponse ¶ added in v0.9.0
type GetDiscoverySummaryResponse struct { *GetDiscoverySummaryOutput // contains filtered or unexported fields }
GetDiscoverySummaryResponse is the response type for the GetDiscoverySummary API operation.
func (*GetDiscoverySummaryResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDiscoverySummaryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDiscoverySummary request.
type ImportStatus ¶ added in v0.8.0
type ImportStatus string
const ( ImportStatusImportInProgress ImportStatus = "IMPORT_IN_PROGRESS" ImportStatusImportComplete ImportStatus = "IMPORT_COMPLETE" ImportStatusImportCompleteWithErrors ImportStatus = "IMPORT_COMPLETE_WITH_ERRORS" ImportStatusImportFailed ImportStatus = "IMPORT_FAILED" ImportStatusImportFailedServerLimitExceeded ImportStatus = "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED" ImportStatusImportFailedRecordLimitExceeded ImportStatus = "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" ImportStatusDeleteInProgress ImportStatus = "DELETE_IN_PROGRESS" ImportStatusDeleteComplete ImportStatus = "DELETE_COMPLETE" ImportStatusDeleteFailed ImportStatus = "DELETE_FAILED" ImportStatusDeleteFailedLimitExceeded ImportStatus = "DELETE_FAILED_LIMIT_EXCEEDED" ImportStatusInternalError ImportStatus = "INTERNAL_ERROR" )
Enum values for ImportStatus
func (ImportStatus) MarshalValue ¶ added in v0.8.0
func (enum ImportStatus) MarshalValue() (string, error)
func (ImportStatus) MarshalValueBuf ¶ added in v0.8.0
func (enum ImportStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ImportTask ¶ added in v0.8.0
type ImportTask struct { // The total number of application records in the import file that failed to // be imported. ApplicationImportFailure *int64 `locationName:"applicationImportFailure" type:"integer"` // The total number of application records in the import file that were successfully // imported. ApplicationImportSuccess *int64 `locationName:"applicationImportSuccess" type:"integer"` // 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. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"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. ErrorsAndFailedEntriesZip *string `locationName:"errorsAndFailedEntriesZip" type:"string"` // The time that the import task request finished, presented in the Unix time // stamp format. ImportCompletionTime *time.Time `locationName:"importCompletionTime" type:"timestamp"` // The time that the import task request was deleted, presented in the Unix // time stamp format. ImportDeletedTime *time.Time `locationName:"importDeletedTime" type:"timestamp"` // The time that the import task request was made, presented in the Unix time // stamp format. ImportRequestTime *time.Time `locationName:"importRequestTime" type:"timestamp"` // The unique ID for a specific import task. These IDs aren't globally unique, // but they are unique within an AWS account. ImportTaskId *string `locationName:"importTaskId" type:"string"` // The URL for your import file that you've uploaded to Amazon S3. ImportUrl *string `locationName:"importUrl" min:"1" type:"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. Name *string `locationName:"name" min:"1" type:"string"` // The total number of server records in the import file that failed to be imported. ServerImportFailure *int64 `locationName:"serverImportFailure" type:"integer"` // The total number of server records in the import file that were successfully // imported. ServerImportSuccess *int64 `locationName:"serverImportSuccess" type:"integer"` // 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. Status ImportStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
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.
func (ImportTask) String ¶ added in v0.8.0
func (s ImportTask) String() string
String returns the string representation
type ImportTaskFilter ¶ added in v0.8.0
type ImportTaskFilter struct { // The name, status, or import task ID for a specific import task. Name ImportTaskFilterName `locationName:"name" type:"string" enum:"true"` // 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. Values []string `locationName:"values" min:"1" type:"list"` // contains filtered or unexported fields }
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.
When filtering by import status, all other filter values are ignored.
func (ImportTaskFilter) String ¶ added in v0.8.0
func (s ImportTaskFilter) String() string
String returns the string representation
func (*ImportTaskFilter) Validate ¶ added in v0.8.0
func (s *ImportTaskFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportTaskFilterName ¶ added in v0.8.0
type ImportTaskFilterName string
const ( ImportTaskFilterNameImportTaskId ImportTaskFilterName = "IMPORT_TASK_ID" ImportTaskFilterNameStatus ImportTaskFilterName = "STATUS" ImportTaskFilterNameName ImportTaskFilterName = "NAME" )
Enum values for ImportTaskFilterName
func (ImportTaskFilterName) MarshalValue ¶ added in v0.8.0
func (enum ImportTaskFilterName) MarshalValue() (string, error)
func (ImportTaskFilterName) MarshalValueBuf ¶ added in v0.8.0
func (enum ImportTaskFilterName) MarshalValueBuf(b []byte) ([]byte, error)
type ListConfigurationsInput ¶
type ListConfigurationsInput struct { // A valid configuration identified by Application Discovery Service. // // ConfigurationType is a required field ConfigurationType ConfigurationItemType `locationName:"configurationType" type:"string" required:"true" enum:"true"` // 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 (https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations) // in the AWS Application Discovery Service User Guide. Filters []Filter `locationName:"filters" type:"list"` // The total number of items to return. The maximum value is 100. MaxResults *int64 `locationName:"maxResults" type:"integer"` // 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 `locationName:"nextToken" type:"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 (https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations) // in the AWS Application Discovery Service User Guide. OrderBy []OrderByElement `locationName:"orderBy" type:"list"` // contains filtered or unexported fields }
func (ListConfigurationsInput) String ¶
func (s ListConfigurationsInput) String() string
String returns the string representation
func (*ListConfigurationsInput) Validate ¶
func (s *ListConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListConfigurationsOutput ¶
type ListConfigurationsOutput struct { // Returns configuration details, including the configuration ID, attribute // names, and attribute values. Configurations []map[string]string `locationName:"configurations" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListConfigurationsOutput) String ¶
func (s ListConfigurationsOutput) String() string
String returns the string representation
type ListConfigurationsRequest ¶
type ListConfigurationsRequest struct { *aws.Request Input *ListConfigurationsInput Copy func(*ListConfigurationsInput) ListConfigurationsRequest }
ListConfigurationsRequest is the request type for the ListConfigurations API operation.
func (ListConfigurationsRequest) Send ¶
func (r ListConfigurationsRequest) Send(ctx context.Context) (*ListConfigurationsResponse, error)
Send marshals and sends the ListConfigurations API request.
type ListConfigurationsResponse ¶ added in v0.9.0
type ListConfigurationsResponse struct { *ListConfigurationsOutput // contains filtered or unexported fields }
ListConfigurationsResponse is the response type for the ListConfigurations API operation.
func (*ListConfigurationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListConfigurationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListConfigurations request.
type ListServerNeighborsInput ¶
type ListServerNeighborsInput struct { // Configuration ID of the server for which neighbors are being listed. // // ConfigurationId is a required field ConfigurationId *string `locationName:"configurationId" type:"string" required:"true"` // Maximum number of results to return in a single page of output. MaxResults *int64 `locationName:"maxResults" type:"integer"` // List of configuration IDs to test for one-hop-away. NeighborConfigurationIds []string `locationName:"neighborConfigurationIds" type:"list"` // 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 `locationName:"nextToken" type:"string"` // Flag to indicate if port and protocol information is needed as part of the // response. PortInformationNeeded *bool `locationName:"portInformationNeeded" type:"boolean"` // contains filtered or unexported fields }
func (ListServerNeighborsInput) String ¶
func (s ListServerNeighborsInput) String() string
String returns the string representation
func (*ListServerNeighborsInput) Validate ¶
func (s *ListServerNeighborsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListServerNeighborsOutput ¶
type ListServerNeighborsOutput struct { // Count of distinct servers that are one hop away from the given server. KnownDependencyCount *int64 `locationName:"knownDependencyCount" type:"long"` // List of distinct servers that are one hop away from the given server. // // Neighbors is a required field Neighbors []NeighborConnectionDetail `locationName:"neighbors" type:"list" required:"true"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListServerNeighborsOutput) String ¶
func (s ListServerNeighborsOutput) String() string
String returns the string representation
type ListServerNeighborsRequest ¶
type ListServerNeighborsRequest struct { *aws.Request Input *ListServerNeighborsInput Copy func(*ListServerNeighborsInput) ListServerNeighborsRequest }
ListServerNeighborsRequest is the request type for the ListServerNeighbors API operation.
func (ListServerNeighborsRequest) Send ¶
func (r ListServerNeighborsRequest) Send(ctx context.Context) (*ListServerNeighborsResponse, error)
Send marshals and sends the ListServerNeighbors API request.
type ListServerNeighborsResponse ¶ added in v0.9.0
type ListServerNeighborsResponse struct { *ListServerNeighborsOutput // contains filtered or unexported fields }
ListServerNeighborsResponse is the response type for the ListServerNeighbors API operation.
func (*ListServerNeighborsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListServerNeighborsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListServerNeighbors request.
type NeighborConnectionDetail ¶
type NeighborConnectionDetail struct { // The number of open network connections with the neighboring server. // // ConnectionsCount is a required field ConnectionsCount *int64 `locationName:"connectionsCount" type:"long" required:"true"` // The destination network port for the connection. DestinationPort *int64 `locationName:"destinationPort" type:"integer"` // The ID of the server that accepted the network connection. // // DestinationServerId is a required field DestinationServerId *string `locationName:"destinationServerId" type:"string" required:"true"` // The ID of the server that opened the network connection. // // SourceServerId is a required field SourceServerId *string `locationName:"sourceServerId" type:"string" required:"true"` // The network protocol used for the connection. TransportProtocol *string `locationName:"transportProtocol" type:"string"` // contains filtered or unexported fields }
Details about neighboring servers.
func (NeighborConnectionDetail) String ¶
func (s NeighborConnectionDetail) String() string
String returns the string representation
type OrderByElement ¶
type OrderByElement struct { // The field on which to order. // // FieldName is a required field FieldName *string `locationName:"fieldName" type:"string" required:"true"` // Ordering direction. SortOrder OrderString `locationName:"sortOrder" type:"string" enum:"true"` // contains filtered or unexported fields }
A field and direction for ordered output.
func (OrderByElement) String ¶
func (s OrderByElement) String() string
String returns the string representation
func (*OrderByElement) Validate ¶
func (s *OrderByElement) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OrderString ¶
type OrderString string
const ( OrderStringAsc OrderString = "ASC" OrderStringDesc OrderString = "DESC" )
Enum values for OrderString
func (OrderString) MarshalValue ¶ added in v0.3.0
func (enum OrderString) MarshalValue() (string, error)
func (OrderString) MarshalValueBuf ¶ added in v0.3.0
func (enum OrderString) MarshalValueBuf(b []byte) ([]byte, error)
type StartContinuousExportInput ¶ added in v0.5.0
type StartContinuousExportInput struct {
// contains filtered or unexported fields
}
func (StartContinuousExportInput) String ¶ added in v0.5.0
func (s StartContinuousExportInput) String() string
String returns the string representation
type StartContinuousExportOutput ¶ added in v0.5.0
type StartContinuousExportOutput struct { // The type of data collector used to gather this data (currently only offered // for AGENT). DataSource DataSource `locationName:"dataSource" type:"string" enum:"true"` // The unique ID assigned to this export. ExportId *string `locationName:"exportId" type:"string"` // The name of the s3 bucket where the export data parquet files are stored. S3Bucket *string `locationName:"s3Bucket" type:"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 `locationName:"schemaStorageConfig" type:"map"` // The timestamp representing when the continuous export was started. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // contains filtered or unexported fields }
func (StartContinuousExportOutput) String ¶ added in v0.5.0
func (s StartContinuousExportOutput) String() string
String returns the string representation
type StartContinuousExportRequest ¶ added in v0.5.0
type StartContinuousExportRequest struct { *aws.Request Input *StartContinuousExportInput Copy func(*StartContinuousExportInput) StartContinuousExportRequest }
StartContinuousExportRequest is the request type for the StartContinuousExport API operation.
func (StartContinuousExportRequest) Send ¶ added in v0.5.0
func (r StartContinuousExportRequest) Send(ctx context.Context) (*StartContinuousExportResponse, error)
Send marshals and sends the StartContinuousExport API request.
type StartContinuousExportResponse ¶ added in v0.9.0
type StartContinuousExportResponse struct { *StartContinuousExportOutput // contains filtered or unexported fields }
StartContinuousExportResponse is the response type for the StartContinuousExport API operation.
func (*StartContinuousExportResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartContinuousExportResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartContinuousExport request.
type StartDataCollectionByAgentIdsInput ¶
type StartDataCollectionByAgentIdsInput struct { // The IDs of the agents or connectors from which to start collecting data. // If you send a request to an agent/connector ID that you do not have permission // to contact, according to your AWS 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/connectors and you do not have permission // to contact some of those agents/connectors, the system does not throw an // exception. Instead, the system shows Failed in the Description field. // // AgentIds is a required field AgentIds []string `locationName:"agentIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (StartDataCollectionByAgentIdsInput) String ¶
func (s StartDataCollectionByAgentIdsInput) String() string
String returns the string representation
func (*StartDataCollectionByAgentIdsInput) Validate ¶
func (s *StartDataCollectionByAgentIdsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartDataCollectionByAgentIdsOutput ¶
type StartDataCollectionByAgentIdsOutput struct { // Information about agents or the connector that were instructed to start collecting // data. Information includes the agent/connector ID, a description of the operation // performed, and whether the agent/connector configuration was updated. AgentsConfigurationStatus []AgentConfigurationStatus `locationName:"agentsConfigurationStatus" type:"list"` // contains filtered or unexported fields }
func (StartDataCollectionByAgentIdsOutput) String ¶
func (s StartDataCollectionByAgentIdsOutput) String() string
String returns the string representation
type StartDataCollectionByAgentIdsRequest ¶
type StartDataCollectionByAgentIdsRequest struct { *aws.Request Input *StartDataCollectionByAgentIdsInput Copy func(*StartDataCollectionByAgentIdsInput) StartDataCollectionByAgentIdsRequest }
StartDataCollectionByAgentIdsRequest is the request type for the StartDataCollectionByAgentIds API operation.
func (StartDataCollectionByAgentIdsRequest) Send ¶
func (r StartDataCollectionByAgentIdsRequest) Send(ctx context.Context) (*StartDataCollectionByAgentIdsResponse, error)
Send marshals and sends the StartDataCollectionByAgentIds API request.
type StartDataCollectionByAgentIdsResponse ¶ added in v0.9.0
type StartDataCollectionByAgentIdsResponse struct { *StartDataCollectionByAgentIdsOutput // contains filtered or unexported fields }
StartDataCollectionByAgentIdsResponse is the response type for the StartDataCollectionByAgentIds API operation.
func (*StartDataCollectionByAgentIdsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartDataCollectionByAgentIdsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartDataCollectionByAgentIds request.
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 `locationName:"endTime" type:"timestamp"` // The file format for the returned export data. Default value is CSV. Note: // The GRAPHML option has been deprecated. ExportDataFormat []ExportDataFormat `locationName:"exportDataFormat" type:"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 Agentless Discovery // Connector data and summary data from Application Discovery agents. Filters []ExportFilter `locationName:"filters" type:"list"` // 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 `locationName:"startTime" type:"timestamp"` // contains filtered or unexported fields }
func (StartExportTaskInput) String ¶
func (s StartExportTaskInput) String() string
String returns the string representation
func (*StartExportTaskInput) Validate ¶
func (s *StartExportTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartExportTaskOutput ¶
type StartExportTaskOutput struct { // A unique identifier used to query the status of an export request. ExportId *string `locationName:"exportId" type:"string"` // contains filtered or unexported fields }
func (StartExportTaskOutput) String ¶
func (s StartExportTaskOutput) String() string
String returns the string representation
type StartExportTaskRequest ¶
type StartExportTaskRequest struct { *aws.Request Input *StartExportTaskInput Copy func(*StartExportTaskInput) StartExportTaskRequest }
StartExportTaskRequest is the request type for the StartExportTask API operation.
func (StartExportTaskRequest) Send ¶
func (r StartExportTaskRequest) Send(ctx context.Context) (*StartExportTaskResponse, error)
Send marshals and sends the StartExportTask API request.
type StartExportTaskResponse ¶ added in v0.9.0
type StartExportTaskResponse struct { *StartExportTaskOutput // contains filtered or unexported fields }
StartExportTaskResponse is the response type for the StartExportTask API operation.
func (*StartExportTaskResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartExportTaskResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartExportTask request.
type StartImportTaskInput ¶ added in v0.8.0
type StartImportTaskInput struct { // 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 `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"` // The URL for your import file that you've uploaded to Amazon S3. // // If you're using the AWS CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV // // ImportUrl is a required field ImportUrl *string `locationName:"importUrl" min:"1" type:"string" required:"true"` // 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. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartImportTaskInput) String ¶ added in v0.8.0
func (s StartImportTaskInput) String() string
String returns the string representation
func (*StartImportTaskInput) Validate ¶ added in v0.8.0
func (s *StartImportTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartImportTaskOutput ¶ added in v0.8.0
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 *ImportTask `locationName:"task" type:"structure"` // contains filtered or unexported fields }
func (StartImportTaskOutput) String ¶ added in v0.8.0
func (s StartImportTaskOutput) String() string
String returns the string representation
type StartImportTaskRequest ¶ added in v0.8.0
type StartImportTaskRequest struct { *aws.Request Input *StartImportTaskInput Copy func(*StartImportTaskInput) StartImportTaskRequest }
StartImportTaskRequest is the request type for the StartImportTask API operation.
func (StartImportTaskRequest) Send ¶ added in v0.8.0
func (r StartImportTaskRequest) Send(ctx context.Context) (*StartImportTaskResponse, error)
Send marshals and sends the StartImportTask API request.
type StartImportTaskResponse ¶ added in v0.9.0
type StartImportTaskResponse struct { *StartImportTaskOutput // contains filtered or unexported fields }
StartImportTaskResponse is the response type for the StartImportTask API operation.
func (*StartImportTaskResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartImportTaskResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartImportTask request.
type StopContinuousExportInput ¶ added in v0.5.0
type StopContinuousExportInput struct { // The unique ID assigned to this export. // // ExportId is a required field ExportId *string `locationName:"exportId" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopContinuousExportInput) String ¶ added in v0.5.0
func (s StopContinuousExportInput) String() string
String returns the string representation
func (*StopContinuousExportInput) Validate ¶ added in v0.5.0
func (s *StopContinuousExportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopContinuousExportOutput ¶ added in v0.5.0
type StopContinuousExportOutput struct { // Timestamp that represents when this continuous export started collecting // data. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // Timestamp that represents when this continuous export was stopped. StopTime *time.Time `locationName:"stopTime" type:"timestamp"` // contains filtered or unexported fields }
func (StopContinuousExportOutput) String ¶ added in v0.5.0
func (s StopContinuousExportOutput) String() string
String returns the string representation
type StopContinuousExportRequest ¶ added in v0.5.0
type StopContinuousExportRequest struct { *aws.Request Input *StopContinuousExportInput Copy func(*StopContinuousExportInput) StopContinuousExportRequest }
StopContinuousExportRequest is the request type for the StopContinuousExport API operation.
func (StopContinuousExportRequest) Send ¶ added in v0.5.0
func (r StopContinuousExportRequest) Send(ctx context.Context) (*StopContinuousExportResponse, error)
Send marshals and sends the StopContinuousExport API request.
type StopContinuousExportResponse ¶ added in v0.9.0
type StopContinuousExportResponse struct { *StopContinuousExportOutput // contains filtered or unexported fields }
StopContinuousExportResponse is the response type for the StopContinuousExport API operation.
func (*StopContinuousExportResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StopContinuousExportResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopContinuousExport request.
type StopDataCollectionByAgentIdsInput ¶
type StopDataCollectionByAgentIdsInput struct { // The IDs of the agents or connectors from which to stop collecting data. // // AgentIds is a required field AgentIds []string `locationName:"agentIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (StopDataCollectionByAgentIdsInput) String ¶
func (s StopDataCollectionByAgentIdsInput) String() string
String returns the string representation
func (*StopDataCollectionByAgentIdsInput) Validate ¶
func (s *StopDataCollectionByAgentIdsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopDataCollectionByAgentIdsOutput ¶
type StopDataCollectionByAgentIdsOutput struct { // Information about the agents or connector that were instructed to stop collecting // data. Information includes the agent/connector ID, a description of the operation // performed, and whether the agent/connector configuration was updated. AgentsConfigurationStatus []AgentConfigurationStatus `locationName:"agentsConfigurationStatus" type:"list"` // contains filtered or unexported fields }
func (StopDataCollectionByAgentIdsOutput) String ¶
func (s StopDataCollectionByAgentIdsOutput) String() string
String returns the string representation
type StopDataCollectionByAgentIdsRequest ¶
type StopDataCollectionByAgentIdsRequest struct { *aws.Request Input *StopDataCollectionByAgentIdsInput Copy func(*StopDataCollectionByAgentIdsInput) StopDataCollectionByAgentIdsRequest }
StopDataCollectionByAgentIdsRequest is the request type for the StopDataCollectionByAgentIds API operation.
func (StopDataCollectionByAgentIdsRequest) Send ¶
func (r StopDataCollectionByAgentIdsRequest) Send(ctx context.Context) (*StopDataCollectionByAgentIdsResponse, error)
Send marshals and sends the StopDataCollectionByAgentIds API request.
type StopDataCollectionByAgentIdsResponse ¶ added in v0.9.0
type StopDataCollectionByAgentIdsResponse struct { *StopDataCollectionByAgentIdsOutput // contains filtered or unexported fields }
StopDataCollectionByAgentIdsResponse is the response type for the StopDataCollectionByAgentIds API operation.
func (*StopDataCollectionByAgentIdsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StopDataCollectionByAgentIdsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopDataCollectionByAgentIds request.
type Tag ¶
type Tag struct { // The type of tag on which to filter. // // Key is a required field Key *string `locationName:"key" type:"string" required:"true"` // A value for a tag key on which to filter. // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` // contains filtered or unexported fields }
Metadata that help you categorize IT assets.
type TagFilter ¶
type TagFilter struct { // A name of the tag filter. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Values for the tag filter. // // Values is a required field Values []string `locationName:"values" type:"list" required:"true"` // contains filtered or unexported fields }
The tag filter. Valid names are: tagKey, tagValue, configurationId.
type UpdateApplicationInput ¶
type UpdateApplicationInput struct { // Configuration ID of the application to be updated. // // ConfigurationId is a required field ConfigurationId *string `locationName:"configurationId" type:"string" required:"true"` // New description of the application to be updated. Description *string `locationName:"description" type:"string"` // New name of the application to be updated. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
func (UpdateApplicationInput) String ¶
func (s UpdateApplicationInput) String() string
String returns the string representation
func (*UpdateApplicationInput) Validate ¶
func (s *UpdateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApplicationOutput ¶
type UpdateApplicationOutput struct {
// contains filtered or unexported fields
}
func (UpdateApplicationOutput) String ¶
func (s UpdateApplicationOutput) String() string
String returns the string representation
type UpdateApplicationRequest ¶
type UpdateApplicationRequest struct { *aws.Request Input *UpdateApplicationInput Copy func(*UpdateApplicationInput) UpdateApplicationRequest }
UpdateApplicationRequest is the request type for the UpdateApplication API operation.
func (UpdateApplicationRequest) Send ¶
func (r UpdateApplicationRequest) Send(ctx context.Context) (*UpdateApplicationResponse, error)
Send marshals and sends the UpdateApplication API request.
type UpdateApplicationResponse ¶ added in v0.9.0
type UpdateApplicationResponse struct { *UpdateApplicationOutput // contains filtered or unexported fields }
UpdateApplicationResponse is the response type for the UpdateApplication API operation.
func (*UpdateApplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateApplication request.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_AssociateConfigurationItemsToApplication.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_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_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
- api_types.go
Directories ¶
Path | Synopsis |
---|---|
Package applicationdiscoveryserviceiface provides an interface to enable mocking the AWS Application Discovery Service service client for testing your code.
|
Package applicationdiscoveryserviceiface provides an interface to enable mocking the AWS Application Discovery Service service client for testing your code. |