Documentation
¶
Overview ¶
Package aws_credentials contains auto-generated files. DO NOT MODIFY
Package aws_credentials contains auto-generated files. DO NOT MODIFY
Package aws_credentials contains auto-generated files. DO NOT MODIFY
Index ¶
- type AWSCredentialsPage
- type AWSCredentialsPageOptions
- type AWSCredentialsPageResponse
- type AWSCredentialsPaginator
- type Client
- func (c Client) Create(input *CreateAWSCredentialInput) (*CreateAWSCredentialResponse, error)
- func (c Client) CreateWithContext(context context.Context, input *CreateAWSCredentialInput) (*CreateAWSCredentialResponse, error)
- func (c *Client) NewAWSCredentialsPaginator() *AWSCredentialsPaginator
- func (c *Client) NewAWSCredentialsPaginatorWithOptions(options *AWSCredentialsPageOptions) *AWSCredentialsPaginator
- func (c Client) Page(options *AWSCredentialsPageOptions) (*AWSCredentialsPageResponse, error)
- func (c Client) PageWithContext(context context.Context, options *AWSCredentialsPageOptions) (*AWSCredentialsPageResponse, error)
- type CreateAWSCredentialInput
- type CreateAWSCredentialResponse
- type PageAWSCredentialsResponse
- type PageMetaResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCredentialsPage ¶
type AWSCredentialsPage struct { CurrentPage *AWSCredentialsPageResponse Error error // contains filtered or unexported fields }
AWSCredentialsPage defines the fields for the page The CurrentPage and Error fields can be used to access the PageAWSCredentialsResponse or error that is returned from the api call(s)
type AWSCredentialsPageOptions ¶
AWSCredentialsPageOptions defines the query options for the api operation
type AWSCredentialsPageResponse ¶
type AWSCredentialsPageResponse struct { Credentials []PageAWSCredentialsResponse `json:"credentials"` Meta PageMetaResponse `json:"meta"` }
AWSCredentialsPageResponse defines the response fields for the aws credential resources page
type AWSCredentialsPaginator ¶
type AWSCredentialsPaginator struct { Page *AWSCredentialsPage Credentials []PageAWSCredentialsResponse // contains filtered or unexported fields }
AWSCredentialsPaginator defines the fields for makings paginated api calls Credentials is an array of credentials that have been returned from all of the page calls
func (*AWSCredentialsPaginator) CurrentPage ¶
func (p *AWSCredentialsPaginator) CurrentPage() *AWSCredentialsPageResponse
CurrentPage retrieves the results for the current page
func (*AWSCredentialsPaginator) Error ¶
func (p *AWSCredentialsPaginator) Error() error
Error retrieves the error returned from the page
func (*AWSCredentialsPaginator) Next ¶
func (p *AWSCredentialsPaginator) Next() bool
Next retrieves the next page of results. Next will return false when either an error occurs or there are no more pages to iterate Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (*AWSCredentialsPaginator) NextWithContext ¶
func (p *AWSCredentialsPaginator) NextWithContext(context context.Context) bool
NextWithContext retrieves the next page of results. NextWithContext will return false when either an error occurs or there are no more pages to iterate
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for managing public resources
func (Client) Create ¶
func (c Client) Create(input *CreateAWSCredentialInput) (*CreateAWSCredentialResponse, error)
Create creates a aws credential resource Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) CreateWithContext ¶
func (c Client) CreateWithContext(context context.Context, input *CreateAWSCredentialInput) (*CreateAWSCredentialResponse, error)
CreateWithContext creates a aws credential resource
func (*Client) NewAWSCredentialsPaginator ¶
func (c *Client) NewAWSCredentialsPaginator() *AWSCredentialsPaginator
NewAWSCredentialsPaginator creates a new instance of the paginator for Page.
func (*Client) NewAWSCredentialsPaginatorWithOptions ¶
func (c *Client) NewAWSCredentialsPaginatorWithOptions(options *AWSCredentialsPageOptions) *AWSCredentialsPaginator
NewAWSCredentialsPaginatorWithOptions creates a new instance of the paginator for Page with options.
func (Client) Page ¶
func (c Client) Page(options *AWSCredentialsPageOptions) (*AWSCredentialsPageResponse, error)
Page retrieves a page of aws credential resources Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) PageWithContext ¶
func (c Client) PageWithContext(context context.Context, options *AWSCredentialsPageOptions) (*AWSCredentialsPageResponse, error)
PageWithContext retrieves a page of aws credential resources
type CreateAWSCredentialInput ¶
type CreateAWSCredentialInput struct { AccountSid *string `form:"AccountSid,omitempty"` Credentials string `validate:"required" form:"Credentials"` FriendlyName *string `form:"FriendlyName,omitempty"` }
CreateAWSCredentialInput defines the input fields for creating a new aws credential resource
type CreateAWSCredentialResponse ¶
type CreateAWSCredentialResponse struct { AccountSid string `json:"account_sid"` DateCreated time.Time `json:"date_created"` DateUpdated *time.Time `json:"date_updated,omitempty"` FriendlyName *string `json:"friendly_name,omitempty"` Sid string `json:"sid"` URL string `json:"url"` }
CreateAWSCredentialResponse defines the response fields for the created aws credential