Skip to content

Describe Service Errors

opsworks_describe_service_errors R Documentation

Describes OpsWorks Stacks service errors

Description

Describes OpsWorks Stacks service errors.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

This call accepts only one resource-identifying parameter.

Usage

opsworks_describe_service_errors(StackId, InstanceId, ServiceErrorIds)

Arguments

StackId

The stack ID. If you use this parameter, describe_service_errors returns descriptions of the errors associated with the specified stack.

InstanceId

The instance ID. If you use this parameter, describe_service_errors returns descriptions of the errors associated with the specified instance.

ServiceErrorIds

An array of service error IDs. If you use this parameter, describe_service_errors returns descriptions of the specified errors. Otherwise, it returns a description of every error.

Value

A list with the following syntax:

list(
  ServiceErrors = list(
    list(
      ServiceErrorId = "string",
      StackId = "string",
      InstanceId = "string",
      Type = "string",
      Message = "string",
      CreatedAt = "string"
    )
  )
)

Request syntax

svc$describe_service_errors(
  StackId = "string",
  InstanceId = "string",
  ServiceErrorIds = list(
    "string"
  )
)