AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ApplicationDiscoveryService

import "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice"

type ApplicationDiscoveryService struct { *client.Client }

ApplicationDiscoveryService 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.

ApplicationDiscoveryService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

AssociateConfigurationItemsToApplication

func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplication(input *AssociateConfigurationItemsToApplicationInput) (*AssociateConfigurationItemsToApplicationOutput, error)

AssociateConfigurationItemsToApplication API operation for AWS Application Discovery Service.

Associates one or more configuration items with an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation AssociateConfigurationItemsToApplication for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplication

AssociateConfigurationItemsToApplicationRequest

func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationRequest(input *AssociateConfigurationItemsToApplicationInput) (req *request.Request, output *AssociateConfigurationItemsToApplicationOutput)

AssociateConfigurationItemsToApplicationRequest generates a "aws/request.Request" representing the client's request for the AssociateConfigurationItemsToApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateConfigurationItemsToApplication for more information on using the AssociateConfigurationItemsToApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateConfigurationItemsToApplicationRequest method. req, resp := client.AssociateConfigurationItemsToApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplication

AssociateConfigurationItemsToApplicationWithContext

func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationWithContext(ctx aws.Context, input *AssociateConfigurationItemsToApplicationInput, opts ...request.Option) (*AssociateConfigurationItemsToApplicationOutput, error)

AssociateConfigurationItemsToApplicationWithContext is the same as AssociateConfigurationItemsToApplication with the addition of the ability to pass a context and additional request options.

See AssociateConfigurationItemsToApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

BatchDeleteImportData

func (c *ApplicationDiscoveryService) BatchDeleteImportData(input *BatchDeleteImportDataInput) (*BatchDeleteImportDataOutput, error)

BatchDeleteImportData 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation BatchDeleteImportData for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/BatchDeleteImportData

BatchDeleteImportDataRequest

func (c *ApplicationDiscoveryService) BatchDeleteImportDataRequest(input *BatchDeleteImportDataInput) (req *request.Request, output *BatchDeleteImportDataOutput)

BatchDeleteImportDataRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteImportData operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDeleteImportData for more information on using the BatchDeleteImportData API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDeleteImportDataRequest method. req, resp := client.BatchDeleteImportDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/BatchDeleteImportData

BatchDeleteImportDataWithContext

func (c *ApplicationDiscoveryService) BatchDeleteImportDataWithContext(ctx aws.Context, input *BatchDeleteImportDataInput, opts ...request.Option) (*BatchDeleteImportDataOutput, error)

BatchDeleteImportDataWithContext is the same as BatchDeleteImportData with the addition of the ability to pass a context and additional request options.

See BatchDeleteImportData for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateApplication

func (c *ApplicationDiscoveryService) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error)

CreateApplication API operation for AWS Application Discovery Service.

Creates an application with the given name and description.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation CreateApplication for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplication

CreateApplicationRequest

func (c *ApplicationDiscoveryService) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput)

CreateApplicationRequest generates a "aws/request.Request" representing the client's request for the CreateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateApplication for more information on using the CreateApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateApplicationRequest method. req, resp := client.CreateApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplication

CreateApplicationWithContext

func (c *ApplicationDiscoveryService) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error)

CreateApplicationWithContext is the same as CreateApplication with the addition of the ability to pass a context and additional request options.

See CreateApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateTags

func (c *ApplicationDiscoveryService) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error)

CreateTags 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation CreateTags for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified configuration ID was not located. Verify the configuration ID and try again.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTags

CreateTagsRequest

func (c *ApplicationDiscoveryService) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput)

CreateTagsRequest generates a "aws/request.Request" representing the client's request for the CreateTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateTags for more information on using the CreateTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateTagsRequest method. req, resp := client.CreateTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTags

CreateTagsWithContext

func (c *ApplicationDiscoveryService) CreateTagsWithContext(ctx aws.Context, input *CreateTagsInput, opts ...request.Option) (*CreateTagsOutput, error)

CreateTagsWithContext is the same as CreateTags with the addition of the ability to pass a context and additional request options.

See CreateTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteApplications

