AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetServiceLinkedRoleDeletionStatusOutput

import "github.com/aws/aws-sdk-go/service/iam"

type GetServiceLinkedRoleDeletionStatusOutput struct { Reason *DeletionTaskFailureReasonType `type:"structure"` Status *string `type:"string" required:"true" enum:"DeletionTaskStatusType"` }

Reason

The reason that the service-linked role deletion failed.

This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.

Status

Type: *string

The status of the deletion.

Status is a required field

Method

GoString

func (s GetServiceLinkedRoleDeletionStatusOutput) GoString() string

GoString returns the string representation

SetReason

func (s *GetServiceLinkedRoleDeletionStatusOutput) SetReason(v *DeletionTaskFailureReasonType) *GetServiceLinkedRoleDeletionStatusOutput

SetReason sets the Reason field's value.

SetStatus

func (s *GetServiceLinkedRoleDeletionStatusOutput) SetStatus(v string) *GetServiceLinkedRoleDeletionStatusOutput

SetStatus sets the Status field's value.

String

func (s GetServiceLinkedRoleDeletionStatusOutput) String() string

String returns the string representation

On this page: