tvaultapi/src/main/java/com/tmobile/cso/vault/api/v2/controller/SelfSupportController.java
@ApiOperation(value = "${SelfSupportController.updateIAMRole.value}", notes = "${SelfSupportController.updateIAMRole.notes}", hidden=true)
	@PutMapping(value="/v2/ss/auth/aws/iam/role",consumes="application/json",produces="application/json")
	public ResponseEntity<String> updateRole(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody AWSIAMRole awsiamRole, @RequestParam("path") String path) throws TVaultValidationException {
		UserDetails userDetails = (UserDetails) ((HttpServletRequest) request).getAttribute("UserDetails");
		return selfSupportService.updateIAMRole(userDetails,  awsiamRole, path);
	}
/**
	 * method to update aws iam role
	 * @param token
	 * @param awsiamRole
	 * @return
	 * @throws TVaultValidationException
	 */
method to update aws iam role
@param token
@param awsiamRole
@return
@throws TVaultValidationException
method to update aws iam role @param token @param awsiamRole @return @throws TVaultValidationException
@ApiOperation(value = "${SelfSupportController.updateIAMRole.value}", notes = "${SelfSupportController.updateIAMRole.notes}", hidden=true)
	@PutMapping(value="/v2/ss/auth/aws/iam/role",consumes="application/json",produces="application/json")
	public ResponseEntity<String> updateRole(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody AWSIAMRole awsiamRole, @RequestParam("path") String path) throws TVaultValidationException {
		UserDetails userDetails = (UserDetails) ((HttpServletRequest) request).getAttribute("UserDetails");
		return selfSupportService.updateIAMRole(userDetails,  awsiamRole, path);
	}
@ ApiOperation ( value = "${SelfSupportController.updateIAMRole.value}" , notes = "${SelfSupportController.updateIAMRole.notes}" , hidden = true ) @ PutMapping ( value = "/v2/ss/auth/aws/iam/role" , consumes = "application/json" , produces = "application/json" ) public ResponseEntity < String > updateRole ( HttpServletRequest request , @ RequestHeader ( value = "vault-token" ) String token , @ RequestBody AWSIAMRole awsiamRole , @ RequestParam ( "path" ) String path ) throws TVaultValidationException { UserDetails userDetails = ( UserDetails ) ( ( HttpServletRequest ) request ) . getAttribute ( "UserDetails" ) ; return selfSupportService . updateIAMRole ( userDetails , awsiamRole , path ) ; }
method to update aws iam role
 @param token
 @param awsiamRole
 @return
 @throws TVaultValidationException
method to update aws iam role @param token @param awsiamRole @return @throws TVaultValidationException