func (c *ApplicationDiscoveryService) DeleteApplications(input *DeleteApplicationsInput) (*DeleteApplicationsOutput, error)

DeleteApplications API operation for AWS Application Discovery Service.

Deletes a list of applications and their associations with configuration items.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DeleteApplications for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplications

DeleteApplicationsRequest

func (c *ApplicationDiscoveryService) DeleteApplicationsRequest(input *DeleteApplicationsInput) (req *request.Request, output *DeleteApplicationsOutput)

DeleteApplicationsRequest generates a "aws/request.Request" representing the client's request for the DeleteApplications operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteApplications for more information on using the DeleteApplications API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteApplicationsRequest method. req, resp := client.DeleteApplicationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplications

DeleteApplicationsWithContext

func (c *ApplicationDiscoveryService) DeleteApplicationsWithContext(ctx aws.Context, input *DeleteApplicationsInput, opts ...request.Option) (*DeleteApplicationsOutput, error)

DeleteApplicationsWithContext is the same as DeleteApplications with the addition of the ability to pass a context and additional request options.

See DeleteApplications for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteTags

func (c *ApplicationDiscoveryService) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error)

DeleteTags 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DeleteTags for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified configuration ID was not located. Verify the configuration ID and try again.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTags

DeleteTagsRequest

func (c *ApplicationDiscoveryService) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput)

DeleteTagsRequest generates a "aws/request.Request" representing the client's request for the DeleteTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteTags for more information on using the DeleteTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTagsRequest method. req, resp := client.DeleteTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTags

DeleteTagsWithContext

func (c *ApplicationDiscoveryService) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error)

DeleteTagsWithContext is the same as DeleteTags with the addition of the ability to pass a context and additional request options.

See DeleteTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAgents

func (c *ApplicationDiscoveryService) DescribeAgents(input *DescribeAgentsInput) (*DescribeAgentsOutput, error)

DescribeAgents 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DescribeAgents for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgents

DescribeAgentsRequest

func (c *ApplicationDiscoveryService) DescribeAgentsRequest(input *DescribeAgentsInput) (req *request.Request, output *DescribeAgentsOutput)

DescribeAgentsRequest generates a "aws/request.Request" representing the client's request for the DescribeAgents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAgents for more information on using the DescribeAgents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAgentsRequest method. req, resp := client.DescribeAgentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgents

DescribeAgentsWithContext

func (c *ApplicationDiscoveryService) DescribeAgentsWithContext(ctx aws.Context, input *DescribeAgentsInput, opts ...request.Option) (*DescribeAgentsOutput, error)

DescribeAgentsWithContext is the same as DescribeAgents with the addition of the ability to pass a context and additional request options.

See DescribeAgents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeConfigurations

func (c *ApplicationDiscoveryService) DescribeConfigurations(input *DescribeConfigurationsInput) (*DescribeConfigurationsOutput, error)

DescribeConfigurations 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/APIReference/discovery-api-queries.html#DescribeConfigurations).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DescribeConfigurations for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurations

DescribeConfigurationsRequest

func (c *ApplicationDiscoveryService) DescribeConfigurationsRequest(input *DescribeConfigurationsInput) (req *request.Request, output *DescribeConfigurationsOutput)

DescribeConfigurationsRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigurations for more information on using the DescribeConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigurationsRequest method. req, resp := client.DescribeConfigurationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurations

DescribeConfigurationsWithContext

func (c *ApplicationDiscoveryService) DescribeConfigurationsWithContext(ctx aws.Context, input *DescribeConfigurationsInput, opts ...request.Option) (*DescribeConfigurationsOutput, error)

DescribeConfigurationsWithContext is the same as DescribeConfigurations with the addition of the ability to pass a context and additional request options.

See DescribeConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeContinuousExports

func (c *ApplicationDiscoveryService) DescribeContinuousExports(input *DescribeContinuousExportsInput) (*DescribeContinuousExportsOutput, error)

DescribeContinuousExports 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DescribeContinuousExports for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" This operation is not permitted.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified configuration ID was not located. Verify the configuration ID and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeContinuousExports

DescribeContinuousExportsPages

