github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python-legacy/lakefs_client/api/auth_api.py (about)

     1  """
     2      lakeFS API
     3  
     4      lakeFS HTTP API  # noqa: E501
     5  
     6      The version of the OpenAPI document: 1.0.0
     7      Contact: services@treeverse.io
     8      Generated by: https://openapi-generator.tech
     9  """
    10  
    11  
    12  import re  # noqa: F401
    13  import sys  # noqa: F401
    14  
    15  from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint
    16  from lakefs_client.model_utils import (  # noqa: F401
    17      check_allowed_values,
    18      check_validations,
    19      date,
    20      datetime,
    21      file_type,
    22      none_type,
    23      validate_and_convert_types
    24  )
    25  from lakefs_client.model.acl import ACL
    26  from lakefs_client.model.authentication_token import AuthenticationToken
    27  from lakefs_client.model.credentials import Credentials
    28  from lakefs_client.model.credentials_list import CredentialsList
    29  from lakefs_client.model.credentials_with_secret import CredentialsWithSecret
    30  from lakefs_client.model.current_user import CurrentUser
    31  from lakefs_client.model.error import Error
    32  from lakefs_client.model.error_no_acl import ErrorNoACL
    33  from lakefs_client.model.external_login_information import ExternalLoginInformation
    34  from lakefs_client.model.external_principal import ExternalPrincipal
    35  from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation
    36  from lakefs_client.model.external_principal_list import ExternalPrincipalList
    37  from lakefs_client.model.group import Group
    38  from lakefs_client.model.group_creation import GroupCreation
    39  from lakefs_client.model.group_list import GroupList
    40  from lakefs_client.model.login_information import LoginInformation
    41  from lakefs_client.model.policy import Policy
    42  from lakefs_client.model.policy_list import PolicyList
    43  from lakefs_client.model.user import User
    44  from lakefs_client.model.user_creation import UserCreation
    45  from lakefs_client.model.user_list import UserList
    46  
    47  
    48  class AuthApi(object):
    49      """NOTE: This class is auto generated by OpenAPI Generator
    50      Ref: https://openapi-generator.tech
    51  
    52      Do not edit the class manually.
    53      """
    54  
    55      def __init__(self, api_client=None):
    56          if api_client is None:
    57              api_client = ApiClient()
    58          self.api_client = api_client
    59          self.add_group_membership_endpoint = _Endpoint(
    60              settings={
    61                  'response_type': None,
    62                  'auth': [
    63                      'basic_auth',
    64                      'cookie_auth',
    65                      'jwt_token',
    66                      'oidc_auth',
    67                      'saml_auth'
    68                  ],
    69                  'endpoint_path': '/auth/groups/{groupId}/members/{userId}',
    70                  'operation_id': 'add_group_membership',
    71                  'http_method': 'PUT',
    72                  'servers': None,
    73              },
    74              params_map={
    75                  'all': [
    76                      'group_id',
    77                      'user_id',
    78                  ],
    79                  'required': [
    80                      'group_id',
    81                      'user_id',
    82                  ],
    83                  'nullable': [
    84                  ],
    85                  'enum': [
    86                  ],
    87                  'validation': [
    88                  ]
    89              },
    90              root_map={
    91                  'validations': {
    92                  },
    93                  'allowed_values': {
    94                  },
    95                  'openapi_types': {
    96                      'group_id':
    97                          (str,),
    98                      'user_id':
    99                          (str,),
   100                  },
   101                  'attribute_map': {
   102                      'group_id': 'groupId',
   103                      'user_id': 'userId',
   104                  },
   105                  'location_map': {
   106                      'group_id': 'path',
   107                      'user_id': 'path',
   108                  },
   109                  'collection_format_map': {
   110                  }
   111              },
   112              headers_map={
   113                  'accept': [
   114                      'application/json'
   115                  ],
   116                  'content_type': [],
   117              },
   118              api_client=api_client
   119          )
   120          self.attach_policy_to_group_endpoint = _Endpoint(
   121              settings={
   122                  'response_type': None,
   123                  'auth': [
   124                      'basic_auth',
   125                      'cookie_auth',
   126                      'jwt_token',
   127                      'oidc_auth',
   128                      'saml_auth'
   129                  ],
   130                  'endpoint_path': '/auth/groups/{groupId}/policies/{policyId}',
   131                  'operation_id': 'attach_policy_to_group',
   132                  'http_method': 'PUT',
   133                  'servers': None,
   134              },
   135              params_map={
   136                  'all': [
   137                      'group_id',
   138                      'policy_id',
   139                  ],
   140                  'required': [
   141                      'group_id',
   142                      'policy_id',
   143                  ],
   144                  'nullable': [
   145                  ],
   146                  'enum': [
   147                  ],
   148                  'validation': [
   149                  ]
   150              },
   151              root_map={
   152                  'validations': {
   153                  },
   154                  'allowed_values': {
   155                  },
   156                  'openapi_types': {
   157                      'group_id':
   158                          (str,),
   159                      'policy_id':
   160                          (str,),
   161                  },
   162                  'attribute_map': {
   163                      'group_id': 'groupId',
   164                      'policy_id': 'policyId',
   165                  },
   166                  'location_map': {
   167                      'group_id': 'path',
   168                      'policy_id': 'path',
   169                  },
   170                  'collection_format_map': {
   171                  }
   172              },
   173              headers_map={
   174                  'accept': [
   175                      'application/json'
   176                  ],
   177                  'content_type': [],
   178              },
   179              api_client=api_client
   180          )
   181          self.attach_policy_to_user_endpoint = _Endpoint(
   182              settings={
   183                  'response_type': None,
   184                  'auth': [
   185                      'basic_auth',
   186                      'cookie_auth',
   187                      'jwt_token',
   188                      'oidc_auth',
   189                      'saml_auth'
   190                  ],
   191                  'endpoint_path': '/auth/users/{userId}/policies/{policyId}',
   192                  'operation_id': 'attach_policy_to_user',
   193                  'http_method': 'PUT',
   194                  'servers': None,
   195              },
   196              params_map={
   197                  'all': [
   198                      'user_id',
   199                      'policy_id',
   200                  ],
   201                  'required': [
   202                      'user_id',
   203                      'policy_id',
   204                  ],
   205                  'nullable': [
   206                  ],
   207                  'enum': [
   208                  ],
   209                  'validation': [
   210                  ]
   211              },
   212              root_map={
   213                  'validations': {
   214                  },
   215                  'allowed_values': {
   216                  },
   217                  'openapi_types': {
   218                      'user_id':
   219                          (str,),
   220                      'policy_id':
   221                          (str,),
   222                  },
   223                  'attribute_map': {
   224                      'user_id': 'userId',
   225                      'policy_id': 'policyId',
   226                  },
   227                  'location_map': {
   228                      'user_id': 'path',
   229                      'policy_id': 'path',
   230                  },
   231                  'collection_format_map': {
   232                  }
   233              },
   234              headers_map={
   235                  'accept': [
   236                      'application/json'
   237                  ],
   238                  'content_type': [],
   239              },
   240              api_client=api_client
   241          )
   242          self.create_credentials_endpoint = _Endpoint(
   243              settings={
   244                  'response_type': (CredentialsWithSecret,),
   245                  'auth': [
   246                      'basic_auth',
   247                      'cookie_auth',
   248                      'jwt_token',
   249                      'oidc_auth',
   250                      'saml_auth'
   251                  ],
   252                  'endpoint_path': '/auth/users/{userId}/credentials',
   253                  'operation_id': 'create_credentials',
   254                  'http_method': 'POST',
   255                  'servers': None,
   256              },
   257              params_map={
   258                  'all': [
   259                      'user_id',
   260                  ],
   261                  'required': [
   262                      'user_id',
   263                  ],
   264                  'nullable': [
   265                  ],
   266                  'enum': [
   267                  ],
   268                  'validation': [
   269                  ]
   270              },
   271              root_map={
   272                  'validations': {
   273                  },
   274                  'allowed_values': {
   275                  },
   276                  'openapi_types': {
   277                      'user_id':
   278                          (str,),
   279                  },
   280                  'attribute_map': {
   281                      'user_id': 'userId',
   282                  },
   283                  'location_map': {
   284                      'user_id': 'path',
   285                  },
   286                  'collection_format_map': {
   287                  }
   288              },
   289              headers_map={
   290                  'accept': [
   291                      'application/json'
   292                  ],
   293                  'content_type': [],
   294              },
   295              api_client=api_client
   296          )
   297          self.create_group_endpoint = _Endpoint(
   298              settings={
   299                  'response_type': (Group,),
   300                  'auth': [
   301                      'basic_auth',
   302                      'cookie_auth',
   303                      'jwt_token',
   304                      'oidc_auth',
   305                      'saml_auth'
   306                  ],
   307                  'endpoint_path': '/auth/groups',
   308                  'operation_id': 'create_group',
   309                  'http_method': 'POST',
   310                  'servers': None,
   311              },
   312              params_map={
   313                  'all': [
   314                      'group_creation',
   315                  ],
   316                  'required': [],
   317                  'nullable': [
   318                  ],
   319                  'enum': [
   320                  ],
   321                  'validation': [
   322                  ]
   323              },
   324              root_map={
   325                  'validations': {
   326                  },
   327                  'allowed_values': {
   328                  },
   329                  'openapi_types': {
   330                      'group_creation':
   331                          (GroupCreation,),
   332                  },
   333                  'attribute_map': {
   334                  },
   335                  'location_map': {
   336                      'group_creation': 'body',
   337                  },
   338                  'collection_format_map': {
   339                  }
   340              },
   341              headers_map={
   342                  'accept': [
   343                      'application/json'
   344                  ],
   345                  'content_type': [
   346                      'application/json'
   347                  ]
   348              },
   349              api_client=api_client
   350          )
   351          self.create_policy_endpoint = _Endpoint(
   352              settings={
   353                  'response_type': (Policy,),
   354                  'auth': [
   355                      'basic_auth',
   356                      'cookie_auth',
   357                      'jwt_token',
   358                      'oidc_auth',
   359                      'saml_auth'
   360                  ],
   361                  'endpoint_path': '/auth/policies',
   362                  'operation_id': 'create_policy',
   363                  'http_method': 'POST',
   364                  'servers': None,
   365              },
   366              params_map={
   367                  'all': [
   368                      'policy',
   369                  ],
   370                  'required': [
   371                      'policy',
   372                  ],
   373                  'nullable': [
   374                  ],
   375                  'enum': [
   376                  ],
   377                  'validation': [
   378                  ]
   379              },
   380              root_map={
   381                  'validations': {
   382                  },
   383                  'allowed_values': {
   384                  },
   385                  'openapi_types': {
   386                      'policy':
   387                          (Policy,),
   388                  },
   389                  'attribute_map': {
   390                  },
   391                  'location_map': {
   392                      'policy': 'body',
   393                  },
   394                  'collection_format_map': {
   395                  }
   396              },
   397              headers_map={
   398                  'accept': [
   399                      'application/json'
   400                  ],
   401                  'content_type': [
   402                      'application/json'
   403                  ]
   404              },
   405              api_client=api_client
   406          )
   407          self.create_user_endpoint = _Endpoint(
   408              settings={
   409                  'response_type': (User,),
   410                  'auth': [
   411                      'basic_auth',
   412                      'cookie_auth',
   413                      'jwt_token',
   414                      'oidc_auth',
   415                      'saml_auth'
   416                  ],
   417                  'endpoint_path': '/auth/users',
   418                  'operation_id': 'create_user',
   419                  'http_method': 'POST',
   420                  'servers': None,
   421              },
   422              params_map={
   423                  'all': [
   424                      'user_creation',
   425                  ],
   426                  'required': [],
   427                  'nullable': [
   428                  ],
   429                  'enum': [
   430                  ],
   431                  'validation': [
   432                  ]
   433              },
   434              root_map={
   435                  'validations': {
   436                  },
   437                  'allowed_values': {
   438                  },
   439                  'openapi_types': {
   440                      'user_creation':
   441                          (UserCreation,),
   442                  },
   443                  'attribute_map': {
   444                  },
   445                  'location_map': {
   446                      'user_creation': 'body',
   447                  },
   448                  'collection_format_map': {
   449                  }
   450              },
   451              headers_map={
   452                  'accept': [
   453                      'application/json'
   454                  ],
   455                  'content_type': [
   456                      'application/json'
   457                  ]
   458              },
   459              api_client=api_client
   460          )
   461          self.create_user_external_principal_endpoint = _Endpoint(
   462              settings={
   463                  'response_type': None,
   464                  'auth': [
   465                      'basic_auth',
   466                      'cookie_auth',
   467                      'jwt_token',
   468                      'oidc_auth',
   469                      'saml_auth'
   470                  ],
   471                  'endpoint_path': '/auth/users/{userId}/external/principals',
   472                  'operation_id': 'create_user_external_principal',
   473                  'http_method': 'POST',
   474                  'servers': None,
   475              },
   476              params_map={
   477                  'all': [
   478                      'user_id',
   479                      'principal_id',
   480                      'external_principal_creation',
   481                  ],
   482                  'required': [
   483                      'user_id',
   484                      'principal_id',
   485                  ],
   486                  'nullable': [
   487                  ],
   488                  'enum': [
   489                  ],
   490                  'validation': [
   491                  ]
   492              },
   493              root_map={
   494                  'validations': {
   495                  },
   496                  'allowed_values': {
   497                  },
   498                  'openapi_types': {
   499                      'user_id':
   500                          (str,),
   501                      'principal_id':
   502                          (str,),
   503                      'external_principal_creation':
   504                          (ExternalPrincipalCreation,),
   505                  },
   506                  'attribute_map': {
   507                      'user_id': 'userId',
   508                      'principal_id': 'principalId',
   509                  },
   510                  'location_map': {
   511                      'user_id': 'path',
   512                      'principal_id': 'query',
   513                      'external_principal_creation': 'body',
   514                  },
   515                  'collection_format_map': {
   516                  }
   517              },
   518              headers_map={
   519                  'accept': [
   520                      'application/json'
   521                  ],
   522                  'content_type': [
   523                      'application/json'
   524                  ]
   525              },
   526              api_client=api_client
   527          )
   528          self.delete_credentials_endpoint = _Endpoint(
   529              settings={
   530                  'response_type': None,
   531                  'auth': [
   532                      'basic_auth',
   533                      'cookie_auth',
   534                      'jwt_token',
   535                      'oidc_auth',
   536                      'saml_auth'
   537                  ],
   538                  'endpoint_path': '/auth/users/{userId}/credentials/{accessKeyId}',
   539                  'operation_id': 'delete_credentials',
   540                  'http_method': 'DELETE',
   541                  'servers': None,
   542              },
   543              params_map={
   544                  'all': [
   545                      'user_id',
   546                      'access_key_id',
   547                  ],
   548                  'required': [
   549                      'user_id',
   550                      'access_key_id',
   551                  ],
   552                  'nullable': [
   553                  ],
   554                  'enum': [
   555                  ],
   556                  'validation': [
   557                  ]
   558              },
   559              root_map={
   560                  'validations': {
   561                  },
   562                  'allowed_values': {
   563                  },
   564                  'openapi_types': {
   565                      'user_id':
   566                          (str,),
   567                      'access_key_id':
   568                          (str,),
   569                  },
   570                  'attribute_map': {
   571                      'user_id': 'userId',
   572                      'access_key_id': 'accessKeyId',
   573                  },
   574                  'location_map': {
   575                      'user_id': 'path',
   576                      'access_key_id': 'path',
   577                  },
   578                  'collection_format_map': {
   579                  }
   580              },
   581              headers_map={
   582                  'accept': [
   583                      'application/json'
   584                  ],
   585                  'content_type': [],
   586              },
   587              api_client=api_client
   588          )
   589          self.delete_group_endpoint = _Endpoint(
   590              settings={
   591                  'response_type': None,
   592                  'auth': [
   593                      'basic_auth',
   594                      'cookie_auth',
   595                      'jwt_token',
   596                      'oidc_auth',
   597                      'saml_auth'
   598                  ],
   599                  'endpoint_path': '/auth/groups/{groupId}',
   600                  'operation_id': 'delete_group',
   601                  'http_method': 'DELETE',
   602                  'servers': None,
   603              },
   604              params_map={
   605                  'all': [
   606                      'group_id',
   607                  ],
   608                  'required': [
   609                      'group_id',
   610                  ],
   611                  'nullable': [
   612                  ],
   613                  'enum': [
   614                  ],
   615                  'validation': [
   616                  ]
   617              },
   618              root_map={
   619                  'validations': {
   620                  },
   621                  'allowed_values': {
   622                  },
   623                  'openapi_types': {
   624                      'group_id':
   625                          (str,),
   626                  },
   627                  'attribute_map': {
   628                      'group_id': 'groupId',
   629                  },
   630                  'location_map': {
   631                      'group_id': 'path',
   632                  },
   633                  'collection_format_map': {
   634                  }
   635              },
   636              headers_map={
   637                  'accept': [
   638                      'application/json'
   639                  ],
   640                  'content_type': [],
   641              },
   642              api_client=api_client
   643          )
   644          self.delete_group_membership_endpoint = _Endpoint(
   645              settings={
   646                  'response_type': None,
   647                  'auth': [
   648                      'basic_auth',
   649                      'cookie_auth',
   650                      'jwt_token',
   651                      'oidc_auth',
   652                      'saml_auth'
   653                  ],
   654                  'endpoint_path': '/auth/groups/{groupId}/members/{userId}',
   655                  'operation_id': 'delete_group_membership',
   656                  'http_method': 'DELETE',
   657                  'servers': None,
   658              },
   659              params_map={
   660                  'all': [
   661                      'group_id',
   662                      'user_id',
   663                  ],
   664                  'required': [
   665                      'group_id',
   666                      'user_id',
   667                  ],
   668                  'nullable': [
   669                  ],
   670                  'enum': [
   671                  ],
   672                  'validation': [
   673                  ]
   674              },
   675              root_map={
   676                  'validations': {
   677                  },
   678                  'allowed_values': {
   679                  },
   680                  'openapi_types': {
   681                      'group_id':
   682                          (str,),
   683                      'user_id':
   684                          (str,),
   685                  },
   686                  'attribute_map': {
   687                      'group_id': 'groupId',
   688                      'user_id': 'userId',
   689                  },
   690                  'location_map': {
   691                      'group_id': 'path',
   692                      'user_id': 'path',
   693                  },
   694                  'collection_format_map': {
   695                  }
   696              },
   697              headers_map={
   698                  'accept': [
   699                      'application/json'
   700                  ],
   701                  'content_type': [],
   702              },
   703              api_client=api_client
   704          )
   705          self.delete_policy_endpoint = _Endpoint(
   706              settings={
   707                  'response_type': None,
   708                  'auth': [
   709                      'basic_auth',
   710                      'cookie_auth',
   711                      'jwt_token',
   712                      'oidc_auth',
   713                      'saml_auth'
   714                  ],
   715                  'endpoint_path': '/auth/policies/{policyId}',
   716                  'operation_id': 'delete_policy',
   717                  'http_method': 'DELETE',
   718                  'servers': None,
   719              },
   720              params_map={
   721                  'all': [
   722                      'policy_id',
   723                  ],
   724                  'required': [
   725                      'policy_id',
   726                  ],
   727                  'nullable': [
   728                  ],
   729                  'enum': [
   730                  ],
   731                  'validation': [
   732                  ]
   733              },
   734              root_map={
   735                  'validations': {
   736                  },
   737                  'allowed_values': {
   738                  },
   739                  'openapi_types': {
   740                      'policy_id':
   741                          (str,),
   742                  },
   743                  'attribute_map': {
   744                      'policy_id': 'policyId',
   745                  },
   746                  'location_map': {
   747                      'policy_id': 'path',
   748                  },
   749                  'collection_format_map': {
   750                  }
   751              },
   752              headers_map={
   753                  'accept': [
   754                      'application/json'
   755                  ],
   756                  'content_type': [],
   757              },
   758              api_client=api_client
   759          )
   760          self.delete_user_endpoint = _Endpoint(
   761              settings={
   762                  'response_type': None,
   763                  'auth': [
   764                      'basic_auth',
   765                      'cookie_auth',
   766                      'jwt_token',
   767                      'oidc_auth',
   768                      'saml_auth'
   769                  ],
   770                  'endpoint_path': '/auth/users/{userId}',
   771                  'operation_id': 'delete_user',
   772                  'http_method': 'DELETE',
   773                  'servers': None,
   774              },
   775              params_map={
   776                  'all': [
   777                      'user_id',
   778                  ],
   779                  'required': [
   780                      'user_id',
   781                  ],
   782                  'nullable': [
   783                  ],
   784                  'enum': [
   785                  ],
   786                  'validation': [
   787                  ]
   788              },
   789              root_map={
   790                  'validations': {
   791                  },
   792                  'allowed_values': {
   793                  },
   794                  'openapi_types': {
   795                      'user_id':
   796                          (str,),
   797                  },
   798                  'attribute_map': {
   799                      'user_id': 'userId',
   800                  },
   801                  'location_map': {
   802                      'user_id': 'path',
   803                  },
   804                  'collection_format_map': {
   805                  }
   806              },
   807              headers_map={
   808                  'accept': [
   809                      'application/json'
   810                  ],
   811                  'content_type': [],
   812              },
   813              api_client=api_client
   814          )
   815          self.delete_user_external_principal_endpoint = _Endpoint(
   816              settings={
   817                  'response_type': None,
   818                  'auth': [
   819                      'basic_auth',
   820                      'cookie_auth',
   821                      'jwt_token',
   822                      'oidc_auth',
   823                      'saml_auth'
   824                  ],
   825                  'endpoint_path': '/auth/users/{userId}/external/principals',
   826                  'operation_id': 'delete_user_external_principal',
   827                  'http_method': 'DELETE',
   828                  'servers': None,
   829              },
   830              params_map={
   831                  'all': [
   832                      'user_id',
   833                      'principal_id',
   834                  ],
   835                  'required': [
   836                      'user_id',
   837                      'principal_id',
   838                  ],
   839                  'nullable': [
   840                  ],
   841                  'enum': [
   842                  ],
   843                  'validation': [
   844                  ]
   845              },
   846              root_map={
   847                  'validations': {
   848                  },
   849                  'allowed_values': {
   850                  },
   851                  'openapi_types': {
   852                      'user_id':
   853                          (str,),
   854                      'principal_id':
   855                          (str,),
   856                  },
   857                  'attribute_map': {
   858                      'user_id': 'userId',
   859                      'principal_id': 'principalId',
   860                  },
   861                  'location_map': {
   862                      'user_id': 'path',
   863                      'principal_id': 'query',
   864                  },
   865                  'collection_format_map': {
   866                  }
   867              },
   868              headers_map={
   869                  'accept': [
   870                      'application/json'
   871                  ],
   872                  'content_type': [],
   873              },
   874              api_client=api_client
   875          )
   876          self.detach_policy_from_group_endpoint = _Endpoint(
   877              settings={
   878                  'response_type': None,
   879                  'auth': [
   880                      'basic_auth',
   881                      'cookie_auth',
   882                      'jwt_token',
   883                      'oidc_auth',
   884                      'saml_auth'
   885                  ],
   886                  'endpoint_path': '/auth/groups/{groupId}/policies/{policyId}',
   887                  'operation_id': 'detach_policy_from_group',
   888                  'http_method': 'DELETE',
   889                  'servers': None,
   890              },
   891              params_map={
   892                  'all': [
   893                      'group_id',
   894                      'policy_id',
   895                  ],
   896                  'required': [
   897                      'group_id',
   898                      'policy_id',
   899                  ],
   900                  'nullable': [
   901                  ],
   902                  'enum': [
   903                  ],
   904                  'validation': [
   905                  ]
   906              },
   907              root_map={
   908                  'validations': {
   909                  },
   910                  'allowed_values': {
   911                  },
   912                  'openapi_types': {
   913                      'group_id':
   914                          (str,),
   915                      'policy_id':
   916                          (str,),
   917                  },
   918                  'attribute_map': {
   919                      'group_id': 'groupId',
   920                      'policy_id': 'policyId',
   921                  },
   922                  'location_map': {
   923                      'group_id': 'path',
   924                      'policy_id': 'path',
   925                  },
   926                  'collection_format_map': {
   927                  }
   928              },
   929              headers_map={
   930                  'accept': [
   931                      'application/json'
   932                  ],
   933                  'content_type': [],
   934              },
   935              api_client=api_client
   936          )
   937          self.detach_policy_from_user_endpoint = _Endpoint(
   938              settings={
   939                  'response_type': None,
   940                  'auth': [
   941                      'basic_auth',
   942                      'cookie_auth',
   943                      'jwt_token',
   944                      'oidc_auth',
   945                      'saml_auth'
   946                  ],
   947                  'endpoint_path': '/auth/users/{userId}/policies/{policyId}',
   948                  'operation_id': 'detach_policy_from_user',
   949                  'http_method': 'DELETE',
   950                  'servers': None,
   951              },
   952              params_map={
   953                  'all': [
   954                      'user_id',
   955                      'policy_id',
   956                  ],
   957                  'required': [
   958                      'user_id',
   959                      'policy_id',
   960                  ],
   961                  'nullable': [
   962                  ],
   963                  'enum': [
   964                  ],
   965                  'validation': [
   966                  ]
   967              },
   968              root_map={
   969                  'validations': {
   970                  },
   971                  'allowed_values': {
   972                  },
   973                  'openapi_types': {
   974                      'user_id':
   975                          (str,),
   976                      'policy_id':
   977                          (str,),
   978                  },
   979                  'attribute_map': {
   980                      'user_id': 'userId',
   981                      'policy_id': 'policyId',
   982                  },
   983                  'location_map': {
   984                      'user_id': 'path',
   985                      'policy_id': 'path',
   986                  },
   987                  'collection_format_map': {
   988                  }
   989              },
   990              headers_map={
   991                  'accept': [
   992                      'application/json'
   993                  ],
   994                  'content_type': [],
   995              },
   996              api_client=api_client
   997          )
   998          self.external_principal_login_endpoint = _Endpoint(
   999              settings={
  1000                  'response_type': (AuthenticationToken,),
  1001                  'auth': [],
  1002                  'endpoint_path': '/auth/external/principal/login',
  1003                  'operation_id': 'external_principal_login',
  1004                  'http_method': 'POST',
  1005                  'servers': None,
  1006              },
  1007              params_map={
  1008                  'all': [
  1009                      'external_login_information',
  1010                  ],
  1011                  'required': [],
  1012                  'nullable': [
  1013                  ],
  1014                  'enum': [
  1015                  ],
  1016                  'validation': [
  1017                  ]
  1018              },
  1019              root_map={
  1020                  'validations': {
  1021                  },
  1022                  'allowed_values': {
  1023                  },
  1024                  'openapi_types': {
  1025                      'external_login_information':
  1026                          (ExternalLoginInformation,),
  1027                  },
  1028                  'attribute_map': {
  1029                  },
  1030                  'location_map': {
  1031                      'external_login_information': 'body',
  1032                  },
  1033                  'collection_format_map': {
  1034                  }
  1035              },
  1036              headers_map={
  1037                  'accept': [
  1038                      'application/json'
  1039                  ],
  1040                  'content_type': [
  1041                      'application/json'
  1042                  ]
  1043              },
  1044              api_client=api_client
  1045          )
  1046          self.get_credentials_endpoint = _Endpoint(
  1047              settings={
  1048                  'response_type': (Credentials,),
  1049                  'auth': [
  1050                      'basic_auth',
  1051                      'cookie_auth',
  1052                      'jwt_token',
  1053                      'oidc_auth',
  1054                      'saml_auth'
  1055                  ],
  1056                  'endpoint_path': '/auth/users/{userId}/credentials/{accessKeyId}',
  1057                  'operation_id': 'get_credentials',
  1058                  'http_method': 'GET',
  1059                  'servers': None,
  1060              },
  1061              params_map={
  1062                  'all': [
  1063                      'user_id',
  1064                      'access_key_id',
  1065                  ],
  1066                  'required': [
  1067                      'user_id',
  1068                      'access_key_id',
  1069                  ],
  1070                  'nullable': [
  1071                  ],
  1072                  'enum': [
  1073                  ],
  1074                  'validation': [
  1075                  ]
  1076              },
  1077              root_map={
  1078                  'validations': {
  1079                  },
  1080                  'allowed_values': {
  1081                  },
  1082                  'openapi_types': {
  1083                      'user_id':
  1084                          (str,),
  1085                      'access_key_id':
  1086                          (str,),
  1087                  },
  1088                  'attribute_map': {
  1089                      'user_id': 'userId',
  1090                      'access_key_id': 'accessKeyId',
  1091                  },
  1092                  'location_map': {
  1093                      'user_id': 'path',
  1094                      'access_key_id': 'path',
  1095                  },
  1096                  'collection_format_map': {
  1097                  }
  1098              },
  1099              headers_map={
  1100                  'accept': [
  1101                      'application/json'
  1102                  ],
  1103                  'content_type': [],
  1104              },
  1105              api_client=api_client
  1106          )
  1107          self.get_current_user_endpoint = _Endpoint(
  1108              settings={
  1109                  'response_type': (CurrentUser,),
  1110                  'auth': [
  1111                      'basic_auth',
  1112                      'cookie_auth',
  1113                      'jwt_token',
  1114                      'oidc_auth',
  1115                      'saml_auth'
  1116                  ],
  1117                  'endpoint_path': '/user',
  1118                  'operation_id': 'get_current_user',
  1119                  'http_method': 'GET',
  1120                  'servers': None,
  1121              },
  1122              params_map={
  1123                  'all': [
  1124                  ],
  1125                  'required': [],
  1126                  'nullable': [
  1127                  ],
  1128                  'enum': [
  1129                  ],
  1130                  'validation': [
  1131                  ]
  1132              },
  1133              root_map={
  1134                  'validations': {
  1135                  },
  1136                  'allowed_values': {
  1137                  },
  1138                  'openapi_types': {
  1139                  },
  1140                  'attribute_map': {
  1141                  },
  1142                  'location_map': {
  1143                  },
  1144                  'collection_format_map': {
  1145                  }
  1146              },
  1147              headers_map={
  1148                  'accept': [
  1149                      'application/json'
  1150                  ],
  1151                  'content_type': [],
  1152              },
  1153              api_client=api_client
  1154          )
  1155          self.get_external_principal_endpoint = _Endpoint(
  1156              settings={
  1157                  'response_type': (ExternalPrincipal,),
  1158                  'auth': [
  1159                      'basic_auth',
  1160                      'cookie_auth',
  1161                      'jwt_token',
  1162                      'oidc_auth',
  1163                      'saml_auth'
  1164                  ],
  1165                  'endpoint_path': '/auth/external/principals',
  1166                  'operation_id': 'get_external_principal',
  1167                  'http_method': 'GET',
  1168                  'servers': None,
  1169              },
  1170              params_map={
  1171                  'all': [
  1172                      'principal_id',
  1173                  ],
  1174                  'required': [
  1175                      'principal_id',
  1176                  ],
  1177                  'nullable': [
  1178                  ],
  1179                  'enum': [
  1180                  ],
  1181                  'validation': [
  1182                  ]
  1183              },
  1184              root_map={
  1185                  'validations': {
  1186                  },
  1187                  'allowed_values': {
  1188                  },
  1189                  'openapi_types': {
  1190                      'principal_id':
  1191                          (str,),
  1192                  },
  1193                  'attribute_map': {
  1194                      'principal_id': 'principalId',
  1195                  },
  1196                  'location_map': {
  1197                      'principal_id': 'query',
  1198                  },
  1199                  'collection_format_map': {
  1200                  }
  1201              },
  1202              headers_map={
  1203                  'accept': [
  1204                      'application/json'
  1205                  ],
  1206                  'content_type': [],
  1207              },
  1208              api_client=api_client
  1209          )
  1210          self.get_group_endpoint = _Endpoint(
  1211              settings={
  1212                  'response_type': (Group,),
  1213                  'auth': [
  1214                      'basic_auth',
  1215                      'cookie_auth',
  1216                      'jwt_token',
  1217                      'oidc_auth',
  1218                      'saml_auth'
  1219                  ],
  1220                  'endpoint_path': '/auth/groups/{groupId}',
  1221                  'operation_id': 'get_group',
  1222                  'http_method': 'GET',
  1223                  'servers': None,
  1224              },
  1225              params_map={
  1226                  'all': [
  1227                      'group_id',
  1228                  ],
  1229                  'required': [
  1230                      'group_id',
  1231                  ],
  1232                  'nullable': [
  1233                  ],
  1234                  'enum': [
  1235                  ],
  1236                  'validation': [
  1237                  ]
  1238              },
  1239              root_map={
  1240                  'validations': {
  1241                  },
  1242                  'allowed_values': {
  1243                  },
  1244                  'openapi_types': {
  1245                      'group_id':
  1246                          (str,),
  1247                  },
  1248                  'attribute_map': {
  1249                      'group_id': 'groupId',
  1250                  },
  1251                  'location_map': {
  1252                      'group_id': 'path',
  1253                  },
  1254                  'collection_format_map': {
  1255                  }
  1256              },
  1257              headers_map={
  1258                  'accept': [
  1259                      'application/json'
  1260                  ],
  1261                  'content_type': [],
  1262              },
  1263              api_client=api_client
  1264          )
  1265          self.get_group_acl_endpoint = _Endpoint(
  1266              settings={
  1267                  'response_type': (ACL,),
  1268                  'auth': [
  1269                      'basic_auth',
  1270                      'cookie_auth',
  1271                      'jwt_token',
  1272                      'oidc_auth',
  1273                      'saml_auth'
  1274                  ],
  1275                  'endpoint_path': '/auth/groups/{groupId}/acl',
  1276                  'operation_id': 'get_group_acl',
  1277                  'http_method': 'GET',
  1278                  'servers': None,
  1279              },
  1280              params_map={
  1281                  'all': [
  1282                      'group_id',
  1283                  ],
  1284                  'required': [
  1285                      'group_id',
  1286                  ],
  1287                  'nullable': [
  1288                  ],
  1289                  'enum': [
  1290                  ],
  1291                  'validation': [
  1292                  ]
  1293              },
  1294              root_map={
  1295                  'validations': {
  1296                  },
  1297                  'allowed_values': {
  1298                  },
  1299                  'openapi_types': {
  1300                      'group_id':
  1301                          (str,),
  1302                  },
  1303                  'attribute_map': {
  1304                      'group_id': 'groupId',
  1305                  },
  1306                  'location_map': {
  1307                      'group_id': 'path',
  1308                  },
  1309                  'collection_format_map': {
  1310                  }
  1311              },
  1312              headers_map={
  1313                  'accept': [
  1314                      'application/json'
  1315                  ],
  1316                  'content_type': [],
  1317              },
  1318              api_client=api_client
  1319          )
  1320          self.get_policy_endpoint = _Endpoint(
  1321              settings={
  1322                  'response_type': (Policy,),
  1323                  'auth': [
  1324                      'basic_auth',
  1325                      'cookie_auth',
  1326                      'jwt_token',
  1327                      'oidc_auth',
  1328                      'saml_auth'
  1329                  ],
  1330                  'endpoint_path': '/auth/policies/{policyId}',
  1331                  'operation_id': 'get_policy',
  1332                  'http_method': 'GET',
  1333                  'servers': None,
  1334              },
  1335              params_map={
  1336                  'all': [
  1337                      'policy_id',
  1338                  ],
  1339                  'required': [
  1340                      'policy_id',
  1341                  ],
  1342                  'nullable': [
  1343                  ],
  1344                  'enum': [
  1345                  ],
  1346                  'validation': [
  1347                  ]
  1348              },
  1349              root_map={
  1350                  'validations': {
  1351                  },
  1352                  'allowed_values': {
  1353                  },
  1354                  'openapi_types': {
  1355                      'policy_id':
  1356                          (str,),
  1357                  },
  1358                  'attribute_map': {
  1359                      'policy_id': 'policyId',
  1360                  },
  1361                  'location_map': {
  1362                      'policy_id': 'path',
  1363                  },
  1364                  'collection_format_map': {
  1365                  }
  1366              },
  1367              headers_map={
  1368                  'accept': [
  1369                      'application/json'
  1370                  ],
  1371                  'content_type': [],
  1372              },
  1373              api_client=api_client
  1374          )
  1375          self.get_user_endpoint = _Endpoint(
  1376              settings={
  1377                  'response_type': (User,),
  1378                  'auth': [
  1379                      'basic_auth',
  1380                      'cookie_auth',
  1381                      'jwt_token',
  1382                      'oidc_auth',
  1383                      'saml_auth'
  1384                  ],
  1385                  'endpoint_path': '/auth/users/{userId}',
  1386                  'operation_id': 'get_user',
  1387                  'http_method': 'GET',
  1388                  'servers': None,
  1389              },
  1390              params_map={
  1391                  'all': [
  1392                      'user_id',
  1393                  ],
  1394                  'required': [
  1395                      'user_id',
  1396                  ],
  1397                  'nullable': [
  1398                  ],
  1399                  'enum': [
  1400                  ],
  1401                  'validation': [
  1402                  ]
  1403              },
  1404              root_map={
  1405                  'validations': {
  1406                  },
  1407                  'allowed_values': {
  1408                  },
  1409                  'openapi_types': {
  1410                      'user_id':
  1411                          (str,),
  1412                  },
  1413                  'attribute_map': {
  1414                      'user_id': 'userId',
  1415                  },
  1416                  'location_map': {
  1417                      'user_id': 'path',
  1418                  },
  1419                  'collection_format_map': {
  1420                  }
  1421              },
  1422              headers_map={
  1423                  'accept': [
  1424                      'application/json'
  1425                  ],
  1426                  'content_type': [],
  1427              },
  1428              api_client=api_client
  1429          )
  1430          self.list_group_members_endpoint = _Endpoint(
  1431              settings={
  1432                  'response_type': (UserList,),
  1433                  'auth': [
  1434                      'basic_auth',
  1435                      'cookie_auth',
  1436                      'jwt_token',
  1437                      'oidc_auth',
  1438                      'saml_auth'
  1439                  ],
  1440                  'endpoint_path': '/auth/groups/{groupId}/members',
  1441                  'operation_id': 'list_group_members',
  1442                  'http_method': 'GET',
  1443                  'servers': None,
  1444              },
  1445              params_map={
  1446                  'all': [
  1447                      'group_id',
  1448                      'prefix',
  1449                      'after',
  1450                      'amount',
  1451                  ],
  1452                  'required': [
  1453                      'group_id',
  1454                  ],
  1455                  'nullable': [
  1456                  ],
  1457                  'enum': [
  1458                  ],
  1459                  'validation': [
  1460                      'amount',
  1461                  ]
  1462              },
  1463              root_map={
  1464                  'validations': {
  1465                      ('amount',): {
  1466  
  1467                          'inclusive_maximum': 1000,
  1468                          'inclusive_minimum': -1,
  1469                      },
  1470                  },
  1471                  'allowed_values': {
  1472                  },
  1473                  'openapi_types': {
  1474                      'group_id':
  1475                          (str,),
  1476                      'prefix':
  1477                          (str,),
  1478                      'after':
  1479                          (str,),
  1480                      'amount':
  1481                          (int,),
  1482                  },
  1483                  'attribute_map': {
  1484                      'group_id': 'groupId',
  1485                      'prefix': 'prefix',
  1486                      'after': 'after',
  1487                      'amount': 'amount',
  1488                  },
  1489                  'location_map': {
  1490                      'group_id': 'path',
  1491                      'prefix': 'query',
  1492                      'after': 'query',
  1493                      'amount': 'query',
  1494                  },
  1495                  'collection_format_map': {
  1496                  }
  1497              },
  1498              headers_map={
  1499                  'accept': [
  1500                      'application/json'
  1501                  ],
  1502                  'content_type': [],
  1503              },
  1504              api_client=api_client
  1505          )
  1506          self.list_group_policies_endpoint = _Endpoint(
  1507              settings={
  1508                  'response_type': (PolicyList,),
  1509                  'auth': [
  1510                      'basic_auth',
  1511                      'cookie_auth',
  1512                      'jwt_token',
  1513                      'oidc_auth',
  1514                      'saml_auth'
  1515                  ],
  1516                  'endpoint_path': '/auth/groups/{groupId}/policies',
  1517                  'operation_id': 'list_group_policies',
  1518                  'http_method': 'GET',
  1519                  'servers': None,
  1520              },
  1521              params_map={
  1522                  'all': [
  1523                      'group_id',
  1524                      'prefix',
  1525                      'after',
  1526                      'amount',
  1527                  ],
  1528                  'required': [
  1529                      'group_id',
  1530                  ],
  1531                  'nullable': [
  1532                  ],
  1533                  'enum': [
  1534                  ],
  1535                  'validation': [
  1536                      'amount',
  1537                  ]
  1538              },
  1539              root_map={
  1540                  'validations': {
  1541                      ('amount',): {
  1542  
  1543                          'inclusive_maximum': 1000,
  1544                          'inclusive_minimum': -1,
  1545                      },
  1546                  },
  1547                  'allowed_values': {
  1548                  },
  1549                  'openapi_types': {
  1550                      'group_id':
  1551                          (str,),
  1552                      'prefix':
  1553                          (str,),
  1554                      'after':
  1555                          (str,),
  1556                      'amount':
  1557                          (int,),
  1558                  },
  1559                  'attribute_map': {
  1560                      'group_id': 'groupId',
  1561                      'prefix': 'prefix',
  1562                      'after': 'after',
  1563                      'amount': 'amount',
  1564                  },
  1565                  'location_map': {
  1566                      'group_id': 'path',
  1567                      'prefix': 'query',
  1568                      'after': 'query',
  1569                      'amount': 'query',
  1570                  },
  1571                  'collection_format_map': {
  1572                  }
  1573              },
  1574              headers_map={
  1575                  'accept': [
  1576                      'application/json'
  1577                  ],
  1578                  'content_type': [],
  1579              },
  1580              api_client=api_client
  1581          )
  1582          self.list_groups_endpoint = _Endpoint(
  1583              settings={
  1584                  'response_type': (GroupList,),
  1585                  'auth': [
  1586                      'basic_auth',
  1587                      'cookie_auth',
  1588                      'jwt_token',
  1589                      'oidc_auth',
  1590                      'saml_auth'
  1591                  ],
  1592                  'endpoint_path': '/auth/groups',
  1593                  'operation_id': 'list_groups',
  1594                  'http_method': 'GET',
  1595                  'servers': None,
  1596              },
  1597              params_map={
  1598                  'all': [
  1599                      'prefix',
  1600                      'after',
  1601                      'amount',
  1602                  ],
  1603                  'required': [],
  1604                  'nullable': [
  1605                  ],
  1606                  'enum': [
  1607                  ],
  1608                  'validation': [
  1609                      'amount',
  1610                  ]
  1611              },
  1612              root_map={
  1613                  'validations': {
  1614                      ('amount',): {
  1615  
  1616                          'inclusive_maximum': 1000,
  1617                          'inclusive_minimum': -1,
  1618                      },
  1619                  },
  1620                  'allowed_values': {
  1621                  },
  1622                  'openapi_types': {
  1623                      'prefix':
  1624                          (str,),
  1625                      'after':
  1626                          (str,),
  1627                      'amount':
  1628                          (int,),
  1629                  },
  1630                  'attribute_map': {
  1631                      'prefix': 'prefix',
  1632                      'after': 'after',
  1633                      'amount': 'amount',
  1634                  },
  1635                  'location_map': {
  1636                      'prefix': 'query',
  1637                      'after': 'query',
  1638                      'amount': 'query',
  1639                  },
  1640                  'collection_format_map': {
  1641                  }
  1642              },
  1643              headers_map={
  1644                  'accept': [
  1645                      'application/json'
  1646                  ],
  1647                  'content_type': [],
  1648              },
  1649              api_client=api_client
  1650          )
  1651          self.list_policies_endpoint = _Endpoint(
  1652              settings={
  1653                  'response_type': (PolicyList,),
  1654                  'auth': [
  1655                      'basic_auth',
  1656                      'cookie_auth',
  1657                      'jwt_token',
  1658                      'oidc_auth',
  1659                      'saml_auth'
  1660                  ],
  1661                  'endpoint_path': '/auth/policies',
  1662                  'operation_id': 'list_policies',
  1663                  'http_method': 'GET',
  1664                  'servers': None,
  1665              },
  1666              params_map={
  1667                  'all': [
  1668                      'prefix',
  1669                      'after',
  1670                      'amount',
  1671                  ],
  1672                  'required': [],
  1673                  'nullable': [
  1674                  ],
  1675                  'enum': [
  1676                  ],
  1677                  'validation': [
  1678                      'amount',
  1679                  ]
  1680              },
  1681              root_map={
  1682                  'validations': {
  1683                      ('amount',): {
  1684  
  1685                          'inclusive_maximum': 1000,
  1686                          'inclusive_minimum': -1,
  1687                      },
  1688                  },
  1689                  'allowed_values': {
  1690                  },
  1691                  'openapi_types': {
  1692                      'prefix':
  1693                          (str,),
  1694                      'after':
  1695                          (str,),
  1696                      'amount':
  1697                          (int,),
  1698                  },
  1699                  'attribute_map': {
  1700                      'prefix': 'prefix',
  1701                      'after': 'after',
  1702                      'amount': 'amount',
  1703                  },
  1704                  'location_map': {
  1705                      'prefix': 'query',
  1706                      'after': 'query',
  1707                      'amount': 'query',
  1708                  },
  1709                  'collection_format_map': {
  1710                  }
  1711              },
  1712              headers_map={
  1713                  'accept': [
  1714                      'application/json'
  1715                  ],
  1716                  'content_type': [],
  1717              },
  1718              api_client=api_client
  1719          )
  1720          self.list_user_credentials_endpoint = _Endpoint(
  1721              settings={
  1722                  'response_type': (CredentialsList,),
  1723                  'auth': [
  1724                      'basic_auth',
  1725                      'cookie_auth',
  1726                      'jwt_token',
  1727                      'oidc_auth',
  1728                      'saml_auth'
  1729                  ],
  1730                  'endpoint_path': '/auth/users/{userId}/credentials',
  1731                  'operation_id': 'list_user_credentials',
  1732                  'http_method': 'GET',
  1733                  'servers': None,
  1734              },
  1735              params_map={
  1736                  'all': [
  1737                      'user_id',
  1738                      'prefix',
  1739                      'after',
  1740                      'amount',
  1741                  ],
  1742                  'required': [
  1743                      'user_id',
  1744                  ],
  1745                  'nullable': [
  1746                  ],
  1747                  'enum': [
  1748                  ],
  1749                  'validation': [
  1750                      'amount',
  1751                  ]
  1752              },
  1753              root_map={
  1754                  'validations': {
  1755                      ('amount',): {
  1756  
  1757                          'inclusive_maximum': 1000,
  1758                          'inclusive_minimum': -1,
  1759                      },
  1760                  },
  1761                  'allowed_values': {
  1762                  },
  1763                  'openapi_types': {
  1764                      'user_id':
  1765                          (str,),
  1766                      'prefix':
  1767                          (str,),
  1768                      'after':
  1769                          (str,),
  1770                      'amount':
  1771                          (int,),
  1772                  },
  1773                  'attribute_map': {
  1774                      'user_id': 'userId',
  1775                      'prefix': 'prefix',
  1776                      'after': 'after',
  1777                      'amount': 'amount',
  1778                  },
  1779                  'location_map': {
  1780                      'user_id': 'path',
  1781                      'prefix': 'query',
  1782                      'after': 'query',
  1783                      'amount': 'query',
  1784                  },
  1785                  'collection_format_map': {
  1786                  }
  1787              },
  1788              headers_map={
  1789                  'accept': [
  1790                      'application/json'
  1791                  ],
  1792                  'content_type': [],
  1793              },
  1794              api_client=api_client
  1795          )
  1796          self.list_user_external_principals_endpoint = _Endpoint(
  1797              settings={
  1798                  'response_type': (ExternalPrincipalList,),
  1799                  'auth': [
  1800                      'basic_auth',
  1801                      'cookie_auth',
  1802                      'jwt_token',
  1803                      'oidc_auth',
  1804                      'saml_auth'
  1805                  ],
  1806                  'endpoint_path': '/auth/users/{userId}/external/principals/ls',
  1807                  'operation_id': 'list_user_external_principals',
  1808                  'http_method': 'GET',
  1809                  'servers': None,
  1810              },
  1811              params_map={
  1812                  'all': [
  1813                      'user_id',
  1814                      'prefix',
  1815                      'after',
  1816                      'amount',
  1817                  ],
  1818                  'required': [
  1819                      'user_id',
  1820                  ],
  1821                  'nullable': [
  1822                  ],
  1823                  'enum': [
  1824                  ],
  1825                  'validation': [
  1826                      'amount',
  1827                  ]
  1828              },
  1829              root_map={
  1830                  'validations': {
  1831                      ('amount',): {
  1832  
  1833                          'inclusive_maximum': 1000,
  1834                          'inclusive_minimum': -1,
  1835                      },
  1836                  },
  1837                  'allowed_values': {
  1838                  },
  1839                  'openapi_types': {
  1840                      'user_id':
  1841                          (str,),
  1842                      'prefix':
  1843                          (str,),
  1844                      'after':
  1845                          (str,),
  1846                      'amount':
  1847                          (int,),
  1848                  },
  1849                  'attribute_map': {
  1850                      'user_id': 'userId',
  1851                      'prefix': 'prefix',
  1852                      'after': 'after',
  1853                      'amount': 'amount',
  1854                  },
  1855                  'location_map': {
  1856                      'user_id': 'path',
  1857                      'prefix': 'query',
  1858                      'after': 'query',
  1859                      'amount': 'query',
  1860                  },
  1861                  'collection_format_map': {
  1862                  }
  1863              },
  1864              headers_map={
  1865                  'accept': [
  1866                      'application/json'
  1867                  ],
  1868                  'content_type': [],
  1869              },
  1870              api_client=api_client
  1871          )
  1872          self.list_user_groups_endpoint = _Endpoint(
  1873              settings={
  1874                  'response_type': (GroupList,),
  1875                  'auth': [
  1876                      'basic_auth',
  1877                      'cookie_auth',
  1878                      'jwt_token',
  1879                      'oidc_auth',
  1880                      'saml_auth'
  1881                  ],
  1882                  'endpoint_path': '/auth/users/{userId}/groups',
  1883                  'operation_id': 'list_user_groups',
  1884                  'http_method': 'GET',
  1885                  'servers': None,
  1886              },
  1887              params_map={
  1888                  'all': [
  1889                      'user_id',
  1890                      'prefix',
  1891                      'after',
  1892                      'amount',
  1893                  ],
  1894                  'required': [
  1895                      'user_id',
  1896                  ],
  1897                  'nullable': [
  1898                  ],
  1899                  'enum': [
  1900                  ],
  1901                  'validation': [
  1902                      'amount',
  1903                  ]
  1904              },
  1905              root_map={
  1906                  'validations': {
  1907                      ('amount',): {
  1908  
  1909                          'inclusive_maximum': 1000,
  1910                          'inclusive_minimum': -1,
  1911                      },
  1912                  },
  1913                  'allowed_values': {
  1914                  },
  1915                  'openapi_types': {
  1916                      'user_id':
  1917                          (str,),
  1918                      'prefix':
  1919                          (str,),
  1920                      'after':
  1921                          (str,),
  1922                      'amount':
  1923                          (int,),
  1924                  },
  1925                  'attribute_map': {
  1926                      'user_id': 'userId',
  1927                      'prefix': 'prefix',
  1928                      'after': 'after',
  1929                      'amount': 'amount',
  1930                  },
  1931                  'location_map': {
  1932                      'user_id': 'path',
  1933                      'prefix': 'query',
  1934                      'after': 'query',
  1935                      'amount': 'query',
  1936                  },
  1937                  'collection_format_map': {
  1938                  }
  1939              },
  1940              headers_map={
  1941                  'accept': [
  1942                      'application/json'
  1943                  ],
  1944                  'content_type': [],
  1945              },
  1946              api_client=api_client
  1947          )
  1948          self.list_user_policies_endpoint = _Endpoint(
  1949              settings={
  1950                  'response_type': (PolicyList,),
  1951                  'auth': [
  1952                      'basic_auth',
  1953                      'cookie_auth',
  1954                      'jwt_token',
  1955                      'oidc_auth',
  1956                      'saml_auth'
  1957                  ],
  1958                  'endpoint_path': '/auth/users/{userId}/policies',
  1959                  'operation_id': 'list_user_policies',
  1960                  'http_method': 'GET',
  1961                  'servers': None,
  1962              },
  1963              params_map={
  1964                  'all': [
  1965                      'user_id',
  1966                      'prefix',
  1967                      'after',
  1968                      'amount',
  1969                      'effective',
  1970                  ],
  1971                  'required': [
  1972                      'user_id',
  1973                  ],
  1974                  'nullable': [
  1975                  ],
  1976                  'enum': [
  1977                  ],
  1978                  'validation': [
  1979                      'amount',
  1980                  ]
  1981              },
  1982              root_map={
  1983                  'validations': {
  1984                      ('amount',): {
  1985  
  1986                          'inclusive_maximum': 1000,
  1987                          'inclusive_minimum': -1,
  1988                      },
  1989                  },
  1990                  'allowed_values': {
  1991                  },
  1992                  'openapi_types': {
  1993                      'user_id':
  1994                          (str,),
  1995                      'prefix':
  1996                          (str,),
  1997                      'after':
  1998                          (str,),
  1999                      'amount':
  2000                          (int,),
  2001                      'effective':
  2002                          (bool,),
  2003                  },
  2004                  'attribute_map': {
  2005                      'user_id': 'userId',
  2006                      'prefix': 'prefix',
  2007                      'after': 'after',
  2008                      'amount': 'amount',
  2009                      'effective': 'effective',
  2010                  },
  2011                  'location_map': {
  2012                      'user_id': 'path',
  2013                      'prefix': 'query',
  2014                      'after': 'query',
  2015                      'amount': 'query',
  2016                      'effective': 'query',
  2017                  },
  2018                  'collection_format_map': {
  2019                  }
  2020              },
  2021              headers_map={
  2022                  'accept': [
  2023                      'application/json'
  2024                  ],
  2025                  'content_type': [],
  2026              },
  2027              api_client=api_client
  2028          )
  2029          self.list_users_endpoint = _Endpoint(
  2030              settings={
  2031                  'response_type': (UserList,),
  2032                  'auth': [
  2033                      'basic_auth',
  2034                      'cookie_auth',
  2035                      'jwt_token',
  2036                      'oidc_auth',
  2037                      'saml_auth'
  2038                  ],
  2039                  'endpoint_path': '/auth/users',
  2040                  'operation_id': 'list_users',
  2041                  'http_method': 'GET',
  2042                  'servers': None,
  2043              },
  2044              params_map={
  2045                  'all': [
  2046                      'prefix',
  2047                      'after',
  2048                      'amount',
  2049                  ],
  2050                  'required': [],
  2051                  'nullable': [
  2052                  ],
  2053                  'enum': [
  2054                  ],
  2055                  'validation': [
  2056                      'amount',
  2057                  ]
  2058              },
  2059              root_map={
  2060                  'validations': {
  2061                      ('amount',): {
  2062  
  2063                          'inclusive_maximum': 1000,
  2064                          'inclusive_minimum': -1,
  2065                      },
  2066                  },
  2067                  'allowed_values': {
  2068                  },
  2069                  'openapi_types': {
  2070                      'prefix':
  2071                          (str,),
  2072                      'after':
  2073                          (str,),
  2074                      'amount':
  2075                          (int,),
  2076                  },
  2077                  'attribute_map': {
  2078                      'prefix': 'prefix',
  2079                      'after': 'after',
  2080                      'amount': 'amount',
  2081                  },
  2082                  'location_map': {
  2083                      'prefix': 'query',
  2084                      'after': 'query',
  2085                      'amount': 'query',
  2086                  },
  2087                  'collection_format_map': {
  2088                  }
  2089              },
  2090              headers_map={
  2091                  'accept': [
  2092                      'application/json'
  2093                  ],
  2094                  'content_type': [],
  2095              },
  2096              api_client=api_client
  2097          )
  2098          self.login_endpoint = _Endpoint(
  2099              settings={
  2100                  'response_type': (AuthenticationToken,),
  2101                  'auth': [],
  2102                  'endpoint_path': '/auth/login',
  2103                  'operation_id': 'login',
  2104                  'http_method': 'POST',
  2105                  'servers': None,
  2106              },
  2107              params_map={
  2108                  'all': [
  2109                      'login_information',
  2110                  ],
  2111                  'required': [],
  2112                  'nullable': [
  2113                  ],
  2114                  'enum': [
  2115                  ],
  2116                  'validation': [
  2117                  ]
  2118              },
  2119              root_map={
  2120                  'validations': {
  2121                  },
  2122                  'allowed_values': {
  2123                  },
  2124                  'openapi_types': {
  2125                      'login_information':
  2126                          (LoginInformation,),
  2127                  },
  2128                  'attribute_map': {
  2129                  },
  2130                  'location_map': {
  2131                      'login_information': 'body',
  2132                  },
  2133                  'collection_format_map': {
  2134                  }
  2135              },
  2136              headers_map={
  2137                  'accept': [
  2138                      'application/json'
  2139                  ],
  2140                  'content_type': [
  2141                      'application/json'
  2142                  ]
  2143              },
  2144              api_client=api_client
  2145          )
  2146          self.set_group_acl_endpoint = _Endpoint(
  2147              settings={
  2148                  'response_type': None,
  2149                  'auth': [
  2150                      'basic_auth',
  2151                      'cookie_auth',
  2152                      'jwt_token',
  2153                      'oidc_auth',
  2154                      'saml_auth'
  2155                  ],
  2156                  'endpoint_path': '/auth/groups/{groupId}/acl',
  2157                  'operation_id': 'set_group_acl',
  2158                  'http_method': 'POST',
  2159                  'servers': None,
  2160              },
  2161              params_map={
  2162                  'all': [
  2163                      'group_id',
  2164                      'acl',
  2165                  ],
  2166                  'required': [
  2167                      'group_id',
  2168                      'acl',
  2169                  ],
  2170                  'nullable': [
  2171                  ],
  2172                  'enum': [
  2173                  ],
  2174                  'validation': [
  2175                  ]
  2176              },
  2177              root_map={
  2178                  'validations': {
  2179                  },
  2180                  'allowed_values': {
  2181                  },
  2182                  'openapi_types': {
  2183                      'group_id':
  2184                          (str,),
  2185                      'acl':
  2186                          (ACL,),
  2187                  },
  2188                  'attribute_map': {
  2189                      'group_id': 'groupId',
  2190                  },
  2191                  'location_map': {
  2192                      'group_id': 'path',
  2193                      'acl': 'body',
  2194                  },
  2195                  'collection_format_map': {
  2196                  }
  2197              },
  2198              headers_map={
  2199                  'accept': [
  2200                      'application/json'
  2201                  ],
  2202                  'content_type': [
  2203                      'application/json'
  2204                  ]
  2205              },
  2206              api_client=api_client
  2207          )
  2208          self.update_policy_endpoint = _Endpoint(
  2209              settings={
  2210                  'response_type': (Policy,),
  2211                  'auth': [
  2212                      'basic_auth',
  2213                      'cookie_auth',
  2214                      'jwt_token',
  2215                      'oidc_auth',
  2216                      'saml_auth'
  2217                  ],
  2218                  'endpoint_path': '/auth/policies/{policyId}',
  2219                  'operation_id': 'update_policy',
  2220                  'http_method': 'PUT',
  2221                  'servers': None,
  2222              },
  2223              params_map={
  2224                  'all': [
  2225                      'policy_id',
  2226                      'policy',
  2227                  ],
  2228                  'required': [
  2229                      'policy_id',
  2230                      'policy',
  2231                  ],
  2232                  'nullable': [
  2233                  ],
  2234                  'enum': [
  2235                  ],
  2236                  'validation': [
  2237                  ]
  2238              },
  2239              root_map={
  2240                  'validations': {
  2241                  },
  2242                  'allowed_values': {
  2243                  },
  2244                  'openapi_types': {
  2245                      'policy_id':
  2246                          (str,),
  2247                      'policy':
  2248                          (Policy,),
  2249                  },
  2250                  'attribute_map': {
  2251                      'policy_id': 'policyId',
  2252                  },
  2253                  'location_map': {
  2254                      'policy_id': 'path',
  2255                      'policy': 'body',
  2256                  },
  2257                  'collection_format_map': {
  2258                  }
  2259              },
  2260              headers_map={
  2261                  'accept': [
  2262                      'application/json'
  2263                  ],
  2264                  'content_type': [
  2265                      'application/json'
  2266                  ]
  2267              },
  2268              api_client=api_client
  2269          )
  2270  
  2271      def add_group_membership(
  2272          self,
  2273          group_id,
  2274          user_id,
  2275          **kwargs
  2276      ):
  2277          """add group membership  # noqa: E501
  2278  
  2279          This method makes a synchronous HTTP request by default. To make an
  2280          asynchronous HTTP request, please pass async_req=True
  2281  
  2282          >>> thread = api.add_group_membership(group_id, user_id, async_req=True)
  2283          >>> result = thread.get()
  2284  
  2285          Args:
  2286              group_id (str):
  2287              user_id (str):
  2288  
  2289          Keyword Args:
  2290              _return_http_data_only (bool): response data without head status
  2291                  code and headers. Default is True.
  2292              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2293                  will be returned without reading/decoding response data.
  2294                  Default is True.
  2295              _request_timeout (int/float/tuple): timeout setting for this request. If
  2296                  one number provided, it will be total request timeout. It can also
  2297                  be a pair (tuple) of (connection, read) timeouts.
  2298                  Default is None.
  2299              _check_input_type (bool): specifies if type checking
  2300                  should be done one the data sent to the server.
  2301                  Default is True.
  2302              _check_return_type (bool): specifies if type checking
  2303                  should be done one the data received from the server.
  2304                  Default is True.
  2305              _host_index (int/None): specifies the index of the server
  2306                  that we want to use.
  2307                  Default is read from the configuration.
  2308              async_req (bool): execute request asynchronously
  2309  
  2310          Returns:
  2311              None
  2312                  If the method is called asynchronously, returns the request
  2313                  thread.
  2314          """
  2315          kwargs['async_req'] = kwargs.get(
  2316              'async_req', False
  2317          )
  2318          kwargs['_return_http_data_only'] = kwargs.get(
  2319              '_return_http_data_only', True
  2320          )
  2321          kwargs['_preload_content'] = kwargs.get(
  2322              '_preload_content', True
  2323          )
  2324          kwargs['_request_timeout'] = kwargs.get(
  2325              '_request_timeout', None
  2326          )
  2327          kwargs['_check_input_type'] = kwargs.get(
  2328              '_check_input_type', True
  2329          )
  2330          kwargs['_check_return_type'] = kwargs.get(
  2331              '_check_return_type', True
  2332          )
  2333          kwargs['_host_index'] = kwargs.get('_host_index')
  2334          kwargs['group_id'] = \
  2335              group_id
  2336          kwargs['user_id'] = \
  2337              user_id
  2338          return self.add_group_membership_endpoint.call_with_http_info(**kwargs)
  2339  
  2340      def attach_policy_to_group(
  2341          self,
  2342          group_id,
  2343          policy_id,
  2344          **kwargs
  2345      ):
  2346          """attach policy to group  # noqa: E501
  2347  
  2348          This method makes a synchronous HTTP request by default. To make an
  2349          asynchronous HTTP request, please pass async_req=True
  2350  
  2351          >>> thread = api.attach_policy_to_group(group_id, policy_id, async_req=True)
  2352          >>> result = thread.get()
  2353  
  2354          Args:
  2355              group_id (str):
  2356              policy_id (str):
  2357  
  2358          Keyword Args:
  2359              _return_http_data_only (bool): response data without head status
  2360                  code and headers. Default is True.
  2361              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2362                  will be returned without reading/decoding response data.
  2363                  Default is True.
  2364              _request_timeout (int/float/tuple): timeout setting for this request. If
  2365                  one number provided, it will be total request timeout. It can also
  2366                  be a pair (tuple) of (connection, read) timeouts.
  2367                  Default is None.
  2368              _check_input_type (bool): specifies if type checking
  2369                  should be done one the data sent to the server.
  2370                  Default is True.
  2371              _check_return_type (bool): specifies if type checking
  2372                  should be done one the data received from the server.
  2373                  Default is True.
  2374              _host_index (int/None): specifies the index of the server
  2375                  that we want to use.
  2376                  Default is read from the configuration.
  2377              async_req (bool): execute request asynchronously
  2378  
  2379          Returns:
  2380              None
  2381                  If the method is called asynchronously, returns the request
  2382                  thread.
  2383          """
  2384          kwargs['async_req'] = kwargs.get(
  2385              'async_req', False
  2386          )
  2387          kwargs['_return_http_data_only'] = kwargs.get(
  2388              '_return_http_data_only', True
  2389          )
  2390          kwargs['_preload_content'] = kwargs.get(
  2391              '_preload_content', True
  2392          )
  2393          kwargs['_request_timeout'] = kwargs.get(
  2394              '_request_timeout', None
  2395          )
  2396          kwargs['_check_input_type'] = kwargs.get(
  2397              '_check_input_type', True
  2398          )
  2399          kwargs['_check_return_type'] = kwargs.get(
  2400              '_check_return_type', True
  2401          )
  2402          kwargs['_host_index'] = kwargs.get('_host_index')
  2403          kwargs['group_id'] = \
  2404              group_id
  2405          kwargs['policy_id'] = \
  2406              policy_id
  2407          return self.attach_policy_to_group_endpoint.call_with_http_info(**kwargs)
  2408  
  2409      def attach_policy_to_user(
  2410          self,
  2411          user_id,
  2412          policy_id,
  2413          **kwargs
  2414      ):
  2415          """attach policy to user  # noqa: E501
  2416  
  2417          This method makes a synchronous HTTP request by default. To make an
  2418          asynchronous HTTP request, please pass async_req=True
  2419  
  2420          >>> thread = api.attach_policy_to_user(user_id, policy_id, async_req=True)
  2421          >>> result = thread.get()
  2422  
  2423          Args:
  2424              user_id (str):
  2425              policy_id (str):
  2426  
  2427          Keyword Args:
  2428              _return_http_data_only (bool): response data without head status
  2429                  code and headers. Default is True.
  2430              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2431                  will be returned without reading/decoding response data.
  2432                  Default is True.
  2433              _request_timeout (int/float/tuple): timeout setting for this request. If
  2434                  one number provided, it will be total request timeout. It can also
  2435                  be a pair (tuple) of (connection, read) timeouts.
  2436                  Default is None.
  2437              _check_input_type (bool): specifies if type checking
  2438                  should be done one the data sent to the server.
  2439                  Default is True.
  2440              _check_return_type (bool): specifies if type checking
  2441                  should be done one the data received from the server.
  2442                  Default is True.
  2443              _host_index (int/None): specifies the index of the server
  2444                  that we want to use.
  2445                  Default is read from the configuration.
  2446              async_req (bool): execute request asynchronously
  2447  
  2448          Returns:
  2449              None
  2450                  If the method is called asynchronously, returns the request
  2451                  thread.
  2452          """
  2453          kwargs['async_req'] = kwargs.get(
  2454              'async_req', False
  2455          )
  2456          kwargs['_return_http_data_only'] = kwargs.get(
  2457              '_return_http_data_only', True
  2458          )
  2459          kwargs['_preload_content'] = kwargs.get(
  2460              '_preload_content', True
  2461          )
  2462          kwargs['_request_timeout'] = kwargs.get(
  2463              '_request_timeout', None
  2464          )
  2465          kwargs['_check_input_type'] = kwargs.get(
  2466              '_check_input_type', True
  2467          )
  2468          kwargs['_check_return_type'] = kwargs.get(
  2469              '_check_return_type', True
  2470          )
  2471          kwargs['_host_index'] = kwargs.get('_host_index')
  2472          kwargs['user_id'] = \
  2473              user_id
  2474          kwargs['policy_id'] = \
  2475              policy_id
  2476          return self.attach_policy_to_user_endpoint.call_with_http_info(**kwargs)
  2477  
  2478      def create_credentials(
  2479          self,
  2480          user_id,
  2481          **kwargs
  2482      ):
  2483          """create credentials  # noqa: E501
  2484  
  2485          This method makes a synchronous HTTP request by default. To make an
  2486          asynchronous HTTP request, please pass async_req=True
  2487  
  2488          >>> thread = api.create_credentials(user_id, async_req=True)
  2489          >>> result = thread.get()
  2490  
  2491          Args:
  2492              user_id (str):
  2493  
  2494          Keyword Args:
  2495              _return_http_data_only (bool): response data without head status
  2496                  code and headers. Default is True.
  2497              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2498                  will be returned without reading/decoding response data.
  2499                  Default is True.
  2500              _request_timeout (int/float/tuple): timeout setting for this request. If
  2501                  one number provided, it will be total request timeout. It can also
  2502                  be a pair (tuple) of (connection, read) timeouts.
  2503                  Default is None.
  2504              _check_input_type (bool): specifies if type checking
  2505                  should be done one the data sent to the server.
  2506                  Default is True.
  2507              _check_return_type (bool): specifies if type checking
  2508                  should be done one the data received from the server.
  2509                  Default is True.
  2510              _host_index (int/None): specifies the index of the server
  2511                  that we want to use.
  2512                  Default is read from the configuration.
  2513              async_req (bool): execute request asynchronously
  2514  
  2515          Returns:
  2516              CredentialsWithSecret
  2517                  If the method is called asynchronously, returns the request
  2518                  thread.
  2519          """
  2520          kwargs['async_req'] = kwargs.get(
  2521              'async_req', False
  2522          )
  2523          kwargs['_return_http_data_only'] = kwargs.get(
  2524              '_return_http_data_only', True
  2525          )
  2526          kwargs['_preload_content'] = kwargs.get(
  2527              '_preload_content', True
  2528          )
  2529          kwargs['_request_timeout'] = kwargs.get(
  2530              '_request_timeout', None
  2531          )
  2532          kwargs['_check_input_type'] = kwargs.get(
  2533              '_check_input_type', True
  2534          )
  2535          kwargs['_check_return_type'] = kwargs.get(
  2536              '_check_return_type', True
  2537          )
  2538          kwargs['_host_index'] = kwargs.get('_host_index')
  2539          kwargs['user_id'] = \
  2540              user_id
  2541          return self.create_credentials_endpoint.call_with_http_info(**kwargs)
  2542  
  2543      def create_group(
  2544          self,
  2545          **kwargs
  2546      ):
  2547          """create group  # noqa: E501
  2548  
  2549          This method makes a synchronous HTTP request by default. To make an
  2550          asynchronous HTTP request, please pass async_req=True
  2551  
  2552          >>> thread = api.create_group(async_req=True)
  2553          >>> result = thread.get()
  2554  
  2555  
  2556          Keyword Args:
  2557              group_creation (GroupCreation): [optional]
  2558              _return_http_data_only (bool): response data without head status
  2559                  code and headers. Default is True.
  2560              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2561                  will be returned without reading/decoding response data.
  2562                  Default is True.
  2563              _request_timeout (int/float/tuple): timeout setting for this request. If
  2564                  one number provided, it will be total request timeout. It can also
  2565                  be a pair (tuple) of (connection, read) timeouts.
  2566                  Default is None.
  2567              _check_input_type (bool): specifies if type checking
  2568                  should be done one the data sent to the server.
  2569                  Default is True.
  2570              _check_return_type (bool): specifies if type checking
  2571                  should be done one the data received from the server.
  2572                  Default is True.
  2573              _host_index (int/None): specifies the index of the server
  2574                  that we want to use.
  2575                  Default is read from the configuration.
  2576              async_req (bool): execute request asynchronously
  2577  
  2578          Returns:
  2579              Group
  2580                  If the method is called asynchronously, returns the request
  2581                  thread.
  2582          """
  2583          kwargs['async_req'] = kwargs.get(
  2584              'async_req', False
  2585          )
  2586          kwargs['_return_http_data_only'] = kwargs.get(
  2587              '_return_http_data_only', True
  2588          )
  2589          kwargs['_preload_content'] = kwargs.get(
  2590              '_preload_content', True
  2591          )
  2592          kwargs['_request_timeout'] = kwargs.get(
  2593              '_request_timeout', None
  2594          )
  2595          kwargs['_check_input_type'] = kwargs.get(
  2596              '_check_input_type', True
  2597          )
  2598          kwargs['_check_return_type'] = kwargs.get(
  2599              '_check_return_type', True
  2600          )
  2601          kwargs['_host_index'] = kwargs.get('_host_index')
  2602          return self.create_group_endpoint.call_with_http_info(**kwargs)
  2603  
  2604      def create_policy(
  2605          self,
  2606          policy,
  2607          **kwargs
  2608      ):
  2609          """create policy  # noqa: E501
  2610  
  2611          This method makes a synchronous HTTP request by default. To make an
  2612          asynchronous HTTP request, please pass async_req=True
  2613  
  2614          >>> thread = api.create_policy(policy, async_req=True)
  2615          >>> result = thread.get()
  2616  
  2617          Args:
  2618              policy (Policy):
  2619  
  2620          Keyword Args:
  2621              _return_http_data_only (bool): response data without head status
  2622                  code and headers. Default is True.
  2623              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2624                  will be returned without reading/decoding response data.
  2625                  Default is True.
  2626              _request_timeout (int/float/tuple): timeout setting for this request. If
  2627                  one number provided, it will be total request timeout. It can also
  2628                  be a pair (tuple) of (connection, read) timeouts.
  2629                  Default is None.
  2630              _check_input_type (bool): specifies if type checking
  2631                  should be done one the data sent to the server.
  2632                  Default is True.
  2633              _check_return_type (bool): specifies if type checking
  2634                  should be done one the data received from the server.
  2635                  Default is True.
  2636              _host_index (int/None): specifies the index of the server
  2637                  that we want to use.
  2638                  Default is read from the configuration.
  2639              async_req (bool): execute request asynchronously
  2640  
  2641          Returns:
  2642              Policy
  2643                  If the method is called asynchronously, returns the request
  2644                  thread.
  2645          """
  2646          kwargs['async_req'] = kwargs.get(
  2647              'async_req', False
  2648          )
  2649          kwargs['_return_http_data_only'] = kwargs.get(
  2650              '_return_http_data_only', True
  2651          )
  2652          kwargs['_preload_content'] = kwargs.get(
  2653              '_preload_content', True
  2654          )
  2655          kwargs['_request_timeout'] = kwargs.get(
  2656              '_request_timeout', None
  2657          )
  2658          kwargs['_check_input_type'] = kwargs.get(
  2659              '_check_input_type', True
  2660          )
  2661          kwargs['_check_return_type'] = kwargs.get(
  2662              '_check_return_type', True
  2663          )
  2664          kwargs['_host_index'] = kwargs.get('_host_index')
  2665          kwargs['policy'] = \
  2666              policy
  2667          return self.create_policy_endpoint.call_with_http_info(**kwargs)
  2668  
  2669      def create_user(
  2670          self,
  2671          **kwargs
  2672      ):
  2673          """create user  # noqa: E501
  2674  
  2675          This method makes a synchronous HTTP request by default. To make an
  2676          asynchronous HTTP request, please pass async_req=True
  2677  
  2678          >>> thread = api.create_user(async_req=True)
  2679          >>> result = thread.get()
  2680  
  2681  
  2682          Keyword Args:
  2683              user_creation (UserCreation): [optional]
  2684              _return_http_data_only (bool): response data without head status
  2685                  code and headers. Default is True.
  2686              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2687                  will be returned without reading/decoding response data.
  2688                  Default is True.
  2689              _request_timeout (int/float/tuple): timeout setting for this request. If
  2690                  one number provided, it will be total request timeout. It can also
  2691                  be a pair (tuple) of (connection, read) timeouts.
  2692                  Default is None.
  2693              _check_input_type (bool): specifies if type checking
  2694                  should be done one the data sent to the server.
  2695                  Default is True.
  2696              _check_return_type (bool): specifies if type checking
  2697                  should be done one the data received from the server.
  2698                  Default is True.
  2699              _host_index (int/None): specifies the index of the server
  2700                  that we want to use.
  2701                  Default is read from the configuration.
  2702              async_req (bool): execute request asynchronously
  2703  
  2704          Returns:
  2705              User
  2706                  If the method is called asynchronously, returns the request
  2707                  thread.
  2708          """
  2709          kwargs['async_req'] = kwargs.get(
  2710              'async_req', False
  2711          )
  2712          kwargs['_return_http_data_only'] = kwargs.get(
  2713              '_return_http_data_only', True
  2714          )
  2715          kwargs['_preload_content'] = kwargs.get(
  2716              '_preload_content', True
  2717          )
  2718          kwargs['_request_timeout'] = kwargs.get(
  2719              '_request_timeout', None
  2720          )
  2721          kwargs['_check_input_type'] = kwargs.get(
  2722              '_check_input_type', True
  2723          )
  2724          kwargs['_check_return_type'] = kwargs.get(
  2725              '_check_return_type', True
  2726          )
  2727          kwargs['_host_index'] = kwargs.get('_host_index')
  2728          return self.create_user_endpoint.call_with_http_info(**kwargs)
  2729  
  2730      def create_user_external_principal(
  2731          self,
  2732          user_id,
  2733          principal_id,
  2734          **kwargs
  2735      ):
  2736          """attach external principal to user  # noqa: E501
  2737  
  2738          This method makes a synchronous HTTP request by default. To make an
  2739          asynchronous HTTP request, please pass async_req=True
  2740  
  2741          >>> thread = api.create_user_external_principal(user_id, principal_id, async_req=True)
  2742          >>> result = thread.get()
  2743  
  2744          Args:
  2745              user_id (str):
  2746              principal_id (str):
  2747  
  2748          Keyword Args:
  2749              external_principal_creation (ExternalPrincipalCreation): [optional]
  2750              _return_http_data_only (bool): response data without head status
  2751                  code and headers. Default is True.
  2752              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2753                  will be returned without reading/decoding response data.
  2754                  Default is True.
  2755              _request_timeout (int/float/tuple): timeout setting for this request. If
  2756                  one number provided, it will be total request timeout. It can also
  2757                  be a pair (tuple) of (connection, read) timeouts.
  2758                  Default is None.
  2759              _check_input_type (bool): specifies if type checking
  2760                  should be done one the data sent to the server.
  2761                  Default is True.
  2762              _check_return_type (bool): specifies if type checking
  2763                  should be done one the data received from the server.
  2764                  Default is True.
  2765              _host_index (int/None): specifies the index of the server
  2766                  that we want to use.
  2767                  Default is read from the configuration.
  2768              async_req (bool): execute request asynchronously
  2769  
  2770          Returns:
  2771              None
  2772                  If the method is called asynchronously, returns the request
  2773                  thread.
  2774          """
  2775          kwargs['async_req'] = kwargs.get(
  2776              'async_req', False
  2777          )
  2778          kwargs['_return_http_data_only'] = kwargs.get(
  2779              '_return_http_data_only', True
  2780          )
  2781          kwargs['_preload_content'] = kwargs.get(
  2782              '_preload_content', True
  2783          )
  2784          kwargs['_request_timeout'] = kwargs.get(
  2785              '_request_timeout', None
  2786          )
  2787          kwargs['_check_input_type'] = kwargs.get(
  2788              '_check_input_type', True
  2789          )
  2790          kwargs['_check_return_type'] = kwargs.get(
  2791              '_check_return_type', True
  2792          )
  2793          kwargs['_host_index'] = kwargs.get('_host_index')
  2794          kwargs['user_id'] = \
  2795              user_id
  2796          kwargs['principal_id'] = \
  2797              principal_id
  2798          return self.create_user_external_principal_endpoint.call_with_http_info(**kwargs)
  2799  
  2800      def delete_credentials(
  2801          self,
  2802          user_id,
  2803          access_key_id,
  2804          **kwargs
  2805      ):
  2806          """delete credentials  # noqa: E501
  2807  
  2808          This method makes a synchronous HTTP request by default. To make an
  2809          asynchronous HTTP request, please pass async_req=True
  2810  
  2811          >>> thread = api.delete_credentials(user_id, access_key_id, async_req=True)
  2812          >>> result = thread.get()
  2813  
  2814          Args:
  2815              user_id (str):
  2816              access_key_id (str):
  2817  
  2818          Keyword Args:
  2819              _return_http_data_only (bool): response data without head status
  2820                  code and headers. Default is True.
  2821              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2822                  will be returned without reading/decoding response data.
  2823                  Default is True.
  2824              _request_timeout (int/float/tuple): timeout setting for this request. If
  2825                  one number provided, it will be total request timeout. It can also
  2826                  be a pair (tuple) of (connection, read) timeouts.
  2827                  Default is None.
  2828              _check_input_type (bool): specifies if type checking
  2829                  should be done one the data sent to the server.
  2830                  Default is True.
  2831              _check_return_type (bool): specifies if type checking
  2832                  should be done one the data received from the server.
  2833                  Default is True.
  2834              _host_index (int/None): specifies the index of the server
  2835                  that we want to use.
  2836                  Default is read from the configuration.
  2837              async_req (bool): execute request asynchronously
  2838  
  2839          Returns:
  2840              None
  2841                  If the method is called asynchronously, returns the request
  2842                  thread.
  2843          """
  2844          kwargs['async_req'] = kwargs.get(
  2845              'async_req', False
  2846          )
  2847          kwargs['_return_http_data_only'] = kwargs.get(
  2848              '_return_http_data_only', True
  2849          )
  2850          kwargs['_preload_content'] = kwargs.get(
  2851              '_preload_content', True
  2852          )
  2853          kwargs['_request_timeout'] = kwargs.get(
  2854              '_request_timeout', None
  2855          )
  2856          kwargs['_check_input_type'] = kwargs.get(
  2857              '_check_input_type', True
  2858          )
  2859          kwargs['_check_return_type'] = kwargs.get(
  2860              '_check_return_type', True
  2861          )
  2862          kwargs['_host_index'] = kwargs.get('_host_index')
  2863          kwargs['user_id'] = \
  2864              user_id
  2865          kwargs['access_key_id'] = \
  2866              access_key_id
  2867          return self.delete_credentials_endpoint.call_with_http_info(**kwargs)
  2868  
  2869      def delete_group(
  2870          self,
  2871          group_id,
  2872          **kwargs
  2873      ):
  2874          """delete group  # noqa: E501
  2875  
  2876          This method makes a synchronous HTTP request by default. To make an
  2877          asynchronous HTTP request, please pass async_req=True
  2878  
  2879          >>> thread = api.delete_group(group_id, async_req=True)
  2880          >>> result = thread.get()
  2881  
  2882          Args:
  2883              group_id (str):
  2884  
  2885          Keyword Args:
  2886              _return_http_data_only (bool): response data without head status
  2887                  code and headers. Default is True.
  2888              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2889                  will be returned without reading/decoding response data.
  2890                  Default is True.
  2891              _request_timeout (int/float/tuple): timeout setting for this request. If
  2892                  one number provided, it will be total request timeout. It can also
  2893                  be a pair (tuple) of (connection, read) timeouts.
  2894                  Default is None.
  2895              _check_input_type (bool): specifies if type checking
  2896                  should be done one the data sent to the server.
  2897                  Default is True.
  2898              _check_return_type (bool): specifies if type checking
  2899                  should be done one the data received from the server.
  2900                  Default is True.
  2901              _host_index (int/None): specifies the index of the server
  2902                  that we want to use.
  2903                  Default is read from the configuration.
  2904              async_req (bool): execute request asynchronously
  2905  
  2906          Returns:
  2907              None
  2908                  If the method is called asynchronously, returns the request
  2909                  thread.
  2910          """
  2911          kwargs['async_req'] = kwargs.get(
  2912              'async_req', False
  2913          )
  2914          kwargs['_return_http_data_only'] = kwargs.get(
  2915              '_return_http_data_only', True
  2916          )
  2917          kwargs['_preload_content'] = kwargs.get(
  2918              '_preload_content', True
  2919          )
  2920          kwargs['_request_timeout'] = kwargs.get(
  2921              '_request_timeout', None
  2922          )
  2923          kwargs['_check_input_type'] = kwargs.get(
  2924              '_check_input_type', True
  2925          )
  2926          kwargs['_check_return_type'] = kwargs.get(
  2927              '_check_return_type', True
  2928          )
  2929          kwargs['_host_index'] = kwargs.get('_host_index')
  2930          kwargs['group_id'] = \
  2931              group_id
  2932          return self.delete_group_endpoint.call_with_http_info(**kwargs)
  2933  
  2934      def delete_group_membership(
  2935          self,
  2936          group_id,
  2937          user_id,
  2938          **kwargs
  2939      ):
  2940          """delete group membership  # noqa: E501
  2941  
  2942          This method makes a synchronous HTTP request by default. To make an
  2943          asynchronous HTTP request, please pass async_req=True
  2944  
  2945          >>> thread = api.delete_group_membership(group_id, user_id, async_req=True)
  2946          >>> result = thread.get()
  2947  
  2948          Args:
  2949              group_id (str):
  2950              user_id (str):
  2951  
  2952          Keyword Args:
  2953              _return_http_data_only (bool): response data without head status
  2954                  code and headers. Default is True.
  2955              _preload_content (bool): if False, the urllib3.HTTPResponse object
  2956                  will be returned without reading/decoding response data.
  2957                  Default is True.
  2958              _request_timeout (int/float/tuple): timeout setting for this request. If
  2959                  one number provided, it will be total request timeout. It can also
  2960                  be a pair (tuple) of (connection, read) timeouts.
  2961                  Default is None.
  2962              _check_input_type (bool): specifies if type checking
  2963                  should be done one the data sent to the server.
  2964                  Default is True.
  2965              _check_return_type (bool): specifies if type checking
  2966                  should be done one the data received from the server.
  2967                  Default is True.
  2968              _host_index (int/None): specifies the index of the server
  2969                  that we want to use.
  2970                  Default is read from the configuration.
  2971              async_req (bool): execute request asynchronously
  2972  
  2973          Returns:
  2974              None
  2975                  If the method is called asynchronously, returns the request
  2976                  thread.
  2977          """
  2978          kwargs['async_req'] = kwargs.get(
  2979              'async_req', False
  2980          )
  2981          kwargs['_return_http_data_only'] = kwargs.get(
  2982              '_return_http_data_only', True
  2983          )
  2984          kwargs['_preload_content'] = kwargs.get(
  2985              '_preload_content', True
  2986          )
  2987          kwargs['_request_timeout'] = kwargs.get(
  2988              '_request_timeout', None
  2989          )
  2990          kwargs['_check_input_type'] = kwargs.get(
  2991              '_check_input_type', True
  2992          )
  2993          kwargs['_check_return_type'] = kwargs.get(
  2994              '_check_return_type', True
  2995          )
  2996          kwargs['_host_index'] = kwargs.get('_host_index')
  2997          kwargs['group_id'] = \
  2998              group_id
  2999          kwargs['user_id'] = \
  3000              user_id
  3001          return self.delete_group_membership_endpoint.call_with_http_info(**kwargs)
  3002  
  3003      def delete_policy(
  3004          self,
  3005          policy_id,
  3006          **kwargs
  3007      ):
  3008          """delete policy  # noqa: E501
  3009  
  3010          This method makes a synchronous HTTP request by default. To make an
  3011          asynchronous HTTP request, please pass async_req=True
  3012  
  3013          >>> thread = api.delete_policy(policy_id, async_req=True)
  3014          >>> result = thread.get()
  3015  
  3016          Args:
  3017              policy_id (str):
  3018  
  3019          Keyword Args:
  3020              _return_http_data_only (bool): response data without head status
  3021                  code and headers. Default is True.
  3022              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3023                  will be returned without reading/decoding response data.
  3024                  Default is True.
  3025              _request_timeout (int/float/tuple): timeout setting for this request. If
  3026                  one number provided, it will be total request timeout. It can also
  3027                  be a pair (tuple) of (connection, read) timeouts.
  3028                  Default is None.
  3029              _check_input_type (bool): specifies if type checking
  3030                  should be done one the data sent to the server.
  3031                  Default is True.
  3032              _check_return_type (bool): specifies if type checking
  3033                  should be done one the data received from the server.
  3034                  Default is True.
  3035              _host_index (int/None): specifies the index of the server
  3036                  that we want to use.
  3037                  Default is read from the configuration.
  3038              async_req (bool): execute request asynchronously
  3039  
  3040          Returns:
  3041              None
  3042                  If the method is called asynchronously, returns the request
  3043                  thread.
  3044          """
  3045          kwargs['async_req'] = kwargs.get(
  3046              'async_req', False
  3047          )
  3048          kwargs['_return_http_data_only'] = kwargs.get(
  3049              '_return_http_data_only', True
  3050          )
  3051          kwargs['_preload_content'] = kwargs.get(
  3052              '_preload_content', True
  3053          )
  3054          kwargs['_request_timeout'] = kwargs.get(
  3055              '_request_timeout', None
  3056          )
  3057          kwargs['_check_input_type'] = kwargs.get(
  3058              '_check_input_type', True
  3059          )
  3060          kwargs['_check_return_type'] = kwargs.get(
  3061              '_check_return_type', True
  3062          )
  3063          kwargs['_host_index'] = kwargs.get('_host_index')
  3064          kwargs['policy_id'] = \
  3065              policy_id
  3066          return self.delete_policy_endpoint.call_with_http_info(**kwargs)
  3067  
  3068      def delete_user(
  3069          self,
  3070          user_id,
  3071          **kwargs
  3072      ):
  3073          """delete user  # noqa: E501
  3074  
  3075          This method makes a synchronous HTTP request by default. To make an
  3076          asynchronous HTTP request, please pass async_req=True
  3077  
  3078          >>> thread = api.delete_user(user_id, async_req=True)
  3079          >>> result = thread.get()
  3080  
  3081          Args:
  3082              user_id (str):
  3083  
  3084          Keyword Args:
  3085              _return_http_data_only (bool): response data without head status
  3086                  code and headers. Default is True.
  3087              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3088                  will be returned without reading/decoding response data.
  3089                  Default is True.
  3090              _request_timeout (int/float/tuple): timeout setting for this request. If
  3091                  one number provided, it will be total request timeout. It can also
  3092                  be a pair (tuple) of (connection, read) timeouts.
  3093                  Default is None.
  3094              _check_input_type (bool): specifies if type checking
  3095                  should be done one the data sent to the server.
  3096                  Default is True.
  3097              _check_return_type (bool): specifies if type checking
  3098                  should be done one the data received from the server.
  3099                  Default is True.
  3100              _host_index (int/None): specifies the index of the server
  3101                  that we want to use.
  3102                  Default is read from the configuration.
  3103              async_req (bool): execute request asynchronously
  3104  
  3105          Returns:
  3106              None
  3107                  If the method is called asynchronously, returns the request
  3108                  thread.
  3109          """
  3110          kwargs['async_req'] = kwargs.get(
  3111              'async_req', False
  3112          )
  3113          kwargs['_return_http_data_only'] = kwargs.get(
  3114              '_return_http_data_only', True
  3115          )
  3116          kwargs['_preload_content'] = kwargs.get(
  3117              '_preload_content', True
  3118          )
  3119          kwargs['_request_timeout'] = kwargs.get(
  3120              '_request_timeout', None
  3121          )
  3122          kwargs['_check_input_type'] = kwargs.get(
  3123              '_check_input_type', True
  3124          )
  3125          kwargs['_check_return_type'] = kwargs.get(
  3126              '_check_return_type', True
  3127          )
  3128          kwargs['_host_index'] = kwargs.get('_host_index')
  3129          kwargs['user_id'] = \
  3130              user_id
  3131          return self.delete_user_endpoint.call_with_http_info(**kwargs)
  3132  
  3133      def delete_user_external_principal(
  3134          self,
  3135          user_id,
  3136          principal_id,
  3137          **kwargs
  3138      ):
  3139          """delete external principal from user  # noqa: E501
  3140  
  3141          This method makes a synchronous HTTP request by default. To make an
  3142          asynchronous HTTP request, please pass async_req=True
  3143  
  3144          >>> thread = api.delete_user_external_principal(user_id, principal_id, async_req=True)
  3145          >>> result = thread.get()
  3146  
  3147          Args:
  3148              user_id (str):
  3149              principal_id (str):
  3150  
  3151          Keyword Args:
  3152              _return_http_data_only (bool): response data without head status
  3153                  code and headers. Default is True.
  3154              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3155                  will be returned without reading/decoding response data.
  3156                  Default is True.
  3157              _request_timeout (int/float/tuple): timeout setting for this request. If
  3158                  one number provided, it will be total request timeout. It can also
  3159                  be a pair (tuple) of (connection, read) timeouts.
  3160                  Default is None.
  3161              _check_input_type (bool): specifies if type checking
  3162                  should be done one the data sent to the server.
  3163                  Default is True.
  3164              _check_return_type (bool): specifies if type checking
  3165                  should be done one the data received from the server.
  3166                  Default is True.
  3167              _host_index (int/None): specifies the index of the server
  3168                  that we want to use.
  3169                  Default is read from the configuration.
  3170              async_req (bool): execute request asynchronously
  3171  
  3172          Returns:
  3173              None
  3174                  If the method is called asynchronously, returns the request
  3175                  thread.
  3176          """
  3177          kwargs['async_req'] = kwargs.get(
  3178              'async_req', False
  3179          )
  3180          kwargs['_return_http_data_only'] = kwargs.get(
  3181              '_return_http_data_only', True
  3182          )
  3183          kwargs['_preload_content'] = kwargs.get(
  3184              '_preload_content', True
  3185          )
  3186          kwargs['_request_timeout'] = kwargs.get(
  3187              '_request_timeout', None
  3188          )
  3189          kwargs['_check_input_type'] = kwargs.get(
  3190              '_check_input_type', True
  3191          )
  3192          kwargs['_check_return_type'] = kwargs.get(
  3193              '_check_return_type', True
  3194          )
  3195          kwargs['_host_index'] = kwargs.get('_host_index')
  3196          kwargs['user_id'] = \
  3197              user_id
  3198          kwargs['principal_id'] = \
  3199              principal_id
  3200          return self.delete_user_external_principal_endpoint.call_with_http_info(**kwargs)
  3201  
  3202      def detach_policy_from_group(
  3203          self,
  3204          group_id,
  3205          policy_id,
  3206          **kwargs
  3207      ):
  3208          """detach policy from group  # noqa: E501
  3209  
  3210          This method makes a synchronous HTTP request by default. To make an
  3211          asynchronous HTTP request, please pass async_req=True
  3212  
  3213          >>> thread = api.detach_policy_from_group(group_id, policy_id, async_req=True)
  3214          >>> result = thread.get()
  3215  
  3216          Args:
  3217              group_id (str):
  3218              policy_id (str):
  3219  
  3220          Keyword Args:
  3221              _return_http_data_only (bool): response data without head status
  3222                  code and headers. Default is True.
  3223              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3224                  will be returned without reading/decoding response data.
  3225                  Default is True.
  3226              _request_timeout (int/float/tuple): timeout setting for this request. If
  3227                  one number provided, it will be total request timeout. It can also
  3228                  be a pair (tuple) of (connection, read) timeouts.
  3229                  Default is None.
  3230              _check_input_type (bool): specifies if type checking
  3231                  should be done one the data sent to the server.
  3232                  Default is True.
  3233              _check_return_type (bool): specifies if type checking
  3234                  should be done one the data received from the server.
  3235                  Default is True.
  3236              _host_index (int/None): specifies the index of the server
  3237                  that we want to use.
  3238                  Default is read from the configuration.
  3239              async_req (bool): execute request asynchronously
  3240  
  3241          Returns:
  3242              None
  3243                  If the method is called asynchronously, returns the request
  3244                  thread.
  3245          """
  3246          kwargs['async_req'] = kwargs.get(
  3247              'async_req', False
  3248          )
  3249          kwargs['_return_http_data_only'] = kwargs.get(
  3250              '_return_http_data_only', True
  3251          )
  3252          kwargs['_preload_content'] = kwargs.get(
  3253              '_preload_content', True
  3254          )
  3255          kwargs['_request_timeout'] = kwargs.get(
  3256              '_request_timeout', None
  3257          )
  3258          kwargs['_check_input_type'] = kwargs.get(
  3259              '_check_input_type', True
  3260          )
  3261          kwargs['_check_return_type'] = kwargs.get(
  3262              '_check_return_type', True
  3263          )
  3264          kwargs['_host_index'] = kwargs.get('_host_index')
  3265          kwargs['group_id'] = \
  3266              group_id
  3267          kwargs['policy_id'] = \
  3268              policy_id
  3269          return self.detach_policy_from_group_endpoint.call_with_http_info(**kwargs)
  3270  
  3271      def detach_policy_from_user(
  3272          self,
  3273          user_id,
  3274          policy_id,
  3275          **kwargs
  3276      ):
  3277          """detach policy from user  # noqa: E501
  3278  
  3279          This method makes a synchronous HTTP request by default. To make an
  3280          asynchronous HTTP request, please pass async_req=True
  3281  
  3282          >>> thread = api.detach_policy_from_user(user_id, policy_id, async_req=True)
  3283          >>> result = thread.get()
  3284  
  3285          Args:
  3286              user_id (str):
  3287              policy_id (str):
  3288  
  3289          Keyword Args:
  3290              _return_http_data_only (bool): response data without head status
  3291                  code and headers. Default is True.
  3292              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3293                  will be returned without reading/decoding response data.
  3294                  Default is True.
  3295              _request_timeout (int/float/tuple): timeout setting for this request. If
  3296                  one number provided, it will be total request timeout. It can also
  3297                  be a pair (tuple) of (connection, read) timeouts.
  3298                  Default is None.
  3299              _check_input_type (bool): specifies if type checking
  3300                  should be done one the data sent to the server.
  3301                  Default is True.
  3302              _check_return_type (bool): specifies if type checking
  3303                  should be done one the data received from the server.
  3304                  Default is True.
  3305              _host_index (int/None): specifies the index of the server
  3306                  that we want to use.
  3307                  Default is read from the configuration.
  3308              async_req (bool): execute request asynchronously
  3309  
  3310          Returns:
  3311              None
  3312                  If the method is called asynchronously, returns the request
  3313                  thread.
  3314          """
  3315          kwargs['async_req'] = kwargs.get(
  3316              'async_req', False
  3317          )
  3318          kwargs['_return_http_data_only'] = kwargs.get(
  3319              '_return_http_data_only', True
  3320          )
  3321          kwargs['_preload_content'] = kwargs.get(
  3322              '_preload_content', True
  3323          )
  3324          kwargs['_request_timeout'] = kwargs.get(
  3325              '_request_timeout', None
  3326          )
  3327          kwargs['_check_input_type'] = kwargs.get(
  3328              '_check_input_type', True
  3329          )
  3330          kwargs['_check_return_type'] = kwargs.get(
  3331              '_check_return_type', True
  3332          )
  3333          kwargs['_host_index'] = kwargs.get('_host_index')
  3334          kwargs['user_id'] = \
  3335              user_id
  3336          kwargs['policy_id'] = \
  3337              policy_id
  3338          return self.detach_policy_from_user_endpoint.call_with_http_info(**kwargs)
  3339  
  3340      def external_principal_login(
  3341          self,
  3342          **kwargs
  3343      ):
  3344          """perform a login using an external authenticator  # noqa: E501
  3345  
  3346          This method makes a synchronous HTTP request by default. To make an
  3347          asynchronous HTTP request, please pass async_req=True
  3348  
  3349          >>> thread = api.external_principal_login(async_req=True)
  3350          >>> result = thread.get()
  3351  
  3352  
  3353          Keyword Args:
  3354              external_login_information (ExternalLoginInformation): [optional]
  3355              _return_http_data_only (bool): response data without head status
  3356                  code and headers. Default is True.
  3357              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3358                  will be returned without reading/decoding response data.
  3359                  Default is True.
  3360              _request_timeout (int/float/tuple): timeout setting for this request. If
  3361                  one number provided, it will be total request timeout. It can also
  3362                  be a pair (tuple) of (connection, read) timeouts.
  3363                  Default is None.
  3364              _check_input_type (bool): specifies if type checking
  3365                  should be done one the data sent to the server.
  3366                  Default is True.
  3367              _check_return_type (bool): specifies if type checking
  3368                  should be done one the data received from the server.
  3369                  Default is True.
  3370              _host_index (int/None): specifies the index of the server
  3371                  that we want to use.
  3372                  Default is read from the configuration.
  3373              async_req (bool): execute request asynchronously
  3374  
  3375          Returns:
  3376              AuthenticationToken
  3377                  If the method is called asynchronously, returns the request
  3378                  thread.
  3379          """
  3380          kwargs['async_req'] = kwargs.get(
  3381              'async_req', False
  3382          )
  3383          kwargs['_return_http_data_only'] = kwargs.get(
  3384              '_return_http_data_only', True
  3385          )
  3386          kwargs['_preload_content'] = kwargs.get(
  3387              '_preload_content', True
  3388          )
  3389          kwargs['_request_timeout'] = kwargs.get(
  3390              '_request_timeout', None
  3391          )
  3392          kwargs['_check_input_type'] = kwargs.get(
  3393              '_check_input_type', True
  3394          )
  3395          kwargs['_check_return_type'] = kwargs.get(
  3396              '_check_return_type', True
  3397          )
  3398          kwargs['_host_index'] = kwargs.get('_host_index')
  3399          return self.external_principal_login_endpoint.call_with_http_info(**kwargs)
  3400  
  3401      def get_credentials(
  3402          self,
  3403          user_id,
  3404          access_key_id,
  3405          **kwargs
  3406      ):
  3407          """get credentials  # noqa: E501
  3408  
  3409          This method makes a synchronous HTTP request by default. To make an
  3410          asynchronous HTTP request, please pass async_req=True
  3411  
  3412          >>> thread = api.get_credentials(user_id, access_key_id, async_req=True)
  3413          >>> result = thread.get()
  3414  
  3415          Args:
  3416              user_id (str):
  3417              access_key_id (str):
  3418  
  3419          Keyword Args:
  3420              _return_http_data_only (bool): response data without head status
  3421                  code and headers. Default is True.
  3422              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3423                  will be returned without reading/decoding response data.
  3424                  Default is True.
  3425              _request_timeout (int/float/tuple): timeout setting for this request. If
  3426                  one number provided, it will be total request timeout. It can also
  3427                  be a pair (tuple) of (connection, read) timeouts.
  3428                  Default is None.
  3429              _check_input_type (bool): specifies if type checking
  3430                  should be done one the data sent to the server.
  3431                  Default is True.
  3432              _check_return_type (bool): specifies if type checking
  3433                  should be done one the data received from the server.
  3434                  Default is True.
  3435              _host_index (int/None): specifies the index of the server
  3436                  that we want to use.
  3437                  Default is read from the configuration.
  3438              async_req (bool): execute request asynchronously
  3439  
  3440          Returns:
  3441              Credentials
  3442                  If the method is called asynchronously, returns the request
  3443                  thread.
  3444          """
  3445          kwargs['async_req'] = kwargs.get(
  3446              'async_req', False
  3447          )
  3448          kwargs['_return_http_data_only'] = kwargs.get(
  3449              '_return_http_data_only', True
  3450          )
  3451          kwargs['_preload_content'] = kwargs.get(
  3452              '_preload_content', True
  3453          )
  3454          kwargs['_request_timeout'] = kwargs.get(
  3455              '_request_timeout', None
  3456          )
  3457          kwargs['_check_input_type'] = kwargs.get(
  3458              '_check_input_type', True
  3459          )
  3460          kwargs['_check_return_type'] = kwargs.get(
  3461              '_check_return_type', True
  3462          )
  3463          kwargs['_host_index'] = kwargs.get('_host_index')
  3464          kwargs['user_id'] = \
  3465              user_id
  3466          kwargs['access_key_id'] = \
  3467              access_key_id
  3468          return self.get_credentials_endpoint.call_with_http_info(**kwargs)
  3469  
  3470      def get_current_user(
  3471          self,
  3472          **kwargs
  3473      ):
  3474          """get current user  # noqa: E501
  3475  
  3476          This method makes a synchronous HTTP request by default. To make an
  3477          asynchronous HTTP request, please pass async_req=True
  3478  
  3479          >>> thread = api.get_current_user(async_req=True)
  3480          >>> result = thread.get()
  3481  
  3482  
  3483          Keyword Args:
  3484              _return_http_data_only (bool): response data without head status
  3485                  code and headers. Default is True.
  3486              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3487                  will be returned without reading/decoding response data.
  3488                  Default is True.
  3489              _request_timeout (int/float/tuple): timeout setting for this request. If
  3490                  one number provided, it will be total request timeout. It can also
  3491                  be a pair (tuple) of (connection, read) timeouts.
  3492                  Default is None.
  3493              _check_input_type (bool): specifies if type checking
  3494                  should be done one the data sent to the server.
  3495                  Default is True.
  3496              _check_return_type (bool): specifies if type checking
  3497                  should be done one the data received from the server.
  3498                  Default is True.
  3499              _host_index (int/None): specifies the index of the server
  3500                  that we want to use.
  3501                  Default is read from the configuration.
  3502              async_req (bool): execute request asynchronously
  3503  
  3504          Returns:
  3505              CurrentUser
  3506                  If the method is called asynchronously, returns the request
  3507                  thread.
  3508          """
  3509          kwargs['async_req'] = kwargs.get(
  3510              'async_req', False
  3511          )
  3512          kwargs['_return_http_data_only'] = kwargs.get(
  3513              '_return_http_data_only', True
  3514          )
  3515          kwargs['_preload_content'] = kwargs.get(
  3516              '_preload_content', True
  3517          )
  3518          kwargs['_request_timeout'] = kwargs.get(
  3519              '_request_timeout', None
  3520          )
  3521          kwargs['_check_input_type'] = kwargs.get(
  3522              '_check_input_type', True
  3523          )
  3524          kwargs['_check_return_type'] = kwargs.get(
  3525              '_check_return_type', True
  3526          )
  3527          kwargs['_host_index'] = kwargs.get('_host_index')
  3528          return self.get_current_user_endpoint.call_with_http_info(**kwargs)
  3529  
  3530      def get_external_principal(
  3531          self,
  3532          principal_id,
  3533          **kwargs
  3534      ):
  3535          """describe external principal by id  # noqa: E501
  3536  
  3537          This method makes a synchronous HTTP request by default. To make an
  3538          asynchronous HTTP request, please pass async_req=True
  3539  
  3540          >>> thread = api.get_external_principal(principal_id, async_req=True)
  3541          >>> result = thread.get()
  3542  
  3543          Args:
  3544              principal_id (str):
  3545  
  3546          Keyword Args:
  3547              _return_http_data_only (bool): response data without head status
  3548                  code and headers. Default is True.
  3549              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3550                  will be returned without reading/decoding response data.
  3551                  Default is True.
  3552              _request_timeout (int/float/tuple): timeout setting for this request. If
  3553                  one number provided, it will be total request timeout. It can also
  3554                  be a pair (tuple) of (connection, read) timeouts.
  3555                  Default is None.
  3556              _check_input_type (bool): specifies if type checking
  3557                  should be done one the data sent to the server.
  3558                  Default is True.
  3559              _check_return_type (bool): specifies if type checking
  3560                  should be done one the data received from the server.
  3561                  Default is True.
  3562              _host_index (int/None): specifies the index of the server
  3563                  that we want to use.
  3564                  Default is read from the configuration.
  3565              async_req (bool): execute request asynchronously
  3566  
  3567          Returns:
  3568              ExternalPrincipal
  3569                  If the method is called asynchronously, returns the request
  3570                  thread.
  3571          """
  3572          kwargs['async_req'] = kwargs.get(
  3573              'async_req', False
  3574          )
  3575          kwargs['_return_http_data_only'] = kwargs.get(
  3576              '_return_http_data_only', True
  3577          )
  3578          kwargs['_preload_content'] = kwargs.get(
  3579              '_preload_content', True
  3580          )
  3581          kwargs['_request_timeout'] = kwargs.get(
  3582              '_request_timeout', None
  3583          )
  3584          kwargs['_check_input_type'] = kwargs.get(
  3585              '_check_input_type', True
  3586          )
  3587          kwargs['_check_return_type'] = kwargs.get(
  3588              '_check_return_type', True
  3589          )
  3590          kwargs['_host_index'] = kwargs.get('_host_index')
  3591          kwargs['principal_id'] = \
  3592              principal_id
  3593          return self.get_external_principal_endpoint.call_with_http_info(**kwargs)
  3594  
  3595      def get_group(
  3596          self,
  3597          group_id,
  3598          **kwargs
  3599      ):
  3600          """get group  # noqa: E501
  3601  
  3602          This method makes a synchronous HTTP request by default. To make an
  3603          asynchronous HTTP request, please pass async_req=True
  3604  
  3605          >>> thread = api.get_group(group_id, async_req=True)
  3606          >>> result = thread.get()
  3607  
  3608          Args:
  3609              group_id (str):
  3610  
  3611          Keyword Args:
  3612              _return_http_data_only (bool): response data without head status
  3613                  code and headers. Default is True.
  3614              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3615                  will be returned without reading/decoding response data.
  3616                  Default is True.
  3617              _request_timeout (int/float/tuple): timeout setting for this request. If
  3618                  one number provided, it will be total request timeout. It can also
  3619                  be a pair (tuple) of (connection, read) timeouts.
  3620                  Default is None.
  3621              _check_input_type (bool): specifies if type checking
  3622                  should be done one the data sent to the server.
  3623                  Default is True.
  3624              _check_return_type (bool): specifies if type checking
  3625                  should be done one the data received from the server.
  3626                  Default is True.
  3627              _host_index (int/None): specifies the index of the server
  3628                  that we want to use.
  3629                  Default is read from the configuration.
  3630              async_req (bool): execute request asynchronously
  3631  
  3632          Returns:
  3633              Group
  3634                  If the method is called asynchronously, returns the request
  3635                  thread.
  3636          """
  3637          kwargs['async_req'] = kwargs.get(
  3638              'async_req', False
  3639          )
  3640          kwargs['_return_http_data_only'] = kwargs.get(
  3641              '_return_http_data_only', True
  3642          )
  3643          kwargs['_preload_content'] = kwargs.get(
  3644              '_preload_content', True
  3645          )
  3646          kwargs['_request_timeout'] = kwargs.get(
  3647              '_request_timeout', None
  3648          )
  3649          kwargs['_check_input_type'] = kwargs.get(
  3650              '_check_input_type', True
  3651          )
  3652          kwargs['_check_return_type'] = kwargs.get(
  3653              '_check_return_type', True
  3654          )
  3655          kwargs['_host_index'] = kwargs.get('_host_index')
  3656          kwargs['group_id'] = \
  3657              group_id
  3658          return self.get_group_endpoint.call_with_http_info(**kwargs)
  3659  
  3660      def get_group_acl(
  3661          self,
  3662          group_id,
  3663          **kwargs
  3664      ):
  3665          """get ACL of group  # noqa: E501
  3666  
  3667          This method makes a synchronous HTTP request by default. To make an
  3668          asynchronous HTTP request, please pass async_req=True
  3669  
  3670          >>> thread = api.get_group_acl(group_id, async_req=True)
  3671          >>> result = thread.get()
  3672  
  3673          Args:
  3674              group_id (str):
  3675  
  3676          Keyword Args:
  3677              _return_http_data_only (bool): response data without head status
  3678                  code and headers. Default is True.
  3679              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3680                  will be returned without reading/decoding response data.
  3681                  Default is True.
  3682              _request_timeout (int/float/tuple): timeout setting for this request. If
  3683                  one number provided, it will be total request timeout. It can also
  3684                  be a pair (tuple) of (connection, read) timeouts.
  3685                  Default is None.
  3686              _check_input_type (bool): specifies if type checking
  3687                  should be done one the data sent to the server.
  3688                  Default is True.
  3689              _check_return_type (bool): specifies if type checking
  3690                  should be done one the data received from the server.
  3691                  Default is True.
  3692              _host_index (int/None): specifies the index of the server
  3693                  that we want to use.
  3694                  Default is read from the configuration.
  3695              async_req (bool): execute request asynchronously
  3696  
  3697          Returns:
  3698              ACL
  3699                  If the method is called asynchronously, returns the request
  3700                  thread.
  3701          """
  3702          kwargs['async_req'] = kwargs.get(
  3703              'async_req', False
  3704          )
  3705          kwargs['_return_http_data_only'] = kwargs.get(
  3706              '_return_http_data_only', True
  3707          )
  3708          kwargs['_preload_content'] = kwargs.get(
  3709              '_preload_content', True
  3710          )
  3711          kwargs['_request_timeout'] = kwargs.get(
  3712              '_request_timeout', None
  3713          )
  3714          kwargs['_check_input_type'] = kwargs.get(
  3715              '_check_input_type', True
  3716          )
  3717          kwargs['_check_return_type'] = kwargs.get(
  3718              '_check_return_type', True
  3719          )
  3720          kwargs['_host_index'] = kwargs.get('_host_index')
  3721          kwargs['group_id'] = \
  3722              group_id
  3723          return self.get_group_acl_endpoint.call_with_http_info(**kwargs)
  3724  
  3725      def get_policy(
  3726          self,
  3727          policy_id,
  3728          **kwargs
  3729      ):
  3730          """get policy  # noqa: E501
  3731  
  3732          This method makes a synchronous HTTP request by default. To make an
  3733          asynchronous HTTP request, please pass async_req=True
  3734  
  3735          >>> thread = api.get_policy(policy_id, async_req=True)
  3736          >>> result = thread.get()
  3737  
  3738          Args:
  3739              policy_id (str):
  3740  
  3741          Keyword Args:
  3742              _return_http_data_only (bool): response data without head status
  3743                  code and headers. Default is True.
  3744              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3745                  will be returned without reading/decoding response data.
  3746                  Default is True.
  3747              _request_timeout (int/float/tuple): timeout setting for this request. If
  3748                  one number provided, it will be total request timeout. It can also
  3749                  be a pair (tuple) of (connection, read) timeouts.
  3750                  Default is None.
  3751              _check_input_type (bool): specifies if type checking
  3752                  should be done one the data sent to the server.
  3753                  Default is True.
  3754              _check_return_type (bool): specifies if type checking
  3755                  should be done one the data received from the server.
  3756                  Default is True.
  3757              _host_index (int/None): specifies the index of the server
  3758                  that we want to use.
  3759                  Default is read from the configuration.
  3760              async_req (bool): execute request asynchronously
  3761  
  3762          Returns:
  3763              Policy
  3764                  If the method is called asynchronously, returns the request
  3765                  thread.
  3766          """
  3767          kwargs['async_req'] = kwargs.get(
  3768              'async_req', False
  3769          )
  3770          kwargs['_return_http_data_only'] = kwargs.get(
  3771              '_return_http_data_only', True
  3772          )
  3773          kwargs['_preload_content'] = kwargs.get(
  3774              '_preload_content', True
  3775          )
  3776          kwargs['_request_timeout'] = kwargs.get(
  3777              '_request_timeout', None
  3778          )
  3779          kwargs['_check_input_type'] = kwargs.get(
  3780              '_check_input_type', True
  3781          )
  3782          kwargs['_check_return_type'] = kwargs.get(
  3783              '_check_return_type', True
  3784          )
  3785          kwargs['_host_index'] = kwargs.get('_host_index')
  3786          kwargs['policy_id'] = \
  3787              policy_id
  3788          return self.get_policy_endpoint.call_with_http_info(**kwargs)
  3789  
  3790      def get_user(
  3791          self,
  3792          user_id,
  3793          **kwargs
  3794      ):
  3795          """get user  # noqa: E501
  3796  
  3797          This method makes a synchronous HTTP request by default. To make an
  3798          asynchronous HTTP request, please pass async_req=True
  3799  
  3800          >>> thread = api.get_user(user_id, async_req=True)
  3801          >>> result = thread.get()
  3802  
  3803          Args:
  3804              user_id (str):
  3805  
  3806          Keyword Args:
  3807              _return_http_data_only (bool): response data without head status
  3808                  code and headers. Default is True.
  3809              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3810                  will be returned without reading/decoding response data.
  3811                  Default is True.
  3812              _request_timeout (int/float/tuple): timeout setting for this request. If
  3813                  one number provided, it will be total request timeout. It can also
  3814                  be a pair (tuple) of (connection, read) timeouts.
  3815                  Default is None.
  3816              _check_input_type (bool): specifies if type checking
  3817                  should be done one the data sent to the server.
  3818                  Default is True.
  3819              _check_return_type (bool): specifies if type checking
  3820                  should be done one the data received from the server.
  3821                  Default is True.
  3822              _host_index (int/None): specifies the index of the server
  3823                  that we want to use.
  3824                  Default is read from the configuration.
  3825              async_req (bool): execute request asynchronously
  3826  
  3827          Returns:
  3828              User
  3829                  If the method is called asynchronously, returns the request
  3830                  thread.
  3831          """
  3832          kwargs['async_req'] = kwargs.get(
  3833              'async_req', False
  3834          )
  3835          kwargs['_return_http_data_only'] = kwargs.get(
  3836              '_return_http_data_only', True
  3837          )
  3838          kwargs['_preload_content'] = kwargs.get(
  3839              '_preload_content', True
  3840          )
  3841          kwargs['_request_timeout'] = kwargs.get(
  3842              '_request_timeout', None
  3843          )
  3844          kwargs['_check_input_type'] = kwargs.get(
  3845              '_check_input_type', True
  3846          )
  3847          kwargs['_check_return_type'] = kwargs.get(
  3848              '_check_return_type', True
  3849          )
  3850          kwargs['_host_index'] = kwargs.get('_host_index')
  3851          kwargs['user_id'] = \
  3852              user_id
  3853          return self.get_user_endpoint.call_with_http_info(**kwargs)
  3854  
  3855      def list_group_members(
  3856          self,
  3857          group_id,
  3858          **kwargs
  3859      ):
  3860          """list group members  # noqa: E501
  3861  
  3862          This method makes a synchronous HTTP request by default. To make an
  3863          asynchronous HTTP request, please pass async_req=True
  3864  
  3865          >>> thread = api.list_group_members(group_id, async_req=True)
  3866          >>> result = thread.get()
  3867  
  3868          Args:
  3869              group_id (str):
  3870  
  3871          Keyword Args:
  3872              prefix (str): return items prefixed with this value. [optional]
  3873              after (str): return items after this value. [optional]
  3874              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  3875              _return_http_data_only (bool): response data without head status
  3876                  code and headers. Default is True.
  3877              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3878                  will be returned without reading/decoding response data.
  3879                  Default is True.
  3880              _request_timeout (int/float/tuple): timeout setting for this request. If
  3881                  one number provided, it will be total request timeout. It can also
  3882                  be a pair (tuple) of (connection, read) timeouts.
  3883                  Default is None.
  3884              _check_input_type (bool): specifies if type checking
  3885                  should be done one the data sent to the server.
  3886                  Default is True.
  3887              _check_return_type (bool): specifies if type checking
  3888                  should be done one the data received from the server.
  3889                  Default is True.
  3890              _host_index (int/None): specifies the index of the server
  3891                  that we want to use.
  3892                  Default is read from the configuration.
  3893              async_req (bool): execute request asynchronously
  3894  
  3895          Returns:
  3896              UserList
  3897                  If the method is called asynchronously, returns the request
  3898                  thread.
  3899          """
  3900          kwargs['async_req'] = kwargs.get(
  3901              'async_req', False
  3902          )
  3903          kwargs['_return_http_data_only'] = kwargs.get(
  3904              '_return_http_data_only', True
  3905          )
  3906          kwargs['_preload_content'] = kwargs.get(
  3907              '_preload_content', True
  3908          )
  3909          kwargs['_request_timeout'] = kwargs.get(
  3910              '_request_timeout', None
  3911          )
  3912          kwargs['_check_input_type'] = kwargs.get(
  3913              '_check_input_type', True
  3914          )
  3915          kwargs['_check_return_type'] = kwargs.get(
  3916              '_check_return_type', True
  3917          )
  3918          kwargs['_host_index'] = kwargs.get('_host_index')
  3919          kwargs['group_id'] = \
  3920              group_id
  3921          return self.list_group_members_endpoint.call_with_http_info(**kwargs)
  3922  
  3923      def list_group_policies(
  3924          self,
  3925          group_id,
  3926          **kwargs
  3927      ):
  3928          """list group policies  # noqa: E501
  3929  
  3930          This method makes a synchronous HTTP request by default. To make an
  3931          asynchronous HTTP request, please pass async_req=True
  3932  
  3933          >>> thread = api.list_group_policies(group_id, async_req=True)
  3934          >>> result = thread.get()
  3935  
  3936          Args:
  3937              group_id (str):
  3938  
  3939          Keyword Args:
  3940              prefix (str): return items prefixed with this value. [optional]
  3941              after (str): return items after this value. [optional]
  3942              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  3943              _return_http_data_only (bool): response data without head status
  3944                  code and headers. Default is True.
  3945              _preload_content (bool): if False, the urllib3.HTTPResponse object
  3946                  will be returned without reading/decoding response data.
  3947                  Default is True.
  3948              _request_timeout (int/float/tuple): timeout setting for this request. If
  3949                  one number provided, it will be total request timeout. It can also
  3950                  be a pair (tuple) of (connection, read) timeouts.
  3951                  Default is None.
  3952              _check_input_type (bool): specifies if type checking
  3953                  should be done one the data sent to the server.
  3954                  Default is True.
  3955              _check_return_type (bool): specifies if type checking
  3956                  should be done one the data received from the server.
  3957                  Default is True.
  3958              _host_index (int/None): specifies the index of the server
  3959                  that we want to use.
  3960                  Default is read from the configuration.
  3961              async_req (bool): execute request asynchronously
  3962  
  3963          Returns:
  3964              PolicyList
  3965                  If the method is called asynchronously, returns the request
  3966                  thread.
  3967          """
  3968          kwargs['async_req'] = kwargs.get(
  3969              'async_req', False
  3970          )
  3971          kwargs['_return_http_data_only'] = kwargs.get(
  3972              '_return_http_data_only', True
  3973          )
  3974          kwargs['_preload_content'] = kwargs.get(
  3975              '_preload_content', True
  3976          )
  3977          kwargs['_request_timeout'] = kwargs.get(
  3978              '_request_timeout', None
  3979          )
  3980          kwargs['_check_input_type'] = kwargs.get(
  3981              '_check_input_type', True
  3982          )
  3983          kwargs['_check_return_type'] = kwargs.get(
  3984              '_check_return_type', True
  3985          )
  3986          kwargs['_host_index'] = kwargs.get('_host_index')
  3987          kwargs['group_id'] = \
  3988              group_id
  3989          return self.list_group_policies_endpoint.call_with_http_info(**kwargs)
  3990  
  3991      def list_groups(
  3992          self,
  3993          **kwargs
  3994      ):
  3995          """list groups  # noqa: E501
  3996  
  3997          This method makes a synchronous HTTP request by default. To make an
  3998          asynchronous HTTP request, please pass async_req=True
  3999  
  4000          >>> thread = api.list_groups(async_req=True)
  4001          >>> result = thread.get()
  4002  
  4003  
  4004          Keyword Args:
  4005              prefix (str): return items prefixed with this value. [optional]
  4006              after (str): return items after this value. [optional]
  4007              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  4008              _return_http_data_only (bool): response data without head status
  4009                  code and headers. Default is True.
  4010              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4011                  will be returned without reading/decoding response data.
  4012                  Default is True.
  4013              _request_timeout (int/float/tuple): timeout setting for this request. If
  4014                  one number provided, it will be total request timeout. It can also
  4015                  be a pair (tuple) of (connection, read) timeouts.
  4016                  Default is None.
  4017              _check_input_type (bool): specifies if type checking
  4018                  should be done one the data sent to the server.
  4019                  Default is True.
  4020              _check_return_type (bool): specifies if type checking
  4021                  should be done one the data received from the server.
  4022                  Default is True.
  4023              _host_index (int/None): specifies the index of the server
  4024                  that we want to use.
  4025                  Default is read from the configuration.
  4026              async_req (bool): execute request asynchronously
  4027  
  4028          Returns:
  4029              GroupList
  4030                  If the method is called asynchronously, returns the request
  4031                  thread.
  4032          """
  4033          kwargs['async_req'] = kwargs.get(
  4034              'async_req', False
  4035          )
  4036          kwargs['_return_http_data_only'] = kwargs.get(
  4037              '_return_http_data_only', True
  4038          )
  4039          kwargs['_preload_content'] = kwargs.get(
  4040              '_preload_content', True
  4041          )
  4042          kwargs['_request_timeout'] = kwargs.get(
  4043              '_request_timeout', None
  4044          )
  4045          kwargs['_check_input_type'] = kwargs.get(
  4046              '_check_input_type', True
  4047          )
  4048          kwargs['_check_return_type'] = kwargs.get(
  4049              '_check_return_type', True
  4050          )
  4051          kwargs['_host_index'] = kwargs.get('_host_index')
  4052          return self.list_groups_endpoint.call_with_http_info(**kwargs)
  4053  
  4054      def list_policies(
  4055          self,
  4056          **kwargs
  4057      ):
  4058          """list policies  # noqa: E501
  4059  
  4060          This method makes a synchronous HTTP request by default. To make an
  4061          asynchronous HTTP request, please pass async_req=True
  4062  
  4063          >>> thread = api.list_policies(async_req=True)
  4064          >>> result = thread.get()
  4065  
  4066  
  4067          Keyword Args:
  4068              prefix (str): return items prefixed with this value. [optional]
  4069              after (str): return items after this value. [optional]
  4070              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  4071              _return_http_data_only (bool): response data without head status
  4072                  code and headers. Default is True.
  4073              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4074                  will be returned without reading/decoding response data.
  4075                  Default is True.
  4076              _request_timeout (int/float/tuple): timeout setting for this request. If
  4077                  one number provided, it will be total request timeout. It can also
  4078                  be a pair (tuple) of (connection, read) timeouts.
  4079                  Default is None.
  4080              _check_input_type (bool): specifies if type checking
  4081                  should be done one the data sent to the server.
  4082                  Default is True.
  4083              _check_return_type (bool): specifies if type checking
  4084                  should be done one the data received from the server.
  4085                  Default is True.
  4086              _host_index (int/None): specifies the index of the server
  4087                  that we want to use.
  4088                  Default is read from the configuration.
  4089              async_req (bool): execute request asynchronously
  4090  
  4091          Returns:
  4092              PolicyList
  4093                  If the method is called asynchronously, returns the request
  4094                  thread.
  4095          """
  4096          kwargs['async_req'] = kwargs.get(
  4097              'async_req', False
  4098          )
  4099          kwargs['_return_http_data_only'] = kwargs.get(
  4100              '_return_http_data_only', True
  4101          )
  4102          kwargs['_preload_content'] = kwargs.get(
  4103              '_preload_content', True
  4104          )
  4105          kwargs['_request_timeout'] = kwargs.get(
  4106              '_request_timeout', None
  4107          )
  4108          kwargs['_check_input_type'] = kwargs.get(
  4109              '_check_input_type', True
  4110          )
  4111          kwargs['_check_return_type'] = kwargs.get(
  4112              '_check_return_type', True
  4113          )
  4114          kwargs['_host_index'] = kwargs.get('_host_index')
  4115          return self.list_policies_endpoint.call_with_http_info(**kwargs)
  4116  
  4117      def list_user_credentials(
  4118          self,
  4119          user_id,
  4120          **kwargs
  4121      ):
  4122          """list user credentials  # noqa: E501
  4123  
  4124          This method makes a synchronous HTTP request by default. To make an
  4125          asynchronous HTTP request, please pass async_req=True
  4126  
  4127          >>> thread = api.list_user_credentials(user_id, async_req=True)
  4128          >>> result = thread.get()
  4129  
  4130          Args:
  4131              user_id (str):
  4132  
  4133          Keyword Args:
  4134              prefix (str): return items prefixed with this value. [optional]
  4135              after (str): return items after this value. [optional]
  4136              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  4137              _return_http_data_only (bool): response data without head status
  4138                  code and headers. Default is True.
  4139              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4140                  will be returned without reading/decoding response data.
  4141                  Default is True.
  4142              _request_timeout (int/float/tuple): timeout setting for this request. If
  4143                  one number provided, it will be total request timeout. It can also
  4144                  be a pair (tuple) of (connection, read) timeouts.
  4145                  Default is None.
  4146              _check_input_type (bool): specifies if type checking
  4147                  should be done one the data sent to the server.
  4148                  Default is True.
  4149              _check_return_type (bool): specifies if type checking
  4150                  should be done one the data received from the server.
  4151                  Default is True.
  4152              _host_index (int/None): specifies the index of the server
  4153                  that we want to use.
  4154                  Default is read from the configuration.
  4155              async_req (bool): execute request asynchronously
  4156  
  4157          Returns:
  4158              CredentialsList
  4159                  If the method is called asynchronously, returns the request
  4160                  thread.
  4161          """
  4162          kwargs['async_req'] = kwargs.get(
  4163              'async_req', False
  4164          )
  4165          kwargs['_return_http_data_only'] = kwargs.get(
  4166              '_return_http_data_only', True
  4167          )
  4168          kwargs['_preload_content'] = kwargs.get(
  4169              '_preload_content', True
  4170          )
  4171          kwargs['_request_timeout'] = kwargs.get(
  4172              '_request_timeout', None
  4173          )
  4174          kwargs['_check_input_type'] = kwargs.get(
  4175              '_check_input_type', True
  4176          )
  4177          kwargs['_check_return_type'] = kwargs.get(
  4178              '_check_return_type', True
  4179          )
  4180          kwargs['_host_index'] = kwargs.get('_host_index')
  4181          kwargs['user_id'] = \
  4182              user_id
  4183          return self.list_user_credentials_endpoint.call_with_http_info(**kwargs)
  4184  
  4185      def list_user_external_principals(
  4186          self,
  4187          user_id,
  4188          **kwargs
  4189      ):
  4190          """list user external policies attached to a user  # noqa: E501
  4191  
  4192          This method makes a synchronous HTTP request by default. To make an
  4193          asynchronous HTTP request, please pass async_req=True
  4194  
  4195          >>> thread = api.list_user_external_principals(user_id, async_req=True)
  4196          >>> result = thread.get()
  4197  
  4198          Args:
  4199              user_id (str):
  4200  
  4201          Keyword Args:
  4202              prefix (str): return items prefixed with this value. [optional]
  4203              after (str): return items after this value. [optional]
  4204              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  4205              _return_http_data_only (bool): response data without head status
  4206                  code and headers. Default is True.
  4207              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4208                  will be returned without reading/decoding response data.
  4209                  Default is True.
  4210              _request_timeout (int/float/tuple): timeout setting for this request. If
  4211                  one number provided, it will be total request timeout. It can also
  4212                  be a pair (tuple) of (connection, read) timeouts.
  4213                  Default is None.
  4214              _check_input_type (bool): specifies if type checking
  4215                  should be done one the data sent to the server.
  4216                  Default is True.
  4217              _check_return_type (bool): specifies if type checking
  4218                  should be done one the data received from the server.
  4219                  Default is True.
  4220              _host_index (int/None): specifies the index of the server
  4221                  that we want to use.
  4222                  Default is read from the configuration.
  4223              async_req (bool): execute request asynchronously
  4224  
  4225          Returns:
  4226              ExternalPrincipalList
  4227                  If the method is called asynchronously, returns the request
  4228                  thread.
  4229          """
  4230          kwargs['async_req'] = kwargs.get(
  4231              'async_req', False
  4232          )
  4233          kwargs['_return_http_data_only'] = kwargs.get(
  4234              '_return_http_data_only', True
  4235          )
  4236          kwargs['_preload_content'] = kwargs.get(
  4237              '_preload_content', True
  4238          )
  4239          kwargs['_request_timeout'] = kwargs.get(
  4240              '_request_timeout', None
  4241          )
  4242          kwargs['_check_input_type'] = kwargs.get(
  4243              '_check_input_type', True
  4244          )
  4245          kwargs['_check_return_type'] = kwargs.get(
  4246              '_check_return_type', True
  4247          )
  4248          kwargs['_host_index'] = kwargs.get('_host_index')
  4249          kwargs['user_id'] = \
  4250              user_id
  4251          return self.list_user_external_principals_endpoint.call_with_http_info(**kwargs)
  4252  
  4253      def list_user_groups(
  4254          self,
  4255          user_id,
  4256          **kwargs
  4257      ):
  4258          """list user groups  # noqa: E501
  4259  
  4260          This method makes a synchronous HTTP request by default. To make an
  4261          asynchronous HTTP request, please pass async_req=True
  4262  
  4263          >>> thread = api.list_user_groups(user_id, async_req=True)
  4264          >>> result = thread.get()
  4265  
  4266          Args:
  4267              user_id (str):
  4268  
  4269          Keyword Args:
  4270              prefix (str): return items prefixed with this value. [optional]
  4271              after (str): return items after this value. [optional]
  4272              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  4273              _return_http_data_only (bool): response data without head status
  4274                  code and headers. Default is True.
  4275              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4276                  will be returned without reading/decoding response data.
  4277                  Default is True.
  4278              _request_timeout (int/float/tuple): timeout setting for this request. If
  4279                  one number provided, it will be total request timeout. It can also
  4280                  be a pair (tuple) of (connection, read) timeouts.
  4281                  Default is None.
  4282              _check_input_type (bool): specifies if type checking
  4283                  should be done one the data sent to the server.
  4284                  Default is True.
  4285              _check_return_type (bool): specifies if type checking
  4286                  should be done one the data received from the server.
  4287                  Default is True.
  4288              _host_index (int/None): specifies the index of the server
  4289                  that we want to use.
  4290                  Default is read from the configuration.
  4291              async_req (bool): execute request asynchronously
  4292  
  4293          Returns:
  4294              GroupList
  4295                  If the method is called asynchronously, returns the request
  4296                  thread.
  4297          """
  4298          kwargs['async_req'] = kwargs.get(
  4299              'async_req', False
  4300          )
  4301          kwargs['_return_http_data_only'] = kwargs.get(
  4302              '_return_http_data_only', True
  4303          )
  4304          kwargs['_preload_content'] = kwargs.get(
  4305              '_preload_content', True
  4306          )
  4307          kwargs['_request_timeout'] = kwargs.get(
  4308              '_request_timeout', None
  4309          )
  4310          kwargs['_check_input_type'] = kwargs.get(
  4311              '_check_input_type', True
  4312          )
  4313          kwargs['_check_return_type'] = kwargs.get(
  4314              '_check_return_type', True
  4315          )
  4316          kwargs['_host_index'] = kwargs.get('_host_index')
  4317          kwargs['user_id'] = \
  4318              user_id
  4319          return self.list_user_groups_endpoint.call_with_http_info(**kwargs)
  4320  
  4321      def list_user_policies(
  4322          self,
  4323          user_id,
  4324          **kwargs
  4325      ):
  4326          """list user policies  # noqa: E501
  4327  
  4328          This method makes a synchronous HTTP request by default. To make an
  4329          asynchronous HTTP request, please pass async_req=True
  4330  
  4331          >>> thread = api.list_user_policies(user_id, async_req=True)
  4332          >>> result = thread.get()
  4333  
  4334          Args:
  4335              user_id (str):
  4336  
  4337          Keyword Args:
  4338              prefix (str): return items prefixed with this value. [optional]
  4339              after (str): return items after this value. [optional]
  4340              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  4341              effective (bool): will return all distinct policies attached to the user or any of its groups. [optional] if omitted the server will use the default value of False
  4342              _return_http_data_only (bool): response data without head status
  4343                  code and headers. Default is True.
  4344              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4345                  will be returned without reading/decoding response data.
  4346                  Default is True.
  4347              _request_timeout (int/float/tuple): timeout setting for this request. If
  4348                  one number provided, it will be total request timeout. It can also
  4349                  be a pair (tuple) of (connection, read) timeouts.
  4350                  Default is None.
  4351              _check_input_type (bool): specifies if type checking
  4352                  should be done one the data sent to the server.
  4353                  Default is True.
  4354              _check_return_type (bool): specifies if type checking
  4355                  should be done one the data received from the server.
  4356                  Default is True.
  4357              _host_index (int/None): specifies the index of the server
  4358                  that we want to use.
  4359                  Default is read from the configuration.
  4360              async_req (bool): execute request asynchronously
  4361  
  4362          Returns:
  4363              PolicyList
  4364                  If the method is called asynchronously, returns the request
  4365                  thread.
  4366          """
  4367          kwargs['async_req'] = kwargs.get(
  4368              'async_req', False
  4369          )
  4370          kwargs['_return_http_data_only'] = kwargs.get(
  4371              '_return_http_data_only', True
  4372          )
  4373          kwargs['_preload_content'] = kwargs.get(
  4374              '_preload_content', True
  4375          )
  4376          kwargs['_request_timeout'] = kwargs.get(
  4377              '_request_timeout', None
  4378          )
  4379          kwargs['_check_input_type'] = kwargs.get(
  4380              '_check_input_type', True
  4381          )
  4382          kwargs['_check_return_type'] = kwargs.get(
  4383              '_check_return_type', True
  4384          )
  4385          kwargs['_host_index'] = kwargs.get('_host_index')
  4386          kwargs['user_id'] = \
  4387              user_id
  4388          return self.list_user_policies_endpoint.call_with_http_info(**kwargs)
  4389  
  4390      def list_users(
  4391          self,
  4392          **kwargs
  4393      ):
  4394          """list users  # noqa: E501
  4395  
  4396          This method makes a synchronous HTTP request by default. To make an
  4397          asynchronous HTTP request, please pass async_req=True
  4398  
  4399          >>> thread = api.list_users(async_req=True)
  4400          >>> result = thread.get()
  4401  
  4402  
  4403          Keyword Args:
  4404              prefix (str): return items prefixed with this value. [optional]
  4405              after (str): return items after this value. [optional]
  4406              amount (int): how many items to return. [optional] if omitted the server will use the default value of 100
  4407              _return_http_data_only (bool): response data without head status
  4408                  code and headers. Default is True.
  4409              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4410                  will be returned without reading/decoding response data.
  4411                  Default is True.
  4412              _request_timeout (int/float/tuple): timeout setting for this request. If
  4413                  one number provided, it will be total request timeout. It can also
  4414                  be a pair (tuple) of (connection, read) timeouts.
  4415                  Default is None.
  4416              _check_input_type (bool): specifies if type checking
  4417                  should be done one the data sent to the server.
  4418                  Default is True.
  4419              _check_return_type (bool): specifies if type checking
  4420                  should be done one the data received from the server.
  4421                  Default is True.
  4422              _host_index (int/None): specifies the index of the server
  4423                  that we want to use.
  4424                  Default is read from the configuration.
  4425              async_req (bool): execute request asynchronously
  4426  
  4427          Returns:
  4428              UserList
  4429                  If the method is called asynchronously, returns the request
  4430                  thread.
  4431          """
  4432          kwargs['async_req'] = kwargs.get(
  4433              'async_req', False
  4434          )
  4435          kwargs['_return_http_data_only'] = kwargs.get(
  4436              '_return_http_data_only', True
  4437          )
  4438          kwargs['_preload_content'] = kwargs.get(
  4439              '_preload_content', True
  4440          )
  4441          kwargs['_request_timeout'] = kwargs.get(
  4442              '_request_timeout', None
  4443          )
  4444          kwargs['_check_input_type'] = kwargs.get(
  4445              '_check_input_type', True
  4446          )
  4447          kwargs['_check_return_type'] = kwargs.get(
  4448              '_check_return_type', True
  4449          )
  4450          kwargs['_host_index'] = kwargs.get('_host_index')
  4451          return self.list_users_endpoint.call_with_http_info(**kwargs)
  4452  
  4453      def login(
  4454          self,
  4455          **kwargs
  4456      ):
  4457          """perform a login  # noqa: E501
  4458  
  4459          This method makes a synchronous HTTP request by default. To make an
  4460          asynchronous HTTP request, please pass async_req=True
  4461  
  4462          >>> thread = api.login(async_req=True)
  4463          >>> result = thread.get()
  4464  
  4465  
  4466          Keyword Args:
  4467              login_information (LoginInformation): [optional]
  4468              _return_http_data_only (bool): response data without head status
  4469                  code and headers. Default is True.
  4470              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4471                  will be returned without reading/decoding response data.
  4472                  Default is True.
  4473              _request_timeout (int/float/tuple): timeout setting for this request. If
  4474                  one number provided, it will be total request timeout. It can also
  4475                  be a pair (tuple) of (connection, read) timeouts.
  4476                  Default is None.
  4477              _check_input_type (bool): specifies if type checking
  4478                  should be done one the data sent to the server.
  4479                  Default is True.
  4480              _check_return_type (bool): specifies if type checking
  4481                  should be done one the data received from the server.
  4482                  Default is True.
  4483              _host_index (int/None): specifies the index of the server
  4484                  that we want to use.
  4485                  Default is read from the configuration.
  4486              async_req (bool): execute request asynchronously
  4487  
  4488          Returns:
  4489              AuthenticationToken
  4490                  If the method is called asynchronously, returns the request
  4491                  thread.
  4492          """
  4493          kwargs['async_req'] = kwargs.get(
  4494              'async_req', False
  4495          )
  4496          kwargs['_return_http_data_only'] = kwargs.get(
  4497              '_return_http_data_only', True
  4498          )
  4499          kwargs['_preload_content'] = kwargs.get(
  4500              '_preload_content', True
  4501          )
  4502          kwargs['_request_timeout'] = kwargs.get(
  4503              '_request_timeout', None
  4504          )
  4505          kwargs['_check_input_type'] = kwargs.get(
  4506              '_check_input_type', True
  4507          )
  4508          kwargs['_check_return_type'] = kwargs.get(
  4509              '_check_return_type', True
  4510          )
  4511          kwargs['_host_index'] = kwargs.get('_host_index')
  4512          return self.login_endpoint.call_with_http_info(**kwargs)
  4513  
  4514      def set_group_acl(
  4515          self,
  4516          group_id,
  4517          acl,
  4518          **kwargs
  4519      ):
  4520          """set ACL of group  # noqa: E501
  4521  
  4522          This method makes a synchronous HTTP request by default. To make an
  4523          asynchronous HTTP request, please pass async_req=True
  4524  
  4525          >>> thread = api.set_group_acl(group_id, acl, async_req=True)
  4526          >>> result = thread.get()
  4527  
  4528          Args:
  4529              group_id (str):
  4530              acl (ACL):
  4531  
  4532          Keyword Args:
  4533              _return_http_data_only (bool): response data without head status
  4534                  code and headers. Default is True.
  4535              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4536                  will be returned without reading/decoding response data.
  4537                  Default is True.
  4538              _request_timeout (int/float/tuple): timeout setting for this request. If
  4539                  one number provided, it will be total request timeout. It can also
  4540                  be a pair (tuple) of (connection, read) timeouts.
  4541                  Default is None.
  4542              _check_input_type (bool): specifies if type checking
  4543                  should be done one the data sent to the server.
  4544                  Default is True.
  4545              _check_return_type (bool): specifies if type checking
  4546                  should be done one the data received from the server.
  4547                  Default is True.
  4548              _host_index (int/None): specifies the index of the server
  4549                  that we want to use.
  4550                  Default is read from the configuration.
  4551              async_req (bool): execute request asynchronously
  4552  
  4553          Returns:
  4554              None
  4555                  If the method is called asynchronously, returns the request
  4556                  thread.
  4557          """
  4558          kwargs['async_req'] = kwargs.get(
  4559              'async_req', False
  4560          )
  4561          kwargs['_return_http_data_only'] = kwargs.get(
  4562              '_return_http_data_only', True
  4563          )
  4564          kwargs['_preload_content'] = kwargs.get(
  4565              '_preload_content', True
  4566          )
  4567          kwargs['_request_timeout'] = kwargs.get(
  4568              '_request_timeout', None
  4569          )
  4570          kwargs['_check_input_type'] = kwargs.get(
  4571              '_check_input_type', True
  4572          )
  4573          kwargs['_check_return_type'] = kwargs.get(
  4574              '_check_return_type', True
  4575          )
  4576          kwargs['_host_index'] = kwargs.get('_host_index')
  4577          kwargs['group_id'] = \
  4578              group_id
  4579          kwargs['acl'] = \
  4580              acl
  4581          return self.set_group_acl_endpoint.call_with_http_info(**kwargs)
  4582  
  4583      def update_policy(
  4584          self,
  4585          policy_id,
  4586          policy,
  4587          **kwargs
  4588      ):
  4589          """update policy  # noqa: E501
  4590  
  4591          This method makes a synchronous HTTP request by default. To make an
  4592          asynchronous HTTP request, please pass async_req=True
  4593  
  4594          >>> thread = api.update_policy(policy_id, policy, async_req=True)
  4595          >>> result = thread.get()
  4596  
  4597          Args:
  4598              policy_id (str):
  4599              policy (Policy):
  4600  
  4601          Keyword Args:
  4602              _return_http_data_only (bool): response data without head status
  4603                  code and headers. Default is True.
  4604              _preload_content (bool): if False, the urllib3.HTTPResponse object
  4605                  will be returned without reading/decoding response data.
  4606                  Default is True.
  4607              _request_timeout (int/float/tuple): timeout setting for this request. If
  4608                  one number provided, it will be total request timeout. It can also
  4609                  be a pair (tuple) of (connection, read) timeouts.
  4610                  Default is None.
  4611              _check_input_type (bool): specifies if type checking
  4612                  should be done one the data sent to the server.
  4613                  Default is True.
  4614              _check_return_type (bool): specifies if type checking
  4615                  should be done one the data received from the server.
  4616                  Default is True.
  4617              _host_index (int/None): specifies the index of the server
  4618                  that we want to use.
  4619                  Default is read from the configuration.
  4620              async_req (bool): execute request asynchronously
  4621  
  4622          Returns:
  4623              Policy
  4624                  If the method is called asynchronously, returns the request
  4625                  thread.
  4626          """
  4627          kwargs['async_req'] = kwargs.get(
  4628              'async_req', False
  4629          )
  4630          kwargs['_return_http_data_only'] = kwargs.get(
  4631              '_return_http_data_only', True
  4632          )
  4633          kwargs['_preload_content'] = kwargs.get(
  4634              '_preload_content', True
  4635          )
  4636          kwargs['_request_timeout'] = kwargs.get(
  4637              '_request_timeout', None
  4638          )
  4639          kwargs['_check_input_type'] = kwargs.get(
  4640              '_check_input_type', True
  4641          )
  4642          kwargs['_check_return_type'] = kwargs.get(
  4643              '_check_return_type', True
  4644          )
  4645          kwargs['_host_index'] = kwargs.get('_host_index')
  4646          kwargs['policy_id'] = \
  4647              policy_id
  4648          kwargs['policy'] = \
  4649              policy
  4650          return self.update_policy_endpoint.call_with_http_info(**kwargs)
  4651