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.

CreateResourceServerInput

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

type CreateResourceServerInput struct { Identifier *string `min:"1" type:"string" required:"true"` Name *string `min:"1" type:"string" required:"true"` Scopes []*ResourceServerScopeType `type:"list"` UserPoolId *string `min:"1" type:"string" required:"true"` }

Identifier

Type: *string

A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located. For example, https://my-weather-api.example.com.

Identifier is a required field

Name

Type: *string

A friendly name for the resource server.

Name is a required field

Scopes

A resource server scope.

UserPoolId

Type: *string

The user pool ID for the user pool.

UserPoolId is a required field

Method

GoString

func (s CreateResourceServerInput) GoString() string

GoString returns the string representation

SetIdentifier

func (s *CreateResourceServerInput) SetIdentifier(v string) *CreateResourceServerInput

SetIdentifier sets the Identifier field's value.

SetName

func (s *CreateResourceServerInput) SetName(v string) *CreateResourceServerInput

SetName sets the Name field's value.

SetScopes

func (s *CreateResourceServerInput) SetScopes(v []*ResourceServerScopeType) *CreateResourceServerInput

SetScopes sets the Scopes field's value.

SetUserPoolId

func (s *CreateResourceServerInput) SetUserPoolId(v string) *CreateResourceServerInput

SetUserPoolId sets the UserPoolId field's value.

String

func (s CreateResourceServerInput) String() string

String returns the string representation

Validate

func (s *CreateResourceServerInput) Validate() error

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

On this page: