tvaultapi/src/main/java/com/tmobile/cso/vault/api/v2/controller/SelfSupportController.java
@ApiOperation(value = "${SelfSupportController.createAwsiamRole.value}", notes = "${SelfSupportController.createAwsiamRole.notes}")
	@PostMapping(value="/v2/ss/auth/aws/awsiam/role",produces="application/json")
	public ResponseEntity<String> createAwsiamRole(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody AWSIAMRole awsiamRole) throws TVaultValidationException{
		UserDetails userDetails = (UserDetails) ((HttpServletRequest) request).getAttribute("UserDetails");
		return selfSupportService.createAwsiamRole(userDetails, awsiamRole);
	}
/**
	 * Method to create AWS IAM role in new UI
	 * @param token
	 * @param awsiamRole
	 * @return
	 */
Method to create AWS IAM role in new UI
@param token
@param awsiamRole
@return
Method to create AWS IAM role in new UI @param token @param awsiamRole @return
@ApiOperation(value = "${SelfSupportController.createAwsiamRole.value}", notes = "${SelfSupportController.createAwsiamRole.notes}")
	@PostMapping(value="/v2/ss/auth/aws/awsiam/role",produces="application/json")
	public ResponseEntity<String> createAwsiamRole(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody AWSIAMRole awsiamRole) throws TVaultValidationException{
		UserDetails userDetails = (UserDetails) ((HttpServletRequest) request).getAttribute("UserDetails");
		return selfSupportService.createAwsiamRole(userDetails, awsiamRole);
	}
@ ApiOperation ( value = "${SelfSupportController.createAwsiamRole.value}" , notes = "${SelfSupportController.createAwsiamRole.notes}" ) @ PostMapping ( value = "/v2/ss/auth/aws/awsiam/role" , produces = "application/json" ) public ResponseEntity < String > createAwsiamRole ( HttpServletRequest request , @ RequestHeader ( value = "vault-token" ) String token , @ RequestBody AWSIAMRole awsiamRole ) throws TVaultValidationException { UserDetails userDetails = ( UserDetails ) ( ( HttpServletRequest ) request ) . getAttribute ( "UserDetails" ) ; return selfSupportService . createAwsiamRole ( userDetails , awsiamRole ) ; }
Method to create AWS IAM role in new UI
 @param token
 @param awsiamRole
 @return
Method to create AWS IAM role in new UI @param token @param awsiamRole @return