func (c *ApplicationDiscoveryService) DescribeContinuousExportsPages(input *DescribeContinuousExportsInput, fn func(*DescribeContinuousExportsOutput, bool) bool) error

DescribeContinuousExportsPages iterates over the pages of a DescribeContinuousExports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeContinuousExports method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeContinuousExports operation. pageNum := 0 err := client.DescribeContinuousExportsPages(params, func(page *DescribeContinuousExportsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeContinuousExportsPagesWithContext

func (c *ApplicationDiscoveryService) DescribeContinuousExportsPagesWithContext(ctx aws.Context, input *DescribeContinuousExportsInput, fn func(*DescribeContinuousExportsOutput, bool) bool, opts ...request.Option) error

DescribeContinuousExportsPagesWithContext same as DescribeContinuousExportsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeContinuousExportsRequest

func (c *ApplicationDiscoveryService) DescribeContinuousExportsRequest(input *DescribeContinuousExportsInput) (req *request.Request, output *DescribeContinuousExportsOutput)

DescribeContinuousExportsRequest generates a "aws/request.Request" representing the client's request for the DescribeContinuousExports operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeContinuousExports for more information on using the DescribeContinuousExports API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeContinuousExportsRequest method. req, resp := client.DescribeContinuousExportsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeContinuousExports

DescribeContinuousExportsWithContext

func (c *ApplicationDiscoveryService) DescribeContinuousExportsWithContext(ctx aws.Context, input *DescribeContinuousExportsInput, opts ...request.Option) (*DescribeContinuousExportsOutput, error)

DescribeContinuousExportsWithContext is the same as DescribeContinuousExports with the addition of the ability to pass a context and additional request options.

See DescribeContinuousExports for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeExportConfigurations

func (c *ApplicationDiscoveryService) DescribeExportConfigurations(input *DescribeExportConfigurationsInput) (*DescribeExportConfigurationsOutput, error)

DescribeExportConfigurations 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DescribeExportConfigurations for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified configuration ID was not located. Verify the configuration ID and try again.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurations

Deprecated: DescribeExportConfigurations has been deprecated

DescribeExportConfigurationsRequest

func (c *ApplicationDiscoveryService) DescribeExportConfigurationsRequest(input *DescribeExportConfigurationsInput) (req *request.Request, output *DescribeExportConfigurationsOutput)

DescribeExportConfigurationsRequest generates a "aws/request.Request" representing the client's request for the DescribeExportConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeExportConfigurations for more information on using the DescribeExportConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeExportConfigurationsRequest method. req, resp := client.DescribeExportConfigurationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurations

Deprecated: DescribeExportConfigurations has been deprecated

DescribeExportConfigurationsWithContext

func (c *ApplicationDiscoveryService) DescribeExportConfigurationsWithContext(ctx aws.Context, input *DescribeExportConfigurationsInput, opts ...request.Option) (*DescribeExportConfigurationsOutput, error)

DescribeExportConfigurationsWithContext is the same as DescribeExportConfigurations with the addition of the ability to pass a context and additional request options.

See DescribeExportConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Deprecated: DescribeExportConfigurationsWithContext has been deprecated

See Also

For more information about using this API, see AWS API Documentation.

DescribeExportTasks

func (c *ApplicationDiscoveryService) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error)

DescribeExportTasks 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DescribeExportTasks for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasks

DescribeExportTasksRequest

func (c *ApplicationDiscoveryService) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput)

DescribeExportTasksRequest generates a "aws/request.Request" representing the client's request for the DescribeExportTasks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeExportTasks for more information on using the DescribeExportTasks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeExportTasksRequest method. req, resp := client.DescribeExportTasksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasks

DescribeExportTasksWithContext

func (c *ApplicationDiscoveryService) DescribeExportTasksWithContext(ctx aws.Context, input *DescribeExportTasksInput, opts ...request.Option) (*DescribeExportTasksOutput, error)

DescribeExportTasksWithContext is the same as DescribeExportTasks with the addition of the ability to pass a context and additional request options.

See DescribeExportTasks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeImportTasks

func (c *ApplicationDiscoveryService) DescribeImportTasks(input *DescribeImportTasksInput) (*DescribeImportTasksOutput, error)

