Documentation
¶
Overview ¶
Package aws_credential contains auto-generated files. DO NOT MODIFY
Package aws_credential contains auto-generated files. DO NOT MODIFY
Package aws_credential contains auto-generated files. DO NOT MODIFY
Package aws_credential contains auto-generated files. DO NOT MODIFY
Index ¶
- type Client
- func (c Client) Delete() error
- func (c Client) DeleteWithContext(context context.Context) error
- func (c Client) Fetch() (*FetchAWSCredentialResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchAWSCredentialResponse, error)
- func (c Client) Update(input *UpdateAWSCredentialInput) (*UpdateAWSCredentialResponse, error)
- func (c Client) UpdateWithContext(context context.Context, input *UpdateAWSCredentialInput) (*UpdateAWSCredentialResponse, error)
- type ClientProperties
- type FetchAWSCredentialResponse
- type UpdateAWSCredentialInput
- type UpdateAWSCredentialResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for managing a specific aws credential resource
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the awscredential client
func (Client) Delete ¶
Delete removes a aws credential resource from the account Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) DeleteWithContext ¶
DeleteWithContext removes a aws credential resource from the account
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchAWSCredentialResponse, error)
Fetch retrieves a aws credential resource Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) FetchWithContext ¶
func (c Client) FetchWithContext(context context.Context) (*FetchAWSCredentialResponse, error)
FetchWithContext retrieves a aws credential resource
func (Client) Update ¶
func (c Client) Update(input *UpdateAWSCredentialInput) (*UpdateAWSCredentialResponse, error)
Update modifies a aws credential resource Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) UpdateWithContext ¶
func (c Client) UpdateWithContext(context context.Context, input *UpdateAWSCredentialInput) (*UpdateAWSCredentialResponse, error)
UpdateWithContext modifies a aws credential resource
type ClientProperties ¶
type ClientProperties struct {
Sid string
}
ClientProperties are the properties required to manage the awscredential resources
type FetchAWSCredentialResponse ¶
type FetchAWSCredentialResponse 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"` }
FetchAWSCredentialResponse defines the response fields for the retrieved aws credential resource
type UpdateAWSCredentialInput ¶
type UpdateAWSCredentialInput struct {
FriendlyName *string `form:"FriendlyName,omitempty"`
}
UpdateAWSCredentialInput defines input fields for updating a aws credential resource
type UpdateAWSCredentialResponse ¶
type UpdateAWSCredentialResponse 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"` }
UpdateAWSCredentialResponse defines the response fields for the updated aws credential resource