[ aws . wellarchitected ]

update-agent-organizational-profile

Description

Updates an Organizational Profile. Organizational Profiles are specific to Profiles created using AWS Organizations integration. Include only the fields you want to change; any field you omit from the request keeps its current value.

To clear an optional text field, supply an empty string for it; the field is then unset, and a subsequent read omits it rather than returning an empty string. Omitting the field from the request leaves the stored value in place. description and businessOverview can be cleared this way. displayName cannot be cleared because a display name is required, though you can change it. pillars cannot be cleared because a profile must target at least one pillar.

organizationalAggregationConfiguration behaves differently because it is a structure rather than a text field. Supplying it with both its organizationalUnits and accounts lists empty removes every monitored organizational unit and account, but the field itself remains set: a subsequent read returns the structure with two empty lists rather than omitting it. Omitting the field from the request keeps the stored boundary.

See also: AWS API Documentation

Synopsis

  update-agent-organizational-profile
[--client-token <value>]
--profile-arn <value>
[--display-name <value>]
[--description <value>]
[--business-overview <value>]
[--pillars <value>]
[--deletion-protection | --no-deletion-protection]
[--organizational-aggregation-configuration <value>]
[--cli-input-json | --cli-input-yaml]
[--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>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]

Options

--client-token (string)

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Constraints:

  • min: 1
  • max: 128
  • pattern: [\x21-\x7E]+

--profile-arn (string) [required]

The Amazon Resource Name (ARN) of the organizational profile to update.

Constraints:

  • min: 0
  • max: 2048
  • pattern: arn:aws([a-z0-9-]+)?:wellarchitected:[a-z0-9-]{6,64}:\d{12}:agent-profile/([a-zA-Z0-9_-]+)

--display-name (string)

The updated display name of the organizational profile. Omit this field to keep the current display name. A display name is required, so it cannot be cleared.

Constraints:

  • min: 3
  • max: 128
  • pattern: [\P{C}]+

--description (string)

The updated description of the organizational profile. Omit this field to keep the current description, or supply an empty string to clear it; a cleared description is read back as absent rather than as an empty string.

Constraints:

  • min: 0
  • max: 512
  • pattern: [\P{C}]*

--business-overview (string)

The updated business overview for the organizational profile. Omit this field to keep the current business overview, or supply an empty string to clear it; a cleared business overview is read back as absent rather than as an empty string.

Constraints:

  • min: 0
  • max: 512
  • pattern: [\P{C}]*

--pillars (list)

The updated Amazon Web Services Well-Architected Framework pillars for the organizational profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.

Constraints:

  • min: 1
  • max: 5

(string)

Note

OPERATIONAL_EXCELLENCE can appear in recommendation results but cannot be specified as a request parameter. The requestable values are COST_OPTIMIZATION , SECURITY , RESILIENCE , and PERFORMANCE .

A pillar of the Amazon Web Services Well-Architected Framework, used to scope recommendation generation.

Possible values:

  • COST_OPTIMIZATION
  • SECURITY
  • RESILIENCE
  • PERFORMANCE
  • OPERATIONAL_EXCELLENCE

Syntax:

"string" "string" ...

--deletion-protection | --no-deletion-protection (boolean)

Indicates whether deletion protection is enabled for the organizational profile.

--organizational-aggregation-configuration (structure)

The organizational monitoring boundary. Contains organizational unit or root entries and individual account entries that define the scope for the profile. Omit this field to keep the current boundary, or supply this structure with both its organizationalUnits and accounts lists empty to remove every monitored organizational unit and account. The field remains set either way — an emptied boundary is read back as a structure with two empty lists, not as an absent field.

organizationalUnits -> (list)

A list of organizational unit or root entries that define the organizational scope. Each entry specifies an OU or root ID and the regions to monitor within it.

Constraints:

  • min: 0
  • max: 2500

(structure)

An organizational unit or root entry in the organizational monitoring boundary, with its associated regions.

organizationalUnitId -> (string) [required]

The AWS Organizations organizational unit ID or root ID. Must match the pattern r-[a-z0-9]{4,32} for roots or ou-[a-z0-9]{4,32}-[a-z0-9]{8,32} for OUs.

Constraints:

  • min: 1
  • max: 68
  • pattern: (r-[a-z0-9]{4,32}|ou-[a-z0-9]{4,32}-[a-z0-9]{8,32})

regions -> (list) [required]

The list of regions to monitor for this organizational unit or root.

Constraints:

  • min: 0
  • max: 25

(string)

Constraints:

  • min: 0
  • max: 64
  • pattern: [a-z]{2}-[a-z]+-\d{1}

accounts -> (list)

A list of individual account entries that define additional accounts to include. Each entry specifies an account ID and the regions to monitor within it.

Constraints:

  • min: 0
  • max: 2500

(structure)

An individual account entry in the organizational monitoring boundary, with its associated regions.

accountId -> (string) [required]

The Amazon Web Services account ID to include in the monitoring boundary.

Constraints:

  • pattern: \d{12}

regions -> (list) [required]

The list of regions to monitor for this account.

Constraints:

  • min: 0
  • max: 25

(string)

Constraints:

  • min: 0
  • max: 64
  • pattern: [a-z]{2}-[a-z]+-\d{1}

JSON Syntax:

{
  "organizationalUnits": [
    {
      "organizationalUnitId": "string",
      "regions": ["string", ...]
    }
    ...
  ],
  "accounts": [
    {
      "accountId": "string",
      "regions": ["string", ...]
    }
    ...
  ]
}

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those 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. This may not be specified along with --cli-input-yaml.

--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. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

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
  • yaml
  • yaml-stream
  • off

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

--cli-binary-format (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.

  • base64
  • raw-in-base64-out

--no-cli-pager (boolean)

Disable cli pager for output.

--cli-auto-prompt (boolean)

Automatically prompt for CLI input parameters.

--no-cli-auto-prompt (boolean)

Disable automatically prompt for CLI input parameters.

--cli-error-format (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

  • legacy
  • json
  • yaml
  • text
  • table
  • enhanced

--help (boolean)

Display help for the command/subcommand.

Output

name -> (string)

The system name of the updated organizational profile.

Constraints:

  • min: 3
  • max: 128
  • pattern: [a-zA-Z0-9_-]+

displayName -> (string)

The display name of the updated organizational profile.

Constraints:

  • min: 3
  • max: 128
  • pattern: (?:(?!\$\{[a-zA-Z]+:)[\P{C}])+

description -> (string)

A description of the updated organizational profile.

Constraints:

  • min: 0
  • max: 512
  • pattern: (?:(?!\$\{[a-zA-Z]+:)[\P{C}])*

businessOverview -> (string)

The business overview of the updated organizational profile.

Constraints:

  • min: 0
  • max: 512
  • pattern: (?:(?!\$\{[a-zA-Z]+:)[\P{C}])*

pillars -> (list)

The Amazon Web Services Well-Architected Framework pillars associated with the updated organizational profile.

Constraints:

  • min: 1
  • max: 5

(string)

Note

OPERATIONAL_EXCELLENCE can appear in recommendation results but cannot be specified as a request parameter. The requestable values are COST_OPTIMIZATION , SECURITY , RESILIENCE , and PERFORMANCE .

A pillar of the Amazon Web Services Well-Architected Framework, used to scope recommendation generation.

Possible values:

  • COST_OPTIMIZATION
  • SECURITY
  • RESILIENCE
  • PERFORMANCE
  • OPERATIONAL_EXCELLENCE

deletionProtection -> (boolean)

Indicates whether deletion protection is enabled.

organizationId -> (string)

The identifier of the Amazon Web Services Organization this profile belongs to.

organizationalAggregationConfiguration -> (structure)

The organizational monitoring boundary for the updated profile.

organizationalUnits -> (list)

A list of organizational unit or root entries that define the organizational scope. Each entry specifies an OU or root ID and the regions to monitor within it.

Constraints:

  • min: 0
  • max: 2500

(structure)

An organizational unit or root entry in the organizational monitoring boundary, with its associated regions.

organizationalUnitId -> (string) [required]

The AWS Organizations organizational unit ID or root ID. Must match the pattern r-[a-z0-9]{4,32} for roots or ou-[a-z0-9]{4,32}-[a-z0-9]{8,32} for OUs.

Constraints:

  • min: 1
  • max: 68
  • pattern: (r-[a-z0-9]{4,32}|ou-[a-z0-9]{4,32}-[a-z0-9]{8,32})

regions -> (list) [required]

The list of regions to monitor for this organizational unit or root.

Constraints:

  • min: 0
  • max: 25

(string)

Constraints:

  • min: 0
  • max: 64
  • pattern: [a-z]{2}-[a-z]+-\d{1}

accounts -> (list)

A list of individual account entries that define additional accounts to include. Each entry specifies an account ID and the regions to monitor within it.

Constraints:

  • min: 0
  • max: 2500

(structure)

An individual account entry in the organizational monitoring boundary, with its associated regions.

accountId -> (string) [required]

The Amazon Web Services account ID to include in the monitoring boundary.

Constraints:

  • pattern: \d{12}

regions -> (list) [required]

The list of regions to monitor for this account.

Constraints:

  • min: 0
  • max: 25

(string)

Constraints:

  • min: 0
  • max: 64
  • pattern: [a-z]{2}-[a-z]+-\d{1}

arn -> (string)

The Amazon Resource Name (ARN) of the updated organizational profile.

Constraints:

  • min: 0
  • max: 2048
  • pattern: arn:aws([a-z0-9-]+)?:wellarchitected:[a-z0-9-]{6,64}:\d{12}:agent-profile/([a-zA-Z0-9_-]+)

eligibleForScheduledGeneration -> (boolean)

Indicates whether the profile is valid for scheduled recommendation generation.

eligibleForArchitectureGeneration -> (boolean)

Indicates whether the profile is valid for manual architecture generation.

fieldErrors -> (map)

A map of field paths to error messages for invalid or missing input fields.

Constraints:

  • min: 0
  • max: 100

key -> (string)

Constraints:

  • min: 1
  • max: 256

value -> (string)

Constraints:

  • min: 1
  • max: 1024

createdBy -> (string)

The identifier of the user or system that created this organizational profile.

Constraints:

  • min: 1
  • max: 128

createdAt -> (timestamp)

The timestamp when the organizational profile was created.

lastModifiedBy -> (string)

The identifier of the user or system that last modified this organizational profile.

Constraints:

  • min: 1
  • max: 128

lastModifiedAt -> (timestamp)

The timestamp when the organizational profile was last modified.