@herd/angular-client
Version:
Swagger generated client for @herd/angular-client
104 lines (103 loc) • 8.85 kB
TypeScript
/**
* herd
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.220.0-SNAPSHOT
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { NamespaceIamRoleAuthorization } from '../model/namespaceIamRoleAuthorization';
import { NamespaceIamRoleAuthorizationCreateRequest } from '../model/namespaceIamRoleAuthorizationCreateRequest';
import { NamespaceIamRoleAuthorizationKeys } from '../model/namespaceIamRoleAuthorizationKeys';
import { NamespaceIamRoleAuthorizationUpdateRequest } from '../model/namespaceIamRoleAuthorizationUpdateRequest';
import { Configuration } from '../configuration';
export declare class NamespaceIAMRoleAuthorizationService {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* createNamespaceIamRoleAuthorization
* Authorizes a namespace to use an IAM role.
* @param namespaceIamRoleAuthorizationCreateRequest The namespace IAM role create request
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
namespaceIAMRoleAuthorizationCreateNamespaceIamRoleAuthorization(namespaceIamRoleAuthorizationCreateRequest: NamespaceIamRoleAuthorizationCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<NamespaceIamRoleAuthorization>;
namespaceIAMRoleAuthorizationCreateNamespaceIamRoleAuthorization(namespaceIamRoleAuthorizationCreateRequest: NamespaceIamRoleAuthorizationCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<NamespaceIamRoleAuthorization>>;
namespaceIAMRoleAuthorizationCreateNamespaceIamRoleAuthorization(namespaceIamRoleAuthorizationCreateRequest: NamespaceIamRoleAuthorizationCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<NamespaceIamRoleAuthorization>>;
/**
* deleteNamespaceIamRoleAuthorization
* Removes a namespace IAM role authorization.
* @param namespace The namespace
* @param iamRoleName The IAM role name
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
namespaceIAMRoleAuthorizationDeleteNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, observe?: 'body', reportProgress?: boolean): Observable<NamespaceIamRoleAuthorization>;
namespaceIAMRoleAuthorizationDeleteNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<NamespaceIamRoleAuthorization>>;
namespaceIAMRoleAuthorizationDeleteNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<NamespaceIamRoleAuthorization>>;
/**
* getNamespaceIamRoleAuthorization
* Get the namespace IAM role authorization.
* @param namespace The namespace
* @param iamRoleName The IAM role name
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, observe?: 'body', reportProgress?: boolean): Observable<NamespaceIamRoleAuthorization>;
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<NamespaceIamRoleAuthorization>>;
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<NamespaceIamRoleAuthorization>>;
/**
* getNamespaceIamRoleAuthorizations
* Get a list of namespace IAM role authorization keys.
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizations(observe?: 'body', reportProgress?: boolean): Observable<NamespaceIamRoleAuthorizationKeys>;
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizations(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<NamespaceIamRoleAuthorizationKeys>>;
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizations(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<NamespaceIamRoleAuthorizationKeys>>;
/**
* getNamespaceIamRoleAuthorizationsByIamRoleName
* Get a list of namespace IAM role authorization keys by IAM role name.
* @param iamRoleName The IAM role name
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizationsByIamRoleName(iamRoleName: string, observe?: 'body', reportProgress?: boolean): Observable<NamespaceIamRoleAuthorizationKeys>;
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizationsByIamRoleName(iamRoleName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<NamespaceIamRoleAuthorizationKeys>>;
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizationsByIamRoleName(iamRoleName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<NamespaceIamRoleAuthorizationKeys>>;
/**
* getNamespaceIamRoleAuthorizationsByNamespace
* Get a list of namespace IAM role authorization keys by namespace code.
* @param namespace The namespace
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizationsByNamespace(namespace: string, observe?: 'body', reportProgress?: boolean): Observable<NamespaceIamRoleAuthorizationKeys>;
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizationsByNamespace(namespace: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<NamespaceIamRoleAuthorizationKeys>>;
namespaceIAMRoleAuthorizationGetNamespaceIamRoleAuthorizationsByNamespace(namespace: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<NamespaceIamRoleAuthorizationKeys>>;
/**
* updateNamespaceIamRoleAuthorization
* Sets the IAM role description for a namespace IAM role authorization.
* @param namespace The namespace
* @param iamRoleName The IAM role name
* @param namespaceIamRoleAuthorizationUpdateRequest The namespace IAM role update request
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
namespaceIAMRoleAuthorizationUpdateNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, namespaceIamRoleAuthorizationUpdateRequest: NamespaceIamRoleAuthorizationUpdateRequest, observe?: 'body', reportProgress?: boolean): Observable<NamespaceIamRoleAuthorization>;
namespaceIAMRoleAuthorizationUpdateNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, namespaceIamRoleAuthorizationUpdateRequest: NamespaceIamRoleAuthorizationUpdateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<NamespaceIamRoleAuthorization>>;
namespaceIAMRoleAuthorizationUpdateNamespaceIamRoleAuthorization(namespace: string, iamRoleName: string, namespaceIamRoleAuthorizationUpdateRequest: NamespaceIamRoleAuthorizationUpdateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<NamespaceIamRoleAuthorization>>;
}