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.

ListPrincipalPoliciesInput

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

type ListPrincipalPoliciesInput struct { AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` Marker *string `location:"querystring" locationName:"marker" type:"string"` PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` }

The input for the ListPrincipalPolicies operation.

AscendingOrder

Type: *bool

Specifies the order for results. If true, results are returned in ascending creation order.

Marker

Type: *string

The marker for the next set of results.

PageSize

Type: *int64

The result page size.

Principal

Type: *string

The principal.

Principal is a required field

Method

GoString

func (s ListPrincipalPoliciesInput) GoString() string

GoString returns the string representation

SetAscendingOrder

func (s *ListPrincipalPoliciesInput) SetAscendingOrder(v bool) *ListPrincipalPoliciesInput

SetAscendingOrder sets the AscendingOrder field's value.

SetMarker

func (s *ListPrincipalPoliciesInput) SetMarker(v string) *ListPrincipalPoliciesInput

SetMarker sets the Marker field's value.

SetPageSize

func (s *ListPrincipalPoliciesInput) SetPageSize(v int64) *ListPrincipalPoliciesInput

SetPageSize sets the PageSize field's value.

SetPrincipal

func (s *ListPrincipalPoliciesInput) SetPrincipal(v string) *ListPrincipalPoliciesInput

SetPrincipal sets the Principal field's value.

String

func (s ListPrincipalPoliciesInput) String() string

String returns the string representation

Validate

func (s *ListPrincipalPoliciesInput) Validate() error

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

On this page: