operations

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DeleteLeasesIDOKBodyLeaseStatusActive captures enum value "Active"
	DeleteLeasesIDOKBodyLeaseStatusActive string = "Active"

	// DeleteLeasesIDOKBodyLeaseStatusInactive captures enum value "Inactive"
	DeleteLeasesIDOKBodyLeaseStatusInactive string = "Inactive"
)
View Source
const (

	// DeleteLeasesIDOKBodyLeaseStatusReasonLeaseExpired captures enum value "LeaseExpired"
	DeleteLeasesIDOKBodyLeaseStatusReasonLeaseExpired string = "LeaseExpired"

	// DeleteLeasesIDOKBodyLeaseStatusReasonLeaseOverBudget captures enum value "LeaseOverBudget"
	DeleteLeasesIDOKBodyLeaseStatusReasonLeaseOverBudget string = "LeaseOverBudget"

	// DeleteLeasesIDOKBodyLeaseStatusReasonLeaseDestroyed captures enum value "LeaseDestroyed"
	DeleteLeasesIDOKBodyLeaseStatusReasonLeaseDestroyed string = "LeaseDestroyed"

	// DeleteLeasesIDOKBodyLeaseStatusReasonLeaseActive captures enum value "LeaseActive"
	DeleteLeasesIDOKBodyLeaseStatusReasonLeaseActive string = "LeaseActive"

	// DeleteLeasesIDOKBodyLeaseStatusReasonLeaseRolledBack captures enum value "LeaseRolledBack"
	DeleteLeasesIDOKBodyLeaseStatusReasonLeaseRolledBack string = "LeaseRolledBack"
)
View Source
const (

	// DeleteLeasesOKBodyLeaseStatusActive captures enum value "Active"
	DeleteLeasesOKBodyLeaseStatusActive string = "Active"

	// DeleteLeasesOKBodyLeaseStatusInactive captures enum value "Inactive"
	DeleteLeasesOKBodyLeaseStatusInactive string = "Inactive"
)
View Source
const (

	// DeleteLeasesOKBodyLeaseStatusReasonLeaseExpired captures enum value "LeaseExpired"
	DeleteLeasesOKBodyLeaseStatusReasonLeaseExpired string = "LeaseExpired"

	// DeleteLeasesOKBodyLeaseStatusReasonLeaseOverBudget captures enum value "LeaseOverBudget"
	DeleteLeasesOKBodyLeaseStatusReasonLeaseOverBudget string = "LeaseOverBudget"

	// DeleteLeasesOKBodyLeaseStatusReasonLeaseDestroyed captures enum value "LeaseDestroyed"
	DeleteLeasesOKBodyLeaseStatusReasonLeaseDestroyed string = "LeaseDestroyed"

	// DeleteLeasesOKBodyLeaseStatusReasonLeaseActive captures enum value "LeaseActive"
	DeleteLeasesOKBodyLeaseStatusReasonLeaseActive string = "LeaseActive"

	// DeleteLeasesOKBodyLeaseStatusReasonLeaseRolledBack captures enum value "LeaseRolledBack"
	DeleteLeasesOKBodyLeaseStatusReasonLeaseRolledBack string = "LeaseRolledBack"
)
View Source
const (

	// GetAccountsIDOKBodyAccountStatusReady captures enum value "Ready"
	GetAccountsIDOKBodyAccountStatusReady string = "Ready"

	// GetAccountsIDOKBodyAccountStatusNotReady captures enum value "NotReady"
	GetAccountsIDOKBodyAccountStatusNotReady string = "NotReady"

	// GetAccountsIDOKBodyAccountStatusLeased captures enum value "Leased"
	GetAccountsIDOKBodyAccountStatusLeased string = "Leased"

	// GetAccountsIDOKBodyAccountStatusOrphaned captures enum value "Orphaned"
	GetAccountsIDOKBodyAccountStatusOrphaned string = "Orphaned"
)
View Source
const (

	// GetAccountsOKBodyItems0AccountStatusReady captures enum value "Ready"
	GetAccountsOKBodyItems0AccountStatusReady string = "Ready"

	// GetAccountsOKBodyItems0AccountStatusNotReady captures enum value "NotReady"
	GetAccountsOKBodyItems0AccountStatusNotReady string = "NotReady"

	// GetAccountsOKBodyItems0AccountStatusLeased captures enum value "Leased"
	GetAccountsOKBodyItems0AccountStatusLeased string = "Leased"

	// GetAccountsOKBodyItems0AccountStatusOrphaned captures enum value "Orphaned"
	GetAccountsOKBodyItems0AccountStatusOrphaned string = "Orphaned"
)
View Source
const (

	// GetLeasesIDOKBodyLeaseStatusActive captures enum value "Active"
	GetLeasesIDOKBodyLeaseStatusActive string = "Active"

	// GetLeasesIDOKBodyLeaseStatusInactive captures enum value "Inactive"
	GetLeasesIDOKBodyLeaseStatusInactive string = "Inactive"
)
View Source
const (

	// GetLeasesIDOKBodyLeaseStatusReasonLeaseExpired captures enum value "LeaseExpired"
	GetLeasesIDOKBodyLeaseStatusReasonLeaseExpired string = "LeaseExpired"

	// GetLeasesIDOKBodyLeaseStatusReasonLeaseOverBudget captures enum value "LeaseOverBudget"
	GetLeasesIDOKBodyLeaseStatusReasonLeaseOverBudget string = "LeaseOverBudget"

	// GetLeasesIDOKBodyLeaseStatusReasonLeaseDestroyed captures enum value "LeaseDestroyed"
	GetLeasesIDOKBodyLeaseStatusReasonLeaseDestroyed string = "LeaseDestroyed"

	// GetLeasesIDOKBodyLeaseStatusReasonLeaseActive captures enum value "LeaseActive"
	GetLeasesIDOKBodyLeaseStatusReasonLeaseActive string = "LeaseActive"

	// GetLeasesIDOKBodyLeaseStatusReasonLeaseRolledBack captures enum value "LeaseRolledBack"
	GetLeasesIDOKBodyLeaseStatusReasonLeaseRolledBack string = "LeaseRolledBack"
)
View Source
const (

	// GetLeasesOKBodyItems0LeaseStatusActive captures enum value "Active"
	GetLeasesOKBodyItems0LeaseStatusActive string = "Active"

	// GetLeasesOKBodyItems0LeaseStatusInactive captures enum value "Inactive"
	GetLeasesOKBodyItems0LeaseStatusInactive string = "Inactive"
)
View Source
const (

	// GetLeasesOKBodyItems0LeaseStatusReasonLeaseExpired captures enum value "LeaseExpired"
	GetLeasesOKBodyItems0LeaseStatusReasonLeaseExpired string = "LeaseExpired"

	// GetLeasesOKBodyItems0LeaseStatusReasonLeaseOverBudget captures enum value "LeaseOverBudget"
	GetLeasesOKBodyItems0LeaseStatusReasonLeaseOverBudget string = "LeaseOverBudget"

	// GetLeasesOKBodyItems0LeaseStatusReasonLeaseDestroyed captures enum value "LeaseDestroyed"
	GetLeasesOKBodyItems0LeaseStatusReasonLeaseDestroyed string = "LeaseDestroyed"

	// GetLeasesOKBodyItems0LeaseStatusReasonLeaseActive captures enum value "LeaseActive"
	GetLeasesOKBodyItems0LeaseStatusReasonLeaseActive string = "LeaseActive"

	// GetLeasesOKBodyItems0LeaseStatusReasonLeaseRolledBack captures enum value "LeaseRolledBack"
	GetLeasesOKBodyItems0LeaseStatusReasonLeaseRolledBack string = "LeaseRolledBack"
)
View Source
const (

	// PostLeasesCreatedBodyLeaseStatusActive captures enum value "Active"
	PostLeasesCreatedBodyLeaseStatusActive string = "Active"

	// PostLeasesCreatedBodyLeaseStatusInactive captures enum value "Inactive"
	PostLeasesCreatedBodyLeaseStatusInactive string = "Inactive"
)
View Source
const (

	// PostLeasesCreatedBodyLeaseStatusReasonLeaseExpired captures enum value "LeaseExpired"
	PostLeasesCreatedBodyLeaseStatusReasonLeaseExpired string = "LeaseExpired"

	// PostLeasesCreatedBodyLeaseStatusReasonLeaseOverBudget captures enum value "LeaseOverBudget"
	PostLeasesCreatedBodyLeaseStatusReasonLeaseOverBudget string = "LeaseOverBudget"

	// PostLeasesCreatedBodyLeaseStatusReasonLeaseDestroyed captures enum value "LeaseDestroyed"
	PostLeasesCreatedBodyLeaseStatusReasonLeaseDestroyed string = "LeaseDestroyed"

	// PostLeasesCreatedBodyLeaseStatusReasonLeaseActive captures enum value "LeaseActive"
	PostLeasesCreatedBodyLeaseStatusReasonLeaseActive string = "LeaseActive"

	// PostLeasesCreatedBodyLeaseStatusReasonLeaseRolledBack captures enum value "LeaseRolledBack"
	PostLeasesCreatedBodyLeaseStatusReasonLeaseRolledBack string = "LeaseRolledBack"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for operations API

func (*Client) DeleteAccountsID

func (a *Client) DeleteAccountsID(params *DeleteAccountsIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAccountsIDNoContent, error)

DeleteAccountsID deletes an account by ID

func (*Client) DeleteLeases

func (a *Client) DeleteLeases(params *DeleteLeasesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLeasesOK, error)

DeleteLeases removes a lease

func (*Client) DeleteLeasesID added in v0.5.0

func (a *Client) DeleteLeasesID(params *DeleteLeasesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLeasesIDOK, error)

DeleteLeasesID deletes a lease by ID

func (*Client) GetAccounts

func (a *Client) GetAccounts(params *GetAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsOK, error)

GetAccounts gets accounts

func (*Client) GetAccountsID

func (a *Client) GetAccountsID(params *GetAccountsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsIDOK, error)

GetAccountsID gets a specific account by an account ID

func (*Client) GetAuth added in v0.5.0

func (a *Client) GetAuth(params *GetAuthParams) (*GetAuthOK, error)

GetAuth gets the d c e system authentication web page

func (*Client) GetAuthFile added in v0.5.0

func (a *Client) GetAuthFile(params *GetAuthFileParams) (*GetAuthFileOK, error)

GetAuthFile gets the d c e system authentication web page static assets

func (*Client) GetLeases

func (a *Client) GetLeases(params *GetLeasesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLeasesOK, error)

GetLeases gets leases

func (*Client) GetLeasesID

func (a *Client) GetLeasesID(params *GetLeasesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetLeasesIDOK, error)

GetLeasesID gets a lease by Id

func (*Client) GetUsage

func (a *Client) GetUsage(params *GetUsageParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsageOK, error)

GetUsage gets usage records by date range

func (*Client) PostAccounts

func (a *Client) PostAccounts(params *PostAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*PostAccountsCreated, error)

PostAccounts adds an a w s account to the account pool

func (*Client) PostLeases

func (a *Client) PostLeases(params *PostLeasesParams, authInfo runtime.ClientAuthInfoWriter) (*PostLeasesCreated, error)

PostLeases creates a new lease

func (*Client) PostLeasesAuth added in v0.5.0

func (a *Client) PostLeasesAuth(params *PostLeasesAuthParams, authInfo runtime.ClientAuthInfoWriter) (*PostLeasesAuthCreated, error)

PostLeasesAuth creates lease authentication by for the requesting user s active lease

func (*Client) PostLeasesIDAuth

func (a *Client) PostLeasesIDAuth(params *PostLeasesIDAuthParams, authInfo runtime.ClientAuthInfoWriter) (*PostLeasesIDAuthCreated, error)

PostLeasesIDAuth creates lease authentication by Id

func (*Client) PutAccountsID added in v0.5.0

func (a *Client) PutAccountsID(params *PutAccountsIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutAccountsIDOK, error)

PutAccountsID updates an account

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService added in v0.5.0

type ClientService interface {
	DeleteAccountsID(params *DeleteAccountsIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAccountsIDNoContent, error)

	DeleteLeases(params *DeleteLeasesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLeasesOK, error)

	DeleteLeasesID(params *DeleteLeasesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLeasesIDOK, error)

	GetAccounts(params *GetAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsOK, error)

	GetAccountsID(params *GetAccountsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsIDOK, error)

	GetAuth(params *GetAuthParams) (*GetAuthOK, error)

	GetAuthFile(params *GetAuthFileParams) (*GetAuthFileOK, error)

	GetLeases(params *GetLeasesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLeasesOK, error)

	GetLeasesID(params *GetLeasesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetLeasesIDOK, error)

	GetUsage(params *GetUsageParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsageOK, error)

	PostAccounts(params *PostAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*PostAccountsCreated, error)

	PostLeases(params *PostLeasesParams, authInfo runtime.ClientAuthInfoWriter) (*PostLeasesCreated, error)

	PostLeasesAuth(params *PostLeasesAuthParams, authInfo runtime.ClientAuthInfoWriter) (*PostLeasesAuthCreated, error)

	PostLeasesIDAuth(params *PostLeasesIDAuthParams, authInfo runtime.ClientAuthInfoWriter) (*PostLeasesIDAuthCreated, error)

	PutAccountsID(params *PutAccountsIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutAccountsIDOK, 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 operations API client.

type DeleteAccountsIDConflict

type DeleteAccountsIDConflict struct {
}

DeleteAccountsIDConflict handles this case with default header values.

The account is unable to be deleted.

func NewDeleteAccountsIDConflict

func NewDeleteAccountsIDConflict() *DeleteAccountsIDConflict

NewDeleteAccountsIDConflict creates a DeleteAccountsIDConflict with default headers values

func (*DeleteAccountsIDConflict) Error

func (o *DeleteAccountsIDConflict) Error() string

type DeleteAccountsIDForbidden

type DeleteAccountsIDForbidden struct {
}

DeleteAccountsIDForbidden handles this case with default header values.

Unauthorized.

func NewDeleteAccountsIDForbidden

func NewDeleteAccountsIDForbidden() *DeleteAccountsIDForbidden

NewDeleteAccountsIDForbidden creates a DeleteAccountsIDForbidden with default headers values

func (*DeleteAccountsIDForbidden) Error

func (o *DeleteAccountsIDForbidden) Error() string

type DeleteAccountsIDNoContent

type DeleteAccountsIDNoContent struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

DeleteAccountsIDNoContent handles this case with default header values.

The account has been successfully deleted.

func NewDeleteAccountsIDNoContent

func NewDeleteAccountsIDNoContent() *DeleteAccountsIDNoContent

NewDeleteAccountsIDNoContent creates a DeleteAccountsIDNoContent with default headers values

func (*DeleteAccountsIDNoContent) Error

func (o *DeleteAccountsIDNoContent) Error() string

type DeleteAccountsIDNotFound

type DeleteAccountsIDNotFound struct {
}

DeleteAccountsIDNotFound handles this case with default header values.

No account found for the given ID.

func NewDeleteAccountsIDNotFound

func NewDeleteAccountsIDNotFound() *DeleteAccountsIDNotFound

NewDeleteAccountsIDNotFound creates a DeleteAccountsIDNotFound with default headers values

func (*DeleteAccountsIDNotFound) Error

func (o *DeleteAccountsIDNotFound) Error() string

type DeleteAccountsIDParams

type DeleteAccountsIDParams struct {

	/*ID
	  The ID of the account to be deleted.

	*/
	ID string

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

DeleteAccountsIDParams contains all the parameters to send to the API endpoint for the delete accounts ID operation typically these are written to a http.Request

func NewDeleteAccountsIDParams

func NewDeleteAccountsIDParams() *DeleteAccountsIDParams

NewDeleteAccountsIDParams creates a new DeleteAccountsIDParams object with the default values initialized.

func NewDeleteAccountsIDParamsWithContext

func NewDeleteAccountsIDParamsWithContext(ctx context.Context) *DeleteAccountsIDParams

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

func NewDeleteAccountsIDParamsWithHTTPClient

func NewDeleteAccountsIDParamsWithHTTPClient(client *http.Client) *DeleteAccountsIDParams

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

func NewDeleteAccountsIDParamsWithTimeout

func NewDeleteAccountsIDParamsWithTimeout(timeout time.Duration) *DeleteAccountsIDParams

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

func (*DeleteAccountsIDParams) SetContext

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

SetContext adds the context to the delete accounts ID params

func (*DeleteAccountsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete accounts ID params

func (*DeleteAccountsIDParams) SetID

func (o *DeleteAccountsIDParams) SetID(id string)

SetID adds the id to the delete accounts ID params

func (*DeleteAccountsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete accounts ID params

func (*DeleteAccountsIDParams) WithContext

WithContext adds the context to the delete accounts ID params

func (*DeleteAccountsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete accounts ID params

func (*DeleteAccountsIDParams) WithID

WithID adds the id to the delete accounts ID params

func (*DeleteAccountsIDParams) WithTimeout

WithTimeout adds the timeout to the delete accounts ID params

func (*DeleteAccountsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccountsIDReader

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

DeleteAccountsIDReader is a Reader for the DeleteAccountsID structure.

func (*DeleteAccountsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLeasesBadRequest

type DeleteLeasesBadRequest struct {
}

DeleteLeasesBadRequest handles this case with default header values.

"Failed to Parse Request Body" if the request body is blank or incorrectly formatted. or if there are no account leases found for the specified accountId or if the account specified is not already Active.

func NewDeleteLeasesBadRequest

func NewDeleteLeasesBadRequest() *DeleteLeasesBadRequest

NewDeleteLeasesBadRequest creates a DeleteLeasesBadRequest with default headers values

func (*DeleteLeasesBadRequest) Error

func (o *DeleteLeasesBadRequest) Error() string

type DeleteLeasesBody

type DeleteLeasesBody struct {

	// account Id
	// Required: true
	AccountID *string `json:"accountId"`

	// principal Id
	// Required: true
	PrincipalID *string `json:"principalId"`
}

DeleteLeasesBody delete leases body swagger:model DeleteLeasesBody

func (*DeleteLeasesBody) MarshalBinary

func (o *DeleteLeasesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteLeasesBody) UnmarshalBinary

func (o *DeleteLeasesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteLeasesBody) Validate

func (o *DeleteLeasesBody) Validate(formats strfmt.Registry) error

Validate validates this delete leases body

type DeleteLeasesForbidden

type DeleteLeasesForbidden struct {
}

DeleteLeasesForbidden handles this case with default header values.

Failed to authenticate request

func NewDeleteLeasesForbidden

func NewDeleteLeasesForbidden() *DeleteLeasesForbidden

NewDeleteLeasesForbidden creates a DeleteLeasesForbidden with default headers values

func (*DeleteLeasesForbidden) Error

func (o *DeleteLeasesForbidden) Error() string

type DeleteLeasesIDBadRequest added in v0.5.0

type DeleteLeasesIDBadRequest struct {
}

DeleteLeasesIDBadRequest handles this case with default header values.

"Failed to Parse Request Body" if the request body is blank or incorrectly formatted. or if there are no account leases found for the specified accountId or if the account specified is not already Active.

func NewDeleteLeasesIDBadRequest added in v0.5.0

func NewDeleteLeasesIDBadRequest() *DeleteLeasesIDBadRequest

NewDeleteLeasesIDBadRequest creates a DeleteLeasesIDBadRequest with default headers values

func (*DeleteLeasesIDBadRequest) Error added in v0.5.0

func (o *DeleteLeasesIDBadRequest) Error() string

type DeleteLeasesIDForbidden added in v0.5.0

type DeleteLeasesIDForbidden struct {
}

DeleteLeasesIDForbidden handles this case with default header values.

Failed to authenticate request

func NewDeleteLeasesIDForbidden added in v0.5.0

func NewDeleteLeasesIDForbidden() *DeleteLeasesIDForbidden

NewDeleteLeasesIDForbidden creates a DeleteLeasesIDForbidden with default headers values

func (*DeleteLeasesIDForbidden) Error added in v0.5.0

func (o *DeleteLeasesIDForbidden) Error() string

type DeleteLeasesIDInternalServerError added in v0.5.0

type DeleteLeasesIDInternalServerError struct {
}

DeleteLeasesIDInternalServerError handles this case with default header values.

Server errors if the database cannot be reached.

func NewDeleteLeasesIDInternalServerError added in v0.5.0

func NewDeleteLeasesIDInternalServerError() *DeleteLeasesIDInternalServerError

NewDeleteLeasesIDInternalServerError creates a DeleteLeasesIDInternalServerError with default headers values

func (*DeleteLeasesIDInternalServerError) Error added in v0.5.0

type DeleteLeasesIDOK added in v0.5.0

type DeleteLeasesIDOK struct {
	Payload *DeleteLeasesIDOKBody
}

DeleteLeasesIDOK handles this case with default header values.

DeleteLeasesIDOK delete leases Id o k

func NewDeleteLeasesIDOK added in v0.5.0

func NewDeleteLeasesIDOK() *DeleteLeasesIDOK

NewDeleteLeasesIDOK creates a DeleteLeasesIDOK with default headers values

func (*DeleteLeasesIDOK) Error added in v0.5.0

func (o *DeleteLeasesIDOK) Error() string

func (*DeleteLeasesIDOK) GetPayload added in v0.5.0

func (o *DeleteLeasesIDOK) GetPayload() *DeleteLeasesIDOKBody

type DeleteLeasesIDOKBody added in v0.5.0

type DeleteLeasesIDOKBody struct {

	// accountId of the AWS account
	AccountID string `json:"accountId,omitempty"`

	// budget amount
	BudgetAmount float64 `json:"budgetAmount,omitempty"`

	// budget currency
	BudgetCurrency string `json:"budgetCurrency,omitempty"`

	// budget notification emails
	BudgetNotificationEmails []string `json:"budgetNotificationEmails"`

	// creation date in epoch seconds
	CreatedOn float64 `json:"createdOn,omitempty"`

	// date lease should expire in epoch seconds
	ExpiresOn float64 `json:"expiresOn,omitempty"`

	// Lease ID
	ID string `json:"id,omitempty"`

	// date last modified in epoch seconds
	LastModifiedOn float64 `json:"lastModifiedOn,omitempty"`

	// Status of the Lease.
	// "Active": The principal is leased and has access to the account
	// "Inactive": The lease has become inactive, either through expiring, exceeding budget, or by request.
	//
	// Enum: [Active Inactive]
	LeaseStatus string `json:"leaseStatus,omitempty"`

	// date lease status was last modified in epoch seconds
	LeaseStatusModifiedOn float64 `json:"leaseStatusModifiedOn,omitempty"`

	// A reason behind the lease status.
	// "LeaseExpired": The lease exceeded its expiration time ("expiresOn") and
	// the associated account was reset and returned to the account pool.
	// "LeaseOverBudget": The lease exceeded its budgeted amount and the
	// associated account was reset and returned to the account pool.
	// "LeaseDestroyed": The lease was adminstratively ended, which can be done
	// via the leases API.
	// "LeaseActive": The lease is active.
	// "LeaseRolledBack": A system error occurred while provisioning the lease.
	// and it was rolled back.
	//
	// Enum: [LeaseExpired LeaseOverBudget LeaseDestroyed LeaseActive LeaseRolledBack]
	LeaseStatusReason string `json:"leaseStatusReason,omitempty"`

	// principalId of the lease to get
	PrincipalID string `json:"principalId,omitempty"`
}

DeleteLeasesIDOKBody Lease Details swagger:model DeleteLeasesIDOKBody

func (*DeleteLeasesIDOKBody) MarshalBinary added in v0.5.0

func (o *DeleteLeasesIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteLeasesIDOKBody) UnmarshalBinary added in v0.5.0

func (o *DeleteLeasesIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteLeasesIDOKBody) Validate added in v0.5.0

func (o *DeleteLeasesIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this delete leases ID o k body

type DeleteLeasesIDParams added in v0.5.0

type DeleteLeasesIDParams struct {

	/*ID
	  The ID of the lease to be deleted.

	*/
	ID string

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

DeleteLeasesIDParams contains all the parameters to send to the API endpoint for the delete leases ID operation typically these are written to a http.Request

func NewDeleteLeasesIDParams added in v0.5.0

func NewDeleteLeasesIDParams() *DeleteLeasesIDParams

NewDeleteLeasesIDParams creates a new DeleteLeasesIDParams object with the default values initialized.

func NewDeleteLeasesIDParamsWithContext added in v0.5.0

func NewDeleteLeasesIDParamsWithContext(ctx context.Context) *DeleteLeasesIDParams

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

func NewDeleteLeasesIDParamsWithHTTPClient added in v0.5.0

func NewDeleteLeasesIDParamsWithHTTPClient(client *http.Client) *DeleteLeasesIDParams

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

func NewDeleteLeasesIDParamsWithTimeout added in v0.5.0

func NewDeleteLeasesIDParamsWithTimeout(timeout time.Duration) *DeleteLeasesIDParams

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

func (*DeleteLeasesIDParams) SetContext added in v0.5.0

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

SetContext adds the context to the delete leases ID params

func (*DeleteLeasesIDParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the delete leases ID params

func (*DeleteLeasesIDParams) SetID added in v0.5.0

func (o *DeleteLeasesIDParams) SetID(id string)

SetID adds the id to the delete leases ID params

func (*DeleteLeasesIDParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the delete leases ID params

func (*DeleteLeasesIDParams) WithContext added in v0.5.0

WithContext adds the context to the delete leases ID params

func (*DeleteLeasesIDParams) WithHTTPClient added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the delete leases ID params

func (*DeleteLeasesIDParams) WithID added in v0.5.0

WithID adds the id to the delete leases ID params

func (*DeleteLeasesIDParams) WithTimeout added in v0.5.0

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

WithTimeout adds the timeout to the delete leases ID params

func (*DeleteLeasesIDParams) WriteToRequest added in v0.5.0

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

WriteToRequest writes these params to a swagger request

type DeleteLeasesIDReader added in v0.5.0

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

DeleteLeasesIDReader is a Reader for the DeleteLeasesID structure.

func (*DeleteLeasesIDReader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type DeleteLeasesInternalServerError

type DeleteLeasesInternalServerError struct {
}

DeleteLeasesInternalServerError handles this case with default header values.

Server errors if the database cannot be reached.

func NewDeleteLeasesInternalServerError

func NewDeleteLeasesInternalServerError() *DeleteLeasesInternalServerError

NewDeleteLeasesInternalServerError creates a DeleteLeasesInternalServerError with default headers values

func (*DeleteLeasesInternalServerError) Error

type DeleteLeasesOK

type DeleteLeasesOK struct {
	Payload *DeleteLeasesOKBody
}

DeleteLeasesOK handles this case with default header values.

DeleteLeasesOK delete leases o k

func NewDeleteLeasesOK

func NewDeleteLeasesOK() *DeleteLeasesOK

NewDeleteLeasesOK creates a DeleteLeasesOK with default headers values

func (*DeleteLeasesOK) Error

func (o *DeleteLeasesOK) Error() string

func (*DeleteLeasesOK) GetPayload

func (o *DeleteLeasesOK) GetPayload() *DeleteLeasesOKBody

type DeleteLeasesOKBody

type DeleteLeasesOKBody struct {

	// accountId of the AWS account
	AccountID string `json:"accountId,omitempty"`

	// budget amount
	BudgetAmount float64 `json:"budgetAmount,omitempty"`

	// budget currency
	BudgetCurrency string `json:"budgetCurrency,omitempty"`

	// budget notification emails
	BudgetNotificationEmails []string `json:"budgetNotificationEmails"`

	// creation date in epoch seconds
	CreatedOn float64 `json:"createdOn,omitempty"`

	// date lease should expire in epoch seconds
	ExpiresOn float64 `json:"expiresOn,omitempty"`

	// Lease ID
	ID string `json:"id,omitempty"`

	// date last modified in epoch seconds
	LastModifiedOn float64 `json:"lastModifiedOn,omitempty"`

	// Status of the Lease.
	// "Active": The principal is leased and has access to the account
	// "Inactive": The lease has become inactive, either through expiring, exceeding budget, or by request.
	//
	// Enum: [Active Inactive]
	LeaseStatus string `json:"leaseStatus,omitempty"`

	// date lease status was last modified in epoch seconds
	LeaseStatusModifiedOn float64 `json:"leaseStatusModifiedOn,omitempty"`

	// A reason behind the lease status.
	// "LeaseExpired": The lease exceeded its expiration time ("expiresOn") and
	// the associated account was reset and returned to the account pool.
	// "LeaseOverBudget": The lease exceeded its budgeted amount and the
	// associated account was reset and returned to the account pool.
	// "LeaseDestroyed": The lease was adminstratively ended, which can be done
	// via the leases API.
	// "LeaseActive": The lease is active.
	// "LeaseRolledBack": A system error occurred while provisioning the lease.
	// and it was rolled back.
	//
	// Enum: [LeaseExpired LeaseOverBudget LeaseDestroyed LeaseActive LeaseRolledBack]
	LeaseStatusReason string `json:"leaseStatusReason,omitempty"`

	// principalId of the lease to get
	PrincipalID string `json:"principalId,omitempty"`
}

DeleteLeasesOKBody Lease Details swagger:model DeleteLeasesOKBody

func (*DeleteLeasesOKBody) MarshalBinary

func (o *DeleteLeasesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteLeasesOKBody) UnmarshalBinary

func (o *DeleteLeasesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteLeasesOKBody) Validate

func (o *DeleteLeasesOKBody) Validate(formats strfmt.Registry) error

Validate validates this delete leases o k body

type DeleteLeasesParams

type DeleteLeasesParams struct {

	/*Lease
	  The owner of the lease

	*/
	Lease DeleteLeasesBody

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

DeleteLeasesParams contains all the parameters to send to the API endpoint for the delete leases operation typically these are written to a http.Request

func NewDeleteLeasesParams

func NewDeleteLeasesParams() *DeleteLeasesParams

NewDeleteLeasesParams creates a new DeleteLeasesParams object with the default values initialized.

func NewDeleteLeasesParamsWithContext

func NewDeleteLeasesParamsWithContext(ctx context.Context) *DeleteLeasesParams

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

func NewDeleteLeasesParamsWithHTTPClient

func NewDeleteLeasesParamsWithHTTPClient(client *http.Client) *DeleteLeasesParams

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

func NewDeleteLeasesParamsWithTimeout

func NewDeleteLeasesParamsWithTimeout(timeout time.Duration) *DeleteLeasesParams

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

func (*DeleteLeasesParams) SetContext

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

SetContext adds the context to the delete leases params

func (*DeleteLeasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete leases params

func (*DeleteLeasesParams) SetLease

func (o *DeleteLeasesParams) SetLease(lease DeleteLeasesBody)

SetLease adds the lease to the delete leases params

func (*DeleteLeasesParams) SetTimeout

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

SetTimeout adds the timeout to the delete leases params

func (*DeleteLeasesParams) WithContext

WithContext adds the context to the delete leases params

func (*DeleteLeasesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete leases params

func (*DeleteLeasesParams) WithLease

WithLease adds the lease to the delete leases params

func (*DeleteLeasesParams) WithTimeout

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

WithTimeout adds the timeout to the delete leases params

func (*DeleteLeasesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteLeasesReader

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

DeleteLeasesReader is a Reader for the DeleteLeases structure.

func (*DeleteLeasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsForbidden

type GetAccountsForbidden struct {
}

GetAccountsForbidden handles this case with default header values.

Unauthorized

func NewGetAccountsForbidden

func NewGetAccountsForbidden() *GetAccountsForbidden

NewGetAccountsForbidden creates a GetAccountsForbidden with default headers values

func (*GetAccountsForbidden) Error

func (o *GetAccountsForbidden) Error() string

type GetAccountsIDForbidden

type GetAccountsIDForbidden struct {
}

GetAccountsIDForbidden handles this case with default header values.

Failed to retrieve account

func NewGetAccountsIDForbidden

func NewGetAccountsIDForbidden() *GetAccountsIDForbidden

NewGetAccountsIDForbidden creates a GetAccountsIDForbidden with default headers values

func (*GetAccountsIDForbidden) Error

func (o *GetAccountsIDForbidden) Error() string

type GetAccountsIDOK

type GetAccountsIDOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	Payload *GetAccountsIDOKBody
}

GetAccountsIDOK handles this case with default header values.

GetAccountsIDOK get accounts Id o k

func NewGetAccountsIDOK

func NewGetAccountsIDOK() *GetAccountsIDOK

NewGetAccountsIDOK creates a GetAccountsIDOK with default headers values

func (*GetAccountsIDOK) Error

func (o *GetAccountsIDOK) Error() string

func (*GetAccountsIDOK) GetPayload

func (o *GetAccountsIDOK) GetPayload() *GetAccountsIDOKBody

type GetAccountsIDOKBody

type GetAccountsIDOKBody struct {

	// Status of the Account.
	// "Ready": The account is clean and ready for lease
	// "NotReady": The account is in "dirty" state, and needs to be reset before it may be leased.
	// "Leased": The account is leased to a principal
	//
	// Enum: [Ready NotReady Leased Orphaned]
	AccountStatus string `json:"accountStatus,omitempty"`

	// ARN for an IAM role within this AWS account. The DCE master account will assume this IAM role to execute operations within this AWS account. This IAM role is configured by the client, and must be configured with [a Trust Relationship with the DCE master account.](/https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html)
	AdminRoleArn string `json:"adminRoleArn,omitempty"`

	// Epoch timestamp, when account record was created
	CreatedOn int64 `json:"createdOn,omitempty"`

	// AWS Account ID
	ID string `json:"id,omitempty"`

	// Epoch timestamp, when account record was last modified
	LastModifiedOn int64 `json:"lastModifiedOn,omitempty"`

	// Any organization specific data pertaining to the account that needs to be persisted
	Metadata interface{} `json:"metadata,omitempty"`

	// The S3 object ETag used to apply the Principal IAM Policy within this AWS account.  This policy is created by the DCE master account, and is assumed by people with access to principalRoleArn.
	PrincipalPolicyHash string `json:"principalPolicyHash,omitempty"`

	// ARN for an IAM role within this AWS account. This role is created by the DCE master account, and may be assumed by principals to login to their AWS child account.
	PrincipalRoleArn string `json:"principalRoleArn,omitempty"`
}

GetAccountsIDOKBody Account Details swagger:model GetAccountsIDOKBody

func (*GetAccountsIDOKBody) MarshalBinary

func (o *GetAccountsIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountsIDOKBody) UnmarshalBinary

func (o *GetAccountsIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountsIDOKBody) Validate

func (o *GetAccountsIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this get accounts ID o k body

type GetAccountsIDParams

type GetAccountsIDParams struct {

	/*ID
	  AWS Account ID

	*/
	ID string

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

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

func NewGetAccountsIDParams

func NewGetAccountsIDParams() *GetAccountsIDParams

NewGetAccountsIDParams creates a new GetAccountsIDParams object with the default values initialized.

func NewGetAccountsIDParamsWithContext

func NewGetAccountsIDParamsWithContext(ctx context.Context) *GetAccountsIDParams

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

func NewGetAccountsIDParamsWithHTTPClient

func NewGetAccountsIDParamsWithHTTPClient(client *http.Client) *GetAccountsIDParams

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

func NewGetAccountsIDParamsWithTimeout

func NewGetAccountsIDParamsWithTimeout(timeout time.Duration) *GetAccountsIDParams

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

func (*GetAccountsIDParams) SetContext

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

SetContext adds the context to the get accounts ID params

func (*GetAccountsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get accounts ID params

func (*GetAccountsIDParams) SetID

func (o *GetAccountsIDParams) SetID(id string)

SetID adds the id to the get accounts ID params

func (*GetAccountsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get accounts ID params

func (*GetAccountsIDParams) WithContext

WithContext adds the context to the get accounts ID params

func (*GetAccountsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get accounts ID params

func (*GetAccountsIDParams) WithID

WithID adds the id to the get accounts ID params

func (*GetAccountsIDParams) WithTimeout

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

WithTimeout adds the timeout to the get accounts ID params

func (*GetAccountsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountsIDReader

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

GetAccountsIDReader is a Reader for the GetAccountsID structure.

func (*GetAccountsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsOK

type GetAccountsOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
	/*Appears only when there is another page of results in the query. The value contains the URL for the next page of the results and follows the `<url>; rel="next"` convention.
	 */
	Link string

	Payload []*GetAccountsOKBodyItems0
}

GetAccountsOK handles this case with default header values.

OK

func NewGetAccountsOK

func NewGetAccountsOK() *GetAccountsOK

NewGetAccountsOK creates a GetAccountsOK with default headers values

func (*GetAccountsOK) Error

func (o *GetAccountsOK) Error() string

func (*GetAccountsOK) GetPayload

func (o *GetAccountsOK) GetPayload() []*GetAccountsOKBodyItems0

type GetAccountsOKBodyItems0

type GetAccountsOKBodyItems0 struct {

	// Status of the Account.
	// "Ready": The account is clean and ready for lease
	// "NotReady": The account is in "dirty" state, and needs to be reset before it may be leased.
	// "Leased": The account is leased to a principal
	//
	// Enum: [Ready NotReady Leased Orphaned]
	AccountStatus string `json:"accountStatus,omitempty"`

	// ARN for an IAM role within this AWS account. The DCE master account will assume this IAM role to execute operations within this AWS account. This IAM role is configured by the client, and must be configured with [a Trust Relationship with the DCE master account.](/https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html)
	AdminRoleArn string `json:"adminRoleArn,omitempty"`

	// Epoch timestamp, when account record was created
	CreatedOn int64 `json:"createdOn,omitempty"`

	// AWS Account ID
	ID string `json:"id,omitempty"`

	// Epoch timestamp, when account record was last modified
	LastModifiedOn int64 `json:"lastModifiedOn,omitempty"`

	// Any organization specific data pertaining to the account that needs to be persisted
	Metadata interface{} `json:"metadata,omitempty"`

	// The S3 object ETag used to apply the Principal IAM Policy within this AWS account.  This policy is created by the DCE master account, and is assumed by people with access to principalRoleArn.
	PrincipalPolicyHash string `json:"principalPolicyHash,omitempty"`

	// ARN for an IAM role within this AWS account. This role is created by the DCE master account, and may be assumed by principals to login to their AWS child account.
	PrincipalRoleArn string `json:"principalRoleArn,omitempty"`
}

GetAccountsOKBodyItems0 Account Details swagger:model GetAccountsOKBodyItems0

func (*GetAccountsOKBodyItems0) MarshalBinary

func (o *GetAccountsOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountsOKBodyItems0) UnmarshalBinary

func (o *GetAccountsOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountsOKBodyItems0) Validate

func (o *GetAccountsOKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this get accounts o k body items0

type GetAccountsParams

type GetAccountsParams struct {

	/*AdminRoleArn
	  The Admin Role ARN for the account.

	*/
	AdminRoleArn *string
	/*ID
	  Account ID.

	*/
	ID *string
	/*Limit
	  The maximum number of accounts to evaluate (not necessarily the number of matching accounts). If there is another page, the URL for page will be in the response Link header.

	*/
	Limit *int64
	/*NextID
	  Account ID with which to begin the scan operation. This is used to traverse through paginated results.

	*/
	NextID *string
	/*PrincipalPolicyHash
	  The Principal Policy version for the account.

	*/
	PrincipalPolicyHash *string
	/*PrincipalRoleArn
	  The Principal Role ARN for the account.

	*/
	PrincipalRoleArn *string
	/*Status
	  Status of the account.

	*/
	Status *string

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

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

func NewGetAccountsParams

func NewGetAccountsParams() *GetAccountsParams

NewGetAccountsParams creates a new GetAccountsParams object with the default values initialized.

func NewGetAccountsParamsWithContext

func NewGetAccountsParamsWithContext(ctx context.Context) *GetAccountsParams

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

func NewGetAccountsParamsWithHTTPClient

func NewGetAccountsParamsWithHTTPClient(client *http.Client) *GetAccountsParams

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

func NewGetAccountsParamsWithTimeout

func NewGetAccountsParamsWithTimeout(timeout time.Duration) *GetAccountsParams

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

func (*GetAccountsParams) SetAdminRoleArn added in v0.5.0

func (o *GetAccountsParams) SetAdminRoleArn(adminRoleArn *string)

SetAdminRoleArn adds the adminRoleArn to the get accounts params

func (*GetAccountsParams) SetContext

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

SetContext adds the context to the get accounts params

func (*GetAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get accounts params

func (*GetAccountsParams) SetID added in v0.5.0

func (o *GetAccountsParams) SetID(id *string)

SetID adds the id to the get accounts params

func (*GetAccountsParams) SetLimit added in v0.5.0

func (o *GetAccountsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get accounts params

func (*GetAccountsParams) SetNextID added in v0.5.0

func (o *GetAccountsParams) SetNextID(nextID *string)

SetNextID adds the nextId to the get accounts params

func (*GetAccountsParams) SetPrincipalPolicyHash added in v0.5.0

func (o *GetAccountsParams) SetPrincipalPolicyHash(principalPolicyHash *string)

SetPrincipalPolicyHash adds the principalPolicyHash to the get accounts params

func (*GetAccountsParams) SetPrincipalRoleArn added in v0.5.0

func (o *GetAccountsParams) SetPrincipalRoleArn(principalRoleArn *string)

SetPrincipalRoleArn adds the principalRoleArn to the get accounts params

func (*GetAccountsParams) SetStatus added in v0.5.0

func (o *GetAccountsParams) SetStatus(status *string)

SetStatus adds the status to the get accounts params

func (*GetAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get accounts params

func (*GetAccountsParams) WithAdminRoleArn added in v0.5.0

func (o *GetAccountsParams) WithAdminRoleArn(adminRoleArn *string) *GetAccountsParams

WithAdminRoleArn adds the adminRoleArn to the get accounts params

func (*GetAccountsParams) WithContext

func (o *GetAccountsParams) WithContext(ctx context.Context) *GetAccountsParams

WithContext adds the context to the get accounts params

func (*GetAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get accounts params

func (*GetAccountsParams) WithID added in v0.5.0

func (o *GetAccountsParams) WithID(id *string) *GetAccountsParams

WithID adds the id to the get accounts params

func (*GetAccountsParams) WithLimit added in v0.5.0

func (o *GetAccountsParams) WithLimit(limit *int64) *GetAccountsParams

WithLimit adds the limit to the get accounts params

func (*GetAccountsParams) WithNextID added in v0.5.0

func (o *GetAccountsParams) WithNextID(nextID *string) *GetAccountsParams

WithNextID adds the nextID to the get accounts params

func (*GetAccountsParams) WithPrincipalPolicyHash added in v0.5.0

func (o *GetAccountsParams) WithPrincipalPolicyHash(principalPolicyHash *string) *GetAccountsParams

WithPrincipalPolicyHash adds the principalPolicyHash to the get accounts params

func (*GetAccountsParams) WithPrincipalRoleArn added in v0.5.0

func (o *GetAccountsParams) WithPrincipalRoleArn(principalRoleArn *string) *GetAccountsParams

WithPrincipalRoleArn adds the principalRoleArn to the get accounts params

func (*GetAccountsParams) WithStatus added in v0.5.0

func (o *GetAccountsParams) WithStatus(status *string) *GetAccountsParams

WithStatus adds the status to the get accounts params

func (*GetAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the get accounts params

func (*GetAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountsReader

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

GetAccountsReader is a Reader for the GetAccounts structure.

func (*GetAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuthFileOK added in v0.5.0

type GetAuthFileOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	Payload interface{}
}

GetAuthFileOK handles this case with default header values.

GetAuthFileOK get auth file o k

func NewGetAuthFileOK added in v0.5.0

func NewGetAuthFileOK() *GetAuthFileOK

NewGetAuthFileOK creates a GetAuthFileOK with default headers values

func (*GetAuthFileOK) Error added in v0.5.0

func (o *GetAuthFileOK) Error() string

func (*GetAuthFileOK) GetPayload added in v0.5.0

func (o *GetAuthFileOK) GetPayload() interface{}

type GetAuthFileParams added in v0.5.0

type GetAuthFileParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAuthFileParams contains all the parameters to send to the API endpoint for the get auth file operation typically these are written to a http.Request

func NewGetAuthFileParams added in v0.5.0

func NewGetAuthFileParams() *GetAuthFileParams

NewGetAuthFileParams creates a new GetAuthFileParams object with the default values initialized.

func NewGetAuthFileParamsWithContext added in v0.5.0

func NewGetAuthFileParamsWithContext(ctx context.Context) *GetAuthFileParams

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

func NewGetAuthFileParamsWithHTTPClient added in v0.5.0

func NewGetAuthFileParamsWithHTTPClient(client *http.Client) *GetAuthFileParams

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

func NewGetAuthFileParamsWithTimeout added in v0.5.0

func NewGetAuthFileParamsWithTimeout(timeout time.Duration) *GetAuthFileParams

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

func (*GetAuthFileParams) SetContext added in v0.5.0

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

SetContext adds the context to the get auth file params

func (*GetAuthFileParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the get auth file params

func (*GetAuthFileParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the get auth file params

func (*GetAuthFileParams) WithContext added in v0.5.0

func (o *GetAuthFileParams) WithContext(ctx context.Context) *GetAuthFileParams

WithContext adds the context to the get auth file params

func (*GetAuthFileParams) WithHTTPClient added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the get auth file params

func (*GetAuthFileParams) WithTimeout added in v0.5.0

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

WithTimeout adds the timeout to the get auth file params

func (*GetAuthFileParams) WriteToRequest added in v0.5.0

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

WriteToRequest writes these params to a swagger request

type GetAuthFileReader added in v0.5.0

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

GetAuthFileReader is a Reader for the GetAuthFile structure.

func (*GetAuthFileReader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type GetAuthOK added in v0.5.0

type GetAuthOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	Payload interface{}
}

GetAuthOK handles this case with default header values.

GetAuthOK get auth o k

func NewGetAuthOK added in v0.5.0

func NewGetAuthOK() *GetAuthOK

NewGetAuthOK creates a GetAuthOK with default headers values

func (*GetAuthOK) Error added in v0.5.0

func (o *GetAuthOK) Error() string

func (*GetAuthOK) GetPayload added in v0.5.0

func (o *GetAuthOK) GetPayload() interface{}

type GetAuthParams added in v0.5.0

type GetAuthParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAuthParams contains all the parameters to send to the API endpoint for the get auth operation typically these are written to a http.Request

func NewGetAuthParams added in v0.5.0

func NewGetAuthParams() *GetAuthParams

NewGetAuthParams creates a new GetAuthParams object with the default values initialized.

func NewGetAuthParamsWithContext added in v0.5.0

func NewGetAuthParamsWithContext(ctx context.Context) *GetAuthParams

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

func NewGetAuthParamsWithHTTPClient added in v0.5.0

func NewGetAuthParamsWithHTTPClient(client *http.Client) *GetAuthParams

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

func NewGetAuthParamsWithTimeout added in v0.5.0

func NewGetAuthParamsWithTimeout(timeout time.Duration) *GetAuthParams

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

func (*GetAuthParams) SetContext added in v0.5.0

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

SetContext adds the context to the get auth params

func (*GetAuthParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the get auth params

func (*GetAuthParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the get auth params

func (*GetAuthParams) WithContext added in v0.5.0

func (o *GetAuthParams) WithContext(ctx context.Context) *GetAuthParams

WithContext adds the context to the get auth params

func (*GetAuthParams) WithHTTPClient added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the get auth params

func (*GetAuthParams) WithTimeout added in v0.5.0

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

WithTimeout adds the timeout to the get auth params

func (*GetAuthParams) WriteToRequest added in v0.5.0

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

WriteToRequest writes these params to a swagger request

type GetAuthReader added in v0.5.0

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

GetAuthReader is a Reader for the GetAuth structure.

func (*GetAuthReader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type GetLeasesBadRequest

type GetLeasesBadRequest struct {
}

GetLeasesBadRequest handles this case with default header values.

"Failed to Parse Request Body" if the request body is blank or incorrectly formatted.

func NewGetLeasesBadRequest

func NewGetLeasesBadRequest() *GetLeasesBadRequest

NewGetLeasesBadRequest creates a GetLeasesBadRequest with default headers values

func (*GetLeasesBadRequest) Error

func (o *GetLeasesBadRequest) Error() string

type GetLeasesForbidden

type GetLeasesForbidden struct {
}

GetLeasesForbidden handles this case with default header values.

Failed to authenticate request

func NewGetLeasesForbidden

func NewGetLeasesForbidden() *GetLeasesForbidden

NewGetLeasesForbidden creates a GetLeasesForbidden with default headers values

func (*GetLeasesForbidden) Error

func (o *GetLeasesForbidden) Error() string

type GetLeasesIDForbidden

type GetLeasesIDForbidden struct {
}

GetLeasesIDForbidden handles this case with default header values.

Failed to retrieve lease

func NewGetLeasesIDForbidden

func NewGetLeasesIDForbidden() *GetLeasesIDForbidden

NewGetLeasesIDForbidden creates a GetLeasesIDForbidden with default headers values

func (*GetLeasesIDForbidden) Error

func (o *GetLeasesIDForbidden) Error() string

type GetLeasesIDOK

type GetLeasesIDOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	Payload *GetLeasesIDOKBody
}

GetLeasesIDOK handles this case with default header values.

GetLeasesIDOK get leases Id o k

func NewGetLeasesIDOK

func NewGetLeasesIDOK() *GetLeasesIDOK

NewGetLeasesIDOK creates a GetLeasesIDOK with default headers values

func (*GetLeasesIDOK) Error

func (o *GetLeasesIDOK) Error() string

func (*GetLeasesIDOK) GetPayload

func (o *GetLeasesIDOK) GetPayload() *GetLeasesIDOKBody

type GetLeasesIDOKBody

type GetLeasesIDOKBody struct {

	// accountId of the AWS account
	AccountID string `json:"accountId,omitempty"`

	// budget amount
	BudgetAmount float64 `json:"budgetAmount,omitempty"`

	// budget currency
	BudgetCurrency string `json:"budgetCurrency,omitempty"`

	// budget notification emails
	BudgetNotificationEmails []string `json:"budgetNotificationEmails"`

	// creation date in epoch seconds
	CreatedOn float64 `json:"createdOn,omitempty"`

	// date lease should expire in epoch seconds
	ExpiresOn float64 `json:"expiresOn,omitempty"`

	// Lease ID
	ID string `json:"id,omitempty"`

	// date last modified in epoch seconds
	LastModifiedOn float64 `json:"lastModifiedOn,omitempty"`

	// Status of the Lease.
	// "Active": The principal is leased and has access to the account
	// "Inactive": The lease has become inactive, either through expiring, exceeding budget, or by request.
	//
	// Enum: [Active Inactive]
	LeaseStatus string `json:"leaseStatus,omitempty"`

	// date lease status was last modified in epoch seconds
	LeaseStatusModifiedOn float64 `json:"leaseStatusModifiedOn,omitempty"`

	// A reason behind the lease status.
	// "LeaseExpired": The lease exceeded its expiration time ("expiresOn") and
	// the associated account was reset and returned to the account pool.
	// "LeaseOverBudget": The lease exceeded its budgeted amount and the
	// associated account was reset and returned to the account pool.
	// "LeaseDestroyed": The lease was adminstratively ended, which can be done
	// via the leases API.
	// "LeaseActive": The lease is active.
	// "LeaseRolledBack": A system error occurred while provisioning the lease.
	// and it was rolled back.
	//
	// Enum: [LeaseExpired LeaseOverBudget LeaseDestroyed LeaseActive LeaseRolledBack]
	LeaseStatusReason string `json:"leaseStatusReason,omitempty"`

	// principalId of the lease to get
	PrincipalID string `json:"principalId,omitempty"`
}

GetLeasesIDOKBody Lease Details swagger:model GetLeasesIDOKBody

func (*GetLeasesIDOKBody) MarshalBinary

func (o *GetLeasesIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetLeasesIDOKBody) UnmarshalBinary

func (o *GetLeasesIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetLeasesIDOKBody) Validate

func (o *GetLeasesIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this get leases ID o k body

type GetLeasesIDParams

type GetLeasesIDParams struct {

	/*ID
	  Id for lease

	*/
	ID string

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

GetLeasesIDParams contains all the parameters to send to the API endpoint for the get leases ID operation typically these are written to a http.Request

func NewGetLeasesIDParams

func NewGetLeasesIDParams() *GetLeasesIDParams

NewGetLeasesIDParams creates a new GetLeasesIDParams object with the default values initialized.

func NewGetLeasesIDParamsWithContext

func NewGetLeasesIDParamsWithContext(ctx context.Context) *GetLeasesIDParams

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

func NewGetLeasesIDParamsWithHTTPClient

func NewGetLeasesIDParamsWithHTTPClient(client *http.Client) *GetLeasesIDParams

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

func NewGetLeasesIDParamsWithTimeout

func NewGetLeasesIDParamsWithTimeout(timeout time.Duration) *GetLeasesIDParams

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

func (*GetLeasesIDParams) SetContext

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

SetContext adds the context to the get leases ID params

func (*GetLeasesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get leases ID params

func (*GetLeasesIDParams) SetID

func (o *GetLeasesIDParams) SetID(id string)

SetID adds the id to the get leases ID params

func (*GetLeasesIDParams) SetTimeout

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

SetTimeout adds the timeout to the get leases ID params

func (*GetLeasesIDParams) WithContext

func (o *GetLeasesIDParams) WithContext(ctx context.Context) *GetLeasesIDParams

WithContext adds the context to the get leases ID params

func (*GetLeasesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get leases ID params

func (*GetLeasesIDParams) WithID

WithID adds the id to the get leases ID params

func (*GetLeasesIDParams) WithTimeout

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

WithTimeout adds the timeout to the get leases ID params

func (*GetLeasesIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLeasesIDReader

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

GetLeasesIDReader is a Reader for the GetLeasesID structure.

func (*GetLeasesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLeasesOK

type GetLeasesOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
	/*Appears only when there is another page of results in the query. The value contains the URL for the next page of the results and follows the `<url>; rel="next"` convention.
	 */
	Link string

	Payload []*GetLeasesOKBodyItems0
}

GetLeasesOK handles this case with default header values.

OK

func NewGetLeasesOK

func NewGetLeasesOK() *GetLeasesOK

NewGetLeasesOK creates a GetLeasesOK with default headers values

func (*GetLeasesOK) Error

func (o *GetLeasesOK) Error() string

func (*GetLeasesOK) GetPayload

func (o *GetLeasesOK) GetPayload() []*GetLeasesOKBodyItems0

type GetLeasesOKBodyItems0

type GetLeasesOKBodyItems0 struct {

	// accountId of the AWS account
	AccountID string `json:"accountId,omitempty"`

	// budget amount
	BudgetAmount float64 `json:"budgetAmount,omitempty"`

	// budget currency
	BudgetCurrency string `json:"budgetCurrency,omitempty"`

	// budget notification emails
	BudgetNotificationEmails []string `json:"budgetNotificationEmails"`

	// creation date in epoch seconds
	CreatedOn float64 `json:"createdOn,omitempty"`

	// date lease should expire in epoch seconds
	ExpiresOn float64 `json:"expiresOn,omitempty"`

	// Lease ID
	ID string `json:"id,omitempty"`

	// date last modified in epoch seconds
	LastModifiedOn float64 `json:"lastModifiedOn,omitempty"`

	// Status of the Lease.
	// "Active": The principal is leased and has access to the account
	// "Inactive": The lease has become inactive, either through expiring, exceeding budget, or by request.
	//
	// Enum: [Active Inactive]
	LeaseStatus string `json:"leaseStatus,omitempty"`

	// date lease status was last modified in epoch seconds
	LeaseStatusModifiedOn float64 `json:"leaseStatusModifiedOn,omitempty"`

	// A reason behind the lease status.
	// "LeaseExpired": The lease exceeded its expiration time ("expiresOn") and
	// the associated account was reset and returned to the account pool.
	// "LeaseOverBudget": The lease exceeded its budgeted amount and the
	// associated account was reset and returned to the account pool.
	// "LeaseDestroyed": The lease was adminstratively ended, which can be done
	// via the leases API.
	// "LeaseActive": The lease is active.
	// "LeaseRolledBack": A system error occurred while provisioning the lease.
	// and it was rolled back.
	//
	// Enum: [LeaseExpired LeaseOverBudget LeaseDestroyed LeaseActive LeaseRolledBack]
	LeaseStatusReason string `json:"leaseStatusReason,omitempty"`

	// principalId of the lease to get
	PrincipalID string `json:"principalId,omitempty"`
}

GetLeasesOKBodyItems0 Lease Details swagger:model GetLeasesOKBodyItems0

func (*GetLeasesOKBodyItems0) MarshalBinary

func (o *GetLeasesOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetLeasesOKBodyItems0) UnmarshalBinary

func (o *GetLeasesOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetLeasesOKBodyItems0) Validate

func (o *GetLeasesOKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this get leases o k body items0

type GetLeasesParams

type GetLeasesParams struct {

	/*AccountID
	  Account ID of the leases.

	*/
	AccountID *string
	/*Limit
	  The maximum number of leases to evaluate (not necessarily the number of matching leases). If there is another page, the URL for page will be in the response Link header.

	*/
	Limit *int64
	/*NextAccountID
	  Account ID with which to begin the scan operation. This is used to traverse through paginated results.

	*/
	NextAccountID *string
	/*NextPrincipalID
	  Principal ID with which to begin the scan operation. This is used to traverse through paginated results.

	*/
	NextPrincipalID *string
	/*PrincipalID
	  Principal ID of the leases.

	*/
	PrincipalID *string
	/*Status
	  Status of the leases.

	*/
	Status *string

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

GetLeasesParams contains all the parameters to send to the API endpoint for the get leases operation typically these are written to a http.Request

func NewGetLeasesParams

func NewGetLeasesParams() *GetLeasesParams

NewGetLeasesParams creates a new GetLeasesParams object with the default values initialized.

func NewGetLeasesParamsWithContext

func NewGetLeasesParamsWithContext(ctx context.Context) *GetLeasesParams

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

func NewGetLeasesParamsWithHTTPClient

func NewGetLeasesParamsWithHTTPClient(client *http.Client) *GetLeasesParams

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

func NewGetLeasesParamsWithTimeout

func NewGetLeasesParamsWithTimeout(timeout time.Duration) *GetLeasesParams

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

func (*GetLeasesParams) SetAccountID

func (o *GetLeasesParams) SetAccountID(accountID *string)

SetAccountID adds the accountId to the get leases params

func (*GetLeasesParams) SetContext

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

SetContext adds the context to the get leases params

func (*GetLeasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get leases params

func (*GetLeasesParams) SetLimit

func (o *GetLeasesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get leases params

func (*GetLeasesParams) SetNextAccountID

func (o *GetLeasesParams) SetNextAccountID(nextAccountID *string)

SetNextAccountID adds the nextAccountId to the get leases params

func (*GetLeasesParams) SetNextPrincipalID

func (o *GetLeasesParams) SetNextPrincipalID(nextPrincipalID *string)

SetNextPrincipalID adds the nextPrincipalId to the get leases params

func (*GetLeasesParams) SetPrincipalID

func (o *GetLeasesParams) SetPrincipalID(principalID *string)

SetPrincipalID adds the principalId to the get leases params

func (*GetLeasesParams) SetStatus

func (o *GetLeasesParams) SetStatus(status *string)

SetStatus adds the status to the get leases params

func (*GetLeasesParams) SetTimeout

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

SetTimeout adds the timeout to the get leases params

func (*GetLeasesParams) WithAccountID

func (o *GetLeasesParams) WithAccountID(accountID *string) *GetLeasesParams

WithAccountID adds the accountID to the get leases params

func (*GetLeasesParams) WithContext

func (o *GetLeasesParams) WithContext(ctx context.Context) *GetLeasesParams

WithContext adds the context to the get leases params

func (*GetLeasesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get leases params

func (*GetLeasesParams) WithLimit

func (o *GetLeasesParams) WithLimit(limit *int64) *GetLeasesParams

WithLimit adds the limit to the get leases params

func (*GetLeasesParams) WithNextAccountID

func (o *GetLeasesParams) WithNextAccountID(nextAccountID *string) *GetLeasesParams

WithNextAccountID adds the nextAccountID to the get leases params

func (*GetLeasesParams) WithNextPrincipalID

func (o *GetLeasesParams) WithNextPrincipalID(nextPrincipalID *string) *GetLeasesParams

WithNextPrincipalID adds the nextPrincipalID to the get leases params

func (*GetLeasesParams) WithPrincipalID

func (o *GetLeasesParams) WithPrincipalID(principalID *string) *GetLeasesParams

WithPrincipalID adds the principalID to the get leases params

func (*GetLeasesParams) WithStatus

func (o *GetLeasesParams) WithStatus(status *string) *GetLeasesParams

WithStatus adds the status to the get leases params

func (*GetLeasesParams) WithTimeout

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

WithTimeout adds the timeout to the get leases params

func (*GetLeasesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLeasesReader

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

GetLeasesReader is a Reader for the GetLeases structure.

func (*GetLeasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsageForbidden

type GetUsageForbidden struct {
}

GetUsageForbidden handles this case with default header values.

Failed to authenticate request

func NewGetUsageForbidden

func NewGetUsageForbidden() *GetUsageForbidden

NewGetUsageForbidden creates a GetUsageForbidden with default headers values

func (*GetUsageForbidden) Error

func (o *GetUsageForbidden) Error() string

type GetUsageOK

type GetUsageOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	Payload *GetUsageOKBody
}

GetUsageOK handles this case with default header values.

GetUsageOK get usage o k

func NewGetUsageOK

func NewGetUsageOK() *GetUsageOK

NewGetUsageOK creates a GetUsageOK with default headers values

func (*GetUsageOK) Error

func (o *GetUsageOK) Error() string

func (*GetUsageOK) GetPayload

func (o *GetUsageOK) GetPayload() *GetUsageOKBody

type GetUsageOKBody

type GetUsageOKBody struct {

	// accountId of the AWS account
	AccountID string `json:"accountId,omitempty"`

	// usage cost Amount of AWS account for given period
	CostAmount float64 `json:"costAmount,omitempty"`

	// usage cost currency
	CostCurrency string `json:"costCurrency,omitempty"`

	// usage end date as Epoch Timestamp
	EndDate float64 `json:"endDate,omitempty"`

	// principalId of the user who owns the lease of the AWS account
	//
	PrincipalID string `json:"principalId,omitempty"`

	// usage start date as Epoch Timestamp
	StartDate float64 `json:"startDate,omitempty"`

	// ttl attribute as Epoch Timestamp
	TimeToLive float64 `json:"timeToLive,omitempty"`
}

GetUsageOKBody usage cost of the aws account from start date to end date swagger:model GetUsageOKBody

func (*GetUsageOKBody) MarshalBinary

func (o *GetUsageOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUsageOKBody) UnmarshalBinary

func (o *GetUsageOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUsageOKBody) Validate

func (o *GetUsageOKBody) Validate(formats strfmt.Registry) error

Validate validates this get usage o k body

type GetUsageParams

type GetUsageParams struct {

	/*EndDate
	  end date of the usage

	*/
	EndDate float64
	/*StartDate
	  start date of the usage

	*/
	StartDate float64

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

GetUsageParams contains all the parameters to send to the API endpoint for the get usage operation typically these are written to a http.Request

func NewGetUsageParams

func NewGetUsageParams() *GetUsageParams

NewGetUsageParams creates a new GetUsageParams object with the default values initialized.

func NewGetUsageParamsWithContext

func NewGetUsageParamsWithContext(ctx context.Context) *GetUsageParams

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

func NewGetUsageParamsWithHTTPClient

func NewGetUsageParamsWithHTTPClient(client *http.Client) *GetUsageParams

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

func NewGetUsageParamsWithTimeout

func NewGetUsageParamsWithTimeout(timeout time.Duration) *GetUsageParams

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

func (*GetUsageParams) SetContext

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

SetContext adds the context to the get usage params

func (*GetUsageParams) SetEndDate

func (o *GetUsageParams) SetEndDate(endDate float64)

SetEndDate adds the endDate to the get usage params

func (*GetUsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get usage params

func (*GetUsageParams) SetStartDate

func (o *GetUsageParams) SetStartDate(startDate float64)

SetStartDate adds the startDate to the get usage params

func (*GetUsageParams) SetTimeout

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

SetTimeout adds the timeout to the get usage params

func (*GetUsageParams) WithContext

func (o *GetUsageParams) WithContext(ctx context.Context) *GetUsageParams

WithContext adds the context to the get usage params

func (*GetUsageParams) WithEndDate

func (o *GetUsageParams) WithEndDate(endDate float64) *GetUsageParams

WithEndDate adds the endDate to the get usage params

func (*GetUsageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get usage params

func (*GetUsageParams) WithStartDate

func (o *GetUsageParams) WithStartDate(startDate float64) *GetUsageParams

WithStartDate adds the startDate to the get usage params

func (*GetUsageParams) WithTimeout

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

WithTimeout adds the timeout to the get usage params

func (*GetUsageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsageReader

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

GetUsageReader is a Reader for the GetUsage structure.

func (*GetUsageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAccountsBody

type PostAccountsBody struct {

	// ARN for an IAM role within this AWS account. The DCE master account will assume this IAM role to execute operations within this AWS account. This IAM role is configured by the client, and must be configured with [a Trust Relationship with the DCE master account.](/https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html)
	//
	// Required: true
	AdminRoleArn *string `json:"adminRoleArn"`

	// AWS Account ID
	// Required: true
	ID *string `json:"id"`

	// Arbitrary metadata to attach to the account object.
	Metadata interface{} `json:"metadata,omitempty"`
}

PostAccountsBody post accounts body swagger:model PostAccountsBody

func (*PostAccountsBody) MarshalBinary

func (o *PostAccountsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostAccountsBody) UnmarshalBinary

func (o *PostAccountsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostAccountsBody) Validate

func (o *PostAccountsBody) Validate(formats strfmt.Registry) error

Validate validates this post accounts body

type PostAccountsCreated

type PostAccountsCreated struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

PostAccountsCreated handles this case with default header values.

Account Details

func NewPostAccountsCreated

func NewPostAccountsCreated() *PostAccountsCreated

NewPostAccountsCreated creates a PostAccountsCreated with default headers values

func (*PostAccountsCreated) Error

func (o *PostAccountsCreated) Error() string

type PostAccountsForbidden

type PostAccountsForbidden struct {
}

PostAccountsForbidden handles this case with default header values.

Failed to authenticate request

func NewPostAccountsForbidden

func NewPostAccountsForbidden() *PostAccountsForbidden

NewPostAccountsForbidden creates a PostAccountsForbidden with default headers values

func (*PostAccountsForbidden) Error

func (o *PostAccountsForbidden) Error() string

type PostAccountsParams

type PostAccountsParams struct {

	/*Account
	  Account creation parameters

	*/
	Account PostAccountsBody

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

PostAccountsParams contains all the parameters to send to the API endpoint for the post accounts operation typically these are written to a http.Request

func NewPostAccountsParams

func NewPostAccountsParams() *PostAccountsParams

NewPostAccountsParams creates a new PostAccountsParams object with the default values initialized.

func NewPostAccountsParamsWithContext

func NewPostAccountsParamsWithContext(ctx context.Context) *PostAccountsParams

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

func NewPostAccountsParamsWithHTTPClient

func NewPostAccountsParamsWithHTTPClient(client *http.Client) *PostAccountsParams

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

func NewPostAccountsParamsWithTimeout

func NewPostAccountsParamsWithTimeout(timeout time.Duration) *PostAccountsParams

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

func (*PostAccountsParams) SetAccount

func (o *PostAccountsParams) SetAccount(account PostAccountsBody)

SetAccount adds the account to the post accounts params

func (*PostAccountsParams) SetContext

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

SetContext adds the context to the post accounts params

func (*PostAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post accounts params

func (*PostAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the post accounts params

func (*PostAccountsParams) WithAccount

func (o *PostAccountsParams) WithAccount(account PostAccountsBody) *PostAccountsParams

WithAccount adds the account to the post accounts params

func (*PostAccountsParams) WithContext

WithContext adds the context to the post accounts params

func (*PostAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post accounts params

func (*PostAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the post accounts params

func (*PostAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAccountsReader

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

PostAccountsReader is a Reader for the PostAccounts structure.

func (*PostAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostLeasesAuthCreated added in v0.5.0

type PostLeasesAuthCreated struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	Payload *PostLeasesAuthCreatedBody
}

PostLeasesAuthCreated handles this case with default header values.

PostLeasesAuthCreated post leases auth created

func NewPostLeasesAuthCreated added in v0.5.0

func NewPostLeasesAuthCreated() *PostLeasesAuthCreated

NewPostLeasesAuthCreated creates a PostLeasesAuthCreated with default headers values

func (*PostLeasesAuthCreated) Error added in v0.5.0

func (o *PostLeasesAuthCreated) Error() string

func (*PostLeasesAuthCreated) GetPayload added in v0.5.0

type PostLeasesAuthCreatedBody added in v0.5.0

type PostLeasesAuthCreatedBody struct {

	// Access Key ID for access to the AWS API
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// URL to access the AWS Console
	ConsoleURL string `json:"consoleUrl,omitempty"`

	// expires on
	ExpiresOn float64 `json:"expiresOn,omitempty"`

	// Secret Access Key for access to the AWS API
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// Session Token for access to the AWS API
	SessionToken string `json:"sessionToken,omitempty"`
}

PostLeasesAuthCreatedBody Lease Authentication swagger:model PostLeasesAuthCreatedBody

func (*PostLeasesAuthCreatedBody) MarshalBinary added in v0.5.0

func (o *PostLeasesAuthCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostLeasesAuthCreatedBody) UnmarshalBinary added in v0.5.0

func (o *PostLeasesAuthCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostLeasesAuthCreatedBody) Validate added in v0.5.0

func (o *PostLeasesAuthCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this post leases auth created body

type PostLeasesAuthForbidden added in v0.5.0

type PostLeasesAuthForbidden struct {
}

PostLeasesAuthForbidden handles this case with default header values.

Failed to retrieve lease authentication

func NewPostLeasesAuthForbidden added in v0.5.0

func NewPostLeasesAuthForbidden() *PostLeasesAuthForbidden

NewPostLeasesAuthForbidden creates a PostLeasesAuthForbidden with default headers values

func (*PostLeasesAuthForbidden) Error added in v0.5.0

func (o *PostLeasesAuthForbidden) Error() string

type PostLeasesAuthInternalServerError added in v0.5.0

type PostLeasesAuthInternalServerError struct {
}

PostLeasesAuthInternalServerError handles this case with default header values.

Server failure

func NewPostLeasesAuthInternalServerError added in v0.5.0

func NewPostLeasesAuthInternalServerError() *PostLeasesAuthInternalServerError

NewPostLeasesAuthInternalServerError creates a PostLeasesAuthInternalServerError with default headers values

func (*PostLeasesAuthInternalServerError) Error added in v0.5.0

type PostLeasesAuthNotFound added in v0.5.0

type PostLeasesAuthNotFound struct {
}

PostLeasesAuthNotFound handles this case with default header values.

No active lease exists for the requesting user

func NewPostLeasesAuthNotFound added in v0.5.0

func NewPostLeasesAuthNotFound() *PostLeasesAuthNotFound

NewPostLeasesAuthNotFound creates a PostLeasesAuthNotFound with default headers values

func (*PostLeasesAuthNotFound) Error added in v0.5.0

func (o *PostLeasesAuthNotFound) Error() string

type PostLeasesAuthParams added in v0.5.0

type PostLeasesAuthParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostLeasesAuthParams contains all the parameters to send to the API endpoint for the post leases auth operation typically these are written to a http.Request

func NewPostLeasesAuthParams added in v0.5.0

func NewPostLeasesAuthParams() *PostLeasesAuthParams

NewPostLeasesAuthParams creates a new PostLeasesAuthParams object with the default values initialized.

func NewPostLeasesAuthParamsWithContext added in v0.5.0

func NewPostLeasesAuthParamsWithContext(ctx context.Context) *PostLeasesAuthParams

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

func NewPostLeasesAuthParamsWithHTTPClient added in v0.5.0

func NewPostLeasesAuthParamsWithHTTPClient(client *http.Client) *PostLeasesAuthParams

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

func NewPostLeasesAuthParamsWithTimeout added in v0.5.0

func NewPostLeasesAuthParamsWithTimeout(timeout time.Duration) *PostLeasesAuthParams

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

func (*PostLeasesAuthParams) SetContext added in v0.5.0

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

SetContext adds the context to the post leases auth params

func (*PostLeasesAuthParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the post leases auth params

func (*PostLeasesAuthParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the post leases auth params

func (*PostLeasesAuthParams) WithContext added in v0.5.0

WithContext adds the context to the post leases auth params

func (*PostLeasesAuthParams) WithHTTPClient added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the post leases auth params

func (*PostLeasesAuthParams) WithTimeout added in v0.5.0

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

WithTimeout adds the timeout to the post leases auth params

func (*PostLeasesAuthParams) WriteToRequest added in v0.5.0

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

WriteToRequest writes these params to a swagger request

type PostLeasesAuthReader added in v0.5.0

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

PostLeasesAuthReader is a Reader for the PostLeasesAuth structure.

func (*PostLeasesAuthReader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type PostLeasesAuthUnauthorized added in v0.5.0

type PostLeasesAuthUnauthorized struct {
}

PostLeasesAuthUnauthorized handles this case with default header values.

Unauthorized

func NewPostLeasesAuthUnauthorized added in v0.5.0

func NewPostLeasesAuthUnauthorized() *PostLeasesAuthUnauthorized

NewPostLeasesAuthUnauthorized creates a PostLeasesAuthUnauthorized with default headers values

func (*PostLeasesAuthUnauthorized) Error added in v0.5.0

type PostLeasesBadRequest

type PostLeasesBadRequest struct {
}

PostLeasesBadRequest handles this case with default header values.

If the "expiresOn" date specified is non-zero but less than the current epoch date, "Requested lease has a desired expiry date less than today: <date>" or "Failed to Parse Request Body" if the request body is blank or incorrectly formatted.

func NewPostLeasesBadRequest

func NewPostLeasesBadRequest() *PostLeasesBadRequest

NewPostLeasesBadRequest creates a PostLeasesBadRequest with default headers values

func (*PostLeasesBadRequest) Error

func (o *PostLeasesBadRequest) Error() string

type PostLeasesBody

type PostLeasesBody struct {

	// budget amount
	// Required: true
	BudgetAmount *float64 `json:"budgetAmount"`

	// budget currency
	// Required: true
	BudgetCurrency *string `json:"budgetCurrency"`

	// budget notification emails
	// Required: true
	BudgetNotificationEmails []string `json:"budgetNotificationEmails"`

	// expires on
	ExpiresOn float64 `json:"expiresOn,omitempty"`

	// principal Id
	// Required: true
	PrincipalID *string `json:"principalId"`
}

PostLeasesBody post leases body swagger:model PostLeasesBody

func (*PostLeasesBody) MarshalBinary

func (o *PostLeasesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostLeasesBody) UnmarshalBinary

func (o *PostLeasesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostLeasesBody) Validate

func (o *PostLeasesBody) Validate(formats strfmt.Registry) error

Validate validates this post leases body

type PostLeasesConflict

type PostLeasesConflict struct {
}

PostLeasesConflict handles this case with default header values.

Conflict if there is an existing lease already active with the provided principal and account.

func NewPostLeasesConflict

func NewPostLeasesConflict() *PostLeasesConflict

NewPostLeasesConflict creates a PostLeasesConflict with default headers values

func (*PostLeasesConflict) Error

func (o *PostLeasesConflict) Error() string

type PostLeasesCreated

type PostLeasesCreated struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	Payload *PostLeasesCreatedBody
}

PostLeasesCreated handles this case with default header values.

PostLeasesCreated post leases created

func NewPostLeasesCreated

func NewPostLeasesCreated() *PostLeasesCreated

NewPostLeasesCreated creates a PostLeasesCreated with default headers values

func (*PostLeasesCreated) Error

func (o *PostLeasesCreated) Error() string

func (*PostLeasesCreated) GetPayload

func (o *PostLeasesCreated) GetPayload() *PostLeasesCreatedBody

type PostLeasesCreatedBody

type PostLeasesCreatedBody struct {

	// accountId of the AWS account
	AccountID string `json:"accountId,omitempty"`

	// budget amount
	BudgetAmount float64 `json:"budgetAmount,omitempty"`

	// budget currency
	BudgetCurrency string `json:"budgetCurrency,omitempty"`

	// budget notification emails
	BudgetNotificationEmails []string `json:"budgetNotificationEmails"`

	// creation date in epoch seconds
	CreatedOn float64 `json:"createdOn,omitempty"`

	// date lease should expire in epoch seconds
	ExpiresOn float64 `json:"expiresOn,omitempty"`

	// Lease ID
	ID string `json:"id,omitempty"`

	// date last modified in epoch seconds
	LastModifiedOn float64 `json:"lastModifiedOn,omitempty"`

	// Status of the Lease.
	// "Active": The principal is leased and has access to the account
	// "Inactive": The lease has become inactive, either through expiring, exceeding budget, or by request.
	//
	// Enum: [Active Inactive]
	LeaseStatus string `json:"leaseStatus,omitempty"`

	// date lease status was last modified in epoch seconds
	LeaseStatusModifiedOn float64 `json:"leaseStatusModifiedOn,omitempty"`

	// A reason behind the lease status.
	// "LeaseExpired": The lease exceeded its expiration time ("expiresOn") and
	// the associated account was reset and returned to the account pool.
	// "LeaseOverBudget": The lease exceeded its budgeted amount and the
	// associated account was reset and returned to the account pool.
	// "LeaseDestroyed": The lease was adminstratively ended, which can be done
	// via the leases API.
	// "LeaseActive": The lease is active.
	// "LeaseRolledBack": A system error occurred while provisioning the lease.
	// and it was rolled back.
	//
	// Enum: [LeaseExpired LeaseOverBudget LeaseDestroyed LeaseActive LeaseRolledBack]
	LeaseStatusReason string `json:"leaseStatusReason,omitempty"`

	// principalId of the lease to get
	PrincipalID string `json:"principalId,omitempty"`
}

PostLeasesCreatedBody Lease Details swagger:model PostLeasesCreatedBody

func (*PostLeasesCreatedBody) MarshalBinary

func (o *PostLeasesCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostLeasesCreatedBody) UnmarshalBinary

func (o *PostLeasesCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostLeasesCreatedBody) Validate

func (o *PostLeasesCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this post leases created body

type PostLeasesForbidden

type PostLeasesForbidden struct {
}

PostLeasesForbidden handles this case with default header values.

Failed to authenticate request

func NewPostLeasesForbidden

func NewPostLeasesForbidden() *PostLeasesForbidden

NewPostLeasesForbidden creates a PostLeasesForbidden with default headers values

func (*PostLeasesForbidden) Error

func (o *PostLeasesForbidden) Error() string

type PostLeasesIDAuthCreated

type PostLeasesIDAuthCreated struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	Payload *PostLeasesIDAuthCreatedBody
}

PostLeasesIDAuthCreated handles this case with default header values.

PostLeasesIDAuthCreated post leases Id auth created

func NewPostLeasesIDAuthCreated

func NewPostLeasesIDAuthCreated() *PostLeasesIDAuthCreated

NewPostLeasesIDAuthCreated creates a PostLeasesIDAuthCreated with default headers values

func (*PostLeasesIDAuthCreated) Error

func (o *PostLeasesIDAuthCreated) Error() string

func (*PostLeasesIDAuthCreated) GetPayload

type PostLeasesIDAuthCreatedBody

type PostLeasesIDAuthCreatedBody struct {

	// Access Key ID for access to the AWS API
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// URL to access the AWS Console
	ConsoleURL string `json:"consoleUrl,omitempty"`

	// expires on
	ExpiresOn float64 `json:"expiresOn,omitempty"`

	// Secret Access Key for access to the AWS API
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// Session Token for access to the AWS API
	SessionToken string `json:"sessionToken,omitempty"`
}

PostLeasesIDAuthCreatedBody Lease Authentication swagger:model PostLeasesIDAuthCreatedBody

func (*PostLeasesIDAuthCreatedBody) MarshalBinary

func (o *PostLeasesIDAuthCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostLeasesIDAuthCreatedBody) UnmarshalBinary

func (o *PostLeasesIDAuthCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostLeasesIDAuthCreatedBody) Validate

func (o *PostLeasesIDAuthCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this post leases ID auth created body

type PostLeasesIDAuthForbidden

type PostLeasesIDAuthForbidden struct {
}

PostLeasesIDAuthForbidden handles this case with default header values.

Failed to retrieve lease authentication

func NewPostLeasesIDAuthForbidden

func NewPostLeasesIDAuthForbidden() *PostLeasesIDAuthForbidden

NewPostLeasesIDAuthForbidden creates a PostLeasesIDAuthForbidden with default headers values

func (*PostLeasesIDAuthForbidden) Error

func (o *PostLeasesIDAuthForbidden) Error() string

type PostLeasesIDAuthInternalServerError

type PostLeasesIDAuthInternalServerError struct {
}

PostLeasesIDAuthInternalServerError handles this case with default header values.

Server failure

func NewPostLeasesIDAuthInternalServerError

func NewPostLeasesIDAuthInternalServerError() *PostLeasesIDAuthInternalServerError

NewPostLeasesIDAuthInternalServerError creates a PostLeasesIDAuthInternalServerError with default headers values

func (*PostLeasesIDAuthInternalServerError) Error

type PostLeasesIDAuthParams

type PostLeasesIDAuthParams struct {

	/*ID
	  Id for lease

	*/
	ID string

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

PostLeasesIDAuthParams contains all the parameters to send to the API endpoint for the post leases ID auth operation typically these are written to a http.Request

func NewPostLeasesIDAuthParams

func NewPostLeasesIDAuthParams() *PostLeasesIDAuthParams

NewPostLeasesIDAuthParams creates a new PostLeasesIDAuthParams object with the default values initialized.

func NewPostLeasesIDAuthParamsWithContext

func NewPostLeasesIDAuthParamsWithContext(ctx context.Context) *PostLeasesIDAuthParams

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

func NewPostLeasesIDAuthParamsWithHTTPClient

func NewPostLeasesIDAuthParamsWithHTTPClient(client *http.Client) *PostLeasesIDAuthParams

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

func NewPostLeasesIDAuthParamsWithTimeout

func NewPostLeasesIDAuthParamsWithTimeout(timeout time.Duration) *PostLeasesIDAuthParams

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

func (*PostLeasesIDAuthParams) SetContext

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

SetContext adds the context to the post leases ID auth params

func (*PostLeasesIDAuthParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post leases ID auth params

func (*PostLeasesIDAuthParams) SetID

func (o *PostLeasesIDAuthParams) SetID(id string)

SetID adds the id to the post leases ID auth params

func (*PostLeasesIDAuthParams) SetTimeout

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

SetTimeout adds the timeout to the post leases ID auth params

func (*PostLeasesIDAuthParams) WithContext

WithContext adds the context to the post leases ID auth params

func (*PostLeasesIDAuthParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post leases ID auth params

func (*PostLeasesIDAuthParams) WithID

WithID adds the id to the post leases ID auth params

func (*PostLeasesIDAuthParams) WithTimeout

WithTimeout adds the timeout to the post leases ID auth params

func (*PostLeasesIDAuthParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostLeasesIDAuthReader

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

PostLeasesIDAuthReader is a Reader for the PostLeasesIDAuth structure.

func (*PostLeasesIDAuthReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostLeasesIDAuthUnauthorized

type PostLeasesIDAuthUnauthorized struct {
}

PostLeasesIDAuthUnauthorized handles this case with default header values.

Unauthorized

func NewPostLeasesIDAuthUnauthorized

func NewPostLeasesIDAuthUnauthorized() *PostLeasesIDAuthUnauthorized

NewPostLeasesIDAuthUnauthorized creates a PostLeasesIDAuthUnauthorized with default headers values

func (*PostLeasesIDAuthUnauthorized) Error

type PostLeasesInternalServerError

type PostLeasesInternalServerError struct {
}

PostLeasesInternalServerError handles this case with default header values.

Server errors if the database cannot be reached.

func NewPostLeasesInternalServerError

func NewPostLeasesInternalServerError() *PostLeasesInternalServerError

NewPostLeasesInternalServerError creates a PostLeasesInternalServerError with default headers values

func (*PostLeasesInternalServerError) Error

type PostLeasesParams

type PostLeasesParams struct {

	/*Lease
	  The owner of the lease

	*/
	Lease PostLeasesBody

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

PostLeasesParams contains all the parameters to send to the API endpoint for the post leases operation typically these are written to a http.Request

func NewPostLeasesParams

func NewPostLeasesParams() *PostLeasesParams

NewPostLeasesParams creates a new PostLeasesParams object with the default values initialized.

func NewPostLeasesParamsWithContext

func NewPostLeasesParamsWithContext(ctx context.Context) *PostLeasesParams

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

func NewPostLeasesParamsWithHTTPClient

func NewPostLeasesParamsWithHTTPClient(client *http.Client) *PostLeasesParams

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

func NewPostLeasesParamsWithTimeout

func NewPostLeasesParamsWithTimeout(timeout time.Duration) *PostLeasesParams

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

func (*PostLeasesParams) SetContext

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

SetContext adds the context to the post leases params

func (*PostLeasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post leases params

func (*PostLeasesParams) SetLease

func (o *PostLeasesParams) SetLease(lease PostLeasesBody)

SetLease adds the lease to the post leases params

func (*PostLeasesParams) SetTimeout

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

SetTimeout adds the timeout to the post leases params

func (*PostLeasesParams) WithContext

func (o *PostLeasesParams) WithContext(ctx context.Context) *PostLeasesParams

WithContext adds the context to the post leases params

func (*PostLeasesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post leases params

func (*PostLeasesParams) WithLease

func (o *PostLeasesParams) WithLease(lease PostLeasesBody) *PostLeasesParams

WithLease adds the lease to the post leases params

func (*PostLeasesParams) WithTimeout

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

WithTimeout adds the timeout to the post leases params

func (*PostLeasesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostLeasesReader

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

PostLeasesReader is a Reader for the PostLeases structure.

func (*PostLeasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAccountsIDBody added in v0.5.0

type PutAccountsIDBody struct {

	// ARN for an IAM role within this AWS account. The DCE master account will assume this IAM role to execute operations within this AWS account. This IAM role is configured by the client, and must be configured with [a Trust Relationship with the DCE master account.](/https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html)
	//
	AdminRoleArn string `json:"adminRoleArn,omitempty"`

	// Arbitrary metadata to attach to the account object.
	Metadata interface{} `json:"metadata,omitempty"`
}

PutAccountsIDBody put accounts ID body swagger:model PutAccountsIDBody

func (*PutAccountsIDBody) MarshalBinary added in v0.5.0

func (o *PutAccountsIDBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutAccountsIDBody) UnmarshalBinary added in v0.5.0

func (o *PutAccountsIDBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutAccountsIDBody) Validate added in v0.5.0

func (o *PutAccountsIDBody) Validate(formats strfmt.Registry) error

Validate validates this put accounts ID body

type PutAccountsIDForbidden added in v0.5.0

type PutAccountsIDForbidden struct {
}

PutAccountsIDForbidden handles this case with default header values.

Forbidden

func NewPutAccountsIDForbidden added in v0.5.0

func NewPutAccountsIDForbidden() *PutAccountsIDForbidden

NewPutAccountsIDForbidden creates a PutAccountsIDForbidden with default headers values

func (*PutAccountsIDForbidden) Error added in v0.5.0

func (o *PutAccountsIDForbidden) Error() string

type PutAccountsIDOK added in v0.5.0

type PutAccountsIDOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

PutAccountsIDOK handles this case with default header values.

Account Details

func NewPutAccountsIDOK added in v0.5.0

func NewPutAccountsIDOK() *PutAccountsIDOK

NewPutAccountsIDOK creates a PutAccountsIDOK with default headers values

func (*PutAccountsIDOK) Error added in v0.5.0

func (o *PutAccountsIDOK) Error() string

type PutAccountsIDParams added in v0.5.0

type PutAccountsIDParams struct {

	/*Account
	  Account parameters to modify

	*/
	Account PutAccountsIDBody
	/*ID
	  AWS Account ID

	*/
	ID string

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

PutAccountsIDParams contains all the parameters to send to the API endpoint for the put accounts ID operation typically these are written to a http.Request

func NewPutAccountsIDParams added in v0.5.0

func NewPutAccountsIDParams() *PutAccountsIDParams

NewPutAccountsIDParams creates a new PutAccountsIDParams object with the default values initialized.

func NewPutAccountsIDParamsWithContext added in v0.5.0

func NewPutAccountsIDParamsWithContext(ctx context.Context) *PutAccountsIDParams

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

func NewPutAccountsIDParamsWithHTTPClient added in v0.5.0

func NewPutAccountsIDParamsWithHTTPClient(client *http.Client) *PutAccountsIDParams

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

func NewPutAccountsIDParamsWithTimeout added in v0.5.0

func NewPutAccountsIDParamsWithTimeout(timeout time.Duration) *PutAccountsIDParams

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

func (*PutAccountsIDParams) SetAccount added in v0.5.0

func (o *PutAccountsIDParams) SetAccount(account PutAccountsIDBody)

SetAccount adds the account to the put accounts ID params

func (*PutAccountsIDParams) SetContext added in v0.5.0

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

SetContext adds the context to the put accounts ID params

func (*PutAccountsIDParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the put accounts ID params

func (*PutAccountsIDParams) SetID added in v0.5.0

func (o *PutAccountsIDParams) SetID(id string)

SetID adds the id to the put accounts ID params

func (*PutAccountsIDParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the put accounts ID params

func (*PutAccountsIDParams) WithAccount added in v0.5.0

WithAccount adds the account to the put accounts ID params

func (*PutAccountsIDParams) WithContext added in v0.5.0

WithContext adds the context to the put accounts ID params

func (*PutAccountsIDParams) WithHTTPClient added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the put accounts ID params

func (*PutAccountsIDParams) WithID added in v0.5.0

WithID adds the id to the put accounts ID params

func (*PutAccountsIDParams) WithTimeout added in v0.5.0

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

WithTimeout adds the timeout to the put accounts ID params

func (*PutAccountsIDParams) WriteToRequest added in v0.5.0

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

WriteToRequest writes these params to a swagger request

type PutAccountsIDReader added in v0.5.0

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

PutAccountsIDReader is a Reader for the PutAccountsID structure.

func (*PutAccountsIDReader) ReadResponse added in v0.5.0

func (o *PutAccountsIDReader) 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