DescribeImportTasks 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DescribeImportTasks for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeImportTasks

DescribeImportTasksPages

func (c *ApplicationDiscoveryService) DescribeImportTasksPages(input *DescribeImportTasksInput, fn func(*DescribeImportTasksOutput, bool) bool) error

DescribeImportTasksPages iterates over the pages of a DescribeImportTasks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeImportTasks method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeImportTasks operation. pageNum := 0 err := client.DescribeImportTasksPages(params, func(page *DescribeImportTasksOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeImportTasksPagesWithContext

func (c *ApplicationDiscoveryService) DescribeImportTasksPagesWithContext(ctx aws.Context, input *DescribeImportTasksInput, fn func(*DescribeImportTasksOutput, bool) bool, opts ...request.Option) error

DescribeImportTasksPagesWithContext same as DescribeImportTasksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeImportTasksRequest

func (c *ApplicationDiscoveryService) DescribeImportTasksRequest(input *DescribeImportTasksInput) (req *request.Request, output *DescribeImportTasksOutput)

DescribeImportTasksRequest generates a "aws/request.Request" representing the client's request for the DescribeImportTasks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeImportTasks for more information on using the DescribeImportTasks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeImportTasksRequest method. req, resp := client.DescribeImportTasksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeImportTasks

DescribeImportTasksWithContext

func (c *ApplicationDiscoveryService) DescribeImportTasksWithContext(ctx aws.Context, input *DescribeImportTasksInput, opts ...request.Option) (*DescribeImportTasksOutput, error)

DescribeImportTasksWithContext is the same as DescribeImportTasks with the addition of the ability to pass a context and additional request options.

See DescribeImportTasks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeTags

func (c *ApplicationDiscoveryService) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error)

DescribeTags 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DescribeTags for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified configuration ID was not located. Verify the configuration ID and try again.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTags

DescribeTagsRequest

func (c *ApplicationDiscoveryService) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput)

DescribeTagsRequest generates a "aws/request.Request" representing the client's request for the DescribeTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeTags for more information on using the DescribeTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeTagsRequest method. req, resp := client.DescribeTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTags

DescribeTagsWithContext

func (c *ApplicationDiscoveryService) DescribeTagsWithContext(ctx aws.Context, input *DescribeTagsInput, opts ...request.Option) (*DescribeTagsOutput, error)

DescribeTagsWithContext is the same as DescribeTags with the addition of the ability to pass a context and additional request options.

See DescribeTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DisassociateConfigurationItemsFromApplication

func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplication(input *DisassociateConfigurationItemsFromApplicationInput) (*DisassociateConfigurationItemsFromApplicationOutput, error)

DisassociateConfigurationItemsFromApplication API operation for AWS Application Discovery Service.

Disassociates one or more configuration items from an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation DisassociateConfigurationItemsFromApplication for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplication

DisassociateConfigurationItemsFromApplicationRequest

func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplicationRequest(input *DisassociateConfigurationItemsFromApplicationInput) (req *request.Request, output *DisassociateConfigurationItemsFromApplicationOutput)

DisassociateConfigurationItemsFromApplicationRequest generates a "aws/request.Request" representing the client's request for the DisassociateConfigurationItemsFromApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateConfigurationItemsFromApplication for more information on using the DisassociateConfigurationItemsFromApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateConfigurationItemsFromApplicationRequest method. req, resp := client.DisassociateConfigurationItemsFromApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplication

DisassociateConfigurationItemsFromApplicationWithContext

func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplicationWithContext(ctx aws.Context, input *DisassociateConfigurationItemsFromApplicationInput, opts ...request.Option) (*DisassociateConfigurationItemsFromApplicationOutput, error)

DisassociateConfigurationItemsFromApplicationWithContext is the same as DisassociateConfigurationItemsFromApplication with the addition of the ability to pass a context and additional request options.

See DisassociateConfigurationItemsFromApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ExportConfigurations

func (c *ApplicationDiscoveryService) ExportConfigurations(input *ExportConfigurationsInput) (*ExportConfigurationsOutput, error)

ExportConfigurations 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation ExportConfigurations for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" This operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurations

Deprecated: ExportConfigurations has been deprecated

