Documentation ¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT.
Index ¶
- func NewCreatePermissionSetAssignmentsRequest(server string, permissionSetId PermissionSetID, ...) (*http.Request, error)
- func NewCreatePermissionSetAssignmentsRequestWithBody(server string, permissionSetId PermissionSetID, contentType string, ...) (*http.Request, error)
- func NewCreatePermissionSetRequest(server string, body CreatePermissionSetJSONRequestBody) (*http.Request, error)
- func NewCreatePermissionSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeletePermissionSetAssignmentRequest(server string, permissionSetId PermissionSetID, assignmentId AssignmentID) (*http.Request, error)
- func NewDeletePermissionSetRequest(server string, permissionSetId PermissionSetID) (*http.Request, error)
- func NewGetAPIDocumentRequest(server string) (*http.Request, error)
- func NewGetPermissionSetRequest(server string, permissionSetId PermissionSetID) (*http.Request, error)
- func NewListAWSManagedPoliciesRequest(server string) (*http.Request, error)
- func NewListMyRolesRequest(server string, params *ListMyRolesParams) (*http.Request, error)
- func NewListPermissionSetAssignmentsRequest(server string, permissionSetId PermissionSetID, ...) (*http.Request, error)
- func NewListPermissionSetsRequest(server string, params *ListPermissionSetsParams) (*http.Request, error)
- func NewListRolesRequest(server string, params *ListRolesParams) (*http.Request, error)
- func NewRedeployPermissionSetAssignmentRequest(server string, permissionSetId PermissionSetID, assignmentId AssignmentID) (*http.Request, error)
- func NewUpdatePermissionSetRequest(server string, permissionSetId PermissionSetID, ...) (*http.Request, error)
- func NewUpdatePermissionSetRequestWithBody(server string, permissionSetId PermissionSetID, contentType string, ...) (*http.Request, error)
- type Client
- func (c *Client) CreatePermissionSet(ctx context.Context, body CreatePermissionSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePermissionSetAssignments(ctx context.Context, permissionSetId PermissionSetID, ...) (*http.Response, error)
- func (c *Client) CreatePermissionSetAssignmentsWithBody(ctx context.Context, permissionSetId PermissionSetID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreatePermissionSetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeletePermissionSet(ctx context.Context, permissionSetId PermissionSetID, ...) (*http.Response, error)
- func (c *Client) DeletePermissionSetAssignment(ctx context.Context, permissionSetId PermissionSetID, ...) (*http.Response, error)
- func (c *Client) GetAPIDocument(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPermissionSet(ctx context.Context, permissionSetId PermissionSetID, ...) (*http.Response, error)
- func (c *Client) ListAWSManagedPolicies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMyRoles(ctx context.Context, params *ListMyRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPermissionSetAssignments(ctx context.Context, permissionSetId PermissionSetID, ...) (*http.Response, error)
- func (c *Client) ListPermissionSets(ctx context.Context, params *ListPermissionSetsParams, ...) (*http.Response, error)
- func (c *Client) ListRoles(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RedeployPermissionSetAssignment(ctx context.Context, permissionSetId PermissionSetID, ...) (*http.Response, error)
- func (c *Client) UpdatePermissionSet(ctx context.Context, permissionSetId PermissionSetID, ...) (*http.Response, error)
- func (c *Client) UpdatePermissionSetWithBody(ctx context.Context, permissionSetId PermissionSetID, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreatePermissionSetAssignmentsWithBodyWithResponse(ctx context.Context, permissionSetId PermissionSetID, contentType string, ...) (*CreatePermissionSetAssignmentsResponse, error)
- func (c *ClientWithResponses) CreatePermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId PermissionSetID, ...) (*CreatePermissionSetAssignmentsResponse, error)
- func (c *ClientWithResponses) CreatePermissionSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePermissionSetResponse, error)
- func (c *ClientWithResponses) CreatePermissionSetWithResponse(ctx context.Context, body CreatePermissionSetJSONRequestBody, ...) (*CreatePermissionSetResponse, error)
- func (c *ClientWithResponses) DeletePermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId PermissionSetID, ...) (*DeletePermissionSetAssignmentResponse, error)
- func (c *ClientWithResponses) DeletePermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, ...) (*DeletePermissionSetResponse, error)
- func (c *ClientWithResponses) GetAPIDocumentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAPIDocumentResponse, error)
- func (c *ClientWithResponses) GetPermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, ...) (*GetPermissionSetResponse, error)
- func (c *ClientWithResponses) ListAWSManagedPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAWSManagedPoliciesResponse, error)
- func (c *ClientWithResponses) ListMyRolesWithResponse(ctx context.Context, params *ListMyRolesParams, reqEditors ...RequestEditorFn) (*ListMyRolesResponse, error)
- func (c *ClientWithResponses) ListPermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId PermissionSetID, ...) (*ListPermissionSetAssignmentsResponse, error)
- func (c *ClientWithResponses) ListPermissionSetsWithResponse(ctx context.Context, params *ListPermissionSetsParams, ...) (*ListPermissionSetsResponse, error)
- func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)
- func (c *ClientWithResponses) RedeployPermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId PermissionSetID, ...) (*RedeployPermissionSetAssignmentResponse, error)
- func (c *ClientWithResponses) UpdatePermissionSetWithBodyWithResponse(ctx context.Context, permissionSetId PermissionSetID, contentType string, ...) (*UpdatePermissionSetResponse, error)
- func (c *ClientWithResponses) UpdatePermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, ...) (*UpdatePermissionSetResponse, error)
- type ClientWithResponsesInterface
- type CreatePermissionSetAssignmentsResponse
- type CreatePermissionSetResponse
- type DeletePermissionSetAssignmentResponse
- type DeletePermissionSetResponse
- type GetAPIDocumentResponse
- type GetPermissionSetResponse
- type HttpRequestDoer
- type ListAWSManagedPoliciesResponse
- type ListMyRolesResponse
- type ListPermissionSetAssignmentsResponse
- type ListPermissionSetsResponse
- type ListRolesResponse
- type RedeployPermissionSetAssignmentResponse
- type RequestEditorFn
- type UpdatePermissionSetResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreatePermissionSetAssignmentsRequest ¶
func NewCreatePermissionSetAssignmentsRequest(server string, permissionSetId PermissionSetID, body CreatePermissionSetAssignmentsJSONRequestBody) (*http.Request, error)
NewCreatePermissionSetAssignmentsRequest calls the generic CreatePermissionSetAssignments builder with application/json body
func NewCreatePermissionSetAssignmentsRequestWithBody ¶
func NewCreatePermissionSetAssignmentsRequestWithBody(server string, permissionSetId PermissionSetID, contentType string, body io.Reader) (*http.Request, error)
NewCreatePermissionSetAssignmentsRequestWithBody generates requests for CreatePermissionSetAssignments with any type of body
func NewCreatePermissionSetRequest ¶
func NewCreatePermissionSetRequest(server string, body CreatePermissionSetJSONRequestBody) (*http.Request, error)
NewCreatePermissionSetRequest calls the generic CreatePermissionSet builder with application/json body
func NewCreatePermissionSetRequestWithBody ¶
func NewCreatePermissionSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePermissionSetRequestWithBody generates requests for CreatePermissionSet with any type of body
func NewDeletePermissionSetAssignmentRequest ¶
func NewDeletePermissionSetAssignmentRequest(server string, permissionSetId PermissionSetID, assignmentId AssignmentID) (*http.Request, error)
NewDeletePermissionSetAssignmentRequest generates requests for DeletePermissionSetAssignment
func NewDeletePermissionSetRequest ¶
func NewDeletePermissionSetRequest(server string, permissionSetId PermissionSetID) (*http.Request, error)
NewDeletePermissionSetRequest generates requests for DeletePermissionSet
func NewGetAPIDocumentRequest ¶
NewGetAPIDocumentRequest generates requests for GetAPIDocument
func NewGetPermissionSetRequest ¶
func NewGetPermissionSetRequest(server string, permissionSetId PermissionSetID) (*http.Request, error)
NewGetPermissionSetRequest generates requests for GetPermissionSet
func NewListAWSManagedPoliciesRequest ¶
NewListAWSManagedPoliciesRequest generates requests for ListAWSManagedPolicies
func NewListMyRolesRequest ¶
NewListMyRolesRequest generates requests for ListMyRoles
func NewListPermissionSetAssignmentsRequest ¶
func NewListPermissionSetAssignmentsRequest(server string, permissionSetId PermissionSetID, params *ListPermissionSetAssignmentsParams) (*http.Request, error)
NewListPermissionSetAssignmentsRequest generates requests for ListPermissionSetAssignments
func NewListPermissionSetsRequest ¶
func NewListPermissionSetsRequest(server string, params *ListPermissionSetsParams) (*http.Request, error)
NewListPermissionSetsRequest generates requests for ListPermissionSets
func NewListRolesRequest ¶
NewListRolesRequest generates requests for ListRoles
func NewRedeployPermissionSetAssignmentRequest ¶
func NewRedeployPermissionSetAssignmentRequest(server string, permissionSetId PermissionSetID, assignmentId AssignmentID) (*http.Request, error)
NewRedeployPermissionSetAssignmentRequest generates requests for RedeployPermissionSetAssignment
Types ¶
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) CreatePermissionSet ¶
func (*Client) CreatePermissionSetAssignments ¶
func (*Client) CreatePermissionSetAssignmentsWithBody ¶
func (*Client) CreatePermissionSetWithBody ¶
func (*Client) DeletePermissionSet ¶
func (*Client) DeletePermissionSetAssignment ¶
func (*Client) GetAPIDocument ¶
func (*Client) GetPermissionSet ¶
func (*Client) ListAWSManagedPolicies ¶
func (*Client) ListMyRoles ¶
func (*Client) ListPermissionSetAssignments ¶
func (*Client) ListPermissionSets ¶
func (*Client) RedeployPermissionSetAssignment ¶
func (*Client) UpdatePermissionSet ¶
type ClientInterface ¶
type ClientInterface interface { // ListPermissionSets request ListPermissionSets(ctx context.Context, params *ListPermissionSetsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreatePermissionSet request with any body CreatePermissionSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreatePermissionSet(ctx context.Context, body CreatePermissionSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListAWSManagedPolicies request ListAWSManagedPolicies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ListRoles request ListRoles(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ListMyRoles request ListMyRoles(ctx context.Context, params *ListMyRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeletePermissionSet request DeletePermissionSet(ctx context.Context, permissionSetId PermissionSetID, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPermissionSet request GetPermissionSet(ctx context.Context, permissionSetId PermissionSetID, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePermissionSet request with any body UpdatePermissionSetWithBody(ctx context.Context, permissionSetId PermissionSetID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePermissionSet(ctx context.Context, permissionSetId PermissionSetID, body UpdatePermissionSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListPermissionSetAssignments request ListPermissionSetAssignments(ctx context.Context, permissionSetId PermissionSetID, params *ListPermissionSetAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreatePermissionSetAssignments request with any body CreatePermissionSetAssignmentsWithBody(ctx context.Context, permissionSetId PermissionSetID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreatePermissionSetAssignments(ctx context.Context, permissionSetId PermissionSetID, body CreatePermissionSetAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeletePermissionSetAssignment request DeletePermissionSetAssignment(ctx context.Context, permissionSetId PermissionSetID, assignmentId AssignmentID, reqEditors ...RequestEditorFn) (*http.Response, error) // RedeployPermissionSetAssignment request RedeployPermissionSetAssignment(ctx context.Context, permissionSetId PermissionSetID, assignmentId AssignmentID, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAPIDocument request GetAPIDocument(ctx context.Context, 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) CreatePermissionSetAssignmentsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePermissionSetAssignmentsWithBodyWithResponse(ctx context.Context, permissionSetId PermissionSetID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePermissionSetAssignmentsResponse, error)
CreatePermissionSetAssignmentsWithBodyWithResponse request with arbitrary body returning *CreatePermissionSetAssignmentsResponse
func (*ClientWithResponses) CreatePermissionSetAssignmentsWithResponse ¶
func (c *ClientWithResponses) CreatePermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId PermissionSetID, body CreatePermissionSetAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePermissionSetAssignmentsResponse, error)
func (*ClientWithResponses) CreatePermissionSetWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePermissionSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePermissionSetResponse, error)
CreatePermissionSetWithBodyWithResponse request with arbitrary body returning *CreatePermissionSetResponse
func (*ClientWithResponses) CreatePermissionSetWithResponse ¶
func (c *ClientWithResponses) CreatePermissionSetWithResponse(ctx context.Context, body CreatePermissionSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePermissionSetResponse, error)
func (*ClientWithResponses) DeletePermissionSetAssignmentWithResponse ¶
func (c *ClientWithResponses) DeletePermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId PermissionSetID, assignmentId AssignmentID, reqEditors ...RequestEditorFn) (*DeletePermissionSetAssignmentResponse, error)
DeletePermissionSetAssignmentWithResponse request returning *DeletePermissionSetAssignmentResponse
func (*ClientWithResponses) DeletePermissionSetWithResponse ¶
func (c *ClientWithResponses) DeletePermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, reqEditors ...RequestEditorFn) (*DeletePermissionSetResponse, error)
DeletePermissionSetWithResponse request returning *DeletePermissionSetResponse
func (*ClientWithResponses) GetAPIDocumentWithResponse ¶
func (c *ClientWithResponses) GetAPIDocumentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAPIDocumentResponse, error)
GetAPIDocumentWithResponse request returning *GetAPIDocumentResponse
func (*ClientWithResponses) GetPermissionSetWithResponse ¶
func (c *ClientWithResponses) GetPermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, reqEditors ...RequestEditorFn) (*GetPermissionSetResponse, error)
GetPermissionSetWithResponse request returning *GetPermissionSetResponse
func (*ClientWithResponses) ListAWSManagedPoliciesWithResponse ¶
func (c *ClientWithResponses) ListAWSManagedPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAWSManagedPoliciesResponse, error)
ListAWSManagedPoliciesWithResponse request returning *ListAWSManagedPoliciesResponse
func (*ClientWithResponses) ListMyRolesWithResponse ¶
func (c *ClientWithResponses) ListMyRolesWithResponse(ctx context.Context, params *ListMyRolesParams, reqEditors ...RequestEditorFn) (*ListMyRolesResponse, error)
ListMyRolesWithResponse request returning *ListMyRolesResponse
func (*ClientWithResponses) ListPermissionSetAssignmentsWithResponse ¶
func (c *ClientWithResponses) ListPermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId PermissionSetID, params *ListPermissionSetAssignmentsParams, reqEditors ...RequestEditorFn) (*ListPermissionSetAssignmentsResponse, error)
ListPermissionSetAssignmentsWithResponse request returning *ListPermissionSetAssignmentsResponse
func (*ClientWithResponses) ListPermissionSetsWithResponse ¶
func (c *ClientWithResponses) ListPermissionSetsWithResponse(ctx context.Context, params *ListPermissionSetsParams, reqEditors ...RequestEditorFn) (*ListPermissionSetsResponse, error)
ListPermissionSetsWithResponse request returning *ListPermissionSetsResponse
func (*ClientWithResponses) ListRolesWithResponse ¶
func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)
ListRolesWithResponse request returning *ListRolesResponse
func (*ClientWithResponses) RedeployPermissionSetAssignmentWithResponse ¶
func (c *ClientWithResponses) RedeployPermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId PermissionSetID, assignmentId AssignmentID, reqEditors ...RequestEditorFn) (*RedeployPermissionSetAssignmentResponse, error)
RedeployPermissionSetAssignmentWithResponse request returning *RedeployPermissionSetAssignmentResponse
func (*ClientWithResponses) UpdatePermissionSetWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePermissionSetWithBodyWithResponse(ctx context.Context, permissionSetId PermissionSetID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePermissionSetResponse, error)
UpdatePermissionSetWithBodyWithResponse request with arbitrary body returning *UpdatePermissionSetResponse
func (*ClientWithResponses) UpdatePermissionSetWithResponse ¶
func (c *ClientWithResponses) UpdatePermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, body UpdatePermissionSetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePermissionSetResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ListPermissionSets request ListPermissionSetsWithResponse(ctx context.Context, params *ListPermissionSetsParams, reqEditors ...RequestEditorFn) (*ListPermissionSetsResponse, error) // CreatePermissionSet request with any body CreatePermissionSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePermissionSetResponse, error) CreatePermissionSetWithResponse(ctx context.Context, body CreatePermissionSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePermissionSetResponse, error) // ListAWSManagedPolicies request ListAWSManagedPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAWSManagedPoliciesResponse, error) // ListRoles request ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResponse, error) // ListMyRoles request ListMyRolesWithResponse(ctx context.Context, params *ListMyRolesParams, reqEditors ...RequestEditorFn) (*ListMyRolesResponse, error) // DeletePermissionSet request DeletePermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, reqEditors ...RequestEditorFn) (*DeletePermissionSetResponse, error) // GetPermissionSet request GetPermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, reqEditors ...RequestEditorFn) (*GetPermissionSetResponse, error) // UpdatePermissionSet request with any body UpdatePermissionSetWithBodyWithResponse(ctx context.Context, permissionSetId PermissionSetID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePermissionSetResponse, error) UpdatePermissionSetWithResponse(ctx context.Context, permissionSetId PermissionSetID, body UpdatePermissionSetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePermissionSetResponse, error) // ListPermissionSetAssignments request ListPermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId PermissionSetID, params *ListPermissionSetAssignmentsParams, reqEditors ...RequestEditorFn) (*ListPermissionSetAssignmentsResponse, error) // CreatePermissionSetAssignments request with any body CreatePermissionSetAssignmentsWithBodyWithResponse(ctx context.Context, permissionSetId PermissionSetID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePermissionSetAssignmentsResponse, error) CreatePermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId PermissionSetID, body CreatePermissionSetAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePermissionSetAssignmentsResponse, error) // DeletePermissionSetAssignment request DeletePermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId PermissionSetID, assignmentId AssignmentID, reqEditors ...RequestEditorFn) (*DeletePermissionSetAssignmentResponse, error) // RedeployPermissionSetAssignment request RedeployPermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId PermissionSetID, assignmentId AssignmentID, reqEditors ...RequestEditorFn) (*RedeployPermissionSetAssignmentResponse, error) // GetAPIDocument request GetAPIDocumentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAPIDocumentResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreatePermissionSetAssignmentsResponse ¶
type CreatePermissionSetAssignmentsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AssignmentRecords JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseCreatePermissionSetAssignmentsResponse ¶
func ParseCreatePermissionSetAssignmentsResponse(rsp *http.Response) (*CreatePermissionSetAssignmentsResponse, error)
ParseCreatePermissionSetAssignmentsResponse parses an HTTP response from a CreatePermissionSetAssignmentsWithResponse call
func (CreatePermissionSetAssignmentsResponse) Status ¶
func (r CreatePermissionSetAssignmentsResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePermissionSetAssignmentsResponse) StatusCode ¶
func (r CreatePermissionSetAssignmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePermissionSetResponse ¶
type CreatePermissionSetResponse struct { Body []byte HTTPResponse *http.Response JSON201 *PermissionSetRecord JSON400 *ErrorResponse JSON409 *ErrorResponse JSON500 *ErrorResponse }
func ParseCreatePermissionSetResponse ¶
func ParseCreatePermissionSetResponse(rsp *http.Response) (*CreatePermissionSetResponse, error)
ParseCreatePermissionSetResponse parses an HTTP response from a CreatePermissionSetWithResponse call
func (CreatePermissionSetResponse) Status ¶
func (r CreatePermissionSetResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePermissionSetResponse) StatusCode ¶
func (r CreatePermissionSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePermissionSetAssignmentResponse ¶
type DeletePermissionSetAssignmentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AssignmentRecord JSON400 *ErrorResponse JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseDeletePermissionSetAssignmentResponse ¶
func ParseDeletePermissionSetAssignmentResponse(rsp *http.Response) (*DeletePermissionSetAssignmentResponse, error)
ParseDeletePermissionSetAssignmentResponse parses an HTTP response from a DeletePermissionSetAssignmentWithResponse call
func (DeletePermissionSetAssignmentResponse) Status ¶
func (r DeletePermissionSetAssignmentResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePermissionSetAssignmentResponse) StatusCode ¶
func (r DeletePermissionSetAssignmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePermissionSetResponse ¶
type DeletePermissionSetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PermissionSetRecord JSON400 *ErrorResponse JSON404 *ErrorResponse JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseDeletePermissionSetResponse ¶
func ParseDeletePermissionSetResponse(rsp *http.Response) (*DeletePermissionSetResponse, error)
ParseDeletePermissionSetResponse parses an HTTP response from a DeletePermissionSetWithResponse call
func (DeletePermissionSetResponse) Status ¶
func (r DeletePermissionSetResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePermissionSetResponse) StatusCode ¶
func (r DeletePermissionSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAPIDocumentResponse ¶
type GetAPIDocumentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} JSON500 *ErrorResponse }
func ParseGetAPIDocumentResponse ¶
func ParseGetAPIDocumentResponse(rsp *http.Response) (*GetAPIDocumentResponse, error)
ParseGetAPIDocumentResponse parses an HTTP response from a GetAPIDocumentWithResponse call
func (GetAPIDocumentResponse) Status ¶
func (r GetAPIDocumentResponse) Status() string
Status returns HTTPResponse.Status
func (GetAPIDocumentResponse) StatusCode ¶
func (r GetAPIDocumentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPermissionSetResponse ¶
type GetPermissionSetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PermissionSetRecord JSON404 *ErrorResponse JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseGetPermissionSetResponse ¶
func ParseGetPermissionSetResponse(rsp *http.Response) (*GetPermissionSetResponse, error)
ParseGetPermissionSetResponse parses an HTTP response from a GetPermissionSetWithResponse call
func (GetPermissionSetResponse) Status ¶
func (r GetPermissionSetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPermissionSetResponse) StatusCode ¶
func (r GetPermissionSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListAWSManagedPoliciesResponse ¶
type ListAWSManagedPoliciesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListAWSManagedPolicies JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseListAWSManagedPoliciesResponse ¶
func ParseListAWSManagedPoliciesResponse(rsp *http.Response) (*ListAWSManagedPoliciesResponse, error)
ParseListAWSManagedPoliciesResponse parses an HTTP response from a ListAWSManagedPoliciesWithResponse call
func (ListAWSManagedPoliciesResponse) Status ¶
func (r ListAWSManagedPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAWSManagedPoliciesResponse) StatusCode ¶
func (r ListAWSManagedPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMyRolesResponse ¶
type ListMyRolesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListRoles JSON403 *ErrorResponse JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseListMyRolesResponse ¶
func ParseListMyRolesResponse(rsp *http.Response) (*ListMyRolesResponse, error)
ParseListMyRolesResponse parses an HTTP response from a ListMyRolesWithResponse call
func (ListMyRolesResponse) Status ¶
func (r ListMyRolesResponse) Status() string
Status returns HTTPResponse.Status
func (ListMyRolesResponse) StatusCode ¶
func (r ListMyRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPermissionSetAssignmentsResponse ¶
type ListPermissionSetAssignmentsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListAssignmentRecords JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseListPermissionSetAssignmentsResponse ¶
func ParseListPermissionSetAssignmentsResponse(rsp *http.Response) (*ListPermissionSetAssignmentsResponse, error)
ParseListPermissionSetAssignmentsResponse parses an HTTP response from a ListPermissionSetAssignmentsWithResponse call
func (ListPermissionSetAssignmentsResponse) Status ¶
func (r ListPermissionSetAssignmentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPermissionSetAssignmentsResponse) StatusCode ¶
func (r ListPermissionSetAssignmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPermissionSetsResponse ¶
type ListPermissionSetsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListPermissionSets JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseListPermissionSetsResponse ¶
func ParseListPermissionSetsResponse(rsp *http.Response) (*ListPermissionSetsResponse, error)
ParseListPermissionSetsResponse parses an HTTP response from a ListPermissionSetsWithResponse call
func (ListPermissionSetsResponse) Status ¶
func (r ListPermissionSetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPermissionSetsResponse) StatusCode ¶
func (r ListPermissionSetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRolesResponse ¶
type ListRolesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListRoles JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseListRolesResponse ¶
func ParseListRolesResponse(rsp *http.Response) (*ListRolesResponse, error)
ParseListRolesResponse parses an HTTP response from a ListRolesWithResponse call
func (ListRolesResponse) Status ¶
func (r ListRolesResponse) Status() string
Status returns HTTPResponse.Status
func (ListRolesResponse) StatusCode ¶
func (r ListRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RedeployPermissionSetAssignmentResponse ¶
type RedeployPermissionSetAssignmentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AssignmentRecord JSON400 *ErrorResponse JSON404 *ErrorResponse JSON500 *ErrorResponse }
func ParseRedeployPermissionSetAssignmentResponse ¶
func ParseRedeployPermissionSetAssignmentResponse(rsp *http.Response) (*RedeployPermissionSetAssignmentResponse, error)
ParseRedeployPermissionSetAssignmentResponse parses an HTTP response from a RedeployPermissionSetAssignmentWithResponse call
func (RedeployPermissionSetAssignmentResponse) Status ¶
func (r RedeployPermissionSetAssignmentResponse) Status() string
Status returns HTTPResponse.Status
func (RedeployPermissionSetAssignmentResponse) StatusCode ¶
func (r RedeployPermissionSetAssignmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type UpdatePermissionSetResponse ¶
type UpdatePermissionSetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PermissionSetRecord JSON400 *ErrorResponse JSON404 *ErrorResponse JSON429 *ErrorResponse JSON500 *ErrorResponse }
func ParseUpdatePermissionSetResponse ¶
func ParseUpdatePermissionSetResponse(rsp *http.Response) (*UpdatePermissionSetResponse, error)
ParseUpdatePermissionSetResponse parses an HTTP response from a UpdatePermissionSetWithResponse call
func (UpdatePermissionSetResponse) Status ¶
func (r UpdatePermissionSetResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePermissionSetResponse) StatusCode ¶
func (r UpdatePermissionSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode