Note:

You are viewing the documentation for an older major version of the AWS CLI (version 1). To view this page for the AWS CLI version 2, click here.

We announced the upcoming end-of-support for the AWS CLI v1. For dates, additional details, and information on how to migrate, please refer to the linked announcement. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . devops-agent ]

update-association

Description

Partially updates the configuration of an existing service association for an AgentSpace. Present fields are fully replaced; absent fields are left unchanged. Returns 200 OK on success.

See also: AWS API Documentation

Synopsis

  update-association
--agent-space-id <value>
--association-id <value>
--configuration <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--v2-debug]

Options

--agent-space-id (string)

The unique identifier of the AgentSpace

--association-id (string)

The unique identifier of the given association.

--configuration (tagged union structure)

The configuration that directs how AgentSpace interacts with the given service. The entire configuration is replaced on update.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: sourceAws, aws, github, slack, dynatrace, servicenow, mcpservernewrelic, gitlab, eventChannel, azure, azuredevops, mcpservergrafana, pagerduty.

sourceAws -> (structure)

AWS source account configuration for monitoring resources.

accountId -> (string)

AWS Account Id corresponding to provided resources.

accountType -> (string)

Account Type ‘source’ for AIDevOps monitoring.

assumableRoleArn -> (string)

Role ARN to be assumed by AIDevOps to operate on behalf of customer.

externalId -> (string)

External ID for additional security when assuming the role. Used to prevent the confused deputy problem.

aws -> (structure)

AWS monitor account configuration.

assumableRoleArn -> (string)

Role ARN to be assumed by AIDevOps to operate on behalf of customer.

accountId -> (string)

AWS Account Id corresponding to provided resources.

accountType -> (string)

Account Type ‘monitor’ for AIDevOps monitoring.

github -> (structure)

GitHub repository integration configuration.

repoName -> (string)

Associated Github repo name

repoId -> (string)

Associated Github repo ID

owner -> (string)

The GitHub repository owner name.

ownerType -> (string)

Type of GitHub repository owner.

instanceIdentifier -> (string)

GitHub instance identifier (e.g., github.com or github.enterprise.com)

slack -> (structure)

Slack workspace integration configuration.

workspaceId -> (string)

Associated Slack workspace ID

workspaceName -> (string)

Associated Slack workspace name

transmissionTarget -> (structure)

Transmission targets for agent notifications

opsOncallTarget -> (structure)

Destination for On-call Agent (Ops1)

channelName -> (string)

Slack channel name

channelId -> (string)

Slack channel ID

opsSRETarget -> (structure)

Destination for SRE Agent (Ops1.5)

channelName -> (string)

Slack channel name

channelId -> (string)

Slack channel ID

dynatrace -> (structure)

Dynatrace monitoring integration configuration.

envId -> (string)

Dynatrace environment id

resources -> (list)

List of Dynatrace resources to monitor

(string)

servicenow -> (structure)

ServiceNow instance integration configuration.

instanceId -> (string)

ServiceNow instance ID

authScopes -> (list)

Scoped down authentication scopes for fine grained control

(string)

mcpservernewrelic -> (structure)

NewRelic instance integration configuration.

accountId -> (string)

New Relic Account ID

endpoint -> (string)

MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/)

gitlab -> (structure)

GitLab project integration configuration.

projectId -> (string)

GitLab numeric project ID.

projectPath -> (string)

Full GitLab project path (e.g., namespace/project-name).

instanceIdentifier -> (string)

GitLab instance identifier (e.g., gitlab.com or e2e.gamma.dev.us-east-1.gitlab.falco.ai.aws.dev)

eventChannel -> (structure)

Event Channel instance integration configuration.

azure -> (structure)

Azure subscription integration configuration.

subscriptionId -> (string)

Azure subscription ID corresponding to provided resources.

azuredevops -> (structure)

Azure DevOps project integration configuration.

organizationName -> (string)

Azure DevOps organization name.

projectId -> (string)

Azure DevOps project ID.

projectName -> (string)

Azure DevOps project name.

mcpservergrafana -> (structure)

Grafana MCP server integration configuration.

endpoint -> (string)

