Documentation
¶
Index ¶
- type AWSConfiguration
- type AccessDeniedException
- type AdditionalServiceDetails
- type AdditionalServiceDetailsMemberAzuredevops
- type AdditionalServiceDetailsMemberAzureidentity
- type AdditionalServiceDetailsMemberGithub
- type AdditionalServiceDetailsMemberGitlab
- type AdditionalServiceDetailsMemberMcpserver
- type AdditionalServiceDetailsMemberMcpserverdatadog
- type AdditionalServiceDetailsMemberMcpservergrafana
- type AdditionalServiceDetailsMemberMcpservernewrelic
- type AdditionalServiceDetailsMemberMcpserversplunk
- type AdditionalServiceDetailsMemberPagerduty
- type AdditionalServiceDetailsMemberServicenow
- type AdditionalServiceDetailsMemberSlack
- type AdditionalServiceRegistrationStep
- type AdditionalServiceRegistrationStepMemberOauth
- type AgentSpace
- type AssistantMessageBlock
- type AssistantMessageBlockMemberText
- type AssistantMessageBlockMemberToolUse
- type Association
- type AuthFlow
- type AzureConfiguration
- type AzureDevOpsConfiguration
- type ChatExecution
- type ConflictException
- type ContentSizeExceededException
- type DatadogAuthorizationConfig
- type DatadogAuthorizationConfigMemberAuthorizationDiscovery
- type DatadogServiceDetails
- type DynatraceConfiguration
- type DynatraceOAuthClientCredentialsConfig
- type DynatraceServiceAuthorizationConfig
- type DynatraceServiceAuthorizationConfigMemberOAuthClientCredentials
- type DynatraceServiceDetails
- type EventChannelConfiguration
- type EventChannelDetails
- type EventChannelType
- type Execution
- type ExecutionStatus
- type GenericWebhook
- type GitHubConfiguration
- type GitLabConfiguration
- type GitLabDetails
- type GitLabTokenType
- type GithubRepoOwnerType
- type Goal
- type GoalContent
- type GoalSchedule
- type GoalScheduleInput
- type GoalStatus
- type GoalType
- type GrafanaServiceDetails
- type IamAuthConfiguration
- type IdcAuthConfiguration
- type IdentityCenterServiceException
- type IdpAuthConfiguration
- type InternalServerException
- type InvalidParameterException
- type IpAddressType
- type JournalRecord
- type MCPServerAPIKeyConfig
- type MCPServerAuthorizationConfig
- type MCPServerAuthorizationConfigMemberApiKey
- type MCPServerAuthorizationConfigMemberAuthorizationDiscovery
- type MCPServerAuthorizationConfigMemberBearerToken
- type MCPServerAuthorizationConfigMemberOAuth3LO
- type MCPServerAuthorizationConfigMemberOAuthClientCredentials
- type MCPServerAuthorizationDiscoveryConfig
- type MCPServerAuthorizationMethod
- type MCPServerBearerTokenConfig
- type MCPServerDetails
- type MCPServerGrafanaConfiguration
- type MCPServerNewRelicConfiguration
- type MCPServerOAuth3LOConfig
- type MCPServerOAuthClientCredentialsConfig
- type Message
- type MessageMemberAssistantMessage
- type MessageMemberUserMessage
- type MonitorAccountType
- type NewRelicApiKeyConfig
- type NewRelicRegion
- type NewRelicServiceAuthorizationConfig
- type NewRelicServiceAuthorizationConfigMemberApiKey
- type NewRelicServiceDetails
- type OAuthAdditionalStepDetails
- type OrderType
- type PagerDutyAuthorizationConfig
- type PagerDutyAuthorizationConfigMemberOAuthClientCredentials
- type PagerDutyConfiguration
- type PagerDutyDetails
- type PagerDutyOAuthClientCredentialsConfig
- type PendingMessage
- type PostRegisterServiceSupportedService
- type Priority
- type PrivateConnectionMode
- type PrivateConnectionModeMemberSelfManaged
- type PrivateConnectionModeMemberServiceManaged
- type PrivateConnectionStatus
- type PrivateConnectionSummary
- type PrivateConnectionType
- type Recommendation
- type RecommendationContent
- type RecommendationPriority
- type RecommendationStatus
- type ReferenceInput
- type ReferenceOutput
- type RegisteredAzureDevOpsServiceDetails
- type RegisteredAzureIdentityDetails
- type RegisteredGitLabServiceDetails
- type RegisteredGithubServiceDetails
- type RegisteredGrafanaServerDetails
- type RegisteredMCPServerDetails
- type RegisteredNewRelicDetails
- type RegisteredPagerDutyDetails
- type RegisteredService
- type RegisteredServiceNowDetails
- type RegisteredSlackServiceDetails
- type ResourceNotFoundException
- type SchedulerState
- type SelfManagedInput
- type SendMessageContentBlockDelta
- type SendMessageContentBlockDeltaEvent
- type SendMessageContentBlockDeltaMemberJsonDelta
- type SendMessageContentBlockDeltaMemberTextDelta
- type SendMessageContentBlockStartEvent
- type SendMessageContentBlockStopEvent
- type SendMessageContext
- type SendMessageEvents
- type SendMessageEventsMemberContentBlockDelta
- type SendMessageEventsMemberContentBlockStart
- type SendMessageEventsMemberContentBlockStop
- type SendMessageEventsMemberHeartbeat
- type SendMessageEventsMemberResponseCompleted
- type SendMessageEventsMemberResponseCreated
- type SendMessageEventsMemberResponseFailed
- type SendMessageEventsMemberResponseInProgress
- type SendMessageEventsMemberSummary
- type SendMessageHeartbeatEvent
- type SendMessageJsonDelta
- type SendMessageResponseCompletedEvent
- type SendMessageResponseCreatedEvent
- type SendMessageResponseFailedEvent
- type SendMessageResponseInProgressEvent
- type SendMessageSummaryEvent
- type SendMessageTextDelta
- type SendMessageUsageInfo
- type Service
- type ServiceConfiguration
- type ServiceConfigurationMemberAws
- type ServiceConfigurationMemberAzure
- type ServiceConfigurationMemberAzuredevops
- type ServiceConfigurationMemberDynatrace
- type ServiceConfigurationMemberEventChannel
- type ServiceConfigurationMemberGithub
- type ServiceConfigurationMemberGitlab
- type ServiceConfigurationMemberMcpservergrafana
- type ServiceConfigurationMemberMcpservernewrelic
- type ServiceConfigurationMemberPagerduty
- type ServiceConfigurationMemberServicenow
- type ServiceConfigurationMemberSlack
- type ServiceConfigurationMemberSourceAws
- type ServiceDetails
- type ServiceDetailsMemberAzureidentity
- type ServiceDetailsMemberDynatrace
- type ServiceDetailsMemberEventChannel
- type ServiceDetailsMemberGitlab
- type ServiceDetailsMemberMcpserver
- type ServiceDetailsMemberMcpserverdatadog
- type ServiceDetailsMemberMcpservergrafana
- type ServiceDetailsMemberMcpservernewrelic
- type ServiceDetailsMemberMcpserversplunk
- type ServiceDetailsMemberPagerduty
- type ServiceDetailsMemberServicenow
- type ServiceManagedInput
- type ServiceNowConfiguration
- type ServiceNowOAuthClientCredentialsConfig
- type ServiceNowServiceAuthorizationConfig
- type ServiceNowServiceAuthorizationConfigMemberOAuthClientCredentials
- type ServiceNowServiceDetails
- type ServiceQuotaExceededException
- type SlackChannel
- type SlackConfiguration
- type SlackTransmissionTarget
- type SourceAccountType
- type SourceAwsConfiguration
- type Task
- type TaskFilter
- type TaskSortField
- type TaskSortOrder
- type TaskStatus
- type TaskType
- type ThrottlingException
- type UnknownUnionMember
- type UsageMetric
- type UserMessageBlock
- type UserMessageBlockMemberText
- type UserMessageBlockMemberToolResult
- type UserReference
- type UserType
- type ValidationException
- type ValidationExceptionField
- type ValidationStatus
- type Webhook
- type WebhookType
Examples ¶
- AdditionalServiceDetails (OutputUsage)
- AdditionalServiceRegistrationStep (OutputUsage)
- AssistantMessageBlock (OutputUsage)
- DatadogAuthorizationConfig (OutputUsage)
- DynatraceServiceAuthorizationConfig (OutputUsage)
- MCPServerAuthorizationConfig (OutputUsage)
- Message (OutputUsage)
- NewRelicServiceAuthorizationConfig (OutputUsage)
- PagerDutyAuthorizationConfig (OutputUsage)
- PrivateConnectionMode (OutputUsage)
- SendMessageContentBlockDelta (OutputUsage)
- SendMessageEvents (OutputUsage)
- ServiceConfiguration (OutputUsage)
- ServiceDetails (OutputUsage)
- ServiceNowServiceAuthorizationConfig (OutputUsage)
- UserMessageBlock (OutputUsage)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSConfiguration ¶
type AWSConfiguration struct {
// AWS Account Id corresponding to provided resources.
//
// This member is required.
AccountId *string
// Account Type 'monitor' for AIDevOps monitoring.
//
// This member is required.
AccountType MonitorAccountType
// Role ARN to be assumed by AIDevOps to operate on behalf of customer.
//
// This member is required.
AssumableRoleArn *string
// contains filtered or unexported fields
}
Configuration for AWS monitor account integration, allowing AIDevOps to monitor AWS resources.
type AccessDeniedException ¶
type AccessDeniedException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
Access to the requested resource is denied due to insufficient permissions.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type AdditionalServiceDetails ¶
type AdditionalServiceDetails interface {
// contains filtered or unexported methods
}
Union of service-specific details for different service types.
The following types satisfy this interface:
AdditionalServiceDetailsMemberAzuredevops AdditionalServiceDetailsMemberAzureidentity AdditionalServiceDetailsMemberGithub AdditionalServiceDetailsMemberGitlab AdditionalServiceDetailsMemberMcpserver AdditionalServiceDetailsMemberMcpserverdatadog AdditionalServiceDetailsMemberMcpservergrafana AdditionalServiceDetailsMemberMcpservernewrelic AdditionalServiceDetailsMemberMcpserversplunk AdditionalServiceDetailsMemberPagerduty AdditionalServiceDetailsMemberServicenow AdditionalServiceDetailsMemberSlack
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.AdditionalServiceDetails
// type switches can be used to check the union value
switch v := union.(type) {
case *types.AdditionalServiceDetailsMemberAzuredevops:
_ = v.Value // Value is types.RegisteredAzureDevOpsServiceDetails
case *types.AdditionalServiceDetailsMemberAzureidentity:
_ = v.Value // Value is types.RegisteredAzureIdentityDetails
case *types.AdditionalServiceDetailsMemberGithub:
_ = v.Value // Value is types.RegisteredGithubServiceDetails
case *types.AdditionalServiceDetailsMemberGitlab:
_ = v.Value // Value is types.RegisteredGitLabServiceDetails
case *types.AdditionalServiceDetailsMemberMcpserver:
_ = v.Value // Value is types.RegisteredMCPServerDetails
case *types.AdditionalServiceDetailsMemberMcpserverdatadog:
_ = v.Value // Value is types.RegisteredMCPServerDetails
case *types.AdditionalServiceDetailsMemberMcpservergrafana:
_ = v.Value // Value is types.RegisteredGrafanaServerDetails
case *types.AdditionalServiceDetailsMemberMcpservernewrelic:
_ = v.Value // Value is types.RegisteredNewRelicDetails
case *types.AdditionalServiceDetailsMemberMcpserversplunk:
_ = v.Value // Value is types.RegisteredMCPServerDetails
case *types.AdditionalServiceDetailsMemberPagerduty:
_ = v.Value // Value is types.RegisteredPagerDutyDetails
case *types.AdditionalServiceDetailsMemberServicenow:
_ = v.Value // Value is types.RegisteredServiceNowDetails
case *types.AdditionalServiceDetailsMemberSlack:
_ = v.Value // Value is types.RegisteredSlackServiceDetails
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type AdditionalServiceDetailsMemberAzuredevops ¶
type AdditionalServiceDetailsMemberAzuredevops struct {
Value RegisteredAzureDevOpsServiceDetails
// contains filtered or unexported fields
}
Azure DevOps specific service details.
type AdditionalServiceDetailsMemberAzureidentity ¶
type AdditionalServiceDetailsMemberAzureidentity struct {
Value RegisteredAzureIdentityDetails
// contains filtered or unexported fields
}
Azure identity details for services using Azure authentication.
type AdditionalServiceDetailsMemberGithub ¶
type AdditionalServiceDetailsMemberGithub struct {
Value RegisteredGithubServiceDetails
// contains filtered or unexported fields
}
GitHub-specific service details.
type AdditionalServiceDetailsMemberGitlab ¶
type AdditionalServiceDetailsMemberGitlab struct {
Value RegisteredGitLabServiceDetails
// contains filtered or unexported fields
}
GitLab-specific service details.
type AdditionalServiceDetailsMemberMcpserver ¶
type AdditionalServiceDetailsMemberMcpserver struct {
Value RegisteredMCPServerDetails
// contains filtered or unexported fields
}
MCP server-specific service details.
type AdditionalServiceDetailsMemberMcpserverdatadog ¶
type AdditionalServiceDetailsMemberMcpserverdatadog struct {
Value RegisteredMCPServerDetails
// contains filtered or unexported fields
}
Datadog MCP server-specific service details.
type AdditionalServiceDetailsMemberMcpservergrafana ¶
type AdditionalServiceDetailsMemberMcpservergrafana struct {
Value RegisteredGrafanaServerDetails
// contains filtered or unexported fields
}
Grafana MCP server-specific service details.
type AdditionalServiceDetailsMemberMcpservernewrelic ¶
type AdditionalServiceDetailsMemberMcpservernewrelic struct {
Value RegisteredNewRelicDetails
// contains filtered or unexported fields
}
New Relic MCP server-specific service details.
type AdditionalServiceDetailsMemberMcpserversplunk ¶
type AdditionalServiceDetailsMemberMcpserversplunk struct {
Value RegisteredMCPServerDetails
// contains filtered or unexported fields
}
Splunk MCP server-specific service details.
type AdditionalServiceDetailsMemberPagerduty ¶
type AdditionalServiceDetailsMemberPagerduty struct {
Value RegisteredPagerDutyDetails
// contains filtered or unexported fields
}
Pagerduty service details.
type AdditionalServiceDetailsMemberServicenow ¶
type AdditionalServiceDetailsMemberServicenow struct {
Value RegisteredServiceNowDetails
// contains filtered or unexported fields
}
ServiceNow-specific service details.
type AdditionalServiceDetailsMemberSlack ¶
type AdditionalServiceDetailsMemberSlack struct {
Value RegisteredSlackServiceDetails
// contains filtered or unexported fields
}
Slack-specific service details.
type AdditionalServiceRegistrationStep ¶
type AdditionalServiceRegistrationStep interface {
// contains filtered or unexported methods
}
Additional steps required to complete service registration.
The following types satisfy this interface:
AdditionalServiceRegistrationStepMemberOauth
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.AdditionalServiceRegistrationStep
// type switches can be used to check the union value
switch v := union.(type) {
case *types.AdditionalServiceRegistrationStepMemberOauth:
_ = v.Value // Value is types.OAuthAdditionalStepDetails
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type AdditionalServiceRegistrationStepMemberOauth ¶
type AdditionalServiceRegistrationStepMemberOauth struct {
Value OAuthAdditionalStepDetails
// contains filtered or unexported fields
}
OAuth authorization step required.
type AgentSpace ¶
type AgentSpace struct {
// The unique identifier of the AgentSpace
//
// This member is required.
AgentSpaceId *string
// The timestamp when the resource was created.
//
// This member is required.
CreatedAt *time.Time
// The name of the AgentSpace.
//
// This member is required.
Name *string
// The timestamp when the resource was last updated.
//
// This member is required.
UpdatedAt *time.Time
// The description of the AgentSpace.
Description *string
// The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's
// used to encrypt resources.
KmsKeyArn *string
// The locale for the AgentSpace, which determines the language used in agent
// responses.
Locale *string
// contains filtered or unexported fields
}
Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.
type AssistantMessageBlock ¶
type AssistantMessageBlock interface {
// contains filtered or unexported methods
}
A block of content in an assistant message.
The following types satisfy this interface:
AssistantMessageBlockMemberText AssistantMessageBlockMemberToolUse
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.AssistantMessageBlock
// type switches can be used to check the union value
switch v := union.(type) {
case *types.AssistantMessageBlockMemberText:
_ = v.Value // Value is string
case *types.AssistantMessageBlockMemberToolUse:
_ = v.Value // Value is document.Interface
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type AssistantMessageBlockMemberText ¶
type AssistantMessageBlockMemberText struct {
Value string
// contains filtered or unexported fields
}
Text content from the assistant.
type AssistantMessageBlockMemberToolUse ¶
type AssistantMessageBlockMemberToolUse struct {
Value document.Interface
// contains filtered or unexported fields
}
Tool use request from the assistant.
type Association ¶
type Association struct {
// The unique identifier of the AgentSpace
//
// This member is required.
AgentSpaceId *string
// The unique identifier of the given association.
//
// This member is required.
AssociationId *string
// The configuration that directs how AgentSpace interacts with the given service.
//
// This member is required.
Configuration ServiceConfiguration
// The timestamp when the resource was created.
//
// This member is required.
CreatedAt *time.Time
// The identifier for associated service
//
// This member is required.
ServiceId *string
// The timestamp when the resource was last updated.
//
// This member is required.
UpdatedAt *time.Time
// Validation status
Status ValidationStatus
// contains filtered or unexported fields
}
Represents a service association within an AgentSpace, defining how the agent interacts with external services.
type AuthFlow ¶
type AuthFlow string
type AzureConfiguration ¶
type AzureConfiguration struct {
// Azure subscription ID corresponding to provided resources.
//
// This member is required.
SubscriptionId *string
// contains filtered or unexported fields
}
Configuration for Azure subscription integration.
type AzureDevOpsConfiguration ¶
type AzureDevOpsConfiguration struct {
// Azure DevOps organization name.
//
// This member is required.
OrganizationName *string
// Azure DevOps project ID.
//
// This member is required.
ProjectId *string
// Azure DevOps project name.
//
// This member is required.
ProjectName *string
// contains filtered or unexported fields
}
Configuration for Azure DevOps project integration.
type ChatExecution ¶
type ChatExecution struct {
// Timestamp when the chat was created
//
// This member is required.
CreatedAt *time.Time
// The unique identifier for the execution
//
// This member is required.
ExecutionId *string
// Summary or title of the chat
Summary *string
// Timestamp when the chat was last updated
UpdatedAt *time.Time
// contains filtered or unexported fields
}
A single chat execution summary
type ConflictException ¶
type ConflictException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
The request conflicts with the current state of the resource.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type ContentSizeExceededException ¶
type ContentSizeExceededException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This exception is thrown when the content size exceeds the allowed limit.
func (*ContentSizeExceededException) Error ¶
func (e *ContentSizeExceededException) Error() string
func (*ContentSizeExceededException) ErrorCode ¶
func (e *ContentSizeExceededException) ErrorCode() string
func (*ContentSizeExceededException) ErrorFault ¶
func (e *ContentSizeExceededException) ErrorFault() smithy.ErrorFault
func (*ContentSizeExceededException) ErrorMessage ¶
func (e *ContentSizeExceededException) ErrorMessage() string
type DatadogAuthorizationConfig ¶
type DatadogAuthorizationConfig interface {
// contains filtered or unexported methods
}
Authorization configuration for Datadog MCP server (uses authorization discovery only).
The following types satisfy this interface:
DatadogAuthorizationConfigMemberAuthorizationDiscovery
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.DatadogAuthorizationConfig
// type switches can be used to check the union value
switch v := union.(type) {
case *types.DatadogAuthorizationConfigMemberAuthorizationDiscovery:
_ = v.Value // Value is types.MCPServerAuthorizationDiscoveryConfig
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type DatadogAuthorizationConfigMemberAuthorizationDiscovery ¶
type DatadogAuthorizationConfigMemberAuthorizationDiscovery struct {
Value MCPServerAuthorizationDiscoveryConfig
// contains filtered or unexported fields
}
Datadog MCP server authorization discovery configuration.
type DatadogServiceDetails ¶
type DatadogServiceDetails struct {
// Datadog MCP server authorization configuration (only authorization discovery is
// supported).
//
// This member is required.
AuthorizationConfig DatadogAuthorizationConfig
// MCP server endpoint URL.
//
// This member is required.
Endpoint *string
// MCP server name.
//
// This member is required.
Name *string
// Optional description for the MCP server.
Description *string
// contains filtered or unexported fields
}
Complete service details for Datadog MCP server integration.
type DynatraceConfiguration ¶
type DynatraceConfiguration struct {
// Dynatrace environment id
//
// This member is required.
EnvId *string
// List of Dynatrace resources to monitor
Resources []string
// contains filtered or unexported fields
}
Configuration for Dynatrace monitoring integration.
type DynatraceOAuthClientCredentialsConfig ¶
type DynatraceOAuthClientCredentialsConfig struct {
// OAuth client ID for authenticating with the service.
//
// This member is required.
ClientId *string
// OAuth client secret for authenticating with the service.
//
// This member is required.
ClientSecret *string
// User friendly OAuth client name specified by end user.
ClientName *string
// OAuth token exchange parameters for authenticating with the service.
ExchangeParameters map[string]string
// contains filtered or unexported fields
}
OAuth client credentials configuration for Dynatrace.
type DynatraceServiceAuthorizationConfig ¶
type DynatraceServiceAuthorizationConfig interface {
// contains filtered or unexported methods
}
Authorization configuration options for Dynatrace service.
The following types satisfy this interface:
DynatraceServiceAuthorizationConfigMemberOAuthClientCredentials
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.DynatraceServiceAuthorizationConfig
// type switches can be used to check the union value
switch v := union.(type) {
case *types.DynatraceServiceAuthorizationConfigMemberOAuthClientCredentials:
_ = v.Value // Value is types.DynatraceOAuthClientCredentialsConfig
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type DynatraceServiceAuthorizationConfigMemberOAuthClientCredentials ¶
type DynatraceServiceAuthorizationConfigMemberOAuthClientCredentials struct {
Value DynatraceOAuthClientCredentialsConfig
// contains filtered or unexported fields
}
OAuth client credentials configuration.
type DynatraceServiceDetails ¶
type DynatraceServiceDetails struct {
// Dynatrace resource account urn.
//
// This member is required.
AccountUrn *string
// Dynatrace OAuth client credentials configuration. Use this when registering
// with OAuth client credentials flow.
AuthorizationConfig DynatraceServiceAuthorizationConfig
// contains filtered or unexported fields
}
Complete service details for Dynatrace integration.
type EventChannelConfiguration ¶
type EventChannelConfiguration struct {
// contains filtered or unexported fields
}
Configuration for Event Channel integration.
type EventChannelDetails ¶
type EventChannelDetails struct {
// The type of event channel
Type EventChannelType
// contains filtered or unexported fields
}
Service details for Event Channel integration.
type EventChannelType ¶
type EventChannelType string
const ( // Webhook-based event channel EventChannelTypeWebhook EventChannelType = "webhook" )
Enum values for EventChannelType
func (EventChannelType) Values ¶
func (EventChannelType) Values() []EventChannelType
Values returns all known values for EventChannelType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Execution ¶
type Execution struct {
// The unique identifier for the agent space containing this execution
//
// This member is required.
AgentSpaceId *string
// The specific subtask being executed by the agent
//
// This member is required.
AgentSubTask *string
// Timestamp when this execution was created
//
// This member is required.
CreatedAt *time.Time
// The unique identifier for this execution
//
// This member is required.
ExecutionId *string
// The current status of this execution
//
// This member is required.
ExecutionStatus ExecutionStatus
// Timestamp when this execution was last updated
//
// This member is required.
UpdatedAt *time.Time
// The type of agent that performed this execution.
AgentType *string
// The identifier of the parent execution, if this is a child execution
ParentExecutionId *string
// The unique identifier for the user session associated with this execution
Uid *string
// contains filtered or unexported fields
}
Represents an execution instance with its lifecycle information
type ExecutionStatus ¶
type ExecutionStatus string
const ( // Execution has failed ExecutionStatusFailed ExecutionStatus = "FAILED" // Execution is currently running ExecutionStatusRunning ExecutionStatus = "RUNNING" // Execution has been stopped ExecutionStatusStopped ExecutionStatus = "STOPPED" // Execution has been canceled ExecutionStatusCanceled ExecutionStatus = "CANCELED" // Unlike in the case of user-initiated Cancelation, a customer won't be billed ExecutionStatusTimedOut ExecutionStatus = "TIMED_OUT" )
Enum values for ExecutionStatus
func (ExecutionStatus) Values ¶
func (ExecutionStatus) Values() []ExecutionStatus
Values returns all known values for ExecutionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GenericWebhook ¶
type GenericWebhook struct {
// API Key for API Key webhook authentication
ApiKey *string
// The unique webhook identifier
WebhookId *string
// The webhook secret for authentication
WebhookSecret *string
// The webhook authentication type
WebhookType WebhookType
// The webhook URL endpoint
WebhookUrl *string
// contains filtered or unexported fields
}
Generic webhook configuration for services that support webhook notifications.
type GitHubConfiguration ¶
type GitHubConfiguration struct {
// The GitHub repository owner name.
//
// This member is required.
Owner *string
// Type of GitHub repository owner.
//
// This member is required.
OwnerType GithubRepoOwnerType
// Associated Github repo ID
//
// This member is required.
RepoId *string
// Associated Github repo name
//
// This member is required.
RepoName *string
// GitHub instance identifier (e.g., github.com or github.enterprise.com)
InstanceIdentifier *string
// contains filtered or unexported fields
}
Configuration for GitHub repository integration.
type GitLabConfiguration ¶
type GitLabConfiguration struct {
// GitLab numeric project ID.
//
// This member is required.
ProjectId *string
// Full GitLab project path (e.g., namespace/project-name).
//
// This member is required.
ProjectPath *string
// GitLab instance identifier (e.g., gitlab.com or
// e2e.gamma.dev.us-east-1.gitlab.falco.ai.aws.dev)
InstanceIdentifier *string
// contains filtered or unexported fields
}
Configuration for GitLab project integration.
type GitLabDetails ¶
type GitLabDetails struct {
// GitLab instance URL (e.g., https://gitlab.com or self-hosted instance).
//
// This member is required.
TargetUrl *string
// Type of GitLab access token
//
// This member is required.
TokenType GitLabTokenType
// GitLab access token value
//
// This member is required.
TokenValue *string
// Optional GitLab group ID for group-level access tokens
GroupId *string
// contains filtered or unexported fields
}
Service details for GitLab integration.
type GitLabTokenType ¶
type GitLabTokenType string
const ( // Personal access token GitLabTokenTypePersonal GitLabTokenType = "personal" // Group access token GitLabTokenTypeGroup GitLabTokenType = "group" )
Enum values for GitLabTokenType
func (GitLabTokenType) Values ¶
func (GitLabTokenType) Values() []GitLabTokenType
Values returns all known values for GitLabTokenType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GithubRepoOwnerType ¶
type GithubRepoOwnerType string
const ( // Repository owned by a GitHub organization. GithubRepoOwnerTypeOrganization GithubRepoOwnerType = "organization" // Repository owned by an individual GitHub user. GithubRepoOwnerTypeUser GithubRepoOwnerType = "user" )
Enum values for GithubRepoOwnerType
func (GithubRepoOwnerType) Values ¶
func (GithubRepoOwnerType) Values() []GithubRepoOwnerType
Values returns all known values for GithubRepoOwnerType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Goal ¶
type Goal struct {
// The unique identifier for the agent space containing this goal
//
// This member is required.
AgentSpaceArn *string
// Content of the goal
//
// This member is required.
Content *GoalContent
// Timestamp when this goal was created
//
// This member is required.
CreatedAt *time.Time
// The unique identifier for this goal
//
// This member is required.
GoalId *string
// Type of goal based on its origin
//
// This member is required.
GoalType GoalType
// Current status of the goal itself
//
// This member is required.
Status GoalStatus
// The title of the goal
//
// This member is required.
Title *string
// Timestamp when this goal was last updated
//
// This member is required.
UpdatedAt *time.Time
// Version number for optimistic locking
//
// This member is required.
Version *int32
// Goal Schedule. Allows to schedule the goal to run periodically, as well as
// disable a goal temporarily
EvaluationSchedule *GoalSchedule
// Timestamp when the goal was last evaluated
LastEvaluatedAt *time.Time
// ID of the most recent successful task associated with this goal
LastSuccessfulTaskId *string
// ID of the most recent task associated with this goal
LastTaskId *string
// contains filtered or unexported fields
}
Represents a goal with all its properties and metadata
type GoalContent ¶
type GoalContent struct {
// A detailed description of the goal.
//
// This member is required.
Description *string
// The objectives to be achieved for this goal.
//
// This member is required.
Objectives *string
// contains filtered or unexported fields
}
Content of a goal
type GoalSchedule ¶
type GoalSchedule struct {
// Whether the schedule is enabled or disabled
//
// This member is required.
State SchedulerState
// Schedule expression (e.g., 'rate(7 days)')
Expression *string
// contains filtered or unexported fields
}
Schedule configuration for goal evaluations
type GoalScheduleInput ¶
type GoalScheduleInput struct {
// Whether the schedule is enabled or disabled
//
// This member is required.
State SchedulerState
// contains filtered or unexported fields
}
Schedule configuration for updating goal evaluations
type GoalStatus ¶
type GoalStatus string
const ( // Goal is active and being evaluated according to schedule GoalStatusActive GoalStatus = "ACTIVE" // Goal evaluations are temporarily paused GoalStatusPaused GoalStatus = "PAUSED" // Goal has been marked as completed GoalStatusComplete GoalStatus = "COMPLETE" )
Enum values for GoalStatus
func (GoalStatus) Values ¶
func (GoalStatus) Values() []GoalStatus
Values returns all known values for GoalStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GoalType ¶
type GoalType string
type GrafanaServiceDetails ¶
type GrafanaServiceDetails struct {
// Grafana MCP server authorization configuration (experimental).
//
// This member is required.
AuthorizationConfig MCPServerAuthorizationConfig
// MCP server endpoint URL.
//
// This member is required.
Endpoint *string
// MCP server name.
//
// This member is required.
Name *string
// Optional description for the MCP server.
Description *string
// contains filtered or unexported fields
}
Complete service details for Grafana MCP server integration.
type IamAuthConfiguration ¶
type IamAuthConfiguration struct {
// The timestamp when the Operator App IAM auth flow was enabled.
//
// This member is required.
CreatedAt *time.Time
// The IAM role end users assume to access AIDevOps APIs
//
// This member is required.
OperatorAppRoleArn *string
// The timestamp when the Operator App IAM auth flow was updated.
UpdatedAt *time.Time
// contains filtered or unexported fields
}
Configuration for IAM-based authentication flow for the Operator App.
type IdcAuthConfiguration ¶
type IdcAuthConfiguration struct {
// The timestamp when the Operator App IdC auth flow was enabled.
//
// This member is required.
CreatedAt *time.Time
// The IdC instance Arn used to create an IdC auth application
//
// This member is required.
IdcInstanceArn *string
// The IAM role end users assume to access AIDevOps APIs
//
// This member is required.
OperatorAppRoleArn *string
// The IdC application Arn created for IdC auth
IdcApplicationArn *string
// The timestamp when the Operator App IdC auth flow was updated.
UpdatedAt *time.Time
// contains filtered or unexported fields
}
Configuration for AWS Identity Center (IdC) authentication flow for the Operator App.
type IdentityCenterServiceException ¶
type IdentityCenterServiceException struct {
Message *string
ErrorCodeOverride *string
UnderlyingErrorCode *string
// contains filtered or unexported fields
}
Calls to the customer Identity Center have failed
func (*IdentityCenterServiceException) Error ¶
func (e *IdentityCenterServiceException) Error() string
func (*IdentityCenterServiceException) ErrorCode ¶
func (e *IdentityCenterServiceException) ErrorCode() string
func (*IdentityCenterServiceException) ErrorFault ¶
func (e *IdentityCenterServiceException) ErrorFault() smithy.ErrorFault
func (*IdentityCenterServiceException) ErrorMessage ¶
func (e *IdentityCenterServiceException) ErrorMessage() string
type IdpAuthConfiguration ¶
type IdpAuthConfiguration struct {
// The OIDC client ID for the IdP application
//
// This member is required.
ClientId *string
// The timestamp when the Operator App IdP auth flow was enabled.
//
// This member is required.
CreatedAt *time.Time
// The OIDC issuer URL of the external Identity Provider
//
// This member is required.
IssuerUrl *string
// The IAM role end users assume to access AIDevOps APIs
//
// This member is required.
OperatorAppRoleArn *string
// The Identity Provider name (e.g., Entra, Okta, Google)
//
// This member is required.
Provider *string
// The timestamp when the Operator App IdP auth flow was updated.
UpdatedAt *time.Time
// contains filtered or unexported fields
}
Configuration for external Identity Provider OIDC authentication flow for the Operator App.
type InternalServerException ¶
type InternalServerException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This exception is thrown when an unexpected error occurs in the processing of a request.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type InvalidParameterException ¶
type InvalidParameterException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
One or more parameters provided in the request are invalid.
func (*InvalidParameterException) Error ¶
func (e *InvalidParameterException) Error() string
func (*InvalidParameterException) ErrorCode ¶
func (e *InvalidParameterException) ErrorCode() string
func (*InvalidParameterException) ErrorFault ¶
func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
func (*InvalidParameterException) ErrorMessage ¶
func (e *InvalidParameterException) ErrorMessage() string
type IpAddressType ¶
type IpAddressType string
const ( IpAddressTypeIpv4 IpAddressType = "IPV4" IpAddressTypeIpv6 IpAddressType = "IPV6" IpAddressTypeDualStack IpAddressType = "DUAL_STACK" )
Enum values for IpAddressType
func (IpAddressType) Values ¶
func (IpAddressType) Values() []IpAddressType
Values returns all known values for IpAddressType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type JournalRecord ¶
type JournalRecord struct {
// The unique identifier for the agent space containing this record
//
// This member is required.
AgentSpaceId *string
// The content of this journal record
//
// This member is required.
Content document.Interface
// Timestamp when this journal record was created
//
// This member is required.
CreatedAt *time.Time
// The execution ID associated with this journal record
//
// This member is required.
ExecutionId *string
// The unique identifier for this journal record
//
// This member is required.
RecordId *string
// The type of this journal record
//
// This member is required.
RecordType *string
// Reference to the user associated with this journal record
UserReference *UserReference
// contains filtered or unexported fields
}
Represents a journal record containing execution details and content
type MCPServerAPIKeyConfig ¶
type MCPServerAPIKeyConfig struct {
// HTTP header name to send the API key in requests to the service.
//
// This member is required.
ApiKeyHeader *string
// User friendly API key name specified by end user.
//
// This member is required.
ApiKeyName *string
// API key value for authenticating with the service.
//
// This member is required.
ApiKeyValue *string
// contains filtered or unexported fields
}
API key configuration for MCP server.
type MCPServerAuthorizationConfig ¶
type MCPServerAuthorizationConfig interface {
// contains filtered or unexported methods
}
Authorization configuration options for MCP server, supporting OAuth, API key, bearer token, and authorization discovery methods.
The following types satisfy this interface:
MCPServerAuthorizationConfigMemberApiKey MCPServerAuthorizationConfigMemberAuthorizationDiscovery MCPServerAuthorizationConfigMemberBearerToken MCPServerAuthorizationConfigMemberOAuth3LO MCPServerAuthorizationConfigMemberOAuthClientCredentials
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.MCPServerAuthorizationConfig
// type switches can be used to check the union value
switch v := union.(type) {
case *types.MCPServerAuthorizationConfigMemberApiKey:
_ = v.Value // Value is types.MCPServerAPIKeyConfig
case *types.MCPServerAuthorizationConfigMemberAuthorizationDiscovery:
_ = v.Value // Value is types.MCPServerAuthorizationDiscoveryConfig
case *types.MCPServerAuthorizationConfigMemberBearerToken:
_ = v.Value // Value is types.MCPServerBearerTokenConfig
case *types.MCPServerAuthorizationConfigMemberOAuth3LO:
_ = v.Value // Value is types.MCPServerOAuth3LOConfig
case *types.MCPServerAuthorizationConfigMemberOAuthClientCredentials:
_ = v.Value // Value is types.MCPServerOAuthClientCredentialsConfig
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type MCPServerAuthorizationConfigMemberApiKey ¶
type MCPServerAuthorizationConfigMemberApiKey struct {
Value MCPServerAPIKeyConfig
// contains filtered or unexported fields
}
MCP server configuration with API key authentication.
type MCPServerAuthorizationConfigMemberAuthorizationDiscovery ¶
type MCPServerAuthorizationConfigMemberAuthorizationDiscovery struct {
Value MCPServerAuthorizationDiscoveryConfig
// contains filtered or unexported fields
}
MCP server authorization discovery configuration.
type MCPServerAuthorizationConfigMemberBearerToken ¶
type MCPServerAuthorizationConfigMemberBearerToken struct {
Value MCPServerBearerTokenConfig
// contains filtered or unexported fields
}
MCP server configuration with Bearer token (RFC 6750).
type MCPServerAuthorizationConfigMemberOAuth3LO ¶
type MCPServerAuthorizationConfigMemberOAuth3LO struct {
Value MCPServerOAuth3LOConfig
// contains filtered or unexported fields
}
MCP server configuration with OAuth 3LO.
type MCPServerAuthorizationConfigMemberOAuthClientCredentials ¶
type MCPServerAuthorizationConfigMemberOAuthClientCredentials struct {
Value MCPServerOAuthClientCredentialsConfig
// contains filtered or unexported fields
}
MCP server configuration with OAuth client credentials.
type MCPServerAuthorizationDiscoveryConfig ¶
type MCPServerAuthorizationDiscoveryConfig struct {
// The endpoint to return to after OAuth flow completes (must be AWS console
// domain)
//
// This member is required.
ReturnToEndpoint *string
// contains filtered or unexported fields
}
Authorization discovery configuration for MCP server.
type MCPServerAuthorizationMethod ¶
type MCPServerAuthorizationMethod string
const ( // OAuth 2.0 client credentials flow. MCPServerAuthorizationMethodOauthClientCredentials MCPServerAuthorizationMethod = "oauth-client-credentials" // OAuth 2.0 three-legged authorization flow. MCPServerAuthorizationMethodOauth3lo MCPServerAuthorizationMethod = "oauth-3lo" // API key-based authentication. MCPServerAuthorizationMethodApiKey MCPServerAuthorizationMethod = "api-key" // Bearer token authentication (RFC 6750). MCPServerAuthorizationMethodBearerToken MCPServerAuthorizationMethod = "bearer-token" )
Enum values for MCPServerAuthorizationMethod
func (MCPServerAuthorizationMethod) Values ¶
func (MCPServerAuthorizationMethod) Values() []MCPServerAuthorizationMethod
Values returns all known values for MCPServerAuthorizationMethod. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type MCPServerBearerTokenConfig ¶
type MCPServerBearerTokenConfig struct {
// User friendly bearer token name specified by end user.
//
// This member is required.
TokenName *string
// Bearer token value in alphanumeric for authenticating with the service.
//
// This member is required.
TokenValue *string
// HTTP header name to send the bearer token in requests to the service. Defaults
// to 'Authorization' per RFC 6750.
AuthorizationHeader *string
// contains filtered or unexported fields
}
Bearer token configuration for MCP server (RFC 6750).
type MCPServerDetails ¶
type MCPServerDetails struct {
// MCP server authorization configuration.
//
// This member is required.
AuthorizationConfig MCPServerAuthorizationConfig
// MCP server endpoint URL.
//
// This member is required.
Endpoint *string
// MCP server name.
//
// This member is required.
Name *string
// Optional description for the MCP server.
Description *string
// contains filtered or unexported fields
}
Complete service details for MCP server integration.
type MCPServerGrafanaConfiguration ¶
type MCPServerGrafanaConfiguration struct {
// Grafana instance URL (e.g., https://your-instance.grafana.net)
//
// This member is required.
Endpoint *string
// The Grafana organization ID that can be used.
OrganizationId *string
// List of MCP tools that can be used.
Tools []string
// contains filtered or unexported fields
}
Configuration for Grafana MCP server integration, used with an AWS-hosted MCP server.
type MCPServerNewRelicConfiguration ¶
type MCPServerNewRelicConfiguration struct {
// New Relic Account ID
//
// This member is required.
AccountId *string
// MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/)
//
// This member is required.
Endpoint *string
// contains filtered or unexported fields
}
Mixin for webhook update support.
type MCPServerOAuth3LOConfig ¶
type MCPServerOAuth3LOConfig struct {
// OAuth authorization URL for 3LO authentication.
//
// This member is required.
AuthorizationUrl *string
// OAuth client ID for authenticating with the service.
//
// This member is required.
ClientId *string
// OAuth token exchange URL.
//
// This member is required.
ExchangeUrl *string
// The endpoint to return to after OAuth flow completes (must be AWS console
// domain)
//
// This member is required.
ReturnToEndpoint *string
// User friendly OAuth client name specified by end user.
ClientName *string
// OAuth client secret for authenticating with the service. Required for
// confidential clients or when PKCE is not supported. Optional for public clients
// using PKCE.
ClientSecret *string
// OAuth token exchange parameters for authenticating with the service.
ExchangeParameters map[string]string
// OAuth scopes for 3LO authentication. The service will always request scope
// offline_access.
Scopes []string
// Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced
// security during the OAuth flow.
SupportCodeChallenge bool
// contains filtered or unexported fields
}
OAuth 3-legged authorization configuration for MCP server.
type MCPServerOAuthClientCredentialsConfig ¶
type MCPServerOAuthClientCredentialsConfig struct {
// OAuth client ID for authenticating with the service.
//
// This member is required.
ClientId *string
// OAuth client secret for authenticating with the service.
//
// This member is required.
ClientSecret *string
// OAuth token exchange URL.
//
// This member is required.
ExchangeUrl *string
// User friendly OAuth client name specified by end user.
ClientName *string
// OAuth token exchange parameters for authenticating with the service.
ExchangeParameters map[string]string
// OAuth scopes for 3LO authentication. The service will always request scope
// offline_access.
Scopes []string
// contains filtered or unexported fields
}
OAuth client credentials configuration for MCP server.
type Message ¶
type Message interface {
// contains filtered or unexported methods
}
A message in a conversation, either from the user or the assistant.
The following types satisfy this interface:
MessageMemberAssistantMessage MessageMemberUserMessage
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.Message
// type switches can be used to check the union value
switch v := union.(type) {
case *types.MessageMemberAssistantMessage:
_ = v.Value // Value is []types.AssistantMessageBlock
case *types.MessageMemberUserMessage:
_ = v.Value // Value is []types.UserMessageBlock
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type MessageMemberAssistantMessage ¶
type MessageMemberAssistantMessage struct {
Value []AssistantMessageBlock
// contains filtered or unexported fields
}
A message from the assistant.
type MessageMemberUserMessage ¶
type MessageMemberUserMessage struct {
Value []UserMessageBlock
// contains filtered or unexported fields
}
A message from the user.
type MonitorAccountType ¶
type MonitorAccountType string
const (
MonitorAccountTypeMonitor MonitorAccountType = "monitor"
)
Enum values for MonitorAccountType
func (MonitorAccountType) Values ¶
func (MonitorAccountType) Values() []MonitorAccountType
Values returns all known values for MonitorAccountType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type NewRelicApiKeyConfig ¶
type NewRelicApiKeyConfig struct {
// New Relic Account ID
//
// This member is required.
AccountId *string
// New Relic User API Key
//
// This member is required.
ApiKey *string
// New Relic region (US or EU)
//
// This member is required.
Region NewRelicRegion
// List of alert policy IDs grouping related conditions
AlertPolicyIds []string
// List of monitored APM application IDs in New Relic
ApplicationIds []string
// List of globally unique IDs for New Relic resources (apps, hosts, services)
EntityGuids []string
// contains filtered or unexported fields
}
API key authentication configuration for New Relic service.
type NewRelicRegion ¶
type NewRelicRegion string
const ( // US region NewRelicRegionUs NewRelicRegion = "US" // EU region NewRelicRegionEu NewRelicRegion = "EU" )
Enum values for NewRelicRegion
func (NewRelicRegion) Values ¶
func (NewRelicRegion) Values() []NewRelicRegion
Values returns all known values for NewRelicRegion. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type NewRelicServiceAuthorizationConfig ¶
type NewRelicServiceAuthorizationConfig interface {
// contains filtered or unexported methods
}
Authorization configuration options for New Relic service.
The following types satisfy this interface:
NewRelicServiceAuthorizationConfigMemberApiKey
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.NewRelicServiceAuthorizationConfig
// type switches can be used to check the union value
switch v := union.(type) {
case *types.NewRelicServiceAuthorizationConfigMemberApiKey:
_ = v.Value // Value is types.NewRelicApiKeyConfig
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type NewRelicServiceAuthorizationConfigMemberApiKey ¶
type NewRelicServiceAuthorizationConfigMemberApiKey struct {
Value NewRelicApiKeyConfig
// contains filtered or unexported fields
}
New Relic API Key authentication (apiKey, accountId, region).
type NewRelicServiceDetails ¶
type NewRelicServiceDetails struct {
// New Relic MCP server authorization configuration.
//
// This member is required.
AuthorizationConfig NewRelicServiceAuthorizationConfig
// contains filtered or unexported fields
}
Complete service details for New Relic integration.
type OAuthAdditionalStepDetails ¶
type OAuthAdditionalStepDetails struct {
// The URL to redirect the user to for OAuth authorization.
//
// This member is required.
AuthorizationUrl *string
// contains filtered or unexported fields
}
Details for completing OAuth authorization step.
type OrderType ¶
type OrderType string
type PagerDutyAuthorizationConfig ¶
type PagerDutyAuthorizationConfig interface {
// contains filtered or unexported methods
}
Authorization configuration options for PagerDuty service.
The following types satisfy this interface:
PagerDutyAuthorizationConfigMemberOAuthClientCredentials
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.PagerDutyAuthorizationConfig
// type switches can be used to check the union value
switch v := union.(type) {
case *types.PagerDutyAuthorizationConfigMemberOAuthClientCredentials:
_ = v.Value // Value is types.PagerDutyOAuthClientCredentialsConfig
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type PagerDutyAuthorizationConfigMemberOAuthClientCredentials ¶
type PagerDutyAuthorizationConfigMemberOAuthClientCredentials struct {
Value PagerDutyOAuthClientCredentialsConfig
// contains filtered or unexported fields
}
OAuth client credentials configuration.
type PagerDutyConfiguration ¶
type PagerDutyConfiguration struct {
// Email to be used in Pagerduty API header
//
// This member is required.
CustomerEmail *string
// List of Pagerduty service available for the association.
//
// This member is required.
Services []string
// contains filtered or unexported fields
}
Configuration for Pagerduty integration.
type PagerDutyDetails ¶
type PagerDutyDetails struct {
// PagerDuty authorization configuration
//
// This member is required.
AuthorizationConfig PagerDutyAuthorizationConfig
// PagerDuty scopes.
//
// This member is required.
Scopes []string
// contains filtered or unexported fields
}
Complete service details for PagerDuty integration
type PagerDutyOAuthClientCredentialsConfig ¶
type PagerDutyOAuthClientCredentialsConfig struct {
// OAuth client ID for authenticating with the service.
//
// This member is required.
ClientId *string
// OAuth client secret for authenticating with the service.
//
// This member is required.
ClientSecret *string
// User friendly OAuth client name specified by end user.
ClientName *string
// OAuth token exchange parameters for authenticating with the service.
ExchangeParameters map[string]string
// contains filtered or unexported fields
}
OAuth client credentials configuration for PagerDuty.
type PendingMessage ¶
type PendingMessage struct {
// The message content.
//
// This member is required.
Message Message
// The unique identifier for this pending message.
//
// This member is required.
MessageId *string
// contains filtered or unexported fields
}
Represents a pending message in an agent execution.
type PostRegisterServiceSupportedService ¶
type PostRegisterServiceSupportedService string
const ( PostRegisterServiceSupportedServiceDynatrace PostRegisterServiceSupportedService = "dynatrace" PostRegisterServiceSupportedServiceServicenow PostRegisterServiceSupportedService = "servicenow" PostRegisterServiceSupportedServicePagerduty PostRegisterServiceSupportedService = "pagerduty" PostRegisterServiceSupportedServiceGitlab PostRegisterServiceSupportedService = "gitlab" PostRegisterServiceSupportedServiceEventchannel PostRegisterServiceSupportedService = "eventChannel" // NewRelic MCP server. PostRegisterServiceSupportedServiceMcpServerNewrelic PostRegisterServiceSupportedService = "mcpservernewrelic" // Grafana MCP server. PostRegisterServiceSupportedServiceMcpServerGrafana PostRegisterServiceSupportedService = "mcpservergrafana" // Datadog MCP server. PostRegisterServiceSupportedServiceMcpServerDatadog PostRegisterServiceSupportedService = "mcpserverdatadog" // Model Context Protocol server. PostRegisterServiceSupportedServiceMcpServer PostRegisterServiceSupportedService = "mcpserver" // Splunk MCP server. PostRegisterServiceSupportedServiceMcpServerSplunk PostRegisterServiceSupportedService = "mcpserversplunk" // Azure Service with AWS Outbound Identity Federation. PostRegisterServiceSupportedServiceAzureIdentity PostRegisterServiceSupportedService = "azureidentity" )
Enum values for PostRegisterServiceSupportedService
func (PostRegisterServiceSupportedService) Values ¶
func (PostRegisterServiceSupportedService) Values() []PostRegisterServiceSupportedService
Values returns all known values for PostRegisterServiceSupportedService. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Priority ¶
type Priority string
type PrivateConnectionMode ¶
type PrivateConnectionMode interface {
// contains filtered or unexported methods
}
Private Connection mode — either service-managed or self-managed.
The following types satisfy this interface:
PrivateConnectionModeMemberSelfManaged PrivateConnectionModeMemberServiceManaged
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.PrivateConnectionMode
// type switches can be used to check the union value
switch v := union.(type) {
case *types.PrivateConnectionModeMemberSelfManaged:
_ = v.Value // Value is types.SelfManagedInput
case *types.PrivateConnectionModeMemberServiceManaged:
_ = v.Value // Value is types.ServiceManagedInput
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type PrivateConnectionModeMemberSelfManaged ¶
type PrivateConnectionModeMemberSelfManaged struct {
Value SelfManagedInput
// contains filtered or unexported fields
}
Caller manages their own resource configuration.
type PrivateConnectionModeMemberServiceManaged ¶
type PrivateConnectionModeMemberServiceManaged struct {
Value ServiceManagedInput
// contains filtered or unexported fields
}
Service manages the Resource Gateway lifecycle.
type PrivateConnectionStatus ¶
type PrivateConnectionStatus string
const ( PrivateConnectionStatusActive PrivateConnectionStatus = "ACTIVE" PrivateConnectionStatusCreateInProgress PrivateConnectionStatus = "CREATE_IN_PROGRESS" PrivateConnectionStatusCreateFailed PrivateConnectionStatus = "CREATE_FAILED" PrivateConnectionStatusDeleteInProgress PrivateConnectionStatus = "DELETE_IN_PROGRESS" PrivateConnectionStatusDeleteFailed PrivateConnectionStatus = "DELETE_FAILED" )
Enum values for PrivateConnectionStatus
func (PrivateConnectionStatus) Values ¶
func (PrivateConnectionStatus) Values() []PrivateConnectionStatus
Values returns all known values for PrivateConnectionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PrivateConnectionSummary ¶
type PrivateConnectionSummary struct {
// The name of the Private Connection.
//
// This member is required.
Name *string
// The status of the Private Connection.
//
// This member is required.
Status PrivateConnectionStatus
// The type of the Private Connection.
//
// This member is required.
Type PrivateConnectionType
// The expiry time of the certificate associated with the Private Connection. Only
// present when a certificate is associated.
CertificateExpiryTime *time.Time
// IP address or DNS name of the target resource. Only present for service-managed
// Private Connections.
HostAddress *string
// The Resource Configuration ARN. Only present for self-managed Private
// Connections.
ResourceConfigurationId *string
// The service-managed Resource Gateway ARN. Only present for service-managed
// Private Connections.
ResourceGatewayId *string
// VPC identifier of the service-managed Resource Gateway. Only present for
// service-managed Private Connections.
VpcId *string
// contains filtered or unexported fields
}
Summary of a Private Connection.
type PrivateConnectionType ¶
type PrivateConnectionType string
const ( PrivateConnectionTypeSelfManaged PrivateConnectionType = "SELF_MANAGED" PrivateConnectionTypeServiceManaged PrivateConnectionType = "SERVICE_MANAGED" )
Enum values for PrivateConnectionType
func (PrivateConnectionType) Values ¶
func (PrivateConnectionType) Values() []PrivateConnectionType
Values returns all known values for PrivateConnectionType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Recommendation ¶
type Recommendation struct {
// ARN of the agent space this recommendation belongs to
//
// This member is required.
AgentSpaceArn *string
// Content of the recommendation
//
// This member is required.
Content *RecommendationContent
// Timestamp when this recommendation was created
//
// This member is required.
CreatedAt *time.Time
// Priority level of the recommendation
//
// This member is required.
Priority RecommendationPriority
// The unique identifier for this recommendation
//
// This member is required.
RecommendationId *string
// Current status of the recommendation
//
// This member is required.
Status RecommendationStatus
// ID of the task that generated the recommendation
//
// This member is required.
TaskId *string
// The title of the recommendation
//
// This member is required.
Title *string
// Timestamp when this recommendation was last updated
//
// This member is required.
UpdatedAt *time.Time
// Version number for optimistic locking
//
// This member is required.
Version *int64
// Additional context for recommendation
AdditionalContext *string
// ID of the goal this recommendation is associated with
GoalId *string
// Version of the goal at the time this recommendation was generated
GoalVersion *int64
// contains filtered or unexported fields
}
Represents a recommendation with all its properties and metadata
type RecommendationContent ¶
type RecommendationContent struct {
// A brief summary of the recommendation.
//
// This member is required.
Summary *string
// Agent-ready specification with detailed implementation steps
Spec *string
// contains filtered or unexported fields
}
Content of a recommendation
type RecommendationPriority ¶
type RecommendationPriority string
const ( // High priority recommendation requiring immediate attention RecommendationPriorityHigh RecommendationPriority = "HIGH" // Medium priority recommendation for normal processing RecommendationPriorityMedium RecommendationPriority = "MEDIUM" // Low priority recommendation that can be addressed later RecommendationPriorityLow RecommendationPriority = "LOW" )
Enum values for RecommendationPriority
func (RecommendationPriority) Values ¶
func (RecommendationPriority) Values() []RecommendationPriority
Values returns all known values for RecommendationPriority. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RecommendationStatus ¶
type RecommendationStatus string
const ( // Recommendation has been generated but not yet acted upon RecommendationStatusProposed RecommendationStatus = "PROPOSED" // Recommendation has been accepted by the user RecommendationStatusAccepted RecommendationStatus = "ACCEPTED" // Recommendation has been rejected by the user RecommendationStatusRejected RecommendationStatus = "REJECTED" // Recommendation has been closed and is no longer relevant RecommendationStatusClosed RecommendationStatus = "CLOSED" // Recommendation has been completed by the user RecommendationStatusCompleted RecommendationStatus = "COMPLETED" // Recommendation is being actively updated RecommendationStatusUpdateInProgress RecommendationStatus = "UPDATE_IN_PROGRESS" )
Enum values for RecommendationStatus
func (RecommendationStatus) Values ¶
func (RecommendationStatus) Values() []RecommendationStatus
Values returns all known values for RecommendationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ReferenceInput ¶
type ReferenceInput struct {
// Association identifier of the external system
//
// This member is required.
AssociationId *string
// The unique identifier in the external system
//
// This member is required.
ReferenceId *string
// URL to access the reference in the external system
//
// This member is required.
ReferenceUrl *string
// The name of the external system
//
// This member is required.
System *string
// Optional title for the reference
Title *string
// contains filtered or unexported fields
}
Reference information linking a task to external systems - for input with validation
type ReferenceOutput ¶
type ReferenceOutput struct {
// Association identifier of the external system
//
// This member is required.
AssociationId *string
// The unique identifier in the external system
//
// This member is required.
ReferenceId *string
// URL to access the reference in the external system
//
// This member is required.
ReferenceUrl *string
// The name of the external system
//
// This member is required.
System *string
// Optional title for the reference
Title *string
// contains filtered or unexported fields
}
Reference information linking a task to external systems - for output without validation
type RegisteredAzureDevOpsServiceDetails ¶
type RegisteredAzureDevOpsServiceDetails struct {
// The Azure DevOps Organization name associated with the service.
//
// This member is required.
OrganizationName *string
// contains filtered or unexported fields
}
Details specific to a registered Azure DevOps service.
type RegisteredAzureIdentityDetails ¶
type RegisteredAzureIdentityDetails struct {
// The client ID of the service principal or managed identity used for
// authentication.
//
// This member is required.
ClientId *string
// The Azure Active Directory tenant ID for the identity.
//
// This member is required.
TenantId *string
// The role ARN to be assumed by DevOps Agent for requesting Web Identity Token.
//
// This member is required.
WebIdentityRoleArn *string
// The audiences for the Web Identity Token.
//
// This member is required.
WebIdentityTokenAudiences []string
// contains filtered or unexported fields
}
Details specific to a registered Azure identity using AWS Outbound Identity Federation.
type RegisteredGitLabServiceDetails ¶
type RegisteredGitLabServiceDetails struct {
// The GitLab instance URL.
//
// This member is required.
TargetUrl *string
// Type of GitLab access token
//
// This member is required.
TokenType GitLabTokenType
// Optional GitLab group ID for group-level access tokens
GroupId *string
// contains filtered or unexported fields
}
Details specific to a registered GitLab instance.
type RegisteredGithubServiceDetails ¶
type RegisteredGithubServiceDetails struct {
// The GitHub repository owner name.
//
// This member is required.
Owner *string
// The GitHub repository owner type.
//
// This member is required.
OwnerType GithubRepoOwnerType
// The GitHub Enterprise Server instance URL (absent for github.com).
TargetUrl *string
// contains filtered or unexported fields
}
Details specific to a registered GitHub service.
type RegisteredGrafanaServerDetails ¶
type RegisteredGrafanaServerDetails struct {
// The authz method used by the MCP server.
//
// This member is required.
AuthorizationMethod MCPServerAuthorizationMethod
// Grafana instance URL (e.g., https://your-instance.grafana.net)
//
// This member is required.
Endpoint *string
// contains filtered or unexported fields
}
Details specific to a registered Grafana server, used by the built-in MCP server.
type RegisteredMCPServerDetails ¶
type RegisteredMCPServerDetails struct {
// The MCP server uses this authorization method.
//
// This member is required.
AuthorizationMethod MCPServerAuthorizationMethod
// The MCP server endpoint URL.
//
// This member is required.
Endpoint *string
// The MCP server name.
//
// This member is required.
Name *string
// If the MCP server uses API key authentication, these details are provided.
ApiKeyHeader *string
// Optional description for the MCP server.
Description *string
// contains filtered or unexported fields
}
Details specific to a registered MCP (Model Context Protocol) server.
type RegisteredNewRelicDetails ¶
type RegisteredNewRelicDetails struct {
// The NewRelic account ID.
//
// This member is required.
AccountId *string
// The NewRelic region (determines API endpoint).
//
// This member is required.
Region NewRelicRegion
// Optional user description.
Description *string
// contains filtered or unexported fields
}
Details specific to a registered NewRelic instance.
type RegisteredPagerDutyDetails ¶
type RegisteredPagerDutyDetails struct {
// The scopes that were assigned to the service
//
// This member is required.
Scopes []string
// contains filtered or unexported fields
}
Details specific to a registered PagerDuty service.
type RegisteredService ¶
type RegisteredService struct {
// The unique identifier of a service.
//
// This member is required.
ServiceId *string
// The service type e.g github or dynatrace
//
// This member is required.
ServiceType Service
// List of accessible resources for this service.
AccessibleResources []document.Interface
// Additional details specific to the service type.
AdditionalServiceDetails AdditionalServiceDetails
// The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's
// used to encrypt resources.
KmsKeyArn *string
// The display name of the registered service.
Name *string
// The name of the private connection used for VPC connectivity.
PrivateConnectionName *string
// contains filtered or unexported fields
}
Represents a registered service with its configuration and accessible resources.
type RegisteredServiceNowDetails ¶
type RegisteredServiceNowDetails struct {
// The ServiceNow instance url
InstanceUrl *string
// contains filtered or unexported fields
}
Details specific to a registered ServiceNow instance.
type RegisteredSlackServiceDetails ¶
type RegisteredSlackServiceDetails struct {
// The Slack team ID.
//
// This member is required.
TeamId *string
// The Slack team name.
//
// This member is required.
TeamName *string
// contains filtered or unexported fields
}
Details specific to a registered Slack workspace.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
The requested resource could not be found.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type SchedulerState ¶
type SchedulerState string
const ( // Schedule is enabled and will trigger goal evaluations SchedulerStateEnabled SchedulerState = "ENABLED" // Schedule is disabled and will not trigger goal evaluations SchedulerStateDisabled SchedulerState = "DISABLED" )
Enum values for SchedulerState
func (SchedulerState) Values ¶
func (SchedulerState) Values() []SchedulerState
Values returns all known values for SchedulerState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type SelfManagedInput ¶
type SelfManagedInput struct {
// The ARN of the Resource Configuration.
//
// This member is required.
ResourceConfigurationId *string
// Certificate for the Private Connection.
Certificate *string
// contains filtered or unexported fields
}
Configuration for a self-managed Private Connection.
type SendMessageContentBlockDelta ¶
type SendMessageContentBlockDelta interface {
// contains filtered or unexported methods
}
Union of possible delta payloads within a content block delta event
The following types satisfy this interface:
SendMessageContentBlockDeltaMemberJsonDelta SendMessageContentBlockDeltaMemberTextDelta
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.SendMessageContentBlockDelta
// type switches can be used to check the union value
switch v := union.(type) {
case *types.SendMessageContentBlockDeltaMemberJsonDelta:
_ = v.Value // Value is types.SendMessageJsonDelta
case *types.SendMessageContentBlockDeltaMemberTextDelta:
_ = v.Value // Value is types.SendMessageTextDelta
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type SendMessageContentBlockDeltaEvent ¶
type SendMessageContentBlockDeltaEvent struct {
// The incremental content delta
Delta SendMessageContentBlockDelta
// Zero-based index of the content block
Index *int32
// Event sequence number
SequenceNumber *int32
// contains filtered or unexported fields
}
Event emitted for each incremental content delta within a content block
type SendMessageContentBlockDeltaMemberJsonDelta ¶
type SendMessageContentBlockDeltaMemberJsonDelta struct {
Value SendMessageJsonDelta
// contains filtered or unexported fields
}
JSON delta for structured content blocks
type SendMessageContentBlockDeltaMemberTextDelta ¶
type SendMessageContentBlockDeltaMemberTextDelta struct {
Value SendMessageTextDelta
// contains filtered or unexported fields
}
Text delta for text-based content blocks
type SendMessageContentBlockStartEvent ¶
type SendMessageContentBlockStartEvent struct {
// Block identifier
Id *string
// Zero-based index of the content block
Index *int32
// Optional parent block ID for nested content blocks (e.g. subagent tool calls)
ParentId *string
// Event sequence number
SequenceNumber *int32
// The type of content in this block
Type *string
// contains filtered or unexported fields
}
Event emitted when a new content block starts
type SendMessageContentBlockStopEvent ¶
type SendMessageContentBlockStopEvent struct {
// Zero-based index of the content block
Index *int32
// Whether this is the final content block in the response
Last *bool
// Event sequence number
SequenceNumber *int32
// The accumulated complete content text
Text *string
// The type of content in this block
Type *string
// contains filtered or unexported fields
}
Event emitted when a content block is complete
type SendMessageContext ¶
type SendMessageContext struct {
// The current page or view the user is on
CurrentPage *string
// The ID of the last message in the conversation
LastMessage *string
// Response to a UI prompt (not a text conversation message)
UserActionResponse *string
// contains filtered or unexported fields
}
Context object for additional message metadata
type SendMessageEvents ¶
type SendMessageEvents interface {
// contains filtered or unexported methods
}
Event stream for chat message responses using the content block model. Events follow a lifecycle: responseCreated -> responseInProgress -> (contentBlockStart/contentBlockDelta/contentBlockStop events) -> responseCompleted|responseFailed
SendMessage always uses content block mode — legacy per-field events (outputTextDelta, functionCallArgumentsDelta, etc.) are not emitted.
The following types satisfy this interface:
SendMessageEventsMemberContentBlockDelta SendMessageEventsMemberContentBlockStart SendMessageEventsMemberContentBlockStop SendMessageEventsMemberHeartbeat SendMessageEventsMemberResponseCompleted SendMessageEventsMemberResponseCreated SendMessageEventsMemberResponseFailed SendMessageEventsMemberResponseInProgress SendMessageEventsMemberSummary
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.SendMessageEvents
// type switches can be used to check the union value
switch v := union.(type) {
case *types.SendMessageEventsMemberContentBlockDelta:
_ = v.Value // Value is types.SendMessageContentBlockDeltaEvent
case *types.SendMessageEventsMemberContentBlockStart:
_ = v.Value // Value is types.SendMessageContentBlockStartEvent
case *types.SendMessageEventsMemberContentBlockStop:
_ = v.Value // Value is types.SendMessageContentBlockStopEvent
case *types.SendMessageEventsMemberHeartbeat:
_ = v.Value // Value is types.SendMessageHeartbeatEvent
case *types.SendMessageEventsMemberResponseCompleted:
_ = v.Value // Value is types.SendMessageResponseCompletedEvent
case *types.SendMessageEventsMemberResponseCreated:
_ = v.Value // Value is types.SendMessageResponseCreatedEvent
case *types.SendMessageEventsMemberResponseFailed:
_ = v.Value // Value is types.SendMessageResponseFailedEvent
case *types.SendMessageEventsMemberResponseInProgress:
_ = v.Value // Value is types.SendMessageResponseInProgressEvent
case *types.SendMessageEventsMemberSummary:
_ = v.Value // Value is types.SendMessageSummaryEvent
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type SendMessageEventsMemberContentBlockDelta ¶
type SendMessageEventsMemberContentBlockDelta struct {
Value SendMessageContentBlockDeltaEvent
// contains filtered or unexported fields
}
Emitted for each incremental content delta within a content block
type SendMessageEventsMemberContentBlockStart ¶
type SendMessageEventsMemberContentBlockStart struct {
Value SendMessageContentBlockStartEvent
// contains filtered or unexported fields
}
Emitted when a new content block starts
type SendMessageEventsMemberContentBlockStop ¶
type SendMessageEventsMemberContentBlockStop struct {
Value SendMessageContentBlockStopEvent
// contains filtered or unexported fields
}
Emitted when a content block is complete
type SendMessageEventsMemberHeartbeat ¶
type SendMessageEventsMemberHeartbeat struct {
Value SendMessageHeartbeatEvent
// contains filtered or unexported fields
}
Heartbeat event sent periodically to keep the connection alive during idle periods
type SendMessageEventsMemberResponseCompleted ¶
type SendMessageEventsMemberResponseCompleted struct {
Value SendMessageResponseCompletedEvent
// contains filtered or unexported fields
}
Emitted when the response completes successfully
type SendMessageEventsMemberResponseCreated ¶
type SendMessageEventsMemberResponseCreated struct {
Value SendMessageResponseCreatedEvent
// contains filtered or unexported fields
}
Emitted when the response is created
type SendMessageEventsMemberResponseFailed ¶
type SendMessageEventsMemberResponseFailed struct {
Value SendMessageResponseFailedEvent
// contains filtered or unexported fields
}
Emitted when the response fails
type SendMessageEventsMemberResponseInProgress ¶
type SendMessageEventsMemberResponseInProgress struct {
Value SendMessageResponseInProgressEvent
// contains filtered or unexported fields
}
Emitted while the response is being generated
type SendMessageEventsMemberSummary ¶
type SendMessageEventsMemberSummary struct {
Value SendMessageSummaryEvent
// contains filtered or unexported fields
}
Emitted to provide a summary of agent actions
type SendMessageHeartbeatEvent ¶
type SendMessageHeartbeatEvent struct {
// contains filtered or unexported fields
}
Heartbeat event to keep connection alive
type SendMessageJsonDelta ¶
type SendMessageJsonDelta struct {
// Partial JSON string
PartialJson *string
// contains filtered or unexported fields
}
JSON delta containing partial JSON
type SendMessageResponseCompletedEvent ¶
type SendMessageResponseCompletedEvent struct {
// The response ID
ResponseId *string
// Event sequence number
SequenceNumber *int32
// Token usage information
Usage *SendMessageUsageInfo
// contains filtered or unexported fields
}
Event emitted when the response completes successfully
type SendMessageResponseCreatedEvent ¶
type SendMessageResponseCreatedEvent struct {
// The response ID
ResponseId *string
// Event sequence number
SequenceNumber *int32
// contains filtered or unexported fields
}
Event emitted when the response is created
type SendMessageResponseFailedEvent ¶
type SendMessageResponseFailedEvent struct {
// Error code
ErrorCode *string
// Error message
ErrorMessage *string
// The response ID
ResponseId *string
// Event sequence number
SequenceNumber *int32
// contains filtered or unexported fields
}
Event emitted when the response fails
type SendMessageResponseInProgressEvent ¶
type SendMessageResponseInProgressEvent struct {
// The response ID
ResponseId *string
// Event sequence number
SequenceNumber *int32
// contains filtered or unexported fields
}
Event emitted while the response is being generated
type SendMessageSummaryEvent ¶
type SendMessageSummaryEvent struct {
// Summary content
Content *string
// Event sequence number
SequenceNumber *int32
// contains filtered or unexported fields
}
Event summarizing agent actions
type SendMessageTextDelta ¶
type SendMessageTextDelta struct {
// The text fragment
Text *string
// contains filtered or unexported fields
}
Text delta containing a text fragment
type SendMessageUsageInfo ¶
type SendMessageUsageInfo struct {
// Number of input tokens
InputTokens *int32
// Number of output tokens
OutputTokens *int32
// Total tokens used
TotalTokens *int32
// contains filtered or unexported fields
}
Token usage information
type Service ¶
type Service string
const ( ServiceGithub Service = "github" ServiceSlack Service = "slack" ServiceAzure Service = "azure" ServiceAzureDevops Service = "azuredevops" ServiceDynatrace Service = "dynatrace" ServiceServicenow Service = "servicenow" ServicePagerduty Service = "pagerduty" ServiceGitlab Service = "gitlab" ServiceEventchannel Service = "eventChannel" // NewRelic MCP server. ServiceMcpServerNewrelic Service = "mcpservernewrelic" // Grafana MCP server. ServiceMcpServerGrafana Service = "mcpservergrafana" // Datadog MCP server. ServiceMcpServerDatadog Service = "mcpserverdatadog" // Model Context Protocol server. ServiceMcpServer Service = "mcpserver" // Splunk MCP server. ServiceMcpServerSplunk Service = "mcpserversplunk" // Azure Service with AWS Outbound Identity Federation. ServiceAzureIdentity Service = "azureidentity" )
Enum values for Service
type ServiceConfiguration ¶
type ServiceConfiguration interface {
// contains filtered or unexported methods
}
Union of all supported service configuration types. Each service has its own specific configuration structure.
The following types satisfy this interface:
ServiceConfigurationMemberAws ServiceConfigurationMemberAzure ServiceConfigurationMemberAzuredevops ServiceConfigurationMemberDynatrace ServiceConfigurationMemberEventChannel ServiceConfigurationMemberGithub ServiceConfigurationMemberGitlab ServiceConfigurationMemberMcpservergrafana ServiceConfigurationMemberMcpservernewrelic ServiceConfigurationMemberPagerduty ServiceConfigurationMemberServicenow ServiceConfigurationMemberSlack ServiceConfigurationMemberSourceAws
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.ServiceConfiguration
// type switches can be used to check the union value
switch v := union.(type) {
case *types.ServiceConfigurationMemberAws:
_ = v.Value // Value is types.AWSConfiguration
case *types.ServiceConfigurationMemberAzure:
_ = v.Value // Value is types.AzureConfiguration
case *types.ServiceConfigurationMemberAzuredevops:
_ = v.Value // Value is types.AzureDevOpsConfiguration
case *types.ServiceConfigurationMemberDynatrace:
_ = v.Value // Value is types.DynatraceConfiguration
case *types.ServiceConfigurationMemberEventChannel:
_ = v.Value // Value is types.EventChannelConfiguration
case *types.ServiceConfigurationMemberGithub:
_ = v.Value // Value is types.GitHubConfiguration
case *types.ServiceConfigurationMemberGitlab:
_ = v.Value // Value is types.GitLabConfiguration
case *types.ServiceConfigurationMemberMcpservergrafana:
_ = v.Value // Value is types.MCPServerGrafanaConfiguration
case *types.ServiceConfigurationMemberMcpservernewrelic:
_ = v.Value // Value is types.MCPServerNewRelicConfiguration
case *types.ServiceConfigurationMemberPagerduty:
_ = v.Value // Value is types.PagerDutyConfiguration
case *types.ServiceConfigurationMemberServicenow:
_ = v.Value // Value is types.ServiceNowConfiguration
case *types.ServiceConfigurationMemberSlack:
_ = v.Value // Value is types.SlackConfiguration
case *types.ServiceConfigurationMemberSourceAws:
_ = v.Value // Value is types.SourceAwsConfiguration
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type ServiceConfigurationMemberAws ¶
type ServiceConfigurationMemberAws struct {
Value AWSConfiguration
// contains filtered or unexported fields
}
AWS monitor account configuration.
type ServiceConfigurationMemberAzure ¶
type ServiceConfigurationMemberAzure struct {
Value AzureConfiguration
// contains filtered or unexported fields
}
Azure subscription integration configuration.
type ServiceConfigurationMemberAzuredevops ¶
type ServiceConfigurationMemberAzuredevops struct {
Value AzureDevOpsConfiguration
// contains filtered or unexported fields
}
Azure DevOps project integration configuration.
type ServiceConfigurationMemberDynatrace ¶
type ServiceConfigurationMemberDynatrace struct {
Value DynatraceConfiguration
// contains filtered or unexported fields
}
Dynatrace monitoring integration configuration.
type ServiceConfigurationMemberEventChannel ¶
type ServiceConfigurationMemberEventChannel struct {
Value EventChannelConfiguration
// contains filtered or unexported fields
}
Event Channel instance integration configuration.
type ServiceConfigurationMemberGithub ¶
type ServiceConfigurationMemberGithub struct {
Value GitHubConfiguration
// contains filtered or unexported fields
}
GitHub repository integration configuration.
type ServiceConfigurationMemberGitlab ¶
type ServiceConfigurationMemberGitlab struct {
Value GitLabConfiguration
// contains filtered or unexported fields
}
GitLab project integration configuration.
type ServiceConfigurationMemberMcpservergrafana ¶
type ServiceConfigurationMemberMcpservergrafana struct {
Value MCPServerGrafanaConfiguration
// contains filtered or unexported fields
}
Grafana MCP server integration configuration.
type ServiceConfigurationMemberMcpservernewrelic ¶
type ServiceConfigurationMemberMcpservernewrelic struct {
Value MCPServerNewRelicConfiguration
// contains filtered or unexported fields
}
NewRelic instance integration configuration.
type ServiceConfigurationMemberPagerduty ¶
type ServiceConfigurationMemberPagerduty struct {
Value PagerDutyConfiguration
// contains filtered or unexported fields
}
PagerDuty integration configuration
type ServiceConfigurationMemberServicenow ¶
type ServiceConfigurationMemberServicenow struct {
Value ServiceNowConfiguration
// contains filtered or unexported fields
}
ServiceNow instance integration configuration.
type ServiceConfigurationMemberSlack ¶
type ServiceConfigurationMemberSlack struct {
Value SlackConfiguration
// contains filtered or unexported fields
}
Slack workspace integration configuration.
type ServiceConfigurationMemberSourceAws ¶
type ServiceConfigurationMemberSourceAws struct {
Value SourceAwsConfiguration
// contains filtered or unexported fields
}
AWS source account configuration for monitoring resources.
type ServiceDetails ¶
type ServiceDetails interface {
// contains filtered or unexported methods
}
Union of service-specific configuration details for service registration.
The following types satisfy this interface:
ServiceDetailsMemberAzureidentity ServiceDetailsMemberDynatrace ServiceDetailsMemberEventChannel ServiceDetailsMemberGitlab ServiceDetailsMemberMcpserver ServiceDetailsMemberMcpserverdatadog ServiceDetailsMemberMcpservergrafana ServiceDetailsMemberMcpservernewrelic ServiceDetailsMemberMcpserversplunk ServiceDetailsMemberPagerduty ServiceDetailsMemberServicenow
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.ServiceDetails
// type switches can be used to check the union value
switch v := union.(type) {
case *types.ServiceDetailsMemberAzureidentity:
_ = v.Value // Value is types.RegisteredAzureIdentityDetails
case *types.ServiceDetailsMemberDynatrace:
_ = v.Value // Value is types.DynatraceServiceDetails
case *types.ServiceDetailsMemberEventChannel:
_ = v.Value // Value is types.EventChannelDetails
case *types.ServiceDetailsMemberGitlab:
_ = v.Value // Value is types.GitLabDetails
case *types.ServiceDetailsMemberMcpserver:
_ = v.Value // Value is types.MCPServerDetails
case *types.ServiceDetailsMemberMcpserverdatadog:
_ = v.Value // Value is types.DatadogServiceDetails
case *types.ServiceDetailsMemberMcpservergrafana:
_ = v.Value // Value is types.GrafanaServiceDetails
case *types.ServiceDetailsMemberMcpservernewrelic:
_ = v.Value // Value is types.NewRelicServiceDetails
case *types.ServiceDetailsMemberMcpserversplunk:
_ = v.Value // Value is types.MCPServerDetails
case *types.ServiceDetailsMemberPagerduty:
_ = v.Value // Value is types.PagerDutyDetails
case *types.ServiceDetailsMemberServicenow:
_ = v.Value // Value is types.ServiceNowServiceDetails
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type ServiceDetailsMemberAzureidentity ¶
type ServiceDetailsMemberAzureidentity struct {
Value RegisteredAzureIdentityDetails
// contains filtered or unexported fields
}
Azure integration with AWS Outbound Identity Federation specific service details.
type ServiceDetailsMemberDynatrace ¶
type ServiceDetailsMemberDynatrace struct {
Value DynatraceServiceDetails
// contains filtered or unexported fields
}
Dynatrace-specific service details.
type ServiceDetailsMemberEventChannel ¶
type ServiceDetailsMemberEventChannel struct {
Value EventChannelDetails
// contains filtered or unexported fields
}
Event Channel specific service details.
type ServiceDetailsMemberGitlab ¶
type ServiceDetailsMemberGitlab struct {
Value GitLabDetails
// contains filtered or unexported fields
}
GitLab-specific service details.
type ServiceDetailsMemberMcpserver ¶
type ServiceDetailsMemberMcpserver struct {
Value MCPServerDetails
// contains filtered or unexported fields
}
MCP server-specific service details.
type ServiceDetailsMemberMcpserverdatadog ¶
type ServiceDetailsMemberMcpserverdatadog struct {
Value DatadogServiceDetails
// contains filtered or unexported fields
}
Datadog MCP server-specific service details.
type ServiceDetailsMemberMcpservergrafana ¶
type ServiceDetailsMemberMcpservergrafana struct {
Value GrafanaServiceDetails
// contains filtered or unexported fields
}
Datadog MCP server-specific service details.
type ServiceDetailsMemberMcpservernewrelic ¶
type ServiceDetailsMemberMcpservernewrelic struct {
Value NewRelicServiceDetails
// contains filtered or unexported fields
}
New Relic-specific service details.
type ServiceDetailsMemberMcpserversplunk ¶
type ServiceDetailsMemberMcpserversplunk struct {
Value MCPServerDetails
// contains filtered or unexported fields
}
Splunk MCP server-specific service details.
type ServiceDetailsMemberPagerduty ¶
type ServiceDetailsMemberPagerduty struct {
Value PagerDutyDetails
// contains filtered or unexported fields
}
PagerDuty specific service details.
type ServiceDetailsMemberServicenow ¶
type ServiceDetailsMemberServicenow struct {
Value ServiceNowServiceDetails
// contains filtered or unexported fields
}
ServiceNow-specific service details.
type ServiceManagedInput ¶
type ServiceManagedInput struct {
// IP address or DNS name of the target resource.
//
// This member is required.
HostAddress *string
// Subnets that the service-managed Resource Gateway will span.
//
// This member is required.
SubnetIds []string
// VPC to create the service-managed Resource Gateway in.
//
// This member is required.
VpcId *string
// Certificate for the Private Connection.
Certificate *string
// IP address type of the service-managed Resource Gateway.
IpAddressType IpAddressType
// Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.
Ipv4AddressesPerEni *int32
// TCP port ranges that a consumer can use to access the resource.
PortRanges []string
// Security groups to attach to the service-managed Resource Gateway. If not
// specified, a default security group is created.
SecurityGroupIds []string
// contains filtered or unexported fields
}
Configuration for a service-managed Private Connection.
type ServiceNowConfiguration ¶
type ServiceNowConfiguration struct {
// Scoped down authentication scopes for fine grained control
AuthScopes []string
// ServiceNow instance ID
InstanceId *string
// contains filtered or unexported fields
}
Configuration for ServiceNow instance integration.
type ServiceNowOAuthClientCredentialsConfig ¶
type ServiceNowOAuthClientCredentialsConfig struct {
// OAuth client ID for authenticating with the service.
//
// This member is required.
ClientId *string
// OAuth client secret for authenticating with the service.
//
// This member is required.
ClientSecret *string
// User friendly OAuth client name specified by end user.
ClientName *string
// OAuth token exchange parameters for authenticating with the service.
ExchangeParameters map[string]string
// contains filtered or unexported fields
}
OAuth client credentials configuration for ServiceNow.
type ServiceNowServiceAuthorizationConfig ¶
type ServiceNowServiceAuthorizationConfig interface {
// contains filtered or unexported methods
}
Authorization configuration options for ServiceNow service.
The following types satisfy this interface:
ServiceNowServiceAuthorizationConfigMemberOAuthClientCredentials
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.ServiceNowServiceAuthorizationConfig
// type switches can be used to check the union value
switch v := union.(type) {
case *types.ServiceNowServiceAuthorizationConfigMemberOAuthClientCredentials:
_ = v.Value // Value is types.ServiceNowOAuthClientCredentialsConfig
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type ServiceNowServiceAuthorizationConfigMemberOAuthClientCredentials ¶
type ServiceNowServiceAuthorizationConfigMemberOAuthClientCredentials struct {
Value ServiceNowOAuthClientCredentialsConfig
// contains filtered or unexported fields
}
OAuth client credentials configuration.
type ServiceNowServiceDetails ¶
type ServiceNowServiceDetails struct {
// ServiceNow instance URL.
//
// This member is required.
InstanceUrl *string
// ServiceNow OAuth client credentials configuration. Use this when registering
// with OAuth client credentials flow.
AuthorizationConfig ServiceNowServiceAuthorizationConfig
// contains filtered or unexported fields
}
Complete service details for ServiceNow integration.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
The request would exceed the service quota limit.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type SlackChannel ¶
type SlackChannel struct {
// Slack channel ID
//
// This member is required.
ChannelId *string
// Slack channel name
ChannelName *string
// contains filtered or unexported fields
}
Represents a Slack channel with its ID and optional name.
type SlackConfiguration ¶
type SlackConfiguration struct {
// Transmission targets for agent notifications
//
// This member is required.
TransmissionTarget *SlackTransmissionTarget
// Associated Slack workspace ID
//
// This member is required.
WorkspaceId *string
// Associated Slack workspace name
//
// This member is required.
WorkspaceName *string
// contains filtered or unexported fields
}
Configuration for Slack workspace integration.
type SlackTransmissionTarget ¶
type SlackTransmissionTarget struct {
// Destination for On-call Agent (Ops1)
//
// This member is required.
OpsOncallTarget *SlackChannel
// Destination for SRE Agent (Ops1.5)
OpsSRETarget *SlackChannel
// contains filtered or unexported fields
}
Defines Slack channels for different types of agent notifications.
type SourceAccountType ¶
type SourceAccountType string
const (
SourceAccountTypeSource SourceAccountType = "source"
)
Enum values for SourceAccountType
func (SourceAccountType) Values ¶
func (SourceAccountType) Values() []SourceAccountType
Values returns all known values for SourceAccountType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type SourceAwsConfiguration ¶
type SourceAwsConfiguration struct {
// AWS Account Id corresponding to provided resources.
//
// This member is required.
AccountId *string
// Account Type 'source' for AIDevOps monitoring.
//
// This member is required.
AccountType SourceAccountType
// Role ARN to be assumed by AIDevOps to operate on behalf of customer.
//
// This member is required.
AssumableRoleArn *string
// External ID for additional security when assuming the role. Used to prevent the
// confused deputy problem.
ExternalId *string
// contains filtered or unexported fields
}
Configuration for AWS source account integration. Note: passRole check on 'assumableRoleArn' is not supported.
type Task ¶
type Task struct {
// The unique identifier for the agent space containing this task
//
// This member is required.
AgentSpaceId *string
// Timestamp when this task was created
//
// This member is required.
CreatedAt *time.Time
// The priority level of this task
//
// This member is required.
Priority Priority
// The current status of this task
//
// This member is required.
Status TaskStatus
// The unique identifier for this task
//
// This member is required.
TaskId *string
// The type of this task
//
// This member is required.
TaskType TaskType
// The title of the task
//
// This member is required.
Title *string
// Timestamp when this task was last updated
//
// This member is required.
UpdatedAt *time.Time
// Version number for optimistic locking
//
// This member is required.
Version *int32
// Optional detailed description of the task
Description *string
// The execution ID associated with this task, if any
ExecutionId *string
// Indicates if this task has other tasks linked to it
HasLinkedTasks bool
// Optional metadata for the task
Metadata document.Interface
// The task ID of the primary investigation this task is linked to
PrimaryTaskId *string
// Optional reference information linking this task to external systems
Reference *ReferenceOutput
// Explanation for why the task status was changed (e.g., linked reason)
StatusReason *string
// Optional support metadata for the task
SupportMetadata document.Interface
// contains filtered or unexported fields
}
Represents a backlog task with all its properties and metadata
type TaskFilter ¶
type TaskFilter struct {
// Filter for tasks created after this timestamp inclusive
CreatedAfter *time.Time
// Filter for tasks created before this timestamp exclusive
CreatedBefore *time.Time
// Filter by primary task ID to get linked tasks
PrimaryTaskId *string
// Filter by priority (single value only)
Priority []Priority
// Filter by status (single value only)
Status []TaskStatus
// Filter by task type (single value only)
TaskType []TaskType
// contains filtered or unexported fields
}
Filter criteria for listing backlog tasks, supporting time range, priority, status, and type filters.
type TaskSortField ¶
type TaskSortField string
const ( // Sort by task creation timestamp TaskSortFieldCreatedAt TaskSortField = "CREATED_AT" // Sort by task priority level TaskSortFieldPriority TaskSortField = "PRIORITY" )
Enum values for TaskSortField
func (TaskSortField) Values ¶
func (TaskSortField) Values() []TaskSortField
Values returns all known values for TaskSortField. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TaskSortOrder ¶
type TaskSortOrder string
const ( // Ascending order TaskSortOrderAsc TaskSortOrder = "ASC" // Descending order TaskSortOrderDesc TaskSortOrder = "DESC" )
Enum values for TaskSortOrder
func (TaskSortOrder) Values ¶
func (TaskSortOrder) Values() []TaskSortOrder
Values returns all known values for TaskSortOrder. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TaskStatus ¶
type TaskStatus string
const ( // Task is awaiting triage analysis TaskStatusPendingTriage TaskStatus = "PENDING_TRIAGE" // Task has been linked to another task TaskStatusLinked TaskStatus = "LINKED" // Task is created but not yet started TaskStatusPendingStart TaskStatus = "PENDING_START" // Task is currently being worked on TaskStatusInProgress TaskStatus = "IN_PROGRESS" // Task is completed but awaiting customer approval (not in use) TaskStatusPendingCustomerApproval TaskStatus = "PENDING_CUSTOMER_APPROVAL" // Task has been completed successfully TaskStatusCompleted TaskStatus = "COMPLETED" // Task has failed TaskStatusFailed TaskStatus = "FAILED" // Task has exceeded its time limit TaskStatusTimedOut TaskStatus = "TIMED_OUT" // Task has been canceled TaskStatusCanceled TaskStatus = "CANCELED" )
Enum values for TaskStatus
func (TaskStatus) Values ¶
func (TaskStatus) Values() []TaskStatus
Values returns all known values for TaskStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TaskType ¶
type TaskType string
type ThrottlingException ¶
type ThrottlingException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
The request was throttled due to too many requests. Please slow down and try again.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
type UnknownUnionMember ¶
type UnknownUnionMember struct {
Tag string
Value []byte
// contains filtered or unexported fields
}
UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.
type UsageMetric ¶
type UsageMetric struct {
// Configured limit for this metric.
//
// This member is required.
Limit *int32
// Current usage for this metric
//
// This member is required.
Usage *float64
// contains filtered or unexported fields
}
Represents a usage metric with its configured limit and current usage value.
type UserMessageBlock ¶
type UserMessageBlock interface {
// contains filtered or unexported methods
}
A block of content in a user message.
The following types satisfy this interface:
UserMessageBlockMemberText UserMessageBlockMemberToolResult
Example (OutputUsage) ¶
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/devopsagent/types"
)
func main() {
var union types.UserMessageBlock
// type switches can be used to check the union value
switch v := union.(type) {
case *types.UserMessageBlockMemberText:
_ = v.Value // Value is string
case *types.UserMessageBlockMemberToolResult:
_ = v.Value // Value is document.Interface
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
Output:
type UserMessageBlockMemberText ¶
type UserMessageBlockMemberText struct {
Value string
// contains filtered or unexported fields
}
Text content from the user.
type UserMessageBlockMemberToolResult ¶
type UserMessageBlockMemberToolResult struct {
Value document.Interface
// contains filtered or unexported fields
}
Tool execution result provided by the user.
type UserReference ¶
type UserReference struct {
// The unique identifier for the user
//
// This member is required.
UserId *string
// The type of user
//
// This member is required.
UserType UserType
// contains filtered or unexported fields
}
Reference to a user in the system
type UserType ¶
type UserType string
type ValidationException ¶
type ValidationException struct {
Message *string
ErrorCodeOverride *string
FieldList []ValidationExceptionField
// contains filtered or unexported fields
}
A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string
type ValidationExceptionField ¶
type ValidationExceptionField struct {
// A detailed description of the validation failure.
//
// This member is required.
Message *string
// A JSONPointer expression to the structure member whose value failed to satisfy
// the modeled constraints.
//
// This member is required.
Path *string
// contains filtered or unexported fields
}
Describes one specific validation failure for an input member.
type ValidationStatus ¶
type ValidationStatus string
const ( // The association has been validated and is functioning correctly. ValidationStatusValid ValidationStatus = "valid" // The association has failed validation and requires attention. ValidationStatusInvalid ValidationStatus = "invalid" // The association is awaiting user confirmation before validation can be // completed. ValidationStatusPendingConfirmation ValidationStatus = "pending-confirmation" )
Enum values for ValidationStatus
func (ValidationStatus) Values ¶
func (ValidationStatus) Values() []ValidationStatus
Values returns all known values for ValidationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Webhook ¶
type Webhook struct {
// The unique identifier of the Webhook
//
// This member is required.
WebhookId *string
// Webhook endpoint URL.
//
// This member is required.
WebhookUrl *string
// Webhook authentication type.
WebhookType WebhookType
// contains filtered or unexported fields
}
Represents a complete Webhook with all its properties, and unique identifier.
type WebhookType ¶
type WebhookType string
const ( // HMAC-based webhook authentication WebhookTypeHmac WebhookType = "hmac" // API key-based webhook authentication WebhookTypeApiKey WebhookType = "apikey" // GitLab-specific webhook authentication WebhookTypeGitlab WebhookType = "gitlab" // pagerduty-specific webhook authentication WebhookTypePagerduty WebhookType = "pagerduty" )
Enum values for WebhookType
func (WebhookType) Values ¶
func (WebhookType) Values() []WebhookType
Values returns all known values for WebhookType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.