@RestController
@RequestMapping(value="/rest",
produces={"application/xml","application/json"})
public class NamespaceIamRoleAuthorizationRestController
extends HerdBaseController
| Constructor and Description |
|---|
NamespaceIamRoleAuthorizationRestController() |
| Modifier and Type | Method and Description |
|---|---|
NamespaceIamRoleAuthorization |
createNamespaceIamRoleAuthorization(NamespaceIamRoleAuthorizationCreateRequest request)
Authorizes a namespace to use IAM roles.
|
NamespaceIamRoleAuthorization |
deleteNamespaceIamRoleAuthorization(String namespace)
Removes IAM roles a namespace has authorizations to use.
|
NamespaceIamRoleAuthorization |
getNamespaceIamRoleAuthorization(String namespace)
Get the IAM roles that a namespace is authorized to use.
|
NamespaceIamRoleAuthorizations |
getNamespaceIamRoleAuthorizations()
Get a list of namespace IAM role authorizations.
|
NamespaceIamRoleAuthorization |
updateNamespaceIamRoleAuthorization(String namespace,
NamespaceIamRoleAuthorizationUpdateRequest request)
Sets the authorizations a namespace has to use IAM roles.
|
addPagingHttpHeaders, validateNoDuplicateQueryStringParamspublic NamespaceIamRoleAuthorizationRestController()
@RequestMapping(value="/namespaceIamRoleAuthorizations",
method=POST,
consumes={"application/xml","application/json"})
@Secured(value="FN_NAMESPACE_IAM_ROLE_AUTHORIZATIONS_POST")
public NamespaceIamRoleAuthorization createNamespaceIamRoleAuthorization(@RequestBody
NamespaceIamRoleAuthorizationCreateRequest request)
request - The namespace IAM role create request@RequestMapping(value="/namespaceIamRoleAuthorizations/namespaces/{namespace}",
method=GET)
@Secured(value="FN_NAMESPACE_IAM_ROLE_AUTHORIZATIONS_GET")
public NamespaceIamRoleAuthorization getNamespaceIamRoleAuthorization(@PathVariable(value="namespace")
String namespace)
namespace - The namespace@RequestMapping(value="/namespaceIamRoleAuthorizations",
method=GET)
@Secured(value="FN_NAMESPACE_IAM_ROLE_AUTHORIZATIONS_ALL_GET")
public NamespaceIamRoleAuthorizations getNamespaceIamRoleAuthorizations()
@RequestMapping(value="/namespaceIamRoleAuthorizations/namespaces/{namespace}",
method=PUT,
consumes={"application/xml","application/json"})
@Secured(value="FN_NAMESPACE_IAM_ROLE_AUTHORIZATIONS_PUT")
public NamespaceIamRoleAuthorization updateNamespaceIamRoleAuthorization(@PathVariable(value="namespace")
String namespace,
@RequestBody
NamespaceIamRoleAuthorizationUpdateRequest request)
namespace - The namespace to update authorizationsrequest - The namespace IAM role update request@RequestMapping(value="/namespaceIamRoleAuthorizations/namespaces/{namespace}",
method=DELETE)
@Secured(value="FN_NAMESPACE_IAM_ROLE_AUTHORIZATIONS_DELETE")
public NamespaceIamRoleAuthorization deleteNamespaceIamRoleAuthorization(@PathVariable(value="namespace")
String namespace)
namespace - The namespace of the authorizations to removeCopyright © 2019. All rights reserved.