Skip to content

Describe Resource Policy

lookoutequipment_describe_resource_policy R Documentation

Provides the details of a resource policy attached to a resource

Description

Provides the details of a resource policy attached to a resource.

Usage

lookoutequipment_describe_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the resource that is associated with the resource policy.

Value

A list with the following syntax:

list(
  PolicyRevisionId = "string",
  ResourcePolicy = "string",
  CreationTime = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$describe_resource_policy(
  ResourceArn = "string"
)