aws_accounts

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 aws accounts API

func (*Client) GetAwsAccountByID

func (a *Client) GetAwsAccountByID(params *GetAwsAccountByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAwsAccountByIDOK, error)

GetAwsAccountByID get aws account by Id API

func (*Client) GetAwsAccounts

func (a *Client) GetAwsAccounts(params *GetAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAwsAccountsOK, error)

GetAwsAccounts get aws accounts API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateAwsAccounts added in v1.2.0

func (a *Client) UpdateAwsAccounts(params *UpdateAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAwsAccountsOK, error)

UpdateAwsAccounts update aws accounts API

type ClientService

type ClientService interface {
	GetAwsAccountByID(params *GetAwsAccountByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAwsAccountByIDOK, error)

	GetAwsAccounts(params *GetAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAwsAccountsOK, error)

	UpdateAwsAccounts(params *UpdateAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAwsAccountsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new aws accounts API client.

type GetAwsAccountByIDOK

type GetAwsAccountByIDOK struct {
	Payload *models.AwsAccount
}

GetAwsAccountByIDOK handles this case with default header values.

Success

func NewGetAwsAccountByIDOK

func NewGetAwsAccountByIDOK() *GetAwsAccountByIDOK

NewGetAwsAccountByIDOK creates a GetAwsAccountByIDOK with default headers values

func (*GetAwsAccountByIDOK) Error

func (o *GetAwsAccountByIDOK) Error() string

func (*GetAwsAccountByIDOK) GetPayload

func (o *GetAwsAccountByIDOK) GetPayload() *models.AwsAccount

type GetAwsAccountByIDParams

type GetAwsAccountByIDParams struct {

	/*ID*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAwsAccountByIDParams contains all the parameters to send to the API endpoint for the get aws account by Id operation typically these are written to a http.Request

func NewGetAwsAccountByIDParams

func NewGetAwsAccountByIDParams() *GetAwsAccountByIDParams

NewGetAwsAccountByIDParams creates a new GetAwsAccountByIDParams object with the default values initialized.

func NewGetAwsAccountByIDParamsWithContext

func NewGetAwsAccountByIDParamsWithContext(ctx context.Context) *GetAwsAccountByIDParams

NewGetAwsAccountByIDParamsWithContext creates a new GetAwsAccountByIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetAwsAccountByIDParamsWithHTTPClient

func NewGetAwsAccountByIDParamsWithHTTPClient(client *http.Client) *GetAwsAccountByIDParams

NewGetAwsAccountByIDParamsWithHTTPClient creates a new GetAwsAccountByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAwsAccountByIDParamsWithTimeout

func NewGetAwsAccountByIDParamsWithTimeout(timeout time.Duration) *GetAwsAccountByIDParams

NewGetAwsAccountByIDParamsWithTimeout creates a new GetAwsAccountByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAwsAccountByIDParams) SetContext

func (o *GetAwsAccountByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get aws account by Id params

func (*GetAwsAccountByIDParams) SetHTTPClient

func (o *GetAwsAccountByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get aws account by Id params

func (*GetAwsAccountByIDParams) SetID

func (o *GetAwsAccountByIDParams) SetID(id int32)

SetID adds the id to the get aws account by Id params

func (*GetAwsAccountByIDParams) SetTimeout

func (o *GetAwsAccountByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get aws account by Id params

func (*GetAwsAccountByIDParams) WithContext

WithContext adds the context to the get aws account by Id params

func (*GetAwsAccountByIDParams) WithHTTPClient

func (o *GetAwsAccountByIDParams) WithHTTPClient(client *http.Client) *GetAwsAccountByIDParams

WithHTTPClient adds the HTTPClient to the get aws account by Id params

func (*GetAwsAccountByIDParams) WithID

WithID adds the id to the get aws account by Id params

func (*GetAwsAccountByIDParams) WithTimeout

WithTimeout adds the timeout to the get aws account by Id params

func (*GetAwsAccountByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAwsAccountByIDReader

type GetAwsAccountByIDReader struct {
	// contains filtered or unexported fields
}

GetAwsAccountByIDReader is a Reader for the GetAwsAccountByID structure.

func (*GetAwsAccountByIDReader) ReadResponse

func (o *GetAwsAccountByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAwsAccountsOK

type GetAwsAccountsOK struct {
	Payload *models.APICollectionOfAwsAccount
}

GetAwsAccountsOK handles this case with default header values.

Success

func NewGetAwsAccountsOK

func NewGetAwsAccountsOK() *GetAwsAccountsOK

NewGetAwsAccountsOK creates a GetAwsAccountsOK with default headers values

func (*GetAwsAccountsOK) Error

func (o *GetAwsAccountsOK) Error() string

func (*GetAwsAccountsOK) GetPayload

type GetAwsAccountsParams

type GetAwsAccountsParams struct {

	/*ConsumerID*/
	ConsumerID *int32
	/*CustomerTenantType*/
	CustomerTenantType *string
	/*OrganizationID*/
	OrganizationID *int32
	/*Page*/
	Page *int32
	/*PageSize*/
	PageSize *int32
	/*PublisherID*/
	PublisherID *int32
	/*Search*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAwsAccountsParams contains all the parameters to send to the API endpoint for the get aws accounts operation typically these are written to a http.Request

func NewGetAwsAccountsParams

func NewGetAwsAccountsParams() *GetAwsAccountsParams

NewGetAwsAccountsParams creates a new GetAwsAccountsParams object with the default values initialized.

func NewGetAwsAccountsParamsWithContext

func NewGetAwsAccountsParamsWithContext(ctx context.Context) *GetAwsAccountsParams

NewGetAwsAccountsParamsWithContext creates a new GetAwsAccountsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAwsAccountsParamsWithHTTPClient

func NewGetAwsAccountsParamsWithHTTPClient(client *http.Client) *GetAwsAccountsParams

NewGetAwsAccountsParamsWithHTTPClient creates a new GetAwsAccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAwsAccountsParamsWithTimeout

func NewGetAwsAccountsParamsWithTimeout(timeout time.Duration) *GetAwsAccountsParams

NewGetAwsAccountsParamsWithTimeout creates a new GetAwsAccountsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAwsAccountsParams) SetConsumerID

func (o *GetAwsAccountsParams) SetConsumerID(consumerID *int32)

SetConsumerID adds the consumerId to the get aws accounts params

func (*GetAwsAccountsParams) SetContext

func (o *GetAwsAccountsParams) SetContext(ctx context.Context)

SetContext adds the context to the get aws accounts params

func (*GetAwsAccountsParams) SetCustomerTenantType

func (o *GetAwsAccountsParams) SetCustomerTenantType(customerTenantType *string)

SetCustomerTenantType adds the customerTenantType to the get aws accounts params

func (*GetAwsAccountsParams) SetHTTPClient

func (o *GetAwsAccountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get aws accounts params

func (*GetAwsAccountsParams) SetOrganizationID

func (o *GetAwsAccountsParams) SetOrganizationID(organizationID *int32)

SetOrganizationID adds the organizationId to the get aws accounts params

func (*GetAwsAccountsParams) SetPage

func (o *GetAwsAccountsParams) SetPage(page *int32)

SetPage adds the page to the get aws accounts params

func (*GetAwsAccountsParams) SetPageSize

func (o *GetAwsAccountsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get aws accounts params

func (*GetAwsAccountsParams) SetPublisherID

func (o *GetAwsAccountsParams) SetPublisherID(publisherID *int32)

SetPublisherID adds the publisherId to the get aws accounts params

func (*GetAwsAccountsParams) SetSearch

func (o *GetAwsAccountsParams) SetSearch(search *string)

SetSearch adds the search to the get aws accounts params

func (*GetAwsAccountsParams) SetTimeout

func (o *GetAwsAccountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get aws accounts params

func (*GetAwsAccountsParams) WithConsumerID

func (o *GetAwsAccountsParams) WithConsumerID(consumerID *int32) *GetAwsAccountsParams

WithConsumerID adds the consumerID to the get aws accounts params

func (*GetAwsAccountsParams) WithContext

WithContext adds the context to the get aws accounts params

func (*GetAwsAccountsParams) WithCustomerTenantType

func (o *GetAwsAccountsParams) WithCustomerTenantType(customerTenantType *string) *GetAwsAccountsParams

WithCustomerTenantType adds the customerTenantType to the get aws accounts params

func (*GetAwsAccountsParams) WithHTTPClient

func (o *GetAwsAccountsParams) WithHTTPClient(client *http.Client) *GetAwsAccountsParams

WithHTTPClient adds the HTTPClient to the get aws accounts params

func (*GetAwsAccountsParams) WithOrganizationID

func (o *GetAwsAccountsParams) WithOrganizationID(organizationID *int32) *GetAwsAccountsParams

WithOrganizationID adds the organizationID to the get aws accounts params

func (*GetAwsAccountsParams) WithPage

func (o *GetAwsAccountsParams) WithPage(page *int32) *GetAwsAccountsParams

WithPage adds the page to the get aws accounts params

func (*GetAwsAccountsParams) WithPageSize

func (o *GetAwsAccountsParams) WithPageSize(pageSize *int32) *GetAwsAccountsParams

WithPageSize adds the pageSize to the get aws accounts params

func (*GetAwsAccountsParams) WithPublisherID

func (o *GetAwsAccountsParams) WithPublisherID(publisherID *int32) *GetAwsAccountsParams

WithPublisherID adds the publisherID to the get aws accounts params

func (*GetAwsAccountsParams) WithSearch

func (o *GetAwsAccountsParams) WithSearch(search *string) *GetAwsAccountsParams

WithSearch adds the search to the get aws accounts params

func (*GetAwsAccountsParams) WithTimeout

func (o *GetAwsAccountsParams) WithTimeout(timeout time.Duration) *GetAwsAccountsParams

WithTimeout adds the timeout to the get aws accounts params

func (*GetAwsAccountsParams) WriteToRequest

func (o *GetAwsAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAwsAccountsReader

type GetAwsAccountsReader struct {
	// contains filtered or unexported fields
}

GetAwsAccountsReader is a Reader for the GetAwsAccounts structure.

func (*GetAwsAccountsReader) ReadResponse

func (o *GetAwsAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateAwsAccountsOK added in v1.2.0

type UpdateAwsAccountsOK struct {
	Payload *models.AwsAccount
}

UpdateAwsAccountsOK handles this case with default header values.

Success

func NewUpdateAwsAccountsOK added in v1.2.0

func NewUpdateAwsAccountsOK() *UpdateAwsAccountsOK

NewUpdateAwsAccountsOK creates a UpdateAwsAccountsOK with default headers values

func (*UpdateAwsAccountsOK) Error added in v1.2.0

func (o *UpdateAwsAccountsOK) Error() string

func (*UpdateAwsAccountsOK) GetPayload added in v1.2.0

func (o *UpdateAwsAccountsOK) GetPayload() *models.AwsAccount

type UpdateAwsAccountsParams added in v1.2.0

type UpdateAwsAccountsParams struct {

	/*AwsAccount*/
	AwsAccount *models.AwsAccount
	/*ID*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateAwsAccountsParams contains all the parameters to send to the API endpoint for the update aws accounts operation typically these are written to a http.Request

func NewUpdateAwsAccountsParams added in v1.2.0

func NewUpdateAwsAccountsParams() *UpdateAwsAccountsParams

NewUpdateAwsAccountsParams creates a new UpdateAwsAccountsParams object with the default values initialized.

func NewUpdateAwsAccountsParamsWithContext added in v1.2.0

func NewUpdateAwsAccountsParamsWithContext(ctx context.Context) *UpdateAwsAccountsParams

NewUpdateAwsAccountsParamsWithContext creates a new UpdateAwsAccountsParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateAwsAccountsParamsWithHTTPClient added in v1.2.0

func NewUpdateAwsAccountsParamsWithHTTPClient(client *http.Client) *UpdateAwsAccountsParams

NewUpdateAwsAccountsParamsWithHTTPClient creates a new UpdateAwsAccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateAwsAccountsParamsWithTimeout added in v1.2.0

func NewUpdateAwsAccountsParamsWithTimeout(timeout time.Duration) *UpdateAwsAccountsParams

NewUpdateAwsAccountsParamsWithTimeout creates a new UpdateAwsAccountsParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateAwsAccountsParams) SetAwsAccount added in v1.2.0

func (o *UpdateAwsAccountsParams) SetAwsAccount(awsAccount *models.AwsAccount)

SetAwsAccount adds the awsAccount to the update aws accounts params

func (*UpdateAwsAccountsParams) SetContext added in v1.2.0

func (o *UpdateAwsAccountsParams) SetContext(ctx context.Context)

SetContext adds the context to the update aws accounts params

func (*UpdateAwsAccountsParams) SetHTTPClient added in v1.2.0

func (o *UpdateAwsAccountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update aws accounts params

func (*UpdateAwsAccountsParams) SetID added in v1.2.0

func (o *UpdateAwsAccountsParams) SetID(id int32)

SetID adds the id to the update aws accounts params

func (*UpdateAwsAccountsParams) SetTimeout added in v1.2.0

func (o *UpdateAwsAccountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update aws accounts params

func (*UpdateAwsAccountsParams) WithAwsAccount added in v1.2.0

func (o *UpdateAwsAccountsParams) WithAwsAccount(awsAccount *models.AwsAccount) *UpdateAwsAccountsParams

WithAwsAccount adds the awsAccount to the update aws accounts params

func (*UpdateAwsAccountsParams) WithContext added in v1.2.0

WithContext adds the context to the update aws accounts params

func (*UpdateAwsAccountsParams) WithHTTPClient added in v1.2.0

func (o *UpdateAwsAccountsParams) WithHTTPClient(client *http.Client) *UpdateAwsAccountsParams

WithHTTPClient adds the HTTPClient to the update aws accounts params

func (*UpdateAwsAccountsParams) WithID added in v1.2.0

WithID adds the id to the update aws accounts params

func (*UpdateAwsAccountsParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the update aws accounts params

func (*UpdateAwsAccountsParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type UpdateAwsAccountsReader added in v1.2.0

type UpdateAwsAccountsReader struct {
	// contains filtered or unexported fields
}

UpdateAwsAccountsReader is a Reader for the UpdateAwsAccounts structure.

func (*UpdateAwsAccountsReader) ReadResponse added in v1.2.0

func (o *UpdateAwsAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL