code: @Override
      public AttachSecurityProfileResult attachSecurityProfile(AttachSecurityProfileRequest request) {
          request = beforeClientExecution(request);
          return executeAttachSecurityProfile(request);
      }
docs: <p>
  Associates a Device Defender security profile with a thing group or with this account. Each thing group or
  account can have up to five security profiles associated with it.
  </p>
  
  @param attachSecurityProfileRequest
  @return Result of the AttachSecurityProfile operation returned by the service.
  @throws InvalidRequestException
  The request is not valid.
  @throws ResourceNotFoundException
  The specified resource does not exist.
  @throws LimitExceededException
  A limit has been exceeded.
  @throws VersionConflictException
  An exception thrown when the version of an entity specified with the <code>expectedVersion</code>
  parameter does not match the latest version in the system.
  @throws ThrottlingException
  The rate exceeds the limit.
  @throws InternalFailureException
  An unexpected error has occurred.
  @sample AWSIot.AttachSecurityProfile