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.

DeleteProjectInput

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

type DeleteProjectInput struct { ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"` DeleteStack *bool `locationName:"deleteStack" type:"boolean"` Id *string `locationName:"id" min:"2" type:"string" required:"true"` }

ClientRequestToken

Type: *string

A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.

DeleteStack

Type: *bool

Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.

Id

Type: *string

The ID of the project to be deleted in AWS CodeStar.

Id is a required field

Method

GoString

func (s DeleteProjectInput) GoString() string

GoString returns the string representation

SetClientRequestToken

func (s *DeleteProjectInput) SetClientRequestToken(v string) *DeleteProjectInput

SetClientRequestToken sets the ClientRequestToken field's value.

SetDeleteStack

func (s *DeleteProjectInput) SetDeleteStack(v bool) *DeleteProjectInput

SetDeleteStack sets the DeleteStack field's value.

SetId

func (s *DeleteProjectInput) SetId(v string) *DeleteProjectInput

SetId sets the Id field's value.

String

func (s DeleteProjectInput) String() string

String returns the string representation

Validate

func (s *DeleteProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: