Skip to content

Updates the account pool

Description

Updates the account pool.

Usage

datazone_update_account_pool(domainIdentifier, identifier, name,
  description, resolutionStrategy, accountSource)

Arguments

  • domainIdentifier

    [required] The domain ID where the account pool that is to be updated lives.

  • identifier

    [required] The ID of the account pool that is to be updated.

  • name

    The name of the account pool that is to be updated.

  • description

    The description of the account pool that is to be udpated.

  • resolutionStrategy

    The mechanism used to resolve the account selection from the account pool.

  • accountSource

    The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.

Value

A list with the following syntax:

list(
  domainId = "string",
  name = "string",
  id = "string",
  description = "string",
  resolutionStrategy = "MANUAL",
  accountSource = list(
    accounts = list(
      list(
        awsAccountId = "string",
        supportedRegions = list(
          "string"
        ),
        awsAccountName = "string"
      )
    ),
    customAccountPoolHandler = list(
      lambdaFunctionArn = "string",
      lambdaExecutionRoleArn = "string"
    )
  ),
  createdBy = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedBy = "string",
  domainUnitId = "string"
)

Request syntax

svc$update_account_pool(
  domainIdentifier = "string",
  identifier = "string",
  name = "string",
  description = "string",
  resolutionStrategy = "MANUAL",
  accountSource = list(
    accounts = list(
      list(
        awsAccountId = "string",
        supportedRegions = list(
          "string"
        ),
        awsAccountName = "string"
      )
    ),
    customAccountPoolHandler = list(
      lambdaFunctionArn = "string",
      lambdaExecutionRoleArn = "string"
    )
  )
)