ExportConfigurationsRequest

func (c *ApplicationDiscoveryService) ExportConfigurationsRequest(input *ExportConfigurationsInput) (req *request.Request, output *ExportConfigurationsOutput)

ExportConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ExportConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ExportConfigurations for more information on using the ExportConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ExportConfigurationsRequest method. req, resp := client.ExportConfigurationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurations

Deprecated: ExportConfigurations has been deprecated

ExportConfigurationsWithContext

func (c *ApplicationDiscoveryService) ExportConfigurationsWithContext(ctx aws.Context, input *ExportConfigurationsInput, opts ...request.Option) (*ExportConfigurationsOutput, error)

ExportConfigurationsWithContext is the same as ExportConfigurations with the addition of the ability to pass a context and additional request options.

See ExportConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Deprecated: ExportConfigurationsWithContext has been deprecated

See Also

For more information about using this API, see AWS API Documentation.

GetDiscoverySummary

func (c *ApplicationDiscoveryService) GetDiscoverySummary(input *GetDiscoverySummaryInput) (*GetDiscoverySummaryOutput, error)

GetDiscoverySummary 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation GetDiscoverySummary for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummary

GetDiscoverySummaryRequest

func (c *ApplicationDiscoveryService) GetDiscoverySummaryRequest(input *GetDiscoverySummaryInput) (req *request.Request, output *GetDiscoverySummaryOutput)

GetDiscoverySummaryRequest generates a "aws/request.Request" representing the client's request for the GetDiscoverySummary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDiscoverySummary for more information on using the GetDiscoverySummary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDiscoverySummaryRequest method. req, resp := client.GetDiscoverySummaryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummary

GetDiscoverySummaryWithContext

func (c *ApplicationDiscoveryService) GetDiscoverySummaryWithContext(ctx aws.Context, input *GetDiscoverySummaryInput, opts ...request.Option) (*GetDiscoverySummaryOutput, error)

GetDiscoverySummaryWithContext is the same as GetDiscoverySummary with the addition of the ability to pass a context and additional request options.

See GetDiscoverySummary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListConfigurations

func (c *ApplicationDiscoveryService) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsOutput, error)

ListConfigurations API operation for AWS Application Discovery Service.

Retrieves a list of configuration items as specified by the value passed to the required paramater configurationType. Optional filtering may be applied to refine search results.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation ListConfigurations for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified configuration ID was not located. Verify the configuration ID and try again.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurations

ListConfigurationsRequest

func (c *ApplicationDiscoveryService) ListConfigurationsRequest(input *ListConfigurationsInput) (req *request.Request, output *ListConfigurationsOutput)

ListConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListConfigurations for more information on using the ListConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListConfigurationsRequest method. req, resp := client.ListConfigurationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurations

ListConfigurationsWithContext

func (c *ApplicationDiscoveryService) ListConfigurationsWithContext(ctx aws.Context, input *ListConfigurationsInput, opts ...request.Option) (*ListConfigurationsOutput, error)

ListConfigurationsWithContext is the same as ListConfigurations with the addition of the ability to pass a context and additional request options.

See ListConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListServerNeighbors

func (c *ApplicationDiscoveryService) ListServerNeighbors(input *ListServerNeighborsInput) (*ListServerNeighborsOutput, error)

ListServerNeighbors API operation for AWS Application Discovery Service.

Retrieves a list of servers that are one network hop away from a specified server.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation ListServerNeighbors for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors

ListServerNeighborsRequest

func (c *ApplicationDiscoveryService) ListServerNeighborsRequest(input *ListServerNeighborsInput) (req *request.Request, output *ListServerNeighborsOutput)

ListServerNeighborsRequest generates a "aws/request.Request" representing the client's request for the ListServerNeighbors operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServerNeighbors for more information on using the ListServerNeighbors API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServerNeighborsRequest method. req, resp := client.ListServerNeighborsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors

ListServerNeighborsWithContext

func (c *ApplicationDiscoveryService) ListServerNeighborsWithContext(ctx aws.Context, input *ListServerNeighborsInput, opts ...request.Option) (*ListServerNeighborsOutput, error)

