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.

PutApplicationPolicyInput

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

type PutApplicationPolicyInput struct { ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` Statements []*ApplicationPolicyStatement `locationName:"statements" type:"list" required:"true"` }

ApplicationId

Type: *string

ApplicationId is a required field

Statements

Policy statement applied to the application.

Method

GoString

func (s PutApplicationPolicyInput) GoString() string

GoString returns the string representation

SetApplicationId

func (s *PutApplicationPolicyInput) SetApplicationId(v string) *PutApplicationPolicyInput

SetApplicationId sets the ApplicationId field's value.

SetStatements

func (s *PutApplicationPolicyInput) SetStatements(v []*ApplicationPolicyStatement) *PutApplicationPolicyInput

SetStatements sets the Statements field's value.

String

func (s PutApplicationPolicyInput) String() string

String returns the string representation

Validate

func (s *PutApplicationPolicyInput) Validate() error

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

On this page: