Skip to content

Delete Ipam Scope

ec2_delete_ipam_scope R Documentation

Delete the scope for an IPAM

Description

Delete the scope for an IPAM. You cannot delete the default scopes.

For more information, see Delete a scope in the Amazon VPC IPAM User Guide.

Usage

ec2_delete_ipam_scope(DryRun, IpamScopeId)

Arguments

DryRun

A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IpamScopeId

[required] The ID of the scope to delete.

Value

A list with the following syntax:

list(
  IpamScope = list(
    OwnerId = "string",
    IpamScopeId = "string",
    IpamScopeArn = "string",
    IpamArn = "string",
    IpamRegion = "string",
    IpamScopeType = "public"|"private",
    IsDefault = TRUE|FALSE,
    Description = "string",
    PoolCount = 123,
    State = "create-in-progress"|"create-complete"|"create-failed"|"modify-in-progress"|"modify-complete"|"modify-failed"|"delete-in-progress"|"delete-complete"|"delete-failed"|"isolate-in-progress"|"isolate-complete"|"restore-in-progress",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$delete_ipam_scope(
  DryRun = TRUE|FALSE,
  IpamScopeId = "string"
)