ListServerNeighborsWithContext is the same as ListServerNeighbors with the addition of the ability to pass a context and additional request options.

See ListServerNeighbors for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartContinuousExport

func (c *ApplicationDiscoveryService) StartContinuousExport(input *StartContinuousExportInput) (*StartContinuousExportOutput, error)

StartContinuousExport API operation for AWS Application Discovery Service.

Start the continuous flow of agent's discovered data into Amazon Athena.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation StartContinuousExport for usage and error information.

Returned Error Codes:

  • ErrCodeConflictErrorException "ConflictErrorException"

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" This operation is not permitted.

  • ErrCodeResourceInUseException "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.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartContinuousExport

StartContinuousExportRequest

func (c *ApplicationDiscoveryService) StartContinuousExportRequest(input *StartContinuousExportInput) (req *request.Request, output *StartContinuousExportOutput)

StartContinuousExportRequest generates a "aws/request.Request" representing the client's request for the StartContinuousExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartContinuousExport for more information on using the StartContinuousExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartContinuousExportRequest method. req, resp := client.StartContinuousExportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartContinuousExport

StartContinuousExportWithContext

func (c *ApplicationDiscoveryService) StartContinuousExportWithContext(ctx aws.Context, input *StartContinuousExportInput, opts ...request.Option) (*StartContinuousExportOutput, error)

StartContinuousExportWithContext is the same as StartContinuousExport with the addition of the ability to pass a context and additional request options.

See StartContinuousExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartDataCollectionByAgentIds

func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIds(input *StartDataCollectionByAgentIdsInput) (*StartDataCollectionByAgentIdsOutput, error)

StartDataCollectionByAgentIds API operation for AWS Application Discovery Service.

Instructs the specified agents or connectors to start collecting data.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation StartDataCollectionByAgentIds for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIds

StartDataCollectionByAgentIdsRequest

func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIdsRequest(input *StartDataCollectionByAgentIdsInput) (req *request.Request, output *StartDataCollectionByAgentIdsOutput)

StartDataCollectionByAgentIdsRequest generates a "aws/request.Request" representing the client's request for the StartDataCollectionByAgentIds operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartDataCollectionByAgentIds for more information on using the StartDataCollectionByAgentIds API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartDataCollectionByAgentIdsRequest method. req, resp := client.StartDataCollectionByAgentIdsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIds

StartDataCollectionByAgentIdsWithContext

func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIdsWithContext(ctx aws.Context, input *StartDataCollectionByAgentIdsInput, opts ...request.Option) (*StartDataCollectionByAgentIdsOutput, error)

StartDataCollectionByAgentIdsWithContext is the same as StartDataCollectionByAgentIds with the addition of the ability to pass a context and additional request options.

See StartDataCollectionByAgentIds for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartExportTask

func (c *ApplicationDiscoveryService) StartExportTask(input *StartExportTaskInput) (*StartExportTaskOutput, error)

StartExportTask 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation StartExportTask for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" This operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTask

StartExportTaskRequest

func (c *ApplicationDiscoveryService) StartExportTaskRequest(input *StartExportTaskInput) (req *request.Request, output *StartExportTaskOutput)

StartExportTaskRequest generates a "aws/request.Request" representing the client's request for the StartExportTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartExportTask for more information on using the StartExportTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartExportTaskRequest method. req, resp := client.StartExportTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTask

StartExportTaskWithContext

func (c *ApplicationDiscoveryService) StartExportTaskWithContext(ctx aws.Context, input *StartExportTaskInput, opts ...request.Option) (*StartExportTaskOutput, error)

StartExportTaskWithContext is the same as StartExportTask with the addition of the ability to pass a context and additional request options.

See StartExportTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartImportTask

func (c *ApplicationDiscoveryService) StartImportTask(input *StartImportTaskInput) (*StartImportTaskOutput, error)

StartImportTask 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 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation StartImportTask for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "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.

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartImportTask

StartImportTaskRequest

func (c *ApplicationDiscoveryService) StartImportTaskRequest(input *StartImportTaskInput) (req *request.Request, output *StartImportTaskOutput)

