parameters: (self)
return_statement: return assume_role_kwargs
docstring: Get the arguments for assume role based on current configuration.
docstring_summary: Get the arguments for assume role based on current configuration.
docstring_tokens: Get the arguments for assume role based on current configuration .
function: def _assume_role_kwargs(self):
          """Get the arguments for assume role based on current configuration."""
          assume_role_kwargs = deepcopy(self._assume_kwargs)
          identity_token = self._web_identity_token_loader()
          assume_role_kwargs['WebIdentityToken'] = identity_token
  
          return assume_role_kwargs
function_tokens: def _assume_role_kwargs ( self ) : assume_role_kwargs = deepcopy ( self . _assume_kwargs ) identity_token = self . _web_identity_token_loader ( ) assume_role_kwargs [ 'WebIdentityToken' ] = identity_token return assume_role_kwargs