Skip to content

Delete Resource Policy

pinpointsmsvoicev2_delete_resource_policy R Documentation

Deletes the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource

Description

Deletes the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number.

Usage

pinpointsmsvoicev2_delete_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource you're deleting the resource-based policy from.

Value

A list with the following syntax:

list(
  ResourceArn = "string",
  Policy = "string",
  CreatedTimestamp = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$delete_resource_policy(
  ResourceArn = "string"
)