StartImportTaskRequest generates a "aws/request.Request" representing the client's request for the StartImportTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartImportTask for more information on using the StartImportTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartImportTaskRequest method. req, resp := client.StartImportTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartImportTask

StartImportTaskWithContext

func (c *ApplicationDiscoveryService) StartImportTaskWithContext(ctx aws.Context, input *StartImportTaskInput, opts ...request.Option) (*StartImportTaskOutput, error)

StartImportTaskWithContext is the same as StartImportTask with the addition of the ability to pass a context and additional request options.

See StartImportTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StopContinuousExport

func (c *ApplicationDiscoveryService) StopContinuousExport(input *StopContinuousExportInput) (*StopContinuousExportOutput, error)

StopContinuousExport API operation for AWS Application Discovery Service.

Stop the continuous flow of agent's discovered data into Amazon Athena.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation StopContinuousExport for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" This operation is not permitted.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified configuration ID was not located. Verify the configuration ID and try again.

  • ErrCodeResourceInUseException "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.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopContinuousExport

StopContinuousExportRequest

func (c *ApplicationDiscoveryService) StopContinuousExportRequest(input *StopContinuousExportInput) (req *request.Request, output *StopContinuousExportOutput)

StopContinuousExportRequest generates a "aws/request.Request" representing the client's request for the StopContinuousExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopContinuousExport for more information on using the StopContinuousExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopContinuousExportRequest method. req, resp := client.StopContinuousExportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopContinuousExport

StopContinuousExportWithContext

func (c *ApplicationDiscoveryService) StopContinuousExportWithContext(ctx aws.Context, input *StopContinuousExportInput, opts ...request.Option) (*StopContinuousExportOutput, error)

StopContinuousExportWithContext is the same as StopContinuousExport with the addition of the ability to pass a context and additional request options.

See StopContinuousExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StopDataCollectionByAgentIds

func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIds(input *StopDataCollectionByAgentIdsInput) (*StopDataCollectionByAgentIdsOutput, error)

StopDataCollectionByAgentIds API operation for AWS Application Discovery Service.

Instructs the specified agents or connectors to stop collecting data.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation StopDataCollectionByAgentIds for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIds

StopDataCollectionByAgentIdsRequest

func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIdsRequest(input *StopDataCollectionByAgentIdsInput) (req *request.Request, output *StopDataCollectionByAgentIdsOutput)

StopDataCollectionByAgentIdsRequest generates a "aws/request.Request" representing the client's request for the StopDataCollectionByAgentIds operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopDataCollectionByAgentIds for more information on using the StopDataCollectionByAgentIds API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopDataCollectionByAgentIdsRequest method. req, resp := client.StopDataCollectionByAgentIdsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIds

StopDataCollectionByAgentIdsWithContext

func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIdsWithContext(ctx aws.Context, input *StopDataCollectionByAgentIdsInput, opts ...request.Option) (*StopDataCollectionByAgentIdsOutput, error)

StopDataCollectionByAgentIdsWithContext is the same as StopDataCollectionByAgentIds with the addition of the ability to pass a context and additional request options.

See StopDataCollectionByAgentIds for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateApplication

func (c *ApplicationDiscoveryService) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error)

UpdateApplication API operation for AWS Application Discovery Service.

Updates metadata about an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Application Discovery Service's API operation UpdateApplication for usage and error information.

Returned Error Codes:

  • ErrCodeAuthorizationErrorException "AuthorizationErrorException" The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

  • ErrCodeInvalidParameterException "InvalidParameterException" One or more parameters are not valid. Verify the parameters and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

  • ErrCodeServerInternalErrorException "ServerInternalErrorException" The server experienced an internal error. Try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplication

UpdateApplicationRequest

func (c *ApplicationDiscoveryService) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput)

UpdateApplicationRequest generates a "aws/request.Request" representing the client's request for the UpdateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApplication for more information on using the UpdateApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApplicationRequest method. req, resp := client.UpdateApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplication

UpdateApplicationWithContext

func (c *ApplicationDiscoveryService) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error)

UpdateApplicationWithContext is the same as UpdateApplication with the addition of the ability to pass a context and additional request options.

See UpdateApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

On this page: