Skip to content

Reject Environment Account Connection

proton_reject_environment_account_connection R Documentation

In a management account, reject an environment account connection from another environment account

Description

In a management account, reject an environment account connection from another environment account.

After you reject an environment account connection request, you can't accept or use the rejected environment account connection.

You can’t reject an environment account connection that's connected to an environment.

For more information, see Environment account connections in the Proton User guide.

Usage

proton_reject_environment_account_connection(id)

Arguments

id

[required] The ID of the environment account connection to reject.

Value

A list with the following syntax:

list(
  environmentAccountConnection = list(
    arn = "string",
    codebuildRoleArn = "string",
    componentRoleArn = "string",
    environmentAccountId = "string",
    environmentName = "string",
    id = "string",
    lastModifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    managementAccountId = "string",
    requestedAt = as.POSIXct(
      "2015-01-01"
    ),
    roleArn = "string",
    status = "PENDING"|"CONNECTED"|"REJECTED"
  )
)

Request syntax

svc$reject_environment_account_connection(
  id = "string"
)