Documentation ¶
Overview ¶
Package awsmarketplaceapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Package awsmarketplaceapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- Constants
- func NewCreateCustomerRequest(server string, body CreateCustomerJSONRequestBody) (*http.Request, error)
- func NewCreateCustomerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetCatalogEntityVisibilityRequest(server string) (*http.Request, error)
- func NewGetCloudFormationLaunchStackLinkRequest(server string) (*http.Request, error)
- func NewGetCustomerRequest(server string, customerIdentifier CustomerIdentifier) (*http.Request, error)
- func NewGetCustomersRequest(server string, params *GetCustomersParams) (*http.Request, error)
- func NewGetListingStatusRequest(server string) (*http.Request, error)
- func NewGetPlanByPlanNameRequest(server string, planName PlanName) (*http.Request, error)
- func NewGetPlansRequest(server string) (*http.Request, error)
- func NewGetSettingsRequest(server string) (*http.Request, error)
- func NewReturnInternalServerErrorRequest(server string) (*http.Request, error)
- func NewSavePlanRequest(server string, body SavePlanJSONRequestBody) (*http.Request, error)
- func NewSavePlanRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSyncCustomerRequest(server string, customerIdentifier CustomerIdentifier) (*http.Request, error)
- func NewUpdateListingStatusRequest(server string, body UpdateListingStatusJSONRequestBody) (*http.Request, error)
- func NewUpdateListingStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSettingsRequest(server string, body UpdateSettingsJSONRequestBody) (*http.Request, error)
- func NewUpdateSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewVerifyRegistrationTokenRequest(server string, body VerifyRegistrationTokenJSONRequestBody) (*http.Request, error)
- func NewVerifyRegistrationTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type CatalogEntityVisibility
- type Client
- func (c *Client) CreateCustomer(ctx context.Context, body CreateCustomerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCustomerWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetCatalogEntityVisibility(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCloudFormationLaunchStackLink(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCustomer(ctx context.Context, customerIdentifier CustomerIdentifier, ...) (*http.Response, error)
- func (c *Client) GetCustomers(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetListingStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPlanByPlanName(ctx context.Context, planName PlanName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReturnInternalServerError(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SavePlan(ctx context.Context, body SavePlanJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SavePlanWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SyncCustomer(ctx context.Context, customerIdentifier CustomerIdentifier, ...) (*http.Response, error)
- func (c *Client) UpdateListingStatus(ctx context.Context, body UpdateListingStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateListingStatusWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSettings(ctx context.Context, body UpdateSettingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateSettingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) VerifyRegistrationToken(ctx context.Context, body VerifyRegistrationTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) VerifyRegistrationTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateCustomerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCustomerResponse, error)
- func (c *ClientWithResponses) CreateCustomerWithResponse(ctx context.Context, body CreateCustomerJSONRequestBody, ...) (*CreateCustomerResponse, error)
- func (c *ClientWithResponses) GetCatalogEntityVisibilityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCatalogEntityVisibilityResponse, error)
- func (c *ClientWithResponses) GetCloudFormationLaunchStackLinkWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCloudFormationLaunchStackLinkResponse, error)
- func (c *ClientWithResponses) GetCustomerWithResponse(ctx context.Context, customerIdentifier CustomerIdentifier, ...) (*GetCustomerResponse, error)
- func (c *ClientWithResponses) GetCustomersWithResponse(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*GetCustomersResponse, error)
- func (c *ClientWithResponses) GetListingStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetListingStatusResponse, error)
- func (c *ClientWithResponses) GetPlanByPlanNameWithResponse(ctx context.Context, planName PlanName, reqEditors ...RequestEditorFn) (*GetPlanByPlanNameResponse, error)
- func (c *ClientWithResponses) GetPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPlansResponse, error)
- func (c *ClientWithResponses) GetSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSettingsResponse, error)
- func (c *ClientWithResponses) ReturnInternalServerErrorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReturnInternalServerErrorResponse, error)
- func (c *ClientWithResponses) SavePlanWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SavePlanResponse, error)
- func (c *ClientWithResponses) SavePlanWithResponse(ctx context.Context, body SavePlanJSONRequestBody, ...) (*SavePlanResponse, error)
- func (c *ClientWithResponses) SyncCustomerWithResponse(ctx context.Context, customerIdentifier CustomerIdentifier, ...) (*SyncCustomerResponse, error)
- func (c *ClientWithResponses) UpdateListingStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateListingStatusResponse, error)
- func (c *ClientWithResponses) UpdateListingStatusWithResponse(ctx context.Context, body UpdateListingStatusJSONRequestBody, ...) (*UpdateListingStatusResponse, error)
- func (c *ClientWithResponses) UpdateSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateSettingsResponse, error)
- func (c *ClientWithResponses) UpdateSettingsWithResponse(ctx context.Context, body UpdateSettingsJSONRequestBody, ...) (*UpdateSettingsResponse, error)
- func (c *ClientWithResponses) VerifyRegistrationTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*VerifyRegistrationTokenResponse, error)
- func (c *ClientWithResponses) VerifyRegistrationTokenWithResponse(ctx context.Context, body VerifyRegistrationTokenJSONRequestBody, ...) (*VerifyRegistrationTokenResponse, error)
- type ClientWithResponsesInterface
- type CloudFormationLaunchStackLink
- type CreateCustomerJSONRequestBody
- type CreateCustomerParam
- type CreateCustomerResponse
- type Customer
- type CustomerIdentifier
- type Customers
- type Error
- type GetCatalogEntityVisibilityResponse
- type GetCloudFormationLaunchStackLinkResponse
- type GetCustomerResponse
- type GetCustomersParams
- type GetCustomersResponse
- type GetListingStatusResponse
- type GetListingStatusResult
- type GetPlanByPlanNameResponse
- type GetPlansResponse
- type GetSettingsResponse
- type HttpRequestDoer
- type ListingStatus
- type Plan
- type PlanName
- type Plans
- type RequestEditorFn
- type ReturnInternalServerErrorResponse
- type SavePlanJSONRequestBody
- type SavePlanParam
- type SavePlanResponse
- type Settings
- type SyncCustomerResponse
- type UpdateListingStatusJSONRequestBody
- type UpdateListingStatusParam
- type UpdateListingStatusResponse
- type UpdateSettingsJSONRequestBody
- type UpdateSettingsParam
- type UpdateSettingsResponse
- type Uuid
- type VerifyRegistrationTokenJSONRequestBody
- type VerifyRegistrationTokenParam
- type VerifyRegistrationTokenResponse
- type VisibilityStatus
Constants ¶
const (
BearerScopes = "Bearer.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewCreateCustomerRequest ¶
func NewCreateCustomerRequest(server string, body CreateCustomerJSONRequestBody) (*http.Request, error)
NewCreateCustomerRequest calls the generic CreateCustomer builder with application/json body
func NewCreateCustomerRequestWithBody ¶
func NewCreateCustomerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCustomerRequestWithBody generates requests for CreateCustomer with any type of body
func NewGetCatalogEntityVisibilityRequest ¶
NewGetCatalogEntityVisibilityRequest generates requests for GetCatalogEntityVisibility
func NewGetCloudFormationLaunchStackLinkRequest ¶
NewGetCloudFormationLaunchStackLinkRequest generates requests for GetCloudFormationLaunchStackLink
func NewGetCustomerRequest ¶
func NewGetCustomerRequest(server string, customerIdentifier CustomerIdentifier) (*http.Request, error)
NewGetCustomerRequest generates requests for GetCustomer
func NewGetCustomersRequest ¶
func NewGetCustomersRequest(server string, params *GetCustomersParams) (*http.Request, error)
NewGetCustomersRequest generates requests for GetCustomers
func NewGetListingStatusRequest ¶
NewGetListingStatusRequest generates requests for GetListingStatus
func NewGetPlanByPlanNameRequest ¶
NewGetPlanByPlanNameRequest generates requests for GetPlanByPlanName
func NewGetPlansRequest ¶
NewGetPlansRequest generates requests for GetPlans
func NewGetSettingsRequest ¶
NewGetSettingsRequest generates requests for GetSettings
func NewReturnInternalServerErrorRequest ¶
NewReturnInternalServerErrorRequest generates requests for ReturnInternalServerError
func NewSavePlanRequest ¶
func NewSavePlanRequest(server string, body SavePlanJSONRequestBody) (*http.Request, error)
NewSavePlanRequest calls the generic SavePlan builder with application/json body
func NewSavePlanRequestWithBody ¶
func NewSavePlanRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSavePlanRequestWithBody generates requests for SavePlan with any type of body
func NewSyncCustomerRequest ¶
func NewSyncCustomerRequest(server string, customerIdentifier CustomerIdentifier) (*http.Request, error)
NewSyncCustomerRequest generates requests for SyncCustomer
func NewUpdateListingStatusRequest ¶
func NewUpdateListingStatusRequest(server string, body UpdateListingStatusJSONRequestBody) (*http.Request, error)
NewUpdateListingStatusRequest calls the generic UpdateListingStatus builder with application/json body
func NewUpdateListingStatusRequestWithBody ¶
func NewUpdateListingStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateListingStatusRequestWithBody generates requests for UpdateListingStatus with any type of body
func NewUpdateSettingsRequest ¶
func NewUpdateSettingsRequest(server string, body UpdateSettingsJSONRequestBody) (*http.Request, error)
NewUpdateSettingsRequest calls the generic UpdateSettings builder with application/json body
func NewUpdateSettingsRequestWithBody ¶
func NewUpdateSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSettingsRequestWithBody generates requests for UpdateSettings with any type of body
func NewVerifyRegistrationTokenRequest ¶
func NewVerifyRegistrationTokenRequest(server string, body VerifyRegistrationTokenJSONRequestBody) (*http.Request, error)
NewVerifyRegistrationTokenRequest calls the generic VerifyRegistrationToken builder with application/json body
Types ¶
type CatalogEntityVisibility ¶
type CatalogEntityVisibility struct {
Visibility VisibilityStatus `json:"visibility"`
}
CatalogEntityVisibility defines model for CatalogEntityVisibility.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CreateCustomer ¶
func (c *Client) CreateCustomer(ctx context.Context, body CreateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCustomerWithBody ¶
func (*Client) GetCatalogEntityVisibility ¶
func (*Client) GetCloudFormationLaunchStackLink ¶
func (*Client) GetCustomer ¶
func (c *Client) GetCustomer(ctx context.Context, customerIdentifier CustomerIdentifier, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCustomers ¶
func (c *Client) GetCustomers(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetListingStatus ¶
func (*Client) GetPlanByPlanName ¶
func (*Client) GetSettings ¶
func (*Client) ReturnInternalServerError ¶
func (*Client) SavePlan ¶
func (c *Client) SavePlan(ctx context.Context, body SavePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SavePlanWithBody ¶
func (*Client) SyncCustomer ¶
func (c *Client) SyncCustomer(ctx context.Context, customerIdentifier CustomerIdentifier, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateListingStatus ¶
func (c *Client) UpdateListingStatus(ctx context.Context, body UpdateListingStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateListingStatusWithBody ¶
func (*Client) UpdateSettings ¶
func (c *Client) UpdateSettings(ctx context.Context, body UpdateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSettingsWithBody ¶
func (*Client) VerifyRegistrationToken ¶
func (c *Client) VerifyRegistrationToken(ctx context.Context, body VerifyRegistrationTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // GetCatalogEntityVisibility request GetCatalogEntityVisibility(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCloudFormationLaunchStackLink request GetCloudFormationLaunchStackLink(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCustomers request GetCustomers(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateCustomer request with any body CreateCustomerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateCustomer(ctx context.Context, body CreateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCustomer request GetCustomer(ctx context.Context, customerIdentifier CustomerIdentifier, reqEditors ...RequestEditorFn) (*http.Response, error) // SyncCustomer request SyncCustomer(ctx context.Context, customerIdentifier CustomerIdentifier, reqEditors ...RequestEditorFn) (*http.Response, error) // ReturnInternalServerError request ReturnInternalServerError(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetListingStatus request GetListingStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateListingStatus request with any body UpdateListingStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateListingStatus(ctx context.Context, body UpdateListingStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPlans request GetPlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SavePlan request with any body SavePlanWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SavePlan(ctx context.Context, body SavePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPlanByPlanName request GetPlanByPlanName(ctx context.Context, planName PlanName, reqEditors ...RequestEditorFn) (*http.Response, error) // VerifyRegistrationToken request with any body VerifyRegistrationTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) VerifyRegistrationToken(ctx context.Context, body VerifyRegistrationTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSettings request GetSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateSettings request with any body UpdateSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateSettings(ctx context.Context, body UpdateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateCustomerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCustomerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomerResponse, error)
CreateCustomerWithBodyWithResponse request with arbitrary body returning *CreateCustomerResponse
func (*ClientWithResponses) CreateCustomerWithResponse ¶
func (c *ClientWithResponses) CreateCustomerWithResponse(ctx context.Context, body CreateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomerResponse, error)
func (*ClientWithResponses) GetCatalogEntityVisibilityWithResponse ¶
func (c *ClientWithResponses) GetCatalogEntityVisibilityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCatalogEntityVisibilityResponse, error)
GetCatalogEntityVisibilityWithResponse request returning *GetCatalogEntityVisibilityResponse
func (*ClientWithResponses) GetCloudFormationLaunchStackLinkWithResponse ¶
func (c *ClientWithResponses) GetCloudFormationLaunchStackLinkWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCloudFormationLaunchStackLinkResponse, error)
GetCloudFormationLaunchStackLinkWithResponse request returning *GetCloudFormationLaunchStackLinkResponse
func (*ClientWithResponses) GetCustomerWithResponse ¶
func (c *ClientWithResponses) GetCustomerWithResponse(ctx context.Context, customerIdentifier CustomerIdentifier, reqEditors ...RequestEditorFn) (*GetCustomerResponse, error)
GetCustomerWithResponse request returning *GetCustomerResponse
func (*ClientWithResponses) GetCustomersWithResponse ¶
func (c *ClientWithResponses) GetCustomersWithResponse(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*GetCustomersResponse, error)
GetCustomersWithResponse request returning *GetCustomersResponse
func (*ClientWithResponses) GetListingStatusWithResponse ¶
func (c *ClientWithResponses) GetListingStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetListingStatusResponse, error)
GetListingStatusWithResponse request returning *GetListingStatusResponse
func (*ClientWithResponses) GetPlanByPlanNameWithResponse ¶
func (c *ClientWithResponses) GetPlanByPlanNameWithResponse(ctx context.Context, planName PlanName, reqEditors ...RequestEditorFn) (*GetPlanByPlanNameResponse, error)
GetPlanByPlanNameWithResponse request returning *GetPlanByPlanNameResponse
func (*ClientWithResponses) GetPlansWithResponse ¶
func (c *ClientWithResponses) GetPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPlansResponse, error)
GetPlansWithResponse request returning *GetPlansResponse
func (*ClientWithResponses) GetSettingsWithResponse ¶
func (c *ClientWithResponses) GetSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSettingsResponse, error)
GetSettingsWithResponse request returning *GetSettingsResponse
func (*ClientWithResponses) ReturnInternalServerErrorWithResponse ¶
func (c *ClientWithResponses) ReturnInternalServerErrorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReturnInternalServerErrorResponse, error)
ReturnInternalServerErrorWithResponse request returning *ReturnInternalServerErrorResponse
func (*ClientWithResponses) SavePlanWithBodyWithResponse ¶
func (c *ClientWithResponses) SavePlanWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SavePlanResponse, error)
SavePlanWithBodyWithResponse request with arbitrary body returning *SavePlanResponse
func (*ClientWithResponses) SavePlanWithResponse ¶
func (c *ClientWithResponses) SavePlanWithResponse(ctx context.Context, body SavePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*SavePlanResponse, error)
func (*ClientWithResponses) SyncCustomerWithResponse ¶
func (c *ClientWithResponses) SyncCustomerWithResponse(ctx context.Context, customerIdentifier CustomerIdentifier, reqEditors ...RequestEditorFn) (*SyncCustomerResponse, error)
SyncCustomerWithResponse request returning *SyncCustomerResponse
func (*ClientWithResponses) UpdateListingStatusWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateListingStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateListingStatusResponse, error)
UpdateListingStatusWithBodyWithResponse request with arbitrary body returning *UpdateListingStatusResponse
func (*ClientWithResponses) UpdateListingStatusWithResponse ¶
func (c *ClientWithResponses) UpdateListingStatusWithResponse(ctx context.Context, body UpdateListingStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateListingStatusResponse, error)
func (*ClientWithResponses) UpdateSettingsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSettingsResponse, error)
UpdateSettingsWithBodyWithResponse request with arbitrary body returning *UpdateSettingsResponse
func (*ClientWithResponses) UpdateSettingsWithResponse ¶
func (c *ClientWithResponses) UpdateSettingsWithResponse(ctx context.Context, body UpdateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSettingsResponse, error)
func (*ClientWithResponses) VerifyRegistrationTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) VerifyRegistrationTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyRegistrationTokenResponse, error)
VerifyRegistrationTokenWithBodyWithResponse request with arbitrary body returning *VerifyRegistrationTokenResponse
func (*ClientWithResponses) VerifyRegistrationTokenWithResponse ¶
func (c *ClientWithResponses) VerifyRegistrationTokenWithResponse(ctx context.Context, body VerifyRegistrationTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyRegistrationTokenResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetCatalogEntityVisibility request GetCatalogEntityVisibilityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCatalogEntityVisibilityResponse, error) // GetCloudFormationLaunchStackLink request GetCloudFormationLaunchStackLinkWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCloudFormationLaunchStackLinkResponse, error) // GetCustomers request GetCustomersWithResponse(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*GetCustomersResponse, error) // CreateCustomer request with any body CreateCustomerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomerResponse, error) CreateCustomerWithResponse(ctx context.Context, body CreateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomerResponse, error) // GetCustomer request GetCustomerWithResponse(ctx context.Context, customerIdentifier CustomerIdentifier, reqEditors ...RequestEditorFn) (*GetCustomerResponse, error) // SyncCustomer request SyncCustomerWithResponse(ctx context.Context, customerIdentifier CustomerIdentifier, reqEditors ...RequestEditorFn) (*SyncCustomerResponse, error) // ReturnInternalServerError request ReturnInternalServerErrorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReturnInternalServerErrorResponse, error) // GetListingStatus request GetListingStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetListingStatusResponse, error) // UpdateListingStatus request with any body UpdateListingStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateListingStatusResponse, error) UpdateListingStatusWithResponse(ctx context.Context, body UpdateListingStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateListingStatusResponse, error) // GetPlans request GetPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPlansResponse, error) // SavePlan request with any body SavePlanWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SavePlanResponse, error) SavePlanWithResponse(ctx context.Context, body SavePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*SavePlanResponse, error) // GetPlanByPlanName request GetPlanByPlanNameWithResponse(ctx context.Context, planName PlanName, reqEditors ...RequestEditorFn) (*GetPlanByPlanNameResponse, error) // VerifyRegistrationToken request with any body VerifyRegistrationTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyRegistrationTokenResponse, error) VerifyRegistrationTokenWithResponse(ctx context.Context, body VerifyRegistrationTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyRegistrationTokenResponse, error) // GetSettings request GetSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSettingsResponse, error) // UpdateSettings request with any body UpdateSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSettingsResponse, error) UpdateSettingsWithResponse(ctx context.Context, body UpdateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSettingsResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloudFormationLaunchStackLink ¶
type CloudFormationLaunchStackLink struct {
Link string `json:"link"`
}
CloudFormationLaunchStackLink defines model for CloudFormationLaunchStackLink.
type CreateCustomerJSONRequestBody ¶
type CreateCustomerJSONRequestBody = CreateCustomerParam
CreateCustomerJSONRequestBody defines body for CreateCustomer for application/json ContentType.
type CreateCustomerParam ¶
type CreateCustomerParam struct { RegistrationToken string `json:"registration_token"` TenantId Uuid `json:"tenant_id"` }
CreateCustomerParam defines model for CreateCustomerParam.
type CreateCustomerResponse ¶
type CreateCustomerResponse struct { Body []byte HTTPResponse *http.Response JSON201 *Customer JSON500 *Error }
func ParseCreateCustomerResponse ¶
func ParseCreateCustomerResponse(rsp *http.Response) (*CreateCustomerResponse, error)
ParseCreateCustomerResponse parses an HTTP response from a CreateCustomerWithResponse call
func (CreateCustomerResponse) Status ¶
func (r CreateCustomerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCustomerResponse) StatusCode ¶
func (r CreateCustomerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Customer ¶
type Customer struct { CustomerAwsAccountId string `json:"customer_aws_account_id"` CustomerIdentifier string `json:"customer_identifier"` TenantId Uuid `json:"tenant_id"` }
Customer defines model for Customer.
type CustomerIdentifier ¶
type CustomerIdentifier = string
CustomerIdentifier defines model for CustomerIdentifier.
type Customers ¶
type Customers struct {
Customers []Customer `json:"customers"`
}
Customers defines model for Customers.
type GetCatalogEntityVisibilityResponse ¶
type GetCatalogEntityVisibilityResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CatalogEntityVisibility JSON500 *Error }
func ParseGetCatalogEntityVisibilityResponse ¶
func ParseGetCatalogEntityVisibilityResponse(rsp *http.Response) (*GetCatalogEntityVisibilityResponse, error)
ParseGetCatalogEntityVisibilityResponse parses an HTTP response from a GetCatalogEntityVisibilityWithResponse call
func (GetCatalogEntityVisibilityResponse) Status ¶
func (r GetCatalogEntityVisibilityResponse) Status() string
Status returns HTTPResponse.Status
func (GetCatalogEntityVisibilityResponse) StatusCode ¶
func (r GetCatalogEntityVisibilityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCloudFormationLaunchStackLinkResponse ¶
type GetCloudFormationLaunchStackLinkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudFormationLaunchStackLink JSON500 *Error }
func ParseGetCloudFormationLaunchStackLinkResponse ¶
func ParseGetCloudFormationLaunchStackLinkResponse(rsp *http.Response) (*GetCloudFormationLaunchStackLinkResponse, error)
ParseGetCloudFormationLaunchStackLinkResponse parses an HTTP response from a GetCloudFormationLaunchStackLinkWithResponse call
func (GetCloudFormationLaunchStackLinkResponse) Status ¶
func (r GetCloudFormationLaunchStackLinkResponse) Status() string
Status returns HTTPResponse.Status
func (GetCloudFormationLaunchStackLinkResponse) StatusCode ¶
func (r GetCloudFormationLaunchStackLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomerResponse ¶
type GetCustomerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Customer JSON500 *Error }
func ParseGetCustomerResponse ¶
func ParseGetCustomerResponse(rsp *http.Response) (*GetCustomerResponse, error)
ParseGetCustomerResponse parses an HTTP response from a GetCustomerWithResponse call
func (GetCustomerResponse) Status ¶
func (r GetCustomerResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomerResponse) StatusCode ¶
func (r GetCustomerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomersParams ¶
type GetCustomersParams struct { // TenantIds 指定したテナントIDの顧客を取得する(Get customers with the specified tenant ID) TenantIds *[]Uuid `form:"tenant_ids,omitempty" json:"tenant_ids,omitempty"` }
GetCustomersParams defines parameters for GetCustomers.
type GetCustomersResponse ¶
type GetCustomersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Customers JSON500 *Error }
func ParseGetCustomersResponse ¶
func ParseGetCustomersResponse(rsp *http.Response) (*GetCustomersResponse, error)
ParseGetCustomersResponse parses an HTTP response from a GetCustomersWithResponse call
func (GetCustomersResponse) Status ¶
func (r GetCustomersResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomersResponse) StatusCode ¶
func (r GetCustomersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetListingStatusResponse ¶
type GetListingStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetListingStatusResult JSON500 *Error }
func ParseGetListingStatusResponse ¶
func ParseGetListingStatusResponse(rsp *http.Response) (*GetListingStatusResponse, error)
ParseGetListingStatusResponse parses an HTTP response from a GetListingStatusWithResponse call
func (GetListingStatusResponse) Status ¶
func (r GetListingStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetListingStatusResponse) StatusCode ¶
func (r GetListingStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetListingStatusResult ¶
type GetListingStatusResult struct {
ListingStatus ListingStatus `json:"listing_status"`
}
GetListingStatusResult defines model for GetListingStatusResult.
type GetPlanByPlanNameResponse ¶
type GetPlanByPlanNameResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Plan JSON500 *Error }
func ParseGetPlanByPlanNameResponse ¶
func ParseGetPlanByPlanNameResponse(rsp *http.Response) (*GetPlanByPlanNameResponse, error)
ParseGetPlanByPlanNameResponse parses an HTTP response from a GetPlanByPlanNameWithResponse call
func (GetPlanByPlanNameResponse) Status ¶
func (r GetPlanByPlanNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlanByPlanNameResponse) StatusCode ¶
func (r GetPlanByPlanNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlansResponse ¶
type GetPlansResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Plans JSON500 *Error }
func ParseGetPlansResponse ¶
func ParseGetPlansResponse(rsp *http.Response) (*GetPlansResponse, error)
ParseGetPlansResponse parses an HTTP response from a GetPlansWithResponse call
func (GetPlansResponse) Status ¶
func (r GetPlansResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlansResponse) StatusCode ¶
func (r GetPlansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSettingsResponse ¶
type GetSettingsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Settings JSON500 *Error }
func ParseGetSettingsResponse ¶
func ParseGetSettingsResponse(rsp *http.Response) (*GetSettingsResponse, error)
ParseGetSettingsResponse parses an HTTP response from a GetSettingsWithResponse call
func (GetSettingsResponse) Status ¶
func (r GetSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSettingsResponse) StatusCode ¶
func (r GetSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListingStatus ¶
type ListingStatus string
ListingStatus defines model for ListingStatus.
const ( ListingStatusFirstStepCompleted ListingStatus = "first_step_completed" ListingStatusFirstStepWorking ListingStatus = "first_step_working" ListingStatusLimited ListingStatus = "limited" ListingStatusNoListing ListingStatus = "no_listing" ListingStatusPublic ListingStatus = "public" ListingStatusRestricted ListingStatus = "restricted" ListingStatusSecondStepCompleted ListingStatus = "second_step_completed" ListingStatusSecondStepPlanCreated ListingStatus = "second_step_plan_created" ListingStatusSecondStepWorking ListingStatus = "second_step_working" ListingStatusThirdStepCompleted ListingStatus = "third_step_completed" ListingStatusThirdStepWorking ListingStatus = "third_step_working" )
Defines values for ListingStatus.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ReturnInternalServerErrorResponse ¶
type ReturnInternalServerErrorResponse struct { Body []byte HTTPResponse *http.Response JSON500 *Error }
func ParseReturnInternalServerErrorResponse ¶
func ParseReturnInternalServerErrorResponse(rsp *http.Response) (*ReturnInternalServerErrorResponse, error)
ParseReturnInternalServerErrorResponse parses an HTTP response from a ReturnInternalServerErrorWithResponse call
func (ReturnInternalServerErrorResponse) Status ¶
func (r ReturnInternalServerErrorResponse) Status() string
Status returns HTTPResponse.Status
func (ReturnInternalServerErrorResponse) StatusCode ¶
func (r ReturnInternalServerErrorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SavePlanJSONRequestBody ¶
type SavePlanJSONRequestBody = SavePlanParam
SavePlanJSONRequestBody defines body for SavePlan for application/json ContentType.
type SavePlanParam ¶
SavePlanParam defines model for SavePlanParam.
type SavePlanResponse ¶
func ParseSavePlanResponse ¶
func ParseSavePlanResponse(rsp *http.Response) (*SavePlanResponse, error)
ParseSavePlanResponse parses an HTTP response from a SavePlanWithResponse call
func (SavePlanResponse) Status ¶
func (r SavePlanResponse) Status() string
Status returns HTTPResponse.Status
func (SavePlanResponse) StatusCode ¶
func (r SavePlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Settings ¶
type Settings struct { CasBucketName string `json:"cas_bucket_name"` CasSnsTopicArn string `json:"cas_sns_topic_arn"` ProductCode string `json:"product_code"` RedirectSignUpPageFunctionUrl string `json:"redirect_sign_up_page_function_url"` RoleArn string `json:"role_arn"` RoleExternalId string `json:"role_external_id"` SellerSnsTopicArn string `json:"seller_sns_topic_arn"` SnsTopicArn string `json:"sns_topic_arn"` SqsArn string `json:"sqs_arn"` }
Settings defines model for Settings.
type SyncCustomerResponse ¶
func ParseSyncCustomerResponse ¶
func ParseSyncCustomerResponse(rsp *http.Response) (*SyncCustomerResponse, error)
ParseSyncCustomerResponse parses an HTTP response from a SyncCustomerWithResponse call
func (SyncCustomerResponse) Status ¶
func (r SyncCustomerResponse) Status() string
Status returns HTTPResponse.Status
func (SyncCustomerResponse) StatusCode ¶
func (r SyncCustomerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateListingStatusJSONRequestBody ¶
type UpdateListingStatusJSONRequestBody = UpdateListingStatusParam
UpdateListingStatusJSONRequestBody defines body for UpdateListingStatus for application/json ContentType.
type UpdateListingStatusParam ¶
type UpdateListingStatusParam struct {
ListingStatus ListingStatus `json:"listing_status"`
}
UpdateListingStatusParam defines model for UpdateListingStatusParam.
type UpdateListingStatusResponse ¶
func ParseUpdateListingStatusResponse ¶
func ParseUpdateListingStatusResponse(rsp *http.Response) (*UpdateListingStatusResponse, error)
ParseUpdateListingStatusResponse parses an HTTP response from a UpdateListingStatusWithResponse call
func (UpdateListingStatusResponse) Status ¶
func (r UpdateListingStatusResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateListingStatusResponse) StatusCode ¶
func (r UpdateListingStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSettingsJSONRequestBody ¶
type UpdateSettingsJSONRequestBody = UpdateSettingsParam
UpdateSettingsJSONRequestBody defines body for UpdateSettings for application/json ContentType.
type UpdateSettingsParam ¶
type UpdateSettingsParam struct { CasBucketName *string `json:"cas_bucket_name,omitempty"` CasSnsTopicArn *string `json:"cas_sns_topic_arn,omitempty"` ProductCode *string `json:"product_code,omitempty"` RoleArn *string `json:"role_arn,omitempty"` RoleExternalId *string `json:"role_external_id,omitempty"` SellerSnsTopicArn *string `json:"seller_sns_topic_arn,omitempty"` SnsTopicArn *string `json:"sns_topic_arn,omitempty"` SqsArn *string `json:"sqs_arn,omitempty"` }
UpdateSettingsParam defines model for UpdateSettingsParam.
type UpdateSettingsResponse ¶
func ParseUpdateSettingsResponse ¶
func ParseUpdateSettingsResponse(rsp *http.Response) (*UpdateSettingsResponse, error)
ParseUpdateSettingsResponse parses an HTTP response from a UpdateSettingsWithResponse call
func (UpdateSettingsResponse) Status ¶
func (r UpdateSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSettingsResponse) StatusCode ¶
func (r UpdateSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyRegistrationTokenJSONRequestBody ¶
type VerifyRegistrationTokenJSONRequestBody = VerifyRegistrationTokenParam
VerifyRegistrationTokenJSONRequestBody defines body for VerifyRegistrationToken for application/json ContentType.
type VerifyRegistrationTokenParam ¶
type VerifyRegistrationTokenParam struct {
RegistrationToken string `json:"registration_token"`
}
VerifyRegistrationTokenParam defines model for VerifyRegistrationTokenParam.
type VerifyRegistrationTokenResponse ¶
type VerifyRegistrationTokenResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Error JSON500 *Error }
func ParseVerifyRegistrationTokenResponse ¶
func ParseVerifyRegistrationTokenResponse(rsp *http.Response) (*VerifyRegistrationTokenResponse, error)
ParseVerifyRegistrationTokenResponse parses an HTTP response from a VerifyRegistrationTokenWithResponse call
func (VerifyRegistrationTokenResponse) Status ¶
func (r VerifyRegistrationTokenResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyRegistrationTokenResponse) StatusCode ¶
func (r VerifyRegistrationTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VisibilityStatus ¶
type VisibilityStatus string
VisibilityStatus defines model for VisibilityStatus.
const ( VisibilityStatusLimited VisibilityStatus = "Limited" VisibilityStatusPublic VisibilityStatus = "Public" VisibilityStatusRestricted VisibilityStatus = "Restricted" )
Defines values for VisibilityStatus.