Grafana instance URL (e.g., https://your-instance.grafana.net)

organizationId -> (string)

The Grafana organization ID that can be used.

tools -> (list)

List of MCP tools that can be used.

(string)

pagerduty -> (structure)

PagerDuty integration configuration

services -> (list)

List of Pagerduty service available for the association.

(string)

customerEmail -> (string)

Email to be used in Pagerduty API header

JSON Syntax:

{
  "sourceAws": {
    "accountId": "string",
    "accountType": "source",
    "assumableRoleArn": "string",
    "externalId": "string"
  },
  "aws": {
    "assumableRoleArn": "string",
    "accountId": "string",
    "accountType": "monitor"
  },
  "github": {
    "repoName": "string",
    "repoId": "string",
    "owner": "string",
    "ownerType": "organization"|"user",
    "instanceIdentifier": "string"
  },
  "slack": {
    "workspaceId": "string",
    "workspaceName": "string",
    "transmissionTarget": {
      "opsOncallTarget": {
        "channelName": "string",
        "channelId": "string"
      },
      "opsSRETarget": {
        "channelName": "string",
        "channelId": "string"
      }
    }
  },
  "dynatrace": {
    "envId": "string",
    "resources": ["string", ...]
  },
  "servicenow": {
    "instanceId": "string",
    "authScopes": ["string", ...]
  },
  "mcpservernewrelic": {
    "accountId": "string",
    "endpoint": "string"
  },
  "gitlab": {
    "projectId": "string",
    "projectPath": "string",
    "instanceIdentifier": "string"
  },
  "eventChannel": {

  },
  "azure": {
    "subscriptionId": "string"
  },
  "azuredevops": {
    "organizationName": "string",
    "projectId": "string",
    "projectName": "string"
  },
  "mcpservergrafana": {
    "endpoint": "string",
    "organizationId": "string",
    "tools": ["string", ...]
  },
  "pagerduty": {
    "services": ["string", ...],
    "customerEmail": "string"
  }
}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command’s default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

--output (string)

The formatting style for command output.

  • json
  • text
  • table

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

--v2-debug (boolean)

Enable AWS CLI v2 migration assistance. Prints warnings if the command would face a breaking change after swapping AWS CLI v1 for AWS CLI v2 in the current environment. Prints one warning for each breaking change detected.

Output

association -> (structure)

Represents a service association within an AgentSpace, defining how the agent interacts with external services.

agentSpaceId -> (string)

The unique identifier of the AgentSpace

createdAt -> (timestamp)

The timestamp when the resource was created.

updatedAt -> (timestamp)

The timestamp when the resource was last updated.

status -> (string)

Validation status

associationId -> (string)

The unique identifier of the given association.

serviceId -> (string)

The identifier for associated service

configuration -> (tagged union structure)

The configuration that directs how AgentSpace interacts with the given service.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: sourceAws, aws, github, slack, dynatrace, servicenow, mcpservernewrelic, gitlab, eventChannel, azure, azuredevops, mcpservergrafana, pagerduty.

sourceAws -> (structure)

AWS source account configuration for monitoring resources.

accountId -> (string)

AWS Account Id corresponding to provided resources.

accountType -> (string)

Account Type ‘source’ for AIDevOps monitoring.

assumableRoleArn -> (string)

Role ARN to be assumed by AIDevOps to operate on behalf of customer.

externalId -> (string)

External ID for additional security when assuming the role. Used to prevent the confused deputy problem.

aws -> (structure)

AWS monitor account configuration.

assumableRoleArn -> (string)

Role ARN to be assumed by AIDevOps to operate on behalf of customer.

accountId -> (string)

AWS Account Id corresponding to provided resources.

accountType -> (string)

Account Type ‘monitor’ for AIDevOps monitoring.

github -> (structure)

GitHub repository integration configuration.

repoName -> (string)

Associated Github repo name

repoId -> (string)

Associated Github repo ID

owner -> (string)

The GitHub repository owner name.

ownerType -> (string)

Type of GitHub repository owner.

instanceIdentifier -> (string)

GitHub instance identifier (e.g., github.com or github.enterprise.com)

slack -> (structure)

Slack workspace integration configuration.

workspaceId -> (string)

Associated Slack workspace ID

workspaceName -> (string)

Associated Slack workspace name

transmissionTarget -> (structure)

Transmission targets for agent notifications

opsOncallTarget -> (structure)

Destination for On-call Agent (Ops1)

channelName -> (string)

Slack channel name

channelId -> (string)

Slack channel ID

opsSRETarget -> (structure)

Destination for SRE Agent (Ops1.5)

channelName -> (string)

Slack channel name

channelId -> (string)

Slack channel ID

dynatrace -> (structure)

Dynatrace monitoring integration configuration.

envId -> (string)

Dynatrace environment id

resources -> (list)

List of Dynatrace resources to monitor

(string)

servicenow -> (structure)

ServiceNow instance integration configuration.

instanceId -> (string)

ServiceNow instance ID

authScopes -> (list)

Scoped down authentication scopes for fine grained control

(string)

mcpservernewrelic -> (structure)

NewRelic instance integration configuration.

accountId -> (string)

New Relic Account ID

endpoint -> (string)

MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/)

gitlab -> (structure)

GitLab project integration configuration.

projectId -> (string)

GitLab numeric project ID.

projectPath -> (string)

Full GitLab project path (e.g., namespace/project-name).

instanceIdentifier -> (string)

GitLab instance identifier (e.g., gitlab.com or e2e.gamma.dev.us-east-1.gitlab.falco.ai.aws.dev)

eventChannel -> (structure)

Event Channel instance integration configuration.

azure -> (structure)

Azure subscription integration configuration.

subscriptionId -> (string)

Azure subscription ID corresponding to provided resources.

azuredevops -> (structure)

Azure DevOps project integration configuration.

organizationName -> (string)

Azure DevOps organization name.

projectId -> (string)

Azure DevOps project ID.

projectName -> (string)

Azure DevOps project name.

mcpservergrafana -> (structure)

Grafana MCP server integration configuration.

endpoint -> (string)

Grafana instance URL (e.g., https://your-instance.grafana.net)

organizationId -> (string)

The Grafana organization ID that can be used.

tools -> (list)

List of MCP tools that can be used.

(string)

pagerduty -> (structure)

PagerDuty integration configuration

services -> (list)

List of Pagerduty service available for the association.

(string)

customerEmail -> (string)

Email to be used in Pagerduty API header

webhook -> (structure)

Generic webhook configuration

webhookUrl -> (string)

The webhook URL endpoint

webhookId -> (string)

The unique webhook identifier

webhookType -> (string)

The webhook authentication type

webhookSecret -> (string)

The webhook secret for authentication

apiKey -> (string)

API Key for API Key webhook authentication