Documentation ¶
Overview ¶
Package applicationdiscoveryservice provides a client for AWS Application Discovery Service.
Index ¶
- Constants
- type AgentConfigurationStatus
- func (s AgentConfigurationStatus) GoString() string
- func (s *AgentConfigurationStatus) SetAgentId(v string) *AgentConfigurationStatus
- func (s *AgentConfigurationStatus) SetDescription(v string) *AgentConfigurationStatus
- func (s *AgentConfigurationStatus) SetOperationSucceeded(v bool) *AgentConfigurationStatus
- func (s AgentConfigurationStatus) String() string
- type AgentInfo
- func (s AgentInfo) GoString() string
- func (s *AgentInfo) SetAgentId(v string) *AgentInfo
- func (s *AgentInfo) SetAgentNetworkInfoList(v []*AgentNetworkInfo) *AgentInfo
- func (s *AgentInfo) SetAgentType(v string) *AgentInfo
- func (s *AgentInfo) SetCollectionStatus(v string) *AgentInfo
- func (s *AgentInfo) SetConnectorId(v string) *AgentInfo
- func (s *AgentInfo) SetHealth(v string) *AgentInfo
- func (s *AgentInfo) SetHostName(v string) *AgentInfo
- func (s *AgentInfo) SetLastHealthPingTime(v string) *AgentInfo
- func (s *AgentInfo) SetRegisteredTime(v string) *AgentInfo
- func (s *AgentInfo) SetVersion(v string) *AgentInfo
- func (s AgentInfo) String() string
- type AgentNetworkInfo
- type ApplicationDiscoveryService
- func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplication(input *AssociateConfigurationItemsToApplicationInput) (*AssociateConfigurationItemsToApplicationOutput, error)
- func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationRequest(input *AssociateConfigurationItemsToApplicationInput) (req *request.Request, output *AssociateConfigurationItemsToApplicationOutput)
- func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationWithContext(ctx aws.Context, input *AssociateConfigurationItemsToApplicationInput, ...) (*AssociateConfigurationItemsToApplicationOutput, error)
- func (c *ApplicationDiscoveryService) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error)
- func (c *ApplicationDiscoveryService) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput)
- func (c *ApplicationDiscoveryService) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error)
- func (c *ApplicationDiscoveryService) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error)
- func (c *ApplicationDiscoveryService) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput)
- func (c *ApplicationDiscoveryService) CreateTagsWithContext(ctx aws.Context, input *CreateTagsInput, opts ...request.Option) (*CreateTagsOutput, error)
- func (c *ApplicationDiscoveryService) DeleteApplications(input *DeleteApplicationsInput) (*DeleteApplicationsOutput, error)
- func (c *ApplicationDiscoveryService) DeleteApplicationsRequest(input *DeleteApplicationsInput) (req *request.Request, output *DeleteApplicationsOutput)
- func (c *ApplicationDiscoveryService) DeleteApplicationsWithContext(ctx aws.Context, input *DeleteApplicationsInput, opts ...request.Option) (*DeleteApplicationsOutput, error)
- func (c *ApplicationDiscoveryService) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error)
- func (c *ApplicationDiscoveryService) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput)
- func (c *ApplicationDiscoveryService) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error)
- func (c *ApplicationDiscoveryService) DescribeAgents(input *DescribeAgentsInput) (*DescribeAgentsOutput, error)
- func (c *ApplicationDiscoveryService) DescribeAgentsRequest(input *DescribeAgentsInput) (req *request.Request, output *DescribeAgentsOutput)
- func (c *ApplicationDiscoveryService) DescribeAgentsWithContext(ctx aws.Context, input *DescribeAgentsInput, opts ...request.Option) (*DescribeAgentsOutput, error)
- func (c *ApplicationDiscoveryService) DescribeConfigurations(input *DescribeConfigurationsInput) (*DescribeConfigurationsOutput, error)
- func (c *ApplicationDiscoveryService) DescribeConfigurationsRequest(input *DescribeConfigurationsInput) (req *request.Request, output *DescribeConfigurationsOutput)
- func (c *ApplicationDiscoveryService) DescribeConfigurationsWithContext(ctx aws.Context, input *DescribeConfigurationsInput, opts ...request.Option) (*DescribeConfigurationsOutput, error)
- func (c *ApplicationDiscoveryService) DescribeExportConfigurations(input *DescribeExportConfigurationsInput) (*DescribeExportConfigurationsOutput, error)
- func (c *ApplicationDiscoveryService) DescribeExportConfigurationsRequest(input *DescribeExportConfigurationsInput) (req *request.Request, output *DescribeExportConfigurationsOutput)
- func (c *ApplicationDiscoveryService) DescribeExportConfigurationsWithContext(ctx aws.Context, input *DescribeExportConfigurationsInput, ...) (*DescribeExportConfigurationsOutput, error)
- func (c *ApplicationDiscoveryService) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error)
- func (c *ApplicationDiscoveryService) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput)
- func (c *ApplicationDiscoveryService) DescribeExportTasksWithContext(ctx aws.Context, input *DescribeExportTasksInput, opts ...request.Option) (*DescribeExportTasksOutput, error)
- func (c *ApplicationDiscoveryService) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error)
- func (c *ApplicationDiscoveryService) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput)
- func (c *ApplicationDiscoveryService) DescribeTagsWithContext(ctx aws.Context, input *DescribeTagsInput, opts ...request.Option) (*DescribeTagsOutput, error)
- func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplication(input *DisassociateConfigurationItemsFromApplicationInput) (*DisassociateConfigurationItemsFromApplicationOutput, error)
- func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplicationRequest(input *DisassociateConfigurationItemsFromApplicationInput) (req *request.Request, ...)
- func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplicationWithContext(ctx aws.Context, input *DisassociateConfigurationItemsFromApplicationInput, ...) (*DisassociateConfigurationItemsFromApplicationOutput, error)
- func (c *ApplicationDiscoveryService) ExportConfigurations(input *ExportConfigurationsInput) (*ExportConfigurationsOutput, error)
- func (c *ApplicationDiscoveryService) ExportConfigurationsRequest(input *ExportConfigurationsInput) (req *request.Request, output *ExportConfigurationsOutput)
- func (c *ApplicationDiscoveryService) ExportConfigurationsWithContext(ctx aws.Context, input *ExportConfigurationsInput, opts ...request.Option) (*ExportConfigurationsOutput, error)
- func (c *ApplicationDiscoveryService) GetDiscoverySummary(input *GetDiscoverySummaryInput) (*GetDiscoverySummaryOutput, error)
- func (c *ApplicationDiscoveryService) GetDiscoverySummaryRequest(input *GetDiscoverySummaryInput) (req *request.Request, output *GetDiscoverySummaryOutput)
- func (c *ApplicationDiscoveryService) GetDiscoverySummaryWithContext(ctx aws.Context, input *GetDiscoverySummaryInput, opts ...request.Option) (*GetDiscoverySummaryOutput, error)
- func (c *ApplicationDiscoveryService) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsOutput, error)
- func (c *ApplicationDiscoveryService) ListConfigurationsRequest(input *ListConfigurationsInput) (req *request.Request, output *ListConfigurationsOutput)
- func (c *ApplicationDiscoveryService) ListConfigurationsWithContext(ctx aws.Context, input *ListConfigurationsInput, opts ...request.Option) (*ListConfigurationsOutput, error)
- func (c *ApplicationDiscoveryService) ListServerNeighbors(input *ListServerNeighborsInput) (*ListServerNeighborsOutput, error)
- func (c *ApplicationDiscoveryService) ListServerNeighborsRequest(input *ListServerNeighborsInput) (req *request.Request, output *ListServerNeighborsOutput)
- func (c *ApplicationDiscoveryService) ListServerNeighborsWithContext(ctx aws.Context, input *ListServerNeighborsInput, opts ...request.Option) (*ListServerNeighborsOutput, error)
- func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIds(input *StartDataCollectionByAgentIdsInput) (*StartDataCollectionByAgentIdsOutput, error)
- func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIdsRequest(input *StartDataCollectionByAgentIdsInput) (req *request.Request, output *StartDataCollectionByAgentIdsOutput)
- func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIdsWithContext(ctx aws.Context, input *StartDataCollectionByAgentIdsInput, ...) (*StartDataCollectionByAgentIdsOutput, error)
- func (c *ApplicationDiscoveryService) StartExportTask(input *StartExportTaskInput) (*StartExportTaskOutput, error)
- func (c *ApplicationDiscoveryService) StartExportTaskRequest(input *StartExportTaskInput) (req *request.Request, output *StartExportTaskOutput)
- func (c *ApplicationDiscoveryService) StartExportTaskWithContext(ctx aws.Context, input *StartExportTaskInput, opts ...request.Option) (*StartExportTaskOutput, error)
- func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIds(input *StopDataCollectionByAgentIdsInput) (*StopDataCollectionByAgentIdsOutput, error)
- func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIdsRequest(input *StopDataCollectionByAgentIdsInput) (req *request.Request, output *StopDataCollectionByAgentIdsOutput)
- func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIdsWithContext(ctx aws.Context, input *StopDataCollectionByAgentIdsInput, ...) (*StopDataCollectionByAgentIdsOutput, error)
- func (c *ApplicationDiscoveryService) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error)
- func (c *ApplicationDiscoveryService) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput)
- func (c *ApplicationDiscoveryService) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error)
- type AssociateConfigurationItemsToApplicationInput
- func (s AssociateConfigurationItemsToApplicationInput) GoString() string
- func (s *AssociateConfigurationItemsToApplicationInput) SetApplicationConfigurationId(v string) *AssociateConfigurationItemsToApplicationInput
- func (s *AssociateConfigurationItemsToApplicationInput) SetConfigurationIds(v []*string) *AssociateConfigurationItemsToApplicationInput
- func (s AssociateConfigurationItemsToApplicationInput) String() string
- func (s *AssociateConfigurationItemsToApplicationInput) Validate() error
- type AssociateConfigurationItemsToApplicationOutput
- type ConfigurationTag
- func (s ConfigurationTag) GoString() string
- func (s *ConfigurationTag) SetConfigurationId(v string) *ConfigurationTag
- func (s *ConfigurationTag) SetConfigurationType(v string) *ConfigurationTag
- func (s *ConfigurationTag) SetKey(v string) *ConfigurationTag
- func (s *ConfigurationTag) SetTimeOfCreation(v time.Time) *ConfigurationTag
- func (s *ConfigurationTag) SetValue(v string) *ConfigurationTag
- func (s ConfigurationTag) String() string
- type CreateApplicationInput
- func (s CreateApplicationInput) GoString() string
- func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput
- func (s CreateApplicationInput) String() string
- func (s *CreateApplicationInput) Validate() error
- type CreateApplicationOutput
- type CreateTagsInput
- type CreateTagsOutput
- type CustomerAgentInfo
- func (s CustomerAgentInfo) GoString() string
- func (s *CustomerAgentInfo) SetActiveAgents(v int64) *CustomerAgentInfo
- func (s *CustomerAgentInfo) SetBlackListedAgents(v int64) *CustomerAgentInfo
- func (s *CustomerAgentInfo) SetHealthyAgents(v int64) *CustomerAgentInfo
- func (s *CustomerAgentInfo) SetShutdownAgents(v int64) *CustomerAgentInfo
- func (s *CustomerAgentInfo) SetTotalAgents(v int64) *CustomerAgentInfo
- func (s *CustomerAgentInfo) SetUnhealthyAgents(v int64) *CustomerAgentInfo
- func (s *CustomerAgentInfo) SetUnknownAgents(v int64) *CustomerAgentInfo
- func (s CustomerAgentInfo) String() string
- type CustomerConnectorInfo
- func (s CustomerConnectorInfo) GoString() string
- func (s *CustomerConnectorInfo) SetActiveConnectors(v int64) *CustomerConnectorInfo
- func (s *CustomerConnectorInfo) SetBlackListedConnectors(v int64) *CustomerConnectorInfo
- func (s *CustomerConnectorInfo) SetHealthyConnectors(v int64) *CustomerConnectorInfo
- func (s *CustomerConnectorInfo) SetShutdownConnectors(v int64) *CustomerConnectorInfo
- func (s *CustomerConnectorInfo) SetTotalConnectors(v int64) *CustomerConnectorInfo
- func (s *CustomerConnectorInfo) SetUnhealthyConnectors(v int64) *CustomerConnectorInfo
- func (s *CustomerConnectorInfo) SetUnknownConnectors(v int64) *CustomerConnectorInfo
- func (s CustomerConnectorInfo) String() string
- type DeleteApplicationsInput
- type DeleteApplicationsOutput
- type DeleteTagsInput
- type DeleteTagsOutput
- type DescribeAgentsInput
- func (s DescribeAgentsInput) GoString() string
- func (s *DescribeAgentsInput) SetAgentIds(v []*string) *DescribeAgentsInput
- func (s *DescribeAgentsInput) SetFilters(v []*Filter) *DescribeAgentsInput
- func (s *DescribeAgentsInput) SetMaxResults(v int64) *DescribeAgentsInput
- func (s *DescribeAgentsInput) SetNextToken(v string) *DescribeAgentsInput
- func (s DescribeAgentsInput) String() string
- func (s *DescribeAgentsInput) Validate() error
- type DescribeAgentsOutput
- type DescribeConfigurationsInput
- type DescribeConfigurationsOutput
- type DescribeExportConfigurationsInput
- func (s DescribeExportConfigurationsInput) GoString() string
- func (s *DescribeExportConfigurationsInput) SetExportIds(v []*string) *DescribeExportConfigurationsInput
- func (s *DescribeExportConfigurationsInput) SetMaxResults(v int64) *DescribeExportConfigurationsInput
- func (s *DescribeExportConfigurationsInput) SetNextToken(v string) *DescribeExportConfigurationsInput
- func (s DescribeExportConfigurationsInput) String() string
- type DescribeExportConfigurationsOutput
- func (s DescribeExportConfigurationsOutput) GoString() string
- func (s *DescribeExportConfigurationsOutput) SetExportsInfo(v []*ExportInfo) *DescribeExportConfigurationsOutput
- func (s *DescribeExportConfigurationsOutput) SetNextToken(v string) *DescribeExportConfigurationsOutput
- func (s DescribeExportConfigurationsOutput) String() string
- type DescribeExportTasksInput
- func (s DescribeExportTasksInput) GoString() string
- func (s *DescribeExportTasksInput) SetExportIds(v []*string) *DescribeExportTasksInput
- func (s *DescribeExportTasksInput) SetMaxResults(v int64) *DescribeExportTasksInput
- func (s *DescribeExportTasksInput) SetNextToken(v string) *DescribeExportTasksInput
- func (s DescribeExportTasksInput) String() string
- type DescribeExportTasksOutput
- type DescribeTagsInput
- func (s DescribeTagsInput) GoString() string
- func (s *DescribeTagsInput) SetFilters(v []*TagFilter) *DescribeTagsInput
- func (s *DescribeTagsInput) SetMaxResults(v int64) *DescribeTagsInput
- func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput
- func (s DescribeTagsInput) String() string
- func (s *DescribeTagsInput) Validate() error
- type DescribeTagsOutput
- type DisassociateConfigurationItemsFromApplicationInput
- func (s DisassociateConfigurationItemsFromApplicationInput) GoString() string
- func (s *DisassociateConfigurationItemsFromApplicationInput) SetApplicationConfigurationId(v string) *DisassociateConfigurationItemsFromApplicationInput
- func (s *DisassociateConfigurationItemsFromApplicationInput) SetConfigurationIds(v []*string) *DisassociateConfigurationItemsFromApplicationInput
- func (s DisassociateConfigurationItemsFromApplicationInput) String() string
- func (s *DisassociateConfigurationItemsFromApplicationInput) Validate() error
- type DisassociateConfigurationItemsFromApplicationOutput
- type ExportConfigurationsInput
- type ExportConfigurationsOutput
- type ExportInfo
- func (s ExportInfo) GoString() string
- func (s *ExportInfo) SetConfigurationsDownloadUrl(v string) *ExportInfo
- func (s *ExportInfo) SetExportId(v string) *ExportInfo
- func (s *ExportInfo) SetExportRequestTime(v time.Time) *ExportInfo
- func (s *ExportInfo) SetExportStatus(v string) *ExportInfo
- func (s *ExportInfo) SetStatusMessage(v string) *ExportInfo
- func (s ExportInfo) String() string
- type Filter
- type GetDiscoverySummaryInput
- type GetDiscoverySummaryOutput
- func (s GetDiscoverySummaryOutput) GoString() string
- func (s *GetDiscoverySummaryOutput) SetAgentSummary(v *CustomerAgentInfo) *GetDiscoverySummaryOutput
- func (s *GetDiscoverySummaryOutput) SetApplications(v int64) *GetDiscoverySummaryOutput
- func (s *GetDiscoverySummaryOutput) SetConnectorSummary(v *CustomerConnectorInfo) *GetDiscoverySummaryOutput
- func (s *GetDiscoverySummaryOutput) SetServers(v int64) *GetDiscoverySummaryOutput
- func (s *GetDiscoverySummaryOutput) SetServersMappedToApplications(v int64) *GetDiscoverySummaryOutput
- func (s *GetDiscoverySummaryOutput) SetServersMappedtoTags(v int64) *GetDiscoverySummaryOutput
- func (s GetDiscoverySummaryOutput) String() string
- type ListConfigurationsInput
- func (s ListConfigurationsInput) GoString() string
- func (s *ListConfigurationsInput) SetConfigurationType(v string) *ListConfigurationsInput
- func (s *ListConfigurationsInput) SetFilters(v []*Filter) *ListConfigurationsInput
- func (s *ListConfigurationsInput) SetMaxResults(v int64) *ListConfigurationsInput
- func (s *ListConfigurationsInput) SetNextToken(v string) *ListConfigurationsInput
- func (s *ListConfigurationsInput) SetOrderBy(v []*OrderByElement) *ListConfigurationsInput
- func (s ListConfigurationsInput) String() string
- func (s *ListConfigurationsInput) Validate() error
- type ListConfigurationsOutput
- type ListServerNeighborsInput
- func (s ListServerNeighborsInput) GoString() string
- func (s *ListServerNeighborsInput) SetConfigurationId(v string) *ListServerNeighborsInput
- func (s *ListServerNeighborsInput) SetMaxResults(v int64) *ListServerNeighborsInput
- func (s *ListServerNeighborsInput) SetNeighborConfigurationIds(v []*string) *ListServerNeighborsInput
- func (s *ListServerNeighborsInput) SetNextToken(v string) *ListServerNeighborsInput
- func (s *ListServerNeighborsInput) SetPortInformationNeeded(v bool) *ListServerNeighborsInput
- func (s ListServerNeighborsInput) String() string
- func (s *ListServerNeighborsInput) Validate() error
- type ListServerNeighborsOutput
- func (s ListServerNeighborsOutput) GoString() string
- func (s *ListServerNeighborsOutput) SetKnownDependencyCount(v int64) *ListServerNeighborsOutput
- func (s *ListServerNeighborsOutput) SetNeighbors(v []*NeighborConnectionDetail) *ListServerNeighborsOutput
- func (s *ListServerNeighborsOutput) SetNextToken(v string) *ListServerNeighborsOutput
- func (s ListServerNeighborsOutput) String() string
- type NeighborConnectionDetail
- func (s NeighborConnectionDetail) GoString() string
- func (s *NeighborConnectionDetail) SetConnectionsCount(v int64) *NeighborConnectionDetail
- func (s *NeighborConnectionDetail) SetDestinationPort(v int64) *NeighborConnectionDetail
- func (s *NeighborConnectionDetail) SetDestinationServerId(v string) *NeighborConnectionDetail
- func (s *NeighborConnectionDetail) SetSourceServerId(v string) *NeighborConnectionDetail
- func (s *NeighborConnectionDetail) SetTransportProtocol(v string) *NeighborConnectionDetail
- func (s NeighborConnectionDetail) String() string
- type OrderByElement
- type StartDataCollectionByAgentIdsInput
- type StartDataCollectionByAgentIdsOutput
- type StartExportTaskInput
- type StartExportTaskOutput
- type StopDataCollectionByAgentIdsInput
- type StopDataCollectionByAgentIdsOutput
- type Tag
- type TagFilter
- type UpdateApplicationInput
- func (s UpdateApplicationInput) GoString() string
- func (s *UpdateApplicationInput) SetConfigurationId(v string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetName(v string) *UpdateApplicationInput
- func (s UpdateApplicationInput) String() string
- func (s *UpdateApplicationInput) Validate() error
- type UpdateApplicationOutput
Examples ¶
- ApplicationDiscoveryService.AssociateConfigurationItemsToApplication
- ApplicationDiscoveryService.CreateApplication
- ApplicationDiscoveryService.CreateTags
- ApplicationDiscoveryService.DeleteApplications
- ApplicationDiscoveryService.DeleteTags
- ApplicationDiscoveryService.DescribeAgents
- ApplicationDiscoveryService.DescribeConfigurations
- ApplicationDiscoveryService.DescribeExportConfigurations
- ApplicationDiscoveryService.DescribeExportTasks
- ApplicationDiscoveryService.DescribeTags
- ApplicationDiscoveryService.DisassociateConfigurationItemsFromApplication
- ApplicationDiscoveryService.ExportConfigurations
- ApplicationDiscoveryService.GetDiscoverySummary
- ApplicationDiscoveryService.ListConfigurations
- ApplicationDiscoveryService.ListServerNeighbors
- ApplicationDiscoveryService.StartDataCollectionByAgentIds
- ApplicationDiscoveryService.StartExportTask
- ApplicationDiscoveryService.StopDataCollectionByAgentIds
- ApplicationDiscoveryService.UpdateApplication
Constants ¶
const ( // AgentStatusHealthy is a AgentStatus enum value AgentStatusHealthy = "HEALTHY" // AgentStatusUnhealthy is a AgentStatus enum value AgentStatusUnhealthy = "UNHEALTHY" // AgentStatusRunning is a AgentStatus enum value AgentStatusRunning = "RUNNING" // AgentStatusUnknown is a AgentStatus enum value AgentStatusUnknown = "UNKNOWN" // AgentStatusBlacklisted is a AgentStatus enum value AgentStatusBlacklisted = "BLACKLISTED" // AgentStatusShutdown is a AgentStatus enum value AgentStatusShutdown = "SHUTDOWN" )
const ( // ConfigurationItemTypeServer is a ConfigurationItemType enum value ConfigurationItemTypeServer = "SERVER" // ConfigurationItemTypeProcess is a ConfigurationItemType enum value ConfigurationItemTypeProcess = "PROCESS" // ConfigurationItemTypeConnection is a ConfigurationItemType enum value ConfigurationItemTypeConnection = "CONNECTION" // ConfigurationItemTypeApplication is a ConfigurationItemType enum value ConfigurationItemTypeApplication = "APPLICATION" )
const ( // ExportDataFormatCsv is a ExportDataFormat enum value ExportDataFormatCsv = "CSV" // ExportDataFormatGraphml is a ExportDataFormat enum value ExportDataFormatGraphml = "GRAPHML" )
const ( // ExportStatusFailed is a ExportStatus enum value ExportStatusFailed = "FAILED" // ExportStatusSucceeded is a ExportStatus enum value ExportStatusSucceeded = "SUCCEEDED" // ExportStatusInProgress is a ExportStatus enum value ExportStatusInProgress = "IN_PROGRESS" )
const ( // OrderStringAsc is a orderString enum value OrderStringAsc = "ASC" // OrderStringDesc is a orderString enum value OrderStringDesc = "DESC" )
const ( // ErrCodeAuthorizationErrorException for service response error code // "AuthorizationErrorException". // // The AWS user account does not have permission to perform the action. Check // the IAM policy associated with this account. ErrCodeAuthorizationErrorException = "AuthorizationErrorException" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // One or more parameters are not valid. Verify the parameters and try again. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeInvalidParameterValueException for service response error code // "InvalidParameterValueException". // // The value of one or more parameters are either invalid or out of range. Verify // the parameter values and try again. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeOperationNotPermittedException for service response error code // "OperationNotPermittedException". // // This operation is not permitted. ErrCodeOperationNotPermittedException = "OperationNotPermittedException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified configuration ID was not located. Verify the configuration // ID and try again. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServerInternalErrorException for service response error code // "ServerInternalErrorException". // // The server experienced an internal error. Try again. ErrCodeServerInternalErrorException = "ServerInternalErrorException" )
const ( ServiceName = "discovery" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfigurationStatus ¶
type AgentConfigurationStatus struct { // The agent/connector ID. AgentId *string `locationName:"agentId" type:"string"` // A description of the operation performed. Description *string `locationName:"description" type:"string"` // Information about the status of the StartDataCollection and StopDataCollection // operations. The system has recorded the data collection operation. The agent/connector // receives this command the next time it polls for a new command. OperationSucceeded *bool `locationName:"operationSucceeded" type:"boolean"` // contains filtered or unexported fields }
Information about agents or connectors that were instructed to start collecting data. Information includes the agent/connector ID, a description of the operation, and whether the agent/connector configuration was updated. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AgentConfigurationStatus
func (AgentConfigurationStatus) GoString ¶
func (s AgentConfigurationStatus) GoString() string
GoString returns the string representation
func (*AgentConfigurationStatus) SetAgentId ¶ added in v1.5.0
func (s *AgentConfigurationStatus) SetAgentId(v string) *AgentConfigurationStatus
SetAgentId sets the AgentId field's value.
func (*AgentConfigurationStatus) SetDescription ¶ added in v1.5.0
func (s *AgentConfigurationStatus) SetDescription(v string) *AgentConfigurationStatus
SetDescription sets the Description field's value.
func (*AgentConfigurationStatus) SetOperationSucceeded ¶ added in v1.5.0
func (s *AgentConfigurationStatus) SetOperationSucceeded(v bool) *AgentConfigurationStatus
SetOperationSucceeded sets the OperationSucceeded field's value.
func (AgentConfigurationStatus) String ¶
func (s AgentConfigurationStatus) String() string
String returns the string representation
type AgentInfo ¶
type AgentInfo struct { // The agent or connector ID. AgentId *string `locationName:"agentId" type:"string"` // Network details about the host where the agent or connector resides. AgentNetworkInfoList []*AgentNetworkInfo `locationName:"agentNetworkInfoList" type:"list"` // Type of agent. AgentType *string `locationName:"agentType" type:"string"` // Status of the collection process for an agent or connector. CollectionStatus *string `locationName:"collectionStatus" type:"string"` // The ID of the connector. ConnectorId *string `locationName:"connectorId" type:"string"` // The health of the agent or connector. Health *string `locationName:"health" type:"string" enum:"AgentStatus"` // The name of the host where the agent or connector resides. The host can be // a server or virtual machine. HostName *string `locationName:"hostName" type:"string"` // Time since agent or connector health was reported. LastHealthPingTime *string `locationName:"lastHealthPingTime" type:"string"` // Agent's first registration timestamp in UTC. RegisteredTime *string `locationName:"registeredTime" type:"string"` // The agent or connector version. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
Information about agents or connectors associated with the user’s AWS account. Information includes agent or connector IDs, IP addresses, media access control (MAC) addresses, agent or connector health, hostname where the agent or connector resides, and agent version for each agent. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AgentInfo
func (*AgentInfo) SetAgentId ¶ added in v1.5.0
SetAgentId sets the AgentId field's value.
func (*AgentInfo) SetAgentNetworkInfoList ¶ added in v1.5.0
func (s *AgentInfo) SetAgentNetworkInfoList(v []*AgentNetworkInfo) *AgentInfo
SetAgentNetworkInfoList sets the AgentNetworkInfoList field's value.
func (*AgentInfo) SetAgentType ¶ added in v1.6.5
SetAgentType sets the AgentType field's value.
func (*AgentInfo) SetCollectionStatus ¶ added in v1.6.5
SetCollectionStatus sets the CollectionStatus field's value.
func (*AgentInfo) SetConnectorId ¶ added in v1.5.0
SetConnectorId sets the ConnectorId field's value.
func (*AgentInfo) SetHostName ¶ added in v1.5.0
SetHostName sets the HostName field's value.
func (*AgentInfo) SetLastHealthPingTime ¶ added in v1.6.5
SetLastHealthPingTime sets the LastHealthPingTime field's value.
func (*AgentInfo) SetRegisteredTime ¶ added in v1.6.5
SetRegisteredTime sets the RegisteredTime field's value.
func (*AgentInfo) SetVersion ¶ added in v1.5.0
SetVersion sets the Version field's value.
type AgentNetworkInfo ¶
type AgentNetworkInfo struct { // The IP address for the host where the agent/connector resides. IpAddress *string `locationName:"ipAddress" type:"string"` // The MAC address for the host where the agent/connector resides. MacAddress *string `locationName:"macAddress" type:"string"` // contains filtered or unexported fields }
Network details about the host where the agent/connector resides. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AgentNetworkInfo
func (AgentNetworkInfo) GoString ¶
func (s AgentNetworkInfo) GoString() string
GoString returns the string representation
func (*AgentNetworkInfo) SetIpAddress ¶ added in v1.5.0
func (s *AgentNetworkInfo) SetIpAddress(v string) *AgentNetworkInfo
SetIpAddress sets the IpAddress field's value.
func (*AgentNetworkInfo) SetMacAddress ¶ added in v1.5.0
func (s *AgentNetworkInfo) SetMacAddress(v string) *AgentNetworkInfo
SetMacAddress sets the MacAddress field's value.
func (AgentNetworkInfo) String ¶
func (s AgentNetworkInfo) String() string
String returns the string representation
type ApplicationDiscoveryService ¶
AWS Application Discovery Service helps you plan application migration projects by automatically identifying servers, virtual machines (VMs), software, and software dependencies running in your on-premises data centers. Application Discovery Service also collects application performance data, which can help you assess the outcome of your migration. The data collected by Application Discovery Service is securely retained in an Amazon-hosted and managed database in the cloud. You can export the data as a CSV or XML file into your preferred visualization tool or cloud-migration solution to plan your migration. For more information, see the Application Discovery Service FAQ (http://aws.amazon.com/application-discovery/faqs/).
Application Discovery Service offers two modes of operation.
Agentless discovery mode is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. Agentless discovery gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment. Agentless discovery doesn't collect information about software and software dependencies. It also doesn't work in non-VMware environments. We recommend that you use agent-based discovery for non-VMware environments and if you want to collect information about software and software dependencies. You can also run agent-based and agentless discovery simultaneously. Use agentless discovery to quickly complete the initial infrastructure assessment and then install agents on select hosts to gather information about software and software dependencies.
Agent-based discovery mode collects a richer set of data than agentless discovery by using Amazon software, the AWS Application Discovery Agent, which you install on one or more hosts in your data center. The agent captures infrastructure and application information, including an inventory of installed software applications, system and process performance, resource utilization, and network dependencies between workloads. The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the cloud.
Application Discovery Service integrates with application discovery solutions from AWS Partner Network (APN) partners. Third-party application discovery tools can query Application Discovery Service and write to the Application Discovery Service database using a public API. You can then import the data into either a visualization tool or cloud-migration solution.
Application Discovery Service doesn't gather sensitive information. All data is handled according to the AWS Privacy Policy (http://aws.amazon.com/privacy/). You can operate Application Discovery Service using offline mode to inspect collected data before it is shared with the service.
Your AWS account must be granted access to Application Discovery Service, a process called whitelisting. This is true for AWS partners and customers alike. To request access, sign up for AWS Application Discovery Service here (http://aws.amazon.com/application-discovery/preview/). We send you information about how to get started.
This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see AWS SDKs (http://aws.amazon.com/tools/#SDKs).
This guide is intended for use with the AWS Application Discovery Service User Guide (http://docs.aws.amazon.com/application-discovery/latest/userguide/). The service client's operations are safe to be used concurrently. It is not safe to mutate any of the client's properties though. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationDiscoveryService
New creates a new instance of the ApplicationDiscoveryService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a ApplicationDiscoveryService client from just a session. svc := applicationdiscoveryservice.New(mySession) // Create a ApplicationDiscoveryService client with additional configuration svc := applicationdiscoveryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*ApplicationDiscoveryService) AssociateConfigurationItemsToApplication ¶ added in v1.6.5
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplication
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.AssociateConfigurationItemsToApplicationInput{ ApplicationConfigurationId: aws.String("ApplicationId"), // Required ConfigurationIds: []*string{ // Required aws.String("ConfigurationId"), // Required // More values... }, } resp, err := svc.AssociateConfigurationItemsToApplication(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationRequest ¶ added in v1.6.5
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 can be used to capture response data after the request's "Send" method is called.
See AssociateConfigurationItemsToApplication for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AssociateConfigurationItemsToApplication method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplication
func (*ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) CreateApplication ¶ added in v1.6.5
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplication
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.CreateApplicationInput{ Name: aws.String("String"), // Required Description: aws.String("String"), } resp, err := svc.CreateApplication(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) CreateApplicationRequest ¶ added in v1.6.5
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 can be used to capture response data after the request's "Send" method is called.
See CreateApplication for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateApplication method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplication
func (*ApplicationDiscoveryService) CreateApplicationWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) 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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTags
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.CreateTagsInput{ ConfigurationIds: []*string{ // Required aws.String("ConfigurationId"), // Required // More values... }, Tags: []*applicationdiscoveryservice.Tag{ // Required { // Required Key: aws.String("TagKey"), // Required Value: aws.String("TagValue"), // Required }, // More values... }, } resp, err := svc.CreateTags(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See CreateTags for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateTags method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTags
func (*ApplicationDiscoveryService) CreateTagsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) DeleteApplications ¶ added in v1.6.5
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplications
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.DeleteApplicationsInput{ ConfigurationIds: []*string{ // Required aws.String("ApplicationId"), // Required // More values... }, } resp, err := svc.DeleteApplications(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) DeleteApplicationsRequest ¶ added in v1.6.5
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 can be used to capture response data after the request's "Send" method is called.
See DeleteApplications for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteApplications method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplications
func (*ApplicationDiscoveryService) DeleteApplicationsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) 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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTags
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.DeleteTagsInput{ ConfigurationIds: []*string{ // Required aws.String("ConfigurationId"), // Required // More values... }, Tags: []*applicationdiscoveryservice.Tag{ { // Required Key: aws.String("TagKey"), // Required Value: aws.String("TagValue"), // Required }, // More values... }, } resp, err := svc.DeleteTags(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See DeleteTags for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteTags method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTags
func (*ApplicationDiscoveryService) DeleteTagsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) DescribeAgents ¶
func (c *ApplicationDiscoveryService) DescribeAgents(input *DescribeAgentsInput) (*DescribeAgentsOutput, error)
DescribeAgents API operation for AWS Application Discovery Service.
Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an ID.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgents
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.DescribeAgentsInput{ AgentIds: []*string{ aws.String("AgentId"), // Required // More values... }, Filters: []*applicationdiscoveryservice.Filter{ { // Required Condition: aws.String("Condition"), // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("FilterValue"), // Required // More values... }, }, // More values... }, MaxResults: aws.Int64(1), NextToken: aws.String("NextToken"), } resp, err := svc.DescribeAgents(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See DescribeAgents for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeAgents method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgents
func (*ApplicationDiscoveryService) DescribeAgentsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) 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 (server, application, process, or connection). Output fields are specific to the asset type selected. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, and number of network cards.
For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action (http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#DescribeConfigurations).
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurations
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.DescribeConfigurationsInput{ ConfigurationIds: []*string{ // Required aws.String("ConfigurationId"), // Required // More values... }, } resp, err := svc.DescribeConfigurations(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See DescribeConfigurations for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeConfigurations method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurations
func (*ApplicationDiscoveryService) DescribeConfigurationsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) DescribeExportConfigurations ¶
func (c *ApplicationDiscoveryService) DescribeExportConfigurations(input *DescribeExportConfigurationsInput) (*DescribeExportConfigurationsOutput, error)
DescribeExportConfigurations API operation for AWS Application Discovery Service.
Deprecated. Use DescribeExportTasks instead.
Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurations
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.DescribeExportConfigurationsInput{ ExportIds: []*string{ aws.String("ConfigurationsExportId"), // Required // More values... }, MaxResults: aws.Int64(1), NextToken: aws.String("NextToken"), } resp, err := svc.DescribeExportConfigurations(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See DescribeExportConfigurations for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeExportConfigurations method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurations
func (*ApplicationDiscoveryService) DescribeExportConfigurationsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) DescribeExportTasks ¶ added in v1.8.1
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasks
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.DescribeExportTasksInput{ ExportIds: []*string{ aws.String("ConfigurationsExportId"), // Required // More values... }, MaxResults: aws.Int64(1), NextToken: aws.String("NextToken"), } resp, err := svc.DescribeExportTasks(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) DescribeExportTasksRequest ¶ added in v1.8.1
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 can be used to capture response data after the request's "Send" method is called.
See DescribeExportTasks for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeExportTasks method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasks
func (*ApplicationDiscoveryService) DescribeExportTasksWithContext ¶ added in v1.8.1
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.
func (*ApplicationDiscoveryService) DescribeTags ¶
func (c *ApplicationDiscoveryService) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error)
DescribeTags API operation for AWS Application Discovery Service.
Retrieves a list of configuration items that are tagged with a specific tag. Or retrieves a list of all tags assigned to a specific configuration item.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTags
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.DescribeTagsInput{ Filters: []*applicationdiscoveryservice.TagFilter{ { // Required Name: aws.String("FilterName"), // Required Values: []*string{ // Required aws.String("FilterValue"), // Required // More values... }, }, // More values... }, MaxResults: aws.Int64(1), NextToken: aws.String("NextToken"), } resp, err := svc.DescribeTags(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See DescribeTags for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeTags method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTags
func (*ApplicationDiscoveryService) DescribeTagsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplication ¶ added in v1.6.5
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplication
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.DisassociateConfigurationItemsFromApplicationInput{ ApplicationConfigurationId: aws.String("ApplicationId"), // Required ConfigurationIds: []*string{ // Required aws.String("ConfigurationId"), // Required // More values... }, } resp, err := svc.DisassociateConfigurationItemsFromApplication(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplicationRequest ¶ added in v1.6.5
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 can be used to capture response data after the request's "Send" method is called.
See DisassociateConfigurationItemsFromApplication for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DisassociateConfigurationItemsFromApplication method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplication
func (*ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplicationWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) 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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurations
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) var params *applicationdiscoveryservice.ExportConfigurationsInput resp, err := svc.ExportConfigurations(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See ExportConfigurations for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ExportConfigurations method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurations
func (*ApplicationDiscoveryService) ExportConfigurationsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) GetDiscoverySummary ¶ added in v1.6.5
func (c *ApplicationDiscoveryService) GetDiscoverySummary(input *GetDiscoverySummaryInput) (*GetDiscoverySummaryOutput, error)
GetDiscoverySummary API operation for AWS Application Discovery Service.
Retrieves a short summary of discovered assets.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummary
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) var params *applicationdiscoveryservice.GetDiscoverySummaryInput resp, err := svc.GetDiscoverySummary(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) GetDiscoverySummaryRequest ¶ added in v1.6.5
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 can be used to capture response data after the request's "Send" method is called.
See GetDiscoverySummary for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDiscoverySummary method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummary
func (*ApplicationDiscoveryService) GetDiscoverySummaryWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) ListConfigurations ¶
func (c *ApplicationDiscoveryService) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsOutput, error)
ListConfigurations API operation for AWS Application Discovery Service.
Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria identifies the relationship requirements.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurations
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.ListConfigurationsInput{ ConfigurationType: aws.String("ConfigurationItemType"), // Required Filters: []*applicationdiscoveryservice.Filter{ { // Required Condition: aws.String("Condition"), // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("FilterValue"), // Required // More values... }, }, // More values... }, MaxResults: aws.Int64(1), NextToken: aws.String("NextToken"), OrderBy: []*applicationdiscoveryservice.OrderByElement{ { // Required FieldName: aws.String("String"), // Required SortOrder: aws.String("orderString"), }, // More values... }, } resp, err := svc.ListConfigurations(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See ListConfigurations for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListConfigurations method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurations
func (*ApplicationDiscoveryService) ListConfigurationsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) ListServerNeighbors ¶ added in v1.6.5
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.ListServerNeighborsInput{ ConfigurationId: aws.String("ConfigurationId"), // Required MaxResults: aws.Int64(1), NeighborConfigurationIds: []*string{ aws.String("ConfigurationId"), // Required // More values... }, NextToken: aws.String("String"), PortInformationNeeded: aws.Bool(true), } resp, err := svc.ListServerNeighbors(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) ListServerNeighborsRequest ¶ added in v1.6.5
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 can be used to capture response data after the request's "Send" method is called.
See ListServerNeighbors for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListServerNeighbors method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors
func (*ApplicationDiscoveryService) ListServerNeighborsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) 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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIds
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.StartDataCollectionByAgentIdsInput{ AgentIds: []*string{ // Required aws.String("AgentId"), // Required // More values... }, } resp, err := svc.StartDataCollectionByAgentIds(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See StartDataCollectionByAgentIds for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the StartDataCollectionByAgentIds method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIds
func (*ApplicationDiscoveryService) StartDataCollectionByAgentIdsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) StartExportTask ¶ added in v1.8.1
func (c *ApplicationDiscoveryService) StartExportTask(input *StartExportTaskInput) (*StartExportTaskOutput, error)
StartExportTask API operation for AWS Application Discovery Service.
Export the configuration data about discovered configuration items and relationships to an S3 bucket in a specified format.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTask
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.StartExportTaskInput{ ExportDataFormat: []*string{ aws.String("ExportDataFormat"), // Required // More values... }, } resp, err := svc.StartExportTask(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) StartExportTaskRequest ¶ added in v1.8.1
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 can be used to capture response data after the request's "Send" method is called.
See StartExportTask for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the StartExportTask method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTask
func (*ApplicationDiscoveryService) StartExportTaskWithContext ¶ added in v1.8.1
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.
func (*ApplicationDiscoveryService) 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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIds
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.StopDataCollectionByAgentIdsInput{ AgentIds: []*string{ // Required aws.String("AgentId"), // Required // More values... }, } resp, err := svc.StopDataCollectionByAgentIds(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) 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 can be used to capture response data after the request's "Send" method is called.
See StopDataCollectionByAgentIds for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the StopDataCollectionByAgentIds method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIds
func (*ApplicationDiscoveryService) StopDataCollectionByAgentIdsWithContext ¶ added in v1.8.0
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.
func (*ApplicationDiscoveryService) UpdateApplication ¶ added in v1.6.5
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplication
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice" ) func main() { sess := session.Must(session.NewSession()) svc := applicationdiscoveryservice.New(sess) params := &applicationdiscoveryservice.UpdateApplicationInput{ ConfigurationId: aws.String("ApplicationId"), // Required Description: aws.String("String"), Name: aws.String("String"), } resp, err := svc.UpdateApplication(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*ApplicationDiscoveryService) UpdateApplicationRequest ¶ added in v1.6.5
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 can be used to capture response data after the request's "Send" method is called.
See UpdateApplication for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateApplication method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplication
func (*ApplicationDiscoveryService) UpdateApplicationWithContext ¶ added in v1.8.0
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.
type AssociateConfigurationItemsToApplicationInput ¶ added in v1.6.5
type AssociateConfigurationItemsToApplicationInput struct { // The configuration ID of an application with which items are to be associated. // // ApplicationConfigurationId is a required field ApplicationConfigurationId *string `locationName:"applicationConfigurationId" type:"string" required:"true"` // The ID of each configuration item to be associated with an application. // // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplicationRequest
func (AssociateConfigurationItemsToApplicationInput) GoString ¶ added in v1.6.5
func (s AssociateConfigurationItemsToApplicationInput) GoString() string
GoString returns the string representation
func (*AssociateConfigurationItemsToApplicationInput) SetApplicationConfigurationId ¶ added in v1.6.5
func (s *AssociateConfigurationItemsToApplicationInput) SetApplicationConfigurationId(v string) *AssociateConfigurationItemsToApplicationInput
SetApplicationConfigurationId sets the ApplicationConfigurationId field's value.
func (*AssociateConfigurationItemsToApplicationInput) SetConfigurationIds ¶ added in v1.6.5
func (s *AssociateConfigurationItemsToApplicationInput) SetConfigurationIds(v []*string) *AssociateConfigurationItemsToApplicationInput
SetConfigurationIds sets the ConfigurationIds field's value.
func (AssociateConfigurationItemsToApplicationInput) String ¶ added in v1.6.5
func (s AssociateConfigurationItemsToApplicationInput) String() string
String returns the string representation
func (*AssociateConfigurationItemsToApplicationInput) Validate ¶ added in v1.6.5
func (s *AssociateConfigurationItemsToApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateConfigurationItemsToApplicationOutput ¶ added in v1.6.5
type AssociateConfigurationItemsToApplicationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplicationResponse
func (AssociateConfigurationItemsToApplicationOutput) GoString ¶ added in v1.6.5
func (s AssociateConfigurationItemsToApplicationOutput) GoString() string
GoString returns the string representation
func (AssociateConfigurationItemsToApplicationOutput) String ¶ added in v1.6.5
func (s AssociateConfigurationItemsToApplicationOutput) String() string
String returns the string representation
type ConfigurationTag ¶
type ConfigurationTag struct { // The configuration ID for the item to tag. You can specify a list of keys // and values. ConfigurationId *string `locationName:"configurationId" type:"string"` // A type of IT asset to tag. ConfigurationType *string `locationName:"configurationType" type:"string" enum:"ConfigurationItemType"` // A type of tag on which to filter. For example, serverType. Key *string `locationName:"key" type:"string"` // The time the configuration tag was created in Coordinated Universal Time // (UTC). TimeOfCreation *time.Time `locationName:"timeOfCreation" type:"timestamp" timestampFormat:"unix"` // A value on which to filter. For example key = serverType and value = web // server. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Tags for a configuration item. Tags are metadata that help you categorize IT assets. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ConfigurationTag
func (ConfigurationTag) GoString ¶
func (s ConfigurationTag) GoString() string
GoString returns the string representation
func (*ConfigurationTag) SetConfigurationId ¶ added in v1.5.0
func (s *ConfigurationTag) SetConfigurationId(v string) *ConfigurationTag
SetConfigurationId sets the ConfigurationId field's value.
func (*ConfigurationTag) SetConfigurationType ¶ added in v1.5.0
func (s *ConfigurationTag) SetConfigurationType(v string) *ConfigurationTag
SetConfigurationType sets the ConfigurationType field's value.
func (*ConfigurationTag) SetKey ¶ added in v1.5.0
func (s *ConfigurationTag) SetKey(v string) *ConfigurationTag
SetKey sets the Key field's value.
func (*ConfigurationTag) SetTimeOfCreation ¶ added in v1.5.0
func (s *ConfigurationTag) SetTimeOfCreation(v time.Time) *ConfigurationTag
SetTimeOfCreation sets the TimeOfCreation field's value.
func (*ConfigurationTag) SetValue ¶ added in v1.5.0
func (s *ConfigurationTag) SetValue(v string) *ConfigurationTag
SetValue sets the Value field's value.
func (ConfigurationTag) String ¶
func (s ConfigurationTag) String() string
String returns the string representation
type CreateApplicationInput ¶ added in v1.6.5
type CreateApplicationInput struct { // Description of the application to be created. Description *string `locationName:"description" type:"string"` // Name of the application to be created. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplicationRequest
func (CreateApplicationInput) GoString ¶ added in v1.6.5
func (s CreateApplicationInput) GoString() string
GoString returns the string representation
func (*CreateApplicationInput) SetDescription ¶ added in v1.6.5
func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput
SetDescription sets the Description field's value.
func (*CreateApplicationInput) SetName ¶ added in v1.6.5
func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput
SetName sets the Name field's value.
func (CreateApplicationInput) String ¶ added in v1.6.5
func (s CreateApplicationInput) String() string
String returns the string representation
func (*CreateApplicationInput) Validate ¶ added in v1.6.5
func (s *CreateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApplicationOutput ¶ added in v1.6.5
type CreateApplicationOutput struct { // Configuration ID of an application to be created. ConfigurationId *string `locationName:"configurationId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplicationResponse
func (CreateApplicationOutput) GoString ¶ added in v1.6.5
func (s CreateApplicationOutput) GoString() string
GoString returns the string representation
func (*CreateApplicationOutput) SetConfigurationId ¶ added in v1.6.5
func (s *CreateApplicationOutput) SetConfigurationId(v string) *CreateApplicationOutput
SetConfigurationId sets the ConfigurationId field's value.
func (CreateApplicationOutput) String ¶ added in v1.6.5
func (s CreateApplicationOutput) String() string
String returns the string representation
type CreateTagsInput ¶
type CreateTagsInput struct { // A list of configuration items that you want to tag. // // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` // Tags that you want to associate with one or more configuration items. Specify // the tags that you want to create in a key-value format. For example: // // {"key": "serverType", "value": "webServer"} // // Tags is a required field Tags []*Tag `locationName:"tags" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTagsRequest
func (CreateTagsInput) GoString ¶
func (s CreateTagsInput) GoString() string
GoString returns the string representation
func (*CreateTagsInput) SetConfigurationIds ¶ added in v1.5.0
func (s *CreateTagsInput) SetConfigurationIds(v []*string) *CreateTagsInput
SetConfigurationIds sets the ConfigurationIds field's value.
func (*CreateTagsInput) SetTags ¶ added in v1.5.0
func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput
SetTags sets the Tags field's value.
func (CreateTagsInput) String ¶
func (s CreateTagsInput) String() string
String returns the string representation
func (*CreateTagsInput) Validate ¶
func (s *CreateTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTagsOutput ¶
type CreateTagsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTagsResponse
func (CreateTagsOutput) GoString ¶
func (s CreateTagsOutput) GoString() string
GoString returns the string representation
func (CreateTagsOutput) String ¶
func (s CreateTagsOutput) String() string
String returns the string representation
type CustomerAgentInfo ¶ added in v1.6.5
type CustomerAgentInfo struct { // Number of active discovery agents. // // ActiveAgents is a required field ActiveAgents *int64 `locationName:"activeAgents" type:"integer" required:"true"` // Number of blacklisted discovery agents. // // BlackListedAgents is a required field BlackListedAgents *int64 `locationName:"blackListedAgents" type:"integer" required:"true"` // Number of healthy discovery agents // // HealthyAgents is a required field HealthyAgents *int64 `locationName:"healthyAgents" type:"integer" required:"true"` // Number of discovery agents with status SHUTDOWN. // // ShutdownAgents is a required field ShutdownAgents *int64 `locationName:"shutdownAgents" type:"integer" required:"true"` // Total number of discovery agents. // // TotalAgents is a required field TotalAgents *int64 `locationName:"totalAgents" type:"integer" required:"true"` // Number of unhealthy discovery agents. // // UnhealthyAgents is a required field UnhealthyAgents *int64 `locationName:"unhealthyAgents" type:"integer" required:"true"` // Number of unknown discovery agents. // // UnknownAgents is a required field UnknownAgents *int64 `locationName:"unknownAgents" type:"integer" required:"true"` // contains filtered or unexported fields }
Inventory data for installed discovery agents. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CustomerAgentInfo
func (CustomerAgentInfo) GoString ¶ added in v1.6.5
func (s CustomerAgentInfo) GoString() string
GoString returns the string representation
func (*CustomerAgentInfo) SetActiveAgents ¶ added in v1.6.5
func (s *CustomerAgentInfo) SetActiveAgents(v int64) *CustomerAgentInfo
SetActiveAgents sets the ActiveAgents field's value.
func (*CustomerAgentInfo) SetBlackListedAgents ¶ added in v1.6.5
func (s *CustomerAgentInfo) SetBlackListedAgents(v int64) *CustomerAgentInfo
SetBlackListedAgents sets the BlackListedAgents field's value.
func (*CustomerAgentInfo) SetHealthyAgents ¶ added in v1.6.5
func (s *CustomerAgentInfo) SetHealthyAgents(v int64) *CustomerAgentInfo
SetHealthyAgents sets the HealthyAgents field's value.
func (*CustomerAgentInfo) SetShutdownAgents ¶ added in v1.6.5
func (s *CustomerAgentInfo) SetShutdownAgents(v int64) *CustomerAgentInfo
SetShutdownAgents sets the ShutdownAgents field's value.
func (*CustomerAgentInfo) SetTotalAgents ¶ added in v1.6.5
func (s *CustomerAgentInfo) SetTotalAgents(v int64) *CustomerAgentInfo
SetTotalAgents sets the TotalAgents field's value.
func (*CustomerAgentInfo) SetUnhealthyAgents ¶ added in v1.6.5
func (s *CustomerAgentInfo) SetUnhealthyAgents(v int64) *CustomerAgentInfo
SetUnhealthyAgents sets the UnhealthyAgents field's value.
func (*CustomerAgentInfo) SetUnknownAgents ¶ added in v1.6.5
func (s *CustomerAgentInfo) SetUnknownAgents(v int64) *CustomerAgentInfo
SetUnknownAgents sets the UnknownAgents field's value.
func (CustomerAgentInfo) String ¶ added in v1.6.5
func (s CustomerAgentInfo) String() string
String returns the string representation
type CustomerConnectorInfo ¶ added in v1.6.5
type CustomerConnectorInfo struct { // Number of active discovery connectors. // // ActiveConnectors is a required field ActiveConnectors *int64 `locationName:"activeConnectors" type:"integer" required:"true"` // Number of blacklisted discovery connectors. // // BlackListedConnectors is a required field BlackListedConnectors *int64 `locationName:"blackListedConnectors" type:"integer" required:"true"` // Number of healthy discovery connectors. // // HealthyConnectors is a required field HealthyConnectors *int64 `locationName:"healthyConnectors" type:"integer" required:"true"` // Number of discovery connectors with status SHUTDOWN, // // ShutdownConnectors is a required field ShutdownConnectors *int64 `locationName:"shutdownConnectors" type:"integer" required:"true"` // Total number of discovery connectors. // // TotalConnectors is a required field TotalConnectors *int64 `locationName:"totalConnectors" type:"integer" required:"true"` // Number of unhealthy discovery connectors. // // UnhealthyConnectors is a required field UnhealthyConnectors *int64 `locationName:"unhealthyConnectors" type:"integer" required:"true"` // Number of unknown discovery connectors. // // UnknownConnectors is a required field UnknownConnectors *int64 `locationName:"unknownConnectors" type:"integer" required:"true"` // contains filtered or unexported fields }
Inventory data for installed discovery connectors. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CustomerConnectorInfo
func (CustomerConnectorInfo) GoString ¶ added in v1.6.5
func (s CustomerConnectorInfo) GoString() string
GoString returns the string representation
func (*CustomerConnectorInfo) SetActiveConnectors ¶ added in v1.6.5
func (s *CustomerConnectorInfo) SetActiveConnectors(v int64) *CustomerConnectorInfo
SetActiveConnectors sets the ActiveConnectors field's value.
func (*CustomerConnectorInfo) SetBlackListedConnectors ¶ added in v1.6.5
func (s *CustomerConnectorInfo) SetBlackListedConnectors(v int64) *CustomerConnectorInfo
SetBlackListedConnectors sets the BlackListedConnectors field's value.
func (*CustomerConnectorInfo) SetHealthyConnectors ¶ added in v1.6.5
func (s *CustomerConnectorInfo) SetHealthyConnectors(v int64) *CustomerConnectorInfo
SetHealthyConnectors sets the HealthyConnectors field's value.
func (*CustomerConnectorInfo) SetShutdownConnectors ¶ added in v1.6.5
func (s *CustomerConnectorInfo) SetShutdownConnectors(v int64) *CustomerConnectorInfo
SetShutdownConnectors sets the ShutdownConnectors field's value.
func (*CustomerConnectorInfo) SetTotalConnectors ¶ added in v1.6.5
func (s *CustomerConnectorInfo) SetTotalConnectors(v int64) *CustomerConnectorInfo
SetTotalConnectors sets the TotalConnectors field's value.
func (*CustomerConnectorInfo) SetUnhealthyConnectors ¶ added in v1.6.5
func (s *CustomerConnectorInfo) SetUnhealthyConnectors(v int64) *CustomerConnectorInfo
SetUnhealthyConnectors sets the UnhealthyConnectors field's value.
func (*CustomerConnectorInfo) SetUnknownConnectors ¶ added in v1.6.5
func (s *CustomerConnectorInfo) SetUnknownConnectors(v int64) *CustomerConnectorInfo
SetUnknownConnectors sets the UnknownConnectors field's value.
func (CustomerConnectorInfo) String ¶ added in v1.6.5
func (s CustomerConnectorInfo) String() string
String returns the string representation
type DeleteApplicationsInput ¶ added in v1.6.5
type DeleteApplicationsInput struct { // Configuration ID of an application to be deleted. // // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplicationsRequest
func (DeleteApplicationsInput) GoString ¶ added in v1.6.5
func (s DeleteApplicationsInput) GoString() string
GoString returns the string representation
func (*DeleteApplicationsInput) SetConfigurationIds ¶ added in v1.6.5
func (s *DeleteApplicationsInput) SetConfigurationIds(v []*string) *DeleteApplicationsInput
SetConfigurationIds sets the ConfigurationIds field's value.
func (DeleteApplicationsInput) String ¶ added in v1.6.5
func (s DeleteApplicationsInput) String() string
String returns the string representation
func (*DeleteApplicationsInput) Validate ¶ added in v1.6.5
func (s *DeleteApplicationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApplicationsOutput ¶ added in v1.6.5
type DeleteApplicationsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplicationsResponse
func (DeleteApplicationsOutput) GoString ¶ added in v1.6.5
func (s DeleteApplicationsOutput) GoString() string
GoString returns the string representation
func (DeleteApplicationsOutput) String ¶ added in v1.6.5
func (s DeleteApplicationsOutput) String() string
String returns the string representation
type DeleteTagsInput ¶
type DeleteTagsInput struct { // A list of configuration items with tags that you want to delete. // // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` // Tags that you want to delete from one or more configuration items. Specify // the tags that you want to delete in a key-value format. For example: // // {"key": "serverType", "value": "webServer"} Tags []*Tag `locationName:"tags" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTagsRequest
func (DeleteTagsInput) GoString ¶
func (s DeleteTagsInput) GoString() string
GoString returns the string representation
func (*DeleteTagsInput) SetConfigurationIds ¶ added in v1.5.0
func (s *DeleteTagsInput) SetConfigurationIds(v []*string) *DeleteTagsInput
SetConfigurationIds sets the ConfigurationIds field's value.
func (*DeleteTagsInput) SetTags ¶ added in v1.5.0
func (s *DeleteTagsInput) SetTags(v []*Tag) *DeleteTagsInput
SetTags sets the Tags field's value.
func (DeleteTagsInput) String ¶
func (s DeleteTagsInput) String() string
String returns the string representation
func (*DeleteTagsInput) Validate ¶
func (s *DeleteTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTagsOutput ¶
type DeleteTagsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTagsResponse
func (DeleteTagsOutput) GoString ¶
func (s DeleteTagsOutput) GoString() string
GoString returns the string representation
func (DeleteTagsOutput) String ¶
func (s DeleteTagsOutput) String() string
String returns the string representation
type DescribeAgentsInput ¶
type DescribeAgentsInput struct { // The agent or the Connector IDs for which you want information. If you specify // no IDs, the system returns information about all agents/Connectors associated // with your AWS user account. AgentIds []*string `locationName:"agentIds" type:"list"` // You can filter the request using various logical operators and a key-value // format. For example: // // {"key": "collectionStatus", "value": "STARTED"} Filters []*Filter `locationName:"filters" type:"list"` // The total number of agents/Connectors to return in a single page of output. // The maximum value is 100. MaxResults *int64 `locationName:"maxResults" type:"integer"` // Token to retrieve the next set of results. For example, if you previously // specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults // to 10, you received a set of 10 results along with a token. Use that token // in this query to get the next set of 10. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgentsRequest
func (DescribeAgentsInput) GoString ¶
func (s DescribeAgentsInput) GoString() string
GoString returns the string representation
func (*DescribeAgentsInput) SetAgentIds ¶ added in v1.5.0
func (s *DescribeAgentsInput) SetAgentIds(v []*string) *DescribeAgentsInput
SetAgentIds sets the AgentIds field's value.
func (*DescribeAgentsInput) SetFilters ¶ added in v1.6.5
func (s *DescribeAgentsInput) SetFilters(v []*Filter) *DescribeAgentsInput
SetFilters sets the Filters field's value.
func (*DescribeAgentsInput) SetMaxResults ¶ added in v1.5.0
func (s *DescribeAgentsInput) SetMaxResults(v int64) *DescribeAgentsInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeAgentsInput) SetNextToken ¶ added in v1.5.0
func (s *DescribeAgentsInput) SetNextToken(v string) *DescribeAgentsInput
SetNextToken sets the NextToken field's value.
func (DescribeAgentsInput) String ¶
func (s DescribeAgentsInput) String() string
String returns the string representation
func (*DescribeAgentsInput) Validate ¶ added in v1.6.5
func (s *DescribeAgentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAgentsOutput ¶
type DescribeAgentsOutput struct { // Lists agents or the Connector by ID or lists all agents/Connectors associated // with your user account if you did not specify an agent/Connector ID. The // output includes agent/Connector IDs, IP addresses, media access control (MAC) // addresses, agent/Connector health, host name where the agent/Connector resides, // and the version number of each agent/Connector. AgentsInfo []*AgentInfo `locationName:"agentsInfo" type:"list"` // Token to retrieve the next set of results. For example, if you specified // 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults // to 10, you received a set of 10 results along with this token. Use this token // in the next query to retrieve the next set of 10. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgentsResponse
func (DescribeAgentsOutput) GoString ¶
func (s DescribeAgentsOutput) GoString() string
GoString returns the string representation
func (*DescribeAgentsOutput) SetAgentsInfo ¶ added in v1.5.0
func (s *DescribeAgentsOutput) SetAgentsInfo(v []*AgentInfo) *DescribeAgentsOutput
SetAgentsInfo sets the AgentsInfo field's value.
func (*DescribeAgentsOutput) SetNextToken ¶ added in v1.5.0
func (s *DescribeAgentsOutput) SetNextToken(v string) *DescribeAgentsOutput
SetNextToken sets the NextToken field's value.
func (DescribeAgentsOutput) String ¶
func (s DescribeAgentsOutput) String() string
String returns the string representation
type DescribeConfigurationsInput ¶
type DescribeConfigurationsInput struct { // One or more configuration IDs. // // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurationsRequest
func (DescribeConfigurationsInput) GoString ¶
func (s DescribeConfigurationsInput) GoString() string
GoString returns the string representation
func (*DescribeConfigurationsInput) SetConfigurationIds ¶ added in v1.5.0
func (s *DescribeConfigurationsInput) SetConfigurationIds(v []*string) *DescribeConfigurationsInput
SetConfigurationIds sets the ConfigurationIds field's value.
func (DescribeConfigurationsInput) String ¶
func (s DescribeConfigurationsInput) String() string
String returns the string representation
func (*DescribeConfigurationsInput) Validate ¶
func (s *DescribeConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeConfigurationsOutput ¶
type DescribeConfigurationsOutput struct { // A key in the response map. The value is an array of data. Configurations []map[string]*string `locationName:"configurations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurationsResponse
func (DescribeConfigurationsOutput) GoString ¶
func (s DescribeConfigurationsOutput) GoString() string
GoString returns the string representation
func (*DescribeConfigurationsOutput) SetConfigurations ¶ added in v1.5.0
func (s *DescribeConfigurationsOutput) SetConfigurations(v []map[string]*string) *DescribeConfigurationsOutput
SetConfigurations sets the Configurations field's value.
func (DescribeConfigurationsOutput) String ¶
func (s DescribeConfigurationsOutput) String() string
String returns the string representation
type DescribeExportConfigurationsInput ¶
type DescribeExportConfigurationsInput struct { // A unique identifier that you can use to query the export status. ExportIds []*string `locationName:"exportIds" type:"list"` // The maximum number of results that you want to display as a part of the query. MaxResults *int64 `locationName:"maxResults" type:"integer"` // A token to get the next set of results. For example, if you specify 100 IDs // for DescribeExportConfigurationsRequest$exportIds but set DescribeExportConfigurationsRequest$maxResults // to 10, you get results in a set of 10. Use the token in the query to get // the next set of 10. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurationsRequest
func (DescribeExportConfigurationsInput) GoString ¶
func (s DescribeExportConfigurationsInput) GoString() string
GoString returns the string representation
func (*DescribeExportConfigurationsInput) SetExportIds ¶ added in v1.5.0
func (s *DescribeExportConfigurationsInput) SetExportIds(v []*string) *DescribeExportConfigurationsInput
SetExportIds sets the ExportIds field's value.
func (*DescribeExportConfigurationsInput) SetMaxResults ¶ added in v1.5.0
func (s *DescribeExportConfigurationsInput) SetMaxResults(v int64) *DescribeExportConfigurationsInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeExportConfigurationsInput) SetNextToken ¶ added in v1.5.0
func (s *DescribeExportConfigurationsInput) SetNextToken(v string) *DescribeExportConfigurationsInput
SetNextToken sets the NextToken field's value.
func (DescribeExportConfigurationsInput) String ¶
func (s DescribeExportConfigurationsInput) String() string
String returns the string representation
type DescribeExportConfigurationsOutput ¶
type DescribeExportConfigurationsOutput struct { // Returns export details. When the status is complete, the response includes // a URL for an Amazon S3 bucket where you can view the data in a CSV file. ExportsInfo []*ExportInfo `locationName:"exportsInfo" type:"list"` // A token to get the next set of results. For example, if you specify 100 IDs // for DescribeExportConfigurationsRequest$exportIds but set DescribeExportConfigurationsRequest$maxResults // to 10, you get results in a set of 10. Use the token in the query to get // the next set of 10. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurationsResponse
func (DescribeExportConfigurationsOutput) GoString ¶
func (s DescribeExportConfigurationsOutput) GoString() string
GoString returns the string representation
func (*DescribeExportConfigurationsOutput) SetExportsInfo ¶ added in v1.5.0
func (s *DescribeExportConfigurationsOutput) SetExportsInfo(v []*ExportInfo) *DescribeExportConfigurationsOutput
SetExportsInfo sets the ExportsInfo field's value.
func (*DescribeExportConfigurationsOutput) SetNextToken ¶ added in v1.5.0
func (s *DescribeExportConfigurationsOutput) SetNextToken(v string) *DescribeExportConfigurationsOutput
SetNextToken sets the NextToken field's value.
func (DescribeExportConfigurationsOutput) String ¶
func (s DescribeExportConfigurationsOutput) String() string
String returns the string representation
type DescribeExportTasksInput ¶ added in v1.8.1
type DescribeExportTasksInput struct { // One or more unique identifiers used to query the status of an export request. ExportIds []*string `locationName:"exportIds" type:"list"` // The maximum number of volume results returned by DescribeExportTasks in paginated // output. When this parameter is used, DescribeExportTasks only returns maxResults // results in a single page along with a nextToken response element. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The nextToken value returned from a previous paginated DescribeExportTasks // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasksRequest
func (DescribeExportTasksInput) GoString ¶ added in v1.8.1
func (s DescribeExportTasksInput) GoString() string
GoString returns the string representation
func (*DescribeExportTasksInput) SetExportIds ¶ added in v1.8.1
func (s *DescribeExportTasksInput) SetExportIds(v []*string) *DescribeExportTasksInput
SetExportIds sets the ExportIds field's value.
func (*DescribeExportTasksInput) SetMaxResults ¶ added in v1.8.1
func (s *DescribeExportTasksInput) SetMaxResults(v int64) *DescribeExportTasksInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeExportTasksInput) SetNextToken ¶ added in v1.8.1
func (s *DescribeExportTasksInput) SetNextToken(v string) *DescribeExportTasksInput
SetNextToken sets the NextToken field's value.
func (DescribeExportTasksInput) String ¶ added in v1.8.1
func (s DescribeExportTasksInput) String() string
String returns the string representation
type DescribeExportTasksOutput ¶ added in v1.8.1
type DescribeExportTasksOutput struct { // Contains one or more sets of export request details. When the status of a // request is SUCCEEDED, the response includes a URL for an Amazon S3 bucket // where you can view the data in a CSV file. ExportsInfo []*ExportInfo `locationName:"exportsInfo" type:"list"` // The nextToken value to include in a future DescribeExportTasks request. When // the results of a DescribeExportTasks request exceed maxResults, this value // can be used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasksResponse
func (DescribeExportTasksOutput) GoString ¶ added in v1.8.1
func (s DescribeExportTasksOutput) GoString() string
GoString returns the string representation
func (*DescribeExportTasksOutput) SetExportsInfo ¶ added in v1.8.1
func (s *DescribeExportTasksOutput) SetExportsInfo(v []*ExportInfo) *DescribeExportTasksOutput
SetExportsInfo sets the ExportsInfo field's value.
func (*DescribeExportTasksOutput) SetNextToken ¶ added in v1.8.1
func (s *DescribeExportTasksOutput) SetNextToken(v string) *DescribeExportTasksOutput
SetNextToken sets the NextToken field's value.
func (DescribeExportTasksOutput) String ¶ added in v1.8.1
func (s DescribeExportTasksOutput) String() string
String returns the string representation
type DescribeTagsInput ¶
type DescribeTagsInput struct { // You can filter the list using a key-value format. You can separate these // items by using logical operators. Allowed filters include tagKey, tagValue, // and configurationId. Filters []*TagFilter `locationName:"filters" type:"list"` // The total number of items to return in a single page of output. The maximum // value is 100. MaxResults *int64 `locationName:"maxResults" type:"integer"` // A token to start the list. Use this token to get the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTagsRequest
func (DescribeTagsInput) GoString ¶
func (s DescribeTagsInput) GoString() string
GoString returns the string representation
func (*DescribeTagsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeTagsInput) SetFilters(v []*TagFilter) *DescribeTagsInput
SetFilters sets the Filters field's value.
func (*DescribeTagsInput) SetMaxResults ¶ added in v1.5.0
func (s *DescribeTagsInput) SetMaxResults(v int64) *DescribeTagsInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeTagsInput) SetNextToken ¶ added in v1.5.0
func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput
SetNextToken sets the NextToken field's value.
func (DescribeTagsInput) String ¶
func (s DescribeTagsInput) String() string
String returns the string representation
func (*DescribeTagsInput) Validate ¶
func (s *DescribeTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTagsOutput ¶
type DescribeTagsOutput struct { // The call returns a token. Use this token to get the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // Depending on the input, this is a list of configuration items tagged with // a specific tag, or a list of tags for a specific configuration item. Tags []*ConfigurationTag `locationName:"tags" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTagsResponse
func (DescribeTagsOutput) GoString ¶
func (s DescribeTagsOutput) GoString() string
GoString returns the string representation
func (*DescribeTagsOutput) SetNextToken ¶ added in v1.5.0
func (s *DescribeTagsOutput) SetNextToken(v string) *DescribeTagsOutput
SetNextToken sets the NextToken field's value.
func (*DescribeTagsOutput) SetTags ¶ added in v1.5.0
func (s *DescribeTagsOutput) SetTags(v []*ConfigurationTag) *DescribeTagsOutput
SetTags sets the Tags field's value.
func (DescribeTagsOutput) String ¶
func (s DescribeTagsOutput) String() string
String returns the string representation
type DisassociateConfigurationItemsFromApplicationInput ¶ added in v1.6.5
type DisassociateConfigurationItemsFromApplicationInput struct { // Configuration ID of an application from which each item is disassociated. // // ApplicationConfigurationId is a required field ApplicationConfigurationId *string `locationName:"applicationConfigurationId" type:"string" required:"true"` // Configuration ID of each item to be disassociated from an application. // // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplicationRequest
func (DisassociateConfigurationItemsFromApplicationInput) GoString ¶ added in v1.6.5
func (s DisassociateConfigurationItemsFromApplicationInput) GoString() string
GoString returns the string representation
func (*DisassociateConfigurationItemsFromApplicationInput) SetApplicationConfigurationId ¶ added in v1.6.5
func (s *DisassociateConfigurationItemsFromApplicationInput) SetApplicationConfigurationId(v string) *DisassociateConfigurationItemsFromApplicationInput
SetApplicationConfigurationId sets the ApplicationConfigurationId field's value.
func (*DisassociateConfigurationItemsFromApplicationInput) SetConfigurationIds ¶ added in v1.6.5
func (s *DisassociateConfigurationItemsFromApplicationInput) SetConfigurationIds(v []*string) *DisassociateConfigurationItemsFromApplicationInput
SetConfigurationIds sets the ConfigurationIds field's value.
func (DisassociateConfigurationItemsFromApplicationInput) String ¶ added in v1.6.5
func (s DisassociateConfigurationItemsFromApplicationInput) String() string
String returns the string representation
func (*DisassociateConfigurationItemsFromApplicationInput) Validate ¶ added in v1.6.5
func (s *DisassociateConfigurationItemsFromApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateConfigurationItemsFromApplicationOutput ¶ added in v1.6.5
type DisassociateConfigurationItemsFromApplicationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplicationResponse
func (DisassociateConfigurationItemsFromApplicationOutput) GoString ¶ added in v1.6.5
func (s DisassociateConfigurationItemsFromApplicationOutput) GoString() string
GoString returns the string representation
func (DisassociateConfigurationItemsFromApplicationOutput) String ¶ added in v1.6.5
func (s DisassociateConfigurationItemsFromApplicationOutput) String() string
String returns the string representation
type ExportConfigurationsInput ¶
type ExportConfigurationsInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurationsInput
func (ExportConfigurationsInput) GoString ¶
func (s ExportConfigurationsInput) GoString() string
GoString returns the string representation
func (ExportConfigurationsInput) String ¶
func (s ExportConfigurationsInput) String() string
String returns the string representation
type ExportConfigurationsOutput ¶
type ExportConfigurationsOutput struct { // A unique identifier that you can use to query the export status. ExportId *string `locationName:"exportId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurationsResponse
func (ExportConfigurationsOutput) GoString ¶
func (s ExportConfigurationsOutput) GoString() string
GoString returns the string representation
func (*ExportConfigurationsOutput) SetExportId ¶ added in v1.5.0
func (s *ExportConfigurationsOutput) SetExportId(v string) *ExportConfigurationsOutput
SetExportId sets the ExportId field's value.
func (ExportConfigurationsOutput) String ¶
func (s ExportConfigurationsOutput) String() string
String returns the string representation
type ExportInfo ¶
type ExportInfo struct { // A URL for an Amazon S3 bucket where you can review the configuration data. // The URL is displayed only if the export succeeded. ConfigurationsDownloadUrl *string `locationName:"configurationsDownloadUrl" type:"string"` // A unique identifier that you can use to query the export. // // ExportId is a required field ExportId *string `locationName:"exportId" type:"string" required:"true"` // The time that the configuration data export was initiated. // // ExportRequestTime is a required field ExportRequestTime *time.Time `locationName:"exportRequestTime" type:"timestamp" timestampFormat:"unix" required:"true"` // The status of the configuration data export. The status can succeed, fail, // or be in-progress. // // ExportStatus is a required field ExportStatus *string `locationName:"exportStatus" type:"string" required:"true" enum:"ExportStatus"` // Helpful status messages for API callers. For example: Too many exports in // the last 6 hours. Export in progress. Export was successful. // // StatusMessage is a required field StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` // contains filtered or unexported fields }
Information regarding the export status of the discovered data. The value is an array of objects. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportInfo
func (ExportInfo) GoString ¶
func (s ExportInfo) GoString() string
GoString returns the string representation
func (*ExportInfo) SetConfigurationsDownloadUrl ¶ added in v1.5.0
func (s *ExportInfo) SetConfigurationsDownloadUrl(v string) *ExportInfo
SetConfigurationsDownloadUrl sets the ConfigurationsDownloadUrl field's value.
func (*ExportInfo) SetExportId ¶ added in v1.5.0
func (s *ExportInfo) SetExportId(v string) *ExportInfo
SetExportId sets the ExportId field's value.
func (*ExportInfo) SetExportRequestTime ¶ added in v1.5.0
func (s *ExportInfo) SetExportRequestTime(v time.Time) *ExportInfo
SetExportRequestTime sets the ExportRequestTime field's value.
func (*ExportInfo) SetExportStatus ¶ added in v1.5.0
func (s *ExportInfo) SetExportStatus(v string) *ExportInfo
SetExportStatus sets the ExportStatus field's value.
func (*ExportInfo) SetStatusMessage ¶ added in v1.5.0
func (s *ExportInfo) SetStatusMessage(v string) *ExportInfo
SetStatusMessage sets the StatusMessage field's value.
func (ExportInfo) String ¶
func (s ExportInfo) String() string
String returns the string representation
type Filter ¶
type Filter struct { // A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, // CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes // all filters as though concatenated by AND. If you specify multiple values // for a particular filter, the system differentiates the values using OR. Calling // either DescribeConfigurations or ListConfigurations returns attributes of // matching configuration items. // // Condition is a required field Condition *string `locationName:"condition" type:"string" required:"true"` // The name of the filter. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A string value on which to filter. For example, if you choose the destinationServer.osVersion // filter name, you could specify Ubuntu for the value. // // Values is a required field Values []*string `locationName:"values" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
A filter that can use conditional operators.
For more information about filters, see Querying Discovered Configuration Items (http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html). Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/Filter
func (*Filter) SetCondition ¶ added in v1.5.0
SetCondition sets the Condition field's value.
type GetDiscoverySummaryInput ¶ added in v1.6.5
type GetDiscoverySummaryInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummaryRequest
func (GetDiscoverySummaryInput) GoString ¶ added in v1.6.5
func (s GetDiscoverySummaryInput) GoString() string
GoString returns the string representation
func (GetDiscoverySummaryInput) String ¶ added in v1.6.5
func (s GetDiscoverySummaryInput) String() string
String returns the string representation
type GetDiscoverySummaryOutput ¶ added in v1.6.5
type GetDiscoverySummaryOutput struct { // Details about discovered agents, including agent status and health. AgentSummary *CustomerAgentInfo `locationName:"agentSummary" type:"structure"` // The number of applications discovered. Applications *int64 `locationName:"applications" type:"long"` // Details about discovered connectors, including connector status and health. ConnectorSummary *CustomerConnectorInfo `locationName:"connectorSummary" type:"structure"` // The number of servers discovered. Servers *int64 `locationName:"servers" type:"long"` // The number of servers mapped to applications. ServersMappedToApplications *int64 `locationName:"serversMappedToApplications" type:"long"` // The number of servers mapped to tags. ServersMappedtoTags *int64 `locationName:"serversMappedtoTags" type:"long"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummaryResponse
func (GetDiscoverySummaryOutput) GoString ¶ added in v1.6.5
func (s GetDiscoverySummaryOutput) GoString() string
GoString returns the string representation
func (*GetDiscoverySummaryOutput) SetAgentSummary ¶ added in v1.6.5
func (s *GetDiscoverySummaryOutput) SetAgentSummary(v *CustomerAgentInfo) *GetDiscoverySummaryOutput
SetAgentSummary sets the AgentSummary field's value.
func (*GetDiscoverySummaryOutput) SetApplications ¶ added in v1.6.5
func (s *GetDiscoverySummaryOutput) SetApplications(v int64) *GetDiscoverySummaryOutput
SetApplications sets the Applications field's value.
func (*GetDiscoverySummaryOutput) SetConnectorSummary ¶ added in v1.6.5
func (s *GetDiscoverySummaryOutput) SetConnectorSummary(v *CustomerConnectorInfo) *GetDiscoverySummaryOutput
SetConnectorSummary sets the ConnectorSummary field's value.
func (*GetDiscoverySummaryOutput) SetServers ¶ added in v1.6.5
func (s *GetDiscoverySummaryOutput) SetServers(v int64) *GetDiscoverySummaryOutput
SetServers sets the Servers field's value.
func (*GetDiscoverySummaryOutput) SetServersMappedToApplications ¶ added in v1.6.5
func (s *GetDiscoverySummaryOutput) SetServersMappedToApplications(v int64) *GetDiscoverySummaryOutput
SetServersMappedToApplications sets the ServersMappedToApplications field's value.
func (*GetDiscoverySummaryOutput) SetServersMappedtoTags ¶ added in v1.6.5
func (s *GetDiscoverySummaryOutput) SetServersMappedtoTags(v int64) *GetDiscoverySummaryOutput
SetServersMappedtoTags sets the ServersMappedtoTags field's value.
func (GetDiscoverySummaryOutput) String ¶ added in v1.6.5
func (s GetDiscoverySummaryOutput) String() string
String returns the string representation
type ListConfigurationsInput ¶
type ListConfigurationsInput struct { // A valid configuration identified by Application Discovery Service. // // ConfigurationType is a required field ConfigurationType *string `locationName:"configurationType" type:"string" required:"true" enum:"ConfigurationItemType"` // You can filter the request using various logical operators and a key-value // format. For example: // // {"key": "serverType", "value": "webServer"} // // For a complete list of filter options and guidance about using them with // this action, see Querying Discovered Configuration Items (http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations). Filters []*Filter `locationName:"filters" type:"list"` // The total number of items to return. The maximum value is 100. MaxResults *int64 `locationName:"maxResults" type:"integer"` // Token to retrieve the next set of results. For example, if a previous call // to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults // to 10, you received a set of 10 results along with a token. Use that token // in this query to get the next set of 10. NextToken *string `locationName:"nextToken" type:"string"` // Certain filter criteria return output that can be sorted in ascending or // descending order. For a list of output characteristics for each filter, see // Using the ListConfigurations Action (http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations). OrderBy []*OrderByElement `locationName:"orderBy" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurationsRequest
func (ListConfigurationsInput) GoString ¶
func (s ListConfigurationsInput) GoString() string
GoString returns the string representation
func (*ListConfigurationsInput) SetConfigurationType ¶ added in v1.5.0
func (s *ListConfigurationsInput) SetConfigurationType(v string) *ListConfigurationsInput
SetConfigurationType sets the ConfigurationType field's value.
func (*ListConfigurationsInput) SetFilters ¶ added in v1.5.0
func (s *ListConfigurationsInput) SetFilters(v []*Filter) *ListConfigurationsInput
SetFilters sets the Filters field's value.
func (*ListConfigurationsInput) SetMaxResults ¶ added in v1.5.0
func (s *ListConfigurationsInput) SetMaxResults(v int64) *ListConfigurationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListConfigurationsInput) SetNextToken ¶ added in v1.5.0
func (s *ListConfigurationsInput) SetNextToken(v string) *ListConfigurationsInput
SetNextToken sets the NextToken field's value.
func (*ListConfigurationsInput) SetOrderBy ¶ added in v1.6.5
func (s *ListConfigurationsInput) SetOrderBy(v []*OrderByElement) *ListConfigurationsInput
SetOrderBy sets the OrderBy field's value.
func (ListConfigurationsInput) String ¶
func (s ListConfigurationsInput) String() string
String returns the string representation
func (*ListConfigurationsInput) Validate ¶
func (s *ListConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListConfigurationsOutput ¶
type ListConfigurationsOutput struct { // Returns configuration details, including the configuration ID, attribute // names, and attribute values. Configurations []map[string]*string `locationName:"configurations" type:"list"` // Token to retrieve the next set of results. For example, if your call to ListConfigurations // returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, // you received a set of 10 results along with this token. Use this token in // the next query to retrieve the next set of 10. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurationsResponse
func (ListConfigurationsOutput) GoString ¶
func (s ListConfigurationsOutput) GoString() string
GoString returns the string representation
func (*ListConfigurationsOutput) SetConfigurations ¶ added in v1.5.0
func (s *ListConfigurationsOutput) SetConfigurations(v []map[string]*string) *ListConfigurationsOutput
SetConfigurations sets the Configurations field's value.
func (*ListConfigurationsOutput) SetNextToken ¶ added in v1.5.0
func (s *ListConfigurationsOutput) SetNextToken(v string) *ListConfigurationsOutput
SetNextToken sets the NextToken field's value.
func (ListConfigurationsOutput) String ¶
func (s ListConfigurationsOutput) String() string
String returns the string representation
type ListServerNeighborsInput ¶ added in v1.6.5
type ListServerNeighborsInput struct { // Configuration ID of the server for which neighbors are being listed. // // ConfigurationId is a required field ConfigurationId *string `locationName:"configurationId" type:"string" required:"true"` // Maximum number of results to return in a single page of output. MaxResults *int64 `locationName:"maxResults" type:"integer"` // List of configuration IDs to test for one-hop-away. NeighborConfigurationIds []*string `locationName:"neighborConfigurationIds" type:"list"` // Token to retrieve the next set of results. For example, if you previously // specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds // but set ListServerNeighborsRequest$maxResults to 10, you received a set of // 10 results along with a token. Use that token in this query to get the next // set of 10. NextToken *string `locationName:"nextToken" type:"string"` // Flag to indicate if port and protocol information is needed as part of the // response. PortInformationNeeded *bool `locationName:"portInformationNeeded" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighborsRequest
func (ListServerNeighborsInput) GoString ¶ added in v1.6.5
func (s ListServerNeighborsInput) GoString() string
GoString returns the string representation
func (*ListServerNeighborsInput) SetConfigurationId ¶ added in v1.6.5
func (s *ListServerNeighborsInput) SetConfigurationId(v string) *ListServerNeighborsInput
SetConfigurationId sets the ConfigurationId field's value.
func (*ListServerNeighborsInput) SetMaxResults ¶ added in v1.6.5
func (s *ListServerNeighborsInput) SetMaxResults(v int64) *ListServerNeighborsInput
SetMaxResults sets the MaxResults field's value.
func (*ListServerNeighborsInput) SetNeighborConfigurationIds ¶ added in v1.6.5
func (s *ListServerNeighborsInput) SetNeighborConfigurationIds(v []*string) *ListServerNeighborsInput
SetNeighborConfigurationIds sets the NeighborConfigurationIds field's value.
func (*ListServerNeighborsInput) SetNextToken ¶ added in v1.6.5
func (s *ListServerNeighborsInput) SetNextToken(v string) *ListServerNeighborsInput
SetNextToken sets the NextToken field's value.
func (*ListServerNeighborsInput) SetPortInformationNeeded ¶ added in v1.6.5
func (s *ListServerNeighborsInput) SetPortInformationNeeded(v bool) *ListServerNeighborsInput
SetPortInformationNeeded sets the PortInformationNeeded field's value.
func (ListServerNeighborsInput) String ¶ added in v1.6.5
func (s ListServerNeighborsInput) String() string
String returns the string representation
func (*ListServerNeighborsInput) Validate ¶ added in v1.6.5
func (s *ListServerNeighborsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListServerNeighborsOutput ¶ added in v1.6.5
type ListServerNeighborsOutput struct { // Count of distinct servers that are one hop away from the given server. KnownDependencyCount *int64 `locationName:"knownDependencyCount" type:"long"` // List of distinct servers that are one hop away from the given server. // // Neighbors is a required field Neighbors []*NeighborConnectionDetail `locationName:"neighbors" type:"list" required:"true"` // Token to retrieve the next set of results. For example, if you specified // 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults // to 10, you received a set of 10 results along with this token. Use this token // in the next query to retrieve the next set of 10. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighborsResponse
func (ListServerNeighborsOutput) GoString ¶ added in v1.6.5
func (s ListServerNeighborsOutput) GoString() string
GoString returns the string representation
func (*ListServerNeighborsOutput) SetKnownDependencyCount ¶ added in v1.6.5
func (s *ListServerNeighborsOutput) SetKnownDependencyCount(v int64) *ListServerNeighborsOutput
SetKnownDependencyCount sets the KnownDependencyCount field's value.
func (*ListServerNeighborsOutput) SetNeighbors ¶ added in v1.6.5
func (s *ListServerNeighborsOutput) SetNeighbors(v []*NeighborConnectionDetail) *ListServerNeighborsOutput
SetNeighbors sets the Neighbors field's value.
func (*ListServerNeighborsOutput) SetNextToken ¶ added in v1.6.5
func (s *ListServerNeighborsOutput) SetNextToken(v string) *ListServerNeighborsOutput
SetNextToken sets the NextToken field's value.
func (ListServerNeighborsOutput) String ¶ added in v1.6.5
func (s ListServerNeighborsOutput) String() string
String returns the string representation
type NeighborConnectionDetail ¶ added in v1.6.5
type NeighborConnectionDetail struct { // The number of open network connections with the neighboring server. // // ConnectionsCount is a required field ConnectionsCount *int64 `locationName:"connectionsCount" type:"long" required:"true"` // The destination network port for the connection. DestinationPort *int64 `locationName:"destinationPort" type:"integer"` // The ID of the server that accepted the network connection. // // DestinationServerId is a required field DestinationServerId *string `locationName:"destinationServerId" type:"string" required:"true"` // The ID of the server that opened the network connection. // // SourceServerId is a required field SourceServerId *string `locationName:"sourceServerId" type:"string" required:"true"` // The network protocol used for the connection. TransportProtocol *string `locationName:"transportProtocol" type:"string"` // contains filtered or unexported fields }
Details about neighboring servers. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/NeighborConnectionDetail
func (NeighborConnectionDetail) GoString ¶ added in v1.6.5
func (s NeighborConnectionDetail) GoString() string
GoString returns the string representation
func (*NeighborConnectionDetail) SetConnectionsCount ¶ added in v1.6.5
func (s *NeighborConnectionDetail) SetConnectionsCount(v int64) *NeighborConnectionDetail
SetConnectionsCount sets the ConnectionsCount field's value.
func (*NeighborConnectionDetail) SetDestinationPort ¶ added in v1.6.5
func (s *NeighborConnectionDetail) SetDestinationPort(v int64) *NeighborConnectionDetail
SetDestinationPort sets the DestinationPort field's value.
func (*NeighborConnectionDetail) SetDestinationServerId ¶ added in v1.6.5
func (s *NeighborConnectionDetail) SetDestinationServerId(v string) *NeighborConnectionDetail
SetDestinationServerId sets the DestinationServerId field's value.
func (*NeighborConnectionDetail) SetSourceServerId ¶ added in v1.6.5
func (s *NeighborConnectionDetail) SetSourceServerId(v string) *NeighborConnectionDetail
SetSourceServerId sets the SourceServerId field's value.
func (*NeighborConnectionDetail) SetTransportProtocol ¶ added in v1.6.5
func (s *NeighborConnectionDetail) SetTransportProtocol(v string) *NeighborConnectionDetail
SetTransportProtocol sets the TransportProtocol field's value.
func (NeighborConnectionDetail) String ¶ added in v1.6.5
func (s NeighborConnectionDetail) String() string
String returns the string representation
type OrderByElement ¶ added in v1.6.5
type OrderByElement struct { // The field on which to order. // // FieldName is a required field FieldName *string `locationName:"fieldName" type:"string" required:"true"` // Ordering direction. SortOrder *string `locationName:"sortOrder" type:"string" enum:"orderString"` // contains filtered or unexported fields }
A field and direction for ordered output. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/OrderByElement
func (OrderByElement) GoString ¶ added in v1.6.5
func (s OrderByElement) GoString() string
GoString returns the string representation
func (*OrderByElement) SetFieldName ¶ added in v1.6.5
func (s *OrderByElement) SetFieldName(v string) *OrderByElement
SetFieldName sets the FieldName field's value.
func (*OrderByElement) SetSortOrder ¶ added in v1.6.5
func (s *OrderByElement) SetSortOrder(v string) *OrderByElement
SetSortOrder sets the SortOrder field's value.
func (OrderByElement) String ¶ added in v1.6.5
func (s OrderByElement) String() string
String returns the string representation
func (*OrderByElement) Validate ¶ added in v1.6.5
func (s *OrderByElement) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartDataCollectionByAgentIdsInput ¶
type StartDataCollectionByAgentIdsInput struct { // The IDs of the agents or connectors from which to start collecting data. // If you send a request to an agent/connector ID that you do not have permission // to contact, according to your AWS account, the service does not throw an // exception. Instead, it returns the error in the Description field. If you // send a request to multiple agents/connectors and you do not have permission // to contact some of those agents/connectors, the system does not throw an // exception. Instead, the system shows Failed in the Description field. // // AgentIds is a required field AgentIds []*string `locationName:"agentIds" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIdsRequest
func (StartDataCollectionByAgentIdsInput) GoString ¶
func (s StartDataCollectionByAgentIdsInput) GoString() string
GoString returns the string representation
func (*StartDataCollectionByAgentIdsInput) SetAgentIds ¶ added in v1.5.0
func (s *StartDataCollectionByAgentIdsInput) SetAgentIds(v []*string) *StartDataCollectionByAgentIdsInput
SetAgentIds sets the AgentIds field's value.
func (StartDataCollectionByAgentIdsInput) String ¶
func (s StartDataCollectionByAgentIdsInput) String() string
String returns the string representation
func (*StartDataCollectionByAgentIdsInput) Validate ¶
func (s *StartDataCollectionByAgentIdsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartDataCollectionByAgentIdsOutput ¶
type StartDataCollectionByAgentIdsOutput struct { // Information about agents or the connector that were instructed to start collecting // data. Information includes the agent/connector ID, a description of the operation // performed, and whether the agent/connector configuration was updated. AgentsConfigurationStatus []*AgentConfigurationStatus `locationName:"agentsConfigurationStatus" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIdsResponse
func (StartDataCollectionByAgentIdsOutput) GoString ¶
func (s StartDataCollectionByAgentIdsOutput) GoString() string
GoString returns the string representation
func (*StartDataCollectionByAgentIdsOutput) SetAgentsConfigurationStatus ¶ added in v1.5.0
func (s *StartDataCollectionByAgentIdsOutput) SetAgentsConfigurationStatus(v []*AgentConfigurationStatus) *StartDataCollectionByAgentIdsOutput
SetAgentsConfigurationStatus sets the AgentsConfigurationStatus field's value.
func (StartDataCollectionByAgentIdsOutput) String ¶
func (s StartDataCollectionByAgentIdsOutput) String() string
String returns the string representation
type StartExportTaskInput ¶ added in v1.8.1
type StartExportTaskInput struct { // The file format for the returned export data. Default value is CSV. ExportDataFormat []*string `locationName:"exportDataFormat" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTaskRequest
func (StartExportTaskInput) GoString ¶ added in v1.8.1
func (s StartExportTaskInput) GoString() string
GoString returns the string representation
func (*StartExportTaskInput) SetExportDataFormat ¶ added in v1.8.1
func (s *StartExportTaskInput) SetExportDataFormat(v []*string) *StartExportTaskInput
SetExportDataFormat sets the ExportDataFormat field's value.
func (StartExportTaskInput) String ¶ added in v1.8.1
func (s StartExportTaskInput) String() string
String returns the string representation
type StartExportTaskOutput ¶ added in v1.8.1
type StartExportTaskOutput struct { // A unique identifier used to query the status of an export request. ExportId *string `locationName:"exportId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTaskResponse
func (StartExportTaskOutput) GoString ¶ added in v1.8.1
func (s StartExportTaskOutput) GoString() string
GoString returns the string representation
func (*StartExportTaskOutput) SetExportId ¶ added in v1.8.1
func (s *StartExportTaskOutput) SetExportId(v string) *StartExportTaskOutput
SetExportId sets the ExportId field's value.
func (StartExportTaskOutput) String ¶ added in v1.8.1
func (s StartExportTaskOutput) String() string
String returns the string representation
type StopDataCollectionByAgentIdsInput ¶
type StopDataCollectionByAgentIdsInput struct { // The IDs of the agents or connectors from which to stop collecting data. // // AgentIds is a required field AgentIds []*string `locationName:"agentIds" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIdsRequest
func (StopDataCollectionByAgentIdsInput) GoString ¶
func (s StopDataCollectionByAgentIdsInput) GoString() string
GoString returns the string representation
func (*StopDataCollectionByAgentIdsInput) SetAgentIds ¶ added in v1.5.0
func (s *StopDataCollectionByAgentIdsInput) SetAgentIds(v []*string) *StopDataCollectionByAgentIdsInput
SetAgentIds sets the AgentIds field's value.
func (StopDataCollectionByAgentIdsInput) String ¶
func (s StopDataCollectionByAgentIdsInput) String() string
String returns the string representation
func (*StopDataCollectionByAgentIdsInput) Validate ¶
func (s *StopDataCollectionByAgentIdsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopDataCollectionByAgentIdsOutput ¶
type StopDataCollectionByAgentIdsOutput struct { // Information about the agents or connector that were instructed to stop collecting // data. Information includes the agent/connector ID, a description of the operation // performed, and whether the agent/connector configuration was updated. AgentsConfigurationStatus []*AgentConfigurationStatus `locationName:"agentsConfigurationStatus" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIdsResponse
func (StopDataCollectionByAgentIdsOutput) GoString ¶
func (s StopDataCollectionByAgentIdsOutput) GoString() string
GoString returns the string representation
func (*StopDataCollectionByAgentIdsOutput) SetAgentsConfigurationStatus ¶ added in v1.5.0
func (s *StopDataCollectionByAgentIdsOutput) SetAgentsConfigurationStatus(v []*AgentConfigurationStatus) *StopDataCollectionByAgentIdsOutput
SetAgentsConfigurationStatus sets the AgentsConfigurationStatus field's value.
func (StopDataCollectionByAgentIdsOutput) String ¶
func (s StopDataCollectionByAgentIdsOutput) String() string
String returns the string representation
type Tag ¶
type Tag struct { // The type of tag on which to filter. // // Key is a required field Key *string `locationName:"key" type:"string" required:"true"` // A value for a tag key on which to filter. // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` // contains filtered or unexported fields }
Metadata that help you categorize IT assets. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/Tag
type TagFilter ¶
type TagFilter struct { // A name of the tag filter. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Values for the tag filter. // // Values is a required field Values []*string `locationName:"values" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
The tag filter. Valid names are: tagKey, tagValue, configurationId. Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/TagFilter
type UpdateApplicationInput ¶ added in v1.6.5
type UpdateApplicationInput struct { // Configuration ID of the application to be updated. // // ConfigurationId is a required field ConfigurationId *string `locationName:"configurationId" type:"string" required:"true"` // New description of the application to be updated. Description *string `locationName:"description" type:"string"` // New name of the application to be updated. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplicationRequest
func (UpdateApplicationInput) GoString ¶ added in v1.6.5
func (s UpdateApplicationInput) GoString() string
GoString returns the string representation
func (*UpdateApplicationInput) SetConfigurationId ¶ added in v1.6.5
func (s *UpdateApplicationInput) SetConfigurationId(v string) *UpdateApplicationInput
SetConfigurationId sets the ConfigurationId field's value.
func (*UpdateApplicationInput) SetDescription ¶ added in v1.6.5
func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput
SetDescription sets the Description field's value.
func (*UpdateApplicationInput) SetName ¶ added in v1.6.5
func (s *UpdateApplicationInput) SetName(v string) *UpdateApplicationInput
SetName sets the Name field's value.
func (UpdateApplicationInput) String ¶ added in v1.6.5
func (s UpdateApplicationInput) String() string
String returns the string representation
func (*UpdateApplicationInput) Validate ¶ added in v1.6.5
func (s *UpdateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApplicationOutput ¶ added in v1.6.5
type UpdateApplicationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplicationResponse
func (UpdateApplicationOutput) GoString ¶ added in v1.6.5
func (s UpdateApplicationOutput) GoString() string
GoString returns the string representation
func (UpdateApplicationOutput) String ¶ added in v1.6.5
func (s UpdateApplicationOutput) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package applicationdiscoveryserviceiface provides an interface to enable mocking the AWS Application Discovery Service service client for testing your code.
|
Package applicationdiscoveryserviceiface provides an interface to enable mocking the AWS Application Discovery Service service client for testing your code. |