index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
|---|---|---|---|---|---|---|
719,647
|
ibm_platform_services.iam_access_groups_v2
|
list_templates
|
List templates.
List the access group templates in an enterprise account.
:param str account_id: Enterprise account ID.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
:param bool verbose: (optional) If `verbose=true`, IAM resource details are
returned. If performance is a concern, leave the `verbose` parameter off so
that details are not retrieved.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ListTemplatesResponse` object
|
def list_templates(
self,
account_id: str,
*,
transaction_id: str = None,
limit: int = None,
offset: int = None,
verbose: bool = None,
**kwargs,
) -> DetailedResponse:
"""
List templates.
List the access group templates in an enterprise account.
:param str account_id: Enterprise account ID.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
:param bool verbose: (optional) If `verbose=true`, IAM resource details are
returned. If performance is a concern, leave the `verbose` parameter off so
that details are not retrieved.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ListTemplatesResponse` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='list_templates',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'limit': limit,
'offset': offset,
'verbose': verbose,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/group_templates'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, transaction_id: Optional[str] = None, limit: Optional[int] = None, offset: Optional[int] = None, verbose: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.00039605615893378854,
-0.010713261552155018,
0.006973376031965017,
-0.068646639585495,
-0.04028855264186859,
0.03081107884645462,
-0.07961077243089676,
-0.04727586358785629,
-0.05526667460799217,
-0.016697077080607414,
0.04184954613447189,
-0.025570593774318695,
-0.04493437334895134,
-0.03857889026403427,
-0.06303448975086212,
-0.03579139709472656,
0.0015911933733150363,
-0.0023473005276173353,
0.040548719465732574,
-0.019456693902611732,
0.055898506194353104,
0.014104709960520267,
-0.014309125952422619,
-0.013259170576930046,
0.016975827515125275,
-0.05842583253979683,
-0.023154767230153084,
-0.008450746536254883,
0.006109253503382206,
0.00914761982858181,
-0.04017705097794533,
-0.008590121753513813,
0.031052662059664726,
0.06054432690143585,
-0.07422161847352982,
-0.047610364854335785,
-0.004283446352928877,
-0.022504352033138275,
0.0022416082210838795,
0.044748540967702866,
-0.022560102865099907,
0.008478621952235699,
0.04731303080916405,
-0.013305628672242165,
0.03623739629983902,
0.004055800847709179,
-0.0018153542187064886,
-0.056753337383270264,
-0.015647122636437416,
0.0102765541523695,
0.0002934125659521669,
0.013900293968617916,
-0.036423228681087494,
-0.031145578250288963,
0.003428615164011717,
0.0024158265441656113,
-0.008348538540303707,
-0.06931563466787338,
-0.017579782754182816,
-0.04073455184698105,
-0.014494958333671093,
0.002246254123747349,
-0.04642103612422943,
0.0019256924279034138,
-0.059800997376441956,
-0.0015133759006857872,
-0.043893709778785706,
0.026797089725732803,
-0.042109712958335876,
-0.017124492675065994,
-0.019419528543949127,
0.03928505629301071,
0.006564543582499027,
-0.06046999618411064,
-0.04407954216003418,
-0.00446695601567626,
0.030941162258386612,
-0.016297537833452225,
-0.05757100135087967,
-0.028135087341070175,
-0.07708344608545303,
-0.004134779796004295,
-0.015284747816622257,
0.07708344608545303,
0.06255131959915161,
0.026202425360679626,
0.022987518459558487,
-0.055749841034412384,
0.0628114864230156,
0.010332304053008556,
-0.013472878374159336,
-0.028135087341070175,
-0.005310172215104103,
0.01771915704011917,
-0.007725998759269714,
0.02631392516195774,
-0.005314818117767572,
0.002938481280580163,
-0.006411231588572264,
0.00786537304520607,
0.004144071601331234,
-0.09960637986660004,
0.04214688017964363,
0.02304326742887497,
0.01562853902578354,
-0.014160459861159325,
-0.03694356232881546,
0.018527530133724213,
0.036906395107507706,
0.06697414070367813,
-0.00426021683961153,
0.004682986531406641,
0.03958238661289215,
-0.006834001280367374,
0.034044571220874786,
0.031424328684806824,
0.0022195405326783657,
0.01045309565961361,
-0.029008500277996063,
-0.05719933658838272,
0.04980318993330002,
-0.02282026782631874,
0.03151724487543106,
-0.02352643385529518,
-0.00956109818071127,
0.014346292242407799,
-0.01774703338742256,
0.02168668806552887,
0.010109304450452328,
0.029937664046883583,
-0.06113899126648903,
-0.038690388202667236,
-0.007930414751172066,
0.0426672101020813,
0.03155440837144852,
0.01723599247634411,
-0.0009866560576483607,
-0.0016945628449320793,
0.012673797085881233,
0.05942932888865471,
-0.027930671349167824,
0.030216414481401443,
0.03445340320467949,
0.06957580149173737,
-0.017105909064412117,
-0.03573564812541008,
0.04794486239552498,
0.014160459861159325,
-0.012924671173095703,
0.007465832866728306,
-0.037055060267448425,
-0.044971536844968796,
-0.006959438323974609,
-0.026406841352581978,
-0.022560102865099907,
0.045900702476501465,
-0.01073184423148632,
0.03346848860383034,
-0.00670391833409667,
-0.018081530928611755,
-0.035921480506658554,
-0.0007003573700785637,
-0.012134881690144539,
0.005375213921070099,
-0.011038468219339848,
-0.05088102072477341,
-0.02304326742887497,
0.04545470327138901,
-0.003161480650305748,
-0.0687209740281105,
-0.024269763380289078,
0.04917135834693909,
0.012320715002715588,
-0.03501090034842491,
-0.008464683778584003,
0.03820722550153732,
0.05749667063355446,
-0.0026945755816996098,
-0.06771747022867203,
-0.02832091972231865,
-0.03224199265241623,
-0.047907695174217224,
-0.014104709960520267,
0.04188671335577965,
-0.01362154446542263,
-0.03108982741832733,
0.021222107112407684,
0.10443803668022156,
-0.06076732650399208,
-0.01947527751326561,
-0.02510601095855236,
-0.03688781335949898,
-0.007075584027916193,
0.016799286007881165,
-0.03857889026403427,
-0.010388053953647614,
-0.030346496030688286,
-0.027986420318484306,
-0.025217510759830475,
0.00581192085519433,
-0.04236987978219986,
0.0074611869640648365,
0.03354281932115555,
-0.020627440884709358,
0.0837734267115593,
0.021240688860416412,
0.007391499821096659,
-0.07128546386957169,
-0.043113209307193756,
-0.001965181902050972,
-0.000011051970432163216,
-0.008590121753513813,
-0.008840995840728283,
0.006745730992406607,
-0.020738940685987473,
0.0985657200217247,
0.022076936438679695,
0.014643625356256962,
0.0094124311581254,
-0.06727147847414017,
-0.017979323863983154,
-0.04656970128417015,
-0.01678999327123165,
-0.01869478076696396,
-0.014253376051783562,
0.015609955415129662,
0.032279159873723984,
0.018685488030314445,
-0.03172165900468826,
-0.013612252660095692,
0.04184954613447189,
-0.04813069477677345,
0.010973427444696426,
0.01962394453585148,
-0.007619144860655069,
-0.09343673288822174,
0.03118274360895157,
-0.03274374082684517,
0.0854087546467781,
0.02490159496665001,
-0.02125927247107029,
0.08027977496385574,
0.022207019850611687,
0.039619553834199905,
-0.07225179672241211,
0.003252074122428894,
-0.06006116047501564,
-0.01621391251683235,
0.053519848734140396,
-0.035549815744161606,
0.006931563373655081,
-0.03291098773479462,
0.01668778620660305,
-0.007256770972162485,
-0.01333350408822298,
-0.04129204899072647,
0.020237192511558533,
-0.012896796688437462,
0.009830554947257042,
-0.01769128255546093,
-0.0007462348439730704,
0.008120893500745296,
-0.10347170382738113,
-0.013575086370110512,
0.02625817432999611,
0.01671566069126129,
0.019215112552046776,
0.010638928040862083,
0.017254576086997986,
0.07370129227638245,
0.0609159916639328,
0.06931563466787338,
0.013212712481617928,
0.0005723069771192968,
-0.019921276718378067,
0.034063152968883514,
0.09172707051038742,
-0.0037747288588434458,
-0.07492778450250626,
0.014615749940276146,
-0.052888017147779465,
0.0009320676326751709,
-0.015005999244749546,
0.02646259218454361,
0.05775683373212814,
-0.013054754585027695,
-0.03138716146349907,
0.05169868469238281,
-0.01947527751326561,
0.0554896742105484,
0.003888551378622651,
0.044191040098667145,
-0.02568209357559681,
-0.06396365165710449,
-0.06548748165369034,
-0.06537598371505737,
-0.013825960457324982,
-0.08347609639167786,
0.043484877794981,
0.020776107907295227,
0.013398544862866402,
0.0258121769875288,
0.0038026038091629744,
0.013426420278847218,
-0.016353286802768707,
-0.01166100800037384,
0.034193236380815506,
-0.0018072240054607391,
0.07626578211784363,
0.013556502759456635,
0.006824709940701723,
0.006699272431433201,
0.027428921312093735,
-0.03696214407682419,
-0.03636747971177101,
-0.0077631655149161816,
0.046681199222803116,
-0.010713261552155018,
-0.01990269310772419,
0.010072138160467148,
-0.05749667063355446,
0.08436809480190277,
-0.03136857599020004,
-0.005435609724372625,
0.11112801730632782,
0.033133987337350845,
0.008687683381140232,
0.026592673733830452,
0.046829868108034134,
-0.013426420278847218,
0.003180063795298338,
-0.057050671428442,
-0.03164732828736305,
0.006378711201250553,
-0.04173804819583893,
-0.030216414481401443,
0.021129189059138298,
-0.03917355462908745,
-0.024214014410972595,
0.013575086370110512,
-0.0182487815618515,
-0.03835589066147804,
0.008399643003940582,
-0.020385857671499252,
0.010174346156418324,
-0.0030244288500398397,
0.08875374495983124,
0.009407785721123219,
-0.015749329701066017,
0.03304107114672661,
-0.012989712879061699,
0.01997702568769455,
0.0702819675207138,
0.05593567341566086,
0.023433515802025795,
-0.03359857201576233,
-0.0014169751666486263,
0.03686922788619995,
-0.024622846394777298,
0.01244150660932064,
-0.0784214437007904,
-0.015925871208310127,
-0.0329667404294014,
-0.03502948209643364,
0.021575188264250755,
-0.04367071017622948,
-0.008929266594350338,
-0.04686703160405159,
0.0025296490639448166,
0.04181238263845444,
-0.04274154454469681,
-0.03326407074928284,
-0.004125488456338644,
0.009463535621762276,
0.01006284635514021,
-0.04315037652850151,
-0.014578583650290966,
0.011438009329140186,
-0.05396584793925285,
0.06608214229345322,
0.043076042085886,
-0.009672597050666809,
0.05359417945146561,
0.00920801516622305,
-0.0010778302093967795,
-0.03281807154417038,
0.03943372145295143,
0.015842245891690254,
-0.005435609724372625,
0.0028339503332972527,
0.07280929386615753,
-0.01912219636142254,
-0.00020833600137848407,
0.00034379068529233336,
-0.020553108304739,
-0.033988818526268005,
-0.0613248236477375,
-0.010332304053008556,
-0.016120996326208115,
-0.015284747816622257,
0.016548411920666695,
0.05805416777729988,
0.00424627959728241,
0.006838647183030844,
0.0014634333783760667,
-0.029045667499303818,
0.07057929784059525,
-0.07968510687351227,
-0.01661345176398754,
-0.007173146121203899,
-0.008171997964382172,
0.01501529011875391,
-0.03711080923676491,
-0.05169868469238281,
0.0064762732945382595,
0.06619364768266678,
-0.0822867676615715,
0.10198504477739334,
-0.024641430005431175,
0.008966432884335518,
-0.007758519612252712,
-0.03218623995780945,
0.042258378118276596,
-0.04378220811486244,
0.002082488965243101,
-0.03144291043281555,
-0.05485784262418747,
-0.03240923956036568,
-0.04879969358444214,
-0.03450915217399597,
-0.011391551233828068,
0.02902708388864994,
-0.007289291825145483,
-0.020348692312836647,
0.06429815292358398,
0.027949253097176552,
-0.013398544862866402,
-0.00738220801576972,
-0.022578686475753784,
0.0009994320571422577,
0.039619553834199905,
-0.005166152026504278,
0.038987722247838974,
-0.024585679173469543,
-0.024641430005431175,
0.029510248452425003,
-0.03965672105550766,
-0.04686703160405159,
0.015972329303622246,
0.007210312876850367,
0.03110841102898121,
0.03580998256802559,
0.05091818794608116,
-0.011688883416354656,
-0.002759617054834962,
-0.03711080923676491,
-0.009426369331777096,
0.02239285223186016,
-0.020515941083431244,
-0.025867925956845284,
-0.006448398344218731,
-0.009249827824532986,
0.06046999618411064,
0.0015563496854156256,
0.039545219391584396,
-0.04452554136514664,
-0.013714460656046867,
0.010936260223388672,
0.024771513417363167,
-0.016195328906178474,
-0.020924773067235947,
0.0014820166397839785,
-0.05225618556141853,
0.07663744688034058,
0.025867925956845284,
0.025849342346191406,
0.030049163848161697,
0.0018432291690260172,
0.008376413956284523,
-0.017496159300208092,
0.021853936836123466,
-0.07065363228321075,
0.025031678378582,
0.012627338990569115,
-0.010165054351091385,
-0.06663964688777924,
0.03835589066147804,
0.0019338226411491632,
-0.08578041940927505,
-0.0539286807179451,
-0.012645922601222992,
0.004264862742275,
-0.006889751181006432,
0.028339503332972527,
-0.022522935643792152,
-0.01636257767677307,
-0.03292957320809364,
0.00870626699179411,
0.017031576484441757,
-0.007252125069499016,
0.04329904168844223,
-0.029417332261800766,
0.04794486239552498,
-0.02425118163228035,
0.053668513894081116,
0.04415387287735939,
0.05344551429152489,
-0.010796885937452316,
0.006109253503382206,
-0.06191949173808098,
-0.024269763380289078,
0.07634011656045914,
-0.005361276213079691,
0.027837753295898438,
-0.030476579442620277,
0.04593786969780922,
-0.02125927247107029,
0.0013565794797614217,
0.05530384182929993,
0.0008623803732916713,
0.01451354194432497,
0.023693682625889778,
-0.036274563521146774,
0.04184954613447189,
0.04374504089355469,
-0.001276439055800438,
0.007010542321950197,
0.0034611360169947147,
-0.04374504089355469,
0.057608168572187424,
0.03174024447798729,
0.01953102834522724,
-0.00029079930391162634,
-0.08057710528373718,
-0.04415387287735939,
-0.05307384952902794,
-0.10213370621204376,
-0.0011759732151404023,
-0.027354588732123375,
0.05983816459774971,
0.020627440884709358,
0.031777407974004745,
-0.013788794167339802,
-0.0586116649210453,
-0.0025644926354289055,
-0.019233694300055504,
-0.01119642611593008,
0.0033658966422080994,
0.014987415634095669,
0.03025357984006405,
0.10525570064783096,
-0.03601439669728279,
0.003045335179194808,
-0.015080331824719906,
-0.03980538621544838,
0.07087662816047668,
-0.037426725029945374,
-0.019308028742671013,
-0.0347321517765522,
0.0029175749514251947,
0.009054703637957573,
0.0012009445345029235,
-0.028636835515499115,
-0.008566892705857754,
0.03330123797059059,
0.03430473431944847,
-0.001874588429927826,
0.014095418155193329,
-0.003008168423548341,
0.0184160303324461,
-0.005491359159350395,
-0.0025157115887850523,
-0.024771513417363167,
0.0023623995948582888,
-0.03168449178338051,
0.07009613513946533,
0.05307384952902794,
-0.008548309095203876,
0.05311101675033569,
-0.04872536286711693,
0.06385215371847153,
-0.036255981773138046,
0.05221901834011078,
-0.011902591213583946,
0.0173660758882761,
0.060655828565359116,
0.01311979629099369,
-0.040474385023117065,
0.037278059870004654,
0.036980729550123215,
-0.0029524187557399273,
0.034416235983371735,
-0.00012420309940353036,
0.03224199265241623,
-0.024660013616085052,
0.09960637986660004,
-0.023414934054017067,
0.002062744228169322,
-0.012841046787798405,
-0.057608168572187424,
-0.02075752429664135,
0.05359417945146561,
0.02282026782631874,
0.03430473431944847,
0.00981197226792574,
-0.017672698944807053,
0.042109712958335876,
-0.010648219846189022,
0.013677294366061687,
0.027224505320191383,
0.011066343635320663,
-0.03595864772796631,
0.015470581129193306,
-0.059800997376441956,
0.03621881455183029,
0.024660013616085052,
0.027503255754709244,
0.029082834720611572,
0.017096618190407753,
-0.06318315118551254,
0.007725998759269714,
0.0446370393037796,
-0.01653911918401718,
0.028989916667342186,
-0.02646259218454361,
0.04385654255747795,
0.040697384625673294,
0.034416235983371735,
-0.024121098220348358,
0.02111060731112957,
-0.06084166094660759,
0.0038606764283031225,
-0.07240045815706253,
0.04656970128417015,
0.045677702873945236,
0.029714664444327354,
0.04500870406627655,
-0.028283752501010895,
0.012367173098027706,
0.0002417278301436454,
0.016678493469953537,
0.019493861123919487,
0.03850455582141876,
0.05106685310602188,
-0.04270437732338905,
0.045975036919116974,
0.007911832071840763,
-0.009156911633908749,
0.007916477508842945,
0.011558800004422665,
-0.04905986040830612,
0.06366632133722305,
-0.05790550261735916,
-0.05251634865999222,
-0.057236503809690475,
0.042555712163448334,
-0.0031336056999862194,
0.014922373928129673,
0.003277626121416688,
0.010555303655564785,
0.027447504922747612,
-0.0010563433170318604,
-0.014504250138998032,
-0.03207474201917648,
0.01678999327123165,
-0.051475685089826584,
-0.056307338178157806,
-0.022281352430582047,
0.012413631193339825,
0.009830554947257042,
0.037909891456365585,
0.019438112154603004,
0.02382376603782177,
0.017096618190407753,
0.01315696258097887,
0.06842363625764847,
-0.014922373928129673,
-0.03304107114672661,
-0.012757422402501106,
0.04905986040830612,
0.04593786969780922,
0.020794691517949104,
0.04991469159722328,
0.013324212282896042,
-0.00167133379727602,
-0.02361935004591942,
0.019029278308153152,
-0.04259287938475609,
-0.00600704550743103,
0.007117396220564842,
0.01379808597266674,
0.005872316658496857,
-0.03430473431944847,
-0.0021695978939533234,
0.022151270881295204,
0.023433515802025795,
0.02183535508811474,
-0.005607504863291979,
-0.0004561614478006959,
0.00600704550743103,
-0.0011573899537324905,
-0.049468692392110825,
0.012999004684388638,
0.07158279418945312,
-0.01844390667974949,
0.02646259218454361,
-0.010629636235535145,
-0.023377766832709312,
-0.0018687811680138111,
0.03439765051007271,
0.035902898758649826,
0.022634435445070267,
0.08786174654960632,
0.032000407576560974,
-0.01822090707719326,
0.02739175595343113,
0.013314920477569103,
0.05534100905060768,
0.05679050460457802,
0.016929367557168007,
0.01337067037820816,
-0.002550555160269141,
-0.053185347467660904,
0.009356681257486343,
0.0031986471731215715,
0.02425118163228035,
-0.04526887089014053,
0.038616057485342026,
-0.04352204129099846,
-0.011503050103783607,
-0.0035888960119336843,
0.0012288193684071302,
-0.05188451707363129,
-0.03603298217058182,
0.02538476139307022,
-0.038913387805223465,
-0.061956655234098434,
0.03164732828736305,
0.003317115595564246,
0.0015993235865607858,
-0.006834001280367374,
0.018332406878471375,
-0.016855034977197647,
-0.02980758249759674,
-0.072995126247406,
0.03168449178338051,
0.049320027232170105,
0.028153669089078903,
0.05262785032391548,
-0.01087121944874525,
-0.0157028716057539,
0.007665602955967188,
-0.006741085089743137,
-0.03865322470664978,
-0.005988461896777153,
0.026202425360679626,
-0.0064948564395308495,
-0.0341189019382,
-0.03088541142642498,
-0.01158667542040348,
0.03131282702088356,
-0.02603517659008503,
0.03928505629301071,
0.0045296745374798775,
-0.03718514367938042,
-0.02661125734448433,
0.03424898535013199,
0.001499438425526023
] |
719,649
|
ibm_platform_services.iam_access_groups_v2
|
remove_access_group_rule
|
Delete an access group rule.
Remove one rule from a group using this API. If the operation is successful, only
a `204 - No Content` response with no body is returned. However, if any error
occurs, the standard error format will be returned.
:param str access_group_id: The access group identifier.
:param str rule_id: The rule to get.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def remove_access_group_rule(
self,
access_group_id: str,
rule_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete an access group rule.
Remove one rule from a group using this API. If the operation is successful, only
a `204 - No Content` response with no body is returned. However, if any error
occurs, the standard error format will be returned.
:param str access_group_id: The access group identifier.
:param str rule_id: The rule to get.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
if not rule_id:
raise ValueError('rule_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='remove_access_group_rule',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['access_group_id', 'rule_id']
path_param_values = self.encode_path_vars(access_group_id, rule_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/rules/{rule_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, rule_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04560157284140587,
0.09793677181005478,
-0.023530263453722,
-0.009118444286286831,
0.004634040407836437,
-0.04515266790986061,
-0.07597768306732178,
0.06494203209877014,
0.001968648750334978,
-0.04937988519668579,
0.0132521390914917,
0.06352048367261887,
0.04305776208639145,
-0.019359158352017403,
-0.02783229760825634,
0.01685275509953499,
0.006995483301579952,
0.010137840174138546,
0.012457197532057762,
-0.012026994489133358,
0.006434348411858082,
0.016188746318221092,
-0.01607651822268963,
-0.03838163614273071,
0.01056804321706295,
0.027009300887584686,
0.045264892280101776,
0.005807747598737478,
0.0011690313694998622,
0.04971656575798988,
-0.01873255893588066,
-0.014075137674808502,
0.030806314200162888,
0.050277698785066605,
-0.056263141334056854,
-0.030394814908504486,
-0.0006529039819724858,
-0.002187257632613182,
-0.10063021630048752,
0.013607524335384369,
-0.035276688635349274,
0.07040373980998993,
0.020051226019859314,
-0.002649025060236454,
-0.014065785333514214,
-0.011970880441367626,
-0.020612360909581184,
0.02887975051999092,
-0.0398779958486557,
-0.0335184670984745,
-0.03886795416474342,
-0.006471757311373949,
-0.023081354796886444,
0.00595270749181509,
0.011045007966458797,
0.005171794444322586,
-0.04881874844431877,
-0.052671875804662704,
0.030338700860738754,
-0.037726979702711105,
0.032302673906087875,
0.02169722132384777,
-0.03267676383256912,
-0.04769647866487503,
0.0026396727189421654,
-0.04249662533402443,
-0.07238642126321793,
-0.002723843092098832,
0.006827143020927906,
-0.02008863538503647,
-0.03750252351164818,
0.04066358506679535,
0.05293373763561249,
-0.040476541966199875,
-0.001128115225583315,
0.018769966438412666,
0.04141176491975784,
-0.02276337891817093,
0.051250334829092026,
-0.002076199743896723,
0.012560072354972363,
0.012962219305336475,
0.08334726095199585,
0.00639226334169507,
0.024222329258918762,
-0.0000278558254649397,
0.028430841863155365,
-0.02345544472336769,
-0.03514575958251953,
-0.06254785507917404,
0.03537021204829216,
-0.023025240749120712,
-0.06363271176815033,
-0.010034965351223946,
-0.03593134880065918,
0.018900899216532707,
-0.0008206599741242826,
0.002609277842566371,
-0.024502897635102272,
-0.03391126170754433,
0.022164834663271904,
-0.050689198076725006,
-0.00013969924475532025,
0.02177204005420208,
0.05050215497612953,
-0.007004835642874241,
0.04975397512316704,
0.01943397708237171,
-0.019770657643675804,
0.05095106363296509,
0.03677304834127426,
-0.022707264870405197,
-0.02253892458975315,
-0.0032358786556869745,
0.030563155189156532,
0.06269748508930206,
-0.058507680892944336,
-0.11349891126155853,
0.042085129767656326,
-0.006266008131206036,
-0.0030044105369597673,
-0.04324480891227722,
0.004189808387309313,
0.0011859822552651167,
0.028131570667028427,
0.022520219907164574,
-0.029422180727124214,
-0.0025087413378059864,
0.10437111556529999,
-0.024839578196406364,
-0.019770657643675804,
-0.031891174614429474,
0.011858654208481312,
-0.004825761541724205,
-0.02218353934586048,
0.027570435777306557,
0.0359126441180706,
0.038306817412376404,
0.013383070938289165,
-0.029571816325187683,
0.06699952483177185,
0.04896838590502739,
0.016160689294338226,
-0.0005991285433992743,
-0.012092459946870804,
-0.05940549820661545,
-0.013972262851893902,
0.017161380499601364,
-0.03151708468794823,
-0.009422392584383488,
-0.05966736003756523,
-0.053233012557029724,
0.027177641168236732,
0.013046389445662498,
0.047883521765470505,
0.05742282047867775,
-0.033649396151304245,
0.021510176360607147,
-0.014084489084780216,
0.004112652037292719,
-0.016712471842765808,
0.027514321729540825,
-0.006612041033804417,
-0.024259738624095917,
0.039354272186756134,
-0.05282151326537132,
0.05727318301796913,
0.009745045565068722,
-0.04418003186583519,
-0.0293099544942379,
-0.07036633789539337,
-0.03028258867561817,
-0.012812583707273006,
0.005709548946470022,
-0.04530230164527893,
0.03248972073197365,
0.036398958414793015,
0.04881874844431877,
-0.030544450506567955,
-0.012812583707273006,
-0.024989213794469833,
-0.008576014079153538,
0.03718454763293266,
-0.01901312544941902,
-0.020593656226992607,
0.04762165993452072,
-0.05775950103998184,
-0.009277432225644588,
-0.011203995905816555,
-0.014009671285748482,
-0.014495988376438618,
-0.023530263453722,
-0.02057495154440403,
-0.03411700949072838,
-0.008683565072715282,
-0.04234699159860611,
0.01853616163134575,
0.04489080235362053,
0.04810797795653343,
-0.008374940603971481,
-0.016459960490465164,
0.04866911098361015,
0.024334555491805077,
0.08499325066804886,
0.022426696494221687,
-0.029983315616846085,
0.010053669102489948,
0.023380625993013382,
-0.05749763548374176,
0.025344599038362503,
-0.025625167414546013,
0.00897816102951765,
0.07758627086877823,
-0.004531165584921837,
0.019770657643675804,
-0.009071683511137962,
-0.010100430808961391,
0.057609863579273224,
0.014486636035144329,
0.018162071704864502,
-0.055477552115917206,
-0.008108401671051979,
0.03460332751274109,
-0.009670226834714413,
-0.004435305017977953,
-0.004697167780250311,
0.00199086032807827,
0.018003081902861595,
-0.014028375968337059,
-0.010717679746448994,
0.028711410239338875,
-0.04335703328251839,
0.08200053125619888,
0.009829215705394745,
0.03161060810089111,
-0.04620011895895004,
-0.019714543595910072,
0.001385302166454494,
-0.031311336904764175,
0.05405600741505623,
-0.035482440143823624,
0.009913385845720768,
0.019265636801719666,
0.0737331435084343,
-0.06512907147407532,
0.08723779767751694,
-0.012971571646630764,
0.026186302304267883,
0.028019342571496964,
-0.046125300228595734,
-0.0005237260484136641,
-0.0008124767919071019,
0.004040172323584557,
0.00965152308344841,
0.0009866624604910612,
0.028486955910921097,
-0.05603868514299393,
-0.02747691236436367,
0.01257877703756094,
-0.015281577594578266,
0.02274467423558235,
-0.02248281054198742,
-0.0071451193653047085,
-0.05757245421409607,
0.04911801964044571,
0.025606462731957436,
-0.003731548087671399,
0.049005795270204544,
0.006434348411858082,
0.03247101604938507,
0.09554259479045868,
0.006064934656023979,
0.023866944015026093,
0.022164834663271904,
-0.04750943183898926,
0.03192858397960663,
0.008870610035955906,
-0.004100962076336145,
0.026298528537154198,
-0.02584962174296379,
0.05712354555726051,
-0.0047345771454274654,
-0.04081322252750397,
0.013177321292459965,
-0.01675923354923725,
0.04814538732171059,
0.018236888572573662,
0.048856157809495926,
-0.03415441885590553,
0.09082905948162079,
0.03531409800052643,
-0.01817142218351364,
-0.07253605872392654,
-0.0011567565379664302,
-0.005985440220683813,
0.036679528653621674,
-0.02706541307270527,
0.0033457677345722914,
0.01909729652106762,
0.03875572606921196,
-0.0016085871029645205,
0.03164801746606827,
0.05285892263054848,
-0.01102630328387022,
-0.0658024325966835,
-0.02798193320631981,
0.047322388738393784,
-0.0008703438215889037,
0.036885276436805725,
0.02852436527609825,
-0.0011596790282055736,
-0.014495988376438618,
-0.002525107702240348,
-0.02684095874428749,
-0.006074286997318268,
0.03722195699810982,
0.026522982865571976,
-0.001954620471224189,
0.036455072462558746,
0.008122430182993412,
-0.0013993305619806051,
-0.03916722536087036,
0.0044282907620072365,
-0.011924119666218758,
0.03972836211323738,
-0.03179765120148659,
0.0069019608199596405,
0.02136054076254368,
0.05117551609873772,
0.010156543925404549,
-0.0019382539903745055,
-0.01691822148859501,
-0.006939370185136795,
-0.003958340268582106,
0.042309582233428955,
-0.03514575958251953,
0.012532016262412071,
-0.053382646292448044,
0.019396567717194557,
0.02304394543170929,
-0.035893939435482025,
0.05989181250333786,
0.07481800764799118,
0.026971891522407532,
-0.010558690875768661,
-0.011213348247110844,
-0.005059567745774984,
-0.01797502674162388,
-0.010764440521597862,
0.019153408706188202,
0.03898018226027489,
-0.00016556406626477838,
0.008650831878185272,
-0.0004945002729073167,
0.022632446140050888,
-0.00364503962919116,
-0.015449917875230312,
0.02556905336678028,
0.01633838191628456,
-0.04923024773597717,
-0.016525426879525185,
-0.02289430983364582,
-0.002490036655217409,
0.009132472798228264,
0.04833243042230606,
-0.030675381422042847,
-0.09419587254524231,
-0.034977417439222336,
0.005017482675611973,
-0.006485785823315382,
-0.00908571109175682,
-0.009352250955998898,
0.03277028724551201,
0.018788671121001244,
0.007346192840486765,
0.012840639799833298,
0.03127392753958702,
-0.013429831713438034,
0.017441947013139725,
-0.01614198461174965,
0.002037621568888426,
-0.0002902120177168399,
-0.056899093091487885,
0.028356024995446205,
-0.02225835621356964,
0.007542590145021677,
-0.03538891673088074,
0.025774803012609482,
-0.05962995067238808,
0.02543812245130539,
0.07160083204507828,
-0.02564387209713459,
0.01875126175582409,
-0.052522238343954086,
-0.04687348008155823,
-0.031460970640182495,
-0.05360710248351097,
0.013261491432785988,
-0.04290812462568283,
0.027140231803059578,
-0.04141176491975784,
0.04298294335603714,
-0.02974015660583973,
-0.012279504910111427,
0.014851374551653862,
0.021715926006436348,
0.0017628992209210992,
0.005237260367721319,
-0.03239619731903076,
-0.05158701539039612,
0.014458579942584038,
-0.012728413566946983,
-0.0022550614085048437,
0.027289867401123047,
0.035052236169576645,
0.060639992356300354,
0.012831288389861584,
0.024353260174393654,
-0.00456389831379056,
-0.041598811745643616,
0.04522748291492462,
-0.007968117482960224,
-0.027383390814065933,
-0.055702004581689835,
-0.0032873160671442747,
-0.06838365644216537,
0.015693075954914093,
0.04245921969413757,
-0.04896838590502739,
-0.0035912643652409315,
0.05233519524335861,
-0.023941760882735252,
-0.062173761427402496,
0.023530263453722,
-0.07219937443733215,
0.005419629160314798,
-0.04474116861820221,
0.032863810658454895,
0.03479037433862686,
0.006387587171047926,
0.02057495154440403,
-0.017872150987386703,
0.012251448817551136,
0.0071123866364359856,
-0.08267389982938766,
0.040476541966199875,
0.04429225996136665,
-0.03207822144031525,
-0.007813805714249611,
0.00433009210973978,
0.11237664520740509,
0.05656241253018379,
0.04283330962061882,
0.00809904932975769,
-0.03570689260959625,
-0.051886286586523056,
-0.039204634726047516,
-0.07089006155729294,
-0.03819459304213524,
-0.02854306995868683,
0.023361921310424805,
0.007318136282265186,
-0.03538891673088074,
-0.012737765908241272,
-0.056263141334056854,
0.04687348008155823,
0.07545395940542221,
0.03439757972955704,
-0.021304426714777946,
-0.05783431977033615,
-0.04489080235362053,
-0.08155162632465363,
-0.013794570229947567,
0.05588905140757561,
-0.018274297937750816,
0.05349487438797951,
0.005284021608531475,
-0.017105266451835632,
-0.02268856018781662,
0.09210096299648285,
0.05091365426778793,
-0.06524129956960678,
-0.027607843279838562,
-0.009716988541185856,
0.01767575368285179,
-0.008141133934259415,
0.03335012495517731,
0.0019043521024286747,
-0.07392019033432007,
-0.008950104005634785,
0.037109728902578354,
-0.033424943685531616,
-0.04305776208639145,
-0.0418606735765934,
0.03516446426510811,
0.004126680549234152,
0.02177204005420208,
-0.011690312996506691,
-0.015506031922996044,
-0.06030331179499626,
-0.047247570008039474,
-0.011774484068155289,
-0.025774803012609482,
-0.015075827948749065,
0.05413082614541054,
-0.007897975854575634,
-0.039354272186756134,
-0.002990382257848978,
-0.01112917810678482,
-0.029627930372953415,
-0.0662139356136322,
0.06254785507917404,
-0.00041734418482519686,
0.04687348008155823,
-0.02742079831659794,
-0.003977044485509396,
-0.029066795483231544,
0.028206387534737587,
0.007949412800371647,
-0.011755779385566711,
0.03002072498202324,
-0.021154791116714478,
-0.05229778587818146,
0.00950656272470951,
0.004042510408908129,
-0.004533503670245409,
0.0007914341986179352,
0.002246878342702985,
0.05659982189536095,
-0.07530432194471359,
-0.005335459019988775,
0.051549606025218964,
-0.01591753028333187,
-0.02360508032143116,
0.010399702936410904,
-0.004238907713443041,
-0.05933067947626114,
0.027102822437882423,
-0.09464477747678757,
0.017984377220273018,
-0.007897975854575634,
-0.0028103513177484274,
-0.04930506646633148,
0.0156463161110878,
-0.04889356717467308,
0.06797216087579727,
0.035407621413469315,
0.009913385845720768,
-0.003002072451636195,
0.018508104607462883,
0.000049866492190631106,
0.004797704517841339,
0.03916722536087036,
0.010437111370265484,
0.04369371384382248,
0.06569021195173264,
0.004587279167026281,
-0.025456827133893967,
0.01782538928091526,
-0.043020352721214294,
-0.02656039223074913,
0.028150275349617004,
0.009235347621142864,
-0.015103884972631931,
0.020668474957346916,
0.07863372564315796,
0.045414529740810394,
0.01000690832734108,
-0.015889473259449005,
0.023287104442715645,
-0.05843286216259003,
-0.03841904550790787,
-0.01447728369385004,
-0.007430362980812788,
-0.053158193826675415,
0.0518488772213459,
0.03600616380572319,
0.026242416352033615,
0.01532833930104971,
0.009469154290854931,
0.04758425056934357,
-0.008777087554335594,
0.05716095492243767,
0.010091078467667103,
-0.05080142617225647,
0.0031400180887430906,
0.015122589655220509,
-0.04010245203971863,
0.018629683181643486,
-0.02874881774187088,
0.005447686184197664,
0.0005810085567645729,
0.04156140238046646,
-0.0538315549492836,
-0.011980232782661915,
0.05375673621892929,
-0.007215261459350586,
-0.00933354627341032,
-0.03679175302386284,
0.07040373980998993,
0.01511323731392622,
-0.03239619731903076,
0.04593825712800026,
0.04459153115749359,
0.025101440027356148,
0.051250334829092026,
0.003668420249596238,
-0.07249864935874939,
-0.02396046556532383,
-0.058732133358716965,
-0.07608991116285324,
-0.013111855834722519,
-0.0009626973187550902,
-0.027944525703787804,
0.02310005947947502,
-0.08648961782455444,
0.020518837496638298,
0.02347414940595627,
-0.010474520735442638,
-0.07803518325090408,
0.04148658365011215,
-0.009829215705394745,
-0.014683033339679241,
0.04137435555458069,
0.012560072354972363,
0.10152803361415863,
-0.011391041800379753,
-0.02579350769519806,
-0.062098946422338486,
-0.019265636801719666,
-0.07006706297397614,
-0.0008855412597768009,
-0.04346926137804985,
-0.012878049165010452,
0.004514798987656832,
-0.02375471591949463,
0.05237260460853577,
0.02429714798927307,
0.02006993070244789,
-0.02225835621356964,
0.06322121620178223,
-0.0009878315031528473,
0.031386151909828186,
0.04193549230694771,
-0.0562257319688797,
0.039915405213832855,
0.03522057458758354,
0.012990276329219341,
0.03697879984974861,
-0.013224082067608833,
-0.04361889883875847,
0.08087826520204544,
-0.04129954054951668,
-0.021959085017442703,
0.06542834639549255,
0.02128572203218937,
0.016684414818882942,
-0.014813965186476707,
-0.06576502323150635,
-0.020556246861815453,
-0.00436983909457922,
-0.0036941389553248882,
-0.01691822148859501,
-0.06067740172147751,
-0.03875572606921196,
-0.04784611612558365,
0.03860609233379364,
-0.015103884972631931,
0.043992988765239716,
0.010409055277705193,
-0.010755088180303574,
-0.0028734789229929447,
-0.002408204600214958,
0.028580477461218834,
0.022931719198822975,
-0.00361932092346251,
0.05110069736838341,
-0.043581489473581314,
0.0359126441180706,
0.029010681435465813,
-0.032452311366796494,
0.0554027333855629,
0.0009428237681277096,
-0.0965152308344841,
0.01032488513737917,
0.05484159663319588,
0.018826080486178398,
-0.04429225996136665,
-0.047958340495824814,
-0.01032488513737917,
0.0056955209001898766,
-0.00021480950817931443,
-0.026822255924344063,
-0.06030331179499626,
0.011998937465250492,
-0.017628991976380348,
-0.02979627065360546,
0.03673563897609711,
-0.05600127577781677,
0.036249324679374695,
-0.024147510528564453,
-0.0450778491795063,
0.034771669656038284,
-0.0009995218133553863,
0.008215952664613724,
0.04092545062303543,
-0.017928265035152435,
-0.021229609847068787,
0.02614889293909073,
-0.020687177777290344,
-0.035127054899930954,
0.031741537153720856,
0.006172485649585724,
-0.004984749481081963,
-0.0036473777145147324,
0.016226155683398247,
-0.0321156270802021,
-0.020200861617922783,
-0.05472937226295471,
0.015459270216524601,
0.007991498336195946,
0.0288984552025795,
-0.007229289971292019,
0.014243477955460548,
-0.012737765908241272,
-0.02500791847705841,
0.0037105055525898933,
0.021528881043195724,
-0.020836815237998962,
-0.00215920084156096,
0.03725936636328697,
0.05349487438797951,
0.00010243637370876968,
-0.04051395133137703,
0.03192858397960663,
0.048444658517837524,
-0.021248312667012215,
-0.0582084096968174,
0.05454232543706894,
0.003757266793400049,
0.0151506457477808,
-0.018264945596456528,
0.012307561933994293,
-0.10115393996238708,
-0.03757734224200249,
0.0273272767663002,
-0.02319358102977276,
-0.0024596420116722584,
0.01909729652106762,
0.00330368266440928,
-0.000021225225282250904,
-0.036174505949020386,
0.034491099417209625,
0.06131335720419884,
0.02528848499059677,
-0.0442548505961895,
-0.026953186839818954,
-0.010521282441914082,
0.0010468675754964352,
0.01649736985564232,
0.026335937902331352,
0.042085129767656326,
0.015085180290043354,
-0.006719592027366161,
0.019920293241739273,
-0.016600245609879494,
0.01232626661658287,
-0.044217441231012344
] |
719,650
|
ibm_platform_services.iam_access_groups_v2
|
remove_member_from_access_group
|
Delete member from an access group.
Remove one member from a group using this API. If the operation is successful,
only a `204 - No Content` response with no body is returned. However, if any error
occurs, the standard error format will be returned. Dynamic member cannot be
deleted using this API. Dynamic rules needs to be adjusted to delete dynamic
members.
:param str access_group_id: The access group identifier.
:param str iam_id: The IAM identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def remove_member_from_access_group(
self,
access_group_id: str,
iam_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete member from an access group.
Remove one member from a group using this API. If the operation is successful,
only a `204 - No Content` response with no body is returned. However, if any error
occurs, the standard error format will be returned. Dynamic member cannot be
deleted using this API. Dynamic rules needs to be adjusted to delete dynamic
members.
:param str access_group_id: The access group identifier.
:param str iam_id: The IAM identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
if not iam_id:
raise ValueError('iam_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='remove_member_from_access_group',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['access_group_id', 'iam_id']
path_param_values = self.encode_path_vars(access_group_id, iam_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/members/{iam_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, iam_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.006412842310965061,
0.05478088930249214,
0.01726788841187954,
0.0001372682600049302,
-0.0291106179356575,
-0.05417599529027939,
-0.029507581144571304,
0.09670773893594742,
-0.009375886991620064,
-0.006644404027611017,
0.010453358292579651,
0.057843174785375595,
0.034668099135160446,
0.002769289305433631,
-0.03347720950841904,
-0.002128950087353587,
0.002387685002759099,
0.013657416217029095,
-0.0013444757787510753,
-0.04805142059922218,
0.009097067639231682,
0.029885640367865562,
-0.014092185534536839,
0.0013409313978627324,
-0.004475284833461046,
0.025046473369002342,
0.04022558033466339,
0.03587789088487625,
0.00838347990065813,
0.026350779458880424,
0.014158345758914948,
-0.028184371069073677,
-0.026842257007956505,
0.08113166689872742,
-0.030566148459911346,
-0.05568823218345642,
0.0026275168638676405,
0.0049431342631578445,
-0.05746511369943619,
0.028732556849718094,
0.010831418447196484,
0.00519832456484437,
0.025764787569642067,
-0.01644560880959034,
0.007920356467366219,
0.0007395797874778509,
-0.0022423681803047657,
0.04132195562124252,
-0.08150973170995712,
0.0018465867033228278,
-0.028732556849718094,
0.028316691517829895,
-0.01751362718641758,
0.007485587615519762,
0.010141458362340927,
-0.0016528309788554907,
0.026426391676068306,
-0.031076529994606972,
0.058259040117263794,
0.003570303786545992,
-0.0007626178557984531,
0.01792004331946373,
-0.024630606174468994,
-0.0500173345208168,
-0.030736275017261505,
-0.030036864802241325,
-0.06638733297586441,
0.0161904189735651,
-0.02124696969985962,
-0.0038231313228607178,
-0.021719545125961304,
0.02858133427798748,
0.008808797225356102,
-0.03296682983636856,
-0.009210485965013504,
0.03215400129556656,
0.0013232098426669836,
0.018543841317296028,
0.023364106193184853,
-0.0006521534523926675,
0.017201729118824005,
-0.047635555267333984,
0.053533293306827545,
-0.005311742424964905,
0.0120979193598032,
0.005500772502273321,
0.004862796515226364,
-0.06370310485363007,
0.0120979193598032,
-0.05485650151968002,
0.006516808643937111,
-0.027012385427951813,
-0.028449011966586113,
0.015680037438869476,
-0.014980626292526722,
0.010217070579528809,
-0.019942663609981537,
0.013260453008115292,
-0.03411991149187088,
-0.0019103842787444592,
0.024384867399930954,
-0.030036864802241325,
-0.02037743292748928,
0.020490849390625954,
0.03185155242681503,
0.019101480022072792,
0.03763587027788162,
0.0027409347239881754,
0.002681862795725465,
0.010037492029368877,
0.011493023484945297,
-0.013657416217029095,
-0.024781830608844757,
-0.037087682634592056,
0.005727608688175678,
0.0455184206366539,
-0.016587380319833755,
-0.08128289133310318,
-0.024252546951174736,
-0.012475978583097458,
0.04559403285384178,
-0.04030119255185127,
0.02398790419101715,
-0.019867051392793655,
0.03372294828295708,
-0.01068019401282072,
-0.06064081937074661,
0.013846446759998798,
0.07478026300668716,
-0.02960209548473358,
-0.021020134910941124,
-0.035329703241586685,
-0.0036270127166062593,
0.021436000242829323,
-0.005812671966850758,
0.01894080452620983,
0.07534734904766083,
0.014942820183932781,
-0.010755806230008602,
0.009999685920774937,
0.0586371012032032,
0.021171357482671738,
0.007220945321023464,
0.0397719070315361,
-0.010935384780168533,
-0.05746511369943619,
0.009980782866477966,
-0.03788160905241966,
-0.03825967013835907,
-0.018628904595971107,
-0.060224954038858414,
-0.07031915336847305,
0.018146878108382225,
-0.013222647830843925,
-0.012353109195828438,
0.037749286741018295,
-0.009012004360556602,
0.020604267716407776,
-0.0256324652582407,
0.030093573033809662,
-0.009470402263104916,
0.03359062969684601,
-0.05757853388786316,
0.02612394466996193,
0.0021159544121474028,
-0.04411960020661354,
0.112359419465065,
0.04555622488260269,
-0.06147255003452301,
-0.004697395022958517,
-0.03924262523651123,
0.03160581365227699,
-0.01653067208826542,
0.002237642416730523,
-0.002176207723096013,
0.01845877803862095,
0.031189948320388794,
0.039545074105262756,
0.01000913791358471,
-0.04056583344936371,
-0.03359062969684601,
-0.013288808055222034,
0.052588142454624176,
-0.07009232044219971,
0.03137897700071335,
0.015320880338549614,
-0.029639901593327522,
0.06937400251626968,
-0.019980469718575478,
-0.022286634892225266,
0.012655557133257389,
-0.033571723848581314,
-0.004454019013792276,
0.002250638324767351,
0.004574525635689497,
0.020963424816727638,
-0.01755143329501152,
0.01796730048954487,
0.053911350667476654,
-0.0037144392263144255,
-0.028562430292367935,
0.007840018719434738,
0.03213509917259216,
0.03841089457273483,
0.017986202612519264,
-0.000609621696639806,
-0.01309977751225233,
0.018146878108382225,
-0.051038097590208054,
-0.0011223655892536044,
-0.02546233870089054,
-0.010349391959607601,
0.08287074416875839,
0.021700643002986908,
0.006927948910742998,
0.03194606676697731,
-0.0015453201485797763,
0.009347532875835896,
0.03408210724592209,
0.01066129095852375,
0.023156173527240753,
-0.01931886374950409,
0.05648215860128403,
-0.0024266724940389395,
0.012107370421290398,
0.00358211831189692,
-0.009366435930132866,
0.036596205085515976,
-0.04359031468629837,
-0.03211619332432747,
0.06449703127145767,
-0.025065375491976738,
0.05164299160242081,
0.034857127815485,
-0.029942350462079048,
-0.09451499581336975,
0.005770140327513218,
-0.03805173560976982,
0.025197697803378105,
0.013695222325623035,
-0.03264547884464264,
0.016908731311559677,
0.025367824360728264,
0.11651808023452759,
-0.055952876806259155,
0.017485274001955986,
-0.019375573843717575,
0.05096248537302017,
0.02714470587670803,
-0.0157934557646513,
-0.03912920504808426,
-0.006393939256668091,
-0.029658803716301918,
-0.008062128908932209,
0.014054379425942898,
0.005841026548296213,
-0.028070952743291855,
0.025159891694784164,
0.01943228207528591,
0.019772537052631378,
0.009408967569470406,
-0.07311680167913437,
-0.051605187356472015,
-0.03124665655195713,
0.0668409988284111,
0.03423333168029785,
0.03351501747965813,
0.02714470587670803,
0.012164079584181309,
-0.0005573430680669844,
0.03162471577525139,
0.013477837666869164,
0.04162440076470375,
-0.009876816533505917,
-0.07126430422067642,
0.01714501902461052,
-0.009385338984429836,
-0.03394978493452072,
0.00846854317933321,
-0.02633187733590603,
0.01267446018755436,
-0.04653918370604515,
-0.022135410457849503,
0.030169185250997543,
-0.02447938360273838,
0.07466684281826019,
0.039847519248723984,
0.062304284423589706,
-0.03909140080213547,
0.07924137264490128,
0.006077313795685768,
-0.020528655499219894,
-0.08476104587316513,
-0.01697489246726036,
-0.062153059989213943,
0.0026889515575021505,
-0.07073502242565155,
0.009687786921858788,
-0.0035915696062147617,
0.041435372084379196,
-0.04854290187358856,
-0.002714943140745163,
-0.03833528235554695,
-0.0211146492511034,
-0.054478440433740616,
0.0084071084856987,
0.04003655165433884,
0.01771210879087448,
0.03474371135234833,
0.018194135278463364,
-0.0170126985758543,
-0.023439718410372734,
-0.04782458767294884,
-0.03103872388601303,
0.044762302190065384,
0.02086891047656536,
0.0256324652582407,
0.025084279477596283,
0.05050881206989288,
0.03204058110713959,
0.01222078874707222,
-0.055385787039995193,
-0.0060347821563482285,
0.01796730048954487,
0.050433199852705,
-0.04884534701704979,
-0.0293185506016016,
0.06381652504205704,
0.04899657145142555,
0.0062663438729941845,
0.00407832209020853,
-0.008879683911800385,
0.03451687470078468,
-0.004444567486643791,
0.016672445461153984,
-0.0246117040514946,
-0.01574619859457016,
-0.042645163834095,
0.019659118726849556,
0.02353423275053501,
-0.04400618001818657,
0.047181885689496994,
0.026067234575748444,
0.016785861924290657,
-0.003801865503191948,
0.012513784691691399,
0.06237989664077759,
-0.036558400839567184,
0.009933525696396828,
0.03878895193338394,
0.0016150249866768718,
0.07360827922821045,
0.04245613515377045,
0.004302795045077801,
0.005888284184038639,
0.00250701024197042,
0.026634324342012405,
0.054894305765628815,
-0.041397567838430405,
-0.024044614285230637,
0.003818405792117119,
-0.05262594670057297,
0.01967802084982395,
-0.02735263854265213,
0.018751773983240128,
-0.05481869727373123,
-0.0910368412733078,
-0.037787094712257385,
0.0254245325922966,
-0.009668883867561817,
0.013496740721166134,
-0.0246117040514946,
0.003924734890460968,
0.009933525696396828,
0.020490849390625954,
0.03204058110713959,
0.02451718971133232,
-0.0033292905427515507,
-0.013496740721166134,
-0.02619955502450466,
0.006530986167490482,
-0.025027569383382797,
-0.017731012776494026,
0.04022558033466339,
0.00830786768347025,
0.044270820915699005,
0.03510286659002304,
0.011341799050569534,
-0.026010526344180107,
0.03612362965941429,
0.01669134758412838,
-0.04393056780099869,
-0.004064144566655159,
-0.008931666612625122,
-0.05901516228914261,
-0.04200246185064316,
-0.04400618001818657,
-0.015632780268788338,
-0.0463501513004303,
0.028713654726743698,
-0.017853882163763046,
0.06237989664077759,
-0.0766705647110939,
0.00273148319683969,
0.035254091024398804,
0.007362717762589455,
0.020074984058737755,
-0.017475822940468788,
-0.020566461607813835,
-0.00877571664750576,
0.059355415403842926,
0.011152769438922405,
-0.011937243863940239,
0.022778112441301346,
0.03916701301932335,
0.049147795885801315,
-0.03440345823764801,
0.03251315653324127,
-0.025065375491976738,
-0.04079267010092735,
0.051605187356472015,
0.0021384016145020723,
-0.03958287835121155,
-0.05746511369943619,
0.0029961252585053444,
-0.0701301246881485,
0.019526798278093338,
-0.00844964012503624,
-0.002156123286113143,
-0.03136007487773895,
0.00023097101075109094,
-0.0037900512106716633,
-0.06098107248544693,
0.019044771790504456,
-0.019214898347854614,
0.026029428467154503,
-0.060754235833883286,
0.008926941081881523,
0.04132195562124252,
0.04695504903793335,
0.025689175352454185,
-0.023515330627560616,
-0.026426391676068306,
-0.046728212386369705,
-0.06858007609844208,
0.04646357148885727,
0.03255096450448036,
-0.008005419746041298,
0.06098107248544693,
-0.01632273942232132,
0.11288870871067047,
0.05145396292209625,
0.06268234550952911,
-0.022078702226281166,
-0.03506506234407425,
-0.06820201873779297,
0.007027189712971449,
-0.018543841317296028,
-0.0178349781781435,
-0.03160581365227699,
-0.006403390783816576,
-0.0033103874884545803,
-0.05750292167067528,
0.008416560478508472,
0.0036293757148087025,
0.06154816225171089,
0.08029993623495102,
0.013326614163815975,
-0.015935227274894714,
-0.010141458362340927,
-0.0019411016255617142,
-0.07909014821052551,
-0.023099463433027267,
0.05315523222088814,
-0.009725593030452728,
0.04098169878125191,
-0.03440345823764801,
-0.002998488023877144,
-0.01792004331946373,
0.0545540526509285,
0.05421379953622818,
-0.018061814829707146,
0.04343909025192261,
0.0010361205786466599,
-0.0211146492511034,
-0.041397567838430405,
0.04215368628501892,
0.028940491378307343,
-0.04033900052309036,
-0.08362686634063721,
0.027050191536545753,
-0.021190261468291283,
-0.0012003404553979635,
-0.01861000247299671,
0.026728840544819832,
-0.035083964467048645,
-0.0034734259825199842,
-0.004588702693581581,
0.0157934557646513,
-0.068088598549366,
-0.017201729118824005,
0.05791878700256348,
-0.007570650894194841,
-0.06007372960448265,
0.05326864868402481,
-0.02247566543519497,
0.009035632945597172,
-0.026218459010124207,
-0.012513784691691399,
-0.03502725437283516,
-0.0516807995736599,
0.036596205085515976,
-0.030849693343043327,
0.03079298511147499,
-0.021587224677205086,
0.025481242686510086,
-0.057351697236299515,
0.04268297180533409,
0.04566964507102966,
-0.03958287835121155,
0.05122712627053261,
-0.005425160750746727,
-0.07856085896492004,
-0.015812357887625694,
0.0029961252585053444,
-0.04548061266541481,
-0.03697426617145538,
-0.006408116314560175,
0.010973190888762474,
-0.028184371069073677,
0.0035915696062147617,
0.01677641086280346,
-0.04275858402252197,
-0.044308628886938095,
0.005746511742472649,
-0.023609844967722893,
-0.0610944926738739,
-0.011398508213460445,
-0.06283356994390488,
0.037333421409130096,
0.012901296839118004,
-0.03667181730270386,
-0.0512649305164814,
-0.023931195959448814,
-0.08105605840682983,
0.018562745302915573,
0.019451186060905457,
0.04098169878125191,
0.046236734837293625,
0.057880982756614685,
0.02251347154378891,
-0.015330331400036812,
0.008525252342224121,
0.044800106436014175,
0.029866738244891167,
0.0762546956539154,
-0.06453483551740646,
-0.02075549215078354,
0.019006965681910515,
-0.015160204842686653,
-0.02984783425927162,
0.02296714298427105,
0.09580039978027344,
-0.005831575021147728,
0.004853344988077879,
0.07893892377614975,
0.00647900253534317,
0.0038514859043061733,
0.01037774607539177,
-0.015594974160194397,
-0.06449703127145767,
-0.04124634340405464,
-0.03846760094165802,
0.0028968844562768936,
-0.07103747129440308,
0.053533293306827545,
0.025651369243860245,
0.014092185534536839,
0.0647616758942604,
-0.023817777633666992,
0.026728840544819832,
-0.006408116314560175,
0.06820201873779297,
0.0254245325922966,
-0.04903437942266464,
0.04415740445256233,
-0.0030741000082343817,
-0.044762302190065384,
0.02875146083533764,
0.017286792397499084,
-0.024460479617118835,
-0.055007725954055786,
0.05568823218345642,
-0.02567027136683464,
-0.04014996811747551,
0.053986962884664536,
-0.0032135096844285727,
0.01902586780488491,
-0.004177562426775694,
0.0105573246255517,
0.041813433170318604,
-0.018770677968859673,
0.05515895038843155,
0.014772693626582623,
-0.005184147506952286,
0.10502506047487259,
-0.03739013150334358,
-0.07402414083480835,
-0.008752088062465191,
-0.0475599430501461,
-0.06729467213153839,
-0.028883781284093857,
-0.021662836894392967,
0.01869506575167179,
-0.010878675617277622,
-0.055877264589071274,
0.01792004331946373,
0.024819636717438698,
0.009063987992703915,
-0.05315523222088814,
-0.017447467893362045,
-0.024328159168362617,
-0.043854955583810806,
0.0340253971517086,
-0.01455530896782875,
0.05175640806555748,
0.026105040684342384,
0.0254245325922966,
-0.028033146634697914,
0.03054724633693695,
-0.07069721072912216,
-0.006483728531748056,
-0.06510192900896072,
-0.013165938667953014,
0.022078702226281166,
-0.029961252585053444,
0.045820869505405426,
0.005666173994541168,
0.004314609337598085,
0.023609844967722893,
0.06619830429553986,
-0.011313444934785366,
0.006658581085503101,
0.056860219687223434,
-0.0459342859685421,
0.071339912712574,
0.02275921031832695,
0.03137897700071335,
0.043854955583810806,
-0.023099463433027267,
-0.014347375370562077,
0.07939259707927704,
-0.02858133427798748,
-0.07984626293182373,
0.013411677442491055,
-0.03653949499130249,
-0.03576447442173958,
0.060754235833883286,
-0.07459123432636261,
-0.008832425810396671,
0.02338300831615925,
-0.01414889469742775,
-0.0055244010873138905,
-0.046274539083242416,
0.015235817059874535,
-0.03653949499130249,
0.022740306332707405,
-0.0014460793463513255,
0.037673674523830414,
0.01943228207528591,
-0.0203018207103014,
0.01242872141301632,
-0.0011873445473611355,
0.027087997645139694,
-0.004770644009113312,
-0.03304244205355644,
0.05697363615036011,
-0.03429003804922104,
-0.010973190888762474,
0.07251190394163132,
0.024290353059768677,
0.046236734837293625,
0.02861914038658142,
-0.03345830738544464,
0.034422360360622406,
0.025651369243860245,
0.002408950822427869,
-0.024838540703058243,
-0.022211022675037384,
-0.0015677674673497677,
-0.005878832656890154,
-0.042304910719394684,
-0.03928042948246002,
-0.039469461888074875,
0.034838225692510605,
0.009782301262021065,
-0.0293185506016016,
0.0025211875326931477,
-0.06532876193523407,
0.057843174785375595,
-0.022532373666763306,
-0.028108758851885796,
0.007447781506925821,
0.009668883867561817,
-0.001754434546455741,
0.05262594670057297,
0.0003736295911949128,
0.009645255282521248,
0.050055138766765594,
-0.05655777081847191,
0.014082733541727066,
0.0161904189735651,
0.0015205099480226636,
0.009678334929049015,
0.049639273434877396,
0.025859301909804344,
-0.04684162884950638,
-0.004891150631010532,
-0.005949718877673149,
0.010075298137962818,
0.024460479617118835,
-0.005188873037695885,
-0.0067152902483940125,
0.029431968927383423,
-0.05844807252287865,
-0.044724494218826294,
-0.040906090289354324,
0.011937243863940239,
0.0012617751490324736,
0.027333736419677734,
0.034838225692510605,
0.0799974873661995,
-0.007783309556543827,
-0.05723828077316284,
0.0200938880443573,
-0.01906367391347885,
-0.04075486585497856,
-0.03253205865621567,
0.061170101165771484,
0.008832425810396671,
-0.004420938901603222,
0.009333355352282524,
0.0252165999263525,
-0.060754235833883286,
-0.02234334498643875,
0.04895876720547676,
-0.007315460592508316,
-0.002177389105781913,
0.026539810001850128,
-0.01809016987681389,
0.00731073459610343,
-0.03551873564720154,
-0.026048332452774048,
0.04680382460355759,
0.05315523222088814,
-0.03695536032319069,
-0.051529575139284134,
0.009867365472018719,
-0.019791439175605774,
-0.04083047807216644,
-0.005841026548296213,
0.015462652780115604,
-0.003950726706534624,
-0.06419458240270615,
0.004338237922638655,
0.03822186216711998,
0.0039223721250891685,
0.023193979635834694
] |
719,651
|
ibm_platform_services.iam_access_groups_v2
|
remove_member_from_all_access_groups
|
Delete member from all access groups.
This API removes a given member from every group they are a member of within the
specified account. By using one operation, you can revoke one member's access to
all access groups in the account. If a partial failure occurs on deletion, the
response will be shown in the body.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str iam_id: The IAM identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `DeleteFromAllGroupsResponse` object
|
def remove_member_from_all_access_groups(
self,
account_id: str,
iam_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete member from all access groups.
This API removes a given member from every group they are a member of within the
specified account. By using one operation, you can revoke one member's access to
all access groups in the account. If a partial failure occurs on deletion, the
response will be shown in the body.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str iam_id: The IAM identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `DeleteFromAllGroupsResponse` object
"""
if not account_id:
raise ValueError('account_id must be provided')
if not iam_id:
raise ValueError('iam_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='remove_member_from_all_access_groups',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['iam_id']
path_param_values = self.encode_path_vars(iam_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/_allgroups/members/{iam_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, iam_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.037573881447315216,
0.03030523844063282,
-0.00450684642419219,
-0.02401728555560112,
-0.04914986714720726,
-0.06653307378292084,
-0.03851611167192459,
0.019546493887901306,
0.007345559075474739,
0.014921868219971657,
0.03109363652765751,
0.019238825887441635,
0.048457615077495575,
0.0037472927942872047,
-0.052841875702142715,
-0.03476641699671745,
-0.010441462509334087,
0.023921139538288116,
0.011864423751831055,
-0.05495708808302879,
0.002410862362012267,
0.03686239942908287,
-0.005773570854216814,
0.015104546211659908,
0.009475193917751312,
0.029363006353378296,
0.048996031284332275,
0.01688324846327305,
0.025190267711877823,
0.04645777493715286,
0.003093499457463622,
-0.02205590531229973,
0.007210954558104277,
0.05488017201423645,
-0.07099425047636032,
-0.08499311655759811,
0.0223635733127594,
-0.0018423988949507475,
-0.04226580634713173,
0.052264999598264694,
0.025324871763586998,
-0.005014017224311829,
0.027228564023971558,
-0.020959841087460518,
0.03334345296025276,
-0.028613068163394928,
0.02097907103598118,
0.04495789855718613,
-0.07622459530830383,
0.010056877508759499,
-0.053649500012397766,
0.0015611716080456972,
0.005787992849946022,
0.01992146298289299,
0.0327858068048954,
0.01804661564528942,
-0.01403732504695654,
-0.04826532304286957,
0.08130110800266266,
-0.017815865576267242,
0.01051837857812643,
0.003365112002938986,
-0.015258380211889744,
-0.07118654251098633,
-0.019979150965809822,
-0.02868998423218727,
-0.061033520847558975,
0.007590731605887413,
-0.039996761828660965,
0.0018532152753323317,
-0.04261193424463272,
0.012402841821312904,
0.012460529804229736,
-0.030939802527427673,
-0.03528560325503349,
0.04618856683373451,
0.004720771685242653,
0.04507327452301979,
0.00371604529209435,
0.019979150965809822,
0.0003848847118206322,
-0.046034734696149826,
0.03061290644109249,
0.02870921418070793,
0.0015323278494179249,
0.003636724781244993,
-0.016469819471240044,
-0.05288033187389374,
0.01988300494849682,
-0.05534167215228081,
-0.0023291383404284716,
-0.023075055330991745,
-0.016556352376937866,
-0.008412780240178108,
-0.008518541231751442,
0.014537284150719643,
-0.03488178923726082,
0.0185465756803751,
-0.048996031284332275,
-0.007379210088402033,
-0.017027467489242554,
-0.04991903528571129,
-0.011912496760487556,
-0.010508764535188675,
0.04118897393345833,
-0.001623666612431407,
0.006355254445225,
-0.025478705763816833,
0.04345801845192909,
0.04003521800041199,
-0.047919195145368576,
0.01887347176671028,
0.028786130249500275,
-0.04684235900640488,
0.0034588545095175505,
0.023517325520515442,
-0.019565723836421967,
-0.0894542932510376,
-0.034574124962091446,
-0.023632701486349106,
0.03680471330881119,
-0.009970346465706825,
0.08207027614116669,
-0.027401627972722054,
0.04045826196670532,
0.04411181062459946,
-0.070763498544693,
0.020863695070147514,
0.033170390874147415,
-0.029074568301439285,
-0.017085155472159386,
-0.008095498196780682,
0.0011243079788982868,
0.013441218994557858,
0.06314872950315475,
-0.001266724313609302,
0.07064812630414963,
0.027074730023741722,
0.010066492483019829,
0.029343778267502785,
0.04618856683373451,
0.018911929801106453,
0.037516191601753235,
0.03309347480535507,
0.015239150263369083,
-0.043573394417762756,
0.029862966388463974,
-0.06618694961071014,
-0.0628795251250267,
-0.045996274799108505,
-0.03822767361998558,
-0.04049672186374664,
-0.015191077254712582,
-0.023555785417556763,
-0.06399481743574142,
0.05018824338912964,
-0.010845275595784187,
0.03401647508144379,
-0.018911929801106453,
0.02728625200688839,
-0.05380333587527275,
0.05049591138958931,
-0.06437940150499344,
-0.005172658246010542,
-0.02213282324373722,
-0.05457250401377678,
0.04076592996716499,
0.04941907525062561,
-0.059649016708135605,
-0.019825316965579987,
-0.05737996846437454,
0.02978605031967163,
-0.006095660384744406,
-0.017863938584923744,
-0.019565723836421967,
0.013806574046611786,
0.01963302493095398,
0.006239879410713911,
0.006307181436568499,
-0.02753623202443123,
-0.03686239942908287,
-0.0286515261977911,
0.06134118512272835,
-0.0725710466504097,
0.038054611533880234,
0.013008561916649342,
-0.038112297654151917,
0.06068739295005798,
-0.06345640122890472,
-0.04945753514766693,
-0.0011231062235310674,
-0.0322473868727684,
-0.01799854263663292,
0.013768116012215614,
-0.011258703656494617,
0.0019097011536359787,
-0.013970023021101952,
-0.0004266481555532664,
0.06691765785217285,
-0.012623977847397327,
-0.047880738973617554,
-0.001277540810406208,
0.06549469381570816,
0.03168974071741104,
0.00807146169245243,
0.005624544341117144,
-0.03059367649257183,
-0.03797769546508789,
-0.03026678040623665,
-0.003386744996532798,
0.0007565492996945977,
-0.010922192595899105,
0.05626467615365982,
0.014912254177033901,
0.00039510021451860666,
0.04907294735312462,
0.017546655610203743,
-0.006167769897729158,
0.026363249868154526,
0.0002486277080606669,
0.017267832532525063,
-0.03228584676980972,
0.00565338833257556,
-0.02294044941663742,
0.0018399952678009868,
0.027170876041054726,
0.016267914324998856,
0.02815156616270542,
-0.007379210088402033,
-0.0007277054828591645,
0.04780382290482521,
-0.04261193424463272,
0.04349647834897041,
0.0267670638859272,
-0.039419885724782944,
-0.07026354223489761,
0.011806735768914223,
-0.06480244547128677,
0.03167051076889038,
0.0059514413587749004,
-0.044073354452848434,
0.019517650827765465,
0.01908499374985695,
0.08591611683368683,
-0.02240203134715557,
-0.0012787425657734275,
-0.0420350581407547,
0.07045583426952362,
0.008744483813643456,
-0.027209335938096046,
-0.05153428763151169,
-0.027420856058597565,
-0.014402680099010468,
-0.020690632984042168,
-0.0031872419640421867,
-0.058841388672590256,
-0.057226136326789856,
0.03220893070101738,
0.027978504076600075,
0.0242480356246233,
0.023940369486808777,
-0.06810986995697021,
-0.053380291908979416,
-0.009989575482904911,
0.07953201979398727,
0.05657234042882919,
0.014008481055498123,
0.03309347480535507,
0.046765442937612534,
0.006735031493008137,
0.02645939588546753,
-0.002884381916373968,
0.0567646324634552,
-0.02124827913939953,
-0.06061047688126564,
0.03230507671833038,
-0.006840792018920183,
-0.04888065531849861,
-0.03157436475157738,
-0.026344019919633865,
0.029901424422860146,
-0.041304346174001694,
-0.03543943911790848,
-0.005845680367201567,
-0.0037953658029437065,
0.033151160925626755,
0.024671079590916634,
0.036939315497875214,
-0.05068820342421532,
0.05968747287988663,
0.00018958801229018718,
-0.009705944918096066,
-0.09499230980873108,
-0.03357420489192009,
-0.06834062188863754,
-0.015306453220546246,
-0.06741761416196823,
-0.0463424026966095,
0.007672455627471209,
0.0006297567160800099,
-0.041342806071043015,
0.008542577736079693,
-0.04411181062459946,
-0.05591854825615883,
-0.03574710339307785,
0.008456045761704445,
0.023882681503891945,
0.042458098381757736,
0.033151160925626755,
0.027420856058597565,
-0.0019337376579642296,
-0.025247955694794655,
-0.024074973538517952,
-0.03991984575986862,
0.04661161080002785,
-0.0002086669992422685,
0.06061047688126564,
0.012902800925076008,
0.03953526169061661,
0.03518945723772049,
-0.007984930649399757,
0.013229697942733765,
0.013835418038070202,
0.011950955726206303,
0.07057120651006699,
-0.04499635472893715,
0.01011456549167633,
0.06630232185125351,
0.026901667937636375,
-0.01229708082973957,
0.022209739312529564,
-0.014344992116093636,
0.010191482491791248,
-0.01367196999490261,
-0.03270889073610306,
-0.023651931434869766,
-0.015527588315308094,
0.0034973130095750093,
0.02097907103598118,
-0.0024757611099630594,
-0.03299732878804207,
0.04584244266152382,
0.05195733159780502,
0.0317089706659317,
-0.016219839453697205,
0.019979150965809822,
0.061571937054395676,
-0.005374564789235592,
-0.010883733630180359,
0.026113269850611687,
0.0185946486890316,
0.041381265968084335,
0.0727633386850357,
0.045727066695690155,
-0.0045693414285779,
0.00859545823186636,
0.017258217558264732,
0.061571937054395676,
-0.018402356654405594,
-0.04772690311074257,
-0.014239231124520302,
-0.04691927880048752,
-0.0019133066525682807,
-0.040419802069664,
0.008975234813988209,
-0.05376487597823143,
-0.022036677226424217,
-0.0366508774459362,
0.03138207271695137,
-0.009705944918096066,
0.025863289833068848,
-0.01640251837670803,
0.005744727328419685,
0.01662365347146988,
0.00967710092663765,
0.054726336151361465,
0.02507489174604416,
-0.011970184743404388,
-0.030747510492801666,
0.004965944215655327,
0.03684316948056221,
-0.042996518313884735,
0.033708807080984116,
0.02780544012784958,
0.028766902163624763,
-0.0018856646493077278,
0.05161120370030403,
0.01527760922908783,
-0.03167051076889038,
0.02732471004128456,
0.0030141789466142654,
-0.026959355920553207,
-0.01094142161309719,
-0.0008593054371885955,
-0.07291717082262039,
-0.02978605031967163,
-0.007456127088516951,
-0.003915548324584961,
-0.055264756083488464,
0.009518460370600224,
0.018700407817959785,
0.02101752907037735,
-0.01578718237578869,
-0.015912173315882683,
0.040804386138916016,
0.020806007087230682,
-0.004415507894009352,
-0.04668852686882019,
-0.00789839867502451,
0.01723898947238922,
0.08237794786691666,
0.05261112377047539,
0.00000184029568117694,
0.026113269850611687,
0.017027467489242554,
0.05457250401377678,
-0.040304429829120636,
0.04111205413937569,
-0.0010960650397464633,
-0.02620941586792469,
0.04445793852210045,
0.0013532558223232627,
-0.0327858068048954,
-0.004415507894009352,
0.029305318370461464,
-0.05595700815320015,
0.049265243113040924,
-0.002204148331657052,
-0.007196532562375069,
-0.03130515664815903,
0.007797445636242628,
-0.017815865576267242,
-0.0873006209731102,
-0.013806574046611786,
-0.022863533347845078,
0.054726336151361465,
-0.0634179413318634,
0.013729657046496868,
0.040265969932079315,
0.08099344372749329,
0.0013556594494730234,
-0.004970751237124205,
-0.011989413760602474,
-0.052034247666597366,
-0.03742004558444023,
0.019056148827075958,
0.034208767116069794,
-0.0019962326623499393,
0.04284268617630005,
-0.009465579874813557,
0.08499311655759811,
0.04118897393345833,
0.052534207701683044,
-0.04207351431250572,
-0.031843576580286026,
-0.04015059396624565,
0.04011213779449463,
-0.003307424485683441,
-0.01722937449812889,
-0.014585357159376144,
0.03678548336029053,
-0.009590569883584976,
-0.014479597099125385,
0.029305318370461464,
0.03740081563591957,
0.018700407817959785,
0.04176585003733635,
0.01883501373231411,
0.008994463831186295,
0.0034035705029964447,
0.012797040864825249,
-0.02590174786746502,
-0.025747915729880333,
0.0556877963244915,
-0.01936381682753563,
0.020094526931643486,
-0.03638166934251785,
-0.0185946486890316,
-0.046534694731235504,
0.04372722655534744,
0.03467027097940445,
-0.015364140272140503,
0.07187879830598831,
-0.011585600674152374,
0.010691441595554352,
-0.07145575433969498,
0.0484960712492466,
0.016296757385134697,
-0.04780382290482521,
-0.09945348650217056,
-0.027959274128079414,
-0.04072747007012367,
-0.014643045142292976,
-0.01691209152340889,
0.02401728555560112,
-0.02376730553805828,
-0.020306047052145004,
0.004456369671970606,
-0.0091386828571558,
-0.04661161080002785,
0.02457493357360363,
0.022209739312529564,
-0.027728524059057236,
-0.05453404411673546,
0.04476560652256012,
0.0037641183007508516,
0.01254706084728241,
-0.052572667598724365,
-0.007566695101559162,
-0.0436503104865551,
-0.05564934015274048,
0.008239717222750187,
-0.051765039563179016,
0.0007481365464627743,
-0.01307586394250393,
0.0024264862295240164,
-0.06853291392326355,
0.018758095800876617,
0.048419155180454254,
-0.013047019951045513,
0.019152294844388962,
0.005696653854101896,
-0.08337786048650742,
0.05053436756134033,
0.010787587612867355,
-0.018123531714081764,
-0.009782861918210983,
0.003792962059378624,
-0.0031055177096277475,
-0.0508420355618,
0.011277932673692703,
-0.0018880682764574885,
-0.01799854263663292,
-0.023613471537828445,
-0.009249251335859299,
-0.03438183292746544,
-0.05322645977139473,
-0.039189133793115616,
-0.044880982488393784,
0.045457858592271805,
0.019825316965579987,
-0.03336268290877342,
-0.04780382290482521,
-0.042419642210006714,
-0.0862237885594368,
-0.0028435196727514267,
-0.012614362873136997,
0.05003441125154495,
0.04145818203687668,
0.08530078828334808,
0.023267347365617752,
-0.03597785532474518,
0.00845123827457428,
0.04530402272939682,
0.029978342354297638,
0.023094283416867256,
-0.05834142863750458,
-0.028209254145622253,
0.01637367345392704,
-0.022767387330532074,
-0.0059514413587749004,
0.024151889607310295,
0.08276253193616867,
-0.012364383786916733,
0.0034348180051892996,
0.07991660386323929,
0.016306372359395027,
0.04180430620908737,
-0.0010738313430920243,
0.014220002107322216,
-0.06791757792234421,
-0.006119696889072657,
-0.045419398695230484,
-0.03901607170701027,
-0.07057120651006699,
0.0370931513607502,
0.00006384699372574687,
-0.025171037763357162,
0.04730386286973953,
-0.05518784001469612,
0.02536332979798317,
-0.023017367348074913,
0.033170390874147415,
-0.0028290979098528624,
0.008254139684140682,
0.06164885312318802,
-0.007970508188009262,
-0.022767387330532074,
0.05261112377047539,
0.040535178035497665,
-0.017412051558494568,
-0.03026678040623665,
0.07064812630414963,
0.0002866354479920119,
-0.04338110238313675,
0.05276495963335037,
0.013421989977359772,
-0.009186755865812302,
-0.04391951858997345,
-0.008898317813873291,
0.050611287355422974,
-0.010960650630295277,
0.0733017548918724,
0.009595376439392567,
0.007672455627471209,
0.10099182277917862,
-0.031516678631305695,
-0.056110840290784836,
0.0026295946445316076,
-0.0111817866563797,
-0.06903287023305893,
-0.032343532890081406,
0.0327858068048954,
0.00914829783141613,
-0.01668134145438671,
-0.041342806071043015,
0.020132984966039658,
0.026882437989115715,
0.051457371562719345,
-0.0264978539198637,
0.021652093157172203,
-0.03486256301403046,
-0.057226136326789856,
0.06345640122890472,
-0.03401647508144379,
0.052534207701683044,
0.01420077309012413,
0.04830377921462059,
-0.03417031094431877,
0.05326491594314575,
-0.06541778147220612,
-0.011335620656609535,
-0.06107197701931,
0.006917709019035101,
0.03197817876935005,
-0.025190267711877823,
0.014133471064269543,
0.006340832449495792,
-0.00994150247424841,
-0.013345072977244854,
0.04426564648747444,
-0.002848326927050948,
0.0006009128992445767,
0.0765322670340538,
-0.04449639841914177,
0.046034734696149826,
-0.032843492925167084,
0.021729009225964546,
0.054187919944524765,
-0.042188890278339386,
-0.018344668671488762,
0.10552991926670074,
-0.054149460047483444,
-0.052495747804641724,
-0.017940854653716087,
0.003569422522559762,
-0.09653064608573914,
0.07107117027044296,
-0.06299489736557007,
-0.0029444731771945953,
0.0519188717007637,
0.00689367251470685,
0.0026656496338546276,
-0.03882377967238426,
0.003155994461849332,
-0.061033520847558975,
0.017787020653486252,
0.00903292279690504,
0.04388106241822243,
0.019729170948266983,
-0.006908094510436058,
0.029401464387774467,
0.012854727916419506,
0.03349728882312775,
-0.002128433436155319,
0.019190752878785133,
0.03634320944547653,
-0.02399805746972561,
-0.013421989977359772,
0.06649461388587952,
0.019469577819108963,
0.0474192351102829,
0.02813233807682991,
-0.029978342354297638,
0.04099668189883232,
0.01578718237578869,
0.007172496058046818,
-0.0004828335077036172,
-0.027978504076600075,
0.010056877508759499,
-0.013123936951160431,
-0.02205590531229973,
-0.015921788290143013,
-0.01242207083851099,
0.06672536581754684,
0.04618856683373451,
-0.036997005343437195,
-0.01774856261909008,
-0.018373511731624603,
0.041035138070583344,
-0.008566614240407944,
-0.04018905386328697,
0.01172981970012188,
0.03299732878804207,
0.036458585411310196,
0.047380778938531876,
0.0058937533758580685,
0.010624139569699764,
0.008816593326628208,
-0.03613169118762016,
0.02565176971256733,
0.03193972259759903,
-0.02728625200688839,
0.020536798983812332,
0.03553558513522148,
0.024382641538977623,
0.008085883222520351,
-0.03674702346324921,
0.01969071291387081,
0.0010293637169525027,
0.02405574358999729,
-0.01147983968257904,
0.0011940138647332788,
0.023325033485889435,
-0.03653550148010254,
-0.04972674325108528,
-0.04076592996716499,
0.02951684035360813,
0.01200864277780056,
0.022575095295906067,
0.047380778938531876,
0.061841145157814026,
-0.013633511029183865,
-0.027420856058597565,
0.028747672215104103,
-0.03203586861491203,
-0.020094526931643486,
-0.0353817492723465,
0.01229708082973957,
0.005980284884572029,
0.029824508354067802,
-0.016450591385364532,
0.020863695070147514,
-0.03628552332520485,
-0.047111570835113525,
0.015392984263598919,
0.023651931434869766,
0.018229292705655098,
0.025036433711647987,
-0.03293963894248009,
0.006033165380358696,
-0.0032184894662350416,
-0.02430572360754013,
0.04038134589791298,
0.0659177377820015,
0.0028723636642098427,
-0.028209254145622253,
0.02072909101843834,
-0.02619018591940403,
-0.020632945001125336,
-0.00901369284838438,
0.03392032906413078,
-0.0026368056423962116,
-0.022536637261509895,
0.0087348697707057,
0.02836308814585209,
0.012162476778030396,
0.010701056569814682
] |
719,652
|
ibm_platform_services.iam_access_groups_v2
|
remove_members_from_access_group
|
Delete members from an access group.
Remove multiple members from a group using this API. On a successful call, this
API will always return 207. It is the caller's responsibility to iterate across
the body to determine successful deletion of each member. This API request payload
can delete up to 50 members per call. This API doesnt delete dynamic members
accessing the access group via dynamic rules.
:param str access_group_id: The access group identifier.
:param List[str] members: (optional) The `iam_id`s to remove from the
access group. This field has a limit of 50 `iam_id`s.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `DeleteGroupBulkMembersResponse` object
|
def remove_members_from_access_group(
self,
access_group_id: str,
*,
members: List[str] = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete members from an access group.
Remove multiple members from a group using this API. On a successful call, this
API will always return 207. It is the caller's responsibility to iterate across
the body to determine successful deletion of each member. This API request payload
can delete up to 50 members per call. This API doesnt delete dynamic members
accessing the access group via dynamic rules.
:param str access_group_id: The access group identifier.
:param List[str] members: (optional) The `iam_id`s to remove from the
access group. This field has a limit of 50 `iam_id`s.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `DeleteGroupBulkMembersResponse` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='remove_members_from_access_group',
)
headers.update(sdk_headers)
data = {
'members': members,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id']
path_param_values = self.encode_path_vars(access_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/members/delete'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, *, members: Optional[List[str]] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.02149752900004387,
0.02986607514321804,
-0.013535131700336933,
-0.025181200355291367,
-0.04605533927679062,
-0.042503900825977325,
-0.037970151752233505,
0.09755117446184158,
0.02686246670782566,
-0.0006576298037543893,
0.017879974097013474,
0.05244037136435509,
0.061772339046001434,
0.002474671695381403,
-0.0189095139503479,
-0.006215014960616827,
-0.01282673329114914,
-0.012439475394785404,
0.01922120898962021,
-0.04310840368270874,
-0.00738151092082262,
0.03207627683877945,
-0.0011570507194846869,
-0.0024368902668356895,
-0.008354377932846546,
0.04443074390292168,
0.05202477425336838,
0.016538741067051888,
0.02382107637822628,
0.03895246610045433,
0.01078654546290636,
0.006375585217028856,
-0.04121933877468109,
0.06687280535697937,
-0.011466608382761478,
-0.07065092772245407,
0.027674762532114983,
0.009492537938058376,
-0.06260352581739426,
0.028279263526201248,
0.00870857760310173,
-0.0019173981854692101,
0.02877041883766651,
-0.009501983411610126,
0.006890354678034782,
0.0033223882783204317,
-0.025388997048139572,
0.06377474218606949,
-0.06759064644575119,
-0.015055826865136623,
-0.009610604494810104,
0.02383996546268463,
-0.01248670183122158,
0.023216575384140015,
0.020628560334444046,
0.012231678701937199,
0.00587026122957468,
-0.0032161285635083914,
0.058372024446725845,
0.0005788204725831747,
0.026371309533715248,
0.011079350486397743,
0.011617733165621758,
-0.03579773008823395,
-0.02563457563519478,
-0.007863221690058708,
-0.04461965337395668,
-0.007202050182968378,
-0.03430537134408951,
0.006734507158398628,
-0.025842372328042984,
0.04639536887407303,
-0.026163512840867043,
-0.013884607702493668,
-0.003721452783793211,
0.05262927711009979,
-0.013185654766857624,
0.05852315202355385,
0.011391045525670052,
-0.007919893600046635,
0.018975630402565002,
-0.04307062178850174,
0.05353602394461632,
0.010814881883561611,
0.048133306205272675,
-0.006470038555562496,
-0.020250748842954636,
-0.04242834076285362,
0.023651059716939926,
-0.04790661856532097,
0.0012184451334178448,
-0.0027344177942723036,
-0.03502321615815163,
-0.007244553882628679,
-0.00811352301388979,
-0.0028312320355325937,
-0.01964624784886837,
0.019419560208916664,
-0.06853517889976501,
-0.01588701456785202,
0.013516240753233433,
-0.06373696029186249,
-0.005634128116071224,
-0.005818312056362629,
0.02348104491829872,
-0.018626153469085693,
0.029167121276259422,
-0.013894053176045418,
-0.007216217927634716,
0.028638184070587158,
-0.0009734574123285711,
-0.033058591187000275,
0.03848019987344742,
-0.034210916608572006,
0.00155847636051476,
0.03507988527417183,
-0.005591624416410923,
-0.09233736246824265,
-0.024425575509667397,
-0.014394654892385006,
0.03483431041240692,
-0.035344354808330536,
0.04692430794239044,
0.008935264311730862,
0.03666669875383377,
0.017879974097013474,
-0.05368715152144432,
0.013950725086033344,
0.07881168276071548,
-0.020231857895851135,
-0.034569840878248215,
-0.02909155935049057,
-0.022479841485619545,
0.01773829571902752,
0.026597997173666954,
-0.015972021967172623,
0.02495451271533966,
0.024331122636795044,
0.0265035443007946,
-0.001306994934566319,
0.02720249630510807,
0.010928225703537464,
0.03183069825172424,
0.033474184572696686,
-0.0016257741954177618,
-0.039896994829177856,
0.035703279078006744,
-0.04824665188789368,
-0.03925471380352974,
-0.002037825994193554,
-0.06944192945957184,
-0.06014774367213249,
-0.004935175180435181,
-0.02680579386651516,
-0.031207310035824776,
0.028260372579097748,
-0.018078327178955078,
0.00577580789104104,
-0.0047202943824231625,
0.04412849619984627,
-0.02308434061706066,
0.03162290155887604,
-0.05206255614757538,
0.025880154222249985,
0.023254357278347015,
-0.014838584698736668,
0.08908817917108536,
0.011183248832821846,
-0.0754113644361496,
-0.005341323558241129,
-0.03579773008823395,
0.054216086864471436,
0.025370106101036072,
-0.01581145077943802,
0.002510091522708535,
-0.0030909781344234943,
0.0415593720972538,
0.022593185305595398,
0.004359011072665453,
-0.05542508885264397,
-0.06615496426820755,
-0.014678014442324638,
0.06521043181419373,
-0.08969268202781677,
0.02574791945517063,
0.05414052680134773,
-0.019145647063851357,
0.05051352456212044,
-0.025030074641108513,
-0.03574105724692345,
-0.004944620653986931,
-0.05557621270418167,
0.00623390544205904,
0.012864514254033566,
-0.00793406181037426,
-0.002583292778581381,
-0.04314618185162544,
0.009478369727730751,
0.043599557131528854,
-0.028279263526201248,
-0.05176030844449997,
-0.01661430299282074,
0.049304526299238205,
0.028619293123483658,
0.009128893725574017,
0.01736048236489296,
0.0013813767582178116,
-0.007787659298628569,
-0.03708229213953018,
-0.00794350728392601,
-0.023141013458371162,
-0.007589307613670826,
0.09165730327367783,
0.031056184321641922,
0.004968233872205019,
0.03439982607960701,
0.01663319393992424,
-0.014130186289548874,
0.010739319026470184,
-0.0032751618418842554,
0.03600552678108215,
0.0026801072526723146,
0.029261576011776924,
-0.024066653102636337,
0.006814792286604643,
0.004488884471356869,
-0.02300877869129181,
0.03523101285099983,
-0.038385745137929916,
-0.03249187022447586,
0.05104246363043785,
-0.03373865410685539,
0.03902802616357803,
0.04227721318602562,
-0.04008590057492256,
-0.09732449054718018,
0.012250568717718124,
-0.03058391809463501,
0.04314618185162544,
0.017171576619148254,
-0.026560215279459953,
0.02640909142792225,
0.04412849619984627,
0.06883743405342102,
-0.006644776556640863,
0.018588373437523842,
-0.026673559099435806,
0.03237852826714516,
0.040237028151750565,
-0.01094711571931839,
-0.04412849619984627,
-0.0018902429146692157,
-0.0301872156560421,
-0.02185645140707493,
0.014130186289548874,
-0.015301404520869255,
-0.03583551198244095,
0.019457342103123665,
0.000652907183393836,
-0.01021982729434967,
0.019117310643196106,
-0.06861074268817902,
-0.03672337159514427,
0.0006960013997741044,
0.08417661488056183,
0.03445649519562721,
0.03662891685962677,
0.024652263149619102,
-0.017946092411875725,
0.007032034453004599,
0.06902633607387543,
0.005303542595356703,
0.033795323222875595,
-0.023518824949860573,
-0.08145636320114136,
0.027844779193401337,
0.008458276279270649,
-0.06264130771160126,
-0.006682557985186577,
-0.00747596425935626,
0.05754083767533302,
-0.05693633854389191,
-0.045866433531045914,
0.020156294107437134,
0.03865021467208862,
0.06694836914539337,
0.028619293123483658,
0.034607622772455215,
-0.03290746361017227,
0.05999661982059479,
0.013752373866736889,
-0.025823481380939484,
-0.04839777573943138,
-0.04318396374583244,
-0.08780361711978912,
-0.012996749021112919,
-0.018758388236165047,
-0.003098062239587307,
-0.011003787629306316,
0.024746716022491455,
-0.056860774755477905,
0.01099434308707714,
0.012770061381161213,
-0.016066474840044975,
-0.0301683247089386,
-0.03222740441560745,
0.04503524675965309,
-0.0016989754512906075,
0.04348621517419815,
0.017199913039803505,
-0.024368904531002045,
-0.03103729337453842,
-0.01960846595466137,
-0.07110430300235748,
0.03549548238515854,
0.022460950538516045,
0.029374917969107628,
0.031566232442855835,
0.03823462128639221,
0.03445649519562721,
0.010059257037937641,
-0.06343471258878708,
0.028279263526201248,
0.03353085741400719,
0.07004643231630325,
-0.03292635455727577,
0.009709780104458332,
0.06932858377695084,
0.043297309428453445,
0.003745066002011299,
-0.018059436231851578,
-0.0530070886015892,
0.026938028633594513,
0.002420361153781414,
0.030753934755921364,
-0.029960528016090393,
-0.02680579386651516,
-0.04012368246912956,
0.039896994829177856,
0.0068761869333684444,
-0.056822992861270905,
0.052742619067430496,
0.012165561318397522,
0.012524482794106007,
0.01190109271556139,
0.027448074892163277,
0.090826116502285,
0.012212787754833698,
0.0071217650547623634,
0.02083635702729225,
0.03183069825172424,
0.07012199610471725,
0.0452619343996048,
0.02155420184135437,
0.013809045776724815,
-0.012288350611925125,
0.02416110783815384,
0.047377683222293854,
-0.00425511272624135,
-0.024104434996843338,
-0.008675518445670605,
-0.01962735690176487,
0.010087592527270317,
-0.013733482919633389,
-0.00923279207199812,
-0.04257946461439133,
-0.08077630400657654,
-0.03817794844508171,
0.00831659696996212,
-0.0009102919138967991,
0.01170274056494236,
-0.009029718115925789,
-0.0023636892437934875,
0.029015997424721718,
0.0071548232808709145,
0.04231499508023262,
0.012864514254033566,
0.013204545713961124,
-0.0022987527772784233,
-0.011693296022713184,
-0.015027490444481373,
-0.04987124353647232,
0.008599956519901752,
0.031566232442855835,
0.005194921512156725,
0.03543880954384804,
0.020949700847268105,
0.007929339073598385,
-0.02761809155344963,
0.02531343512237072,
0.02302766963839531,
-0.035703279078006744,
-0.015783116221427917,
-0.019136201590299606,
-0.07386233657598495,
-0.03511766716837883,
0.008264647796750069,
0.004441657569259405,
-0.009964803233742714,
0.016822099685668945,
0.004949343390762806,
0.05890096351504326,
-0.09256405383348465,
0.017199913039803505,
0.0188528411090374,
0.0009451214573346078,
0.037233419716358185,
-0.03441871702671051,
-0.010758209973573685,
0.004987124353647232,
0.04794440045952797,
0.011797194369137287,
-0.006540878210216761,
0.03171735629439354,
0.014611897058784962,
0.07450461387634277,
-0.05595402419567108,
0.02198868617415428,
-0.022083139047026634,
-0.04310840368270874,
0.05251593142747879,
0.0003246825945097953,
-0.03249187022447586,
-0.027353622019290924,
0.007225663401186466,
-0.09475536644458771,
0.02877041883766651,
-0.008727467618882656,
-0.0021771444007754326,
-0.027296951040625572,
-0.005539675243198872,
-0.00849605817347765,
-0.07405124604701996,
0.005459390114992857,
-0.010399287566542625,
0.034513168036937714,
-0.05172252655029297,
0.016708755865693092,
0.02948826178908348,
0.05100468173623085,
-0.01815388910472393,
-0.004002450965344906,
-0.00036836715298704803,
-0.04201274737715721,
-0.030678370967507362,
0.008122967556118965,
0.023537715896964073,
-0.03135843575000763,
0.07476908713579178,
-0.013535131700336933,
0.0796428695321083,
0.0416349321603775,
0.06116783618927002,
-0.03326638787984848,
-0.0264468714594841,
-0.06490818411111832,
0.028203699737787247,
0.017511608079075813,
-0.010843217372894287,
-0.05810755491256714,
0.04469521343708038,
-0.02425556071102619,
-0.04949343204498291,
0.014489107765257359,
-0.0020897751674056053,
0.07386233657598495,
0.05021127685904503,
0.004250389989465475,
0.005492448806762695,
0.014064068906009197,
0.005360214505344629,
-0.03547659143805504,
-0.042503900825977325,
0.04722655937075615,
-0.01588701456785202,
0.04031258821487427,
-0.05398939922451973,
-0.01020093634724617,
-0.04050149768590927,
0.0377056822180748,
0.006470038555562496,
-0.04375068470835686,
0.05126915127038956,
0.00624335091561079,
-0.035344354808330536,
-0.0944531187415123,
0.03099951334297657,
0.005161862820386887,
-0.028581513091921806,
-0.09165730327367783,
0.052704837173223495,
-0.03439982607960701,
0.00025310483761131763,
-0.03209516778588295,
0.014035732485353947,
-0.023613279685378075,
-0.025502340868115425,
0.021610872820019722,
0.01966513879597187,
-0.04257946461439133,
0.01704878732562065,
0.08455442637205124,
0.002008309355005622,
-0.06913968175649643,
0.053800493478775024,
-0.008585788309574127,
0.05822090059518814,
-0.037195637822151184,
-0.0378568097949028,
-0.04265502840280533,
-0.07337117940187454,
0.026276856660842896,
-0.033795323222875595,
0.021818669512867928,
-0.0009014368988573551,
0.04012368246912956,
-0.05478280782699585,
0.056822992861270905,
0.013875162228941917,
-0.025105638429522514,
0.048208869993686676,
0.03475874662399292,
-0.08092743158340454,
0.03364419937133789,
0.003993005491793156,
-0.02756141871213913,
-0.017313256859779358,
0.017927201464772224,
0.007216217927634716,
-0.006394475698471069,
0.0035821343772113323,
0.018597818911075592,
-0.05565177649259567,
-0.05565177649259567,
0.0004684284212999046,
-0.011438271962106228,
-0.04975790157914162,
-0.01191053818911314,
-0.038385745137929916,
0.06199902668595314,
-0.007877389900386333,
-0.037913478910923004,
-0.03672337159514427,
-0.04080374538898468,
-0.09158173948526382,
0.005568011198192835,
0.03099951334297657,
0.007282335311174393,
0.06230127438902855,
0.05164696276187897,
0.027844779193401337,
-0.022479841485619545,
-0.002224370837211609,
0.039103589951992035,
0.03857465088367462,
0.026579106226563454,
-0.06373696029186249,
-0.03815905749797821,
0.00813713576644659,
-0.02147863805294037,
-0.012618936598300934,
0.012335577048361301,
0.06241462007164955,
-0.011419381946325302,
-0.012581154704093933,
0.0868213027715683,
-0.0018855202943086624,
0.0036647808738052845,
-0.00197879271581769,
-0.0007426376105286181,
-0.06604161858558655,
-0.02385885640978813,
-0.04269280657172203,
-0.007825440727174282,
-0.05897652357816696,
0.020156294107437134,
0.027391403913497925,
-0.002703720470890403,
0.06116783618927002,
-0.04461965337395668,
0.04299505800008774,
-0.021837560459971428,
0.062187932431697845,
0.003331833751872182,
-0.01474413089454174,
0.04601755738258362,
-0.01854114606976509,
-0.0414460264146328,
0.047075431793928146,
0.03596774488687515,
0.004814747720956802,
-0.058372024446725845,
0.047831058502197266,
-0.017643842846155167,
-0.05693633854389191,
0.06162121146917343,
-0.021705325692892075,
0.006460593082010746,
-0.018333349376916885,
0.006503096781671047,
0.04639536887407303,
-0.013365115970373154,
0.07348452508449554,
0.0038867457769811153,
-0.007150101009756327,
0.0604877732694149,
-0.046244245022535324,
-0.04344843327999115,
0.014895256608724594,
-0.011032124049961567,
-0.06396365165710449,
-0.008392158895730972,
-0.007971842773258686,
0.019740700721740723,
-0.008174916729331017,
-0.03887690231204033,
0.02567235752940178,
0.031887371093034744,
0.02264985628426075,
-0.054556120187044144,
-0.0060119410045444965,
-0.0040237028151750565,
-0.025445669889450073,
0.04412849619984627,
-0.012694498524069786,
0.043561775237321854,
-0.017851639539003372,
0.03528768569231033,
-0.022763200104236603,
0.03103729337453842,
-0.058749835938215256,
-0.024066653102636337,
-0.03880133852362633,
0.006800624076277018,
0.01970292069017887,
-0.02535121701657772,
0.041370466351509094,
-0.02569124661386013,
0.024671154096722603,
-0.010758209973573685,
0.05126915127038956,
-0.04273058846592903,
0.00909111276268959,
0.05712524428963661,
-0.08115411549806595,
0.03808349743485451,
-0.011976654641330242,
0.014772467315196991,
0.040577057749032974,
-0.008321319706737995,
-0.011919982731342316,
0.08206086605787277,
-0.02151641994714737,
-0.09248849004507065,
-0.006035554222762585,
-0.000652907183393836,
-0.07782936841249466,
0.06169677525758743,
-0.0603366494178772,
-0.01808777078986168,
0.0060449992306530476,
-0.018342794850468636,
0.010446514934301376,
-0.03426758944988251,
0.019183427095413208,
-0.029299356043338776,
0.022385388612747192,
0.011853866279125214,
0.026579106226563454,
0.046697620302438736,
-0.026730231940746307,
0.013450123369693756,
0.012703943997621536,
0.038329076021909714,
-0.00790572538971901,
-0.0018678103806450963,
0.037970151752233505,
-0.04722655937075615,
-0.0035042106173932552,
0.09392417967319489,
0.022196482867002487,
0.052289243787527084,
0.009993139654397964,
-0.008217421360313892,
0.0226309671998024,
0.029261576011776924,
0.002677745884284377,
0.00020322177442722023,
-0.03173624724149704,
0.006696725729852915,
0.030546138063073158,
-0.024784497916698456,
-0.03594885393977165,
-0.05361158773303032,
0.014706349931657314,
0.021837560459971428,
-0.004758075810968876,
-0.012118334881961346,
-0.05372493341565132,
0.06188568100333214,
-0.025577902793884277,
-0.0035608825273811817,
-0.010059257037937641,
0.005199643783271313,
-0.0013034529983997345,
0.05134471505880356,
-0.014630788005888462,
0.031093966215848923,
0.03657224774360657,
-0.04378846287727356,
0.016746537759900093,
0.025577902793884277,
-0.0005141791189089417,
0.00624335091561079,
0.022045357152819633,
0.005601069889962673,
-0.007721542380750179,
0.006101671140640974,
0.0067628431133925915,
0.006257518660277128,
0.03506099805235863,
0.020552998408675194,
-0.0015667410334572196,
0.020534107461571693,
-0.05221368372440338,
-0.09218624234199524,
-0.03024388663470745,
0.025596793740987778,
-0.010503186844289303,
-0.0014451326569542289,
0.03519323095679283,
0.0757136195898056,
-0.010588194243609905,
-0.0530070886015892,
0.014243530109524727,
-0.05478280782699585,
-0.027844779193401337,
-0.03668558970093727,
0.02793923206627369,
-0.0027178884483873844,
-0.02113860659301281,
-0.020874138921499252,
0.014602451585233212,
-0.06498374044895172,
-0.07805605232715607,
0.03740343451499939,
0.014876365661621094,
-0.021025262773036957,
0.021403076127171516,
-0.02724027819931507,
0.004049677401781082,
-0.007579862605780363,
-0.04616868123412132,
0.033833105117082596,
0.05032461881637573,
-0.0339842326939106,
-0.03689338639378548,
-0.008056851103901863,
-0.05055130645632744,
-0.05614292994141579,
-0.014507998712360859,
0.037176746875047684,
-0.0016824461054056883,
-0.05138249322772026,
0.011617733165621758,
0.044808559119701385,
0.018758388236165047,
0.020269637927412987
] |
719,653
|
ibm_platform_services.iam_access_groups_v2
|
replace_access_group_rule
|
Replace an access group rule.
Update the body of an existing rule using this API. An `If-Match` header must be
populated with the rule's most recent revision number (which can be acquired in
the `Get an access group rule` API).
:param str access_group_id: The access group identifier.
:param str rule_id: The rule to get.
:param str if_match: The current revision number of the rule being updated.
This can be found in the Get Rule response ETag header.
:param int expiration: Session duration in hours. Access group membership
is revoked after this time period expires. Users must log back in to
refresh their access group membership.
:param str realm_name: The URL of the identity provider (IdP).
:param List[RuleConditions] conditions: A list of conditions that
identities must satisfy to gain access group membership.
:param str name: (optional) The name of the dynaimic rule.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `Rule` object
|
def replace_access_group_rule(
self,
access_group_id: str,
rule_id: str,
if_match: str,
expiration: int,
realm_name: str,
conditions: List['RuleConditions'],
*,
name: str = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Replace an access group rule.
Update the body of an existing rule using this API. An `If-Match` header must be
populated with the rule's most recent revision number (which can be acquired in
the `Get an access group rule` API).
:param str access_group_id: The access group identifier.
:param str rule_id: The rule to get.
:param str if_match: The current revision number of the rule being updated.
This can be found in the Get Rule response ETag header.
:param int expiration: Session duration in hours. Access group membership
is revoked after this time period expires. Users must log back in to
refresh their access group membership.
:param str realm_name: The URL of the identity provider (IdP).
:param List[RuleConditions] conditions: A list of conditions that
identities must satisfy to gain access group membership.
:param str name: (optional) The name of the dynaimic rule.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `Rule` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
if not rule_id:
raise ValueError('rule_id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
if expiration is None:
raise ValueError('expiration must be provided')
if realm_name is None:
raise ValueError('realm_name must be provided')
if conditions is None:
raise ValueError('conditions must be provided')
conditions = [convert_model(x) for x in conditions]
headers = {
'If-Match': if_match,
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='replace_access_group_rule',
)
headers.update(sdk_headers)
data = {
'expiration': expiration,
'realm_name': realm_name,
'conditions': conditions,
'name': name,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id', 'rule_id']
path_param_values = self.encode_path_vars(access_group_id, rule_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/rules/{rule_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, rule_id: str, if_match: str, expiration: int, realm_name: str, conditions: List[ibm_platform_services.iam_access_groups_v2.RuleConditions], *, name: Optional[str] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.028368709608912468,
0.05074483901262283,
-0.06741649657487869,
0.002460894174873829,
-0.009108910337090492,
-0.02454652078449726,
-0.05623803660273552,
0.02779250033199787,
-0.0012124405475333333,
-0.01803535409271717,
0.0008325025555677712,
-0.009051289409399033,
0.03317045420408249,
0.010899960994720459,
-0.011985155753791332,
-0.0015281552914530039,
0.03591705113649368,
0.024047138169407845,
0.010861546732485294,
-0.020570674911141396,
0.01739192008972168,
-0.0006152235437184572,
-0.020167328417301178,
-0.04601992294192314,
0.031038479879498482,
0.030135750770568848,
0.06591835618019104,
0.017872095108032227,
0.002996288938447833,
0.053472232073545456,
-0.013656162656843662,
-0.012964711524546146,
0.038990169763565063,
0.06783905625343323,
-0.023451723158359528,
-0.05493196099996567,
-0.03607070818543434,
-0.01628751866519451,
-0.08888990432024002,
0.019514290615916252,
-0.02652483992278576,
0.060002606362104416,
0.009862784296274185,
-0.007543541491031647,
-0.003476463258266449,
0.022145647555589676,
-0.02164626680314541,
0.0632677897810936,
0.0230867899954319,
-0.035379257053136826,
-0.01961032673716545,
-0.042101699858903885,
-0.032210104167461395,
0.013012728653848171,
0.002352854935452342,
0.020359398797154427,
-0.03432287275791168,
0.007053763139992952,
0.042101699858903885,
-0.08650823682546616,
0.02998209558427334,
-0.025852594524621964,
-0.023931896314024925,
-0.03918223828077316,
-0.06503483653068542,
0.001989122945815325,
-0.06584152579307556,
-0.03576339781284332,
-0.03267107158899307,
-0.013473696075379848,
-0.0712963119149208,
0.04467543587088585,
0.06069405749440193,
-0.05074483901262283,
-0.02977081947028637,
0.06392082571983337,
0.006828081328421831,
-0.048708900809288025,
0.049016211181879044,
-0.015317566692829132,
0.02156943827867508,
0.010947978124022484,
0.0825900137424469,
0.007048961706459522,
-0.002945870626717806,
-0.015624877996742725,
0.025334006175398827,
-0.03649326041340828,
-0.030615925788879395,
-0.10978709906339645,
0.010304545052349567,
-0.02310599759221077,
-0.01636434718966484,
0.003860602853819728,
-0.008508692495524883,
0.03489908203482628,
-0.0064247348345816135,
-0.04594309628009796,
0.0048065464943647385,
0.02005208656191826,
-0.016143467277288437,
-0.03766488656401634,
-0.007687593810260296,
-0.008134155534207821,
0.055200859904289246,
-0.04098769649863243,
0.012887883000075817,
0.0336122140288353,
-0.035552117973566055,
0.01838107965886593,
0.01228286325931549,
0.0037165505345910788,
-0.036992643028497696,
0.003740559332072735,
0.025276385247707367,
0.03658929839730263,
-0.047057099640369415,
-0.07967055588960648,
0.010544631630182266,
0.007308255881071091,
-0.012897486798465252,
-0.05454782396554947,
0.02619832009077072,
0.04732599854469299,
0.036973435431718826,
0.01230207085609436,
-0.05616120994091034,
0.01638355292379856,
0.10333354771137238,
-0.062038544565439224,
-0.015624877996742725,
-0.06411290168762207,
-0.01906292699277401,
-0.007726007606834173,
-0.015864964574575424,
0.03787616267800331,
0.04663454741239548,
0.008023715578019619,
0.003959038760513067,
-0.012196431867778301,
0.015864964574575424,
0.005776499398052692,
0.012772641144692898,
-0.032363761216402054,
-0.014213165268301964,
-0.08750700205564499,
0.048555243760347366,
0.034053973853588104,
-0.01002604328095913,
-0.022203268483281136,
-0.003233975265175104,
-0.016950160264968872,
0.023509344086050987,
0.05089849606156349,
0.01758399046957493,
0.03276710584759712,
-0.004780136980116367,
-0.013617748394608498,
-0.018515529111027718,
-0.0034020363818854094,
-0.042063284665346146,
-0.025122730061411858,
-0.01646038144826889,
-0.007010547444224358,
0.07183410227298737,
-0.06100136786699295,
0.032267726957798004,
-0.026006251573562622,
-0.013896250165998936,
-0.0018546739593148232,
-0.04463702067732811,
0.005915749818086624,
-0.006592795718461275,
0.006722442805767059,
-0.07006706297397614,
0.040449898689985275,
0.012186829000711441,
-0.0005621042801067233,
0.020762745290994644,
0.019130151718854904,
-0.019399048760533333,
0.00995881948620081,
-0.008868822827935219,
0.015653688460588455,
-0.03818347677588463,
0.03309362754225731,
-0.04448336362838745,
0.03330490365624428,
-0.00008763184450799599,
0.005032228771597147,
0.015826551243662834,
-0.027773292735219002,
0.02809981070458889,
-0.05804349482059479,
-0.03923986107110977,
-0.03315124660730362,
0.005805309861898422,
0.05585389584302902,
0.05158994719386101,
0.02126212604343891,
-0.021166091784834862,
0.012522950768470764,
0.017535973340272903,
0.06902988255023956,
0.050360701978206635,
0.0175071619451046,
0.014943030662834644,
0.008052526041865349,
-0.023835862055420876,
-0.001607384067028761,
-0.0559307262301445,
0.05666058883070946,
0.015970604494214058,
-0.010986392386257648,
0.001200436265207827,
0.04079562425613403,
-0.010218113660812378,
0.04609675332903862,
0.02162705920636654,
0.01987922377884388,
-0.07075851410627365,
-0.023682206869125366,
0.01719984970986843,
-0.005473989062011242,
-0.02662087418138981,
-0.02318282425403595,
0.053510647267103195,
0.0164219681173563,
-0.022068819031119347,
0.007188212126493454,
0.02464255504310131,
-0.02293313480913639,
0.05435575172305107,
-0.015240738168358803,
0.03134579211473465,
-0.05796666443347931,
0.008047724142670631,
0.007735610939562321,
-0.026851357892155647,
0.07828764617443085,
-0.0334201455116272,
0.007120987866073847,
0.015845758840441704,
0.07091216742992401,
-0.06096295267343521,
0.018429096788167953,
-0.041948042809963226,
-0.018179405480623245,
0.048593658953905106,
-0.025698939338326454,
-0.01481818500906229,
-0.017363110557198524,
-0.03956637904047966,
0.043523017317056656,
-0.04302363470196724,
0.012868676334619522,
-0.03269027918577194,
-0.040449898689985275,
0.05497037619352341,
-0.03923986107110977,
0.02174230106174946,
0.01752636954188347,
-0.053625889122486115,
-0.06672504544258118,
-0.0015965801430866122,
0.01894768513739109,
0.0039926511235535145,
0.01913975551724434,
0.013387264683842659,
-0.006395924370735884,
0.09380689263343811,
0.051935672760009766,
-0.017017384991049767,
0.0040742806158959866,
-0.024373658001422882,
0.052089329808950424,
0.048632074147462845,
0.02986685372889042,
-0.027158670127391815,
-0.0653037279844284,
0.08950452506542206,
0.03657009080052376,
-0.056737419217824936,
0.013665766455233097,
-0.023720620200037956,
0.02798456884920597,
-0.017948921769857407,
0.09250081330537796,
-0.05796666443347931,
0.030942443758249283,
-0.008422261103987694,
-0.01587456837296486,
-0.04966925084590912,
0.0043239714577794075,
-0.013108763843774796,
0.04248584061861038,
-0.04755648225545883,
0.007020151242613792,
0.015557653270661831,
0.022798685356974602,
-0.019389446824789047,
0.016277914866805077,
0.09242399036884308,
0.009843576699495316,
-0.020877987146377563,
-0.06311413645744324,
0.04463702067732811,
-0.016930952668190002,
0.012686209753155708,
0.04502116143703461,
0.037203919142484665,
-0.048593658953905106,
-0.014289992861449718,
-0.045366887003183365,
0.043715085834264755,
-0.010208509862422943,
0.012254052795469761,
0.0075867571868002415,
0.061615992337465286,
0.030327821150422096,
-0.002429682994261384,
-0.03841396048665047,
-0.012061983346939087,
-0.0350143238902092,
0.02998209558427334,
-0.038548409938812256,
0.07367797195911407,
0.04963083565235138,
0.0457894392311573,
0.008566313423216343,
-0.02988606132566929,
-0.03486066684126854,
-0.007020151242613792,
0.012820659205317497,
0.0003541286860127002,
-0.030366234481334686,
-0.01306074671447277,
-0.07502246648073196,
0.032133277505636215,
0.043830327689647675,
-0.009089702740311623,
0.048478417098522186,
0.016921348869800568,
0.003277190960943699,
-0.01665245182812214,
0.007653981447219849,
0.0263711828738451,
0.01984081044793129,
-0.04582785442471504,
0.0246809683740139,
-0.011197669431567192,
-0.0332280732691288,
0.015259945765137672,
-0.011466567404568195,
0.03833713009953499,
-0.012839865870773792,
0.009348997846245766,
-0.0006224262178875506,
0.005598834715783596,
-0.03605150058865547,
-0.032440587878227234,
-0.026140699163079262,
0.013598541729152203,
0.01653720997273922,
0.022337717935442924,
-0.02954033575952053,
-0.07771144062280655,
-0.027024220675230026,
0.043369360268116,
-0.03789537027478218,
-0.03666612505912781,
-0.0047873398289084435,
0.028944918885827065,
-0.020877987146377563,
0.0029266634956002235,
0.0213965754956007,
0.02619832009077072,
0.015903379768133163,
0.006948125082999468,
0.00013099760690238327,
0.02621752768754959,
0.000707056955434382,
-0.042216941714286804,
0.004487230442464352,
-0.004100690130144358,
-0.014184354804456234,
-0.005267514381557703,
0.042101699858903885,
-0.025237971916794777,
-0.01803535409271717,
0.07859496027231216,
-0.0230867899954319,
0.06384400278329849,
-0.06503483653068542,
-0.05243505537509918,
-0.009757145307958126,
-0.060002606362104416,
0.0031763543374836445,
-0.04640406370162964,
-0.031057685613632202,
-0.030308613553643227,
0.03841396048665047,
-0.009305781684815884,
-0.005013021640479565,
0.010573442094027996,
-0.01315678097307682,
0.07056644558906555,
0.03799140453338623,
-0.032248519361019135,
-0.006429536268115044,
-0.006924116052687168,
-0.02833029441535473,
-0.032152485102415085,
-0.004914585966616869,
0.01476056408137083,
0.04989973455667496,
0.03522560000419617,
0.029405886307358742,
-0.01885165087878704,
-0.002135575981810689,
0.0283495020121336,
-0.020820366218686104,
0.010400579310953617,
-0.020820366218686104,
-0.04763330891728401,
-0.06503483653068542,
0.0022868311498314142,
0.03599388152360916,
-0.06518848985433578,
-0.03486066684126854,
0.05600755289196968,
0.004215931985527277,
-0.027081841602921486,
0.02957874909043312,
-0.02124292030930519,
-0.015749722719192505,
0.0014429243747144938,
0.013252816163003445,
0.019581515341997147,
-0.007653981447219849,
0.027235496789216995,
-0.010621460154652596,
-0.002405674196779728,
0.007140194531530142,
-0.06826160848140717,
0.04471384733915329,
0.02815743163228035,
-0.04440653696656227,
-0.0000775031658122316,
0.007476316764950752,
0.09526661783456802,
0.05385637283325195,
0.031922001391649246,
0.05170518904924393,
-0.04582785442471504,
-0.043523017317056656,
-0.003894215216860175,
-0.05147470533847809,
-0.035456083714962006,
-0.027542809024453163,
0.005382756236940622,
-0.023759033530950546,
-0.024373658001422882,
0.048785727471113205,
-0.06246109679341316,
0.06150075048208237,
0.0311537217348814,
-0.004199125804007053,
-0.030731167644262314,
-0.0767895057797432,
-0.025833386927843094,
-0.07847972214221954,
0.012263656593859196,
0.038798097521066666,
-0.010304545052349567,
0.045290056616067886,
0.019466273486614227,
0.008148561231791973,
-0.02124292030930519,
0.08789113909006119,
0.026006251573562622,
-0.027523601427674294,
-0.029040953144431114,
-0.014376424252986908,
0.006170242093503475,
-0.0533185750246048,
0.03927827253937721,
0.015307962894439697,
-0.062000129371881485,
0.003051508916541934,
0.04144866392016411,
-0.048632074147462845,
-0.0396047942340374,
-0.02153102494776249,
0.018515529111027718,
-0.0023756632581353188,
0.007519532460719347,
0.008835210464894772,
-0.0008697160519659519,
-0.08435705304145813,
-0.06322937458753586,
-0.04452177882194519,
-0.022433752194046974,
-0.005219496786594391,
0.03315124660730362,
-0.006026189774274826,
-0.02508431486785412,
-0.014443648979067802,
0.024412071332335472,
0.005531609989702702,
-0.04663454741239548,
0.03415001183748245,
-0.005661257077008486,
0.008090940304100513,
0.010976788587868214,
0.040334656834602356,
-0.003462058026343584,
0.043599843978881836,
-0.036915816366672516,
-0.043791912496089935,
0.03426525369286537,
-0.035609740763902664,
-0.009584282524883747,
0.019274204969406128,
-0.013684973120689392,
0.03685819357633591,
0.027638843283057213,
0.0035340841859579086,
0.029002539813518524,
-0.08159124851226807,
-0.01484699547290802,
0.02160785160958767,
-0.02642880380153656,
-0.0230867899954319,
0.02792694792151451,
0.05016862973570824,
-0.015077479183673859,
0.02500748820602894,
-0.10986392199993134,
0.035724982619285583,
-0.0061270263977348804,
0.042101699858903885,
-0.06376717239618301,
-0.03430366516113281,
-0.062230613082647324,
0.0342460460960865,
0.047095514833927155,
-0.01651800237596035,
0.035782601684331894,
-0.02287551388144493,
-0.02131974697113037,
0.025141935795545578,
0.04010417312383652,
0.017228661105036736,
0.001249654102139175,
0.01001644041389227,
0.006914512719959021,
-0.056891072541475296,
-0.01989843137562275,
-0.030058924108743668,
0.0011728261597454548,
0.03607070818543434,
0.024239208549261093,
-0.031000064685940742,
0.008691158145666122,
0.02500748820602894,
0.02790774218738079,
0.01809297502040863,
0.0022100030910223722,
0.04732599854469299,
-0.02615990675985813,
-0.02658246085047722,
0.0030683150980621576,
-0.014078715816140175,
-0.048747316002845764,
0.013886646367609501,
0.033919528126716614,
0.03445732221007347,
0.0197063609957695,
0.013396868482232094,
0.04021941497921944,
0.003037103684619069,
0.047018688172101974,
-0.022721856832504272,
-0.029040953144431114,
-0.0003133138525299728,
0.005666058976203203,
0.07267921417951584,
0.06737808883190155,
0.008662347681820393,
-0.0431772917509079,
0.060156259685754776,
0.010285337455570698,
-0.03927827253937721,
-0.015202324837446213,
0.061731234192848206,
-0.037203919142484665,
-0.015768930315971375,
-0.02464255504310131,
0.017478352412581444,
0.0021439790725708008,
-0.007677990011870861,
-0.009829171933233738,
0.028733640909194946,
-0.015211927704513073,
0.026928186416625977,
0.011812292970716953,
-0.057006314396858215,
-0.01923578977584839,
-0.03503353148698807,
-0.051743604242801666,
-0.008710365742444992,
0.03751123324036598,
-0.012743830680847168,
0.02118529938161373,
-0.06476593762636185,
-0.011831499636173248,
0.06764698028564453,
-0.023701412603259087,
-0.07667426019906998,
0.0181121826171875,
0.0023492537438869476,
-0.017363110557198524,
0.02633276954293251,
0.031115306541323662,
0.05984894931316376,
-0.00014315202133730054,
-0.045443713665008545,
-0.04625040665268898,
-0.00048707699170336127,
-0.04744124040007591,
0.06330620497465134,
-0.07179568707942963,
-0.017670420929789543,
0.00471291271969676,
0.0075867571868002415,
0.03948954865336418,
0.03159548342227936,
0.015596067532896996,
-0.0213965754956007,
0.025641318410634995,
0.003829391673207283,
0.05788983777165413,
0.0427931509912014,
-0.00705856503918767,
0.05742887035012245,
0.030423855409026146,
-0.014578097499907017,
0.012561365030705929,
-0.009190539829432964,
-0.0704127848148346,
0.06999023258686066,
-0.032421380281448364,
-0.011034409515559673,
0.058658115565776825,
0.028983332216739655,
0.0027682059444487095,
-0.01478937454521656,
-0.0491698682308197,
-0.03353538736701012,
-0.021934371441602707,
-0.006732046604156494,
-0.027216291055083275,
-0.03968162089586258,
0.010919167660176754,
-0.014021094888448715,
0.04313887655735016,
-0.030289407819509506,
0.04310046136379242,
0.03486066684126854,
-0.035494498908519745,
-0.008763184770941734,
0.011120840907096863,
0.06883781403303146,
0.012081190012395382,
-0.04021941497921944,
0.05404844135046005,
-0.04083403944969177,
0.04755648225545883,
0.028964126482605934,
0.002194397384300828,
-0.02143498882651329,
0.004727317951619625,
-0.0656878724694252,
0.013003125786781311,
0.037415195256471634,
0.004780136980116367,
-0.0668402910232544,
-0.04160231724381447,
-0.009694723412394524,
0.04943876713514328,
0.023970311507582664,
-0.009339394047856331,
-0.055623412132263184,
0.02996288798749447,
-0.022606614977121353,
-0.04014258831739426,
0.07648219168186188,
-0.030961651355028152,
0.02794615551829338,
-0.008455872535705566,
-0.025257177650928497,
0.02341330796480179,
-0.04267790913581848,
0.001375699881464243,
0.03418842330574989,
-0.043907154351472855,
0.007658783346414566,
0.007846050895750523,
-0.021857542917132378,
-0.025756560266017914,
0.06150075048208237,
0.018582753837108612,
-0.016258709132671356,
0.007135393097996712,
-0.02131974697113037,
-0.020282570272684097,
-0.027619637548923492,
-0.033631421625614166,
0.04340777546167374,
0.010957581922411919,
0.053510647267103195,
-0.022760270163416862,
-0.047210756689310074,
-0.021934371441602707,
-0.04313887655735016,
-0.002051545539870858,
0.0141747510060668,
-0.003766968846321106,
0.008801598101854324,
0.06745491176843643,
0.1096334382891655,
-0.008907237090170383,
-0.06538055837154388,
0.017968129366636276,
0.014165147207677364,
-0.04621199518442154,
-0.058888599276542664,
-0.005632446613162756,
0.04271632432937622,
0.04275473579764366,
-0.0213965754956007,
0.02131974697113037,
-0.08151442557573318,
-0.007961292751133442,
0.025391627103090286,
-0.02785012125968933,
0.005987775977700949,
0.019351031631231308,
0.055431343615055084,
0.041871216148138046,
-0.012052379548549652,
0.032037243247032166,
0.04824793338775635,
0.05477830767631531,
-0.04759489744901657,
0.010093268007040024,
0.046980272978544235,
0.06776222586631775,
0.04064197093248367,
0.0034020363818854094,
0.013771404512226582,
0.028983332216739655,
0.0057620941661298275,
-0.002301236381754279,
-0.01976398192346096,
0.007341868244111538,
-0.019034117460250854
] |
719,661
|
ibm_platform_services.iam_access_groups_v2
|
update_access_group
|
Update an access group.
Update the group name or description of an existing access group using this API.
An `If-Match` header must be populated with the group's most recent revision
number (which can be acquired in the `Get an access group` API).
:param str access_group_id: The access group identifier.
:param str if_match: The current revision number of the group being
updated. This can be found in the Create/Get access group response ETag
header.
:param str name: (optional) Give the access group a unique name that
doesn't conflict with an existing access group in the account. This field
is case-insensitive and has a limit of 100 characters.
:param str description: (optional) Assign an optional description for the
access group. This field has a limit of 250 characters.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `Group` object
|
def update_access_group(
self,
access_group_id: str,
if_match: str,
*,
name: str = None,
description: str = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Update an access group.
Update the group name or description of an existing access group using this API.
An `If-Match` header must be populated with the group's most recent revision
number (which can be acquired in the `Get an access group` API).
:param str access_group_id: The access group identifier.
:param str if_match: The current revision number of the group being
updated. This can be found in the Create/Get access group response ETag
header.
:param str name: (optional) Give the access group a unique name that
doesn't conflict with an existing access group in the account. This field
is case-insensitive and has a limit of 100 characters.
:param str description: (optional) Assign an optional description for the
access group. This field has a limit of 250 characters.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `Group` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
headers = {
'If-Match': if_match,
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='update_access_group',
)
headers.update(sdk_headers)
data = {
'name': name,
'description': description,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id']
path_param_values = self.encode_path_vars(access_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PATCH',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.014404390938580036,
0.01948087103664875,
-0.0706242248415947,
0.0032371054403483868,
0.0098035279661417,
-0.06612042337656021,
-0.031177159398794174,
0.06219901517033577,
-0.007512802258133888,
0.01739398203790188,
0.002914365381002426,
-0.0152197340503335,
0.034302640706300735,
0.019577935338020325,
-0.014782942831516266,
-0.03744753450155258,
-0.0019061065977439284,
-0.03492385521531105,
0.03735046833753586,
-0.050628911703825,
-0.0014547561295330524,
-0.010308263823390007,
-0.0002112672373186797,
-0.013812297023832798,
0.012385446578264236,
0.032536063343286514,
0.10125782340765,
-0.004057301674038172,
0.030497705563902855,
0.026751011610031128,
-0.0010907637188211083,
-0.029061149805784225,
0.010230612009763718,
0.05027947947382927,
-0.011492451652884483,
-0.06076245754957199,
-0.019509989768266678,
-0.03339023143053055,
-0.05645278841257095,
0.015054724179208279,
0.004241724498569965,
0.02040298469364643,
-0.03424439951777458,
-0.03436087816953659,
0.009958830662071705,
0.05691869929432869,
-0.0321672186255455,
0.07349734008312225,
-0.01571476273238659,
-0.005877263378351927,
-0.02919704094529152,
-0.06456739455461502,
-0.05288080871105194,
-0.009827793575823307,
-0.018141379579901695,
0.03055594488978386,
0.004069434478878975,
-0.034982092678546906,
0.05451149493455887,
-0.05167720839381218,
0.004081567749381065,
0.005382233764976263,
0.017578404396772385,
-0.02263547107577324,
-0.10094721615314484,
0.006483917124569416,
-0.08285436779260635,
0.00279060797765851,
-0.049697089940309525,
-0.0031376141123473644,
-0.05443384498357773,
0.04111657664179802,
0.002698396798223257,
-0.04612511023879051,
-0.044261470437049866,
0.0935702994465828,
-0.03816581144928932,
0.025411520153284073,
0.048221707344055176,
-0.0011380828218534589,
0.02504267357289791,
-0.022907253354787827,
0.05851055681705475,
-0.00272023631259799,
0.013307560235261917,
-0.017258090898394585,
0.0240332018584013,
-0.028265219181776047,
-0.01876259222626686,
-0.0786999985575676,
0.011055661365389824,
0.0077214911580085754,
-0.005192957818508148,
0.0023817233741283417,
0.00893965270370245,
-0.015899186953902245,
-0.04018475487828255,
-0.040301233530044556,
0.0005526617169380188,
0.060878936201334,
-0.02160658687353134,
-0.035622719675302505,
-0.003795227035880089,
-0.0038631721399724483,
0.03692338615655899,
-0.07217726111412048,
0.0219171941280365,
0.013666699640452862,
-0.006192723289132118,
-0.010657696053385735,
0.01891789585351944,
-0.07803995907306671,
-0.007430297322571278,
-0.012598988600075245,
0.0013079459313303232,
0.03436087816953659,
0.004460119642317295,
-0.07765170186758041,
0.021587174385786057,
-0.005489004775881767,
-0.008478594943881035,
-0.03346788510680199,
0.04282491281628609,
0.05967533215880394,
0.04911470413208008,
0.025178564712405205,
-0.07109013199806213,
0.05055125802755356,
0.057501085102558136,
-0.05179368704557419,
0.0310800950974226,
-0.039544131606817245,
-0.01975265145301819,
0.025858016684651375,
0.01325902808457613,
0.00518810423091054,
0.019131438806653023,
0.0008019965025596321,
-0.015413862653076649,
0.010725641623139381,
0.026731599122285843,
-0.03892291709780693,
-0.0025236804503947496,
0.0008966345340013504,
-0.0038631721399724483,
-0.030653009191155434,
0.04515446722507477,
-0.06821702420711517,
-0.03515680879354477,
-0.026459818705916405,
-0.020305920392274857,
-0.03764166310429573,
0.018170498311519623,
0.011948656290769577,
-0.04076714441180229,
0.006362586282193661,
-0.016850419342517853,
-0.029468821361660957,
0.04930883273482323,
0.018626702949404716,
-0.01855875737965107,
-0.0021414884831756353,
0.009031863883137703,
0.010395621880888939,
0.03923352435231209,
-0.011443919502198696,
0.024110853672027588,
0.037136927247047424,
-0.022984903305768967,
-0.024770893156528473,
-0.04616393893957138,
0.041582487523555756,
-0.017287209630012512,
-0.02176189050078392,
-0.05381263047456741,
0.03612745553255081,
0.013210495933890343,
0.015326504595577717,
0.04367908462882042,
-0.014918833039700985,
-0.01872376725077629,
0.012754292227327824,
0.013773471117019653,
0.028226394206285477,
-0.021742476150393486,
0.015656525269150734,
-0.018510224297642708,
0.05641396343708038,
-0.01568564400076866,
-0.04775579646229744,
0.03397262096405029,
-0.06499447673559189,
0.006964386906474829,
-0.04868761822581291,
-0.014705291017889977,
-0.0037175752222537994,
-0.0017920556711032987,
0.006794523913413286,
0.09652106463909149,
0.0511336475610733,
-0.00829902570694685,
-0.04340730234980583,
0.03142952546477318,
0.07947652041912079,
0.034457944333553314,
-0.01280282437801361,
0.017626937478780746,
0.005707400385290384,
-0.033060211688280106,
-0.003836479503661394,
-0.05132777616381645,
0.027663419023156166,
0.012346620671451092,
0.000752857537008822,
0.028226394206285477,
0.050978343933820724,
0.010434447787702084,
0.017180439084768295,
0.00956086628139019,
0.009114368818700314,
-0.06825584918260574,
0.018529636785387993,
0.030653009191155434,
-0.02207249589264393,
-0.016141848638653755,
-0.026615120470523834,
0.039097633212804794,
0.02523680403828621,
-0.046979282051324844,
0.010191786102950573,
0.016695115715265274,
-0.054084412753582,
0.06771228462457657,
0.01875288598239422,
-0.028925258666276932,
-0.06274257600307465,
0.010521805845201015,
-0.02296549081802368,
-0.012171904556453228,
0.017782239243388176,
-0.00859992578625679,
0.017054256051778793,
0.0595976822078228,
0.09271613508462906,
-0.06732402741909027,
-0.028731130063533783,
-0.07361381500959396,
-0.019422631710767746,
0.0668969452381134,
0.007022625766694546,
-0.040262408554553986,
-0.013715231791138649,
-0.05027947947382927,
-0.00805636402219534,
-0.009075542911887169,
-0.0096433712169528,
-0.018791712820529938,
-0.021179502829909325,
0.03628275915980339,
-0.009114368818700314,
-0.015734177082777023,
-0.03267195448279381,
-0.0720219537615776,
-0.015229440294206142,
0.014472336508333683,
0.04010710492730141,
0.05016300082206726,
-0.010667402297258377,
0.03496268019080162,
-0.006352880038321018,
0.1225343868136406,
0.056530438363552094,
-0.013064899481832981,
-0.008245640434324741,
-0.04662984609603882,
0.01975265145301819,
0.030420055612921715,
-0.016733942553400993,
-0.01712219975888729,
-0.056336309760808945,
0.09489037841558456,
0.03311845287680626,
-0.0766422301530838,
0.01616126112639904,
-0.0018442278960719705,
0.07291495054960251,
-0.012521336786448956,
0.057462260127067566,
-0.05431736633181572,
0.01984000951051712,
0.028187567368149757,
0.018898483365774155,
-0.05338554456830025,
-0.0008899613167159259,
-0.058743514120578766,
0.028653478249907494,
-0.05668574199080467,
0.02859523892402649,
0.0074739763513207436,
0.033778492361307144,
-0.04266960918903351,
0.011812765151262283,
0.06584864109754562,
0.005027947947382927,
-0.02591625601053238,
-0.04740636423230171,
0.05684104561805725,
0.009352177381515503,
0.003343876451253891,
0.038262877613306046,
0.0055957757867872715,
-0.018180204555392265,
-0.0016488854307681322,
-0.04480503126978874,
-0.016423335298895836,
-0.012142784893512726,
0.023858485743403435,
0.007726344279944897,
0.0531914159655571,
0.026343340054154396,
0.0005013994523324072,
-0.030303576961159706,
0.030381228774785995,
-0.019490577280521393,
0.05008534714579582,
-0.023858485743403435,
0.07571040838956833,
0.056258659809827805,
0.06072363257408142,
0.004782859701663256,
-0.01608360931277275,
-0.04763932153582573,
0.015112962573766708,
0.010211198590695858,
-0.01587977260351181,
-0.022810187190771103,
-0.02508150041103363,
-0.08269906044006348,
0.004125246778130531,
0.02799343876540661,
-0.01719985157251358,
0.044377949088811874,
0.003016283269971609,
0.013491983525454998,
-0.022344278171658516,
0.006794523913413286,
0.08720286190509796,
-0.013860829174518585,
-0.02756635472178459,
0.036535125225782394,
-0.039582956582307816,
0.008512567728757858,
0.05404558405280113,
-0.020014725625514984,
0.04068949073553085,
0.019053786993026733,
0.026576295495033264,
-0.008740670047700405,
0.011725407093763351,
-0.02568330056965351,
0.0004398240998852998,
-0.01567593775689602,
0.018296683207154274,
-0.02255781926214695,
-0.0132007896900177,
-0.046979282051324844,
-0.09481272846460342,
-0.0004859298060182482,
0.012472804635763168,
0.009332763962447643,
0.008891119621694088,
0.02583860419690609,
0.011705994606018066,
0.019150851294398308,
0.006173310335725546,
0.009245405904948711,
0.017296917736530304,
0.009449241682887077,
-0.011715700849890709,
-0.014627639204263687,
0.05167720839381218,
-0.016986310482025146,
-0.008575660176575184,
0.015316798351705074,
-0.016471868380904198,
-0.006163604091852903,
0.04014592990279198,
0.017549285665154457,
-0.02587743103504181,
-0.01863640919327736,
0.049697089940309525,
-0.03300197422504425,
0.04348495230078697,
-0.006886735558509827,
-0.047056932002305984,
-0.020577700808644295,
-0.02380024641752243,
-0.0010531512089073658,
-0.01964588090777397,
-0.018888777121901512,
-0.028342870995402336,
0.05509388446807861,
-0.025469759479165077,
-0.00628978805616498,
0.042902566492557526,
-0.02787696197628975,
0.05416206270456314,
-0.0074157374911010265,
-0.020500048995018005,
-0.02735281176865101,
0.007493389304727316,
0.004224738106131554,
-0.05816112458705902,
0.007726344279944897,
0.018461693078279495,
0.05307494103908539,
0.01263781450688839,
0.05396793410181999,
-0.0148994205519557,
0.01916055753827095,
0.05039595440030098,
0.0328078456223011,
-0.03405027091503143,
0.020655352622270584,
-0.016607757657766342,
-0.07299260050058365,
0.03851524367928505,
-0.006993506569415331,
-0.021334804594516754,
-0.04864879325032234,
0.021470695734024048,
0.01414231676608324,
-0.05983063578605652,
0.03820463642477989,
-0.027216922491788864,
-0.00013369135558605194,
-0.011686581186950207,
0.01584094762802124,
0.039621781557798386,
0.01927703619003296,
0.01591859944164753,
-0.02836228534579277,
-0.013996719382703304,
0.01696689799427986,
-0.03179837390780449,
0.014996484853327274,
0.054860927164554596,
-0.05144425481557846,
0.03529269993305206,
-0.009774408303201199,
0.09698697924613953,
0.036263346672058105,
0.006624660920351744,
0.048182882368564606,
-0.04655219614505768,
-0.030051209032535553,
-0.004067007917910814,
-0.03628275915980339,
-0.021063024178147316,
-0.015559460036456585,
0.007425444200634956,
-0.0003028719802387059,
-0.02387789823114872,
0.05109482258558273,
-0.01163804903626442,
0.06744050234556198,
0.07427385449409485,
-0.0006497263675555587,
0.002432682318612933,
-0.021625999361276627,
-0.008876560255885124,
-0.04581450670957565,
-0.02651805616915226,
0.05315259099006653,
-0.008556246757507324,
0.019655587151646614,
-0.006333467084914446,
0.008124309591948986,
-0.041621312499046326,
0.08262141048908234,
0.02228603884577751,
-0.004469826351851225,
0.029565885663032532,
-0.00986176636070013,
0.0050958930514752865,
-0.08968771994113922,
0.03337081894278526,
0.0011483959387987852,
-0.04651337116956711,
-0.03964119404554367,
0.03222545608878136,
-0.027294574305415154,
-0.02203367091715336,
-0.040340058505535126,
0.0005065560108050704,
0.011414800770580769,
-0.0011544624576345086,
-0.005998594220727682,
-0.008910533040761948,
-0.05777286738157272,
-0.01156039722263813,
0.012249556370079517,
-0.03364260122179985,
-0.05948120355606079,
0.026906315237283707,
-0.027178095653653145,
0.013802589848637581,
-0.05000769719481468,
0.041698966175317764,
0.011327441781759262,
-0.05823877826333046,
0.015258559957146645,
-0.011841884814202785,
0.002162114717066288,
0.008595072664320469,
0.05121129751205444,
-0.013773471117019653,
0.02836228534579277,
-0.0069740936160087585,
-0.030381228774785995,
0.03682631999254227,
-0.00816313549876213,
-0.014695584774017334,
0.011278909631073475,
-0.015938011929392815,
-0.02139304392039776,
0.03278843313455582,
-0.003870452055707574,
0.034457944333553314,
-0.05427854135632515,
-0.02908056229352951,
0.046823978424072266,
-0.04530976712703705,
0.009580278769135475,
0.003414248349145055,
-0.005290022119879723,
-0.016627170145511627,
0.0033026239834725857,
-0.14140374958515167,
0.014530574902892113,
-0.003778240643441677,
-0.012152491137385368,
-0.07901060581207275,
-0.04282491281628609,
-0.07155604660511017,
0.019781772047281265,
0.05455031991004944,
-0.02508150041103363,
0.040456537157297134,
-0.028731130063533783,
-0.0028682597912847996,
0.0017532298807054758,
0.04930883273482323,
0.0297988411039114,
0.0007109984289854765,
0.04232017695903778,
-0.02919704094529152,
-0.05598687753081322,
0.0026425844989717007,
-0.023373162373900414,
-0.01912173256278038,
0.029468821361660957,
0.05823877826333046,
-0.03443853184580803,
-0.007245874498039484,
0.046940453350543976,
0.03523445874452591,
0.012812530621886253,
-0.0021208622492849827,
0.04628041386604309,
-0.04065066576004028,
-0.050900690257549286,
-0.029779428616166115,
-0.00822137389332056,
-0.05008534714579582,
0.009449241682887077,
0.015442982316017151,
0.05719047784805298,
0.061500150710344315,
-0.02535328082740307,
0.0476781465113163,
-0.0015530340606346726,
0.06111188977956772,
0.003370569320395589,
-0.020694179460406303,
0.008561099879443645,
-0.0066537801176309586,
0.01807343401014805,
0.02040298469364643,
0.03760283812880516,
-0.040456537157297134,
-0.0032662248704582453,
0.021820127964019775,
-0.02119891531765461,
-0.02535328082740307,
0.04631924256682396,
-0.024460285902023315,
-0.03523445874452591,
-0.01389965508133173,
-0.01775312051177025,
0.029934732243418694,
0.012045720592141151,
-0.008726109750568867,
0.015413862653076649,
-0.010143253952264786,
0.07128426432609558,
-0.02255781926214695,
-0.04748401790857315,
-0.020538875833153725,
-0.026615120470523834,
-0.0392141118645668,
-0.00025312634534202516,
-0.006940120831131935,
0.0240332018584013,
-0.02655688300728798,
-0.05827760323882103,
0.013064899481832981,
0.061577800661325455,
0.007401178125292063,
-0.05311376601457596,
0.044455599039793015,
0.018694646656513214,
-0.025139739736914635,
0.03515680879354477,
0.009910298511385918,
0.031099507585167885,
0.016345683485269547,
-0.009565719403326511,
-0.006284934934228659,
0.030750075355172157,
-0.012210730463266373,
0.04367908462882042,
-0.05245372653007507,
-0.01527797244489193,
0.04278608784079552,
-0.01620008610188961,
0.04771697148680687,
0.006547009106725454,
0.02119891531765461,
0.012725172564387321,
0.006823643576353788,
-0.004705207888036966,
0.04360143095254898,
0.027779897674918175,
-0.0199953131377697,
0.06957592815160751,
0.006294641178101301,
-0.007056598551571369,
0.015481808222830296,
-0.05299728736281395,
-0.05691869929432869,
0.06903236359357834,
-0.026809250935912132,
-0.06406265497207642,
0.008201961405575275,
0.010036482475697994,
-0.026828663423657417,
0.047056932002305984,
-0.0758657157421112,
-0.0007777303690090775,
-0.010589751414954662,
-0.004705207888036966,
0.008017538115382195,
-0.024072028696537018,
-0.007969005964696407,
-0.0199953131377697,
0.03950530290603638,
-0.011065367609262466,
0.06060715392231941,
0.02927469275891781,
-0.04084479436278343,
0.020888308063149452,
0.03628275915980339,
0.09543394297361374,
-0.04134953022003174,
-0.0667804628610611,
0.06926532089710236,
-0.026052147150039673,
0.03884526342153549,
0.03583626076579094,
0.057462260127067566,
0.038457006216049194,
0.00922113936394453,
-0.055210359394550323,
0.03587508574128151,
0.03160424157977104,
-0.006294641178101301,
-0.05513270944356918,
-0.01427820697426796,
0.014559694565832615,
0.02071359194815159,
-0.0511336475610733,
-0.03872878849506378,
-0.054744452238082886,
0.01301636639982462,
-0.00967734307050705,
-0.020189443603157997,
0.05074538663029671,
-0.0639461800456047,
0.02972118929028511,
0.005294875707477331,
-0.0014596093678846955,
0.008017538115382195,
-0.0003442761080805212,
0.01552063412964344,
0.04530976712703705,
-0.05187133699655533,
0.00534826098009944,
-0.0031497471500188112,
-0.04942530766129494,
0.002710529835894704,
0.039019979536533356,
-0.04798875376582146,
-0.008148575201630592,
0.06872175633907318,
-0.0020310773979872465,
-0.007173076272010803,
-0.03583626076579094,
-0.005891823209822178,
0.04336847737431526,
-0.028459349647164345,
0.031177159398794174,
-0.04387321323156357,
-0.01955852285027504,
-0.05284198373556137,
-0.07260434329509735,
-0.037059273570775986,
0.032982561737298965,
-0.007250727619975805,
0.0125601626932621,
0.04775579646229744,
0.07081834971904755,
-0.0060956585220992565,
-0.09349264949560165,
0.011832178570330143,
-0.01875288598239422,
-0.026537470519542694,
-0.06262610107660294,
0.03307962417602539,
0.029391169548034668,
0.04628041386604309,
-0.013802589848637581,
0.006779964547604322,
-0.05691869929432869,
-0.05940355360507965,
-0.021179502829909325,
-0.00985691323876381,
-0.013889948837459087,
-0.007643839344382286,
0.01088094525039196,
0.024984436109662056,
-0.01018207985907793,
0.03418616205453873,
0.01964588090777397,
0.07081834971904755,
-0.03410851210355759,
0.0012594135478138924,
0.04876526817679405,
0.06452856212854385,
0.025411520153284073,
0.01231750100851059,
0.024945609271526337,
0.045659203082323074,
-0.0476781465113163,
-0.0193546861410141,
0.02828463353216648,
-0.04666867479681969,
-0.02356729283928871
] |
719,662
|
ibm_platform_services.iam_access_groups_v2
|
update_account_settings
|
Update account settings.
Update the access groups settings for a specific account. Note: When the
`public_access_enabled` setting is set to false, all policies within the account
attached to the Public Access group will be deleted. Only set
`public_access_enabled` to false if you are sure that you want those policies to
be removed.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param bool public_access_enabled: (optional) This flag controls the public
access feature within the account. It is set to true by default. Note: When
this flag is set to false, all policies within the account attached to the
Public Access group will be deleted.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettings` object
|
def update_account_settings(
self,
account_id: str,
*,
public_access_enabled: bool = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Update account settings.
Update the access groups settings for a specific account. Note: When the
`public_access_enabled` setting is set to false, all policies within the account
attached to the Public Access group will be deleted. Only set
`public_access_enabled` to false if you are sure that you want those policies to
be removed.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param bool public_access_enabled: (optional) This flag controls the public
access feature within the account. It is set to true by default. Note: When
this flag is set to false, all policies within the account attached to the
Public Access group will be deleted.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettings` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='update_account_settings',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
}
data = {
'public_access_enabled': public_access_enabled,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v2/groups/settings'
request = self.prepare_request(
method='PATCH',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, public_access_enabled: Optional[bool] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.01930862106382847,
0.010235472582280636,
-0.008662326261401176,
-0.005052606109529734,
-0.006212425883859396,
-0.03731463477015495,
-0.08729460090398788,
-0.008817636407911777,
-0.022985976189374924,
0.024268541485071182,
0.008381764404475689,
-0.04048096761107445,
0.024028059095144272,
0.009158317930996418,
-0.05310622230172157,
-0.03543086722493172,
-0.00008188252832042053,
0.01128256693482399,
0.02761523425579071,
0.015410823747515678,
0.01128256693482399,
0.011212426237761974,
-0.0063326661475002766,
0.02344689704477787,
0.036673352122306824,
0.0038752511609345675,
0.061482977122068405,
0.015000002458691597,
-0.0023046096321195364,
0.03501002490520477,
0.011092185974121094,
0.002553858095780015,
-0.029158320277929306,
0.04513026773929596,
-0.028757520020008087,
-0.047855719923973083,
-0.023667339235544205,
0.04629259184002876,
-0.03324649855494499,
0.024488981813192368,
-0.06509018689393997,
0.027294592931866646,
0.05879760533571243,
-0.03150301054120064,
0.008862726390361786,
0.029358722269535065,
0.015080162324011326,
0.062324658036231995,
-0.026372749358415604,
0.0069138286635279655,
0.04869740083813667,
-0.027675354853272438,
-0.03675351291894913,
0.018857717514038086,
-0.02276553399860859,
0.02104208804666996,
-0.002124248770996928,
-0.043486982583999634,
0.019198399037122726,
-0.07843688875436783,
-0.005092686042189598,
-0.010330663062632084,
-0.014969942159950733,
-0.05190381407737732,
-0.04729459807276726,
-0.03787575662136078,
-0.04841684177517891,
0.00593687454238534,
0.005135271232575178,
-0.00421843770891428,
0.008927857503294945,
0.01243487186729908,
0.0012950904201716185,
-0.05170341581106186,
-0.10917837172746658,
0.027795596048235893,
0.006798598449677229,
0.011713428422808647,
-0.011943889781832695,
0.0329458974301815,
0.016513029113411903,
0.0022820644080638885,
0.02913828194141388,
-0.002000250853598118,
-0.0047570145688951015,
-0.011132266372442245,
-0.020881766453385353,
-0.08140281587839127,
0.007905812934041023,
-0.021803610026836395,
0.02182365022599697,
-0.02889779955148697,
0.039078161120414734,
-0.030721448361873627,
0.024709422141313553,
0.012134270742535591,
0.01788577437400818,
-0.06272546201944351,
-0.08456914871931076,
-0.013456915505230427,
-0.0536673441529274,
-0.09274550527334213,
0.0018461926374584436,
-0.016082167625427246,
0.07318638265132904,
-0.021503008902072906,
0.0038627260364592075,
-0.028617238625884056,
0.046332672238349915,
-0.016823649406433105,
0.035150304436683655,
-0.03537074849009514,
-0.020821645855903625,
-0.01741483248770237,
0.041082169860601425,
0.01775551401078701,
-0.042364735156297684,
-0.03280561789870262,
0.011092185974121094,
0.0023785072844475508,
0.02070140652358532,
0.05563127249479294,
0.008512025699019432,
0.03645291179418564,
0.035150304436683655,
0.02703407220542431,
0.00024173350539058447,
0.043687380850315094,
0.03783567622303963,
0.015460924245417118,
-0.06012025102972984,
-0.019679361954331398,
-0.0059719448909163475,
0.011202406138181686,
0.0378156378865242,
0.017294591292738914,
0.0438477024435997,
0.0024248501285910606,
-0.033186376094818115,
-0.008507015183568,
0.012695392593741417,
0.020541084930300713,
0.024168340489268303,
-0.021302608773112297,
0.00502254581078887,
-0.012474952265620232,
0.03961924463510513,
-0.04140281304717064,
-0.05503007024526596,
-0.0230060163885355,
-0.0019426356302574277,
-0.021743491291999817,
-0.01307615451514721,
0.01930862106382847,
-0.06336674094200134,
0.014969942159950733,
0.04248497635126114,
0.000012622904250747524,
0.029058121144771576,
-0.008947896771132946,
-0.04296593740582466,
0.06761524081230164,
0.05286573991179466,
-0.014488980174064636,
0.02182365022599697,
-0.028136277571320534,
-0.008632265962660313,
-0.0351102277636528,
-0.003131262958049774,
-0.06004009023308754,
0.006492986809462309,
0.01167334895581007,
-0.02595190703868866,
0.017605213448405266,
-0.028757520020008087,
0.01116232667118311,
0.026893792673945427,
-0.04849700257182121,
-0.03026052564382553,
0.003917836118489504,
-0.00007471976277884096,
0.01103206630796194,
0.020761527121067047,
0.02971944399178028,
0.01476954109966755,
0.0050676362589001656,
0.0052905818447470665,
0.057314638048410416,
-0.04625251144170761,
-0.029599202796816826,
0.06649299710988998,
-0.01602204702794552,
0.03845692053437233,
-0.04645291343331337,
-0.030741488561034203,
-0.03346693888306618,
-0.00017644667241256684,
-0.10492987930774689,
0.009213428013026714,
0.0012612727005034685,
0.021523049101233482,
-0.05178357660770416,
0.04841684177517891,
0.04232465475797653,
0.06601203233003616,
0.0014316134620457888,
0.03006012551486492,
-0.05234469845890999,
0.01086172554641962,
0.029699403792619705,
-0.019158320501446724,
-0.010380763560533524,
-0.010245492681860924,
-0.025090184062719345,
-0.015681365504860878,
0.06340682506561279,
0.0448497049510479,
0.01209419034421444,
0.01829659566283226,
-0.019559120759367943,
-0.02545090578496456,
-0.002555110724642873,
0.015671344473958015,
-0.030541086569428444,
0.023827658966183662,
0.014629260636866093,
0.027895795181393623,
-0.022685375064611435,
-0.0482565201818943,
0.0013326655607670546,
0.003061122726649046,
0.019669340923428535,
-0.035731468349695206,
-0.01609218679368496,
0.017194392159581184,
-0.049418844282627106,
-0.012134270742535591,
-0.09162326157093048,
0.034989986568689346,
-0.025290584191679955,
0.006112225353717804,
0.0008491985499858856,
0.016953909769654274,
0.04180361330509186,
-0.12128258496522903,
-0.0004195892543066293,
-0.04412826523184776,
-0.028316637501120567,
0.006292586214840412,
-0.04837676137685776,
0.014078158885240555,
-0.05711423605680466,
-0.04496994614601135,
0.07370742410421371,
-0.020961927250027657,
-0.010430863127112389,
-0.006122245453298092,
-0.008306614123284817,
-0.0065430873073637486,
-0.01619238778948784,
0.006292586214840412,
-0.06064129248261452,
-0.06424850970506668,
-0.06561123579740524,
0.08376754820346832,
0.02192385122179985,
0.038036078214645386,
0.007980963215231895,
0.05130261182785034,
0.030100205913186073,
0.11470943689346313,
0.04340682178735733,
0.01162324845790863,
0.05018036812543869,
-0.03501002490520477,
0.04681363329291344,
0.04685371369123459,
0.0021668339613825083,
0.007550101261585951,
-0.03458918258547783,
0.0007753007230348885,
-0.049378763884305954,
-0.024068139493465424,
0.010831665247678757,
0.07587175816297531,
0.0008022295660339296,
-0.003013527486473322,
0.06601203233003616,
-0.006518037058413029,
0.06224449723958969,
0.006032065022736788,
0.0197595227509737,
-0.0493386834859848,
-0.03517034649848938,
-0.031022049486637115,
0.013186374679207802,
-0.026853712275624275,
-0.014388780109584332,
0.03194389119744301,
0.018647298216819763,
0.00210921885445714,
0.03849700093269348,
-0.023326657712459564,
0.004358718171715736,
0.0536673441529274,
0.043086178600788116,
0.05759520083665848,
0.04144289344549179,
0.07226453721523285,
0.08152306079864502,
-0.0008022295660339296,
-0.03929860517382622,
-0.008817636407911777,
0.02663327008485794,
-0.0024135776329785585,
-0.07583167403936386,
0.025270545855164528,
-0.006713428068906069,
0.011753508821129799,
0.03184369206428528,
-0.07146293669939041,
0.008151303976774216,
0.00318136322312057,
-0.028476959094405174,
0.015711424872279167,
0.015390783548355103,
0.04008016735315323,
0.04292585700750351,
0.007274550385773182,
-0.02276553399860859,
-0.013206414878368378,
-0.034809622913599014,
0.04082164913415909,
-0.014959922060370445,
-0.05386774241924286,
-0.016993990167975426,
0.03442886471748352,
-0.010380763560533524,
0.035390786826610565,
0.05899800360202789,
0.003101202892139554,
0.02991984412074089,
0.02100200764834881,
-0.018857717514038086,
-0.07719440013170242,
-0.01619238778948784,
0.04513026773929596,
0.03022044524550438,
-0.0008673598640598357,
0.01055110339075327,
0.013466935604810715,
0.0019889783579856157,
0.03144289180636406,
0.036172349005937576,
0.03226453438401222,
-0.00804609339684248,
0.02344689704477787,
0.04336674138903618,
0.006873748730868101,
-0.042845699936151505,
-0.04845692217350006,
-0.04432866349816322,
0.02669339068233967,
0.005225451663136482,
0.03458918258547783,
-0.02899800054728985,
-0.07675351947546005,
-0.016883770003914833,
0.07551103085279465,
-0.05230461806058884,
0.056673355400562286,
-0.024008018895983696,
0.016953909769654274,
-0.007565131410956383,
0.0559118315577507,
0.07531063258647919,
-0.07066133618354797,
0.011603208258748055,
-0.008902806788682938,
-0.0008016033098101616,
0.06368738412857056,
-0.0334068201482296,
0.02158316969871521,
0.037935879081487656,
0.0026978962123394012,
0.0224649328738451,
0.04104208946228027,
-0.03629259020090103,
-0.00421843770891428,
-0.0047570145688951015,
-0.001992735778912902,
0.03641283139586449,
-0.04729459807276726,
0.0006475452100858092,
-0.08232466131448746,
0.03639279305934906,
-0.028517037630081177,
-0.005641283467411995,
-0.041763532906770706,
-0.05631263554096222,
-0.02565130591392517,
-0.05919840559363365,
0.05470942705869675,
-0.01579158566892147,
0.04412826523184776,
-0.051182374358177185,
0.014268538914620876,
0.00860721617937088,
0.012254511006176472,
-0.01128256693482399,
-0.01964930258691311,
0.01843687705695629,
-0.017605213448405266,
0.019529061391949654,
-0.048737481236457825,
0.01991984248161316,
-0.04082164913415909,
-0.0008967937319539487,
0.00740481074899435,
-0.017835674807429314,
0.037294596433639526,
-0.016342688351869583,
-0.06176353618502617,
-0.0012788077583536506,
-0.011492988094687462,
-0.05827656388282776,
0.029959924519062042,
-0.013446896336972713,
0.03418838232755661,
-0.04008016735315323,
0.028917839750647545,
-0.012344690971076488,
-0.02310621552169323,
-0.009599199518561363,
0.0033667339012026787,
0.02795591577887535,
0.0416833721101284,
-0.007590181659907103,
-0.0016395293641835451,
0.020681366324424744,
0.033967941999435425,
0.010120241902768612,
-0.014989982359111309,
-0.07426854968070984,
-0.0006600702181458473,
0.006052105221897364,
0.02977956458926201,
-0.032064132392406464,
0.017194392159581184,
-0.02771543525159359,
0.009639279916882515,
0.028076156973838806,
0.027394793927669525,
-0.026753511279821396,
-0.03046092577278614,
-0.00826653465628624,
0.00210546120069921,
-0.016372747719287872,
-0.008461925201117992,
0.02290581539273262,
0.02330661751329899,
-0.05987976863980293,
-0.06340682506561279,
0.03476954624056816,
0.010135272517800331,
0.05038077011704445,
0.07402806729078293,
0.012535071931779385,
-0.007980963215231895,
0.008902806788682938,
0.011222446337342262,
-0.04082164913415909,
-0.04889780282974243,
0.05418838560581207,
0.035731468349695206,
0.024829663336277008,
-0.02927856147289276,
-0.007309620268642902,
-0.07915832847356796,
0.034308623522520065,
-0.018517037853598595,
0.006062125321477652,
0.002037825994193554,
-0.0028006015345454216,
0.04404810443520546,
-0.10044089704751968,
0.02771543525159359,
0.01602204702794552,
-0.029078161343932152,
0.0018762528197839856,
0.05655311420559883,
-0.07414830476045609,
-0.027695395052433014,
-0.019268540665507317,
-0.07142286002635956,
-0.03154309093952179,
-0.01771543361246586,
0.0006869991193525493,
-0.016452908515930176,
-0.05723447725176811,
0.02971944399178028,
-0.05891784653067589,
0.004827155265957117,
-0.025370744988322258,
0.032745495438575745,
0.03755511716008186,
-0.06196393817663193,
0.021182367578148842,
0.017184371128678322,
0.0013076154282316566,
-0.043727461248636246,
0.04002004489302635,
-0.054228466004133224,
-0.04042084887623787,
0.02330661751329899,
0.03923848271369934,
0.0029934875201433897,
0.024268541485071182,
0.0032139283139258623,
-0.06917836517095566,
0.00604709517210722,
-0.004559118766337633,
0.02883767895400524,
0.07210422307252884,
0.020490985363721848,
0.028577158227562904,
-0.015240482985973358,
-0.03747495636343956,
0.02070140652358532,
-0.0438477024435997,
0.023507017642259598,
0.019138280302286148,
-0.04232465475797653,
-0.01623246818780899,
0.05230461806058884,
-0.05110221356153488,
-0.03370742127299309,
-0.031462930142879486,
-0.08076153695583344,
0.09707416594028473,
-0.02673347108066082,
-0.037154313176870346,
-0.01086172554641962,
-0.06593187153339386,
-0.017645293846726418,
0.008111223578453064,
0.03086172789335251,
-0.007464930880814791,
0.008221443742513657,
-0.025811627507209778,
0.033426858484745026,
-0.014969942159950733,
0.09066133946180344,
0.05979960784316063,
-0.02511022426187992,
0.04296593740582466,
-0.06408818811178207,
-0.07655312120914459,
-0.022945895791053772,
-0.016282567754387856,
-0.006673347670584917,
0.0006669590366072953,
-0.017234472557902336,
-0.0016720944549888372,
-0.016823649406433105,
-0.006698397919535637,
0.032344695180654526,
0.07146293669939041,
-0.014709421433508396,
0.018376756459474564,
-0.05406814441084862,
0.04533066973090172,
-0.05963928624987602,
-0.039458923041820526,
-0.0257114265114069,
0.0002628695219755173,
0.041282571852207184,
-0.02212425135076046,
0.001074649509973824,
0.050741489976644516,
-0.01103206630796194,
-0.01710421033203602,
0.013086174614727497,
0.00534569239243865,
-0.016753509640693665,
0.012935874052345753,
-0.00816633366048336,
0.0257114265114069,
0.03090180829167366,
0.050501011312007904,
-0.01859719678759575,
0.040200408548116684,
-0.0051953913643956184,
-0.04046092927455902,
-0.003549599787220359,
0.03312625735998154,
-0.0378156378865242,
-0.06196393817663193,
0.03022044524550438,
-0.022965935990214348,
-0.02144288830459118,
-0.008491985499858856,
0.004726954735815525,
0.03458918258547783,
0.00517535163089633,
0.07302606105804443,
0.05515030771493912,
-0.008156313560903072,
0.020661326125264168,
-0.0323246531188488,
-0.032885774970054626,
-0.0323246531188488,
0.04336674138903618,
-0.04773547872900963,
0.024649301543831825,
-0.03685371205210686,
-0.0038752511609345675,
0.03879760205745697,
0.003637275192886591,
-0.046372752636671066,
0.004000501707196236,
0.06533066928386688,
-0.056673355400562286,
0.0371943935751915,
-0.021523049101233482,
0.04488978534936905,
0.033426858484745026,
-0.03216433525085449,
-0.05130261182785034,
-0.007409820798784494,
-0.02334669791162014,
0.07326654344797134,
-0.05779559910297394,
-0.025370744988322258,
0.001973948208615184,
-0.020150303840637207,
-0.03280561789870262,
0.01103206630796194,
0.026613229885697365,
0.01047094352543354,
0.10324651002883911,
0.0004637400561477989,
0.026893792673945427,
0.02517034485936165,
0.01877755858004093,
0.059719447046518326,
-0.024889783933758736,
-0.046332672238349915,
-0.040300607681274414,
-0.014849701896309853,
-0.09378758817911148,
0.02009018324315548,
-0.0514228530228138,
-0.03260521590709686,
0.0306613277643919,
0.02775551564991474,
0.0235871784389019,
0.010200402699410915,
-0.004353708121925592,
0.001558116520754993,
-0.018817638978362083,
-0.03432866185903549,
-0.029158320277929306,
-0.008111223578453064,
0.0224649328738451,
0.02074148692190647,
-0.02144288830459118,
0.04621243104338646,
0.06977956742048264,
-0.03482966497540474,
0.035490985959768295,
0.0257114265114069,
-0.019018039107322693,
0.04082164913415909,
0.012755513191223145,
0.06172345578670502,
0.0043336679227650166,
-0.0058767544105648994,
-0.007134269457310438,
0.019899802282452583,
0.03398798033595085,
-0.017915833741426468,
0.011523047462105751,
-0.026753511279821396,
0.02104208804666996,
-0.053547102957963943,
0.013827657327055931,
-0.051623255014419556,
-0.062124259769916534,
0.05899800360202789,
-0.025370744988322258,
-0.06204409897327423,
-0.029599202796816826,
-0.015370744280517101,
0.09498999267816544,
-0.03492986410856247,
0.01064128428697586,
0.023927859961986542,
-0.012815632857382298,
-0.0022231966722756624,
-0.00402304669842124,
-0.07402806729078293,
0.038376759737730026,
-0.00306613277643919,
0.025050103664398193,
0.002622745931148529,
-0.0075050112791359425,
-0.04773547872900963,
0.042605217546224594,
-0.0028181367088109255,
-0.04689379408955574,
0.07635271549224854,
-0.011883769184350967,
-0.0024248501285910606,
-0.02144288830459118,
0.032785575836896896,
0.0038577159866690636,
-0.01192384958267212,
0.019398801028728485,
0.06176353618502617,
-0.0252104252576828,
0.026012027636170387,
-0.015631264075636864,
-0.004298598039895296,
0.02412826009094715,
-0.04428858309984207,
-0.025911828503012657,
0.09923849254846573,
-0.023967940360307693,
-0.010115232318639755,
0.030681367963552475,
0.01656312867999077,
-0.026352709159255028,
-0.016442887485027313,
-0.01106212567538023,
0.03537074849009514,
-0.003985471557825804,
-0.02094188705086708,
-0.003201403422281146,
0.036573152989149094,
0.052705418318510056,
0.019188379868865013,
-0.022505013272166252,
-0.04641283303499222,
-0.03322645649313927,
0.00033504512975923717,
-0.0004671844362746924,
0.03184369206428528,
0.03641283139586449,
0.009514029137790203,
0.011583168059587479,
-0.008426855318248272,
0.013647296465933323,
0.04669339582324028,
0.022525053471326828,
0.006613227538764477,
-0.04468938708305359,
0.027555113658308983,
0.042645297944545746,
0.035971950739622116,
0.02673347108066082,
0.027094192802906036,
0.024749502539634705,
0.017605213448405266,
0.030681367963552475,
0.020070143043994904,
0.00204158341512084,
-0.014979962259531021
] |
719,663
|
ibm_platform_services.iam_access_groups_v2
|
update_assignment
|
Update Assignment.
Endpoint to update template assignment.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the Assignment to be updated. Specify the
version that you retrieved when reading the Assignment. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param str template_version: Template version which shall be applied to the
assignment.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentVerboseResponse` object
|
def update_assignment(
self,
assignment_id: str,
if_match: str,
template_version: str,
**kwargs,
) -> DetailedResponse:
"""
Update Assignment.
Endpoint to update template assignment.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the Assignment to be updated. Specify the
version that you retrieved when reading the Assignment. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param str template_version: Template version which shall be applied to the
assignment.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentVerboseResponse` object
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
if template_version is None:
raise ValueError('template_version must be provided')
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='update_assignment',
)
headers.update(sdk_headers)
data = {
'template_version': template_version,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PATCH',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, if_match: str, template_version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.04002166539430618,
0.011787457391619682,
-0.07269241660833359,
-0.04596180096268654,
-0.0007784826448187232,
-0.011295540258288383,
-0.05442649498581886,
-0.01345812063664198,
-0.041506700217723846,
-0.020177898928523064,
0.006501664407551289,
-0.07922656089067459,
0.007517984602600336,
0.03009050153195858,
-0.0011433601612225175,
-0.027955764904618263,
0.00897053349763155,
-0.0020848484709858894,
0.03358033299446106,
-0.039130646735429764,
0.02726893685758114,
0.00005286082887323573,
0.01815454103052616,
0.07469721138477325,
0.0117967389523983,
-0.03200248256325722,
0.08167687058448792,
-0.028122831135988235,
0.036383334547281265,
0.03909352049231529,
-0.0068311565555632114,
0.015128783881664276,
-0.014655428938567638,
0.07729601860046387,
-0.0032160268165171146,
-0.036828842014074326,
-0.030647389590740204,
0.013467402197420597,
-0.12288656085729599,
0.007364840712398291,
-0.015082377009093761,
0.0411725677549839,
0.011304821819067001,
-0.02192281372845173,
-0.004018873441964388,
0.03211386129260063,
0.007685050833970308,
-0.014673992060124874,
0.05442649498581886,
-0.0041580949909985065,
0.028159957379102707,
-0.03367314487695694,
-0.03725579008460045,
0.029979124665260315,
-0.02951505035161972,
0.05925285816192627,
0.009276822209358215,
0.002097610617056489,
0.01917550154030323,
-0.08635472506284714,
-0.011351228691637516,
-0.02929229661822319,
-0.05086241289973259,
-0.021755747497081757,
-0.0717642679810524,
-0.012047338299453259,
-0.03332044929265976,
0.011722487397491932,
-0.030498886480927467,
-0.0048913308419287205,
-0.05082529038190842,
0.026433605700731277,
-0.013597342185676098,
-0.04807797446846962,
0.017662623897194862,
0.06615826487541199,
-0.041024062782526016,
-0.004858845844864845,
0.025616835802793503,
-0.02368629164993763,
-0.01150901336222887,
-0.006492382846772671,
0.021718623116612434,
-0.027194684371352196,
0.008979815058410168,
-0.03703303635120392,
-0.016715914011001587,
-0.04945163056254387,
-0.0338587760925293,
-0.03835100308060646,
0.03742285817861557,
-0.01621471531689167,
-0.005267229862511158,
0.009179366752505302,
0.054018113762140274,
0.0036499351263046265,
0.0032577933743596077,
-0.08850802481174469,
-0.04714982956647873,
0.013643749989569187,
-0.03905639424920082,
-0.05992112308740616,
-0.012548536993563175,
-0.0040583196096122265,
0.04369712620973587,
-0.07514271885156631,
0.004206822719424963,
0.03114858828485012,
0.00607471726834774,
-0.04733545705676079,
0.0253569558262825,
0.014386266469955444,
-0.06916546076536179,
0.008186249993741512,
0.019286878407001495,
0.017996756359934807,
-0.05156780406832695,
-0.08264214545488358,
0.040801309049129486,
-0.03499111533164978,
-0.003933019936084747,
-0.019565323367714882,
-0.0007616599905304611,
0.06277981400489807,
0.04577617347240448,
-0.024335995316505432,
-0.06671515107154846,
-0.01475752517580986,
-0.0014977960381656885,
-0.07462295889854431,
-0.0156856719404459,
-0.015694953501224518,
-0.036346208304166794,
0.007216337136924267,
-0.010952126234769821,
0.005573518108576536,
-0.004858845844864845,
0.006715137977153063,
0.008701371029019356,
-0.019602449610829353,
0.03476835787296295,
-0.026674922555685043,
0.0005397750646807253,
-0.014191356487572193,
-0.015091657638549805,
-0.04291748255491257,
0.055911529809236526,
0.04581329971551895,
-0.013606623746454716,
0.005675614345818758,
-0.01504525076597929,
-0.00029265612829476595,
0.004717303439974785,
0.002147498307749629,
-0.03239230439066887,
0.011852427385747433,
0.0219599399715662,
-0.03057313710451126,
0.0529414638876915,
-0.04930312931537628,
0.009726972319185734,
-0.04291748255491257,
0.0296078659594059,
0.048449233174324036,
0.09222061187028885,
-0.027807261794805527,
-0.0439198799431324,
-0.016279684379696846,
-0.000437388924183324,
-0.04625881090760231,
-0.024595875293016434,
0.030777329578995705,
-0.045182161033153534,
-0.03397015109658241,
-0.024930007755756378,
0.01878567971289158,
0.048671990633010864,
0.007791787851601839,
0.044068384915590286,
0.033246200531721115,
0.005058397073298693,
-0.01988089270889759,
-0.025431206449866295,
0.07699901610612869,
0.011007814668118954,
0.023537788540124893,
-0.0038819718174636364,
0.08635472506284714,
-0.027510255575180054,
-0.03502823784947395,
0.06151753291487694,
-0.08821102231740952,
0.015490761026740074,
0.018191667273640633,
-0.010961406864225864,
-0.03469410538673401,
0.0496743880212307,
-0.058658841997385025,
0.0705762431025505,
0.03133421763777733,
0.007480858825147152,
-0.07595948874950409,
0.005768429022282362,
0.07774153351783752,
0.020753350108861923,
0.04559054225683212,
0.08316190540790558,
-0.019156938418745995,
-0.013374587520956993,
-0.002457267139106989,
-0.028698282316327095,
0.020029395818710327,
0.004318200517445803,
0.01091499999165535,
-0.011852427385747433,
0.020641973242163658,
0.05327559635043144,
-0.03066595271229744,
-0.0005020691314712167,
-0.010645837523043156,
-0.08256789296865463,
0.01613118126988411,
-0.007281307131052017,
-0.02970067970454693,
0.0008625959162600338,
-0.035325247794389725,
0.00998685322701931,
0.04989714175462723,
-0.08375591784715652,
0.012446441687643528,
0.06407921761274338,
-0.002105731749907136,
0.07863254845142365,
-0.00286101084202528,
-0.007220977917313576,
-0.022906649857759476,
-0.06719779223203659,
-0.02266533114016056,
-0.04599892720580101,
0.005977261811494827,
0.010840748436748981,
0.015982678160071373,
0.03697734698653221,
0.030387507751584053,
-0.058436088263988495,
-0.023055152967572212,
-0.04247197136282921,
-0.010441645048558712,
0.0384252555668354,
-0.06545287370681763,
0.0263407900929451,
-0.046592943370342255,
-0.06159178540110588,
0.04781809449195862,
-0.02160724438726902,
0.029180917888879776,
0.007522625382989645,
-0.0180710069835186,
0.049377381801605225,
-0.0037613126914948225,
-0.02429886907339096,
0.023704854771494865,
-0.06482173502445221,
-0.03623482957482338,
-0.0002756884496193379,
-0.045404914766550064,
-0.044699523597955704,
0.026452168822288513,
0.02049347013235092,
0.020660536363720894,
0.09853200614452362,
0.008037746883928776,
0.05164205655455589,
0.0203264020383358,
-0.014544052071869373,
0.013300335966050625,
0.031575534492731094,
0.029088104143738747,
0.001500116428360343,
-0.046370185911655426,
0.05992112308740616,
-0.023036589846014977,
0.023073716089129448,
0.044513896107673645,
0.037144411355257034,
0.01398716401308775,
-0.013272491283714771,
0.07569960504770279,
0.028178520500659943,
-0.008344034664332867,
-0.002162580844014883,
0.04291748255491257,
-0.023871921002864838,
0.012232967652380466,
-0.04785522073507309,
0.06526724249124527,
-0.029663553461432457,
-0.004230026621371508,
0.06493311375379562,
0.0065109459683299065,
0.023222219198942184,
-0.01528656855225563,
0.037144411355257034,
-0.03460129350423813,
-0.01051589660346508,
0.004858845844864845,
0.03486117348074913,
0.05394386127591133,
-0.003707944182679057,
0.019732389599084854,
0.029849182814359665,
-0.01115631777793169,
-0.04533066228032112,
-0.002545441035181284,
0.0003689381410367787,
-0.006000465713441372,
0.007671128958463669,
0.025208452716469765,
0.030368944630026817,
0.0033459672704339027,
-0.05156780406832695,
0.0016091736033558846,
0.0594756118953228,
0.01331889908760786,
0.02151443064212799,
-0.04206358641386032,
0.07982058078050613,
0.032058171927928925,
0.050973791629076004,
0.05249595269560814,
-0.032726436853408813,
0.02054915763437748,
0.0019885534420609474,
-0.03053601086139679,
0.004134891554713249,
-0.0384252555668354,
-0.003861088305711746,
-0.03326475992798805,
0.021013231948018074,
0.03924202173948288,
0.02090185321867466,
-0.012242249213159084,
0.059846870601177216,
-0.005647770129144192,
-0.038016870617866516,
0.0033668505493551493,
-0.02823420986533165,
0.020883290097117424,
-0.0190826877951622,
-0.01811741478741169,
-0.05917860567569733,
0.03124140202999115,
0.03619770333170891,
0.012167997658252716,
0.01469255518168211,
0.004547916818410158,
0.025505458936095238,
0.0038262829184532166,
-0.0041627357713878155,
-0.011007814668118954,
-0.07484571635723114,
-0.008223376236855984,
0.009532062336802483,
-0.011926678940653801,
-0.008344034664332867,
-0.034359972923994064,
-0.02983061969280243,
0.014618303626775742,
-0.0033807726576924324,
-0.022386888042092323,
-0.041432447731494904,
-0.007671128958463669,
0.014989562332630157,
-0.04499652981758118,
-0.02077191323041916,
0.03502823784947395,
-0.07655350118875504,
0.046333059668540955,
-0.023296471685171127,
-0.06140615791082382,
0.06385646015405655,
-0.056542668491601944,
-0.034619856625795364,
0.016855135560035706,
-0.03697734698653221,
-0.024020424112677574,
0.007304511032998562,
-0.036067765206098557,
0.021662933751940727,
0.05502051115036011,
0.050713911652565,
0.004123289603739977,
0.022869523614645004,
-0.05505763739347458,
-0.03423003479838371,
0.027862951159477234,
-0.08137986063957214,
-0.0008306909003295004,
-0.0004829260869883001,
-0.01303117349743843,
0.0012912835227325559,
0.02858690544962883,
0.02606234699487686,
0.020530594512820244,
0.0411725677549839,
-0.00702606700360775,
0.09155234694480896,
-0.01965813711285591,
0.007513343822211027,
-0.024373119696974754,
0.021681496873497963,
-0.002573285484686494,
-0.05412948876619339,
-0.014497644267976284,
-0.011128474026918411,
0.07206127792596817,
0.015416509471833706,
-0.006821874994784594,
0.014776088297367096,
0.0033738117199391127,
0.017217112705111504,
0.040058791637420654,
0.03358033299446106,
0.0028401275631040335,
-0.017523400485515594,
-0.06730916351079941,
0.00925825908780098,
-0.025431206449866295,
0.009276822209358215,
-0.027380313724279404,
-0.035065364092588425,
0.009337151423096657,
-0.017031483352184296,
0.030387507751584053,
0.013820097781717777,
0.015323694795370102,
0.041283946484327316,
0.04180370643734932,
-0.009109755046665668,
-0.02483719401061535,
0.045664794743061066,
0.0029747087974101305,
0.007759302854537964,
-0.012205122970044613,
-0.05780494958162308,
0.05175343528389931,
-0.06285406649112701,
-0.07183852046728134,
-0.07191277295351028,
0.028642592951655388,
0.06667802482843399,
0.0297378059476614,
-0.005522469989955425,
0.04176658019423485,
-0.054463621228933334,
-0.06883132457733154,
0.024354558438062668,
-0.018794961273670197,
-0.0025895279832184315,
-0.05557739734649658,
-0.005406451877206564,
-0.0050305528566241264,
0.05995824933052063,
0.04388275370001793,
-0.015147347003221512,
-0.014200638048350811,
0.04176658019423485,
0.016762321814894676,
-0.03565938025712967,
-0.004364607855677605,
-0.007657206617295742,
-0.03393302857875824,
-0.02442880906164646,
0.08063734322786331,
0.0049795047380030155,
0.04072705656290054,
0.014469800516963005,
-0.01621471531689167,
-0.016604537144303322,
0.02602522075176239,
-0.006473820190876722,
0.04856061190366745,
0.010887155309319496,
0.02093897946178913,
0.008297627791762352,
-0.08486969023942947,
0.03348751738667488,
-0.02938511036336422,
-0.06923971325159073,
0.0126135079190135,
-0.006803311873227358,
-0.04321448877453804,
-0.026210850104689598,
-0.022609643638134003,
-0.04971151426434517,
-0.03124140202999115,
-0.00029512151377275586,
0.015407227911055088,
-0.013597342185676098,
-0.01895274594426155,
0.015008124522864819,
-0.00042317667976021767,
0.052904337644577026,
-0.03194679319858551,
0.06805168092250824,
0.009462450630962849,
-0.004325161688029766,
-0.01168536115437746,
0.03499111533164978,
0.0624828040599823,
-0.013931475579738617,
0.007569032721221447,
-0.0019189424347132444,
-0.00613040616735816,
0.05995824933052063,
0.09066132456064224,
0.01939825713634491,
-0.010812903754413128,
0.0006259186193346977,
-0.02164437063038349,
0.004062960390001535,
0.00066420465009287,
0.018191667273640633,
-0.00229716207832098,
0.006710497196763754,
0.011249132454395294,
0.0006717458600178361,
-0.036439020186662674,
0.0050305528566241264,
-0.0060561541467905045,
-0.06794030219316483,
0.0358821339905262,
-0.024762941524386406,
-0.011648235842585564,
0.011806020513176918,
0.031835418194532394,
-0.028048580512404442,
-0.0042810747399926186,
-0.06983372569084167,
-0.007211696356534958,
-0.029310857877135277,
0.04733545705676079,
-0.03569650650024414,
-0.05951273813843727,
-0.04269472882151604,
-0.008399724029004574,
-0.013578779995441437,
0.021978503093123436,
-0.013736564666032791,
-0.047706715762615204,
-0.01416351180523634,
-0.02884678542613983,
0.034044403582811356,
0.03176116570830345,
-0.05606003478169441,
0.05828758329153061,
-0.016140462830662727,
0.005350762978196144,
0.0011172560043632984,
0.007262744475156069,
-0.022349761798977852,
-0.03495398908853531,
0.04458814486861229,
-0.013235365971922874,
0.011638954281806946,
0.02778869867324829,
0.05617140978574753,
-0.00019099509518127888,
-0.0539809875190258,
0.02134736441075802,
-0.024985697120428085,
0.008780263364315033,
0.0030164753552526236,
-0.05832470953464508,
-0.026786301285028458,
-0.0569881796836853,
-0.007276666816323996,
0.0046175275929272175,
0.05628278851509094,
0.04663006588816643,
-0.004464383702725172,
0.005949417594820261,
0.06203729659318924,
-0.03393302857875824,
-0.012000931426882744,
0.03456416726112366,
-0.0031417750287801027,
0.022702457383275032,
0.013792253099381924,
0.041432447731494904,
-0.032986316829919815,
-0.024762941524386406,
0.03729291632771492,
-0.015212316997349262,
-0.01815454103052616,
0.060329508036375046,
-0.04206358641386032,
-0.0331348218023777,
0.004589683376252651,
-0.057953450828790665,
0.001145680551417172,
0.04384562745690346,
-0.04369712620973587,
0.014655428938567638,
0.06753192096948624,
0.003383093047887087,
0.008831311948597431,
0.024057550355792046,
-0.02765875868499279,
-0.02054915763437748,
0.02426174283027649,
-0.026099473237991333,
0.02461443841457367,
-0.05665404722094536,
0.031835418194532394,
-0.006023669149726629,
-0.02426174283027649,
0.0780385360121727,
-0.05112229660153389,
-0.043808504939079285,
0.0005986543255858123,
0.06886845082044601,
-0.008641041815280914,
0.045627668499946594,
0.0068311565555632114,
0.08256789296865463,
0.03502823784947395,
-0.057953450828790665,
-0.02327790856361389,
0.015388664789497852,
-0.008251219987869263,
0.02218269556760788,
-0.007272026035934687,
0.03734860569238663,
0.03655039891600609,
-0.02103179320693016,
0.022516828030347824,
-0.0030860863626003265,
0.052867211401462555,
0.012799137271940708,
0.02320365607738495,
-0.03053601086139679,
0.04210071265697479,
0.023760544136166573,
0.029682116582989693,
0.09830924868583679,
-0.006204657722264528,
-0.04132107272744179,
-0.026563545688986778,
-0.0028679720126092434,
-0.04414263740181923,
0.015741361305117607,
-0.0011770054697990417,
-0.04384562745690346,
-0.052644453942775726,
0.023871921002864838,
-0.006260346621274948,
-0.01943538337945938,
-0.039390526711940765,
0.007355559151619673,
-0.06730916351079941,
0.007225618697702885,
0.01869286596775055,
0.012557818554341793,
0.0747714638710022,
0.04024442285299301,
-0.009513499215245247,
-0.021532993763685226,
-0.004035115707665682,
0.06998223066329956,
-0.00457344064489007,
0.002273958409205079,
0.0217000599950552,
0.054946258664131165,
-0.024855757132172585,
-0.03306056931614876,
0.00011543818982318044,
-0.047001324594020844,
-0.006580556742846966,
0.018414421007037163,
0.05732231214642525,
-0.052904337644577026,
-0.0034573448356240988,
-0.019602449610829353,
-0.013727283105254173,
-0.014414111152291298,
-0.0051187267526984215,
-0.009119036607444286,
-0.019119812175631523,
0.0008776782779023051,
0.018033882603049278,
-0.014237763360142708,
-0.04302886128425598,
-0.04321448877453804,
0.009931164793670177,
-0.07525409758090973,
-0.03630908206105232,
0.034712668508291245,
0.008144482970237732,
0.002185784513130784,
0.0036592166870832443,
-0.02231263555586338,
0.022943776100873947,
0.003615129739046097,
0.009109755046665668,
0.023407848551869392,
-0.04945163056254387,
0.007856758311390877,
-0.018989872187376022,
-0.059364233165979385,
-0.004835641942918301,
0.05301571264863014,
-0.028828222304582596,
-0.022034192457795143,
0.04581329971551895,
0.052421700209379196,
-0.06162891164422035,
-0.013606623746454716,
-0.014209918677806854,
0.057990577071905136,
-0.01878567971289158,
0.031130025163292885,
-0.02138448879122734,
-0.053089965134859085,
0.00998685322701931,
-0.03619770333170891,
0.0032763562630861998,
0.037979744374752045,
-0.004543276038020849,
0.046592943370342255,
0.04158095270395279,
0.0758109837770462,
-0.03710728883743286,
-0.09207210689783096,
0.02691624127328396,
-0.011843145824968815,
-0.017486276105046272,
-0.019602449610829353,
0.01878567971289158,
0.036030638962984085,
0.04833785817027092,
-0.017309928312897682,
0.0019897136371582747,
-0.03927914798259735,
-0.01984376646578312,
0.00672906031832099,
-0.005893728695809841,
0.02695336751639843,
0.016910824924707413,
-0.01728208363056183,
0.006719778757542372,
0.0006566634983755648,
0.017792563885450363,
0.0059169321320950985,
0.0643019750714302,
-0.050973791629076004,
0.01997370645403862,
0.045887552201747894,
0.02999768778681755,
0.04098694026470184,
-0.03476835787296295,
0.04596180096268654,
0.03469410538673401,
0.0348982997238636,
-0.07603374123573303,
0.03794261813163757,
0.009406762197613716,
0.02893960103392601
] |
719,664
|
ibm_platform_services.iam_access_groups_v2
|
update_template_version
|
Update template version.
Update a template version. You can only update a version that isn't committed.
Create a new version if you need to update a committed version.
:param str template_id: ID of the template.
:param str version_num: Version number of the template.
:param str if_match: ETag value of the template version document.
:param str name: (optional) This is an optional field. If the field is
included it will change the name value for all existing versions of the
template..
:param str description: (optional) Assign an optional description for the
access group template version.
:param AccessGroupRequest group: (optional) Access Group Component.
:param List[PolicyTemplates] policy_template_references: (optional) The
policy templates associated with the template version.
:param str transaction_id: (optional) transaction id in header.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateVersionResponse` object
|
def update_template_version(
self,
template_id: str,
version_num: str,
if_match: str,
*,
name: str = None,
description: str = None,
group: 'AccessGroupRequest' = None,
policy_template_references: List['PolicyTemplates'] = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Update template version.
Update a template version. You can only update a version that isn't committed.
Create a new version if you need to update a committed version.
:param str template_id: ID of the template.
:param str version_num: Version number of the template.
:param str if_match: ETag value of the template version document.
:param str name: (optional) This is an optional field. If the field is
included it will change the name value for all existing versions of the
template..
:param str description: (optional) Assign an optional description for the
access group template version.
:param AccessGroupRequest group: (optional) Access Group Component.
:param List[PolicyTemplates] policy_template_references: (optional) The
policy templates associated with the template version.
:param str transaction_id: (optional) transaction id in header.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateVersionResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version_num:
raise ValueError('version_num must be provided')
if not if_match:
raise ValueError('if_match must be provided')
if group is not None:
group = convert_model(group)
if policy_template_references is not None:
policy_template_references = [convert_model(x) for x in policy_template_references]
headers = {
'If-Match': if_match,
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='update_template_version',
)
headers.update(sdk_headers)
data = {
'name': name,
'description': description,
'group': group,
'policy_template_references': policy_template_references,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id', 'version_num']
path_param_values = self.encode_path_vars(template_id, version_num)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_templates/{template_id}/versions/{version_num}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version_num: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, group: Optional[ibm_platform_services.iam_access_groups_v2.AccessGroupRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_access_groups_v2.PolicyTemplates]] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.07726001739501953,
-0.061285775154829025,
-0.04761551693081856,
-0.0020315793808549643,
-0.02638053148984909,
-0.039090801030397415,
-0.060479383915662766,
0.016540631651878357,
-0.05402825027704239,
0.002348376205191016,
0.017625421285629272,
-0.043813955038785934,
-0.03338846191763878,
-0.021158184856176376,
-0.036556426435709,
-0.020274993032217026,
0.07871919870376587,
-0.013622261583805084,
0.034233253449201584,
-0.019650999456644058,
0.039628397673368454,
-0.009177506901323795,
-0.017491022124886513,
0.03263966739177704,
0.05813700705766678,
-0.03732442110776901,
0.024306952953338623,
-0.037343621253967285,
0.03985879570245743,
-0.017779018729925156,
-0.04377555474638939,
-0.004819151014089584,
0.04500434175133705,
0.08317355066537857,
-0.025209343060851097,
-0.025535739958286285,
-0.004396755248308182,
0.006849530152976513,
-0.07902639359235764,
0.03985879570245743,
0.056831423193216324,
0.03884120658040047,
-0.013699060305953026,
-0.017087826505303383,
0.02292456664144993,
0.015129446052014828,
-0.02152298018336296,
0.009806300513446331,
0.003995959181338549,
0.027494119480252266,
0.0427771657705307,
-0.03129568323493004,
-0.025996536016464233,
-0.041010782122612,
-0.03717081993818283,
0.04385235533118248,
0.041049182415008545,
0.006993528921157122,
0.006014338694512844,
-0.026015736162662506,
-0.0050687482580542564,
0.007603122852742672,
-0.062168966978788376,
0.017961416393518448,
-0.057369016110897064,
0.0018791808979585767,
0.01685742847621441,
0.013382263481616974,
-0.03607643395662308,
0.011961478739976883,
-0.018422212451696396,
0.04569553583860397,
-0.001664383104071021,
-0.03776601701974869,
0.011750280857086182,
0.06316735595464706,
-0.02200297638773918,
-0.01658863201737404,
-0.008327915333211422,
-0.016377434134483337,
-0.00041039581992663443,
-0.07165367156267166,
0.013939058408141136,
-0.03475164622068405,
0.007684721611440182,
-0.015033447183668613,
0.014255855232477188,
-0.08179116994142532,
0.0007865920197218657,
0.03279326483607292,
-0.03588443621993065,
-0.03000929392874241,
-0.05921219661831856,
0.006220736540853977,
0.052453868091106415,
-0.008606312796473503,
0.05368265509605408,
-0.0900854840874672,
-0.015091046690940857,
0.023788558319211006,
0.002877570688724518,
-0.044697146862745285,
-0.013171065598726273,
-0.0021455781534314156,
0.014841449446976185,
-0.044428348541259766,
-0.04876750335097313,
0.03884120658040047,
0.013910258188843727,
-0.027071723714470863,
0.022367771714925766,
-0.032754868268966675,
-0.04707792028784752,
0.01977579854428768,
0.04139477759599686,
-0.020889386534690857,
-0.023154964670538902,
-0.012508672662079334,
-0.007886319421231747,
-0.019650999456644058,
0.04254676774144173,
-0.04005079343914986,
0.020198194310069084,
0.013046267442405224,
-0.0251709446310997,
0.020927786827087402,
-0.010780690237879753,
0.0005084948497824371,
0.022962966933846474,
-0.021407783031463623,
-0.03056608885526657,
-0.00856311246752739,
-0.011951878666877747,
0.03851480782032013,
-0.01390065811574459,
-0.021618980914354324,
-0.03717081993818283,
-0.016867028549313545,
0.020486190915107727,
0.013987057842314243,
0.02348136156797409,
-0.0076703219674527645,
0.0041423579677939415,
-0.014380653388798237,
-0.02791651524603367,
-0.05011149123311043,
0.051301877945661545,
0.007900719530880451,
-0.010367894545197487,
-0.012671871110796928,
-0.012575872242450714,
0.0049031502567231655,
0.04431314766407013,
-0.018566211685538292,
-0.024729348719120026,
0.007142327260226011,
0.0423547700047493,
-0.10014618188142776,
0.017107026651501656,
-0.02751331962645054,
0.02906850352883339,
-0.018883008509874344,
0.04642512649297714,
0.024134155362844467,
0.05176267400383949,
-0.01227827463299036,
-0.03717081993818283,
-0.016646230593323708,
-0.0031319682020694017,
-0.008140717633068562,
0.003976759500801563,
0.07004088908433914,
-0.03732442110776901,
-0.002783971605822444,
-0.011923078447580338,
0.023558160290122032,
0.031468480825424194,
-0.0008645912166684866,
0.023769358173012733,
0.016339033842086792,
-0.017731020227074623,
-0.021426981315016747,
-0.04926669970154762,
0.07399604469537735,
-0.028588509187102318,
0.029183702543377876,
0.008433514274656773,
0.06178497150540352,
-0.03763161599636078,
-0.014409453608095646,
0.01639663241803646,
-0.093618243932724,
0.05483464151620865,
0.01766381971538067,
-0.024383751675486565,
-0.014131056144833565,
-0.0073871249333024025,
-0.058521006256341934,
0.08148396760225296,
0.03198687359690666,
0.03757401928305626,
-0.08885669708251953,
-0.006359935272485018,
0.014707050286233425,
0.04066518694162369,
0.03791961446404457,
0.05164747312664986,
-0.06846650689840317,
-0.004684752319008112,
-0.022655770182609558,
-0.009081508032977581,
0.01190387923270464,
-0.008889509364962578,
0.02313576452434063,
-0.011711880564689636,
0.0032975664362311363,
0.008615911938250065,
-0.03550043702125549,
-0.028242912143468857,
-0.01975659839808941,
-0.009772700257599354,
0.03509724140167236,
-0.00006048688373994082,
0.010089497081935406,
-0.026668528094887733,
0.03116128221154213,
0.02630373276770115,
0.058521006256341934,
-0.05594823136925697,
0.005899140145629644,
0.05733061581850052,
0.01295026857405901,
0.10291095077991486,
-0.016003036871552467,
-0.07941038906574249,
-0.08524712920188904,
-0.02536294236779213,
0.001312786596827209,
0.013545461930334568,
-0.004538353998214006,
0.027474921196699142,
0.02077418938279152,
0.07345845550298691,
0.022156573832035065,
-0.038879603147506714,
-0.03306206315755844,
-0.08240555971860886,
-0.05518023669719696,
0.04423635080456734,
-0.05579463392496109,
-0.01811501570045948,
-0.028415711596608162,
-0.02313576452434063,
0.025132544338703156,
0.02138858288526535,
-0.027628518640995026,
0.05829060822725296,
-0.02037099190056324,
0.05928899720311165,
-0.0003386965545359999,
-0.04020439088344574,
0.01886380836367607,
-0.09215906262397766,
-0.042661964893341064,
-0.06443454325199127,
-0.04730831831693649,
-0.008433514274656773,
0.024518150836229324,
0.02509414404630661,
0.047653913497924805,
0.05149387568235397,
0.022425372153520584,
-0.03404125198721886,
-0.003148767864331603,
-0.03271646797657013,
-0.01461105141788721,
0.03143008053302765,
-0.01717422530055046,
-0.018959807232022285,
-0.0708472803235054,
0.010233496315777302,
-0.02455654926598072,
0.028300512582063675,
0.04830670729279518,
0.04734671860933304,
0.02213737554848194,
-0.060824982821941376,
0.03400285542011261,
-0.03404125198721886,
-0.016031837090849876,
0.0276477187871933,
0.030796486884355545,
0.008606312796473503,
0.00008729911496629938,
-0.12533631920814514,
-0.01264307089149952,
-0.07376565039157867,
-0.007478323765099049,
0.06792891025543213,
-0.03223647177219391,
0.028223711997270584,
0.019718199968338013,
0.03392605483531952,
-0.03674842789769173,
-0.005035148933529854,
-0.015580641105771065,
0.05794500932097435,
-0.009859099984169006,
0.016463832929730415,
0.021158184856176376,
0.018297413364052773,
0.017289424315094948,
-0.0280701145529747,
-0.05544903501868248,
-0.012835069559514523,
0.004216757137328386,
0.010511892847716808,
-0.03263966739177704,
0.026879725977778435,
0.010156696662306786,
-0.04642512649297714,
0.0300860945135355,
0.016790229827165604,
0.03300446271896362,
0.02313576452434063,
-0.04481234401464462,
0.02793571539223194,
-0.008644712157547474,
0.011049487628042698,
0.03488604351878166,
0.00649433396756649,
0.006475134287029505,
0.04661712422966957,
0.028991704806685448,
-0.008145516738295555,
0.0018467812333256006,
-0.0020135794766247272,
-0.04796111211180687,
-0.009686301462352276,
0.04596433416008949,
0.052453868091106415,
-0.02732132188975811,
0.0032975664362311363,
-0.0184894111007452,
-0.07933359593153,
0.012700670398771763,
0.017654219642281532,
0.031679678708314896,
0.024594949558377266,
-0.01910380646586418,
-0.07645361870527267,
-0.03123808279633522,
0.027090923860669136,
0.025670139119029045,
0.010060697793960571,
-0.039705194532871246,
0.04204757139086723,
-0.019209405407309532,
0.020390192046761513,
-0.007079928182065487,
-0.0766456201672554,
0.03338846191763878,
-0.012134276330471039,
-0.0028319712728261948,
0.0063455356284976006,
-0.0654713362455368,
0.01932460255920887,
0.00826551578938961,
-0.0356348380446434,
0.027551719918847084,
-0.029894094914197922,
-0.013507062569260597,
0.007526323199272156,
-0.01014709658920765,
0.045465137809515,
-0.05134027823805809,
-0.0873975083231926,
0.01991019770503044,
-0.02138858288526535,
-0.08839590102434158,
0.014121456071734428,
-0.03993559256196022,
0.02530534192919731,
-0.042469967156648636,
-0.014563051983714104,
-0.018902206793427467,
0.02227177284657955,
0.004135157912969589,
0.01245107315480709,
0.0251709446310997,
0.03742041811347008,
0.0029519698582589626,
0.004521553870290518,
-0.02279016748070717,
-0.009542303159832954,
0.03185247629880905,
-0.02954849973320961,
0.008649512194097042,
0.032409269362688065,
-0.048805903643369675,
0.009167906828224659,
0.05153227597475052,
0.010012698359787464,
0.01599343679845333,
0.01079029031097889,
-0.034578848630189896,
0.061516173183918,
-0.03575003519654274,
-0.030719688162207603,
-0.037401217967271805,
-0.02085098810493946,
-0.012067077681422234,
-0.05909699946641922,
-0.04569553583860397,
0.0013859858736395836,
0.09139107167720795,
0.0023015765473246574,
0.08401834219694138,
-0.022636570036411285,
0.03123808279633522,
0.03674842789769173,
0.06512574106454849,
0.06408894807100296,
0.010118297301232815,
-0.04342995956540108,
-0.021350182592868805,
-0.002992769470438361,
-0.02023659460246563,
-0.030585289001464844,
0.0009353904752060771,
0.023769358173012733,
-0.03459804877638817,
-0.015955038368701935,
0.019583800807595253,
0.0332348607480526,
0.0178174190223217,
0.04035798832774162,
0.03567323833703995,
-0.0247485488653183,
0.0254205409437418,
0.06846650689840317,
0.022233374416828156,
0.009407903999090195,
0.006844730582088232,
-0.02286696806550026,
0.023730957880616188,
-0.026591729372739792,
-0.08486313372850418,
0.0010775889968499541,
-0.027378922328352928,
0.015523041598498821,
0.00772312143817544,
0.010089497081935406,
0.00008249915845226496,
-0.05544903501868248,
-0.02131178230047226,
-0.0031583679374307394,
0.003035969100892544,
-0.0198333989828825,
-0.046117931604385376,
-0.0151486461982131,
0.03306206315755844,
0.05429704859852791,
0.027820516377687454,
-0.031180482357740402,
-0.05679302290081978,
0.04527314007282257,
-0.028146913275122643,
-0.01712622493505478,
-0.01940140314400196,
0.007727921474725008,
-0.03749721869826317,
-0.01457265205681324,
0.10928528755903244,
0.012556672096252441,
0.027878116816282272,
0.009307105094194412,
-0.025650938972830772,
-0.028223711997270584,
0.007281525991857052,
-0.0022343771997839212,
0.013785460032522678,
0.005131147801876068,
0.02380775846540928,
-0.005284746177494526,
-0.07100087404251099,
0.027090923860669136,
-0.010665491223335266,
-0.011385484598577023,
-0.03947479650378227,
-0.0017063826089724898,
-0.011011088266968727,
0.018739009276032448,
0.0117022804915905,
-0.053183458745479584,
-0.004099158104509115,
-0.041125982999801636,
0.0005675942520610988,
0.03215967118740082,
-0.016252635046839714,
0.002486374694854021,
0.0005672942497767508,
0.05310665816068649,
-0.01621423475444317,
0.06201536953449249,
0.03573083505034447,
0.061016980558633804,
-0.02718692272901535,
0.03279326483607292,
0.019660599529743195,
-0.057253818958997726,
0.029644498601555824,
0.01650223135948181,
0.019420603290200233,
0.031679678708314896,
0.05560263246297836,
-0.05310665816068649,
0.01696302741765976,
-0.01564784161746502,
-0.010012698359787464,
0.02348136156797409,
0.019411003217101097,
0.01629103347659111,
-0.016041437163949013,
0.013843059539794922,
-0.0011639881413429976,
-0.03958999738097191,
-0.037401217967271805,
0.04903630167245865,
0.052108269184827805,
-0.0543738454580307,
0.019718199968338013,
-0.02434535138309002,
-0.018297413364052773,
-0.03567323833703995,
-0.03820761293172836,
-0.05594823136925697,
0.019718199968338013,
-0.11596681922674179,
-0.025593340396881104,
-0.04147157818078995,
0.05368265509605408,
-0.04661712422966957,
-0.08102317899465561,
-0.002709572436287999,
0.001360786147415638,
-0.01031989511102438,
-0.0003422965237405151,
-0.04400595277547836,
-0.041049182415008545,
-0.0005795941106043756,
-0.0001467735128244385,
0.03467484563589096,
0.022751769050955772,
-0.044159550219774246,
0.0735352486371994,
-0.0251709446310997,
-0.01258547231554985,
0.010607891716063023,
-0.021964576095342636,
0.0161566361784935,
-0.006283136084675789,
0.03083488717675209,
-0.004466354381293058,
-0.002341176150366664,
0.05537223815917969,
0.030988484621047974,
-0.013545461930334568,
-0.00620633689686656,
0.05026508867740631,
0.012691071256995201,
-0.009585502557456493,
0.015983836725354195,
-0.047922711819410324,
0.003979159519076347,
0.008659112267196178,
0.026054134592413902,
0.03649882972240448,
0.07315125316381454,
0.019171005114912987,
0.03642202913761139,
-0.022425372153520584,
0.09953178465366364,
-0.05836740508675575,
0.007708721794188023,
0.05333705618977547,
0.004262356553226709,
0.07165367156267166,
0.05053388699889183,
0.05844420567154884,
-0.046847522258758545,
-0.036460429430007935,
0.010943888686597347,
0.0038231611251831055,
-0.02442215196788311,
0.06919609755277634,
-0.023154964670538902,
-0.0383228100836277,
0.014044657349586487,
-0.03576923534274101,
-0.0025343741290271282,
0.04074198380112648,
-0.021542180329561234,
0.017491022124886513,
0.0020963787101209164,
-0.0009245905675925314,
-0.027417320758104324,
0.01792301796376705,
-0.007353525143116713,
0.004807150922715664,
0.07733681052923203,
-0.044965941458940506,
-0.008572712540626526,
-0.047116320580244064,
0.0254205409437418,
0.06666172295808792,
-0.02442215196788311,
0.08762791007757187,
-0.020927786827087402,
-0.05579463392496109,
-0.006364735309034586,
0.05702342092990875,
0.00660953251644969,
0.010041497647762299,
-0.03191007673740387,
0.05537223815917969,
0.01969899982213974,
-0.016300633549690247,
-0.009187106974422932,
0.015667039901018143,
0.01007989700883627,
0.03870680555701256,
0.019171005114912987,
0.049535494297742844,
0.019257403910160065,
0.0009545902721583843,
0.005044748540967703,
-0.008812710642814636,
0.04596433416008949,
0.04972749575972557,
0.0436987541615963,
-0.013372664339840412,
0.022617369890213013,
0.07004088908433914,
-0.025804538279771805,
0.07695281505584717,
0.004675152245908976,
-0.02077418938279152,
0.01913260482251644,
0.021062185987830162,
-0.06585533171892166,
0.035711634904146194,
-0.030393291264772415,
-0.023730957880616188,
-0.048268310725688934,
0.015215844847261906,
-0.008649512194097042,
-0.011529482901096344,
-0.008515113033354282,
0.049957890063524246,
-0.025593340396881104,
-0.018604610115289688,
0.030796486884355545,
-0.042201168835163116,
-0.000012646746654354502,
0.031391680240631104,
0.018230214715003967,
-0.06178497150540352,
-0.015695840120315552,
0.02192617766559124,
0.03333086147904396,
0.012355074286460876,
-0.018566211685538292,
0.036671627312898636,
-0.016790229827165604,
-0.01924780383706093,
-0.0023015765473246574,
-0.005635142792016268,
-0.02766691893339157,
0.020658990368247032,
0.09131427109241486,
0.0048311506398022175,
0.01886380836367607,
0.0007181927212513983,
-0.03540444001555443,
-0.04918989911675453,
-0.002656772965565324,
0.05675462260842323,
0.0034127652179449797,
-0.0075887227430939674,
-0.005870340391993523,
-0.03425244987010956,
-0.047922711819410324,
-0.04938189685344696,
-0.008851110003888607,
-0.0064607341773808,
-0.01792301796376705,
0.014294254593551159,
-0.039359599351882935,
0.0014951848424971104,
0.011577482335269451,
-0.048191510140895844,
-0.03198687359690666,
0.06677692383527756,
-0.036460429430007935,
0.030105292797088623,
-0.02643813006579876,
-0.0494970977306366,
0.009964698925614357,
-0.01996779628098011,
0.029855696484446526,
-0.007747121155261993,
0.07103927433490753,
-0.02793571539223194,
0.027878116816282272,
0.07917999476194382,
-0.03509724140167236,
0.056293826550245285,
0.06028738617897034,
0.03947479650378227,
-0.028972504660487175,
0.040511589497327805,
-0.027167724445462227,
-0.03709402307868004,
-0.003907160367816687,
-0.012902269139885902,
0.0031727678142488003,
0.029183702543377876,
-0.029798096045851707,
0.035980433225631714,
-0.0008255916181951761,
0.009177506901323795,
-0.041855573654174805,
-0.13063547015190125,
0.04803791269659996,
-0.009638302028179169,
-0.02184937708079815,
-0.0225213710218668,
0.007353525143116713,
0.043468356132507324,
0.0072623263113200665,
0.007991918362677097,
-0.03540444001555443,
-0.029490899294614792,
-0.011692681349813938,
0.03306206315755844,
0.033906854689121246,
-0.008251115679740906,
0.01602223701775074,
-0.012355074286460876,
0.0018275814363732934,
-0.004084758460521698,
-0.006791931111365557,
-0.040511589497327805,
0.06001858785748482,
0.012460673227906227,
0.030182093381881714,
0.027302121743559837,
0.005006349179893732,
0.027570920065045357,
0.04569553583860397,
-0.004036759026348591,
0.02643813006579876,
0.0051503474824130535,
-0.02131178230047226,
0.025670139119029045,
-0.004855150822550058,
0.0023339763283729553
] |
719,665
|
ibm_platform_services.iam_identity_v1
|
IamIdentityV1
|
The iam_identity V1 service.
|
class IamIdentityV1(BaseService):
"""The iam_identity V1 service."""
DEFAULT_SERVICE_URL = 'https://iam.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'iam_identity'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'IamIdentityV1':
"""
Return a new client for the iam_identity service using the specified
parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the iam_identity service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# API key operations
#########################
def list_api_keys(
self,
*,
account_id: Optional[str] = None,
iam_id: Optional[str] = None,
pagesize: Optional[int] = None,
pagetoken: Optional[str] = None,
scope: Optional[str] = None,
type: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get API keys for a given service or user IAM ID and account ID.
Returns the list of API key details for a given service or user IAM ID and account
ID. Users can manage user API keys for themself, or service ID API keys for
service IDs that are bound to an entity they have access to. In case of service
IDs and their API keys, a user must be either an account owner, a IBM Cloud org
manager or IBM Cloud space developer in order to manage service IDs of the entity.
:param str account_id: (optional) Account ID of the API keys to query. If a
service IAM ID is specified in iam_id then account_id must match the
account of the IAM ID. If a user IAM ID is specified in iam_id then then
account_id must match the account of the Authorization token.
:param str iam_id: (optional) IAM ID of the API keys to be queried. The IAM
ID may be that of a user or a service. For a user IAM ID iam_id must match
the Authorization token.
:param int pagesize: (optional) Optional size of a single page. Default is
20 items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str scope: (optional) Optional parameter to define the scope of the
queried API keys. Can be 'entity' (default) or 'account'.
:param str type: (optional) Optional parameter to filter the type of the
queried API keys. Can be 'user' or 'serviceid'.
:param str sort: (optional) Optional sort property, valid values are name,
description, created_at and created_by. If specified, the items are sorted
by the value of this property.
:param str order: (optional) Optional sort order, valid values are asc and
desc. Default: asc.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKeyList` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_api_keys',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'iam_id': iam_id,
'pagesize': pagesize,
'pagetoken': pagetoken,
'scope': scope,
'type': type,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/apikeys'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
def create_api_key(
self,
name: str,
iam_id: str,
*,
description: Optional[str] = None,
account_id: Optional[str] = None,
apikey: Optional[str] = None,
store_value: Optional[bool] = None,
support_sessions: Optional[bool] = None,
action_when_leaked: Optional[str] = None,
entity_lock: Optional[str] = None,
entity_disable: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create an API key.
Creates an API key for a UserID or service ID. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str name: Name of the API key. The name is not checked for
uniqueness. Therefore multiple names with the same value can exist. Access
is done via the UUID of the API key.
:param str iam_id: The iam_id that this API key authenticates.
:param str description: (optional) The optional description of the API key.
The 'description' property is only available if a description was provided
during a create of an API key.
:param str account_id: (optional) The account ID of the API key.
:param str apikey: (optional) You can optionally passthrough the API key
value for this API key. If passed, a minimum length validation of 32
characters for that apiKey value is done, i.e. the value can contain any
characters and can even be non-URL safe, but the minimum length requirement
must be met. If omitted, the API key management will create an URL safe
opaque API key value. The value of the API key is checked for uniqueness.
Ensure enough variations when passing in this value.
:param bool store_value: (optional) Send true or false to set whether the
API key value is retrievable in the future by using the Get details of an
API key request. If you create an API key for a user, you must specify
`false` or omit the value. We don't allow storing of API keys for users.
:param bool support_sessions: (optional) Defines if the API key supports
sessions. Sessions are only supported for user apikeys.
:param str action_when_leaked: (optional) Defines the action to take when
API key is leaked, valid values are 'none', 'disable' and 'delete'.
:param str entity_lock: (optional) Indicates if the API key is locked for
further write operations. False by default.
:param str entity_disable: (optional) Indicates if the API key is disabled.
False by default.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
"""
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
-0.01584642007946968,
-0.09678775072097778,
-0.08509084582328796,
-0.0027543322648853064,
0.02942759543657303,
-0.027244722470641136,
-0.010420127771794796,
-0.009241171181201935,
-0.015022695064544678,
-0.006831773556768894,
-0.0049938359297811985,
-0.029304036870598793,
0.048023197799921036,
-0.0019627835135906935,
-0.0072178952395915985,
0.02366151660680771,
0.07565919309854507,
-0.006419911049306393,
-0.008422593586146832,
-0.0551072396337986,
0.043698638677597046,
0.07182886451482773,
0.04316321760416031,
-0.03995068743824959,
0.03723239526152611,
0.06593923270702362,
0.015084474347531796,
0.005189470946788788,
0.049876581877470016,
-0.005863896105438471,
-0.01959437131881714,
0.008252700790762901,
0.025741422548890114,
0.021478643640875816,
-0.000678930024150759,
-0.03231063485145569,
0.02728590928018093,
0.000010879773071792442,
-0.05922586843371391,
0.04203059524297714,
0.002895910060033202,
0.03636748343706131,
0.07100514322519302,
-0.059802476316690445,
0.029036326333880424,
0.030827928334474564,
-0.01025538332760334,
0.01839996874332428,
0.015403667464852333,
0.010955549776554108,
0.04789964109659195,
-0.020325427874922752,
0.017339423298835754,
-0.038365017622709274,
-0.005668261554092169,
-0.007676092442125082,
-0.00830418337136507,
-0.06577448546886444,
-0.027841923758387566,
-0.021210933104157448,
-0.037685442715883255,
0.02059313841164112,
0.003673301078379154,
0.019429625943303108,
0.00970966462045908,
0.0052641211077570915,
-0.05790790542960167,
0.026379810646176338,
0.004530490376055241,
0.054983679205179214,
0.03566731512546539,
-0.03035428561270237,
-0.047858454287052155,
-0.0032434193417429924,
-0.007851134054362774,
0.022837791591882706,
-0.027409467846155167,
-0.032928429543972015,
-0.031157419085502625,
-0.04839387536048889,
0.01671133190393448,
-0.011202667839825153,
-0.00945225078612566,
-0.013272278010845184,
0.05687825009226799,
0.0440693162381649,
-0.020232759416103363,
-0.025329560041427612,
0.032598938792943954,
-0.00474671833217144,
-0.030148355290293694,
0.0023759333416819572,
-0.030889708548784256,
0.06663939356803894,
0.03671756759285927,
-0.02652396261692047,
-0.024382276460528374,
-0.045634396374225616,
0.005544702522456646,
0.0355849452316761,
0.0037093390710651875,
-0.01594938524067402,
0.020191572606563568,
0.02578260935842991,
0.03498774394392967,
-0.04398694261908531,
-0.02219940349459648,
0.020788773894309998,
0.029283443465828896,
0.01837937720119953,
-0.07878934592008591,
-0.019707633182406425,
0.0009138205205090344,
-0.024938290938735008,
-0.04128924384713173,
0.06738074868917465,
0.04509897530078888,
0.05061793327331543,
0.00282898242585361,
0.005915379151701927,
0.022776011377573013,
-0.06112043559551239,
0.02915988489985466,
-0.026915231719613075,
0.04481067135930061,
-0.004597418010234833,
-0.017988106235861778,
0.04678761214017868,
0.018873611465096474,
-0.03290783613920212,
-0.02934522181749344,
-0.000499383604619652,
-0.04001246765255928,
0.04526371881365776,
0.04349270835518837,
-0.03255775198340416,
0.019717929884791374,
0.030621998012065887,
-0.04629337415099144,
0.08550271391868591,
0.009441954083740711,
0.014394603669643402,
0.0022974221501499414,
0.007799651473760605,
-0.03659400716423988,
-0.0330519862473011,
0.0018289281288161874,
-0.02110796794295311,
-0.01906924694776535,
-0.04551083594560623,
-0.0031018415465950966,
-0.016886373981833458,
-0.045222532004117966,
-0.0008037759689614177,
-0.007063446566462517,
-0.026647521182894707,
0.011902834288775921,
-0.04009484127163887,
0.021210933104157448,
-0.026318030431866646,
-0.023332025855779648,
-0.0027440357953310013,
0.024361683055758476,
-0.07953070104122162,
-0.010265680029988289,
-0.0057763755321502686,
-0.05568384751677513,
0.0037067648954689503,
0.012572111561894417,
0.004252483136951923,
-0.044645924121141434,
0.028789207339286804,
-0.04050670564174652,
-0.02127271145582199,
-0.0292422566562891,
-0.009977376088500023,
0.02009890414774418,
-0.0381179004907608,
-0.008031324483454227,
-0.003050358733162284,
0.014909432269632816,
-0.013797403313219547,
-0.040486112236976624,
-0.025308966636657715,
0.01542426086962223,
0.040383145213127136,
0.023682110011577606,
0.10477788746356964,
0.005915379151701927,
0.03144572302699089,
-0.021766947582364082,
0.011460081674158573,
0.06334449350833893,
0.010239938274025917,
-0.05061793327331543,
0.012304400093853474,
-0.0049886880442500114,
-0.034287575632333755,
-0.00991559587419033,
0.015836123377084732,
-0.02687404677271843,
0.05156521871685982,
0.008201217278838158,
0.0339374914765358,
0.06808091700077057,
-0.03949763998389244,
-0.0006718511576764286,
-0.05881400406360626,
-0.0381179004907608,
-0.017267346382141113,
-0.013797403313219547,
-0.014281341806054115,
-0.04868217930197716,
-0.011861647479236126,
-0.012005799449980259,
0.03177521377801895,
0.0830315351486206,
0.01838967204093933,
0.019769413396716118,
-0.018276410177350044,
0.06935769319534302,
-0.007526792120188475,
0.004702958278357983,
-0.08031324297189713,
0.015063880942761898,
0.053954023867845535,
0.05877281725406647,
0.013210498727858067,
-0.03204292431473732,
-0.01437401119619608,
0.030621998012065887,
0.0006136111915111542,
-0.021602202206850052,
0.011614530347287655,
-0.041680511087179184,
-0.08698541671037674,
0.021828727796673775,
-0.03290783613920212,
0.0020618881098926067,
-0.022322962060570717,
0.03517308086156845,
0.07351750880479813,
0.0491764135658741,
0.01618620753288269,
-0.09126879274845123,
-0.02399100735783577,
-0.02578260935842991,
-0.005668261554092169,
0.002762054791674018,
-0.03144572302699089,
0.024279311299324036,
-0.06478601694107056,
0.014971211552619934,
-0.0008353092125616968,
0.017751285806298256,
-0.06845159083604813,
-0.02110796794295311,
-0.08200187981128693,
0.022240590304136276,
-0.0013256833190098405,
-0.017833657562732697,
0.06182060390710831,
-0.06482720375061035,
0.05288318172097206,
-0.007593719754368067,
0.021931692957878113,
0.04042433202266693,
0.035893842577934265,
0.04221593588590622,
0.008937422186136246,
0.08591457456350327,
0.028768613934516907,
-0.02211703173816204,
-0.027141757309436798,
-0.0029860050417482853,
0.0491352304816246,
0.004777607973664999,
0.001776158227585256,
-0.04901167005300522,
-0.02578260935842991,
-0.01602146215736866,
-0.042504239827394485,
0.008376259356737137,
0.017864547669887543,
0.050823867321014404,
-0.05160640552639961,
-0.008417445234954357,
0.021725760772824287,
0.005313029978424311,
0.005114820785820484,
0.006682473700493574,
0.03381393477320671,
-0.01297367736697197,
-0.021911099553108215,
-0.030457252636551857,
-0.004092886112630367,
-0.08723253756761551,
-0.022158216685056686,
0.022487707436084747,
-0.019295770674943924,
-0.02246711403131485,
0.1127680242061615,
0.027162350714206696,
-0.03881806507706642,
0.04147458076477051,
-0.0074135297909379005,
0.027059383690357208,
-0.013745919801294804,
-0.046334560960531235,
0.06635109335184097,
-0.046664051711559296,
0.011727792210876942,
-0.021231526508927345,
-0.055725034326314926,
0.005817561876028776,
-0.052430130541324615,
0.060049593448638916,
0.05078268051147461,
0.017246752977371216,
0.04526371881365776,
-0.02730650268495083,
0.005683706142008305,
-0.05749604478478432,
-0.050329629331827164,
0.07343513518571854,
-0.03609977290034294,
0.055066052824258804,
0.003526574932038784,
0.03418460860848427,
0.0053284745663404465,
0.0011043070117011666,
-0.031754620373249054,
-0.040300771594047546,
0.006754549685865641,
-0.021077077835798264,
-0.07738901674747467,
0.015918496996164322,
-0.026215065270662308,
-0.004906315356492996,
0.01772039569914341,
-0.030642589554190636,
-0.05061793327331543,
-0.04551083594560623,
0.011727792210876942,
-0.06177941709756851,
-0.05304792523384094,
0.08879761397838593,
-0.027533026412129402,
0.008129141293466091,
-0.03863272815942764,
0.02000623382627964,
0.004340004175901413,
0.06404466181993484,
0.06474483013153076,
0.10749618709087372,
-0.0584845133125782,
-0.056754689663648605,
-0.038694508373737335,
-0.02940700203180313,
0.026832859963178635,
0.0068369219079613686,
-0.020140089094638824,
-0.0686163380742073,
0.01883242465555668,
-0.057949092239141464,
-0.029777677729725838,
0.006455949041992426,
-0.08360814303159714,
0.060996875166893005,
-0.018873611465096474,
-0.042421866208314896,
-0.025144223123788834,
-0.049464717507362366,
0.0073620472103357315,
0.03764425590634346,
0.034205202013254166,
-0.017226161435246468,
0.010708431713283062,
-0.05914349481463432,
0.08434949815273285,
0.028027262538671494,
-0.011995503678917885,
0.015486040152609348,
0.017411498352885246,
0.061408739537000656,
0.0007928358390927315,
0.04448118060827255,
-0.03193995729088783,
0.04135102406144142,
-0.0014878542860969901,
0.01772039569914341,
-0.012994270771741867,
0.008752084337174892,
0.046664051711559296,
0.02728590928018093,
-0.0053748092614114285,
-0.05193589627742767,
-0.015537522733211517,
0.02502066269516945,
-0.05481893569231033,
0.026482775807380676,
0.0576607882976532,
0.07738901674747467,
0.00474671833217144,
0.010811397805809975,
-0.008371111005544662,
0.030045390129089355,
-0.04950590431690216,
-0.03570850193500519,
0.035729095339775085,
-0.028377344831824303,
-0.012582407332956791,
-0.024217531085014343,
-0.038529761135578156,
0.018626494333148003,
0.00496294628828764,
-0.040980346500873566,
0.0991765558719635,
-0.009400768205523491,
0.07430004328489304,
-0.0005640589515678585,
-0.0301071684807539,
-0.007830540649592876,
0.014724094420671463,
-0.028253786265850067,
0.04509897530078888,
-0.020140089094638824,
-0.01211906224489212,
-0.007197301834821701,
-0.04316321760416031,
0.03628510981798172,
0.048888109624385834,
-0.021808134391903877,
-0.023682110011577606,
-0.041495174169540405,
0.009133056737482548,
0.014744686894118786,
-0.008829308673739433,
0.030642589554190636,
-0.005935972090810537,
-0.004636030178517103,
-0.014013631269335747,
-0.009411063976585865,
0.00992589257657528,
-0.007588571403175592,
0.048105571419000626,
-0.04102153331041336,
0.03875628858804703,
0.12084053456783295,
0.02619447186589241,
0.03313435986638069,
0.027018198743462563,
0.03955942019820213,
-0.02322906069457531,
-0.020572545006871223,
-0.05580740422010422,
0.044192876666784286,
0.009045536629855633,
0.012046986259520054,
-0.04435762017965317,
0.06054382771253586,
0.004152091685682535,
-0.0018430858617648482,
0.034967150539159775,
0.014085707254707813,
-0.00193446793127805,
0.025370746850967407,
0.048517435789108276,
0.027347687631845474,
0.005431440193206072,
0.004859980661422014,
-0.001036092289723456,
0.025329560041427612,
0.020572545006871223,
0.03212529793381691,
0.010698135942220688,
0.05535435676574707,
0.008757232688367367,
-0.028583277016878128,
-0.04715828597545624,
0.024876510724425316,
-0.031157419085502625,
0.012726559303700924,
-0.03620273619890213,
0.03169284015893936,
-0.019223695620894432,
-0.012582407332956791,
-0.0035857802722603083,
-0.06845159083604813,
-0.03669697418808937,
-0.01584642007946968,
0.006749401334673166,
-0.0133546506986022,
0.06495075672864914,
-0.039888910949230194,
-0.03951823338866234,
0.009570661000907421,
-0.03196055069565773,
-0.0036115217953920364,
-0.006008048076182604,
0.023537958040833473,
0.00958095770329237,
0.013591471128165722,
0.007706982083618641,
0.03434935584664345,
0.03655282035470009,
-0.03754129260778427,
-0.03177521377801895,
-0.028871580958366394,
-0.022405335679650307,
-0.03968297690153122,
-0.022178810089826584,
0.028377344831824303,
-0.06894582509994507,
-0.027244722470641136,
0.04145398736000061,
-0.045634396374225616,
0.038179680705070496,
0.014641721732914448,
0.0017825935501605272,
0.012469145469367504,
0.020788773894309998,
-0.020068014040589333,
0.03745891898870468,
0.008571893908083439,
0.02602972649037838,
-0.0258649829775095,
-0.048187945038080215,
-0.0036424114368855953,
0.04287491366267204,
-0.04042433202266693,
-0.002359201433137059,
0.0035342974588274956,
-0.019717929884791374,
-0.005101949907839298,
-0.026318030431866646,
-0.08797388523817062,
-0.010873177088797092,
-0.008422593586146832,
-0.02635921724140644,
0.06684532761573792,
0.05292436480522156,
-0.06458008289337158,
-0.08249611407518387,
-0.043945759534835815,
0.012026392854750156,
-0.02374388836324215,
0.03348444402217865,
-0.010904067195951939,
-0.018091073259711266,
0.03443172946572304,
-0.008160031400620937,
0.03587324917316437,
-0.002803240902721882,
-0.02823319286108017,
-0.01661866344511509,
0.04699354246258736,
-0.02347617782652378,
-0.009884706698358059,
0.012870711274445057,
-0.010229641571640968,
0.03401986509561539,
-0.049217600375413895,
-0.041762884706258774,
-0.019460516050457954,
0.01483735628426075,
-0.00589478574693203,
0.06346805393695831,
0.0491764135658741,
0.01719527132809162,
-0.020902035757899284,
-0.042421866208314896,
0.012005799449980259,
-0.02415575087070465,
-0.059720102697610855,
0.027759550139307976,
-0.005560147576034069,
0.011398302391171455,
0.017020229250192642,
-0.031589873135089874,
0.05444825813174248,
-0.00012339794193394482,
0.032413601875305176,
-0.042339492589235306,
0.006744252983480692,
0.014878543093800545,
0.02168457582592964,
-0.01855441741645336,
0.03677934408187866,
-0.010924659669399261,
-0.06688651442527771,
-0.014044520445168018,
-0.012520628049969673,
-0.0049603721126914024,
-0.011048219166696072,
0.08624406158924103,
0.006965629290789366,
0.010481907986104488,
0.020490173250436783,
-0.012572111561894417,
0.01984148845076561,
0.05914349481463432,
0.01654658652842045,
-0.003904973855242133,
0.022261183708906174,
0.0071561154909431934,
-0.03566731512546539,
-0.057537227869033813,
0.0047055319882929325,
0.006939887534826994,
0.0041572400368750095,
-0.037088241428136826,
0.016556883230805397,
-0.009544920176267624,
-0.039888910949230194,
0.03315495327115059,
-0.00881386362016201,
0.034472912549972534,
0.03704705834388733,
-0.056507572531700134,
0.011388005688786507,
-0.02093292586505413,
-0.006893553305417299,
0.028603870421648026,
-0.08962134271860123,
0.012427959591150284,
0.0339168980717659,
-0.00817547645419836,
-0.003603799268603325,
0.02813022769987583,
0.006615545600652695,
0.06799854338169098,
-0.029098104685544968,
0.008309331722557545,
0.0678749829530716,
0.04001246765255928,
0.033855121582746506,
0.010281124152243137,
0.022570079192519188,
0.033010803163051605,
-0.023888040333986282,
0.01984148845076561,
-0.04128924384713173,
0.036573413759469986,
-0.033690374344587326,
0.036738160997629166,
-0.043533895164728165,
-0.05745485797524452,
0.030910301953554153,
-0.043451521545648575,
-0.07730664312839508,
0.023455584421753883,
-0.011346819810569286,
-0.04303966090083122,
-0.037582479417324066,
-0.04958827793598175,
-0.04439880698919296,
0.013745919801294804,
-0.02679167315363884,
-0.020644621923565865,
0.024897104129195213,
-0.004010513890534639,
0.003935863729566336,
-0.029942423105239868,
-0.053542159497737885,
-0.037355951964855194,
0.012355883605778217,
-0.04221593588590622,
0.029304036870598793,
0.03465825319290161,
0.05156521871685982,
-0.03593502566218376,
0.007434123195707798,
0.03906518593430519,
-0.01105851586908102,
0.02000623382627964,
0.02646218240261078,
-0.019481109455227852,
0.031219197437167168,
0.01872945949435234,
0.0011390580330044031,
0.003992494661360979,
-0.014538755640387535,
0.043945759534835815,
-0.011861647479236126,
-0.08459661155939102,
0.05518961325287819,
0.019707633182406425,
-0.05008251219987869,
-0.07891290634870529,
-0.001890707528218627,
-0.009385323151946068,
0.024979477748274803,
-0.022508300840854645,
-0.05671350285410881,
-0.023249654099345207,
-0.007202450186014175,
0.006389021407812834,
-0.037953153252601624,
0.027821330353617668,
-0.0019434774294495583,
-0.013529691845178604,
0.017082009464502335,
0.0313427560031414,
0.017164381220936775,
0.055313169956207275,
0.006116162054240704,
-0.02992182970046997,
-0.00404912605881691,
0.004162388388067484,
0.05160640552639961,
0.031486909836530685,
0.04596388712525368,
-0.09423420578241348,
0.04765252396464348,
0.022405335679650307,
-0.04509897530078888,
-0.00860793236643076,
0.011923427693545818,
0.04271017014980316,
0.020243056118488312,
0.03027191385626793,
-0.010481907986104488,
-0.04905285686254501,
-0.017576243728399277,
-0.006100717466324568,
-0.000122995741548948,
0.03502893075346947,
-0.0014595387037843466,
0.03210470452904701,
0.004136646632105112,
-0.025967948138713837,
-0.09184540063142776,
0.005704299546778202,
0.05729011073708534,
-0.06210890784859657,
-0.008788121864199638,
-0.0415363609790802,
0.024794138967990875,
0.02736828103661537,
-0.006141903810203075,
0.025370746850967407,
-0.020160682499408722,
0.005024726036936045,
-0.025494305416941643,
0.023023128509521484,
0.0729409009218216,
-0.01157334353774786,
0.028603870421648026,
-0.018791239708662033,
0.0023849429562687874,
0.03189877048134804,
-0.0006390308262780309,
0.0040311068296432495,
-0.00915879849344492,
-0.005390253849327564,
-0.010574576444923878,
0.09225726127624512,
0.03154869005084038,
-0.004630882292985916,
0.011470378376543522,
-0.05008251219987869,
0.02407337911427021,
0.0029216515831649303,
0.002112083835527301,
0.045387279242277145,
-0.011449784971773624,
0.024011598899960518
] |
719,666
|
ibm_platform_services.iam_identity_v1
|
__init__
|
Construct a new client for the iam_identity service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the iam_identity service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.004842119291424751,
-0.08270265907049179,
0.03361866623163223,
-0.010264188051223755,
0.0005183875327929854,
-0.04757428169250488,
0.006476104259490967,
0.019736697897315025,
-0.02402648515999317,
0.0060664573684334755,
-0.002547635929659009,
0.018539976328611374,
-0.039915263652801514,
-0.0016109711723402143,
-0.012491931207478046,
0.046322327107191086,
0.015032662078738213,
0.009859143756330013,
-0.019165953621268272,
-0.07110366225242615,
0.030028503388166428,
0.04808979108929634,
0.006034237798303366,
0.011985625140368938,
0.050115011632442474,
0.0741599053144455,
-0.0206388421356678,
0.0038847418036311865,
0.026291050016880035,
-0.016376672312617302,
-0.014848551712930202,
-0.01167263649404049,
0.0033508199267089367,
0.040504418313503265,
0.04054123908281326,
-0.03595687821507454,
0.003926166798919439,
0.021559396758675575,
-0.075338214635849,
0.018687264993786812,
0.00019950151909142733,
0.010199748910963535,
0.0838073268532753,
-0.020565196871757507,
-0.005330013111233711,
0.030930645763874054,
0.060535695403814316,
-0.0021115229465067387,
0.02259041927754879,
0.013532157987356186,
-0.02564666047692299,
-0.005122888367623091,
0.019607821479439735,
0.009978815913200378,
-0.04672737047076225,
0.05891551822423935,
0.02393442951142788,
-0.02402648515999317,
-0.07449130713939667,
0.042713750153779984,
-0.07592736929655075,
-0.047795213758945465,
0.011783103458583355,
-0.02658562734723091,
-0.014333040453493595,
0.008906369097530842,
-0.05199294537305832,
0.036509208381175995,
-0.0063288151286542416,
0.014158135280013084,
0.07460177689790726,
-0.00037713986239396036,
-0.012528752908110619,
-0.017444515600800514,
0.015143129043281078,
0.015078689903020859,
-0.03717200830578804,
0.01798764429986477,
-0.004381841514259577,
-0.012372259050607681,
-0.0025177178904414177,
-0.012068475596606731,
-0.007115889806300402,
0.018687264993786812,
0.008386255241930485,
0.016220178455114365,
-0.005026230122894049,
-0.055564697831869125,
-0.01581513322889805,
0.020307442173361778,
-0.017554983496665955,
0.0007755675469525158,
-0.012556369416415691,
0.04934174567461014,
-0.008653216995298862,
-0.005859332159161568,
-0.010908576659858227,
-0.01452635694295168,
0.026880204677581787,
0.0473901703953743,
-0.007925977930426598,
-0.03496267646551132,
-0.013311224989593029,
-0.0024417720269411802,
0.015097101218998432,
-0.011543759144842625,
-0.00594678521156311,
-0.017195966094732285,
0.04591728001832962,
0.02076772041618824,
0.01859520934522152,
0.03739294409751892,
-0.037853218615055084,
0.026070116087794304,
-0.02454199455678463,
0.02781917154788971,
0.11017201840877533,
0.017343254759907722,
0.04919445514678955,
0.04120403900742531,
-0.02757982723414898,
-0.06256091594696045,
0.0024302650708705187,
0.004078058525919914,
0.0352020226418972,
-0.01966305449604988,
-0.019828753545880318,
0.00009536374273011461,
-0.019386887550354004,
-0.036877430975437164,
0.04352383688092232,
-0.06296595931053162,
0.012620808556675911,
0.023639852181077003,
0.02259041927754879,
0.005652207415550947,
0.04753745719790459,
0.024707695469260216,
-0.031041113659739494,
0.10914099216461182,
-0.021559396758675575,
0.02137528546154499,
-0.059210095554590225,
0.03569912165403366,
0.00283991196192801,
0.004842119291424751,
-0.009302208200097084,
0.003700630972161889,
-0.005104477051645517,
-0.02940252609550953,
-0.010678437538444996,
-0.02041790820658207,
0.004234552849084139,
0.01111109834164381,
-0.019147543236613274,
-0.0018008355982601643,
0.01736166700720787,
-0.06024111807346344,
0.007410467602312565,
-0.034060534089803696,
-0.01565863937139511,
-0.012169736437499523,
0.030507192015647888,
-0.044886261224746704,
-0.007525536697357893,
-0.016809333115816116,
-0.06256091594696045,
-0.012280203402042389,
-0.03682219982147217,
-0.010310215875506401,
-0.06359193474054337,
-0.050961922854185104,
-0.07953594624996185,
-0.052434809505939484,
0.05685347318649292,
0.009021438658237457,
0.0498204343020916,
0.011092687025666237,
-0.009582976810634136,
0.047353345900774,
0.012096092104911804,
0.01883455365896225,
-0.024229006841778755,
-0.014158135280013084,
0.011681842617690563,
0.025352083146572113,
0.06510164588689804,
0.03545977547764778,
0.04820025712251663,
-0.00777408666908741,
0.01371626928448677,
0.040983106940984726,
0.009076671674847603,
0.040025729686021805,
-0.003470492083579302,
0.0008279241155833006,
0.000059512440202524886,
-0.020012864843010902,
-0.044518038630485535,
0.01859520934522152,
-0.017794327810406685,
0.06742144376039505,
0.00622755428776145,
0.017923204228281975,
0.06819470971822739,
-0.01080731488764286,
-0.008639408275485039,
-0.04068852961063385,
-0.039031531661748886,
-0.04389205947518349,
-0.05965195968747139,
-0.05331854149699211,
-0.01190277561545372,
0.016606811434030533,
-0.03707995265722275,
0.06267137825489044,
0.04437074810266495,
-0.0033024908043444157,
0.03851601853966713,
0.030930645763874054,
0.08844692260026932,
0.027266837656497955,
0.04035712778568268,
-0.05644842982292175,
0.005670618731528521,
0.04554905742406845,
0.009923582896590233,
-0.037356119602918625,
-0.052397988736629486,
0.006917970720678568,
0.006181526463478804,
0.03862648457288742,
-0.00020151522767264396,
0.02951299212872982,
-0.042455993592739105,
-0.0667218267917633,
0.01920277625322342,
-0.02877654880285263,
-0.07095637917518616,
0.01616494543850422,
0.014728879556059837,
0.09205549210309982,
0.04138815030455589,
0.027303660288453102,
-0.08005145937204361,
-0.021191176027059555,
-0.044775791466236115,
0.007912170141935349,
0.003919262904673815,
0.00874527171254158,
-0.03630668669939041,
-0.04333972558379173,
-0.012823330238461494,
-0.03111475706100464,
0.027174782007932663,
-0.03726406395435333,
-0.05600656196475029,
-0.013384869322180748,
0.02927364781498909,
0.02209331840276718,
-0.002888241084292531,
0.009582976810634136,
-0.03741135448217392,
0.033950068056583405,
-0.009145713411271572,
0.022921819239854813,
-0.005606179591268301,
0.02224060706794262,
0.08829963207244873,
-0.003979098983108997,
0.15244390070438385,
0.012510341592133045,
0.019386887550354004,
0.011267593130469322,
-0.007815511897206306,
-0.05232434347271919,
-0.01784956082701683,
-0.004032030701637268,
-0.06826835870742798,
-0.015041868202388287,
-0.018070492893457413,
0.019847165793180466,
0.031004291027784348,
0.031188402324914932,
-0.022516774013638496,
-0.028353093191981316,
0.025904417037963867,
-0.006241362541913986,
-0.03181437775492668,
0.0065773651003837585,
-0.0022519074846059084,
0.04786885902285576,
-0.019000254571437836,
-0.05644842982292175,
-0.022535186260938644,
-0.04532812535762787,
-0.04028348624706268,
-0.028353093191981316,
-0.01896343193948269,
-0.042455993592739105,
-0.02476292848587036,
0.03216418996453285,
-0.018530771136283875,
-0.01675410009920597,
-0.0045659528113901615,
-0.010052460245788097,
-0.02200126275420189,
0.04043077304959297,
-0.04484943673014641,
0.018033672124147415,
0.003136791056022048,
0.016339849680662155,
-0.07360757142305374,
-0.06826835870742798,
0.05331854149699211,
0.0522506982088089,
0.041719552129507065,
-0.020712487399578094,
0.024634050205349922,
0.03074653632938862,
-0.05453367531299591,
0.016082094982266426,
-0.040173016488552094,
-0.03623304143548012,
-0.01979193091392517,
-0.00959218293428421,
0.015336445532739162,
0.05758991837501526,
-0.02017856389284134,
0.013624213635921478,
-0.03131727874279022,
0.031740736216306686,
-0.008708450011909008,
-0.024265829473733902,
-0.0212464090436697,
-0.08321816474199295,
0.008073266595602036,
-0.04179319366812706,
-0.04345019534230232,
-0.0025936635211110115,
0.0029549815226346254,
-0.05722169578075409,
-0.021356875076889992,
0.0376691073179245,
-0.03836873173713684,
-0.024744518101215363,
0.01674489490687847,
-0.08005145937204361,
0.0039008515886962414,
-0.07946230471134186,
-0.011552964337170124,
0.03150139003992081,
0.03074653632938862,
0.03216418996453285,
0.024339472874999046,
0.02999168075621128,
-0.039289284497499466,
0.006931778974831104,
-0.0169934444129467,
-0.0169842392206192,
-0.004358827602118254,
-0.015382473357021809,
0.018613621592521667,
0.008533544838428497,
-0.05563834309577942,
-0.040136195719242096,
0.019865576177835464,
-0.029568225145339966,
0.07257655262947083,
0.028574025258421898,
-0.019239598885178566,
-0.09036167711019516,
-0.013615007512271404,
0.0255177840590477,
0.02174350805580616,
0.0118383364751935,
-0.03800050914287567,
-0.02200126275420189,
-0.05261892080307007,
0.031151579692959785,
-0.03496267646551132,
0.05803178623318672,
0.03411576524376869,
0.044297102838754654,
-0.00023661139130126685,
-0.0118383364751935,
0.04164590686559677,
0.018153343349695206,
0.027119548991322517,
0.029310470446944237,
-0.037853218615055084,
-0.03192484751343727,
-0.0015258198836818337,
-0.02575712837278843,
0.0243026502430439,
-0.027727115899324417,
-0.06535939872264862,
-0.006273582112044096,
0.006890353746712208,
-0.038552843034267426,
0.02027061954140663,
0.0078109088353812695,
0.11319144070148468,
0.0031022701878100634,
-0.01251954771578312,
0.020196976140141487,
0.02211173065006733,
-0.059357382357120514,
0.02211173065006733,
-0.026198994368314743,
-0.016210973262786865,
0.00175480789039284,
-0.016128122806549072,
-0.04072535037994385,
-0.00003635472967289388,
-0.014305423945188522,
-0.06112485006451607,
0.018908198922872543,
-0.0027271441649645567,
0.01649634540081024,
0.011212359182536602,
0.01981034316122532,
-0.012786508537828922,
0.004087264183908701,
-0.01602686196565628,
0.02478133887052536,
-0.005095271859318018,
0.025941237807273865,
0.011313620023429394,
-0.07184010744094849,
0.022259019315242767,
0.06171400472521782,
0.029218414798378944,
-0.04643279314041138,
-0.010779698379337788,
0.03656444326043129,
-0.0498204343020916,
-0.01784035563468933,
0.026162171736359596,
-0.023603029549121857,
-0.020344264805316925,
-0.04934174567461014,
-0.024965450167655945,
-0.04727970436215401,
0.00401131808757782,
-0.01712232269346714,
-0.06974124163389206,
0.07010946422815323,
0.09433846920728683,
0.0030930647626519203,
0.0632237121462822,
-0.04588045924901962,
0.026751326397061348,
-0.03623304143548012,
-0.02224060706794262,
-0.05114603415131569,
0.04333972558379173,
0.04264010488986969,
0.019994454458355904,
-0.02612534910440445,
-0.020730897784233093,
-0.04212459549307823,
0.022148551419377327,
-0.03547818958759308,
0.049268100410699844,
0.007189534138888121,
0.012123708613216877,
0.014903784729540348,
-0.002678814809769392,
0.003675315761938691,
0.0206572525203228,
0.011249181814491749,
0.05184565484523773,
0.035054732114076614,
0.03757705166935921,
0.0376691073179245,
0.03013896942138672,
-0.014443507418036461,
-0.03825826570391655,
0.020620431751012802,
0.027266837656497955,
0.0206388421356678,
0.008777491748332977,
0.019110720604658127,
-0.01933165453374386,
0.0068259150721132755,
-0.007479508873075247,
-0.03995208442211151,
0.04867894574999809,
-0.056779827922582626,
0.002694924594834447,
0.10707895457744598,
-0.015870368108153343,
0.04886305704712868,
0.07136142253875732,
-0.014471123926341534,
0.027506181970238686,
-0.014333040453493595,
0.03242194652557373,
0.048531658947467804,
-0.013605802319943905,
-0.026880204677581787,
0.019129132851958275,
-0.03269811347126961,
0.06528575718402863,
0.011645019985735416,
-0.11304415017366409,
-0.020473143085837364,
0.005256368778645992,
0.007985814474523067,
0.028481969609856606,
-0.011847542598843575,
-0.015179951675236225,
-0.03312156721949577,
-0.029328880831599236,
0.009099685586988926,
-0.07327617704868317,
-0.010172132402658463,
-0.042198240756988525,
-0.02078613080084324,
0.011691047810018063,
-0.014912989921867847,
-0.04624868184328079,
0.025904417037963867,
0.0023163463920354843,
-0.027966460213065147,
-0.02636469341814518,
-0.03840555250644684,
0.010126104578375816,
0.0040688528679311275,
-0.013642624020576477,
-0.019386887550354004,
-0.01772988773882389,
-0.018539976328611374,
-0.017693066969513893,
-0.019368477165699005,
-0.0753750428557396,
-0.05442320927977562,
0.04275057092308998,
-0.06171400472521782,
0.02901589311659336,
0.058473650366067886,
-0.05177200958132744,
-0.007479508873075247,
-0.014342246577143669,
0.003378436667844653,
-0.0813770592212677,
0.022038085386157036,
-0.016818538308143616,
0.008713052608072758,
0.06425473839044571,
-0.02102547511458397,
-0.00021302216919139028,
-0.004377238918095827,
-0.04639596864581108,
0.011313620023429394,
0.03632509708404541,
-0.04727970436215401,
-0.008846533484756947,
0.02017856389284134,
0.023713495582342148,
0.05552787333726883,
-0.031262047588825226,
-0.022074908018112183,
0.03877377510070801,
0.006600379012525082,
0.017527366057038307,
-0.012952208518981934,
-0.02526002749800682,
0.026051705703139305,
-0.003178216051310301,
-0.050704166293144226,
0.036987897008657455,
0.08601665496826172,
-0.09647415578365326,
0.05283985286951065,
0.00182269886136055,
0.0124459033831954,
0.04761110246181488,
-0.026640860363841057,
0.009803910739719868,
0.02174350805580616,
-0.01537326816469431,
-0.07091955095529556,
-0.005804099142551422,
-0.0035694518592208624,
-0.04286103695631027,
-0.026383105665445328,
-0.015631023794412613,
0.0017559585394337773,
-0.0741967260837555,
-0.08358638733625412,
-0.01275889202952385,
0.012197352945804596,
-0.04407617077231407,
0.043781593441963196,
0.03829508647322655,
-0.02089659683406353,
0.03606734424829483,
0.008289596997201443,
0.0034382727462798357,
0.0595414936542511,
0.01613732799887657,
0.03258764371275902,
0.0309674683958292,
0.011645019985735416,
-0.06856293231248856,
-0.040173016488552094,
-0.040504418313503265,
0.02673291601240635,
-0.009757882915437222,
0.026438338682055473,
0.008791299536824226,
-0.01918436586856842,
-0.0022116333711892366,
0.02393442951142788,
-0.02647516131401062,
0.06141942739486694,
0.018613621592521667,
-0.0002616389829199761,
0.02358461730182171,
-0.028850192204117775,
-0.022406307980418205,
0.00929760467261076,
-0.0728343054652214,
-0.00749792018905282,
0.0376875214278698,
-0.007985814474523067,
-0.003049338236451149,
-0.008188336156308651,
-0.002039029262959957,
0.020951831713318825,
-0.03962068632245064,
-0.015133923850953579,
0.0801251009106636,
0.035422954708337784,
0.049489036202430725,
0.028334680944681168,
0.02588600479066372,
0.0376322865486145,
-0.033729132264852524,
-0.03023102506995201,
0.01579672284424305,
0.007378248032182455,
-0.001532724010758102,
0.01641349494457245,
-0.06090391427278519,
-0.03306633234024048,
0.014020051807165146,
0.01933165453374386,
-0.028850192204117775,
0.03656444326043129,
0.010374654084444046,
-0.009813115932047367,
-0.026990670710802078,
-0.040173016488552094,
-0.042308706790208817,
0.058363184332847595,
0.0031805173493921757,
-0.007396658882498741,
0.0028767341282218695,
0.06491753458976746,
0.021283229812979698,
0.03707995265722275,
0.016588401049375534,
-0.056890297681093216,
0.013403279706835747,
-0.03291904553771019,
0.04993090033531189,
0.03998890891671181,
0.030267847701907158,
0.05457049608230591,
-0.007622194942086935,
0.05184565484523773,
-0.011055865325033665,
-0.014001640491187572,
0.02723001502454281,
-0.044628504663705826,
0.051440611481666565,
0.04142497479915619,
-0.06027793884277344,
-0.03534930944442749,
0.02233266271650791,
0.009582976810634136,
-0.021596219390630722,
-0.06591173261404037,
0.07224515080451965,
0.008197542279958725,
-0.05442320927977562,
-0.09374931454658508,
-0.013384869322180748,
-0.024505173787474632,
0.00960138812661171,
0.007985814474523067,
0.01427780743688345,
0.04823707789182663,
-0.03376595675945282,
-0.06396015733480453,
0.006894956808537245,
0.03474174439907074,
0.02929205819964409,
-0.010770493187010288,
-0.017647039145231247,
0.02502068318426609,
0.012307819910347462,
0.04385523870587349,
0.025480961427092552,
-0.030691301450133324,
0.043413370847702026,
-0.019883986562490463,
0.03814779594540596,
0.024229006841778755,
0.029439346864819527,
0.004418663680553436,
0.0400625504553318,
0.03800050914287567,
-0.052177056670188904,
0.036030519753694534,
-0.011332031339406967,
-0.01347692497074604,
0.013771502301096916,
-0.017582599073648453,
0.013605802319943905,
-0.07250291109085083,
0.021356875076889992,
0.016349056735634804,
-0.054128631949424744,
0.022148551419377327,
0.02441311813890934,
0.056411609053611755,
-0.01378991361707449,
-0.038184620440006256,
-0.06841564178466797,
0.06697957962751389,
0.01087175402790308,
-0.015631023794412613,
0.01811652071774006,
0.01294300239533186,
0.016192561015486717,
0.006029634736478329,
-0.016100505366921425,
0.007364439778029919,
0.003723644884303212,
0.06399697810411453,
-0.018852965906262398,
0.034668099135160446,
0.049489036202430725,
-0.04750063642859459,
0.01371626928448677,
0.020104920491576195,
-0.025941237807273865,
0.0027317467611283064,
-0.05173518881201744,
0.023952839896082878,
-0.007654414512217045,
-0.05247163400053978,
-0.006591173354536295,
0.023013873025774956,
0.03873695433139801,
0.0011052412446588278,
0.003539533820003271,
-0.010448298417031765,
0.06830517947673798,
-0.0692625567317009,
0.0019159050425514579,
0.03606734424829483,
0.018604416400194168,
0.008427680470049381
] |
719,671
|
ibm_platform_services.iam_identity_v1
|
commit_account_settings_template
|
Commit a template version.
Commit a specific version of an account settings template in an Enterprise
Account. A Template must be committed before being assigned, and once committed,
can no longer be modified.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def commit_account_settings_template(
self,
template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Commit a template version.
Commit a specific version of an account settings template in an Enterprise
Account. A Template must be committed before being assigned, and once committed,
can no longer be modified.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version:
raise ValueError('version must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='commit_account_settings_template',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id', 'version']
path_param_values = self.encode_path_vars(template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_templates/{template_id}/versions/{version}/commit'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.025133861228823662,
-0.05449250340461731,
-0.027550579980015755,
-0.023379504680633545,
0.016899120062589645,
-0.024149272590875626,
-0.06326429545879364,
0.027407366782426834,
-0.02563510648906231,
-0.03576741740107536,
0.004437361843883991,
-0.011815063655376434,
-0.0364476814866066,
-0.06816933304071426,
-0.06251242756843567,
-0.00509748375043273,
0.07475712895393372,
-0.021392425522208214,
0.0471886470913887,
-0.002394340466707945,
0.06050744652748108,
-0.014169124886393547,
-0.017445119097828865,
0.06698782742023468,
0.045935533940792084,
-0.042856454849243164,
0.037450168281793594,
0.008337675593793392,
0.028302446007728577,
-0.01150178536772728,
-0.05212949216365814,
0.025205468758940697,
-0.004128559026867151,
0.05818023532629013,
0.01723030023276806,
-0.05384804680943489,
-0.008046774193644524,
0.038989707827568054,
-0.06226180121302605,
0.02223380096256733,
0.00911192037165165,
0.07926833629608154,
0.009478903375566006,
-0.028445659205317497,
-0.016335219144821167,
0.0025867826770991087,
-0.008955281227827072,
0.010141262784600258,
-0.010669359937310219,
0.010749917477369308,
0.05298876762390137,
-0.020604753866791725,
-0.020246721804142,
-0.036322370171546936,
-0.02853516861796379,
0.026941925287246704,
0.04672320559620857,
-0.020909082144498825,
-0.004468689672648907,
-0.04912202060222626,
-0.005558450240641832,
0.008865772746503353,
-0.04865657910704613,
-0.013855846598744392,
-0.03236611187458038,
0.006252137478441,
-0.011627096682786942,
-0.01646053045988083,
0.01390060130506754,
-0.0171139407902956,
0.0021235786844044924,
0.0003613887820392847,
0.02593943476676941,
-0.0611519031226635,
-0.0035579451359808445,
0.01931583881378174,
-0.016576891764998436,
0.022251702845096588,
-0.013497814536094666,
-0.010347130708396435,
-0.02620795927941799,
-0.09853046387434006,
0.026422778144478798,
-0.02468632161617279,
0.016872268170118332,
0.0005725718219764531,
0.00237643881700933,
-0.04722445085644722,
-0.024149272590875626,
0.04138852283358574,
0.033744536340236664,
-0.018089577555656433,
-0.02670920267701149,
-0.0011613670503720641,
0.05187886953353882,
-0.0018013495719060302,
0.07221509516239166,
-0.05227270349860191,
-0.05252332612872124,
0.02332579903304577,
-0.015744466334581375,
-0.06161734461784363,
-0.00516909034922719,
-0.032473523169755936,
0.015968237072229385,
-0.009201427921652794,
-0.028803691267967224,
0.04611454904079437,
-0.007102464325726032,
-0.021660950034856796,
0.045291077345609665,
-0.04092308133840561,
-0.045147862285375595,
-0.035874828696250916,
0.061044491827487946,
0.02685241587460041,
-0.05911111831665039,
-0.013220340013504028,
-0.012074636295437813,
-0.026906121522188187,
0.07203608006238937,
-0.03702053055167198,
0.002232107101008296,
0.042391013354063034,
0.01489413995295763,
0.02747897244989872,
-0.0033229864202439785,
-0.004806582350283861,
-0.03716374561190605,
-0.011081096716225147,
-0.05445669963955879,
-0.009845886379480362,
-0.0011747932294383645,
-0.026279564946889877,
0.0005009653978049755,
0.006005990318953991,
-0.023415306583046913,
-0.02302147075533867,
-0.0217683594673872,
0.026494383811950684,
0.04951585456728935,
0.010051754303276539,
-0.039132922887802124,
-0.018098529428243637,
-0.002924675587564707,
-0.048226941376924515,
0.002304832451045513,
0.019172625616192818,
0.004833435174077749,
0.008091527968645096,
0.038058824837207794,
0.002629299182444811,
-0.02529497630894184,
0.031417328864336014,
-0.04418117552995682,
0.0032267654314637184,
0.06859897077083588,
-0.023576421663165092,
0.018322298303246498,
-0.027819102630019188,
0.02903641201555729,
0.05699872970581055,
0.06272724270820618,
0.04557750001549721,
0.03734276071190834,
0.011949324980378151,
-0.011465981602668762,
0.01911891996860504,
0.005862777587026358,
-0.06061485409736633,
0.010230770334601402,
0.01800007000565529,
-0.020336229354143143,
0.00813180673867464,
-0.014634567312896252,
0.012334209866821766,
0.0340130589902401,
-0.014885189943015575,
0.009827984496951103,
-0.04289225861430168,
-0.006122351158410311,
-0.02654808945953846,
0.005549499299377203,
0.061187706887722015,
0.02021091803908348,
0.00748734874650836,
0.03437109291553497,
0.06791871041059494,
-0.025581402704119682,
-0.022896161302924156,
0.029555559158325195,
-0.07912512123584747,
0.053167782723903656,
0.010758868418633938,
-0.019047314301133156,
-0.05542338639497757,
-0.019870787858963013,
-0.10898500680923462,
0.04965906962752342,
0.013148733414709568,
-0.012155193835496902,
-0.07926833629608154,
0.01637997478246689,
-0.03011051006615162,
0.0755447968840599,
0.018402855843305588,
0.07092618197202682,
-0.08249062299728394,
-0.0062208096496760845,
-0.010857326909899712,
0.014920992776751518,
-0.016657449305057526,
-0.022663438692688942,
0.04199717938899994,
-0.050088707357645035,
-0.03669830411672592,
0.05048254132270813,
-0.042856454849243164,
-0.019942395389080048,
-0.01654108799993992,
-0.014106469228863716,
0.02302147075533867,
0.030916081741452217,
0.014187026768922806,
0.04600714147090912,
-0.026118449866771698,
0.0021907095797359943,
0.02960926480591297,
-0.04579232260584831,
-0.04260583221912384,
0.05220109596848488,
0.045147862285375595,
0.05091218277812004,
-0.006207383703440428,
-0.05202208086848259,
-0.08249062299728394,
-0.00475287763401866,
-0.045326877385377884,
0.005688237026333809,
0.034943945705890656,
0.026959825307130814,
0.031864866614341736,
0.07568801194429398,
0.03895390406250954,
-0.06555569916963577,
-0.01388269942253828,
-0.05266654118895531,
-0.015422238036990166,
-0.0004369111848063767,
-0.0658063217997551,
0.011743457056581974,
-0.06412357091903687,
-0.04031442850828171,
0.02346901223063469,
0.027282055467367172,
-0.007097988855093718,
0.07790780812501907,
0.01010545901954174,
0.028642578050494194,
-0.01974547654390335,
-0.039884790778160095,
-0.0031976753380149603,
-0.049802280962467194,
-0.05066156014800072,
0.007183021400123835,
-0.055638205260038376,
-0.018725084140896797,
0.053490012884140015,
-0.007174070458859205,
0.07933993637561798,
-0.0059880889020860195,
0.06133091822266579,
0.0010416499571874738,
-0.011260113678872585,
-0.044539209455251694,
-0.012289456091821194,
0.03856007009744644,
0.00847641285508871,
-0.01654108799993992,
-0.03809462860226631,
-0.0046544186770915985,
-0.015681810677051544,
0.048835594207048416,
0.06526927649974823,
0.02439989522099495,
0.009702673181891441,
-0.04618615657091141,
0.04317868500947952,
0.0459713377058506,
0.03165004774928093,
-0.03195437416434288,
0.07214349508285522,
0.02917962521314621,
-0.03600014001131058,
-0.049623265862464905,
-0.007518676575273275,
0.02456101030111313,
-0.011143752373754978,
0.05169985070824623,
-0.007124841213226318,
0.01947695203125477,
-0.00964896846562624,
-0.039455149322748184,
-0.007782725151628256,
-0.015538598410785198,
0.01390060130506754,
0.0459713377058506,
0.007464971859008074,
0.048370152711868286,
0.04554169997572899,
0.006713103968650103,
0.020586851984262466,
0.016979677602648735,
-0.010535097680985928,
-0.02006770670413971,
0.008315298706293106,
0.00755895534530282,
-0.054707322269678116,
0.025062255561351776,
-0.0004917348851449788,
-0.061044491827487946,
0.0012866782490164042,
0.02950185537338257,
-0.013721584342420101,
0.01634417101740837,
-0.02008560672402382,
-0.009353592060506344,
-0.01249532401561737,
0.013354601338505745,
0.03440689668059349,
-0.037127941846847534,
0.03129201754927635,
0.03841685876250267,
0.013211389072239399,
-0.019208429381251335,
-0.020730065181851387,
0.016720104962587357,
0.018599772825837135,
-0.005880679003894329,
0.03719954565167427,
0.03344020992517471,
0.00686974311247468,
0.03623285889625549,
-0.0044216979295015335,
-0.0423194095492363,
0.0005219438462518156,
-0.010544048622250557,
0.04307127743959427,
-0.0031126425601541996,
-0.02436409331858158,
-0.06047164276242256,
0.010552999563515186,
0.044073767960071564,
0.0376649908721447,
0.0032043883111327887,
-0.0629778653383255,
0.03848846256732941,
0.02703143283724785,
0.006466956809163094,
-0.03238401561975479,
-0.04600714147090912,
-0.022144293412566185,
-0.009353592060506344,
-0.00486028753221035,
0.013408306986093521,
0.0027478972915560007,
-0.01719449646770954,
0.022036883980035782,
-0.029412345960736275,
-0.05746417120099068,
0.014222829602658749,
-0.00602389220148325,
0.03383404389023781,
0.0004995668423362076,
0.01988868974149227,
-0.0012240225914865732,
-0.08571290969848633,
-0.00012552106636576355,
-0.03863167762756348,
-0.08571290969848633,
0.04647258296608925,
-0.057643186300992966,
0.012522176839411259,
-0.0024480451829731464,
-0.04024282097816467,
-0.011457030661404133,
0.032938964664936066,
-0.03977737948298454,
0.022949865087866783,
0.06047164276242256,
0.005813548341393471,
-0.02423878200352192,
-0.04751087725162506,
-0.04572071507573128,
-0.03100558929145336,
0.04665159806609154,
-0.008803117088973522,
-0.000257335661444813,
0.028767889365553856,
0.0055092209950089455,
0.024489404633641243,
0.013095028698444366,
0.06698782742023468,
-0.002548741875216365,
0.01682751439511776,
-0.031077196821570396,
0.012763848528265953,
-0.012808602303266525,
0.02516966499388218,
-0.0860709473490715,
-0.03676990792155266,
0.031703751534223557,
-0.020926984027028084,
-0.025688812136650085,
-0.026959825307130814,
0.04307127743959427,
-0.05617525428533554,
0.029215428978204727,
-0.05048254132270813,
-0.061832163482904434,
0.03598223626613617,
0.052559129893779755,
0.001551845925860107,
0.008458510972559452,
-0.04428858682513237,
0.00949680432677269,
0.02237701416015625,
-0.03428158536553383,
-0.011949324980378151,
-0.03984898701310158,
-0.011098998598754406,
-0.043572522699832916,
0.008995559066534042,
0.05252332612872124,
0.01505525503307581,
0.032348211854696274,
0.026118449866771698,
0.032043881714344025,
-0.013632076792418957,
0.06047164276242256,
0.006972677540034056,
0.022430717945098877,
-0.01650528609752655,
-0.03352971747517586,
-0.006932398770004511,
0.04965906962752342,
-0.03956256061792374,
-0.12710143625736237,
-0.008543543517589569,
0.02132081799209118,
-0.004864762537181377,
0.04568491131067276,
-0.007782725151628256,
-0.022949865087866783,
-0.030522245913743973,
-0.029448149725794792,
-0.06698782742023468,
-0.01976337842643261,
-0.03601804003119469,
-0.03755757957696915,
0.017650987952947617,
-0.03578532114624977,
0.05048254132270813,
0.019996099174022675,
-0.01156444102525711,
-0.09244392067193985,
0.05391965061426163,
0.02669130265712738,
0.008874723687767982,
0.02053314819931984,
-0.009452050551772118,
-0.012907061725854874,
-0.058574069291353226,
0.1362670660018921,
0.04586392641067505,
0.032956864684820175,
0.016997579485177994,
-0.020640557631850243,
-0.07328919321298599,
-0.022878259420394897,
-0.006041793618351221,
0.06827674061059952,
-0.005101959221065044,
0.032025981694459915,
0.01899360865354538,
-0.0487997904419899,
0.05839505419135094,
-0.029287034645676613,
0.00683393981307745,
-0.0002479652757756412,
0.030987689271569252,
-0.06523346900939941,
-0.022878259420394897,
0.05925433337688446,
-0.03592853248119354,
-0.0417107529938221,
-0.007854332216084003,
-0.0026203482411801815,
0.004949795547872782,
-0.07085457444190979,
0.02332579903304577,
-0.022162193432450294,
0.02375543862581253,
-0.0024816107470542192,
0.039884790778160095,
0.03966996818780899,
0.0036765432450920343,
0.014679321087896824,
0.030826574191451073,
0.014929943718016148,
-0.017266103997826576,
-0.0026427253615111113,
-0.03734276071190834,
0.008275019936263561,
0.07547318935394287,
0.048835594207048416,
-0.02006770670413971,
-0.013256142847239971,
0.0028150284197181463,
-0.0033587897196412086,
-0.01552069652825594,
0.02960926480591297,
0.03798721730709076,
0.006511711049824953,
0.02930493652820587,
0.002125816186890006,
-0.024149272590875626,
-0.055029552429914474,
0.008400331251323223,
0.05821603909134865,
-0.0571061372756958,
0.006413252092897892,
-0.04167494922876358,
-0.0182238407433033,
0.009586312808096409,
-0.030808672308921814,
-0.05746417120099068,
0.004842385649681091,
-0.06226180121302605,
-0.0040256245993077755,
-0.05273814499378204,
-0.012540078721940517,
-0.015681810677051544,
-0.05739256367087364,
0.00697715301066637,
-0.027228349819779396,
0.043930552899837494,
-0.04214039072394371,
-0.06630756705999374,
-0.049444250762462616,
0.016818564385175705,
-0.005316778551787138,
0.05094798654317856,
0.0682409405708313,
-0.027353661134839058,
0.07314598560333252,
-0.027747496962547302,
-0.014410796575248241,
0.01895780675113201,
0.016800662502646446,
-0.002022881992161274,
-0.020891180261969566,
0.004775254521518946,
-0.013095028698444366,
-0.005155663937330246,
0.011170605197548866,
0.05828764662146568,
-0.0064445799216628075,
0.03055804967880249,
0.028463561087846756,
-0.023361602798104286,
0.05259493365883827,
0.011680801399052143,
-0.04994549602270126,
-0.01142122782766819,
-0.05431348830461502,
0.0388823002576828,
0.03213339298963547,
0.035427287220954895,
0.06408776342868805,
-0.01703338325023651,
-0.016335219144821167,
0.07232251018285751,
-0.03723534941673279,
0.007975167594850063,
0.08306347578763962,
0.036035943776369095,
0.03734276071190834,
0.030307427048683167,
0.05939754471182823,
-0.04103049263358116,
0.03752177581191063,
0.003079076996073127,
0.0014735263539478183,
0.027586381882429123,
0.015377483330667019,
-0.014527156949043274,
-0.019870787858963013,
-0.0206584595143795,
-0.03147103264927864,
-0.011188507080078125,
-0.009443099610507488,
0.0009918611031025648,
0.0629778653383255,
0.02667340077459812,
-0.017937414348125458,
-0.010633557103574276,
0.015091057866811752,
-0.013354601338505745,
-0.013757388107478619,
0.04919362813234329,
-0.036035943776369095,
0.003396830754354596,
-0.03956256061792374,
0.017668889835476875,
0.04085147753357887,
-0.02790861204266548,
0.06569891422986984,
-0.0465799905359745,
-0.018725084140896797,
-0.020246721804142,
0.0536690279841423,
-0.030933983623981476,
0.02189367078244686,
-0.024095568805933,
0.07862387597560883,
0.026583891361951828,
-0.03612545132637024,
-0.03719954565167427,
0.022627636790275574,
-0.03798721730709076,
0.06143832951784134,
-0.04120950773358345,
0.034209977835416794,
0.034174174070358276,
0.029090117663145065,
0.0047170743346214294,
-0.006650448311120272,
0.06455320864915848,
0.0016357597196474671,
0.07905351370573044,
-0.055315978825092316,
0.03120250813663006,
0.05417027324438095,
0.02345111034810543,
0.089508056640625,
-0.0035803222563117743,
-0.03906131535768509,
-0.04564910754561424,
-0.0012542316690087318,
-0.0338161438703537,
0.012361062690615654,
-0.03335070237517357,
-0.018438659608364105,
-0.015780270099639893,
-0.0015731040621176362,
0.023075176402926445,
0.04550589621067047,
-0.022896161302924156,
0.03250932693481445,
-0.023504815995693207,
-0.03043273836374283,
0.010776769369840622,
-0.015010500326752663,
-0.02361222542822361,
0.019351640716195107,
-0.023110980167984962,
-0.017507774755358696,
-0.04228360578417778,
0.026279564946889877,
0.07053234428167343,
-0.06731005758047104,
-0.03895390406250954,
0.02917962521314621,
0.05259493365883827,
0.0032267654314637184,
-0.0388823002576828,
0.034657519310712814,
-0.04736766219139099,
-0.0019814844708889723,
0.09366122633218765,
-0.018161185085773468,
0.006319268606603146,
-0.004560435190796852,
-0.0018819068791344762,
-0.07747817039489746,
0.008306347765028477,
0.04457500949501991,
-0.020031902939081192,
0.007272529415786266,
-0.014079617336392403,
-0.04518366605043411,
-0.06956566125154495,
-0.017158694565296173,
0.022269604727625847,
-0.005204893182963133,
-0.004931893665343523,
-0.004437361843883991,
-0.0007054353482089937,
-0.023701732978224754,
0.014589812606573105,
-0.023433208465576172,
-0.010203918442130089,
0.048978809267282486,
-0.04611454904079437,
0.014330239966511726,
0.018474463373422623,
-0.031399425119161606,
0.05288136005401611,
-0.0034550109412521124,
-0.003508715657517314,
0.02207268588244915,
0.05030352622270584,
0.03292106091976166,
-0.02468632161617279,
0.03734276071190834,
-0.07353981584310532,
0.0226813405752182,
0.028785791248083115,
0.033422306180000305,
-0.033279094845056534,
0.03453220799565315,
-0.008458510972559452,
-0.04786890745162964,
0.06369393318891525,
-0.028320347890257835,
0.02051524631679058,
0.07149903476238251,
-0.017874758690595627,
0.020157214254140854,
-0.00904031377285719,
0.011063195765018463,
-0.03784400597214699,
-0.0206584595143795,
0.01947695203125477,
0.03870328143239021,
-0.008239216171205044,
-0.004497779533267021,
0.0072233001701533794,
0.01435709185898304,
-0.012790701352059841,
0.007934888824820518,
-0.03600014001131058,
-0.08356472104787827,
-0.01305027399212122,
0.027657989412546158,
0.001386255957186222,
0.0047305007465183735,
0.000023932914700708352,
-0.026028942316770554,
0.032777849584817886,
0.033887747675180435,
0.010033853352069855,
-0.007661889307200909,
0.082633838057518,
-0.026136351749300957,
0.005732990801334381,
0.027998119592666626,
-0.016478432342410088,
0.04367993026971817,
0.034335289150476456,
-0.020300427451729774,
0.011027391999959946,
0.004231493454426527,
-0.004967696964740753,
0.0029134871438145638,
0.003987583797425032,
0.02977037988603115
] |
719,672
|
ibm_platform_services.iam_identity_v1
|
commit_profile_template
|
Commit a template version.
Commit a specific version of a trusted profile template in an enterprise account.
You must commit a template before you can assign it to child accounts. Once a
template is committed, you can no longer modify the template.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def commit_profile_template(
self,
template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Commit a template version.
Commit a specific version of a trusted profile template in an enterprise account.
You must commit a template before you can assign it to child accounts. Once a
template is committed, you can no longer modify the template.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version:
raise ValueError('version must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='commit_profile_template',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id', 'version']
path_param_values = self.encode_path_vars(template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_templates/{template_id}/versions/{version}/commit'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.011538590304553509,
-0.04676259681582451,
-0.041968267410993576,
-0.014633437618613243,
0.0031485145445913076,
-0.03824729844927788,
-0.04819374158978462,
0.051628485321998596,
-0.008667360059916973,
-0.03368552774190903,
0.02159236930310726,
-0.00763872591778636,
-0.06171804293990135,
-0.0672995001077652,
-0.054848555475473404,
-0.016431311145424843,
0.10425876826047897,
-0.04558190330862999,
0.031771376729011536,
-0.01596619002521038,
0.07406165450811386,
-0.00214671459980309,
-0.03450843691825867,
0.03277317434549332,
0.03533134236931801,
-0.043649863451719284,
0.05159270390868187,
-0.01758516952395439,
0.03359608352184296,
-0.000968816748354584,
-0.049302875995635986,
0.04286273196339607,
0.0011119310511276126,
0.049982670694589615,
0.0080278180539608,
-0.019517213106155396,
-0.028390299528837204,
0.03087691031396389,
-0.0716644898056984,
0.03500933572649956,
-0.00661456398665905,
0.06812240928411484,
-0.03491988778114319,
-0.02531334199011326,
-0.010187949053943157,
0.005295229144394398,
-0.03924909606575966,
-0.00554567901417613,
-0.01723632775247097,
0.01570679433643818,
0.009078813716769218,
-0.014821275137364864,
-0.005541206803172827,
-0.02622569538652897,
-0.020876798778772354,
-0.012576169334352016,
0.02704860270023346,
-0.030393900349736214,
-0.0009922963799908757,
-0.0036628316156566143,
0.008358770050108433,
-0.008671832270920277,
-0.0394279882311821,
0.015894632786512375,
-0.025742685422301292,
-0.011923210695385933,
-0.0036583594046533108,
-0.016341865062713623,
-0.0021008732728660107,
-0.024722995236516,
0.017093215137720108,
0.006949988193809986,
0.025116559118032455,
-0.03939221054315567,
0.03567123785614967,
0.008278267458081245,
-0.01658337004482746,
-0.01168170478194952,
0.004812218248844147,
0.005751405842602253,
-0.0026028912980109453,
-0.12157560139894485,
0.009051979519426823,
-0.03475888445973396,
0.02896275743842125,
0.012942899949848652,
0.05055512860417366,
-0.07613680511713028,
-0.04390031099319458,
0.060859356075525284,
0.025027113035321236,
-0.0073480247519910336,
-0.0160556361079216,
-0.00956182461231947,
0.07585057616233826,
0.0017799841007217765,
0.06125292181968689,
-0.013873142190277576,
-0.04357830435037613,
0.01555473543703556,
-0.000940864731092006,
-0.03935643285512924,
-0.017137937247753143,
-0.032272275537252426,
0.03250483423471451,
0.03756750375032425,
-0.00044052369776181877,
0.05670904368162155,
0.0018985006026923656,
0.0026431423611938953,
0.02660137042403221,
-0.08243383467197418,
-0.05477700009942055,
-0.0470130480825901,
0.058963093906641006,
0.002000245964154601,
-0.028909089043736458,
-0.004691465757787228,
-0.021824931725859642,
-0.024347320199012756,
0.06057312712073326,
-0.049338653683662415,
0.006297029089182615,
0.006265723146498203,
-0.03620791807770729,
0.0140967583283782,
0.007267523091286421,
0.004566240590065718,
-0.023756973445415497,
-0.0028488689567893744,
-0.05195049196481705,
-0.023524412885308266,
-0.01551001239567995,
-0.009642326273024082,
-0.008135153912007809,
-0.02946365624666214,
-0.03332774341106415,
-0.03742438927292824,
0.021341919898986816,
0.04955332726240158,
0.023059291765093803,
-0.0031641677487641573,
-0.04211138188838959,
0.02631514146924019,
-0.011216583661735058,
-0.0394279882311821,
0.0000017688382740743691,
0.013041290454566479,
0.01377475168555975,
0.001284674508497119,
0.03459788113832474,
-0.003866322338581085,
-0.020519012585282326,
0.0012690213043242693,
-0.00596607755869627,
-0.01949932426214218,
0.06536746025085449,
-0.0594639927148819,
0.009320318698883057,
-0.02245105616748333,
0.03717393800616264,
0.030715906992554665,
0.03400753438472748,
0.058319076895713806,
0.014678160659968853,
-0.006288084667176008,
0.0030434150248765945,
0.053488969802856445,
-0.01468710508197546,
-0.03985733166337013,
0.024830332025885582,
0.012710338458418846,
0.007061796262860298,
0.025331230834126472,
0.022826731204986572,
0.008314046077430248,
0.0563870333135128,
-0.01038473192602396,
-0.024168428033590317,
-0.05796129256486893,
-0.004874831065535545,
-0.0344189889729023,
-0.0008128444897010922,
0.03390020132064819,
-0.00114323734305799,
0.010447343811392784,
0.0391775406897068,
0.06579679995775223,
-0.002145596547052264,
-0.000020003159079351462,
-0.0413600318133831,
-0.08178982138633728,
0.0327552855014801,
0.03375708684325218,
0.008461632765829563,
-0.03658359497785568,
0.0041659679263830185,
-0.05860530585050583,
0.045474570244550705,
-0.00914589874446392,
-0.04143159091472626,
-0.05678059905767441,
0.010921410284936428,
-0.05871264263987541,
0.04322052001953125,
0.03468732908368111,
0.03611847013235092,
-0.032272275537252426,
-0.0178535096347332,
-0.03885553404688835,
0.02271939441561699,
-0.012003712356090546,
-0.014526101760566235,
0.056995268911123276,
-0.03450843691825867,
-0.04522411897778511,
0.050805576145648956,
-0.05513478443026543,
-0.018282851204276085,
-0.00040754032670520246,
0.024758774787187576,
0.025885799899697304,
0.018926866352558136,
0.015581569634377956,
0.03447265550494194,
-0.009901721030473709,
0.0031910017132759094,
0.03220071643590927,
-0.03282684460282326,
-0.04121691733598709,
0.061181362718343735,
0.01967821642756462,
0.03735283389687538,
0.0024374155327677727,
-0.08558235317468643,
-0.06619036197662354,
-0.01559945847839117,
-0.02436520904302597,
-0.0030210535041987896,
0.04425809904932976,
0.03685193136334419,
0.019964445382356644,
0.08236227929592133,
0.03361397236585617,
-0.04819374158978462,
-0.02118091657757759,
-0.042826954275369644,
-0.031037913635373116,
0.0031977102626115084,
-0.03125258535146713,
0.0035487874411046505,
-0.02796095609664917,
-0.01823812909424305,
0.02127036266028881,
0.02914164960384369,
-0.010116391815245152,
0.08314941078424454,
-0.011601203121244907,
0.02322029508650303,
0.005845324601978064,
-0.058319076895713806,
-0.00824696198105812,
-0.06833707541227341,
-0.03359608352184296,
-0.02937421016395092,
-0.0744909942150116,
-0.020572680979967117,
0.06404364854097366,
-0.014204094186425209,
0.06837286055088043,
0.01758516952395439,
0.04593969136476517,
-0.0035264259204268456,
-0.02672659605741501,
-0.026708707213401794,
-0.03785373270511627,
0.00935609731823206,
0.04887353256344795,
0.00798309501260519,
-0.04619013890624046,
0.006270195357501507,
-0.015608403831720352,
0.046333253383636475,
0.052487168461084366,
0.03093057870864868,
-0.0025089725386351347,
-0.04336363449692726,
0.03767484053969383,
0.030215006321668625,
0.017084268853068352,
-0.019696105271577835,
0.06322073936462402,
-0.001537360716611147,
-0.026154138147830963,
-0.07399009168148041,
-0.0030411789193749428,
-0.0074732499197125435,
0.018041346222162247,
0.0400720052421093,
-0.015357953496277332,
0.011145026423037052,
0.01085879746824503,
-0.03055490367114544,
-0.02704860270023346,
-0.016252417117357254,
-0.006516173016279936,
0.022057492285966873,
-0.031467255204916,
0.03491988778114319,
0.020161226391792297,
0.013828419148921967,
0.016681760549545288,
0.014311430044472218,
-0.006471449974924326,
-0.03742438927292824,
0.03949954733252525,
0.014570824801921844,
-0.07549279183149338,
0.022164827212691307,
0.00839902088046074,
-0.048658862709999084,
0.003231252543628216,
0.07735327631235123,
0.030805353075265884,
0.027567392215132713,
-0.023166626691818237,
-0.03270161896944046,
-0.027710506692528725,
-0.0011493867496028543,
0.03500933572649956,
-0.03756750375032425,
0.02722749672830105,
0.06239783391356468,
0.017254218459129333,
-0.01858696900308132,
0.004297901410609484,
0.002611835952848196,
0.02295195683836937,
-0.0037880565505474806,
0.047335054725408554,
0.02973199635744095,
-0.021520813927054405,
0.049338653683662415,
-0.0010655306978151202,
-0.018220240250229836,
0.00661456398665905,
-0.016780151054263115,
0.036279477179050446,
0.0186227485537529,
-0.017817730084061623,
-0.07255895435810089,
0.00824696198105812,
0.04107380285859108,
0.029034314677119255,
-0.00703496253117919,
-0.0782119631767273,
0.02477666363120079,
0.01626136340200901,
-0.0019499323097988963,
-0.02322029508650303,
-0.04400764778256416,
-0.002093046670779586,
-0.010420509614050388,
0.007772895507514477,
0.0072362166829407215,
0.006297029089182615,
-0.005415981635451317,
0.019821330904960632,
-0.08243383467197418,
-0.02153870277106762,
-0.008135153912007809,
-0.007330135442316532,
0.001137646846473217,
0.006690593436360359,
0.0031865292694419622,
-0.033399298787117004,
-0.04357830435037613,
0.003146278439089656,
-0.0391775406897068,
-0.08343563973903656,
0.03397175669670105,
-0.04254072532057762,
-0.0010236026719212532,
-0.002421762328594923,
-0.04869464039802551,
0.004304609727114439,
0.003477230202406645,
-0.039284877479076385,
0.04039401188492775,
0.03497355803847313,
0.011225528083741665,
-0.038640860468149185,
-0.042970068752765656,
-0.06776462495326996,
-0.004127953201532364,
0.03225438669323921,
-0.005773767363280058,
0.001292500994168222,
0.021377699449658394,
0.004856941755861044,
0.021395588293671608,
0.019427767023444176,
0.05577879771590233,
0.01390892080962658,
-0.0044902111403644085,
-0.030751684680581093,
0.039821553975343704,
-0.020608458667993546,
0.005997383501380682,
-0.05874842032790184,
-0.029535213485360146,
0.032129161059856415,
-0.038640860468149185,
-0.005644070450216532,
0.005657487083226442,
0.0670490488409996,
-0.0789990946650505,
0.04168203845620155,
-0.07849819213151932,
-0.01844385638833046,
0.052988070994615555,
0.06976822018623352,
-0.004789856728166342,
0.03132414445281029,
-0.057317279279232025,
0.02622569538652897,
0.007576113101094961,
-0.039320655167102814,
0.005058195907622576,
-0.024418877437710762,
0.004566240590065718,
-0.05284495651721954,
0.01275506243109703,
0.05477700009942055,
0.02622569538652897,
0.023935867473483086,
0.0030501235742121935,
0.05212938413023949,
-0.01411464810371399,
0.07520656287670135,
0.05209360644221306,
0.022701505571603775,
-0.02350652404129505,
-0.004454432521015406,
0.004874831065535545,
0.05359630659222603,
-0.05975022166967392,
-0.12901754677295685,
-0.014696049503982067,
0.030304452404379845,
0.017272107303142548,
0.03166403993964195,
0.0010839790338650346,
-0.016628092154860497,
-0.006811346393078566,
-0.044794775545597076,
-0.07177182286977768,
0.0178535096347332,
-0.020232783630490303,
-0.04772862046957016,
-0.0019913013093173504,
-0.018372299149632454,
0.059141986072063446,
0.023345520719885826,
-0.004329207818955183,
-0.12007290124893188,
0.04322052001953125,
0.010876687243580818,
0.00223168870434165,
0.034186430275440216,
-0.01620769500732422,
-0.017048491165041924,
-0.05402565002441406,
0.12107469886541367,
0.04955332726240158,
0.05044779181480408,
0.001080624759197235,
-0.024901889264583588,
-0.051843155175447464,
-0.016699649393558502,
-0.031860820949077606,
0.05359630659222603,
-0.004083229694515467,
0.03874819725751877,
0.029946668073534966,
-0.04619013890624046,
0.028533414006233215,
-0.026350921019911766,
0.023488635197281837,
0.0004628853057511151,
0.03161036968231201,
-0.02062634937465191,
-0.016994822770357132,
0.05892731249332428,
-0.06175382062792778,
-0.04608280584216118,
-0.0027415333315730095,
-0.017084268853068352,
0.022826731204986572,
-0.05760350450873375,
0.025062892585992813,
-0.003671776270493865,
0.0789990946650505,
0.006972349714487791,
0.04372141882777214,
0.07001867145299911,
0.04271961748600006,
0.009830163791775703,
0.024919778108596802,
0.022826731204986572,
-0.0203580092638731,
-0.005308646243065596,
-0.011422310024499893,
0.028300853446125984,
0.039320655167102814,
0.041968267410993576,
0.021467145532369614,
0.024722995236516,
0.0037433335091918707,
0.0061047193594276905,
0.011896376498043537,
0.015894632786512375,
0.02322029508650303,
0.0023345521185547113,
0.03220071643590927,
-0.0016245709266513586,
-0.013005511835217476,
-0.039141763001680374,
0.020322231575846672,
0.04758550599217415,
-0.04304162785410881,
0.03191448748111725,
-0.0378895103931427,
-0.04611858353018761,
-0.017155826091766357,
-0.051664263010025024,
-0.054633885622024536,
-0.031574591994285583,
-0.01737944222986698,
-0.020018113777041435,
-0.01619875058531761,
-0.012951844371855259,
-0.03393597900867462,
-0.01493755541741848,
-0.004924026317894459,
-0.025921577587723732,
0.014025201089680195,
-0.041646260768175125,
-0.05037623271346092,
-0.04801484942436218,
0.024025313556194305,
-0.01079618465155363,
0.02363174967467785,
0.04973221942782402,
-0.03402542695403099,
0.09674526751041412,
-0.013452744111418724,
-0.021932266652584076,
-0.0020069545134902,
0.024651437997817993,
-0.01309495884925127,
-0.035313453525304794,
0.026887599378824234,
-0.023005623370409012,
-0.0005629535298794508,
0.03974999859929085,
0.03182504326105118,
-0.011520701460540295,
0.02080524154007435,
-0.00003247674248996191,
0.021842820569872856,
0.05760350450873375,
-0.008568968623876572,
-0.03497355803847313,
-0.0281935166567564,
-0.053524747490882874,
0.046655263751745224,
0.057317279279232025,
0.06043001264333725,
0.05105602741241455,
-0.026404589414596558,
0.012495667673647404,
0.08751439303159714,
-0.03771061822772026,
-0.015044891275465488,
0.07749639451503754,
0.025331230834126472,
0.03341718763113022,
0.0666554868221283,
0.03465155139565468,
-0.061825379729270935,
0.012916065752506256,
0.0022786480840295553,
-0.018747974187135696,
0.03624369576573372,
0.024848220869898796,
-0.009096702560782433,
-0.014615547843277454,
-0.03277317434549332,
-0.045152563601732254,
-0.001643578289076686,
0.004159259609878063,
0.012880287133157253,
0.06751417368650436,
0.005492011085152626,
-0.05023311823606491,
-0.0357070192694664,
0.043792977929115295,
-0.024758774787187576,
-0.01017900463193655,
0.0723085030913353,
0.01468710508197546,
-0.012182604521512985,
-0.04558190330862999,
0.01047417800873518,
0.053846754133701324,
-0.03674459829926491,
0.06468766182661057,
-0.053488969802856445,
-0.030501235276460648,
-0.03252272680401802,
0.009123536758124828,
-0.04525989666581154,
0.047835953533649445,
-0.023005623370409012,
0.04801484942436218,
0.0358322449028492,
-0.021485034376382828,
-0.026386698707938194,
0.010840908624231815,
-0.022808842360973358,
0.044329654425382614,
-0.02796095609664917,
0.0073390803299844265,
0.06826552003622055,
0.0193919874727726,
0.011145026423037052,
-0.012084214016795158,
0.02937421016395092,
0.018282851204276085,
0.03449054807424545,
-0.05577879771590233,
0.02660137042403221,
0.03520611673593521,
-0.008215655572712421,
0.0738469809293747,
-0.015608403831720352,
-0.017272107303142548,
0.007647670339792967,
-0.011789040639996529,
-0.013604803010821342,
0.01749572344124317,
0.0027683672960847616,
-0.003340824507176876,
-0.011037690564990044,
-0.014865998178720474,
0.040823355317115784,
0.04619013890624046,
-0.025152338668704033,
0.03717393800616264,
0.007155715022236109,
-0.05263028293848038,
0.04139581322669983,
-0.00019678215903695673,
-0.01439193170517683,
0.01703060232102871,
-0.019696105271577835,
-0.034401100128889084,
-0.06500966846942902,
0.01079618465155363,
0.0557430200278759,
-0.01930254139006138,
-0.025850020349025726,
0.016270307824015617,
0.05524212121963501,
-0.041968267410993576,
-0.027978846803307533,
-0.0013640582328662276,
-0.049445990473032,
0.018014512956142426,
0.10833752900362015,
-0.013586914166808128,
0.00673978915438056,
-0.0167622622102499,
-0.02622569538652897,
-0.05177159979939461,
0.03667303919792175,
0.052308276295661926,
-0.05788973346352577,
-0.02168181724846363,
-0.01652970165014267,
-0.04994689300656319,
-0.044114984571933746,
-0.01844385638833046,
-0.008188821375370026,
-0.0013081541983410716,
-0.02486610971391201,
-0.011628037318587303,
-0.02295195683836937,
-0.018202349543571472,
0.002175784669816494,
-0.006766622886061668,
-0.03638681024312973,
0.05395409092307091,
-0.06833707541227341,
0.05195049196481705,
0.01352430135011673,
-0.03320251777768135,
0.08071646839380264,
-0.0479075126349926,
-0.004709355067461729,
-0.005492011085152626,
0.07130669802427292,
0.021914377808570862,
0.01723632775247097,
0.049481768161058426,
-0.07556435465812683,
0.03484833240509033,
0.0579255148768425,
0.006449087988585234,
-0.018908977508544922,
0.03529556468129158,
-0.029213206842541695,
-0.033810753375291824,
0.036279477179050446,
-0.02068001590669155,
0.040286675095558167,
0.013604803010821342,
-0.00627466756850481,
0.01967821642756462,
-0.00557698542252183,
0.020250674337148666,
-0.038640860468149185,
-0.0472634993493557,
0.02030434086918831,
0.012719283811748028,
0.0022137993946671486,
-0.023935867473483086,
0.035456568002700806,
-0.017137937247753143,
-0.03218282759189606,
0.0023345521185547113,
-0.03143147751688957,
-0.08343563973903656,
-0.0264582559466362,
0.02377486415207386,
0.030590681359171867,
-0.017164772376418114,
0.019338319078087807,
-0.023828530684113503,
0.058319076895713806,
0.0400720052421093,
-0.01720949448645115,
-0.025975245982408524,
0.08293473720550537,
-0.019374098628759384,
0.009874886833131313,
0.013989423401653767,
-0.039964668452739716,
0.003915518056601286,
0.025474345311522484,
-0.018980534747242928,
0.009230872616171837,
-0.03540290147066116,
0.001333869993686676,
0.01679804176092148,
-0.015724683180451393,
0.03899864852428436
] |
719,674
|
ibm_platform_services.iam_identity_v1
|
create_account_settings_assignment
|
Create assignment.
Create an assigment for an account settings template.
:param str template_id: ID of the template to assign.
:param int template_version: Version of the template to assign.
:param str target_type: Type of target to deploy to.
:param str target: Identifier of target to deploy to.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
|
def create_account_settings_assignment(
self,
template_id: str,
template_version: int,
target_type: str,
target: str,
**kwargs,
) -> DetailedResponse:
"""
Create assignment.
Create an assigment for an account settings template.
:param str template_id: ID of the template to assign.
:param int template_version: Version of the template to assign.
:param str target_type: Type of target to deploy to.
:param str target: Identifier of target to deploy to.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
"""
if template_id is None:
raise ValueError('template_id must be provided')
if template_version is None:
raise ValueError('template_version must be provided')
if target_type is None:
raise ValueError('target_type must be provided')
if target is None:
raise ValueError('target must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_account_settings_assignment',
)
headers.update(sdk_headers)
data = {
'template_id': template_id,
'template_version': template_version,
'target_type': target_type,
'target': target,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/account_settings_assignments/'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, template_version: int, target_type: str, target: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.009748529642820358,
0.008313602767884731,
-0.03266250714659691,
-0.04175635054707527,
0.016932127997279167,
0.005040178075432777,
-0.06905581802129745,
-0.006788994185626507,
-0.05172908678650856,
-0.022133735939860344,
0.03111995942890644,
0.01724601723253727,
0.021290715783834457,
-0.02186468616127968,
-0.01486942172050476,
-0.0023653858806937933,
0.07669679820537567,
-0.0107350405305624,
0.0403931699693203,
-0.004298052284866571,
0.02814248763024807,
-0.023443104699254036,
0.02387358248233795,
0.07992538064718246,
0.023676279932260513,
-0.029864398762583733,
-0.010035514831542969,
0.005641053430736065,
0.01024178508669138,
0.036267757415771484,
-0.0362139493227005,
0.009954799897968769,
-0.016420936211943626,
0.09886641055345535,
0.036267757415771484,
-0.01881546899676323,
-0.04882336035370827,
0.06274214386940002,
-0.09090256690979004,
-0.01999928243458271,
-0.006223991978913546,
0.037487443536520004,
0.0030716387555003166,
-0.01529093086719513,
-0.01043011900037527,
-0.0030940594151616096,
0.005363036412745714,
-0.07059836387634277,
0.008062491193413734,
-0.057289425283670425,
0.042007461190223694,
0.012017506174743176,
-0.048859234899282455,
0.0065916916355490685,
-0.06489453464746475,
0.04842875525355339,
0.03181948512792587,
-0.008466063998639584,
-0.02871645800769329,
-0.06661644577980042,
-0.003959499299526215,
0.02570311352610588,
-0.03809728845953941,
-0.048321135342121124,
-0.042007461190223694,
0.01631331630051136,
-0.07741426676511765,
-0.022546276450157166,
0.02394532971084118,
0.024734538048505783,
0.024088822305202484,
-0.014734897762537003,
-0.003513326868414879,
-0.040464915335178375,
0.028375662863254547,
0.040142059326171875,
0.009434639476239681,
0.028232170268893242,
-0.017066651955246925,
-0.010214880108833313,
-0.06589898467063904,
-0.023084374144673347,
-0.012035442516207695,
-0.02224135398864746,
0.029667098075151443,
-0.006300222594290972,
-0.043406516313552856,
-0.04279667139053345,
-0.026546133682131767,
-0.0023541755508631468,
0.03624982014298439,
-0.012860525399446487,
-0.011497345753014088,
0.015533074736595154,
0.038312528282403946,
-0.0037442604079842567,
0.038025543093681335,
-0.06776438653469086,
-0.06439230591058731,
0.02868058532476425,
-0.0445544570684433,
-0.0576840303838253,
-0.014923231676220894,
-0.016941096633672714,
0.021649448201060295,
-0.04878748580813408,
-0.01293227169662714,
0.04717319458723068,
-0.024214377626776695,
-0.008300150744616985,
0.012797746807336807,
0.0034415805712342262,
-0.03099440410733223,
-0.003432612167671323,
0.04735255986452103,
0.020788492634892464,
-0.028483282774686813,
-0.018313243985176086,
0.0047083511017262936,
-0.02871645800769329,
0.053737983107566833,
-0.008874121122062206,
0.0006597297033295035,
0.05467068403959274,
0.03372076153755188,
-0.0018429831834509969,
-0.025631368160247803,
-0.019443249329924583,
0.0006496403948403895,
-0.05782752111554146,
-0.07684029638767242,
-0.004154559690505266,
-0.06076912209391594,
0.0008245219942182302,
0.009219400584697723,
0.023927392438054085,
-0.03599870949983597,
0.018958961591124535,
-0.0016524071106687188,
-0.019030706956982613,
0.04925383999943733,
-0.011398694477975368,
0.008201499469578266,
-0.012152030132710934,
-0.026079781353473663,
-0.05137035623192787,
0.021775003522634506,
0.07131582498550415,
-0.02154182828962803,
0.03363107889890671,
0.0017499371897429228,
-0.03375663608312607,
-0.003192710690200329,
0.0262770839035511,
-0.044662073254585266,
0.0317298024892807,
0.04609699919819832,
0.03628569468855858,
0.03224996477365494,
-0.03999856486916542,
-0.02134452573955059,
0.02464485540986061,
0.07454440742731094,
0.04459032788872719,
0.06012340262532234,
-0.014322356320917606,
0.0262770839035511,
-0.04975606128573418,
0.021362463012337685,
-0.06317262351512909,
-0.011425599455833435,
-0.002726359525695443,
-0.012439015321433544,
-0.024734538048505783,
-0.04667097330093384,
-0.03224996477365494,
0.05689482018351555,
-0.042868416756391525,
0.01150631345808506,
0.0038586058653891087,
0.00011875975178554654,
-0.028824077919125557,
-0.012071316130459309,
0.03311092033982277,
0.04268905147910118,
-0.0081745944917202,
0.01824149861931801,
0.09298320859670639,
-0.03935284912586212,
0.010681231506168842,
0.0637824684381485,
-0.07519012689590454,
0.03201678767800331,
0.013945688493549824,
0.01256457157433033,
-0.08372794091701508,
0.008452611975371838,
-0.06927105784416199,
-0.012743937782943249,
0.04207920655608177,
0.009425670839846134,
-0.056105609983205795,
0.021559765562415123,
0.028178362175822258,
0.08731525391340256,
0.0012342606205493212,
0.05542401969432831,
-0.041684601455926895,
-0.0010689077898859978,
-0.021039603278040886,
0.007605108432471752,
-0.0029909240547567606,
-0.006022205576300621,
0.03465346619486809,
-0.03870713338255882,
-0.021685320883989334,
0.062096428126096725,
-0.027155976742506027,
0.017766179516911507,
-0.036196012049913406,
-0.05696656554937363,
0.0094525758177042,
0.006295738276094198,
-0.01885134167969227,
0.025774860754609108,
-0.036536805331707,
-0.013299970887601376,
0.011084804311394691,
-0.06453580409288406,
0.02538025565445423,
0.05750466510653496,
0.001733121694996953,
0.01323719322681427,
-0.0014225946506485343,
-0.010089323855936527,
-0.07120820879936218,
0.00886515248566866,
-0.07590758800506592,
-0.006524429656565189,
0.023676279932260513,
0.020358014851808548,
0.05628497526049614,
0.040429044514894485,
0.02590041607618332,
-0.07038312405347824,
-0.003091817256063223,
-0.03147869184613228,
0.010277657769620419,
0.014699024148285389,
-0.06109197810292244,
0.062455158680677414,
-0.06202467903494835,
-0.06815899163484573,
0.03167599439620972,
-0.019317692145705223,
0.0019214557250961661,
0.05061701685190201,
-0.02929042838513851,
0.010098292492330074,
-0.022546276450157166,
-0.013048859313130379,
-0.0005773335578851402,
-0.01596355251967907,
-0.06389008462429047,
0.011829172261059284,
-0.057325296103954315,
-0.053737983107566833,
0.05058114603161812,
-0.009318050928413868,
0.03766680881381035,
0.03820490837097168,
0.06159420311450958,
0.05363036319613457,
0.00374201824888587,
-0.03788204863667488,
-0.007093915715813637,
0.05111924186348915,
0.01711149327456951,
-0.0195508673787117,
-0.03560410439968109,
0.0026972126215696335,
-0.02618740126490593,
0.05685894563794136,
0.04534366354346275,
0.056069739162921906,
0.010977184399962425,
-0.029756780713796616,
0.023694217205047607,
0.07813172787427902,
0.022456593811511993,
-0.056141484528779984,
0.07992538064718246,
0.015416487120091915,
-0.022994691506028175,
-0.005327163264155388,
0.00613879319280386,
0.03576553240418434,
-0.004484144039452076,
0.03892236948013306,
0.009044518694281578,
0.03375663608312607,
0.0076858229003846645,
-0.04387286677956581,
-0.010708136484026909,
-0.03352346271276474,
0.015649663284420967,
0.030779164284467697,
0.02622327394783497,
0.030169321224093437,
0.03135313466191292,
-0.010412182658910751,
0.009255273267626762,
0.01525505818426609,
0.056679580360651016,
0.014788706786930561,
-0.0059953005984425545,
0.021326588466763496,
0.008609556593000889,
0.016707921400666237,
0.006856256164610386,
-0.07834696769714355,
-0.005721767898648977,
0.02207992598414421,
-0.04746017977595329,
0.04383699223399162,
-0.007192566990852356,
0.013264098204672337,
0.02936217561364174,
0.048034150153398514,
0.0387788787484169,
-0.06457167118787766,
0.0019449974643066525,
0.0038608480244874954,
-0.0055737909860908985,
-0.024447552859783173,
-0.02737121470272541,
0.007093915715813637,
-0.0009192495490424335,
0.014062276110053062,
0.044662073254585266,
0.018384991213679314,
-0.021882623434066772,
0.016689984127879143,
-0.013954656198620796,
0.022510403767228127,
-0.011882982216775417,
0.0007426863885484636,
0.0027981058228760958,
-0.013560052029788494,
-0.050365906208753586,
-0.06338786333799362,
0.043155401945114136,
0.04412397742271423,
0.029433920979499817,
0.012663222849369049,
-0.05198019742965698,
0.009089360013604164,
0.012232745066285133,
-0.025972163304686546,
-0.003596283495426178,
-0.06435643881559372,
-0.032070599496364594,
-0.008600587956607342,
-0.010591547936201096,
0.015945617109537125,
-0.008161142468452454,
-0.019981345161795616,
-0.00371735543012619,
0.0016512860311195254,
-0.06335198879241943,
0.02631295658648014,
-0.05689482018351555,
-0.003511084709316492,
0.026833118870854378,
-0.031012339517474174,
0.034151241183280945,
-0.09499210864305496,
0.004163527861237526,
-0.05233892798423767,
-0.05302051827311516,
0.05090400204062462,
-0.046742718666791916,
-0.02077055536210537,
0.040464915335178375,
-0.016205696389079094,
-0.04268905147910118,
0.055244654417037964,
-0.021810876205563545,
0.0022061988711357117,
0.06141483783721924,
0.04250968620181084,
-0.0028048320673406124,
-0.01881546899676323,
0.002623224165290594,
0.022026116028428078,
0.021272780373692513,
-0.09111780673265457,
0.019371502101421356,
0.027030419558286667,
0.05144210159778595,
0.02003515511751175,
-0.009622973389923573,
0.045630648732185364,
-0.019030706956982613,
0.005609664134681225,
0.003293603891506791,
0.052877027541399,
-0.0029685033950954676,
0.03497632220387459,
-0.02432199753820896,
-0.0024617949966341257,
0.0028048320673406124,
-0.029792653396725655,
-0.056392595171928406,
-0.039532214403152466,
0.04986368119716644,
-0.04735255986452103,
0.02737121470272541,
-0.01773030497133732,
-0.059154827147722244,
0.039855074137449265,
0.0017992628272622824,
0.03515569120645523,
-0.0014461365062743425,
-0.00852884165942669,
-0.0013441222254186869,
0.006013237405568361,
0.005345099605619907,
0.027317404747009277,
-0.05467068403959274,
-0.0024124695919454098,
0.024375807493925095,
0.0426173061132431,
0.017290860414505005,
0.025954226031899452,
0.043119531124830246,
0.04085952043533325,
0.029918208718299866,
-0.02077055536210537,
0.007721696048974991,
-0.008856184780597687,
-0.001530214212834835,
-0.007049074396491051,
-0.027765819802880287,
-0.025505810976028442,
0.014977041631937027,
-0.0865260437130928,
-0.08724350482225418,
-0.03996269032359123,
0.036267757415771484,
-0.016932127997279167,
0.062096428126096725,
0.04972019046545029,
0.0022588875144720078,
-0.05108337104320526,
-0.043514132499694824,
-0.03465346619486809,
-0.03346965089440346,
0.015210216864943504,
-0.03406155854463577,
0.029218683019280434,
-0.06561199575662613,
0.044410962611436844,
0.06012340262532234,
0.002742054173722863,
-0.004257694818079472,
0.03529918193817139,
0.03766680881381035,
-0.011057899333536625,
0.03434854373335838,
-0.03409743309020996,
-0.0013351539382711053,
-0.018035227432847023,
0.07526187598705292,
-0.008587135933339596,
0.013918783515691757,
0.022653896361589432,
0.01112067699432373,
0.00025601658853702247,
-0.002021227963268757,
0.02801693230867386,
0.04997130110859871,
0.004605215974152088,
0.04577414318919182,
-0.01043011900037527,
-0.03452790901064873,
0.03809728845953941,
-0.007246376946568489,
-0.03730807825922966,
0.05273353308439255,
-0.0004968992434442043,
-0.10051657259464264,
-0.015434423461556435,
0.04814177006483078,
-0.06894820183515549,
-0.03346965089440346,
0.012609412893652916,
0.008376381359994411,
-0.0010476082097738981,
-0.03824077919125557,
0.04900272563099861,
-0.017254985868930817,
0.031227579340338707,
-0.02304849959909916,
0.045558903366327286,
0.05696656554937363,
-0.05169321224093437,
0.04821351543068886,
-0.008161142468452454,
0.05104749649763107,
0.008183563128113747,
0.05596211925148964,
-0.04781891405582428,
-0.010367341339588165,
0.06374659389257431,
0.10209499299526215,
0.00975749734789133,
-0.020053092390298843,
-0.006945939268916845,
-0.03605251759290695,
-0.006394389551132917,
0.04121825098991394,
0.012743937782943249,
0.010394246317446232,
0.009847179986536503,
0.020232457667589188,
-0.03449203446507454,
-0.014367197640240192,
-0.0198737271130085,
0.06015927717089653,
-0.0004315988626331091,
-0.02538025565445423,
-0.024465490132570267,
-0.0336490161716938,
-0.006282285787165165,
0.02048357017338276,
-0.04182809591293335,
0.005869744811207056,
-0.009676783345639706,
0.005519981496036053,
-0.036841727793216705,
-0.028411537408828735,
-0.05302051827311516,
-0.08006887882947922,
-0.021111350506544113,
-0.007766537368297577,
0.009560194797813892,
-0.01295020803809166,
-0.035980772227048874,
-0.0394245944917202,
0.03931697458028793,
0.000383114063879475,
0.044088102877140045,
0.0708494782447815,
-0.013057827949523926,
0.06234753876924515,
-0.00879789050668478,
-0.03467140346765518,
0.0477471649646759,
0.01765855960547924,
0.003955014981329441,
-0.0522313117980957,
-0.03330822288990021,
0.02080642804503441,
-0.023389294743537903,
0.0073943533934652805,
0.009071423672139645,
0.04810589924454689,
-0.023407232016324997,
0.000697284413035959,
-0.029093125835061073,
0.017793083563447,
0.00340122333727777,
-0.03495838865637779,
-0.010367341339588165,
-0.0541684590280056,
0.04179222136735916,
0.004221821669489145,
0.020178647711873055,
0.06414119899272919,
-0.013586956076323986,
0.023066436871886253,
0.052805282175540924,
-0.03664442524313927,
-0.014627277851104736,
0.033792510628700256,
0.011900918558239937,
-0.01496807299554348,
0.006412325892597437,
0.02362247183918953,
-0.04975606128573418,
0.08157555013895035,
-0.014349261298775673,
0.005389941390603781,
0.024214377626776695,
0.02945185825228691,
-0.0028631258755922318,
-0.04656335338950157,
0.018035227432847023,
-0.05147797241806984,
-0.006681374739855528,
0.016008393839001656,
-0.060912612825632095,
0.06582723557949066,
0.06457167118787766,
-0.021559765562415123,
-0.002831737045198679,
-0.004914621822535992,
-0.011246233247220516,
-0.03824077919125557,
0.03253694996237755,
-0.051298607140779495,
0.0018149573588743806,
-0.07447266578674316,
0.027155976742506027,
-0.028285980224609375,
-0.0474243089556694,
0.07253551483154297,
-0.044984932988882065,
0.0037330498453229666,
-0.011515282094478607,
0.07006026804447174,
0.0031613216269761324,
0.06528913974761963,
-0.039890944957733154,
0.09384416788816452,
0.018761659041047096,
-0.047998279333114624,
-0.03885062411427498,
-0.016322284936904907,
-0.026940736919641495,
0.014098148792982101,
-0.040177930146455765,
0.007214987650513649,
0.048321135342121124,
0.022205481305718422,
0.05111924186348915,
0.021703258156776428,
0.11909886449575424,
-0.025362318381667137,
0.00039684673538431525,
-0.057002440094947815,
0.009865117259323597,
0.013102669268846512,
0.021290715783834457,
0.08222126215696335,
0.011497345753014088,
-0.04688620939850807,
-0.10424738377332687,
0.033792510628700256,
-0.058831971138715744,
0.0018373780185356736,
-0.015757281333208084,
-0.027389151975512505,
-0.010098292492330074,
0.056679580360651016,
-0.018384991213679314,
0.008457095362246037,
-0.04577414318919182,
-0.009963768534362316,
-0.03217821940779686,
0.018582293763756752,
0.012439015321433544,
0.016779666766524315,
0.037200458347797394,
0.04778303951025009,
-0.032483138144016266,
-0.01156909205019474,
-0.044088102877140045,
0.0711364597082138,
0.05241067707538605,
-0.04523604363203049,
0.000023997177777346224,
0.01621466502547264,
0.027425024658441544,
0.017586812376976013,
-0.031460754573345184,
-0.0018351359758526087,
-0.0108157554641366,
0.008116301149129868,
0.071172334253788,
-0.04032142460346222,
0.0018037469126284122,
-0.0043271989561617374,
-0.00645716767758131,
-0.0573611706495285,
0.012080283835530281,
-0.01730879582464695,
-0.024913905188441277,
-0.013972592540085316,
0.006892129313200712,
-0.017102524638175964,
-0.04659922420978546,
0.012008537538349628,
-0.0018799774115905166,
-0.05506528913974762,
-0.022618021816015244,
-0.008986224420368671,
0.01589180715382099,
-0.014089181087911129,
0.005815934855490923,
-0.04928971081972122,
-0.0036321566440165043,
0.011425599455833435,
-0.037774428725242615,
0.009730592370033264,
-0.00777998985722661,
0.005026725586503744,
0.06460754573345184,
-0.056464340537786484,
-0.01753300242125988,
0.056141484528779984,
0.025147080421447754,
0.004060392268002033,
-0.02403501234948635,
-0.012663222849369049,
-0.0650738999247551,
0.0291648730635643,
-0.021559765562415123,
0.05858085677027702,
0.004363072104752064,
0.04272492602467537,
0.0076409815810620785,
-0.047675419598817825,
0.03576553240418434,
-0.01913832686841488,
-0.05169321224093437,
0.015147438272833824,
0.014412038959562778,
-0.00002392711212451104,
0.015021882951259613,
0.03241139277815819,
-0.046778589487075806,
-0.011927823536098003,
0.001258923439309001,
0.01667204685509205,
-0.01128210686147213,
0.011443535797297955,
0.015281963162124157,
0.05345099791884422,
-0.006815899163484573,
0.02073468267917633,
-0.027963122352957726,
-0.043155401945114136,
-0.03849189355969429,
0.026779308915138245,
0.0002724117657635361,
0.0014786465326324105,
0.03241139277815819,
-0.009093844331800938,
0.009309083223342896,
0.002475247485563159,
0.018869278952479362,
0.016142917796969414,
0.04276079684495926,
-0.02186468616127968,
0.04545128345489502,
-0.007291218265891075,
-0.01389187853783369,
0.024088822305202484,
-0.00583387166261673,
-0.014752834104001522,
0.03217821940779686,
0.011013058014214039,
-0.05076051130890846,
-0.008295666426420212,
0.02615152858197689,
0.017219113186001778
] |
719,675
|
ibm_platform_services.iam_identity_v1
|
create_account_settings_template
|
Create an account settings template.
Create a new account settings template in an enterprise account.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param AccountSettingsComponent account_settings: (optional)
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
|
def create_account_settings_template(
self,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
account_settings: Optional['AccountSettingsComponent'] = None,
**kwargs,
) -> DetailedResponse:
"""
Create an account settings template.
Create a new account settings template in an enterprise account.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param AccountSettingsComponent account_settings: (optional)
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
"""
if account_settings is not None:
account_settings = convert_model(account_settings)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_account_settings_template',
)
headers.update(sdk_headers)
data = {
'account_id': account_id,
'name': name,
'description': description,
'account_settings': account_settings,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/account_settings_templates'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, account_settings: Optional[ibm_platform_services.iam_identity_v1.AccountSettingsComponent] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.024052472785115242,
-0.004290802404284477,
0.007539453916251659,
-0.011924788355827332,
-0.0163424015045166,
-0.008318761363625526,
-0.08056840300559998,
-0.021986616775393486,
-0.024827169254422188,
-0.048990312963724136,
0.061643682420253754,
0.01708942838013172,
-0.042276278138160706,
-0.03067428059875965,
-0.08403608947992325,
-0.025933876633644104,
0.03058205544948578,
0.0239233560860157,
0.045522622764110565,
0.020197436213493347,
0.037849441170692444,
-0.010486066341400146,
-0.02141481637954712,
0.03371772915124893,
0.03626316040754318,
-0.014184318482875824,
-0.031153853982686996,
0.028221076354384422,
-0.0031933162827044725,
-0.024476710706949234,
-0.06684521585702896,
0.013197503052651882,
-0.002819801913574338,
0.05245799943804741,
-0.013428067788481712,
-0.040025971829891205,
-0.047736041247844696,
0.020806126296520233,
-0.06876350939273834,
0.007977526634931564,
-0.015088130719959736,
0.03733297809958458,
0.009600698947906494,
-0.016277842223644257,
0.004754236899316311,
-0.05559367313981056,
-0.005911669693887234,
-0.02150704152882099,
-0.031135408207774162,
0.0030019476544111967,
0.03709319233894348,
-0.011841785162687302,
-0.03613404557108879,
0.026228999719023705,
-0.03722230717539787,
0.014322657138109207,
0.00854471419006586,
-0.11030197888612747,
-0.05363848805427551,
-0.04747781157493591,
-0.006340519525110722,
-0.008032862097024918,
-0.038181453943252563,
-0.0388454794883728,
-0.03995218873023987,
-0.020529448986053467,
-0.044895488768815994,
0.014608556404709816,
0.014534776099026203,
-0.02442137524485588,
0.02700369618833065,
-0.00013293475785758346,
0.04028420150279999,
-0.07001777738332748,
-0.04021042212843895,
0.01699720323085785,
0.04223938658833504,
0.011251539923250675,
-0.017771899700164795,
0.025933876633644104,
-0.05725373700261116,
-0.0523473285138607,
-0.05765953287482262,
0.04511683061718941,
0.010753520764410496,
0.02038188837468624,
0.015825936570763588,
-0.037148527801036835,
0.023849576711654663,
0.03244501352310181,
0.04190737381577492,
-0.052937574684619904,
-0.007608623243868351,
0.018067022785544395,
0.037517428398132324,
0.012551923282444477,
0.04223938658833504,
-0.001451402553357184,
-0.023351557552814484,
0.012081571854650974,
-0.03594959154725075,
-0.05658971145749092,
-0.038697920739650726,
-0.026616347953677177,
0.03628160431981087,
0.0034307974856346846,
-0.005588879808783531,
0.004874130245298147,
-0.03054516389966011,
0.048473846167325974,
0.022115731611847878,
-0.027944399043917656,
-0.032481905072927475,
0.0029327785596251488,
0.06562783569097519,
0.031854771077632904,
-0.045854635536670685,
-0.0016473822761327028,
-0.015383252874016762,
-0.00047870923299342394,
0.01281015481799841,
-0.016766639426350594,
0.007212052587419748,
-0.007903745397925377,
0.04013664275407791,
0.024661162868142128,
0.017652006819844246,
0.01737532950937748,
-0.041022006422281265,
0.015180356800556183,
-0.08447877317667007,
-0.03958328813314438,
-0.02455049194395542,
0.019644081592559814,
0.03593114763498306,
0.045817747712135315,
0.005902447272092104,
-0.0005571010988205671,
0.0023909523151814938,
0.051978424191474915,
0.006598751526325941,
0.003947261720895767,
0.020326552912592888,
0.045227501541376114,
0.0019252123311161995,
-0.030139371752738953,
0.02300109900534153,
-0.01245969720184803,
-0.05758574977517128,
0.023812685161828995,
0.0065941400825977325,
-0.02700369618833065,
-0.07798608392477036,
-0.020898351445794106,
-0.03770188242197037,
0.03736986964941025,
0.05474519729614258,
0.017596671357750893,
0.0038596470840275288,
-0.00030953262466937304,
-0.018777159973978996,
0.059282705187797546,
0.08211779594421387,
0.003509189235046506,
0.02803662419319153,
-0.013667854480445385,
0.008032862097024918,
-0.03237123414874077,
0.018528150394558907,
-0.06304551661014557,
0.013400400057435036,
0.040985118597745895,
-0.005003246478736401,
0.005515099037438631,
-0.047736041247844696,
-0.020308107137680054,
0.02095368690788746,
-0.05699550732970238,
-0.03397596254944801,
-0.01982853375375271,
-0.009383969008922577,
0.004565174225717783,
-0.00008797470945864916,
0.04146469011902809,
0.020492559298872948,
-0.023388447239995003,
0.02783372811973095,
0.09547208249568939,
-0.03266635537147522,
0.018057798966765404,
0.05574123561382294,
-0.05895069241523743,
0.010845746845006943,
-0.007064491510391235,
-0.008747611194849014,
-0.061938803642988205,
-0.027059031650424004,
-0.06614430248737335,
-0.007608623243868351,
0.024864058941602707,
0.006764757912606001,
-0.028682203963398933,
0.01506046298891306,
0.008069751784205437,
0.08521658182144165,
0.0026607124600559473,
0.044821709394454956,
-0.07466595619916916,
0.009858931414783001,
-0.013575628399848938,
0.006990710739046335,
-0.03229745477437973,
-0.011934010311961174,
0.010587514378130436,
-0.024402929469943047,
0.013345064595341682,
0.05880312994122505,
-0.005072415806353092,
0.026099883019924164,
-0.049728117883205414,
-0.03663206472992897,
-0.009480806067585945,
0.03947261720895767,
0.018150025978684425,
-0.008249592036008835,
-0.014765340834856033,
0.0194227397441864,
-0.002773689106106758,
-0.007253554183989763,
0.016065724194049835,
-0.004643565975129604,
0.02287198230624199,
-0.02058478444814682,
-0.009914266876876354,
-0.011906342580914497,
-0.05445007607340813,
0.02929089404642582,
-0.13391177356243134,
0.030489828437566757,
-0.039103712886571884,
0.024402929469943047,
0.051277510821819305,
0.0092087397351861,
0.045854635536670685,
-0.09857086837291718,
0.021765274927020073,
-0.03596803918480873,
-0.028055069968104362,
0.016978757455945015,
-0.08462633937597275,
0.025177625939249992,
-0.0393250547349453,
0.006658698432147503,
0.05253177881240845,
-0.005284534767270088,
-0.04116956889629364,
0.06053697317838669,
-0.05109306052327156,
0.003693640697747469,
-0.01514346618205309,
0.008775278925895691,
0.01796557381749153,
-0.03880859166383743,
-0.006847761105746031,
0.035064224153757095,
-0.034529317170381546,
-0.019976094365119934,
0.04312475398182869,
0.021082803606987,
0.05777020379900932,
0.051351290196180344,
0.069648876786232,
0.0625290498137474,
0.0016496878815814853,
-0.03917749226093292,
-0.02713281288743019,
0.05090860649943352,
0.01281015481799841,
-0.015466256067156792,
-0.028866656124591827,
-0.05847111716866493,
-0.013557183556258678,
-0.008378708735108376,
0.026690129190683365,
0.05976227670907974,
-0.04426835477352142,
-0.03716697171330452,
0.006589529104530811,
0.04983878880739212,
0.07411260157823563,
-0.07783852517604828,
0.050945498049259186,
-0.026782354339957237,
-0.03390217944979668,
-0.08285560458898544,
-0.049506776034832,
0.037277642637491226,
-0.03559913486242294,
0.05142506957054138,
0.01958874613046646,
0.06005740165710449,
0.046112868934869766,
-0.07931413501501083,
0.012681039050221443,
-0.01646229438483715,
0.007470284588634968,
0.014903679490089417,
0.008028250187635422,
0.059577826410532,
0.05655282363295555,
-0.017910238355398178,
-0.009098068810999393,
0.027889063581824303,
0.01729232631623745,
-0.03722230717539787,
0.022244848310947418,
0.041612252593040466,
-0.03836590796709061,
-0.005722607020288706,
0.008277259767055511,
-0.05954093486070633,
0.005611936096101999,
-0.048473846167325974,
-0.018528150394558907,
0.07499796897172928,
0.024347594007849693,
0.02429225854575634,
-0.012717929668724537,
0.06787814199924469,
-0.018528150394558907,
-0.0003694793558679521,
-0.041317131370306015,
0.0004452774010132998,
0.016277842223644257,
-0.054782088845968246,
-0.043530549854040146,
0.04013664275407791,
-0.004076377488672733,
-0.022097287699580193,
0.08145377039909363,
0.05006013065576553,
-0.04116956889629364,
-0.02663479372859001,
-0.05006013065576553,
0.020031429827213287,
-0.038144566118717194,
0.044858597218990326,
0.000606960617005825,
0.0003069387748837471,
-0.006824704818427563,
-0.01495901495218277,
-0.03976773843169212,
0.04983878880739212,
0.03613404557108879,
0.037775661796331406,
-0.030194707214832306,
-0.010015714913606644,
0.030176261439919472,
-0.016738971695303917,
-0.0607583150267601,
-0.08440499752759933,
-0.04175981506705284,
-0.018011687323451042,
-0.013197503052651882,
0.007207441609352827,
-0.028866656124591827,
-0.0103938402608037,
0.04460036754608154,
-0.011306875385344028,
-0.03161498159170151,
0.028700649738311768,
-0.06972265988588333,
0.04397323355078697,
0.020935242995619774,
0.025638755410909653,
0.016904978081583977,
-0.019810087978839874,
0.010808856226503849,
-0.05120373144745827,
-0.012579591013491154,
0.04463725537061691,
-0.022244848310947418,
-0.0014214292168617249,
0.0022260986734181643,
-0.0023575203958898783,
-0.0030296153854578733,
-0.008447877131402493,
-0.027741501107811928,
0.030323822051286697,
-0.023812685161828995,
0.010264724493026733,
0.009886599145829678,
-0.02300109900534153,
0.01791946031153202,
-0.019607191905379295,
0.03755431994795799,
0.001047338591888547,
0.02737259864807129,
0.0059070587158203125,
0.041058897972106934,
0.04187048599123955,
-0.0337546207010746,
0.04345676675438881,
-0.007525620050728321,
0.004901797976344824,
0.037775661796331406,
0.015263359993696213,
0.018445147201418877,
0.020031429827213287,
0.01545703411102295,
-0.028350191190838814,
0.025638755410909653,
-0.04308786615729332,
-0.05496653914451599,
-0.09414403140544891,
0.0294937901198864,
-0.08241292089223862,
0.033238157629966736,
-0.0455964058637619,
-0.04308786615729332,
-0.008480156771838665,
0.003958789631724358,
-0.02359134331345558,
-0.02038188837468624,
-0.0393250547349453,
0.0004219327529426664,
-0.018389811739325523,
-0.027243483811616898,
-0.00510469451546669,
-0.004717346280813217,
0.0015551565447822213,
-0.02316710539162159,
0.03500888869166374,
-0.025657199323177338,
0.08078974485397339,
0.05607324838638306,
0.024845613166689873,
0.023738905787467957,
-0.0483262874186039,
0.015696819871664047,
0.01750444434583187,
0.014829898253083229,
0.026321224868297577,
-0.022115731611847878,
-0.04246072843670845,
0.037683434784412384,
-0.025952322408556938,
-0.0927422046661377,
0.0015989637468010187,
0.03663206472992897,
-0.006349741946905851,
0.03240812569856644,
0.02729881927371025,
-0.05467141792178154,
-0.053195804357528687,
-0.025159182026982307,
-0.05445007607340813,
-0.017633561044931412,
0.020326552912592888,
0.005390594247728586,
0.004327692557126284,
-0.03832901641726494,
0.027077477425336838,
0.026911471039056778,
0.04415768384933472,
-0.022982653230428696,
0.017098652198910713,
0.04574396461248398,
0.00201052101328969,
0.043235424906015396,
-0.019976094365119934,
0.03447398170828819,
-0.004721957724541426,
0.09266842156648636,
0.049396105110645294,
-0.001850278815254569,
-0.03345949947834015,
0.006912318989634514,
-0.0005389441503211856,
0.0036867237649858,
0.013271283358335495,
0.014285766519606113,
0.008295705541968346,
0.04401012137532234,
0.06850527971982956,
-0.06581228971481323,
0.030268486589193344,
0.009886599145829678,
-0.011011753231287003,
0.03880859166383743,
0.019146062433719635,
-0.05979916825890541,
-0.020031429827213287,
0.049027200788259506,
-0.07182540744543076,
-0.04330920800566673,
0.008655385114252567,
-0.009554586373269558,
0.021820610389113426,
-0.030563609674572945,
0.03591270372271538,
-0.05810221657156944,
-0.008664608001708984,
-0.01047684345394373,
0.029143333435058594,
0.0679888129234314,
-0.04511683061718941,
0.03866102918982506,
0.02617366425693035,
0.00996037945151329,
-0.041317131370306015,
0.02912488766014576,
-0.037849441170692444,
-0.014571666717529297,
0.05570434406399727,
0.011537440121173859,
-0.008221924304962158,
0.014009089209139347,
-0.01412898302078247,
-0.03677962347865105,
0.010117163881659508,
0.037074748426675797,
0.02650567702949047,
0.056774165481328964,
0.029438454657793045,
0.03617093339562416,
-0.05079793557524681,
-0.015466256067156792,
-0.03832901641726494,
0.065148264169693,
0.02858997881412506,
-0.04316164553165436,
-0.007064491510391235,
-0.03242656961083412,
-0.00028791723889298737,
-0.06315618753433228,
-0.0579177625477314,
0.0018364449497312307,
-0.03613404557108879,
0.06086898595094681,
0.003965706564486027,
-0.018399035558104515,
0.02217106707394123,
-0.04718268662691116,
0.009775928221642971,
-0.04736714065074921,
0.0029858082998543978,
-0.005206143017858267,
-0.02062167413532734,
-0.010347727686166763,
0.07175162434577942,
-0.020511003211140633,
0.038734808564186096,
0.035562243312597275,
-0.009905043989419937,
0.06038941442966461,
-0.03250034898519516,
-0.050023239105939865,
0.007968303747475147,
0.004837240092456341,
0.027059031650424004,
-0.007682404015213251,
-0.0362447164952755,
0.0039103711023926735,
0.02383113093674183,
-0.013557183556258678,
0.0023275469429790974,
0.0025431246031075716,
-0.010993308387696743,
0.031227635219693184,
-0.013197503052651882,
0.07178851217031479,
-0.022115731611847878,
-0.02121192030608654,
-0.05411806330084801,
-0.011851007118821144,
0.07503485679626465,
0.02696680650115013,
-0.02438448555767536,
0.001344190095551312,
-0.015503146685659885,
-0.023572899401187897,
-0.03594959154725075,
-0.017513668164610863,
-0.0010548318969085813,
0.05824977532029152,
-0.007341168820858002,
-0.02521451748907566,
0.020603230223059654,
0.02621055394411087,
-0.011113201268017292,
0.07009156048297882,
-0.014590111561119556,
-0.001921753864735365,
0.02488250471651554,
0.0915617123246193,
0.037812553346157074,
-0.021654604002833366,
0.015254137106239796,
-0.068689726293087,
-0.05433940514922142,
-0.016406958922743797,
0.023738905787467957,
0.029014216735959053,
0.019478075206279755,
0.026616347953677177,
-0.002349450718611479,
-0.004251606296747923,
0.025159182026982307,
-0.028774430975317955,
0.05813910439610481,
-0.04851073771715164,
-0.027723057195544243,
-0.022115731611847878,
0.056110139936208725,
0.016904978081583977,
-0.0034238805528730154,
0.018343700096011162,
-0.01179567165672779,
-0.015032795257866383,
0.0178825706243515,
0.05046592280268669,
-0.019109172746539116,
0.05492964759469032,
-0.04209182783961296,
0.049396105110645294,
0.05555678531527519,
-0.01779034547507763,
-0.07673181593418121,
-0.01667441427707672,
-0.061274781823158264,
0.04496926814317703,
-0.06761991232633591,
0.022318627685308456,
0.05112994834780693,
0.04434213414788246,
0.015438588336110115,
0.004708123859018087,
0.06293484568595886,
0.015576926991343498,
0.007650124840438366,
-0.013806193135678768,
0.016047278419137,
0.0388454794883728,
-0.01842670328915119,
0.04091133549809456,
-0.0011044031707569957,
-0.044194575399160385,
-0.069648876786232,
0.01423043105751276,
-0.06953820586204529,
0.034769102931022644,
-0.029733577743172646,
-0.03928816318511963,
0.06441045552492142,
0.045854635536670685,
0.04046865552663803,
0.051019277423620224,
-0.010569069534540176,
0.0014905985444784164,
0.013640186749398708,
-0.00006556673906743526,
-0.011989345774054527,
-0.02892199158668518,
0.023904910311102867,
0.018011687323451042,
-0.05028147250413895,
0.042018044739961624,
-0.005588879808783531,
-0.0015436282847076654,
0.018814049661159515,
-0.009480806067585945,
-0.034861329942941666,
0.012053904123604298,
0.04367810860276222,
0.0630086213350296,
-0.03995218873023987,
-0.016849642619490623,
-0.008424821309745312,
0.03895615041255951,
0.08049462735652924,
-0.021857500076293945,
0.04718268662691116,
0.01064284984022379,
-0.012671816162765026,
-0.04080066457390785,
0.08410987257957458,
-0.03497200086712837,
-0.027907507494091988,
0.01712631992995739,
-0.023222440853714943,
-0.015355585142970085,
-0.03548846393823624,
-0.0140644246712327,
0.023904910311102867,
-0.029530681669712067,
0.02170993946492672,
0.0037535876035690308,
0.01862959936261177,
-0.040726885199546814,
0.01737532950937748,
-0.039693959057331085,
-0.001702717738226056,
0.03796011209487915,
-0.0680994838476181,
0.04367810860276222,
0.025343632325530052,
-0.023554453626275063,
0.08787268400192261,
-0.0010911457939073443,
-0.0478467121720314,
0.011731114238500595,
0.05146196112036705,
0.0326848030090332,
-0.052900683134794235,
0.04463725537061691,
-0.005395205691456795,
0.03567291423678398,
0.02525140717625618,
0.06389398872852325,
0.008392542600631714,
0.030618945136666298,
-0.04024731367826462,
-0.0034400199074298143,
0.0034008240327239037,
-0.0250485111027956,
-0.07887145131826401,
0.007018378470093012,
0.006497303023934364,
-0.027686165645718575,
-0.04537506401538849,
0.01456244383007288,
-0.058766238391399384,
0.04692445695400238,
-0.0016266314778476954,
-0.007774629630148411,
0.0010600195964798331,
-0.019717862829566002,
-0.012302913703024387,
-0.002605376997962594,
0.010762743651866913,
0.02816574089229107,
-0.00868766475468874,
-0.02683768980205059,
-0.015899717807769775,
0.05013391003012657,
0.05596257746219635,
0.024827169254422188,
0.04821561649441719,
-0.015254137106239796,
-0.0013418844901025295,
0.0092087397351861,
-0.006229848600924015,
0.029862694442272186,
0.01295771636068821,
0.019846979528665543,
0.013418844901025295,
0.003725919872522354,
-0.016010388731956482,
0.003075728425756097,
0.009051956236362457,
-0.029825802892446518,
0.024900948628783226,
0.013354286551475525,
-0.03141208738088608,
-0.022613750770688057,
0.010080273263156414,
0.013363509438931942
] |
719,676
|
ibm_platform_services.iam_identity_v1
|
create_account_settings_template_version
|
Create a new version of an account settings template.
Create a new version of an account settings template in an Enterprise Account.
:param str template_id: ID of the account settings template.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param AccountSettingsComponent account_settings: (optional)
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
|
def create_account_settings_template_version(
self,
template_id: str,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
account_settings: Optional['AccountSettingsComponent'] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a new version of an account settings template.
Create a new version of an account settings template in an Enterprise Account.
:param str template_id: ID of the account settings template.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param AccountSettingsComponent account_settings: (optional)
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
if account_settings is not None:
account_settings = convert_model(account_settings)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_account_settings_template_version',
)
headers.update(sdk_headers)
data = {
'account_id': account_id,
'name': name,
'description': description,
'account_settings': account_settings,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_templates/{template_id}/versions'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, account_settings: Optional[ibm_platform_services.iam_identity_v1.AccountSettingsComponent] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.026760203763842583,
-0.041811637580394745,
-0.005948809906840324,
-0.0005813073366880417,
-0.02353084832429886,
-0.02938523329794407,
-0.05699526518583298,
0.0003384566225577146,
-0.024928348138928413,
-0.03110377863049507,
0.03406874090433121,
0.00704414676874876,
-0.0646248534321785,
-0.04177386686205864,
-0.07727787643671036,
0.0029932900797575712,
0.06549356877803802,
0.010651202872395515,
0.013295118696987629,
0.04370014742016792,
0.026382500305771828,
-0.01965940184891224,
-0.026967938989400864,
0.049365680664777756,
0.0673820748925209,
-0.031481482088565826,
0.0067655909806489944,
0.005679697263985872,
0.041660554707050323,
-0.01479648519307375,
-0.06424714624881744,
0.020528115332126617,
0.03733586519956589,
0.08241462707519531,
-0.01201093103736639,
-0.05000777542591095,
-0.021868959069252014,
0.004039053339511156,
-0.09261258691549301,
0.05397364869713783,
0.03890332952141762,
0.04445555433630943,
0.01527805533260107,
-0.010906151495873928,
-0.0018837898969650269,
-0.04143393412232399,
-0.007294374518096447,
-0.024324024096131325,
-0.03588171303272247,
-0.0013845147332176566,
0.040376368910074234,
-0.028195472434163094,
-0.027572263032197952,
-0.01999933272600174,
-0.03008398227393627,
0.04158501699566841,
0.044266700744628906,
-0.05178297683596611,
-0.051669664680957794,
-0.008635217323899269,
-0.017242107540369034,
-0.0033993201795965433,
-0.03912995010614395,
-0.00819613877683878,
-0.0585060752928257,
0.003134928410872817,
-0.020377036184072495,
-0.0012806466547772288,
-0.004322330001741648,
-0.0026651613879948854,
0.029781820252537727,
0.025664865970611572,
0.04098069295287132,
-0.05189628526568413,
-0.017440401017665863,
0.05461574345827103,
0.025362703949213028,
0.012133684009313583,
-0.025815946981310844,
0.009230098687112331,
-0.04449332132935524,
-0.07803328335285187,
-0.020018218085169792,
-0.008861838839948177,
0.007148014847189188,
0.020452575758099556,
-0.00622736569494009,
-0.08037503808736801,
0.019678285345435143,
0.07115910202264786,
-0.004128757398575544,
-0.0408296100795269,
-0.04660845547914505,
0.00653424859046936,
0.04785487428307533,
0.0004266854957677424,
0.07372747361660004,
-0.05189628526568413,
-0.005821335595101118,
0.030178409069776535,
-0.02925303764641285,
-0.07172565162181854,
-0.04539980739355087,
-0.021604567766189575,
0.00887600239366293,
-0.03852562606334686,
-0.038487859070301056,
0.03614610433578491,
-0.010169632732868195,
0.0014317275490611792,
0.043171364814043045,
-0.017723677679896355,
-0.03771356865763664,
0.01554244663566351,
0.06269857287406921,
0.023455308750271797,
-0.05737296864390373,
0.005051767453551292,
-0.011491590179502964,
-0.004322330001741648,
0.04770379140973091,
-0.025740407407283783,
0.007714568171650171,
0.026552466675639153,
-0.0024220156483352184,
0.010622874833643436,
0.008649380877614021,
0.012001488357782364,
-0.03176475688815117,
-0.009645571000874043,
-0.06689106673002243,
-0.006718378514051437,
-0.021680107340216637,
0.01099113468080759,
0.002019526669755578,
0.00022426070063374937,
-0.0176953487098217,
-0.0003157354658469558,
-0.0025235230568796396,
0.0537470281124115,
0.016722766682505608,
0.01639227755367756,
0.008314169943332672,
0.004494656343013048,
-0.04509764537215233,
-0.03495633974671364,
0.045210957527160645,
0.020528115332126617,
-0.02205781079828739,
0.01958386041224003,
0.012303650379180908,
-0.006420937832444906,
-0.03372880816459656,
-0.014985335990786552,
-0.030801616609096527,
-0.015023105777800083,
0.0435490682721138,
-0.03246350586414337,
0.024059632793068886,
-0.022076696157455444,
-0.008219745010137558,
0.024852806702256203,
0.08536070585250854,
-0.008351940661668777,
0.04336021468043327,
0.005160356871783733,
0.006505921017378569,
-0.02776111476123333,
-0.015013664029538631,
-0.038620054721832275,
0.0086729871109128,
0.047590479254722595,
-0.03259570151567459,
0.010018551722168922,
-0.048270344734191895,
0.0006609788979403675,
0.040036436170339584,
-0.0421893410384655,
0.021529026329517365,
0.0008132401271723211,
-0.001647725934162736,
-0.021585682407021523,
-0.020358150824904442,
0.05775067210197449,
0.01748761348426342,
-0.0010646481532603502,
0.020037103444337845,
0.07580483704805374,
-0.03795907273888588,
0.002431458095088601,
0.0394698828458786,
-0.07334977388381958,
0.05404919013381004,
0.0007016999297775328,
-0.030386144295334816,
-0.055144526064395905,
-0.03034837357699871,
-0.08823124319314957,
0.021736763417720795,
0.04056521877646446,
0.041660554707050323,
-0.08271678537130356,
0.012983513996005058,
-0.01960274577140808,
0.07780665904283524,
0.037732452154159546,
0.042415961623191833,
-0.11036459356546402,
0.0075729298405349255,
-0.021717878058552742,
0.005835499614477158,
-0.022227777168154716,
0.004692950285971165,
0.024985002353787422,
-0.07659801095724106,
-0.027043480426073074,
0.06417161226272583,
-0.012265879660844803,
-0.0154763488098979,
-0.03973427414894104,
-0.021321291103959084,
0.003954070154577494,
0.004744884092360735,
0.024116287007927895,
-0.028119930997490883,
-0.015051433816552162,
0.023795239627361298,
0.019243929535150528,
-0.049025747925043106,
0.000129908905364573,
0.0003180961066391319,
0.024154057726264,
0.05567330867052078,
-0.029781820252537727,
-0.06613565981388092,
-0.04906351864337921,
0.02326645702123642,
-0.06137661263346672,
0.02742118202149868,
-0.007931746542453766,
0.03421982377767563,
0.03355884179472923,
0.06386944651603699,
0.04302028566598892,
-0.04252927005290985,
0.0016312014777213335,
-0.0537470281124115,
-0.026760203763842583,
0.006402052938938141,
-0.09691838920116425,
-0.00007450766861438751,
-0.05355817452073097,
-0.0066853296011686325,
0.051480814814567566,
0.024456219747662544,
-0.04347352683544159,
0.05695749819278717,
-0.027326757088303566,
0.04203825816512108,
-0.006850574165582657,
-0.020603656768798828,
0.024720611050724983,
-0.04838365688920021,
-0.05333155393600464,
-0.004485214129090309,
-0.06013019382953644,
-0.03293563425540924,
0.05552222952246666,
0.033162254840135574,
0.08656935393810272,
0.022624364122748375,
0.05280277132987976,
0.010169632732868195,
0.01898897998034954,
-0.04959230124950409,
-0.025910373777151108,
0.03601390868425369,
-0.012067586183547974,
-0.02776111476123333,
-0.03601390868425369,
-0.03510742262005806,
-0.027175676077604294,
0.022775445133447647,
0.04169832542538643,
0.05756181851029396,
-0.01931946910917759,
-0.05465351417660713,
0.006402052938938141,
0.02334199845790863,
0.03801573067903519,
-0.03912995010614395,
0.04789264127612114,
-0.0017811020370572805,
-0.02504165843129158,
-0.10220622271299362,
-0.013380101881921291,
0.0055286162532866,
-0.03321891278028488,
0.06783532351255417,
-0.006628673989325762,
0.019073963165283203,
0.007912862114608288,
-0.04373791813850403,
-0.0009973699925467372,
-0.028969760984182358,
-0.0008338956977240741,
0.02987624704837799,
0.0037321702111512423,
0.061603233218193054,
0.02796884998679161,
-0.030442800372838974,
0.009839142672717571,
-0.009503932669758797,
-0.007020540069788694,
-0.03301117569208145,
0.02490946277976036,
0.019149502739310265,
-0.042831432074308395,
0.020943589508533478,
0.024645071476697922,
-0.07591814547777176,
0.04116954281926155,
-0.04483325406908989,
-0.004334133118391037,
0.052840542048215866,
-0.00641149515286088,
0.01660945639014244,
0.003633023239672184,
0.023417538031935692,
0.005674975924193859,
-0.015448021702468395,
-0.002366540487855673,
0.040451910346746445,
0.041547246277332306,
-0.04434224218130112,
-0.014437668025493622,
0.024210713803768158,
-0.011378279887139797,
-0.014758714474737644,
0.06643782556056976,
0.09004421532154083,
-0.03988535702228546,
-0.02872425504028797,
-0.035409584641456604,
-0.011170543730258942,
0.0037699404638260603,
0.04041413962841034,
0.023493079468607903,
0.01374836079776287,
-0.023417538031935692,
-0.06390722095966339,
-0.04876135662198067,
0.015872936695814133,
0.038544513285160065,
0.026004798710346222,
-0.058468304574489594,
0.012700237333774567,
0.0030098145361989737,
-0.00024712938466109335,
-0.025740407407283783,
-0.0986558198928833,
-0.022208891808986664,
-0.032973404973745346,
-0.01898897998034954,
0.023965205997228622,
-0.044946566224098206,
0.019338354468345642,
0.0034772211220115423,
-0.019564975053071976,
-0.03912995010614395,
-0.005556944292038679,
-0.045626427978277206,
0.029781820252537727,
-0.023719700053334236,
0.03714701533317566,
-0.02966850996017456,
-0.07459618896245956,
0.0006863557500764728,
-0.025136083364486694,
-0.05756181851029396,
0.030499454587697983,
-0.03027283400297165,
0.013682262971997261,
-0.012341420166194439,
-0.01211479865014553,
0.0016359228175133467,
0.02101912908256054,
-0.017846429720520973,
0.04706169664859772,
0.03176475688815117,
-0.0197349414229393,
0.01897953636944294,
-0.007700404152274132,
0.012804105877876282,
0.010396254248917103,
0.035012997686862946,
-0.02049034647643566,
0.0012830072082579136,
0.028289897367358208,
0.012889089062809944,
0.02721344493329525,
0.01625063829123974,
0.05110311135649681,
0.004454525653272867,
-0.010566219687461853,
-0.020528115332126617,
0.02647692710161209,
0.026835743337869644,
0.006524805910885334,
-0.03829900547862053,
-0.01864904724061489,
-0.010358483530580997,
-0.05839276313781738,
-0.06345397233963013,
-0.03212357312440872,
0.0673820748925209,
-0.037864647805690765,
0.05635317414999008,
-0.04581528156995773,
-0.03735475242137909,
0.018006954342126846,
0.033917661756277084,
0.03110377863049507,
-0.002337032463401556,
-0.05355817452073097,
0.013002399355173111,
-0.019508320838212967,
0.00905068963766098,
-0.01402219571173191,
-0.005953531246632338,
0.04101846367120743,
-0.027647802606225014,
0.041736096143722534,
-0.015174186788499355,
0.03954542428255081,
0.03843120113015175,
0.03852562606334686,
0.033917661756277084,
-0.039507653564214706,
0.037392519414424896,
0.024871692061424255,
0.02054700069129467,
0.019546089693903923,
-0.020716967061161995,
-0.01926281303167343,
0.03886555880308151,
-0.016486702486872673,
-0.10311271250247955,
0.0010853037238121033,
-0.0010853037238121033,
-0.02334199845790863,
0.04430447146296501,
0.027402296662330627,
-0.0476282499730587,
-0.09268812835216522,
-0.022605478763580322,
-0.04392676800489426,
-0.032350197434425354,
-0.018696259707212448,
0.0017811020370572805,
0.009088460355997086,
-0.021547911688685417,
0.029762934893369675,
0.04320913553237915,
0.0026769645046442747,
-0.05627763271331787,
0.0537470281124115,
0.0017929052701219916,
-0.00006764705904060975,
0.03573063015937805,
-0.007214112672954798,
0.0046197702176868916,
-0.0002708833198994398,
0.108853779733181,
0.05333155393600464,
0.012237552553415298,
-0.008063942193984985,
-0.031405940651893616,
-0.048534736037254333,
0.009088460355997086,
-0.008696594275534153,
0.048950210213661194,
-0.010179075412452221,
0.05518229678273201,
0.03457864001393318,
-0.0530671626329422,
0.021038014441728592,
0.020868048071861267,
-0.011519918218255043,
0.01578795351088047,
0.005188684444874525,
-0.04947899281978607,
-0.030046211555600166,
0.051480814814567566,
-0.03503188118338585,
-0.01269079465419054,
-0.018148591741919518,
-0.00022190005984157324,
0.023304227739572525,
-0.04456886276602745,
0.006491756998002529,
-0.03573063015937805,
0.0063170697540044785,
-0.02217112109065056,
0.028006620705127716,
0.07878868281841278,
-0.030291719362139702,
0.01858294941484928,
0.03894110023975372,
0.01783698797225952,
-0.04634406417608261,
0.01534415315836668,
-0.02013152837753296,
0.009324523620307446,
0.06432268768548965,
0.060243505984544754,
-0.05257615074515343,
0.007086637895554304,
-0.010490679182112217,
-0.023493079468607903,
0.007450176402926445,
0.03089604340493679,
0.04373791813850403,
-0.0031561742071062326,
0.03218023106455803,
0.03227465599775314,
-0.0667022168636322,
-0.05816614255309105,
0.015457463450729847,
0.07108356058597565,
-0.02462618611752987,
-0.04124508425593376,
-0.020509231835603714,
-0.011179986409842968,
-0.02462618611752987,
-0.0632651224732399,
-0.06273633986711502,
0.03155701979994774,
-0.07202781736850739,
0.023096490651369095,
-0.05019662529230118,
-0.006029071751981974,
-0.029026417061686516,
-0.06983714550733566,
0.020395919680595398,
-0.014881467446684837,
0.011321624740958214,
-0.005637205671519041,
-0.05265169218182564,
-0.047590479254722595,
0.06232086941599846,
0.0011437295470386744,
0.04464440420269966,
0.02870536968111992,
-0.027175676077604294,
0.07667355239391327,
-0.04974338412284851,
-0.04774156212806702,
0.024720611050724983,
-0.009744717739522457,
0.02375747077167034,
-0.004039053339511156,
-0.007997844368219376,
-0.015863493084907532,
0.0019333632662892342,
0.02713790535926819,
0.029101956635713577,
-0.0016618898371234536,
0.008720200508832932,
0.05639094486832619,
-0.00929147470742464,
0.03544735535979271,
0.007893976755440235,
-0.04275589436292648,
-0.018620720133185387,
-0.013483969494700432,
0.06640005111694336,
0.00803089328110218,
0.018384655937552452,
0.023247571662068367,
-0.009300917387008667,
-0.05219844728708267,
0.04611744359135628,
-0.05503121390938759,
0.009952453896403313,
0.08218800276517868,
0.019083404913544655,
0.03576840087771416,
0.04098069295287132,
0.05627763271331787,
-0.049894463270902634,
0.05231175944209099,
-0.000301129010040313,
0.004607967101037502,
0.007011097855865955,
0.052349530160427094,
0.01521195750683546,
-0.03503188118338585,
0.0077948300167918205,
-0.055408917367458344,
-0.04430447146296501,
-0.0030499454587697983,
-0.004881801549345255,
0.02477726712822914,
0.011274411343038082,
0.006312348414212465,
-0.0037132850848138332,
-0.0028233241755515337,
0.021623453125357628,
-0.018460197374224663,
0.07365193217992783,
-0.05941256135702133,
-0.010301828384399414,
-0.05899708718061447,
0.058279454708099365,
0.051669664680957794,
-0.025608211755752563,
0.03648603707551956,
-0.021661223843693733,
0.00447105010971427,
0.014078850857913494,
0.07013930380344391,
0.008252793923020363,
0.03293563425540924,
-0.06851518154144287,
0.07316092401742935,
0.025551555678248405,
-0.015835165977478027,
-0.03625941276550293,
-0.009659734554588795,
-0.02938523329794407,
0.054804593324661255,
-0.03165144845843315,
0.03144371137022972,
0.02353084832429886,
0.016411161050200462,
0.011132773011922836,
-0.009480326436460018,
0.07724010944366455,
0.0381101556122303,
0.03312448412179947,
-0.030027328059077263,
0.024059632793068886,
0.07489835470914841,
-0.017931412905454636,
0.06707991659641266,
-0.005769401788711548,
-0.03510742262005806,
-0.039092179387807846,
0.03163256123661995,
-0.059563640505075455,
0.025683751329779625,
-0.053709257394075394,
-0.025834832340478897,
0.00005208159564062953,
0.025797061622142792,
0.026911284774541855,
0.043851230293512344,
-0.00982970092445612,
0.022756559774279594,
0.011604901403188705,
-0.012671910226345062,
0.0012723844265565276,
-0.04747717082500458,
0.010830611921846867,
0.053104933351278305,
-0.011548245325684547,
0.011897619813680649,
-0.002206017030403018,
0.0015108089428395033,
0.03253904730081558,
-0.017251549288630486,
-0.052840542048215866,
0.020905818790197372,
0.01960274577140808,
0.014909795485436916,
-0.04932790994644165,
0.036977048963308334,
-0.029366347938776016,
0.023927437141537666,
0.08747583627700806,
-0.0069497209042310715,
0.02407851628959179,
0.011312182061374187,
-0.019083404913544655,
-0.07221666723489761,
0.029649624601006508,
0.021793419495224953,
-0.016987157985568047,
0.003286009421572089,
-0.030782731249928474,
-0.04619298130273819,
-0.04388900101184845,
-0.029007531702518463,
0.030291719362139702,
-0.012596369720995426,
-0.0012275322806090117,
0.0110572325065732,
0.0018826095620170236,
-0.04320913553237915,
0.03450309857726097,
-0.04222710803151131,
-0.01986713707447052,
0.07878868281841278,
-0.048534736037254333,
0.03278455510735512,
0.007360472343862057,
-0.05457797273993492,
0.049970004707574844,
0.004301084205508232,
-0.014484880492091179,
0.002738341223448515,
0.06726876646280289,
0.006982769817113876,
-0.012029816396534443,
0.07750450074672699,
-0.03801573067903519,
0.02693016827106476,
0.05098980292677879,
0.0802994966506958,
-0.011727654375135899,
0.014003310352563858,
-0.011888178065419197,
-0.022303316742181778,
0.009791930206120014,
-0.022076696157455444,
-0.022152235731482506,
0.04566419869661331,
-0.0010912053985521197,
0.002078542485833168,
-0.034880802035331726,
0.00942839216440916,
-0.035692859441041946,
-0.008956263773143291,
0.025154968723654747,
0.022756559774279594,
-0.008007287047803402,
0.004867637529969215,
-0.018054166808724403,
0.029366347938776016,
0.008163089863955975,
0.02972516603767872,
-0.0319724939763546,
-0.03227465599775314,
-0.005231176037341356,
0.06745761632919312,
0.029762934893369675,
0.008469972759485245,
0.023493079468607903,
-0.0275533776730299,
0.03291675075888634,
0.002070280257612467,
-0.009267868474125862,
0.005698582623153925,
0.02388966642320156,
-0.003618859453126788,
0.031273745000362396,
0.020055988803505898,
-0.003887972328811884,
0.007950631901621819,
0.024739496409893036,
-0.030102867633104324,
0.025551555678248405,
0.019678285345435143,
-0.019923793151974678,
0.004631573799997568,
0.014173275791108608,
-0.005585271865129471
] |
719,677
|
ibm_platform_services.iam_identity_v1
|
create_api_key
|
Create an API key.
Creates an API key for a UserID or service ID. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str name: Name of the API key. The name is not checked for
uniqueness. Therefore multiple names with the same value can exist. Access
is done via the UUID of the API key.
:param str iam_id: The iam_id that this API key authenticates.
:param str description: (optional) The optional description of the API key.
The 'description' property is only available if a description was provided
during a create of an API key.
:param str account_id: (optional) The account ID of the API key.
:param str apikey: (optional) You can optionally passthrough the API key
value for this API key. If passed, a minimum length validation of 32
characters for that apiKey value is done, i.e. the value can contain any
characters and can even be non-URL safe, but the minimum length requirement
must be met. If omitted, the API key management will create an URL safe
opaque API key value. The value of the API key is checked for uniqueness.
Ensure enough variations when passing in this value.
:param bool store_value: (optional) Send true or false to set whether the
API key value is retrievable in the future by using the Get details of an
API key request. If you create an API key for a user, you must specify
`false` or omit the value. We don't allow storing of API keys for users.
:param bool support_sessions: (optional) Defines if the API key supports
sessions. Sessions are only supported for user apikeys.
:param str action_when_leaked: (optional) Defines the action to take when
API key is leaked, valid values are 'none', 'disable' and 'delete'.
:param str entity_lock: (optional) Indicates if the API key is locked for
further write operations. False by default.
:param str entity_disable: (optional) Indicates if the API key is disabled.
False by default.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
|
def create_api_key(
self,
name: str,
iam_id: str,
*,
description: Optional[str] = None,
account_id: Optional[str] = None,
apikey: Optional[str] = None,
store_value: Optional[bool] = None,
support_sessions: Optional[bool] = None,
action_when_leaked: Optional[str] = None,
entity_lock: Optional[str] = None,
entity_disable: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create an API key.
Creates an API key for a UserID or service ID. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str name: Name of the API key. The name is not checked for
uniqueness. Therefore multiple names with the same value can exist. Access
is done via the UUID of the API key.
:param str iam_id: The iam_id that this API key authenticates.
:param str description: (optional) The optional description of the API key.
The 'description' property is only available if a description was provided
during a create of an API key.
:param str account_id: (optional) The account ID of the API key.
:param str apikey: (optional) You can optionally passthrough the API key
value for this API key. If passed, a minimum length validation of 32
characters for that apiKey value is done, i.e. the value can contain any
characters and can even be non-URL safe, but the minimum length requirement
must be met. If omitted, the API key management will create an URL safe
opaque API key value. The value of the API key is checked for uniqueness.
Ensure enough variations when passing in this value.
:param bool store_value: (optional) Send true or false to set whether the
API key value is retrievable in the future by using the Get details of an
API key request. If you create an API key for a user, you must specify
`false` or omit the value. We don't allow storing of API keys for users.
:param bool support_sessions: (optional) Defines if the API key supports
sessions. Sessions are only supported for user apikeys.
:param str action_when_leaked: (optional) Defines the action to take when
API key is leaked, valid values are 'none', 'disable' and 'delete'.
:param str entity_lock: (optional) Indicates if the API key is locked for
further write operations. False by default.
:param str entity_disable: (optional) Indicates if the API key is disabled.
False by default.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
"""
if name is None:
raise ValueError('name must be provided')
if iam_id is None:
raise ValueError('iam_id must be provided')
headers = {
'Entity-Lock': entity_lock,
'Entity-Disable': entity_disable,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_api_key',
)
headers.update(sdk_headers)
data = {
'name': name,
'iam_id': iam_id,
'description': description,
'account_id': account_id,
'apikey': apikey,
'store_value': store_value,
'support_sessions': support_sessions,
'action_when_leaked': action_when_leaked,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/apikeys'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, name: str, iam_id: str, *, description: Optional[str] = None, account_id: Optional[str] = None, apikey: Optional[str] = None, store_value: Optional[bool] = None, support_sessions: Optional[bool] = None, action_when_leaked: Optional[str] = None, entity_lock: Optional[str] = None, entity_disable: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.043903328478336334,
-0.0553312748670578,
-0.07199222594499588,
-0.016766762360930443,
0.002094642724841833,
-0.02233644388616085,
-0.010629530996084213,
-0.0022365301847457886,
-0.038574133068323135,
-0.009994644671678543,
0.012486090883612633,
0.020624175667762756,
0.0570627823472023,
0.0024433492217212915,
-0.005771690979599953,
-0.0037636233028024435,
0.09442485868930817,
0.005237809382379055,
-0.031205609440803528,
-0.03205212205648422,
0.06037188693881035,
0.04190247505903244,
0.018536746501922607,
-0.045750267803668976,
0.05713973939418793,
0.07064549624919891,
0.030705396085977554,
0.03513035923242569,
0.012159029021859169,
0.02164383977651596,
-0.002873821184039116,
-0.002510685473680496,
0.06098753213882446,
0.052060652524232864,
-0.0005227588699199259,
-0.016689805313944817,
-0.027819549664855003,
0.00847476627677679,
-0.07487806677818298,
0.005189712159335613,
0.04059422388672829,
0.046327438205480576,
0.011966639198362827,
-0.05121413618326187,
0.028569869697093964,
0.0008898023515939713,
-0.003157595871016383,
0.003042162163183093,
-0.03493797034025192,
0.008619057945907116,
0.01857522502541542,
-0.021663079038262367,
0.025318484753370285,
-0.021393734961748123,
-0.018950384110212326,
0.010321707464754581,
0.01220712624490261,
-0.0625266507267952,
-0.02285589650273323,
-0.03032061643898487,
-0.04982893168926239,
0.04140226170420647,
0.029185516759753227,
0.0092587536200881,
-0.02374088764190674,
0.019594890996813774,
-0.06648987531661987,
0.020412547513842583,
0.009181798435747623,
0.061680134385824203,
0.05052153393626213,
-0.023760126903653145,
-0.03270624950528145,
-0.009239515289664268,
0.0020597721450030804,
0.03201364353299141,
-0.021951664239168167,
-0.02112438902258873,
-0.020701130852103233,
-0.033418089151382446,
0.024087190628051758,
-0.041825518012046814,
-0.04374941810965538,
-0.011764629743993282,
0.015775954350829124,
0.037766098976135254,
-0.045403968542814255,
-0.03316798433661461,
0.03572676703333855,
-0.021489929407835007,
-0.012264843098819256,
-0.02374088764190674,
-0.028396718204021454,
0.0702991932630539,
0.029377905651926994,
-0.02887769229710102,
0.015949105843901634,
-0.034476231783628464,
0.044595930725336075,
0.031513430178165436,
0.020585697144269943,
-0.014063687063753605,
0.004790503531694412,
0.01213017012923956,
0.034149169921875,
-0.052176084369421005,
0.007152087055146694,
0.021162865683436394,
0.004521158058196306,
-0.01010045874863863,
-0.05144500359892845,
-0.02535696141421795,
-0.039786189794540405,
-0.003318722127005458,
-0.05271477624773979,
0.04463440924882889,
0.04109443724155426,
0.03607306629419327,
-0.023394586518406868,
0.007257901132106781,
0.013967491686344147,
-0.05637018010020256,
0.01794033870100975,
-0.04405723884701729,
0.051021747291088104,
-0.0037010968662798405,
-0.02604956552386284,
0.059871673583984375,
0.026415105909109116,
-0.04709699749946594,
-0.034649383276700974,
0.0124668525531888,
-0.025280006229877472,
0.044249631464481354,
0.029474101960659027,
-0.01285163126885891,
0.06583575159311295,
0.03482253476977348,
-0.017680613324046135,
0.08696014434099197,
0.009306851774454117,
0.013332606293261051,
0.012409135699272156,
0.008171752095222473,
-0.02679988369345665,
-0.0754937157034874,
-0.020758848637342453,
-0.049559585750103,
-0.021105149760842323,
0.007883167825639248,
0.017036108300089836,
0.012053214013576508,
-0.018786853179335594,
0.017026487737894058,
0.02708846889436245,
-0.04979045316576958,
0.026607494801282883,
-0.02645358256995678,
0.012486090883612633,
0.0026164997834712267,
0.005112756043672562,
0.008691204711794853,
0.03372591361403465,
-0.05421541631221771,
0.0043119341135025024,
-0.012659242376685143,
-0.04613504931330681,
0.033822108060121536,
0.044480498880147934,
0.01666094735264778,
-0.05256086587905884,
0.022990569472312927,
-0.04009401425719261,
-0.005334004294127226,
-0.07341590523719788,
-0.04232573136687279,
0.002861796645447612,
-0.051137179136276245,
0.01314021646976471,
-0.011418328620493412,
0.028627587482333183,
-0.01250533014535904,
-0.010456379503011703,
-0.02187470905482769,
0.01568938046693802,
0.008999028243124485,
0.028858454897999763,
0.0994269922375679,
-0.002888250397518277,
0.0458272248506546,
-0.008551722392439842,
0.014390748925507069,
0.0518682599067688,
0.0015595589065924287,
-0.020297111943364143,
-0.0018036534311249852,
-0.018257781863212585,
-0.023067524656653404,
0.02343306504189968,
0.024548925459384918,
-0.004268646240234375,
0.02847367525100708,
0.010696867480874062,
0.03264852985739708,
0.09527137875556946,
-0.03740055486559868,
0.003583258017897606,
-0.06979898363351822,
-0.03801620379090309,
-0.029666490852832794,
0.015843290835618973,
-0.006132421549409628,
-0.04548092558979988,
0.01700724847614765,
-0.009244324639439583,
0.012072453275322914,
0.08649840950965881,
0.023163719102740288,
0.020566457882523537,
-0.012774676084518433,
0.018277021124958992,
0.016074158251285553,
0.0324176624417305,
-0.052291519939899445,
0.023298392072319984,
0.01834435760974884,
0.06098753213882446,
0.004475465510040522,
-0.045403968542814255,
-0.0318404957652092,
-0.000060572692746063694,
-0.011360611766576767,
-0.0322829894721508,
-0.009965785779058933,
-0.05329194664955139,
-0.07372373342514038,
-0.0018541556783020496,
-0.05902515724301338,
-0.0011693686246871948,
-0.04101748391985893,
0.0749165490269661,
0.059294503182172775,
0.019364023581147194,
0.034880250692367554,
-0.06564336270093918,
-0.031205609440803528,
-0.03539970517158508,
-0.003422131761908531,
0.011379850097000599,
-0.06910637766122818,
0.022932851687073708,
-0.03676567226648331,
0.003968037664890289,
-0.00804669875651598,
0.01938326098024845,
-0.04363398253917694,
0.019989289343357086,
-0.10004264116287231,
0.03665023669600487,
0.00382614997215569,
-0.014871723018586636,
0.05740908533334732,
-0.07110723108053207,
0.056485615670681,
-0.015006395988166332,
-0.015352698042988777,
0.03276396542787552,
0.020624175667762756,
0.023125240579247475,
0.008974979631602764,
-0.0010918115731328726,
0.047597210854291916,
0.0012601525522768497,
-0.04913632944226265,
-0.013380703516304493,
0.029262471944093704,
0.009297232143580914,
0.015131449326872826,
-0.00935013871639967,
-0.030589962378144264,
-0.00693083880469203,
-0.06298838555812836,
0.04201791062951088,
0.018671419471502304,
0.021855469793081284,
-0.037015777081251144,
-0.019412120804190636,
0.03959380090236664,
-0.00389829627238214,
0.004954034462571144,
0.00398006197065115,
0.03705425560474396,
-0.029416384175419807,
0.01626654900610447,
-0.03905510902404785,
-0.021489929407835007,
-0.0657203197479248,
-0.009946547448635101,
0.035284269601106644,
-0.02302904613316059,
0.0032105031423270702,
0.10781518369913101,
-0.009571387432515621,
-0.03630393370985985,
0.006170899607241154,
-0.0025972609873861074,
0.011591479182243347,
-0.026434343308210373,
-0.06287295371294022,
0.04651982709765434,
-0.05586996674537659,
0.0032080982346087694,
0.007623441517353058,
-0.018277021124958992,
0.00667111249640584,
-0.06825986504554749,
0.08449755609035492,
0.008782589808106422,
0.016295406967401505,
0.03670795261859894,
0.006574918050318956,
-0.017863383516669273,
-0.07587849348783493,
-0.07703283429145813,
0.07353134453296661,
-0.04463440924882889,
0.05317651107907295,
-0.019758421927690506,
0.03766990080475807,
-0.0004902931395918131,
-0.013063260354101658,
0.004242192953824997,
-0.006993365474045277,
0.012082072906196117,
-0.06837529689073563,
-0.0475587323307991,
0.021028194576501846,
-0.0062767136842012405,
0.0034798486158251762,
0.03580372408032417,
-0.03049376606941223,
-0.017161160707473755,
-0.05444628372788429,
0.019296687096357346,
-0.04836677014827728,
-0.03790076822042465,
0.0832662582397461,
-0.03578448295593262,
0.058717336505651474,
-0.04132530465722084,
-0.0026381437201052904,
-0.006103563122451305,
0.05525432154536247,
0.05536975339055061,
0.11689598113298416,
-0.055985402315855026,
-0.04486527666449547,
-0.0387665219604969,
-0.05721669644117355,
0.005189712159335613,
-0.025164572522044182,
-0.031628865748643875,
-0.06852921098470688,
0.028550630435347557,
-0.054138459265232086,
-0.02628043293952942,
0.01033132616430521,
-0.049982842057943344,
0.028050417080521584,
-0.0282428078353405,
-0.01660323143005371,
-0.015044874511659145,
-0.048174381256103516,
0.032725486904382706,
0.021951664239168167,
0.032090600579977036,
-0.007450290955603123,
-0.000539592991117388,
-0.05086783692240715,
0.06187252700328827,
0.014275315217673779,
-0.019229350611567497,
0.006464293692260981,
-0.010177414864301682,
0.08857621252536774,
-0.003520731348544359,
0.03795848786830902,
-0.027126947417855263,
0.04259507730603218,
-0.007450290955603123,
0.03997857868671417,
-0.025895653292536736,
0.021451450884342194,
0.04548092558979988,
0.043672461062669754,
-0.008489195257425308,
-0.04648134857416153,
-0.005459057632833719,
-0.009162559174001217,
-0.00014316498709376901,
0.03366819769144058,
0.048058945685625076,
0.07995715737342834,
-0.011504903435707092,
0.018786853179335594,
0.02089352160692215,
0.029320189729332924,
-0.037304360419511795,
-0.011649196036159992,
0.026934556663036346,
-0.005117565859109163,
-0.010081220418214798,
-0.054715629667043686,
-0.04521157965064049,
0.026530539616942406,
0.01585291139781475,
-0.0417870432138443,
0.10042741894721985,
-0.030243659391999245,
0.035976871848106384,
0.020008528605103493,
-0.004259027075022459,
-0.010841159150004387,
0.02060493640601635,
-0.034052975475788116,
0.06421968340873718,
-0.032321467995643616,
-0.01038904394954443,
0.02495294250547886,
-0.04398028552532196,
0.004893912933766842,
0.01585291139781475,
-0.006401767022907734,
-0.0034558000043034554,
-0.04386484995484352,
-0.003556804498657584,
0.021682318300008774,
-0.021624602377414703,
0.027357814833521843,
0.004660640377551317,
0.008604628965258598,
-0.050906311720609665,
-0.015939487144351006,
0.034052975475788116,
-0.02429881878197193,
0.06171861290931702,
-0.007392574101686478,
0.023182958364486694,
0.10465999692678452,
0.013284508138895035,
0.09888830035924911,
0.054253894835710526,
0.07410851120948792,
-0.032032884657382965,
-0.04521157965064049,
-0.05610083416104317,
0.021913185715675354,
-0.03182125464081764,
0.0021126794163137674,
-0.034803297370672226,
0.07141505181789398,
0.0029171088244765997,
-0.010379424318671227,
0.05798625573515892,
0.006401767022907734,
0.027627160772681236,
0.020585697144269943,
0.02489522658288479,
0.03951684385538101,
-0.021047431975603104,
-0.004780883900821209,
-0.02604956552386284,
0.0041267587803304195,
0.04113291576504707,
0.026492061093449593,
-0.00013557460624724627,
0.035976871848106384,
0.023510020226240158,
-0.022374922409653664,
-0.04267203435301781,
0.053445857018232346,
-0.017103444784879684,
-0.0008645511697977781,
-0.004720762372016907,
0.047828078269958496,
0.0013647644082084298,
-0.03970923274755478,
0.020874282345175743,
-0.07360829412937164,
-0.0013298937119543552,
-0.021316777914762497,
-0.03524579107761383,
-0.010350565426051617,
0.051252614706754684,
-0.04532701149582863,
-0.0311286523938179,
0.041825518012046814,
-0.05009827762842178,
-0.05348433554172516,
-0.04228725656867027,
0.01024475134909153,
0.0005537215620279312,
0.013621190562844276,
0.0107353450730443,
0.01099507138133049,
0.021085910499095917,
-0.03884347900748253,
-0.03316798433661461,
-0.0226250272244215,
0.0011789881391450763,
-0.04913632944226265,
-0.024625880643725395,
-0.010908495634794235,
-0.03426460549235344,
0.009845542721450329,
0.027530964463949203,
-0.02501066029071808,
-0.010465999133884907,
-0.007618631701916456,
-0.029762685298919678,
0.021509168669581413,
0.050906311720609665,
0.014833245426416397,
0.03101321868598461,
0.007334857247769833,
0.02726162038743496,
0.005435009021311998,
-0.03593839332461357,
0.026934556663036346,
0.049097850918769836,
-0.03276396542787552,
-0.021393734961748123,
0.037823814898729324,
0.046096570789813995,
-0.003121522720903158,
-0.044711366295814514,
-0.09296269714832306,
0.02789650484919548,
-0.0317058227956295,
-0.01806539297103882,
0.10196653753519058,
0.04821285605430603,
-0.060448843985795975,
-0.09935003519058228,
-0.043672461062669754,
0.026030326262116432,
-0.004177261143922806,
0.03438003733754158,
0.017103444784879684,
-0.051714349538087845,
0.0051512341015040874,
-0.008340093307197094,
0.02343306504189968,
0.016131876036524773,
-0.020162440836429596,
-0.0034341560676693916,
0.05452324077486992,
-0.017613276839256287,
0.0032056933268904686,
0.01047561876475811,
-0.032783202826976776,
0.020412547513842583,
-0.030878545716404915,
-0.029647251591086388,
-0.02604956552386284,
0.03118637017905712,
-0.00023327249800786376,
0.05637018010020256,
0.045981138944625854,
0.011985878460109234,
-0.035111118108034134,
-0.03680414706468582,
0.016535894945263863,
-0.028916170820593834,
-0.05329194664955139,
0.017286214977502823,
0.010725725442171097,
0.015439272858202457,
-0.021893946453928947,
-0.03688110411167145,
0.01288049016147852,
-0.006497961934655905,
0.0009372985223308206,
-0.03182125464081764,
-0.0011110504856333137,
0.0006835846579633653,
0.045634835958480835,
-0.0232021976262331,
0.036380890756845474,
-0.01648779772222042,
-0.05856342241168022,
0.01667056791484356,
0.0016341099981218576,
0.000993813038803637,
-0.01602606102824211,
0.08719100803136826,
0.009936927817761898,
-0.01276505645364523,
0.03049376606941223,
-0.03309102728962898,
0.017343930900096893,
0.033937543630599976,
0.007022223901003599,
0.030840067192912102,
0.015420033596456051,
0.021085910499095917,
-0.05036762356758118,
-0.032898638397455215,
0.0037083113566040993,
-0.014573519118130207,
0.028165850788354874,
-0.06806747615337372,
0.007921645417809486,
0.0009980215691030025,
-0.03795848786830902,
0.02135525643825531,
0.014765908941626549,
0.009215466678142548,
0.028108134865760803,
-0.035034164786338806,
0.002705479972064495,
-0.032610055059194565,
0.003484658431261778,
0.042171820998191833,
-0.08188105374574661,
0.01160109881311655,
0.023471543565392494,
-0.03362971916794777,
-0.012043595314025879,
-0.0194505974650383,
-0.007291569374501705,
0.07787934690713882,
-0.04194095358252525,
-0.006401767022907734,
0.0625266507267952,
0.04613504931330681,
0.03699653968214989,
0.04936719685792923,
0.04040183499455452,
0.030070509761571884,
-0.03705425560474396,
0.04374941810965538,
-0.033591240644454956,
0.04948262870311737,
-0.027627160772681236,
0.04636591672897339,
-0.03060919977724552,
-0.06691313534975052,
-0.008373761549592018,
-0.0518682599067688,
-0.07853347063064575,
0.0009703655377961695,
-0.02152840606868267,
-0.05329194664955139,
-0.0010449165711179376,
-0.013640429824590683,
-0.019296687096357346,
-0.00567068625241518,
-0.036958061158657074,
-0.041594650596380234,
0.03412993252277374,
-0.022836657240986824,
0.014429227448999882,
-0.04020944610238075,
-0.06522011011838913,
-0.0107353450730443,
-0.010648769326508045,
-0.05579300969839096,
0.0149871576577425,
0.029070083051919937,
0.008999028243124485,
-0.01580481417477131,
0.011957019567489624,
0.0354381799697876,
0.004682284314185381,
0.02864682488143444,
0.0022629837039858103,
-0.019421739503741264,
0.014756289310753345,
-0.0019082652870565653,
0.020354829728603363,
-0.009133701212704182,
0.005564871709793806,
0.008556531742215157,
0.0015727857826277614,
-0.05921754986047745,
0.04648134857416153,
0.0197391826659441,
-0.04659678414463997,
-0.05548518896102905,
0.006911600008606911,
-0.025510873645544052,
-0.008508434519171715,
-0.024914465844631195,
-0.04144074022769928,
-0.03893967345356941,
0.002323105465620756,
0.049521107226610184,
-0.01412140391767025,
0.021855469793081284,
-0.025510873645544052,
0.006199758034199476,
0.019056199118494987,
0.03963227570056915,
-0.014746669679880142,
0.06371946632862091,
-0.0022665911819785833,
-0.012918967753648758,
0.007397383917123079,
-0.024395013228058815,
0.030589962378144264,
0.039670754224061966,
0.03751599043607712,
-0.06841377913951874,
0.029243234544992447,
0.004973273724317551,
-0.04144074022769928,
0.0012998328311368823,
0.023914039134979248,
0.05340737849473953,
0.03564980998635292,
0.03893967345356941,
-0.023452304303646088,
-0.07383916527032852,
-0.043787892907857895,
-0.027819549664855003,
-0.032032884657382965,
0.021143628284335136,
0.029955076053738594,
0.015198785811662674,
0.015901008620858192,
-0.010696867480874062,
-0.08849926292896271,
-0.010263990610837936,
0.05586996674537659,
-0.034630145877599716,
0.01811349019408226,
-0.04832829162478447,
0.04571179300546646,
0.033071789890527725,
-0.0072771403938531876,
0.05690887197852135,
-0.007190564647316933,
-0.021893946453928947,
-0.004191690590232611,
0.029589535668492317,
0.0547541081905365,
0.009191418066620827,
0.017161160707473755,
-0.018825331702828407,
0.011957019567489624,
0.03974771127104759,
0.01760365627706051,
0.004973273724317551,
0.01759403757750988,
-0.018604082986712456,
-0.000751522253267467,
0.07964933663606644,
0.04144074022769928,
-0.007892787456512451,
0.0011771844001486897,
-0.05679343640804291,
0.027107708156108856,
-0.01168767362833023,
-0.027338575571775436,
0.03720816597342491,
0.01400597020983696,
0.03178277611732483
] |
719,678
|
ibm_platform_services.iam_identity_v1
|
create_claim_rule
|
Create claim rule for a trusted profile.
Create a claim rule for a trusted profile. There is a limit of 20 rules per
trusted profile.
:param str profile_id: ID of the trusted profile to create a claim rule.
:param str type: Type of the claim rule, either 'Profile-SAML' or
'Profile-CR'.
:param List[ProfileClaimRuleConditions] conditions: Conditions of this
claim rule.
:param ResponseContext context: (optional) Context with key properties for
problem determination.
:param str name: (optional) Name of the claim rule to be created or
updated.
:param str realm_name: (optional) The realm name of the Idp this claim rule
applies to. This field is required only if the type is specified as
'Profile-SAML'.
:param str cr_type: (optional) The compute resource type the rule applies
to, required only if type is specified as 'Profile-CR'. Valid values are
VSI, IKS_SA, ROKS_SA.
:param int expiration: (optional) Session expiration in seconds, only
required if type is 'Profile-SAML'.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileClaimRule` object
|
def create_claim_rule(
self,
profile_id: str,
type: str,
conditions: List['ProfileClaimRuleConditions'],
*,
context: Optional['ResponseContext'] = None,
name: Optional[str] = None,
realm_name: Optional[str] = None,
cr_type: Optional[str] = None,
expiration: Optional[int] = None,
**kwargs,
) -> DetailedResponse:
"""
Create claim rule for a trusted profile.
Create a claim rule for a trusted profile. There is a limit of 20 rules per
trusted profile.
:param str profile_id: ID of the trusted profile to create a claim rule.
:param str type: Type of the claim rule, either 'Profile-SAML' or
'Profile-CR'.
:param List[ProfileClaimRuleConditions] conditions: Conditions of this
claim rule.
:param ResponseContext context: (optional) Context with key properties for
problem determination.
:param str name: (optional) Name of the claim rule to be created or
updated.
:param str realm_name: (optional) The realm name of the Idp this claim rule
applies to. This field is required only if the type is specified as
'Profile-SAML'.
:param str cr_type: (optional) The compute resource type the rule applies
to, required only if type is specified as 'Profile-CR'. Valid values are
VSI, IKS_SA, ROKS_SA.
:param int expiration: (optional) Session expiration in seconds, only
required if type is 'Profile-SAML'.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileClaimRule` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if type is None:
raise ValueError('type must be provided')
if conditions is None:
raise ValueError('conditions must be provided')
conditions = [convert_model(x) for x in conditions]
if context is not None:
context = convert_model(context)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_claim_rule',
)
headers.update(sdk_headers)
data = {
'type': type,
'conditions': conditions,
'context': context,
'name': name,
'realm_name': realm_name,
'cr_type': cr_type,
'expiration': expiration,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/rules'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, type: str, conditions: List[ibm_platform_services.iam_identity_v1.ProfileClaimRuleConditions], *, context: Optional[ibm_platform_services.iam_identity_v1.ResponseContext] = None, name: Optional[str] = None, realm_name: Optional[str] = None, cr_type: Optional[str] = None, expiration: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.07679568231105804,
0.05394165590405464,
-0.0061511569656431675,
-0.04109107702970505,
-0.022353852167725563,
0.005453801713883877,
-0.03293441981077194,
-0.04278396815061569,
-0.026162857189774513,
0.000017894159100251272,
0.010628661140799522,
0.05740438774228096,
0.019660618156194687,
0.02689387835562229,
0.007185167167335749,
-0.003989354707300663,
0.0751027911901474,
-0.03181865066289902,
0.013071809895336628,
-0.022353852167725563,
0.03545451909303665,
0.010667135939002037,
0.02510480023920536,
0.005790455732494593,
0.042399220168590546,
0.010657517239451408,
0.02733633853495121,
-0.02410445548593998,
-0.013081428594887257,
0.06263695657253265,
0.028740668669342995,
0.06686918437480927,
0.019477862864732742,
0.011359681375324726,
-0.009565794840455055,
0.0034026142675429583,
-0.05151774361729622,
0.01348541397601366,
-0.10665211826562881,
0.05732743814587593,
-0.03955208510160446,
0.062483061105012894,
-0.01877569779753685,
0.02331572212278843,
-0.057019639760255814,
-0.063560351729393,
-0.02552802301943302,
-0.01776573434472084,
-0.020834099501371384,
-0.05374928191304207,
-0.04836281016469002,
-0.0032607384491711855,
-0.018092770129442215,
0.019227776676416397,
-0.011677098460495472,
-0.041398875415325165,
-0.08295165002346039,
-0.036435626447200775,
0.0034218516666442156,
0.010830653831362724,
0.044053636491298676,
-0.029529402032494545,
-0.0011103583965450525,
-0.025066325441002846,
0.002399865072220564,
-0.021391984075307846,
-0.00939265824854374,
-0.0317801758646965,
0.007685339543968439,
-0.030395084992051125,
0.028740668669342995,
-0.026124382391572,
0.04813196137547493,
-0.017506029456853867,
0.05044044926762581,
-0.027855748310685158,
0.051402319222688675,
-0.0685236006975174,
0.06836970150470734,
0.03533909469842911,
0.0194297693669796,
0.010445905849337578,
-0.0345311239361763,
-0.010638279840350151,
0.012610112316906452,
0.07598771154880524,
0.02252698875963688,
-0.05778913572430611,
-0.0834902971982956,
-0.0004644027503672987,
0.009830309078097343,
-0.03331916779279709,
0.0020523895509541035,
-0.04697771742939949,
0.04374583810567856,
0.022199954837560654,
0.010205438360571861,
0.00706493342295289,
-0.005136384628713131,
0.020103078335523605,
-0.043976686894893646,
-0.011128833517432213,
-0.048824507743120193,
-0.030837545171380043,
0.09310898929834366,
0.009075241163372993,
-0.010465143248438835,
0.028606006875634193,
-0.05948202684521675,
0.03712817281484604,
0.005886642728000879,
-0.05359538272023201,
-0.04690076783299446,
-0.011859853751957417,
0.07375617325305939,
0.024931663647294044,
-0.029260078445076942,
-0.01427414733916521,
-0.03943666070699692,
0.005549988709390163,
0.003383376868441701,
-0.038955725729465485,
-0.01663072779774666,
-0.02150740846991539,
-0.02452767826616764,
0.0263937059789896,
-0.03289594501256943,
0.016707677394151688,
0.06794647872447968,
-0.03279975801706314,
-0.09549442678689957,
-0.0020896620117127895,
-0.0027557569555938244,
-0.019593287259340286,
-0.012783248908817768,
-0.007339066360145807,
0.018948834389448166,
-0.0021966700442135334,
0.05709658935666084,
0.003198216902092099,
0.0029409166891127825,
0.03156856447458267,
-0.00627620005980134,
-0.040321581065654755,
-0.020622488111257553,
-0.06390662491321564,
0.004099969752132893,
0.0007664899458177388,
-0.006492620799690485,
0.05344148352742195,
0.014254909940063953,
-0.00003080988972214982,
-0.0024551725946366787,
0.061828989535570145,
0.05217181518673897,
-0.02754794992506504,
0.021276559680700302,
-0.009762978181242943,
-0.028144309297204018,
0.013225709088146687,
-0.06229068711400032,
0.02158435806632042,
-0.0002093569637509063,
-0.01399520505219698,
0.018400568515062332,
-0.04055242985486984,
0.020045366138219833,
-0.019622143357992172,
0.04836281016469002,
-0.02935626544058323,
-0.014235672540962696,
-0.05351843312382698,
0.03803233057260513,
0.022334616631269455,
-0.08248995244503021,
-0.04428448528051376,
0.021969106048345566,
-0.0292793158441782,
-0.0554036982357502,
-0.032203398644924164,
0.0033809721935540438,
-0.026124382391572,
0.01669805869460106,
-0.012946766801178455,
-0.010753704234957695,
0.01869874820113182,
-0.018881503492593765,
0.0433226153254509,
0.01398558635264635,
0.011023027822375298,
-0.0308567825704813,
0.007911378517746925,
-0.0195644311606884,
0.012667824514210224,
0.0013406060170382261,
-0.0696008950471878,
0.07552601397037506,
0.02749023772776127,
-0.0433226153254509,
-0.037378259003162384,
-0.011773285456001759,
0.04855518415570259,
-0.015101355500519276,
-0.014822413213551044,
0.028432870283722878,
-0.008887676522135735,
-0.03847479075193405,
0.037589870393276215,
-0.013591219671070576,
-0.0543648786842823,
-0.03114534355700016,
0.027240151539444923,
-0.006343530956655741,
0.026720741763710976,
-0.012658205814659595,
-0.018583323806524277,
-0.01276401150971651,
-0.01169633585959673,
-0.006728278938680887,
-0.012283076532185078,
0.004583309404551983,
-0.01777535304427147,
-0.01485126931220293,
-0.012975622899830341,
0.003429065691307187,
0.037801481783390045,
0.010493999347090721,
0.031837888062000275,
0.009181046858429909,
0.021853681653738022,
0.01612093672156334,
0.01891997829079628,
-0.0018359689274802804,
-0.0012059442233294249,
-0.014360715635120869,
-0.01234078872948885,
-0.007276544813066721,
0.03820546716451645,
-0.022565463557839394,
0.07887332141399384,
0.03876335173845291,
0.009753359481692314,
0.005756790284067392,
0.019468244165182114,
0.00009558580495649949,
0.03920581191778183,
0.016669202595949173,
-0.018737222999334335,
-0.0019489886472001672,
-0.04736246541142464,
-0.01284096110612154,
0.03703198581933975,
0.00439093541353941,
0.07471804320812225,
-0.031241530552506447,
0.0030611504334956408,
0.017717640846967697,
-0.09233949333429337,
0.05417250469326973,
-0.01478393841534853,
0.009344564750790596,
0.020699437707662582,
0.01550534088164568,
-0.058520156890153885,
-0.04286091774702072,
-0.05194096639752388,
-0.06440679728984833,
0.07533363997936249,
-0.0024010674096643925,
0.008406741544604301,
0.0023253201507031918,
0.039898358285427094,
0.03381934016942978,
-0.017380986362695694,
0.002220716793090105,
0.007483346853405237,
-0.007137073669582605,
0.09064660221338272,
0.01768878474831581,
-0.02539336122572422,
0.010349718853831291,
0.017178993672132492,
0.0068340846337378025,
-0.015312966890633106,
-0.013947111554443836,
-0.06994716823101044,
-0.01043628714978695,
0.08956930786371231,
-0.030664408579468727,
0.0404370054602623,
-0.02675921656191349,
-0.002964963437989354,
-0.03531985729932785,
-0.004705947823822498,
0.012388882227241993,
0.015341822989284992,
0.009464798495173454,
-0.041398875415325165,
0.04336109012365341,
-0.023719707503914833,
-0.029741013422608376,
0.08495233952999115,
0.044207535684108734,
-0.058520156890153885,
-0.04670839384198189,
-0.07964281737804413,
-0.013331514783203602,
-0.06090559437870979,
0.022103767842054367,
0.017958108335733414,
-0.0022652032785117626,
-0.007723814342170954,
0.01770802214741707,
0.05020960047841072,
0.05448030307888985,
0.01928548887372017,
0.0060357325710356236,
-0.014437665231525898,
0.06344492733478546,
0.03783995658159256,
0.005852977279573679,
-0.045207876712083817,
0.05632709339261055,
0.024912426248192787,
0.03641638904809952,
-0.027605662122368813,
0.018544849008321762,
0.060251522809267044,
0.025162512436509132,
-0.005771218333393335,
-0.04670839384198189,
0.022603938356041908,
0.018717985600233078,
0.010090013965964317,
-0.01619788631796837,
0.01612093672156334,
0.01747717335820198,
0.01133082527667284,
0.02252698875963688,
0.04466923326253891,
0.00685332203283906,
-0.038667164742946625,
0.022392326965928078,
-0.013119903393089771,
0.016140174120664597,
-0.01762145385146141,
0.044207535684108734,
0.0037825528997927904,
0.01713090017437935,
0.006492620799690485,
-0.012456213124096394,
-0.025162512436509132,
0.06052084639668465,
0.030183473601937294,
0.0315108522772789,
-0.061675090342760086,
-0.03310755640268326,
-0.016890432685613632,
-0.019497100263834,
-0.014745463617146015,
0.0027942315209656954,
-0.01100379042327404,
-0.004963248036801815,
0.020911049097776413,
0.01385092455893755,
0.004576095379889011,
0.004876679740846157,
-0.0033016179222613573,
-0.016140174120664597,
0.005155622027814388,
-0.005574035458266735,
-0.030548984184861183,
-0.04747788980603218,
0.009003100916743279,
0.011523199267685413,
0.026663029566407204,
0.021161135286092758,
0.016524922102689743,
0.0060790167190134525,
0.01776573434472084,
-0.04863213375210762,
-0.00039887535967864096,
-0.06298322975635529,
0.0010538485366851091,
-0.02331572212278843,
-0.007252498064190149,
-0.015380297787487507,
0.014678132720291615,
-0.008151846006512642,
-0.013216090388596058,
0.059097278863191605,
-0.013379608280956745,
0.045284826308488846,
-0.09711036831140518,
0.005160431377589703,
0.05324910953640938,
-0.05963592603802681,
0.029760250821709633,
-0.01653454080224037,
-0.019814517349004745,
-0.03505053371191025,
-0.02387360669672489,
0.07860399782657623,
0.04301481693983078,
-0.030298897996544838,
0.020103078335523605,
0.03395400196313858,
0.020757149904966354,
-0.016573015600442886,
0.044861603528261185,
0.008185511454939842,
-0.022103767842054367,
0.004131230525672436,
-0.013639313168823719,
0.02137274667620659,
-0.011446249671280384,
0.011936803348362446,
-0.012225364334881306,
-0.02725938893854618,
0.006766753736883402,
0.04093717783689499,
-0.03020271100103855,
0.013071809895336628,
0.026816928759217262,
-0.02035316452383995,
0.037012748420238495,
0.0052902838215231895,
0.07918111979961395,
-0.02741328813135624,
-0.01590932533144951,
0.04186057299375534,
0.02193063125014305,
-0.02473928965628147,
-0.020180027931928635,
-0.028471345081925392,
0.042553119361400604,
-0.02604743279516697,
0.009508082643151283,
0.013437320478260517,
-0.001932155922986567,
0.01521677989512682,
0.018814172595739365,
-0.03891725093126297,
0.0315108522772789,
-0.029009992256760597,
0.03501205891370773,
-0.03839784115552902,
-0.06667681038379669,
-0.03710893541574478,
0.0208725742995739,
0.019256632775068283,
0.026124382391572,
0.05351843312382698,
0.010099632665514946,
-0.005112337879836559,
-0.02221919223666191,
-0.04559262469410896,
-0.0027028541080653667,
0.0036551051307469606,
-0.051556218415498734,
-0.0019802493043243885,
-0.024412253871560097,
-0.00042262152419425547,
0.043630413711071014,
-0.007714195642620325,
0.02058401331305504,
-0.01211955863982439,
0.03239577263593674,
-0.01920853927731514,
0.0017494006315246224,
-0.04151429980993271,
0.027682611718773842,
0.006737897638231516,
0.031972549855709076,
0.05086367204785347,
0.06679223477840424,
0.030587458983063698,
-0.028817618265748024,
0.016072843223810196,
0.028663719072937965,
0.022334616631269455,
0.013764356262981892,
-0.04136040061712265,
0.03416561335325241,
-0.0011482320260256529,
-0.056865740567445755,
-0.030395084992051125,
0.033857814967632294,
-0.04728551581501961,
0.05174859240651131,
0.0013935088645666838,
-0.04540025070309639,
0.0022447635419666767,
0.022834787145256996,
-0.0525180883705616,
-0.013687406666576862,
0.03145314007997513,
-0.04905535653233528,
-0.0012360026594251394,
-0.04563109949231148,
0.00453521590679884,
-0.05448030307888985,
0.036724187433719635,
0.04028310626745224,
0.0028086595702916384,
0.05378775671124458,
-0.08441369235515594,
0.027874985709786415,
-0.031049156561493874,
0.02223842963576317,
-0.013591219671070576,
0.06475307047367096,
-0.0307221207767725,
-0.0263937059789896,
-0.001967023592442274,
0.04901688173413277,
0.087183877825737,
0.04020615667104721,
-0.09580222517251968,
-0.051325369626283646,
0.02862524427473545,
-0.0067619443871080875,
0.005232571624219418,
0.04547720029950142,
0.04001378268003464,
0.06648443639278412,
0.007853666320443153,
-0.023123348131775856,
0.0462082214653492,
-0.05359538272023201,
0.049670953303575516,
0.0211418978869915,
-0.015447628684341908,
-0.02877914346754551,
-0.009411895647644997,
-0.03445417433977127,
-0.020737912505865097,
-0.010455524548888206,
0.07398702204227448,
-0.02460462786257267,
0.041244976222515106,
0.006627282593399286,
-0.05474962666630745,
0.022565463557839394,
-0.04320719093084335,
-0.013071809895336628,
0.02568192221224308,
-0.013042953796684742,
0.009387848898768425,
-0.003518038662150502,
0.015053262002766132,
-0.02229614183306694,
0.01093645952641964,
0.02547031082212925,
0.005516323260962963,
0.05324910953640938,
0.07475651800632477,
-0.07918111979961395,
-0.01234078872948885,
-0.010657517239451408,
-0.014004823751747608,
-0.024335304275155067,
-0.0045785000547766685,
0.005266237072646618,
-0.024854714050889015,
-0.0027293055318295956,
0.02539336122572422,
0.061444241553545,
-0.020603250712156296,
-0.03487739711999893,
0.027220914140343666,
0.07821924984455109,
0.0053047118708491325,
-0.031106868758797646,
-0.031087631359696388,
-0.0582893081009388,
0.031106868758797646,
0.01370664406567812,
-0.0011181735899299383,
0.0527874119579792,
-0.03922504931688309,
0.006059779319912195,
0.012571637518703938,
-0.049670953303575516,
-0.04136040061712265,
-0.01977604255080223,
0.004128825850784779,
0.023912081494927406,
0.015514959581196308,
-0.015091736800968647,
-0.055365223437547684,
0.07918111979961395,
-0.024008268490433693,
-0.008753014728426933,
0.028471345081925392,
0.056865740567445755,
0.007868094369769096,
-0.013793212361633778,
-0.050979096442461014,
0.015784282237291336,
-0.01064789853990078,
-0.044707704335451126,
-0.009118525311350822,
0.0627523809671402,
-0.012744774110615253,
-0.03951361030340195,
0.007844047620892525,
0.02381589449942112,
-0.01869874820113182,
-0.05640404298901558,
0.029817963019013405,
0.04166819900274277,
0.04597737267613411,
-0.04740094020962715,
0.0745641440153122,
-0.0769495815038681,
-0.06436832249164581,
0.0375513955950737,
0.029260078445076942,
-0.014235672540962696,
-0.0032655477989465,
-0.01603436842560768,
-0.019237395375967026,
0.08479844033718109,
-0.017804209142923355,
0.026432180777192116,
-0.01071522943675518,
-0.07533363997936249,
-0.02006460353732109,
-0.05848168209195137,
-0.006872559431940317,
0.06402204930782318,
-0.05813540890812874,
-0.08195130527019501,
0.05432640388607979,
0.06386815011501312,
0.039667509496212006,
0.04443838447332382,
0.051902491599321365,
-0.02193063125014305,
-0.05417250469326973,
-0.042283795773983,
0.019891466945409775,
0.011725191958248615,
-0.01420681644231081,
0.02143045887351036,
-0.04036005586385727,
-0.05159469321370125,
0.029375502839684486,
-0.01042666845023632,
-0.04351498931646347,
0.04682381823658943,
0.0012961195316165686,
0.022199954837560654,
0.06740783154964447,
0.054711151868104935,
0.0435919389128685,
-0.009003100916743279,
-0.014447283931076527,
-0.012994860298931599,
0.030106524005532265,
-0.015870850533246994,
0.05378775671124458,
-0.015514959581196308,
-0.012889054603874683,
-0.04086022824048996,
0.014437665231525898,
-0.022392326965928078,
-0.035781554877758026,
0.0211418978869915,
0.024508440867066383,
0.02308487333357334,
0.010917222127318382,
0.04109107702970505,
0.06502239406108856,
0.0007129859295673668,
-0.025662684813141823,
-0.07156310975551605,
0.02862524427473545,
0.021988343447446823,
0.027740323916077614,
-0.06567646563053131,
0.0037152220029383898,
-0.03818622976541519,
0.007069742772728205,
0.0011313993018120527,
0.08818422257900238,
-0.03978293389081955,
-0.1208108440041542,
-0.018227431923151016,
0.016024749726057053,
-0.01335075218230486,
-0.0016387855866923928,
-0.028798380866646767,
0.004395744763314724,
-0.035935454070568085,
-0.04920925572514534,
0.023835131898522377,
0.004674687050282955,
0.04266854375600815,
-0.03501205891370773,
-0.02985643781721592,
-0.017227087169885635,
-0.038878776133060455,
-0.025143275037407875,
0.051556218415498734,
0.01913158968091011,
-0.00566541263833642,
0.10280463844537735,
-0.04790111258625984,
-0.04459228366613388,
0.08972320705652237,
0.07475651800632477,
-0.018073532730340958,
-0.03393476456403732,
-0.041398875415325165,
-0.04155277460813522,
0.025124037638306618,
-0.01169633585959673,
-0.016303692013025284,
0.09457103163003922,
0.052902836352586746,
-0.006002067122608423,
-0.06790800392627716,
-0.016140174120664597,
0.005049816332757473,
-0.0036959846038371325,
-0.021969106048345566,
0.008796298876404762,
-0.04028310626745224,
0.032761283218860626,
0.01582275703549385,
-0.033780865371227264,
0.014235672540962696,
0.008974244818091393,
-0.002575406339019537,
0.013167996890842915,
-0.07348684966564178,
0.00863759033381939,
-0.04428448528051376,
-0.022854024544358253,
0.012975622899830341,
0.02999109961092472,
-0.022834787145256996,
-0.03558918088674545,
0.028144309297204018,
0.061174917966127396,
-0.020699437707662582,
0.059674400836229324,
-0.0038883585948497057,
0.024700814858078957,
-0.016428735107183456,
-0.03943666070699692,
0.01841018721461296,
0.009176237508654594,
0.002604262437671423,
0.028144309297204018,
0.009594650939106941,
-0.034357987344264984,
0.013177615590393543,
-0.022911736741662025,
0.018381331115961075,
0.02308487333357334,
-0.002649951260536909,
-0.003671937854960561,
-0.04451533406972885,
0.005343186669051647,
-0.025508785620331764
] |
719,679
|
ibm_platform_services.iam_identity_v1
|
create_link
|
Create link to a trusted profile.
Create a direct link between a specific compute resource and a trusted profile,
rather than creating conditions that a compute resource must fulfill to apply a
trusted profile.
:param str profile_id: ID of the trusted profile.
:param str cr_type: The compute resource type. Valid values are VSI,
IKS_SA, ROKS_SA.
:param CreateProfileLinkRequestLink link: Link details.
:param str name: (optional) Optional name of the Link.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileLink` object
|
def create_link(
self,
profile_id: str,
cr_type: str,
link: 'CreateProfileLinkRequestLink',
*,
name: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create link to a trusted profile.
Create a direct link between a specific compute resource and a trusted profile,
rather than creating conditions that a compute resource must fulfill to apply a
trusted profile.
:param str profile_id: ID of the trusted profile.
:param str cr_type: The compute resource type. Valid values are VSI,
IKS_SA, ROKS_SA.
:param CreateProfileLinkRequestLink link: Link details.
:param str name: (optional) Optional name of the Link.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileLink` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if cr_type is None:
raise ValueError('cr_type must be provided')
if link is None:
raise ValueError('link must be provided')
link = convert_model(link)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_link',
)
headers.update(sdk_headers)
data = {
'cr_type': cr_type,
'link': link,
'name': name,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/links'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, cr_type: str, link: ibm_platform_services.iam_identity_v1.CreateProfileLinkRequestLink, *, name: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.08379346132278442,
0.05354515090584755,
-0.022263510152697563,
-0.011714175343513489,
-0.010258123278617859,
0.014466584660112858,
-0.04959971830248833,
-0.004551337566226721,
-0.012127506546676159,
-0.005157243460416794,
0.004062855616211891,
0.036147672683000565,
0.05816694349050522,
-0.002371956128627062,
-0.005486029200255871,
-0.015499912202358246,
0.026378031820058823,
-0.056626345962285995,
0.03364890068769455,
-0.02541985549032688,
0.00906040333211422,
0.05343242362141609,
-0.017604142427444458,
-0.029421649873256683,
0.055724531412124634,
0.04847245290875435,
0.010539939627051353,
0.009436158463358879,
-0.0012435156386345625,
0.08664920181035995,
0.0027735447511076927,
0.0007133482140488923,
-0.0012881365837529302,
0.050539106130599976,
0.042422790080308914,
0.006514660082757473,
-0.053131818771362305,
0.031093763187527657,
-0.11370359361171722,
0.0448651984333992,
-0.027580449357628822,
0.05640089139342308,
-0.039266444742679596,
0.019802311435341835,
-0.010117215104401112,
-0.030191948637366295,
-0.04332460090517998,
-0.029308924451470375,
-0.09115827083587646,
-0.08401891589164734,
-0.03460707515478134,
-0.01667414791882038,
0.008637677878141403,
0.04396338760852814,
-0.05610028654336929,
-0.06526871770620346,
-0.046293068677186966,
0.010474182665348053,
-0.0395294725894928,
0.030718006193637848,
0.03325435519218445,
-0.053582724183797836,
-0.009295250289142132,
0.029384074732661247,
0.002895665355026722,
-0.03381798788905144,
-0.05001305043697357,
-0.02598348818719387,
0.0033254355657845736,
0.028914380818605423,
0.06940203160047531,
0.006087237969040871,
0.00497406255453825,
0.01818656362593174,
0.037669483572244644,
0.0008425141568295658,
0.039642199873924255,
-0.042685817927122116,
0.020441096276044846,
-0.032484058290719986,
0.012991744093596935,
-0.027899840846657753,
-0.00002247560587420594,
-0.019558070227503777,
0.03301011398434639,
0.05343242362141609,
0.04309915006160736,
-0.04670640081167221,
-0.06737294793128967,
0.03193921223282814,
0.013170228339731693,
-0.00587587570771575,
-0.006674355827271938,
-0.05038880556821823,
0.05106516554951668,
0.024367740377783775,
0.0311125498265028,
-0.03340465947985649,
0.02331562526524067,
0.014832945540547371,
0.0025833186227828264,
-0.07094262540340424,
-0.05095243826508522,
0.008562526665627956,
0.0574154295027256,
-0.013376893475651741,
0.01372446771711111,
0.006284509785473347,
-0.05658876895904541,
0.03714342415332794,
0.02053503505885601,
-0.09115827083587646,
0.020497459918260574,
-0.023165322840213776,
0.011723569594323635,
0.018158381804823875,
0.013696285896003246,
-0.008609496057033539,
-0.019407767802476883,
-0.0160259697586298,
-0.0111505426466465,
0.0033583142794668674,
-0.025682883337140083,
-0.04189673066139221,
-0.0321834534406662,
-0.008477982133626938,
-0.020741699263453484,
0.013254772871732712,
0.0073037464171648026,
-0.018590500578284264,
-0.06290145963430405,
0.004922396037727594,
-0.003745811991393566,
0.03607252240180969,
-0.024311376735568047,
0.00919191725552082,
-0.08431951701641083,
0.036917973309755325,
0.03530222177505493,
0.05223000422120094,
-0.0188253466039896,
0.0036847516894340515,
-0.020008977502584457,
-0.004525504540652037,
-0.00415209773927927,
-0.033742837607860565,
0.039003413170576096,
0.01679626852273941,
-0.010887513868510723,
-0.007970712147653103,
0.04170885309576988,
-0.049148812890052795,
0.012550232000648975,
0.08401891589164734,
0.017951715737581253,
-0.021079879254102707,
-0.0111505426466465,
-0.01965200901031494,
-0.029891345649957657,
-0.0033489202614873648,
-0.018834741786122322,
0.007839198224246502,
0.034701015800237656,
0.000051226033974671736,
0.002794681116938591,
-0.049073658883571625,
0.03941674530506134,
-0.006195267662405968,
0.03378041461110115,
-0.022038055583834648,
-0.0000921775063034147,
-0.033367082476615906,
0.02008412778377533,
0.009154342114925385,
-0.05407120659947395,
0.009891761466860771,
0.07981045544147491,
-0.0731595829129219,
-0.021624725311994553,
-0.07635350525379181,
-0.007543290499597788,
-0.045654285699129105,
0.021962905302643776,
0.015941424295306206,
-0.01824292726814747,
-0.0002850457385648042,
0.012982350774109364,
-0.02014049142599106,
0.01938898116350174,
-0.01919170841574669,
-0.011770538985729218,
0.012540837749838829,
-0.031074974685907364,
0.018224138766527176,
-0.0061717829667031765,
-0.04370035603642464,
0.04636822268366814,
-0.013855981640517712,
-0.046217918395996094,
0.017134448513388634,
-0.01416597981005907,
0.02521318942308426,
-0.05223000422120094,
-0.028313172981142998,
0.0758274495601654,
-0.034682225435972214,
0.019445344805717468,
0.0098823681473732,
0.014983247965574265,
-0.017904747277498245,
-0.016702329739928246,
0.008280710317194462,
0.010380243882536888,
0.07128080725669861,
-0.02712954208254814,
-0.008642375469207764,
-0.012428111396729946,
0.035076770931482315,
0.0031422548927366734,
-0.02312774769961834,
0.04569186270236969,
-0.057565733790397644,
0.03340465947985649,
0.0016908994875848293,
0.03934159502387047,
0.003304299432784319,
0.03603494539856911,
-0.006087237969040871,
-0.00008762734069023281,
-0.022301085293293,
0.015330822207033634,
-0.00875040516257286,
-0.06030874699354172,
0.014072041027247906,
-0.04866033047437668,
-0.047871243208646774,
0.018853528425097466,
0.016439300030469894,
-0.042798545211553574,
0.016270210966467857,
0.002745363162830472,
0.05204212665557861,
-0.00587587570771575,
0.03904099017381668,
-0.025382280349731445,
0.005692694801837206,
-0.00886782817542553,
-0.006664962042123079,
-0.03797008842229843,
-0.09206008166074753,
0.0395294725894928,
-0.011019027791917324,
0.011347814463078976,
0.040769465267658234,
-0.011949023231863976,
-0.01723778061568737,
0.020798062905669212,
-0.06680931895971298,
-0.0020866168197244406,
-0.002402486279606819,
-0.0098823681473732,
-0.015049004927277565,
-0.07575229555368423,
-0.0124844741076231,
-0.0004876013845205307,
-0.07687956094741821,
-0.016007181257009506,
0.07007838785648346,
0.02179381623864174,
0.034381624311208725,
0.09333764761686325,
0.0472700335085392,
-0.007533896714448929,
0.01780141331255436,
-0.0104835769161582,
-0.004659367259591818,
-0.011159936897456646,
0.04835972562432289,
-0.02045988291501999,
-0.029891345649957657,
-0.03349859640002251,
-0.021775027737021446,
0.0013268863549456,
0.013104470446705818,
0.010314486920833588,
-0.04366278275847435,
0.00782040972262621,
0.06789901107549667,
-0.0568893738090992,
0.015499912202358246,
-0.0118175083771348,
0.03821432963013649,
-0.03650464117527008,
0.009938730858266354,
0.004884820897132158,
0.02897074446082115,
-0.0037011911626905203,
0.0453912578523159,
0.03949189558625221,
-0.027711963281035423,
-0.0005339836934581399,
0.03892826288938522,
0.04050643742084503,
-0.03500162065029144,
-0.04069431498646736,
-0.05786633864045143,
0.034982830286026,
-0.079585000872612,
0.021718664094805717,
0.04358763247728348,
-0.03800766170024872,
0.019501706585288048,
0.00886782817542553,
0.057002101093530655,
-0.023653805255889893,
0.011019027791917324,
0.028087718412280083,
0.019727161154150963,
0.000026989075195160694,
0.037481606006622314,
-0.046556100249290466,
-0.027148330584168434,
0.0355088897049427,
-0.003372404957190156,
0.04396338760852814,
-0.0020971850026398897,
-0.0018212395953014493,
0.046030040830373764,
0.0021324120461940765,
0.001827110769227147,
-0.006110722664743662,
0.017857776954770088,
0.03500162065029144,
0.021136242896318436,
-0.061360862106084824,
0.03693675994873047,
-0.004692246206104755,
-0.01584748551249504,
0.002719529904425144,
0.016138695180416107,
-0.002085442654788494,
-0.02921498566865921,
-0.0013163182884454727,
-0.00877858605235815,
0.008863131515681744,
-0.008473285473883152,
0.032465267926454544,
-0.04080704227089882,
0.012531443499028683,
0.018975649029016495,
-0.015631426125764847,
0.02927134931087494,
0.04569186270236969,
0.06710992008447647,
0.04396338760852814,
-0.05162879824638367,
-0.04899850860238075,
-0.0075151086784899235,
0.002980210352689028,
-0.010568121448159218,
-0.01289780531078577,
0.0212301816791296,
0.00453020166605711,
0.005260576028376818,
0.04847245290875435,
-0.01584748551249504,
-0.005049213767051697,
0.03674888238310814,
0.007585562765598297,
-0.004283612128347158,
0.018271107226610184,
-0.07654137909412384,
-0.01327356044203043,
0.01825232058763504,
0.03146951645612717,
-0.039003413170576096,
0.010765393264591694,
0.0048002758994698524,
-0.014626280404627323,
0.012174475938081741,
-0.0005736141465604305,
-0.009807216934859753,
-0.003731721080839634,
0.019802311435341835,
0.020065341144800186,
-0.021944116801023483,
0.07334746420383453,
-0.016364149749279022,
0.017406871542334557,
-0.014851734042167664,
0.018524743616580963,
-0.033987078815698624,
-0.001973890233784914,
-0.0014607493067160249,
0.07361049205064774,
-0.004358762875199318,
-0.02953437715768814,
0.011366602033376694,
-0.0659450814127922,
0.04294884577393532,
0.0017566566821187735,
0.01007024571299553,
0.02611500211060047,
0.0224325992166996,
-0.029703468084335327,
-0.040844615548849106,
0.037218574434518814,
0.013865375891327858,
-0.005565877538174391,
0.046105191111564636,
0.014485372230410576,
0.012625382281839848,
-0.05531119927763939,
-0.018534136936068535,
0.019633222371339798,
0.05936935916543007,
-0.010605697520077229,
0.015678396448493004,
-0.08462012559175491,
0.000015567797163384967,
0.05399605631828308,
-0.029684679582715034,
-0.03426889702677727,
0.041859157383441925,
-0.032352544367313385,
0.009586460888385773,
0.0025997578632086515,
0.08446982502937317,
0.028181657195091248,
0.010220548138022423,
0.0777062252163887,
0.005293454509228468,
0.019990189000964165,
-0.022714415565133095,
-0.014908096753060818,
0.044827625155448914,
-0.026340456679463387,
-0.011573267169296741,
-0.008553133346140385,
0.001255257986485958,
-0.011986598372459412,
-0.019933825358748436,
-0.03667373210191727,
-0.017472628504037857,
-0.020008977502584457,
-0.020704124122858047,
-0.00018567602091934532,
-0.056739069521427155,
-0.024987736716866493,
0.027354996651411057,
0.05568695440888405,
0.028162870556116104,
0.08792677521705627,
-0.013649316504597664,
-0.03276587277650833,
-0.053582724183797836,
-0.039792500436306,
-0.004032325465232134,
-0.014682644046843052,
-0.0053357272408902645,
0.0018952165264636278,
-0.029665891081094742,
-0.058768149465322495,
0.02932771109044552,
0.019022619351744652,
0.024912584573030472,
-0.012681745924055576,
0.014391433447599411,
-0.05343242362141609,
0.021756239235401154,
-0.030379826202988625,
0.011667205952107906,
0.005936936009675264,
0.08259104192256927,
0.051666371524333954,
0.045842163264751434,
-0.025513794273138046,
-0.019041405990719795,
-0.02168108895421028,
-0.011122360825538635,
0.009243583306670189,
-0.03167618438601494,
0.011920841410756111,
0.056814223527908325,
0.032991327345371246,
-0.006702537648379803,
-0.006401933263987303,
0.06940203160047531,
-0.03922886773943901,
0.05365787819027901,
-0.007764046546071768,
0.0005380935035645962,
-0.023428350687026978,
0.0429864227771759,
-0.09378855675458908,
-0.020873215049505234,
-0.00045648415107280016,
-0.033367082476615906,
-0.019933825358748436,
0.0065710232593119144,
0.04212218523025513,
-0.03654221445322037,
0.023860469460487366,
-0.008182074874639511,
0.055724531412124634,
0.07943470031023026,
-0.03994280472397804,
0.04678155109286308,
-0.058204516768455505,
0.02863256447017193,
-0.02726105786859989,
0.05159122124314308,
0.03464465215802193,
0.008407527580857277,
0.014156586490571499,
0.049148812890052795,
0.04430156573653221,
0.013940527103841305,
-0.0451282262802124,
-0.047871243208646774,
0.03517070785164833,
0.028087718412280083,
-0.0106150908395648,
0.006603901740163565,
0.018271107226610184,
0.04009310528635979,
-0.012465686537325382,
-0.0036189944949001074,
0.05196697637438774,
0.03351738676428795,
0.04580458626151085,
0.04396338760852814,
-0.06027117371559143,
-0.08882858604192734,
0.01032388024032116,
-0.037744633853435516,
-0.03220224007964134,
0.010455395095050335,
0.01912595145404339,
-0.023165322840213776,
0.017538385465741158,
-0.03118770197033882,
-0.10017640143632889,
-0.008083438500761986,
-0.017134448513388634,
-0.01372446771711111,
0.08401891589164734,
-0.00016938350745476782,
0.006462993565946817,
-0.061360862106084824,
0.010690242052078247,
-0.002860438311472535,
0.002479985821992159,
0.05399605631828308,
-0.044451870024204254,
0.044527020305395126,
0.01710626669228077,
-0.11821266263723373,
0.03118770197033882,
-0.0004335865378379822,
-0.06981536000967026,
-0.019633222371339798,
-0.022188358008861542,
0.013189015910029411,
0.006716628558933735,
0.04189673066139221,
0.029684679582715034,
0.02812529355287552,
-0.005251182243227959,
-0.006448902655392885,
0.014917491003870964,
0.03657979145646095,
-0.07496321201324463,
-0.01913534477353096,
-0.022977445274591446,
-0.024818645790219307,
0.023371988907456398,
0.03637312725186348,
0.03173254802823067,
0.043061573058366776,
-0.030887097120285034,
0.044902775436639786,
0.049900323152542114,
-0.033367082476615906,
-0.035640403628349304,
-0.02913983352482319,
-0.033987078815698624,
-0.006002692971378565,
0.055611804127693176,
-0.009079190902411938,
-0.061623889952898026,
0.05245545879006386,
-0.06233782693743706,
-0.06910142302513123,
0.0036589186638593674,
0.03808281198143959,
0.025363491848111153,
-0.01384658832103014,
-0.030567705631256104,
0.027035603299736977,
-0.0200277641415596,
-0.061699043959379196,
-0.003013088833540678,
0.050726983696222305,
-0.020365944132208824,
-0.04618034139275551,
-0.014551129192113876,
0.02566409669816494,
-0.054334234446287155,
-0.044451870024204254,
0.02932771109044552,
0.0472700335085392,
-0.01610112003982067,
-0.042347636073827744,
0.025119250640273094,
-0.056175436824560165,
-0.05906875431537628,
0.011469935066998005,
0.054334234446287155,
0.012625382281839848,
0.007228595204651356,
-0.06575720012187958,
-0.013574165292084217,
0.07838258147239685,
-0.06861294060945511,
0.027524085715413094,
0.019727161154150963,
-0.028425898402929306,
-0.007867379114031792,
-0.02464955672621727,
-0.011300845071673393,
0.03282223641872406,
-0.0016591950552538037,
-0.05835482105612755,
0.08552193641662598,
-0.016843236982822418,
0.06102268397808075,
0.022225935012102127,
0.05429666116833687,
0.0014830597210675478,
-0.03099982440471649,
-0.010596303269267082,
-0.028538625687360764,
0.012963562272489071,
-0.045278530567884445,
0.05087728798389435,
0.029496802017092705,
-0.09664429724216461,
0.03588464483618736,
0.015856878831982613,
-0.035584039986133575,
0.05846754461526871,
0.024931373074650764,
-0.021436847746372223,
0.065155990421772,
-0.006303297355771065,
0.03783857077360153,
0.014757795259356499,
-0.050914861261844635,
0.007566775195300579,
0.06444206088781357,
-0.01570657640695572,
0.06759840250015259,
-0.036147672683000565,
-0.024611981585621834,
0.008618890307843685,
0.0249689482152462,
0.005063304677605629,
-0.022263510152697563,
0.02040352113544941,
0.013395681045949459,
0.03464465215802193,
0.012343565933406353,
0.026077426970005035,
0.05380817875266075,
-0.008787980303168297,
-0.031131338328123093,
-0.04475247114896774,
0.019154133275151253,
0.004614746663719416,
0.005904057528823614,
-0.031338002532720566,
-0.017275355756282806,
0.029290135949850082,
-0.015274458564817905,
-0.023804107680916786,
0.09423946589231491,
-0.029233772307634354,
-0.09228553622961044,
0.012728715315461159,
0.008534345775842667,
-0.05271848663687706,
0.007914348505437374,
-0.04956214129924774,
-0.010633878409862518,
-0.04719488322734833,
-0.02838832326233387,
-0.018092624843120575,
-0.029684679582715034,
0.020628973841667175,
0.016561420634388924,
0.0024001379497349262,
-0.008261922746896744,
-0.006077844183892012,
-0.044902775436639786,
0.06147358939051628,
0.00886782817542553,
-0.013517801649868488,
0.07785652577877045,
-0.03481374308466911,
-0.009586460888385773,
0.030680431053042412,
0.04918638616800308,
-0.004913002252578735,
-0.0022240024991333485,
-0.030830733478069305,
-0.04854760318994522,
0.024292588233947754,
0.02008412778377533,
0.014682644046843052,
0.07785652577877045,
-0.0024846827145665884,
-0.01032388024032116,
-0.012381142005324364,
0.002879226114600897,
-0.00042213776032440364,
-0.02641560696065426,
-0.029553165659308434,
0.04189673066139221,
-0.04798397049307823,
-0.010859332047402859,
0.04892335832118988,
-0.03718100115656853,
0.04606761783361435,
0.0007485752576030791,
-0.011131755076348782,
0.007787531241774559,
-0.013611740432679653,
0.037237364798784256,
-0.060045719146728516,
-0.03753796964883804,
0.022582901641726494,
0.01997140236198902,
-0.0670347735285759,
-0.0400555282831192,
0.017068691551685333,
0.049712445586919785,
0.007768743671476841,
0.04764578863978386,
-0.02774953842163086,
0.04772093892097473,
-0.023841682821512222,
-0.03904099017381668,
-0.012305990792810917,
0.06335236877202988,
-0.024743495509028435,
-0.001898739137686789,
-0.020234430208802223,
-0.026979239657521248,
-0.03167618438601494,
0.046480946242809296,
0.006077844183892012,
0.03967977315187454,
-0.03770705685019493,
0.01219326350837946,
0.021699875593185425,
-0.03528343513607979,
-0.00015176997112575918
] |
719,680
|
ibm_platform_services.iam_identity_v1
|
create_mfa_report
|
Trigger MFA enrollment status report for the account.
Trigger MFA enrollment status report for the account by specifying the account ID.
It can take a few minutes to generate the report for retrieval.
:param str account_id: ID of the account.
:param str type: (optional) Optional report type. The supported value is
'mfa_status'. List MFA enrollment status for all the identities.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ReportReference` object
|
def create_mfa_report(
self,
account_id: str,
*,
type: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Trigger MFA enrollment status report for the account.
Trigger MFA enrollment status report for the account by specifying the account ID.
It can take a few minutes to generate the report for retrieval.
:param str account_id: ID of the account.
:param str type: (optional) Optional report type. The supported value is
'mfa_status'. List MFA enrollment status for all the identities.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ReportReference` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_mfa_report',
)
headers.update(sdk_headers)
params = {
'type': type,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_id']
path_param_values = self.encode_path_vars(account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/mfa/accounts/{account_id}/report'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, type: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.03217390924692154,
0.04465745761990547,
0.030190708115696907,
-0.009924863465130329,
0.007627359591424465,
-0.03091670200228691,
-0.03977028280496597,
-0.023001601919531822,
-0.12628747522830963,
-0.0050731017254292965,
0.01050919946283102,
0.012837691232562065,
0.024701489135622978,
-0.015219304710626602,
-0.017636332660913467,
-0.012093991041183472,
-0.00010133199248230085,
0.00778229720890522,
0.051244523376226425,
0.02367447316646576,
0.009358234703540802,
0.017512381076812744,
-0.025409774854779243,
0.040301498025655746,
0.03966404125094414,
-0.006241774186491966,
0.010473785921931267,
-0.02647220529615879,
-0.007264362648129463,
0.0630020797252655,
0.03213849663734436,
0.011978894472122192,
-0.01130602229386568,
0.010562321171164513,
-0.017397284507751465,
-0.017955061048269272,
-0.049225907772779465,
0.03341341391205788,
-0.16857217252254486,
0.013581392355263233,
0.01937163434922695,
0.038282882422208786,
0.021886050701141357,
0.019708069041371346,
-0.026171183213591576,
-0.06332080811262131,
-0.026348255574703217,
-0.03785790875554085,
-0.011908065527677536,
-0.03977028280496597,
0.002934961812570691,
0.005719413049519062,
-0.009916010312736034,
0.008888994343578815,
0.00034750302438624203,
0.018858125433325768,
-0.04749060422182083,
-0.05149242281913757,
-0.002417027484625578,
-0.039345309138298035,
-0.010172763839364052,
0.009136894717812538,
0.02468378283083439,
-0.034103989601135254,
-0.012244501151144505,
0.0016855003777891397,
-0.022983893752098083,
0.005582182202488184,
0.010739392600953579,
0.007981502451002598,
0.0047543724067509174,
-0.010332128033041954,
0.015706252306699753,
-0.012368451803922653,
0.07415758818387985,
0.015422936528921127,
0.01651192642748356,
-0.02247038669884205,
0.0014907215954735875,
0.04968629404902458,
0.030881287530064583,
0.015033379197120667,
-0.04472828656435013,
-0.04019525647163391,
-0.026826348155736923,
0.04366585984826088,
0.007330764550715685,
-0.04451580345630646,
-0.0872608870267868,
-0.03583929315209389,
0.023196380585432053,
-0.04564905911684036,
-0.006091263145208359,
-0.016972312703728676,
-0.030686508864164352,
-0.0656227394938469,
0.016033833846449852,
0.0110315615311265,
-0.0648082047700882,
0.04242635518312454,
-0.04065563902258873,
-0.048836350440979004,
-0.018681054934859276,
0.031058359891176224,
0.007082864176481962,
-0.04423248767852783,
-0.012155965901911259,
-0.03274054080247879,
0.007574237883090973,
0.03683089464902878,
-0.03493622690439224,
-0.029836565256118774,
-0.01843315362930298,
-0.0485176183283329,
0.02525041066110134,
0.07167858630418777,
-0.031182309612631798,
-0.034670621156692505,
0.008008063770830631,
-0.016432244330644608,
0.050642479211091995,
-0.014599554240703583,
0.00062528409762308,
-0.04547198861837387,
0.0058035217225551605,
-0.006653465796262026,
-0.024559831246733665,
-0.02425880916416645,
0.05039457976818085,
-0.025338947772979736,
-0.02689717710018158,
0.02666698396205902,
0.0033532935194671154,
0.037114210426807404,
0.005799095146358013,
0.04837596416473389,
-0.029801150783896446,
0.014387068338692188,
-0.005259026773273945,
-0.011403411626815796,
0.001474121119827032,
0.0013844786444678903,
0.003937629982829094,
-0.049225907772779465,
-0.017122823745012283,
-0.007242228835821152,
-0.012731448747217655,
0.02383383736014366,
-0.08903160691261292,
0.03033236600458622,
0.004564020782709122,
-0.10765953361988068,
-0.026613863185048103,
0.032669711858034134,
-0.014475603587925434,
0.005121796391904354,
0.011757554486393929,
0.061337605118751526,
0.014307386241853237,
0.018043596297502518,
-0.0027490367647260427,
0.048021819442510605,
0.06530401110649109,
0.029199108481407166,
0.02528582513332367,
-0.008388767018914223,
-0.033643607050180435,
-0.0012527815997600555,
-0.011748701333999634,
-0.040336910635232925,
-0.029234522953629494,
-0.0015206023817881942,
0.007228948175907135,
-0.016219759359955788,
-0.09193557500839233,
-0.015847908332943916,
0.02647220529615879,
-0.026950297877192497,
0.017645185813307762,
0.019052904099225998,
-0.01600727252662182,
-0.03157186880707741,
-0.00343297584913671,
0.018043596297502518,
-0.025179581716656685,
-0.051881980150938034,
-0.01274915598332882,
0.045365747064352036,
0.02140795812010765,
-0.0041656093671917915,
-0.01091646496206522,
-0.05514009669423103,
0.011899212375283241,
-0.016892630606889725,
-0.014201142825186253,
-0.07061615586280823,
-0.001553803333081305,
-0.07514919340610504,
-0.014209995977580547,
-0.001077923458069563,
0.02307243086397648,
0.05818573012948036,
0.009951423853635788,
0.0036454617511481047,
0.02833145670592785,
-0.006936780177056789,
0.05336938053369522,
-0.009322820231318474,
-0.07012035697698593,
0.01142111886292696,
-0.0009002984734252095,
-0.012049722485244274,
-0.004320546984672546,
0.04108061268925667,
-0.045401159673929214,
-0.0297126155346632,
0.05740661546587944,
0.05595462769269943,
0.0411868542432785,
0.03056255914270878,
-0.056308772414922714,
0.003280251519754529,
-0.04324088618159294,
-0.0021945813205093145,
0.00930511299520731,
0.008331218734383583,
0.045365747064352036,
0.011677872389554977,
-0.030792752280831337,
-0.056698329746723175,
-0.021354835480451584,
0.01657390221953392,
-0.02749922126531601,
-0.0234442800283432,
-0.05007585138082504,
-0.029429301619529724,
0.037326693534851074,
0.008561411872506142,
-0.06162091717123985,
0.034688327461481094,
0.04894259199500084,
0.05142159387469292,
0.014307386241853237,
0.0630020797252655,
-0.026029525324702263,
-0.02847311459481716,
0.0031607281416654587,
0.02225790172815323,
-0.0013711982173845172,
-0.0359809510409832,
-0.01769830659031868,
-0.03196142613887787,
-0.02062884159386158,
0.023940080776810646,
0.021992294117808342,
-0.0044732713140547276,
0.022523507475852966,
-0.01715823821723461,
0.01903519779443741,
-0.020504891872406006,
0.01903519779443741,
-0.05131535232067108,
0.03153645247220993,
-0.029411593452095985,
-0.0028729867190122604,
-0.05255485326051712,
-0.03389150649309158,
0.05475053936243057,
0.056131698191165924,
0.02383383736014366,
0.053900595754384995,
0.023355744779109955,
0.0687037855386734,
-0.015529179945588112,
-0.018539397045969963,
0.003973043989390135,
0.041540998965501785,
0.0041036345064640045,
-0.00356577942147851,
0.03479456901550293,
-0.06799549609422684,
-0.04788016155362129,
0.05358186736702919,
-0.00040339125553146005,
-0.01090761087834835,
0.006737574469298124,
-0.007667200639843941,
0.08711922913789749,
-0.006396711803972721,
0.001973241800442338,
0.022364143282175064,
0.027215905487537384,
-0.05319231003522873,
-0.036104898899793625,
-0.004318333696573973,
0.027817949652671814,
0.017955061048269272,
-0.03440501168370247,
0.026968006044626236,
0.04058481380343437,
0.0023351318668574095,
0.053900595754384995,
0.05379435420036316,
-0.05329855531454086,
-0.07422842085361481,
-0.04026608169078827,
0.017733721062541008,
-0.041576411575078964,
0.049863364547491074,
-0.013519417494535446,
-0.012784569524228573,
0.07876145094633102,
-0.039557795971632004,
-0.013669927604496479,
0.013572538271546364,
-0.012226794846355915,
0.01528127957135439,
-0.014581847004592419,
0.05514009669423103,
0.024913974106311798,
-0.029039744287729263,
0.025321239605545998,
0.04402000084519386,
-0.04766767472028732,
0.03884951025247574,
-0.014112606644630432,
0.03693713620305061,
0.03860161080956459,
0.006392284762114286,
-0.03676006570458412,
-0.05620252713561058,
0.021514199674129486,
0.0018813858041539788,
-0.018238374963402748,
-0.045365747064352036,
-0.01839773915708065,
-0.014139167964458466,
-0.0672517940402031,
0.014201142825186253,
0.03095211647450924,
-0.004072647076100111,
-0.02507334016263485,
0.035679928958415985,
-0.002063990803435445,
0.0280835572630167,
-0.010615442879498005,
0.0335373617708683,
-0.005462659057229757,
-0.0006651252042502165,
0.06491445004940033,
-0.010695124976336956,
-0.018167546018958092,
0.02362135238945484,
0.02342657372355461,
0.0428159162402153,
-0.07026201486587524,
-0.013687634840607643,
-0.0034772437065839767,
-0.039911940693855286,
0.03217390924692154,
-0.07649493217468262,
0.052236124873161316,
-0.042143043130636215,
0.015272426418960094,
0.008260390721261501,
-0.0387432686984539,
-0.027198199182748795,
0.01212055142968893,
0.03215620294213295,
-0.027977313846349716,
0.027800241485238075,
-0.006649038754403591,
-0.04341795668005943,
0.05563589930534363,
0.009553013369441032,
0.04996960610151291,
-0.0031784353777766228,
0.01353712473064661,
-0.04858844727277756,
0.020558012649416924,
0.017574356868863106,
-0.046003203839063644,
-0.0670747235417366,
-0.0135548310354352,
-0.006666745990514755,
-0.05464429780840874,
0.04848220571875572,
-0.02404632419347763,
-0.04908424988389015,
0.040726467967033386,
0.058716945350170135,
-0.05117369443178177,
-0.01032327488064766,
-0.014847454614937305,
0.002950455527752638,
0.010128496214747429,
-0.046605248004198074,
0.023745302110910416,
-0.008840300142765045,
-0.037503767758607864,
0.003691942896693945,
0.012580937705934048,
0.025958698242902756,
0.004661410115659237,
-0.03523724898695946,
-0.0020031225867569447,
0.008207269012928009,
-0.09278552234172821,
-0.003123100381344557,
-0.032439518719911575,
0.0807446539402008,
0.03644133731722832,
-0.022098535671830177,
-0.011801822111010551,
0.003457323182374239,
0.03472374379634857,
0.02811897173523903,
-0.03959321230649948,
-0.019070612266659737,
0.03753918036818504,
0.01940704882144928,
-0.008163001388311386,
0.03555597737431526,
0.02301930822432041,
0.0012494615511968732,
0.004119128454476595,
-0.024311931803822517,
0.054892197251319885,
-0.023373452946543694,
-0.01243928074836731,
0.04302839934825897,
0.03599865734577179,
0.00036161343450658023,
0.012731448747217655,
-0.0537235252559185,
0.03187289088964462,
-0.038105808198451996,
0.01800818182528019,
0.004490978550165892,
0.015024526044726372,
-0.0009251991286873817,
-0.04405541718006134,
0.00822940282523632,
-0.022328728809952736,
-0.029057450592517853,
0.014617261476814747,
-0.02121317759156227,
-0.0856318324804306,
-0.023957788944244385,
0.045755304396152496,
0.031465623527765274,
0.06711013615131378,
0.032563466578722,
0.016910338774323463,
0.023391159251332283,
-0.02103610709309578,
-0.03481227904558182,
-0.01651192642748356,
0.026365961879491806,
0.01917685568332672,
0.0280835572630167,
-0.005351989530026913,
-0.06452489644289017,
0.00905278604477644,
0.023993203416466713,
0.0027357563376426697,
0.016255173832178116,
0.027056541293859482,
0.01091646496206522,
-0.005847789812833071,
-0.008840300142765045,
0.025214996188879013,
-0.000494693813379854,
0.03562680631875992,
0.03757459670305252,
0.05521092563867569,
-0.03513100743293762,
-0.021089227870106697,
-0.0035259383730590343,
-0.006046995520591736,
0.050217509269714355,
0.06080638989806175,
0.044197071343660355,
-0.006671172566711903,
0.02973032183945179,
-0.0196195337921381,
0.0384245403110981,
0.027941899374127388,
-0.03753918036818504,
0.03622885048389435,
-0.018486276268959045,
-0.04026608169078827,
0.004088140558451414,
0.07111195474863052,
-0.03189059719443321,
0.011288315057754517,
0.05336938053369522,
-0.02990739420056343,
-0.017087409272789955,
-0.026242012158036232,
0.06558731943368912,
-0.04972170665860176,
-0.02891579270362854,
0.014953697100281715,
-0.022930772975087166,
0.018238374963402748,
-0.020522600039839745,
0.0014110393822193146,
-0.020699670538306236,
0.02447129599750042,
-0.039309896528720856,
0.01820296049118042,
-0.03233327716588974,
-0.023090137168765068,
0.0008305765222758055,
0.07755736261606216,
0.005807948764413595,
-0.07132444530725479,
-0.01659161038696766,
-0.04749060422182083,
-0.04915507882833481,
0.018539397045969963,
0.021089227870106697,
-0.0179904755204916,
-0.010633150115609169,
-0.004572874400764704,
0.025728505104780197,
0.011040414683520794,
0.02084132842719555,
0.003663168754428625,
0.02085903473198414,
0.01121748611330986,
0.03553827106952667,
-0.03697255253791809,
0.01415687520056963,
-0.019973676651716232,
-0.04876552149653435,
0.010349835269153118,
-0.01610466279089451,
-0.01707855612039566,
-0.01080136839300394,
-0.009827474132180214,
-0.07543250173330307,
-0.10780119150876999,
-0.01657390221953392,
-0.025622261688113213,
0.034475840628147125,
-0.013218395411968231,
0.07691990584135056,
-0.04182431474328041,
0.06827881187200546,
-0.009030652232468128,
-0.01901748962700367,
0.06778301298618317,
-0.033679019659757614,
0.09207723289728165,
0.026808641850948334,
-0.049438390880823135,
0.029075156897306442,
-0.03114689514040947,
-0.040726467967033386,
-0.011996601708233356,
-0.00652508856728673,
0.03417481854557991,
-0.046428173780441284,
0.001126064802519977,
0.11070516705513,
0.03860161080956459,
-0.01569739729166031,
-0.049863364547491074,
0.008278097957372665,
0.009446769952774048,
-0.06070014834403992,
-0.04795099049806595,
-0.02362135238945484,
0.008269243873655796,
0.013705342076718807,
-0.024542124941945076,
0.02988968789577484,
0.07904476672410965,
-0.007286496460437775,
-0.004820774309337139,
0.0015803640708327293,
-0.044551216065883636,
-0.024418175220489502,
0.005781387910246849,
0.014050631783902645,
-0.046782318502664566,
0.03621114417910576,
0.034298770129680634,
-0.0558483861386776,
0.03559139370918274,
0.021266300231218338,
-0.01547605823725462,
0.011359144002199173,
0.10114330053329468,
0.023940080776810646,
-0.04224928468465805,
-0.013112151995301247,
-0.022930772975087166,
0.008021343499422073,
-0.005263453349471092,
-0.055458828806877136,
0.022523507475852966,
0.012970495037734509,
-0.027021126821637154,
0.014617261476814747,
0.046994805335998535,
-0.005219185724854469,
-0.03700796514749527,
0.0013125432888045907,
-0.030775045976042747,
0.03867243975400925,
0.009526452049612999,
0.04848220571875572,
-0.06810174137353897,
-0.019920555874705315,
-0.042957570403814316,
0.015980713069438934,
0.051457010209560394,
-0.018043596297502518,
-0.0038136797957122326,
-0.037716250866651535,
0.03511330112814903,
0.03052714467048645,
0.054290153086185455,
0.011013854295015335,
-0.05174032226204872,
-0.02183292992413044,
-0.02144337072968483,
-0.06466655433177948,
0.09243138134479523,
-0.08138211071491241,
-0.049225907772779465,
0.05683998391032219,
-0.00723337521776557,
0.024984803050756454,
0.03644133731722832,
0.09675192832946777,
-0.02146107889711857,
-0.030474023893475533,
0.057902414351701736,
0.00625948142260313,
-0.026808641850948334,
0.031660404056310654,
0.05156325176358223,
-0.021691272035241127,
-0.062187548726797104,
-0.03906199708580971,
0.009854034520685673,
-0.04975712299346924,
-0.025338947772979736,
-0.06834963709115982,
0.012333037331700325,
0.049225907772779465,
0.11764637380838394,
-0.010190471075475216,
0.00772474892437458,
-0.016635878011584282,
0.023125551640987396,
0.0035989803727716208,
0.00516163744032383,
0.014679236337542534,
-0.061550091952085495,
-0.037114210426807404,
-0.04405541718006134,
0.0077955774031579494,
-0.032652005553245544,
0.012155965901911259,
-0.009553013369441032,
0.018539397045969963,
0.02847311459481716,
0.04919049143791199,
0.026224303990602493,
0.0174238458275795,
0.06555190682411194,
-0.0420013852417469,
0.018468568101525307,
0.02103610709309578,
-0.0007503409287892282,
0.07281184196472168,
-0.00565301114693284,
0.00040117785101756454,
0.026436790823936462,
0.035910122096538544,
0.014555285684764385,
0.04232011362910271,
-0.06027517467737198,
-0.04430331662297249,
0.009358234703540802,
0.003145234426483512,
-0.03479456901550293,
-0.015263572335243225,
0.015785934403538704,
0.0009816407691687346,
0.02606493979692459,
-0.055883798748254776,
-0.012279915623366833,
-0.03927448391914368,
0.001567083760164678,
-0.010562321171164513,
-0.032864488661289215,
0.036653824150562286,
0.0735909566283226,
-0.027570048347115517,
-0.0020595642272382975,
0.011447679251432419,
0.0200267992913723,
0.03860161080956459,
-0.01942475512623787,
-0.01748582161962986,
0.08315282315015793,
0.0485176183283329,
0.06006268784403801,
-0.007649493403732777,
-0.02429422363638878,
-0.05149242281913757,
0.021089227870106697,
0.003680875990539789,
0.031093774363398552,
0.045153260231018066,
0.00043520881445147097,
-0.010889903642237186,
-0.01839773915708065,
-0.020965278148651123,
-0.0029172548092901707,
-0.018017036840319633,
0.020947571843862534,
0.03592782840132713,
-0.058150313794612885,
0.045011602342128754,
-0.0015759372618049383,
-0.041576411575078964,
0.03920365497469902,
0.036264266818761826,
0.02326720952987671,
-0.018840419128537178,
0.019548704847693443,
-0.0009229857241734862,
0.013510563410818577,
-0.02443588152527809,
0.052059050649404526,
0.014581847004592419,
0.011978894472122192,
-0.06066473200917244,
0.04079729691147804,
0.04292215779423714,
0.044799115508794785,
0.017521236091852188,
-0.04667607694864273,
0.015334401279687881,
-0.09370629489421844,
0.020965278148651123,
0.08017802238464355,
0.02224019356071949,
0.031182309612631798,
0.01313871331512928,
0.026596155017614365,
0.02666698396205902,
-0.002804371528327465,
0.015546887181699276,
-0.0005821228842251003,
0.028844963759183884,
-0.0034750301856547594,
-0.043984588235616684,
-0.010420664213597775,
0.0361403152346611,
0.005745973438024521
] |
719,681
|
ibm_platform_services.iam_identity_v1
|
create_profile
|
Create a trusted profile.
Create a trusted profile for a given account ID.
:param str name: Name of the trusted profile. The name is checked for
uniqueness. Therefore trusted profiles with the same names can not exist in
the same account.
:param str account_id: The account ID of the trusted profile.
:param str description: (optional) The optional description of the trusted
profile. The 'description' property is only available if a description was
provided during creation of trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfile` object
|
def create_profile(
self,
name: str,
account_id: str,
*,
description: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a trusted profile.
Create a trusted profile for a given account ID.
:param str name: Name of the trusted profile. The name is checked for
uniqueness. Therefore trusted profiles with the same names can not exist in
the same account.
:param str account_id: The account ID of the trusted profile.
:param str description: (optional) The optional description of the trusted
profile. The 'description' property is only available if a description was
provided during creation of trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfile` object
"""
if name is None:
raise ValueError('name must be provided')
if account_id is None:
raise ValueError('account_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_profile',
)
headers.update(sdk_headers)
data = {
'name': name,
'account_id': account_id,
'description': description,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/profiles'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, name: str, account_id: str, *, description: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.12032438069581985,
0.011178283952176571,
-0.010556235909461975,
-0.04994947463274002,
-0.020109768956899643,
-0.014074981212615967,
-0.019812671467661858,
-0.029505468904972076,
-0.008402281440794468,
-0.030359623953700066,
0.008866495452821255,
0.07613116502761841,
-0.003829769091680646,
-0.021929489448666573,
-0.018095077946782112,
-0.02315501682460308,
0.053886011242866516,
-0.006800741422921419,
0.016321780160069466,
-0.0008332649013027549,
0.03487178683280945,
0.038659777492284775,
0.012608064338564873,
0.014576333574950695,
0.06168481335043907,
0.0008170173969119787,
0.04437889903783798,
0.0008152765803970397,
-0.023025035858154297,
0.08920344710350037,
0.007134975865483284,
0.04363615810871124,
0.010779059492051601,
0.04887249693274498,
0.006573276594281197,
0.020351160317659378,
-0.07858221977949142,
0.050283707678318024,
-0.08779223263263702,
0.007738454733043909,
-0.0041825720109045506,
0.04924386739730835,
-0.027351515367627144,
0.01971982978284359,
-0.01945986971259117,
-0.03370196744799614,
-0.00511564314365387,
-0.03648725524544716,
-0.07739382982254028,
-0.00435433117672801,
-0.012654485180974007,
0.001585292280651629,
-0.03557739406824112,
-0.005083147902041674,
-0.006099777761846781,
-0.07219462841749191,
-0.04423035308718681,
-0.04950382560491562,
-0.04170502349734306,
0.027778591960668564,
0.025494657456874847,
-0.03691432997584343,
0.00220501865260303,
-0.01596897654235363,
-0.02807568944990635,
0.001707148621790111,
-0.008513692766427994,
-0.028651315718889236,
-0.004365936852991581,
0.00003193287557223812,
0.05392314866185188,
-0.03832554444670677,
0.02324785850942135,
0.006485075689852238,
0.04478740692138672,
0.012115996330976486,
0.0212795902043581,
-0.042893413454294205,
0.008885064162313938,
0.036840058863162994,
-0.005352392327040434,
-0.05080362781882286,
-0.042410630732774734,
-0.02969115599989891,
-0.008328006602823734,
0.07082055509090424,
-0.0038901169318705797,
-0.0796220600605011,
-0.05563145875930786,
0.022430840879678726,
0.011373253539204597,
0.00720925023779273,
0.0005901326076127589,
0.01503126323223114,
0.06183336302638054,
-0.016126809641718864,
0.02213374339044094,
-0.010899755172431469,
-0.0033957285340875387,
0.01565331034362316,
-0.03451898694038391,
-0.015950407832860947,
-0.10153298079967499,
-0.010704784654080868,
0.09039183706045151,
0.02855847217142582,
0.05967940762639046,
0.03173369914293289,
-0.008648314513266087,
0.02716582827270031,
0.003504819003865123,
-0.09046611189842224,
-0.02062968909740448,
0.00711176497861743,
0.01934845745563507,
-0.043487608432769775,
0.04987519979476929,
0.037582799792289734,
-0.013638620264828205,
-0.0013276532990857959,
0.031807973980903625,
-0.018308617174625397,
-0.02523469738662243,
-0.02753720059990883,
-0.04768410697579384,
-0.004338083788752556,
-0.011818899773061275,
0.015579036436975002,
0.007413504645228386,
-0.017668001353740692,
-0.014427784830331802,
-0.019422732293605804,
-0.01106687169522047,
0.010073453187942505,
0.02625596895813942,
0.0014982520369812846,
0.01701810024678707,
0.010119874961674213,
0.04319051280617714,
0.017890824005007744,
-0.02872558869421482,
-0.015254085883498192,
0.0011750428238883615,
0.034741807729005814,
-0.02074110135436058,
-0.04274486377835274,
-0.0012719475198537111,
-0.03958820551633835,
-0.03472324088215828,
0.018707841634750366,
0.018550008535385132,
0.006675403565168381,
0.010871902108192444,
0.020072631537914276,
-0.004639823455363512,
-0.04489881917834282,
0.05967940762639046,
-0.03327488899230957,
-0.006749677937477827,
0.03130662068724632,
-0.009015044197440147,
0.01829933375120163,
0.033683400601148605,
-0.021632391959428787,
-0.022356567904353142,
-0.05938231199979782,
0.03316348046064377,
0.0162846427410841,
0.011558939702808857,
-0.020165475085377693,
0.01481772493571043,
-0.04077659547328949,
0.011261842213571072,
0.046050071716308594,
-0.045307327061891556,
-0.03869691491127014,
0.04007098823785782,
-0.07278881967067719,
-0.06313316524028778,
-0.02003549411892891,
0.01999835856258869,
-0.04961523786187172,
0.027202965691685677,
-0.00868081022053957,
0.023563524708151817,
0.0005915832589380443,
0.018744979053735733,
0.0757969319820404,
0.03242073580622673,
0.03862264007329941,
0.026404516771435738,
-0.00906610768288374,
-0.008569398894906044,
-0.009729934856295586,
0.024640502408146858,
-0.01267305389046669,
0.026515929028391838,
-0.008086615242064,
0.004465742968022823,
-0.02256082184612751,
-0.022115176543593407,
0.033627692610025406,
0.03932824730873108,
-0.015170527622103691,
0.0567084364593029,
-0.00237677781842649,
-0.007455283775925636,
-0.01988694630563259,
-0.022115176543593407,
-0.06294747442007065,
0.003982959780842066,
-0.0006266894633881748,
-0.007710601668804884,
0.07212035357952118,
-0.013638620264828205,
0.0059697977267205715,
0.02480761893093586,
-0.020221181213855743,
0.058973800390958786,
-0.02497473731637001,
0.03606017678976059,
-0.03316348046064377,
-0.00008711274131201208,
0.002040222520008683,
0.0005167286726646125,
0.021019630134105682,
0.00921929907053709,
-0.05444306880235672,
-0.013582914136350155,
-0.00021382876730058342,
0.003073099534958601,
-0.023656368255615234,
-0.07275168597698212,
-0.009460690431296825,
-0.07583407312631607,
0.016043251380324364,
0.009674228727817535,
-0.06651264429092407,
0.0021493127569556236,
0.032402168959379196,
0.03661723434925079,
0.02699871174991131,
-0.01940416358411312,
0.009952757507562637,
-0.0614248551428318,
-0.01157750841230154,
-0.004477348178625107,
-0.023600662127137184,
-0.003572130110114813,
-0.0565970242023468,
0.009599954821169376,
0.015662595629692078,
-0.00427541509270668,
0.07275168597698212,
0.021316727623343468,
-0.004781408701092005,
0.025736048817634583,
-0.08935199677944183,
-0.0013079241616651416,
0.019144203513860703,
-0.032513577491045,
-0.03433329984545708,
-0.04545587673783302,
0.009516395628452301,
-0.014697029255330563,
-0.0511007234454155,
-0.044341761618852615,
0.032550714910030365,
0.008601893670856953,
-0.0020947675220668316,
0.05927089974284172,
0.04864967241883278,
0.016275357455015182,
-0.032402168959379196,
-0.005505583249032497,
-0.02946833148598671,
0.008420850150287151,
0.06914938241243362,
0.00020788102119695395,
-0.022802213206887245,
-0.0068425205536186695,
-0.046755678951740265,
0.007316019386053085,
-0.020648257806897163,
0.0304338987916708,
-0.0424477681517601,
-0.02594030275940895,
0.030823837965726852,
-0.04140792787075043,
0.021836647763848305,
-0.011688919737935066,
0.03167799487709999,
-0.05006088316440582,
-0.02744435705244541,
-0.03825126960873604,
0.006823952309787273,
-0.025160422548651695,
0.02983970381319523,
0.013285817578434944,
0.013387944549322128,
-0.012041722424328327,
0.05819392204284668,
-0.0003345245204400271,
-0.031529445201158524,
-0.028539903461933136,
-0.061499129980802536,
-0.025438951328396797,
-0.04114796593785286,
-0.04731273651123047,
0.018624283373355865,
-0.05191774293780327,
-0.004340405110269785,
0.009117171168327332,
0.07122906297445297,
-0.0034305446315556765,
-0.015950407832860947,
0.058231059461832047,
-0.030099663883447647,
0.030675290152430534,
0.046755678951740265,
-0.01733376644551754,
-0.04430462419986725,
0.04501023143529892,
-0.030823837965726852,
0.09440264850854874,
-0.005514867603778839,
-0.013462218455970287,
0.053403228521347046,
0.02181807905435562,
-0.018057942390441895,
-0.10717783123254776,
-0.005974439904093742,
0.025271832942962646,
0.018401460722088814,
-0.029654018580913544,
0.005612352397292852,
0.018828537315130234,
0.04114796593785286,
0.009367846883833408,
0.027500063180923462,
0.006777530536055565,
-0.043747566640377045,
0.0028990190476179123,
-0.0003391666687093675,
0.032290756702423096,
-0.0007282363949343562,
0.058008234947919846,
-0.01494770497083664,
0.054628755897283554,
-0.014028560370206833,
-0.0421135351061821,
-0.03048960492014885,
0.055111538618803024,
0.05600282922387123,
0.04902104288339615,
-0.07059773057699203,
-0.04864967241883278,
0.006893584504723549,
-0.03407333791255951,
-0.03682148829102516,
-0.05611424148082733,
-0.023749209940433502,
-0.003783347550779581,
0.021353863179683685,
0.03130662068724632,
-0.02282078191637993,
-0.0093492791056633,
0.019144203513860703,
-0.08875779807567596,
-0.007854508236050606,
-0.005737690255045891,
-0.07037490606307983,
-0.04920672997832298,
0.01966412365436554,
0.02508614771068096,
-0.003962070215493441,
0.010788343846797943,
0.03546598181128502,
-0.03353485092520714,
0.037322841584682465,
0.008160890080034733,
0.0004978699726052582,
-0.038065582513809204,
0.033683400601148605,
0.020759670063853264,
-0.010565520264208317,
-0.000004941345196129987,
-0.017203787341713905,
0.008671525865793228,
-0.03327488899230957,
-0.0139542855322361,
0.013471502810716629,
-0.005895523354411125,
-0.010249854996800423,
0.032402168959379196,
0.023693503811955452,
-0.04968951269984245,
-0.00395742803812027,
-0.051954880356788635,
0.04411894083023071,
-0.012654485180974007,
-0.019218478351831436,
0.05084076523780823,
0.03580021858215332,
-0.029338352382183075,
-0.012422378174960613,
0.058119647204875946,
0.017175933346152306,
0.0039086854085326195,
0.04980092495679855,
-0.007984488271176815,
-0.023377839475870132,
-0.04025667533278465,
-0.012570926919579506,
0.013276533223688602,
0.05403456091880798,
-0.03771277889609337,
0.028094258159399033,
-0.055854279547929764,
-0.0039922441355884075,
0.044713135808706284,
-0.005059937480837107,
-0.04170502349734306,
0.057154081761837006,
-0.04560442641377449,
0.03197509050369263,
0.003989923279732466,
0.04099941998720169,
0.0464957170188427,
-0.02909696102142334,
0.03188224881887436,
-0.014427784830331802,
0.01690668985247612,
-0.02165096066892147,
0.014789871871471405,
0.0025206843856722116,
-0.00029825777164660394,
0.017008816823363304,
-0.01116899959743023,
0.013852158561348915,
0.01227382943034172,
0.0023384802043437958,
-0.0187821164727211,
0.022226586937904358,
0.003158979117870331,
0.03463039547204971,
-0.01712951250374317,
-0.06291034072637558,
0.006206546910107136,
0.019515573978424072,
0.045790113508701324,
0.024027738720178604,
0.04946669191122055,
-0.03992244228720665,
0.017370903864502907,
-0.014641323126852512,
-0.04764696955680847,
-0.006304032169282436,
0.011456811800599098,
-0.0212795902043581,
0.004045628942549229,
-0.023322133347392082,
0.026163125410676003,
0.07423717528581619,
0.042782001197338104,
0.0030243571382015944,
0.013592198491096497,
0.01650746539235115,
-0.02085251174867153,
0.01622893661260605,
-0.0017361619975417852,
0.017937244847416878,
0.0011332634603604674,
0.03232789412140846,
0.037694212049245834,
0.04523305594921112,
-0.028409922495484352,
-0.009943473152816296,
-0.0006057998398318887,
-0.002404630882665515,
0.03500176966190338,
0.02057398296892643,
0.012710191309452057,
0.030452467501163483,
0.08823788166046143,
-0.03219791501760483,
0.013685041107237339,
0.03617158904671669,
-0.018559293821454048,
0.05191774293780327,
0.02282078191637993,
-0.0511007234454155,
-0.03516888618469238,
0.01481772493571043,
-0.11935881525278091,
-0.051620643585920334,
0.04419321566820145,
-0.031919386237859726,
-0.008606535382568836,
-0.047127049416303635,
0.01712951250374317,
-0.07776520401239395,
0.07598261535167694,
-0.010426255874335766,
0.02701728045940399,
0.0760197564959526,
-0.06777530908584595,
0.08586110174655914,
-0.02892984263598919,
0.05080362781882286,
-0.0378427617251873,
0.017426609992980957,
-0.03843695670366287,
-0.027295809239149094,
0.03613445162773132,
0.050023745745420456,
0.030749564990401268,
0.05314327031373978,
-0.07044918090105057,
-0.07635398954153061,
-0.003892438020557165,
0.030842406675219536,
0.027462925761938095,
0.04527019336819649,
0.034314729273319244,
0.03409190848469734,
-0.014056413434445858,
-0.006526854820549488,
0.04508450627326965,
0.0014495095238089561,
0.04423035308718681,
0.010481962002813816,
-0.0018220416968688369,
-0.06309602409601212,
0.007083912380039692,
-0.07442285865545273,
-0.09135740250349045,
-0.00849512405693531,
0.021576687693595886,
-0.004481990355998278,
0.06807240098714828,
-0.008198026567697525,
-0.06372735649347305,
0.01849430240690708,
-0.05696839466691017,
-0.034908924251794815,
-0.004365936852991581,
0.006531496997922659,
0.0051713488064706326,
-0.03891973942518234,
0.06123916804790497,
-0.04122224077582359,
0.009943473152816296,
0.035224590450525284,
-0.01622893661260605,
0.07282596081495285,
0.007687391247600317,
-0.0837814211845398,
-0.03600447252392769,
0.010509815067052841,
-0.013183689676225185,
0.007422788999974728,
0.020221181213855743,
0.009330710396170616,
-0.008174816146492958,
0.040702320635318756,
-0.01582971215248108,
0.03910542279481888,
0.0007090875296853483,
-0.05054366588592529,
0.032346460968256,
0.06354167312383652,
-0.04270772635936737,
0.01679527759552002,
-0.05488871410489082,
-0.020871080458164215,
0.08177601546049118,
0.06201905012130737,
0.025754617527127266,
0.029078392311930656,
-0.0613134428858757,
0.024417679756879807,
0.014966273680329323,
-0.031863678246736526,
-0.03457469120621681,
-0.019756967201828957,
-0.03910542279481888,
-0.014056413434445858,
0.06506429612636566,
-0.007984488271176815,
-0.05730263143777847,
0.01018486451357603,
-0.013044425286352634,
-0.03498319908976555,
0.051843468099832535,
0.050989314913749695,
0.007603832520544529,
-0.048946771770715714,
-0.006011576857417822,
-0.026590202003717422,
-0.02653449773788452,
-0.02690586820244789,
-0.013434365391731262,
0.03995957970619202,
-0.019738398492336273,
-0.009302857331931591,
-0.004479669500142336,
-0.0011431280290707946,
-0.010296275839209557,
-0.054517343640327454,
0.031529445201158524,
0.01240380946546793,
0.003504819003865123,
-0.016925258561968803,
0.0053941719233989716,
-0.016999533399939537,
-0.048686809837818146,
-0.024287698790431023,
0.027685748413205147,
0.013202258385717869,
-0.004219709429889917,
-0.04582724720239639,
-0.0328478142619133,
0.0934370830655098,
-0.042336355894804,
0.011605360545217991,
0.048092614859342575,
-0.0304338987916708,
-0.05403456091880798,
-0.051620643585920334,
-0.010454108938574791,
0.01476201880723238,
-0.03847409412264824,
-0.0833357721567154,
0.0659184530377388,
0.043116237968206406,
0.035614531487226486,
0.01548619382083416,
0.035930197685956955,
0.024157719686627388,
-0.05652274936437607,
0.006754320114850998,
-0.020926786586642265,
0.03037819266319275,
-0.005974439904093742,
0.037582799792289734,
-0.058862391859292984,
-0.06807240098714828,
0.0065964870154857635,
-0.008030910044908524,
-0.04437889903783798,
0.028261374682188034,
0.012895876541733742,
0.033887654542922974,
0.050395119935274124,
0.0561513788998127,
0.022375136613845825,
0.01759372651576996,
-0.03011823259294033,
0.005858385935425758,
0.03065672144293785,
-0.026943005621433258,
0.040962282568216324,
-0.025216128677129745,
0.025197559967637062,
0.01983124017715454,
-0.016581740230321884,
-0.013452934101223946,
-0.009989894926548004,
-0.014251383021473885,
-0.0033423439599573612,
0.04437889903783798,
0.0013148874277248979,
-0.007093196734786034,
0.06257610768079758,
-0.007464568130671978,
-0.04656999185681343,
-0.04564156383275986,
0.016126809641718864,
0.010565520264208317,
0.06395018100738525,
-0.05403456091880798,
0.05006088316440582,
-0.009534964337944984,
0.0015829711919650435,
0.010277707129716873,
0.06465578824281693,
-0.03891973942518234,
-0.08385569602251053,
0.0256060678511858,
0.0029988251626491547,
-0.06721825152635574,
-0.03275496885180473,
0.009525679983198643,
-0.012738044373691082,
-0.013443649746477604,
-0.006392232608050108,
-0.029654018580913544,
0.006201904732733965,
0.0014506700681522489,
-0.019738398492336273,
-0.000946997432038188,
0.0024162360932677984,
0.006197262555360794,
-0.027945708483457565,
0.09076320379972458,
0.019032791256904602,
-0.03347914665937424,
0.11579364538192749,
-0.05663416162133217,
-0.048686809837818146,
0.05403456091880798,
0.05919662490487099,
0.0004996107891201973,
-0.03613445162773132,
0.00042446606676094234,
-0.021001061424613,
0.00600229250267148,
0.01810436323285103,
0.032717835158109665,
0.07338301837444305,
0.02878129482269287,
-0.018252911046147346,
-0.025977440178394318,
-0.04092514514923096,
0.02389775961637497,
-0.001703666988760233,
-0.03658009693026543,
0.0379541739821434,
-0.007562052924185991,
0.02244940958917141,
0.01872641034424305,
-0.04237349331378937,
0.032884951680898666,
-0.004528411664068699,
-0.0032030795700848103,
0.03873405233025551,
-0.033627692610025406,
0.026775889098644257,
-0.04319051280617714,
0.0027620759792625904,
0.03836268186569214,
0.06060783565044403,
-0.015393350273370743,
-0.050395119935274124,
0.03628300130367279,
0.06406158953905106,
-0.01076977513730526,
0.044824544340372086,
0.02400917001068592,
0.06443296372890472,
0.0034003707114607096,
-0.03327488899230957,
-0.0002460336545482278,
0.033516280353069305,
0.006717182695865631,
0.0017953492933884263,
0.006531496997922659,
-0.023284995928406715,
-0.01685098372399807,
-0.00525026535615325,
0.010407687164843082,
0.04044236242771149,
-0.024789050221443176,
0.0013833589619025588,
0.028688451275229454,
0.015059116296470165,
0.025160422548651695
] |
719,682
|
ibm_platform_services.iam_identity_v1
|
create_profile_template
|
Create a trusted profile template.
Create a new trusted profile template in an enterprise account.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account. Required field when creating a
new template. Otherwise this field is optional. If the field is included it
will change the name value for all existing versions of the template.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param TemplateProfileComponentRequest profile: (optional) Input body
parameters for the TemplateProfileComponent.
:param List[PolicyTemplateReference] policy_template_references: (optional)
Existing policy templates that you can reference to assign access in the
trusted profile component.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
|
def create_profile_template(
self,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
profile: Optional['TemplateProfileComponentRequest'] = None,
policy_template_references: Optional[List['PolicyTemplateReference']] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a trusted profile template.
Create a new trusted profile template in an enterprise account.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account. Required field when creating a
new template. Otherwise this field is optional. If the field is included it
will change the name value for all existing versions of the template.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param TemplateProfileComponentRequest profile: (optional) Input body
parameters for the TemplateProfileComponent.
:param List[PolicyTemplateReference] policy_template_references: (optional)
Existing policy templates that you can reference to assign access in the
trusted profile component.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
"""
if profile is not None:
profile = convert_model(profile)
if policy_template_references is not None:
policy_template_references = [convert_model(x) for x in policy_template_references]
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_profile_template',
)
headers.update(sdk_headers)
data = {
'account_id': account_id,
'name': name,
'description': description,
'profile': profile,
'policy_template_references': policy_template_references,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/profile_templates'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, profile: Optional[ibm_platform_services.iam_identity_v1.TemplateProfileComponentRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_identity_v1.PolicyTemplateReference]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.02841806598007679,
-0.005980232730507851,
0.005621418822556734,
-0.024514170363545418,
-0.03785248100757599,
-0.0026623995508998632,
-0.05920908600091934,
0.013902844861149788,
0.014209032990038395,
-0.053812526166439056,
0.059323906898498535,
0.020131854340434074,
-0.0754370465874672,
-0.039459966123104095,
-0.0718776136636734,
-0.04393796622753143,
0.0547310896217823,
-0.01934724859893322,
0.022198623046278954,
-0.02244740165770054,
0.04393796622753143,
-0.009798013605177402,
-0.03436959162354469,
-0.014448242262005806,
0.03241764381527901,
-0.036034490913152695,
-0.007798223290592432,
-0.0035402977373450994,
-0.004788970109075308,
0.01326176431030035,
-0.05679785832762718,
0.049372799694538116,
-0.014668314717710018,
0.04233047738671303,
-0.014199464581906796,
0.0015285474946722388,
-0.06701687723398209,
0.017251774668693542,
-0.051592662930488586,
0.019787393510341644,
-0.03549866005778313,
0.023595605045557022,
-0.0410674549639225,
-0.013960255309939384,
0.006592608522623777,
-0.0325707383453846,
-0.04745912551879883,
-0.03096325322985649,
-0.029240945354104042,
-0.012438884004950523,
-0.01351054199039936,
-0.008190526627004147,
-0.025088271126151085,
0.034503549337387085,
-0.014457810670137405,
-0.045086171478033066,
-0.009554020129144192,
-0.10219021886587143,
-0.05224331095814705,
-0.017232637852430344,
0.02103128284215927,
-0.017892856150865555,
-0.040493350476026535,
-0.0017175228567793965,
-0.044933076947927475,
-0.04489480331540108,
-0.015232848934829235,
-0.0022150781005620956,
0.009142579510807991,
-0.03900068625807762,
0.03957478702068329,
-0.0012414962984621525,
0.03436959162354469,
-0.054003894329071045,
0.03796730190515518,
-0.01171168778091669,
0.02841806598007679,
-0.009467904455959797,
-0.0028298459947109222,
0.04198601841926575,
-0.040990907698869705,
-0.075322225689888,
-0.071839340031147,
0.028150150552392006,
0.01661069504916668,
0.04780358821153641,
0.04830114170908928,
-0.06108448654413223,
-0.0009616214083507657,
0.05373597890138626,
0.022657904773950577,
-0.0213757436722517,
-0.0022485675290226936,
0.017002997919917107,
0.06556248664855957,
0.01575910858809948,
0.028724253177642822,
0.019749119877815247,
0.001398178399540484,
0.013740182854235172,
-0.017529258504509926,
-0.013567951507866383,
-0.0376993864774704,
-0.018256453797221184,
0.04037852957844734,
0.043555229902267456,
0.017156090587377548,
0.03098239004611969,
-0.013433994725346565,
0.05591756850481033,
0.010419957339763641,
-0.09729120880365372,
-0.02757604792714119,
-0.022007256746292114,
0.06942810863256454,
0.00016939008492045105,
-0.015663424506783485,
-0.005123863462358713,
-0.016735082492232323,
0.01376888807862997,
0.02346164919435978,
-0.03155649080872536,
0.007817360572516918,
-0.0376993864774704,
-0.023404238745570183,
0.02242826484143734,
0.02244740165770054,
0.018734872341156006,
-0.028207561001181602,
0.008673729375004768,
-0.07922612130641937,
-0.050061725080013275,
-0.04722948372364044,
0.0479184091091156,
0.03479060158133507,
0.018782714381814003,
-0.01224751677364111,
-0.008415383286774158,
0.0581757016479969,
0.057448506355285645,
-0.004250749479979277,
0.010783555917441845,
0.018591348081827164,
0.08297692239284515,
-0.0069753434509038925,
-0.007630777079612017,
0.010152042843401432,
-0.007999159395694733,
-0.05591756850481033,
0.011529888957738876,
0.015519899316132069,
-0.028992168605327606,
-0.0839720368385315,
-0.04661710932850838,
0.009290889836847782,
0.008190526627004147,
0.05017654225230217,
-0.034656643867492676,
0.004071342293173075,
0.01640975847840309,
-0.005750591866672039,
0.012974712997674942,
0.052166763693094254,
0.02160538360476494,
0.002557147527113557,
-0.03147994354367256,
0.021624520421028137,
0.0231363233178854,
0.00286572752520442,
-0.04313422366976738,
0.03335534408688545,
0.044052787125110626,
0.041144002228975296,
0.01764407753944397,
0.01171168778091669,
-0.02428452856838703,
0.037220969796180725,
-0.034120816737413406,
-0.07402092963457108,
-0.04007234424352646,
-0.008860312402248383,
-0.015720834955573082,
-0.012161401100456715,
0.011003628373146057,
0.014716156758368015,
-0.0017378556076437235,
0.03632153943181038,
0.1044100746512413,
-0.013462699949741364,
0.03513506427407265,
-0.017921561375260353,
-0.04761222004890442,
0.0029111772309988737,
0.02977677434682846,
0.030599653720855713,
-0.04317249730229378,
-0.0032484624534845352,
-0.017701487988233566,
-0.006444298662245274,
0.02160538360476494,
-0.03869449719786644,
-0.008018296211957932,
0.009018191136419773,
-0.04259839281439781,
0.05630030110478401,
0.02656180039048195,
0.009970244020223618,
-0.02039976976811886,
-0.00598501693457365,
-0.053353242576122284,
0.01096535474061966,
-0.027499502524733543,
-0.013462699949741364,
0.0214140173047781,
-0.015701698139309883,
-0.0039971875958144665,
0.052128490060567856,
-0.039096370339393616,
0.028839074075222015,
-0.0231171865016222,
0.025547554716467857,
-0.0013180433306843042,
0.0053917779587209225,
0.002115806331858039,
-0.021509701386094093,
0.020495453849434853,
0.003918248228728771,
0.01811292953789234,
0.009281321428716183,
0.01386457122862339,
0.016170548275113106,
0.00414788955822587,
-0.05610893294215202,
0.0004518065834417939,
-0.043249040842056274,
-0.05576447397470474,
0.024782083928585052,
-0.0855029746890068,
0.03369980677962303,
-0.0025427949149161577,
0.017548395320773125,
0.05940045416355133,
0.0307910218834877,
0.030580516904592514,
-0.06261542439460754,
-0.0007624796708114445,
-0.011395931243896484,
-0.06005110591650009,
0.03130771219730377,
-0.047841861844062805,
0.026600074023008347,
0.014075075276196003,
0.010085063986480236,
0.042713213711977005,
-0.00891293864697218,
-0.04018716514110565,
0.06280679255723953,
-0.09032543748617172,
0.0064299460500478745,
0.005568792577832937,
-0.02296409383416176,
0.007209768518805504,
-0.03272383287549019,
0.001999789848923683,
-0.0231171865016222,
-0.04776531457901001,
-0.033106569200754166,
0.045468904078006744,
0.010391252115368843,
0.04566027224063873,
0.08504369109869003,
0.05924735963344574,
0.05036791041493416,
-0.020495453849434853,
-0.043057676404714584,
-0.05664476379752159,
0.04543063044548035,
0.05974491685628891,
0.013778455555438995,
-0.013596656732261181,
-0.042024292051792145,
-0.003360890783369541,
-0.011032333597540855,
0.005032963585108519,
0.06295988708734512,
-0.044282425194978714,
-0.051133379340171814,
0.0188114196062088,
0.009864991530776024,
0.042866308242082596,
-0.05427180603146553,
0.02738468162715435,
-0.036034490913152695,
-0.03850312903523445,
-0.09216256439685822,
-0.03746974468231201,
-0.0011494007194414735,
-0.016036592423915863,
0.038790181279182434,
0.01489795558154583,
0.0342165008187294,
0.050406184047460556,
-0.06112276017665863,
-0.018878398463129997,
-0.028896484524011612,
-0.04906661435961723,
-0.020629409700632095,
-0.044779982417821884,
0.027461228892207146,
0.03067620098590851,
-0.00598501693457365,
-0.016141843050718307,
0.02464812621474266,
0.014582199044525623,
-0.052319858223199844,
0.05499900504946709,
0.05568792670965195,
-0.04608128219842911,
0.002189961262047291,
0.019806530326604843,
-0.030599653720855713,
0.0013180433306843042,
-0.013931550085544586,
0.0171082504093647,
0.06261542439460754,
-0.0034661428071558475,
-0.02039976976811886,
-0.0119891706854105,
0.06315125524997711,
-0.01080269180238247,
-0.015242417342960835,
-0.05530519038438797,
0.006535198073834181,
0.027174176648259163,
-0.041182275861501694,
-0.025260502472519875,
0.02051459066569805,
-0.005449187941849232,
-0.020667683333158493,
0.07038494944572449,
-0.008697650395333767,
-0.05320014804601669,
0.0007092555752024055,
-0.03505851700901985,
0.0393834188580513,
-0.025566689670085907,
0.03117375634610653,
0.01693601906299591,
0.03668513894081116,
-0.010879239067435265,
-0.03572830185294151,
-0.027288997545838356,
0.040646445006132126,
0.032934337854385376,
0.002060788217931986,
-0.06177341192960739,
-0.020323222503066063,
0.014419537037611008,
-0.014142054133117199,
-0.042866308242082596,
-0.07677661627531052,
-0.03169044852256775,
-0.023767836391925812,
0.003970874473452568,
-0.00009366539597976953,
-0.007659481838345528,
0.013213922269642353,
0.027174176648259163,
-0.09545408189296722,
0.008745492435991764,
-0.009951107203960419,
-0.07719762623310089,
-0.024743810296058655,
0.03641722351312637,
0.0027102413587272167,
-0.022026393562555313,
0.02466726303100586,
0.03505851700901985,
-0.057601600885391235,
-0.021528838202357292,
0.013300037011504173,
-0.005320014897733927,
-0.024246254935860634,
-0.0010878043249249458,
-0.014859681949019432,
0.01206571701914072,
-0.018553074449300766,
-0.014802271500229836,
0.0410674549639225,
-0.03117375634610653,
0.01816076971590519,
-0.017500553280115128,
-0.009798013605177402,
-0.028973031789064407,
0.01863918825984001,
0.019634298980236053,
-0.01747184805572033,
0.026619210839271545,
0.009243047796189785,
0.057448506355285645,
0.025222228839993477,
0.009018191136419773,
0.03632153943181038,
0.03318311646580696,
-0.021088693290948868,
0.05415698513388634,
0.04053162410855293,
-0.002569108037278056,
0.004595210775732994,
0.047344304621219635,
-0.03241764381527901,
0.04156500846147537,
-0.044052787125110626,
-0.031039798632264137,
-0.043249040842056274,
0.075322225689888,
-0.1044866219162941,
0.024571578949689865,
-0.06919846683740616,
-0.007166710682213306,
0.0033513223752379417,
-0.002848982810974121,
-0.022370854392647743,
0.010104200802743435,
-0.03436959162354469,
0.02912612445652485,
-0.029891595244407654,
-0.02447589673101902,
0.009577940218150616,
-0.0007594895432703197,
0.011960465461015701,
-0.025432733818888664,
0.051095109432935715,
-0.013309605419635773,
0.08649808168411255,
0.054386626929044724,
0.00027269861311651766,
0.04206256568431854,
-0.03283865377306938,
0.03490542247891426,
0.04198601841926575,
0.01611313968896866,
0.013960255309939384,
0.02193070948123932,
-0.02074423059821129,
0.05002345144748688,
-0.05492245778441429,
-0.09392314404249191,
-0.0034541822969913483,
0.05545828491449356,
0.014850113540887833,
0.02292582020163536,
0.041182275861501694,
-0.02688712626695633,
-0.025758057832717896,
-0.024533307179808617,
-0.03213059529662132,
0.032762106508016586,
0.04164155572652817,
-0.02637043409049511,
-0.000845006899908185,
-0.02447589673101902,
0.04707639291882515,
0.0325324647128582,
0.03968960791826248,
-0.056568216532468796,
-0.008343620225787163,
0.025604963302612305,
-0.015070185996592045,
0.05637684836983681,
-0.010467799380421638,
0.015615583397448063,
0.00855412520468235,
0.06525629758834839,
0.037909891456365585,
0.02721245028078556,
-0.011702119372785091,
0.014505652710795403,
0.04007234424352646,
-0.002753299195319414,
-0.004528232384473085,
-0.017050839960575104,
0.003092976287007332,
0.03781420737504959,
0.06384018063545227,
-0.0668255090713501,
-0.003179091727361083,
-0.007271962705999613,
0.007444193586707115,
0.04145018756389618,
0.014869250357151031,
-0.012151832692325115,
0.004226828459650278,
0.05427180603146553,
-0.1045631691813469,
-0.05021481588482857,
0.0022031175903975964,
-0.028992168605327606,
0.04554545134305954,
-0.016170548275113106,
0.047152936458587646,
-0.039459966123104095,
0.05561137944459915,
-0.0002564024762250483,
0.03819694370031357,
0.09109090268611908,
0.019270701333880424,
0.01902192458510399,
0.01044866256415844,
0.020993009209632874,
-0.04864560440182686,
0.021777614951133728,
0.012037011794745922,
0.00419094692915678,
0.007381999399513006,
0.030867569148540497,
0.041373640298843384,
0.051095109432935715,
-0.016486305743455887,
-0.018093792721629143,
0.02671489492058754,
0.036876507103443146,
-0.0009024171158671379,
0.05614720657467842,
0.03494369611144066,
0.01182650774717331,
-0.018897535279393196,
-0.018954945728182793,
-0.01574954017996788,
0.06720824539661407,
0.042521845549345016,
-0.008563692681491375,
0.0018287551356479526,
-0.07899647951126099,
-0.027461228892207146,
-0.0598980113863945,
-0.05086546763777733,
-0.022504812106490135,
0.006707428954541683,
0.029547132551670074,
0.04087608680129051,
-0.00880768708884716,
-0.01795983500778675,
-0.0037651543971151114,
0.013233059085905552,
-0.05078892037272453,
-0.013931550085544586,
-0.00757815083488822,
-0.025088271126151085,
0.005487461574375629,
0.07405920326709747,
-0.03291520103812218,
-0.009018191136419773,
0.037259239703416824,
-0.01952904835343361,
0.06938983500003815,
-0.0009412885992787778,
-0.05017654225230217,
-0.031441669911146164,
0.02330855466425419,
0.015500763431191444,
-0.03919205442070961,
-0.020323222503066063,
-0.022045530378818512,
0.018763577565550804,
0.013500973582267761,
-0.02124178595840931,
0.004468429833650589,
-0.010888807475566864,
-0.007372430991381407,
0.028532886877655983,
0.0718776136636734,
-0.04412933439016342,
-0.011616003699600697,
-0.05377425253391266,
-0.008415383286774158,
0.07960885763168335,
0.040990907698869705,
0.019060198217630386,
-0.015998318791389465,
-0.03012123517692089,
0.012056148611009121,
-0.0014077468076720834,
-0.02635129727423191,
-0.004028284922242165,
0.0445503406226635,
-0.007664266042411327,
-0.016830766573548317,
0.04145018756389618,
-0.004360785707831383,
-0.03658945485949516,
0.03953651338815689,
-0.021318333223462105,
-0.014926660805940628,
0.02878166362643242,
0.09162673354148865,
0.02380611002445221,
0.0094248466193676,
0.008243152871727943,
-0.054884184151887894,
-0.04079953953623772,
-0.01147247850894928,
0.03727837651968002,
0.04906661435961723,
-0.019634298980236053,
-0.01729961670935154,
-0.018591348081827164,
0.0036503339651972055,
0.015194575302302837,
-0.021088693290948868,
0.07218380272388458,
0.008678513579070568,
-0.04933452606201172,
-0.03115461952984333,
0.02122264914214611,
0.026753168553113937,
-0.03712528571486473,
0.01675421930849552,
-0.02106955647468567,
-0.01360622514039278,
-0.0043488251976668835,
-0.002111022127792239,
-0.02843720279633999,
0.06824163347482681,
-0.029872458428144455,
0.017203932628035545,
0.051784031093120575,
-0.010840965434908867,
-0.04765049368143082,
-0.014486515894532204,
-0.05002345144748688,
0.03126944229006767,
-0.06058693304657936,
0.004035460762679577,
0.07788655161857605,
0.042904581874608994,
0.03681909665465355,
-0.014266443438827991,
0.036187585443258286,
0.031403396278619766,
-0.05201367288827896,
-0.02891562134027481,
0.010640029795467854,
0.03132684901356697,
-0.04661710932850838,
0.03913464397192001,
-0.007826928049325943,
-0.03436959162354469,
0.0006572275888174772,
-0.00629598880186677,
-0.045468904078006744,
0.045124445110559464,
-0.004999474622309208,
-0.017701487988233566,
0.04933452606201172,
0.016314074397087097,
0.030025552958250046,
0.030752748250961304,
0.0019734767265617847,
0.012142264284193516,
0.026255613192915916,
-0.024916041642427444,
0.02891562134027481,
-0.011903055012226105,
0.03697219118475914,
0.0051956260576844215,
-0.058788079768419266,
0.013941118493676186,
-0.03530729189515114,
-0.0011260778410360217,
0.0070710270665585995,
0.008539772592484951,
-0.022657904773950577,
0.00210025766864419,
0.07046149671077728,
0.0061285425908863544,
-0.023576468229293823,
-0.03318311646580696,
-0.005248252302408218,
0.03913464397192001,
0.11772925406694412,
-0.013788023963570595,
0.026446981355547905,
0.0007236081291921437,
-0.027480365708470345,
-0.005013827234506607,
0.10471626371145248,
-0.01658198982477188,
-0.0530853308737278,
-0.0188114196062088,
0.0001800050085876137,
-0.008970349095761776,
-0.022160349413752556,
-0.023385101929306984,
-0.02638957090675831,
-0.02669575810432434,
-0.001304886769503355,
-0.02074423059821129,
-0.015070185996592045,
-0.03325966000556946,
0.012965144589543343,
-0.005329583305865526,
-0.03306829556822777,
0.04849250987172127,
-0.07099732011556625,
0.08672772347927094,
0.022868409752845764,
-0.027480365708470345,
0.10854361206293106,
-0.04780358821153641,
-0.03957478702068329,
-0.016036592423915863,
0.08672772347927094,
0.035881396383047104,
-0.0265043918043375,
0.03838830813765526,
-0.009377004578709602,
0.04516271874308586,
0.04087608680129051,
0.015223280526697636,
0.047191210091114044,
0.05323842167854309,
-0.06713169813156128,
-0.0009448767523281276,
-0.019634298980236053,
-0.015529467724263668,
-0.046999845653772354,
-0.055573105812072754,
0.00830534752458334,
-0.0025667159352451563,
-0.014333421364426613,
0.023212870582938194,
-0.05205194652080536,
0.019959624856710434,
0.002650439040735364,
-0.04592818766832352,
0.0036383734550327063,
-0.025069134309887886,
0.015806950628757477,
-0.033661533147096634,
-0.009391357190907001,
0.036532044410705566,
-0.019060198217630386,
-0.035345565527677536,
-0.02757604792714119,
0.0513247475028038,
0.07501603662967682,
0.0007965670083649457,
0.08152253180742264,
-0.033125706017017365,
0.013156511820852757,
0.0188496932387352,
-0.021012146025896072,
-0.017500553280115128,
0.007936964742839336,
0.014295147731900215,
0.025949425995349884,
-0.0064634354785084724,
-0.0598980113863945,
-0.04095263406634331,
0.0027820041868835688,
-0.025088271126151085,
0.039459966123104095,
-0.027690868824720383,
-0.025566689670085907,
-0.010123337619006634,
-0.010352978482842445,
0.034656643867492676
] |
719,683
|
ibm_platform_services.iam_identity_v1
|
create_profile_template_version
|
Create new version of a trusted profile template.
Create a new version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account. Required field when creating a
new template. Otherwise this field is optional. If the field is included it
will change the name value for all existing versions of the template.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param TemplateProfileComponentRequest profile: (optional) Input body
parameters for the TemplateProfileComponent.
:param List[PolicyTemplateReference] policy_template_references: (optional)
Existing policy templates that you can reference to assign access in the
trusted profile component.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
|
def create_profile_template_version(
self,
template_id: str,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
profile: Optional['TemplateProfileComponentRequest'] = None,
policy_template_references: Optional[List['PolicyTemplateReference']] = None,
**kwargs,
) -> DetailedResponse:
"""
Create new version of a trusted profile template.
Create a new version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account. Required field when creating a
new template. Otherwise this field is optional. If the field is included it
will change the name value for all existing versions of the template.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param TemplateProfileComponentRequest profile: (optional) Input body
parameters for the TemplateProfileComponent.
:param List[PolicyTemplateReference] policy_template_references: (optional)
Existing policy templates that you can reference to assign access in the
trusted profile component.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
if profile is not None:
profile = convert_model(profile)
if policy_template_references is not None:
policy_template_references = [convert_model(x) for x in policy_template_references]
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_profile_template_version',
)
headers.update(sdk_headers)
data = {
'account_id': account_id,
'name': name,
'description': description,
'profile': profile,
'policy_template_references': policy_template_references,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_templates/{template_id}/versions'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, profile: Optional[ibm_platform_services.iam_identity_v1.TemplateProfileComponentRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_identity_v1.PolicyTemplateReference]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.015125701203942299,
-0.0464458204805851,
-0.009315160103142262,
-0.0007852896233089268,
-0.039205510169267654,
-0.032311808317899704,
-0.054995547980070114,
0.03107941709458828,
-0.003066540928557515,
-0.021605392917990685,
0.03425668179988861,
0.017311273142695427,
-0.09073495119810104,
-0.044828303158283234,
-0.06716543436050415,
-0.014480620622634888,
0.09135115146636963,
-0.015616732649505138,
0.0015428985934704542,
0.008655636571347713,
0.03302428871393204,
-0.00832828227430582,
-0.03797311708331108,
0.010966374538838863,
0.05876975134015083,
-0.04444317892193794,
0.02641942910850048,
-0.02645794302225113,
0.03213850408792496,
0.008232001215219498,
-0.05896231532096863,
0.04355739802122116,
0.02730521187186241,
0.06986129283905029,
-0.013845168054103851,
-0.01763862743973732,
-0.03903220593929291,
0.006965910084545612,
-0.07602325826883316,
0.058692727237939835,
0.018399246037006378,
0.03589345142245293,
-0.032292552292346954,
-0.007365474943071604,
0.007558036595582962,
-0.025783976539969444,
-0.041477736085653305,
-0.025360342115163803,
-0.024436047300696373,
-0.009536605328321457,
-0.0027512216474860907,
-0.013094178400933743,
-0.011033770628273487,
-0.011861784383654594,
-0.02179795503616333,
-0.005117320455610752,
0.03387155756354332,
-0.05195307731628418,
-0.05368613079190254,
0.02039225585758686,
0.008963734842836857,
-0.011649967171251774,
-0.04309524968266487,
0.022953324019908905,
-0.049411267042160034,
-0.024262741208076477,
0.0016536214388906956,
-0.017734909430146217,
-0.00637859757989645,
-0.015626361593604088,
0.03670221194624901,
0.01649288833141327,
0.030386194586753845,
-0.0462917722761631,
0.04359591007232666,
0.028903473168611526,
0.01299789734184742,
-0.007081447169184685,
-0.020276719704270363,
0.03107941709458828,
-0.020604074001312256,
-0.10352103412151337,
-0.03433370590209961,
-0.012391328811645508,
0.014288059435784817,
0.03818493336439133,
0.030463220551609993,
-0.10113327205181122,
-0.0007889001281000674,
0.08711479604244232,
-0.010061335749924183,
-0.015289378352463245,
-0.04217095673084259,
0.008828941732645035,
0.07167136669158936,
0.00156817224342376,
0.06670328229665756,
-0.024705633521080017,
0.01601148396730423,
0.03054024465382099,
-0.00895892083644867,
-0.030020328238606453,
-0.04236351698637009,
-0.020681098103523254,
0.019179118797183037,
-0.0020267092622816563,
-0.02457083947956562,
0.046176232397556305,
0.010128731839358807,
0.013652605935931206,
0.03575865924358368,
-0.07236459106206894,
-0.036490391939878464,
-0.01136112492531538,
0.06458510458469391,
0.001589835388585925,
-0.02358877658843994,
-0.002840281231328845,
-0.024224229156970978,
-0.0005800913204438984,
0.042440541088581085,
-0.039244022220373154,
0.0033601971808820963,
-0.00775059824809432,
-0.06158114969730377,
0.011062654666602612,
0.01852441020309925,
0.015077561140060425,
-0.023800594732165337,
-0.009589559398591518,
-0.06724245846271515,
-0.01930428482592106,
-0.03908997401595116,
0.03570089116692543,
0.005950148683041334,
-0.03158007562160492,
-0.03186891973018646,
-0.008073138073086739,
0.04717755317687988,
0.06181222200393677,
0.001462263404391706,
0.01998787745833397,
0.005199159029871225,
0.043865498155355453,
-0.039166998118162155,
-0.018793996423482895,
0.035527586936950684,
0.014548016712069511,
-0.01709945686161518,
0.010879721492528915,
0.00825607217848301,
-0.011467033997178078,
-0.03568163514137268,
-0.045675575733184814,
0.006802232936024666,
-0.027497773990035057,
0.05022002384066582,
-0.08226224780082703,
0.014557644724845886,
-0.01458652876317501,
0.0029943303670734167,
-0.0031676357612013817,
0.0695531964302063,
0.01185215637087822,
0.024281997233629227,
-0.009175552986562252,
0.017590487375855446,
0.014288059435784817,
-0.02884570322930813,
-0.014105125330388546,
0.0347188264131546,
0.0555732324719429,
0.008395679295063019,
0.020122671499848366,
-0.00006875045073684305,
-0.005555397365242243,
0.05364761874079704,
-0.026631247252225876,
-0.01207360252737999,
-0.014076241292059422,
-0.008212745189666748,
-0.029827767983078957,
-0.03435296192765236,
0.022491175681352615,
0.005719074979424477,
0.01139963697642088,
0.012805336154997349,
0.08118390291929245,
-0.018620692193508148,
0.029057521373033524,
-0.023338446393609047,
-0.06639518588781357,
0.045251939445734024,
0.02693934552371502,
-0.001080149319022894,
-0.041439224034547806,
-0.01254537794739008,
-0.04401954635977745,
0.019400564953684807,
0.024359023198485374,
0.013171202503144741,
-0.06258247047662735,
0.004587776493281126,
-0.05237671360373497,
0.05441786348819733,
0.048448458313941956,
0.0039041831623762846,
-0.07321186363697052,
0.002265003975480795,
-0.0556502565741539,
0.014548016712069511,
-0.013912564143538475,
-0.0006944246706552804,
0.0418628565967083,
-0.05850016698241234,
-0.045251939445734024,
0.062428418546915054,
-0.0464073084294796,
-0.014663553796708584,
-0.015289378352463245,
0.02973148599267006,
0.015722641721367836,
-0.022183077409863472,
0.01756160333752632,
-0.03446849808096886,
0.013931820169091225,
0.009608816355466843,
0.0347188264131546,
-0.037260640412569046,
-0.00039144131005741656,
0.02597653865814209,
0.013864424079656601,
0.03300503268837929,
-0.015019792132079601,
-0.08403380960226059,
-0.05364761874079704,
0.019111722707748413,
-0.02871091105043888,
0.02742074988782406,
0.016926150768995285,
0.03435296192765236,
0.040977075695991516,
0.08287844806909561,
0.0301743783056736,
-0.022876299917697906,
-0.014066613279283047,
-0.04405805841088295,
-0.047524165362119675,
0.018168171867728233,
-0.06304461508989334,
0.002415442606434226,
-0.013777771033346653,
0.005112506449222565,
0.036471135914325714,
0.02037299983203411,
-0.05280034616589546,
0.07656242698431015,
-0.05669008940458298,
0.042517565190792084,
0.0037164357490837574,
-0.038281213492155075,
0.01230467576533556,
-0.0462917722761631,
-0.03853154554963112,
-0.06300610303878784,
-0.06770460307598114,
-0.033159080892801285,
0.06431552022695541,
0.024301253259181976,
0.07298078387975693,
0.02969297394156456,
0.04090005159378052,
-0.005565025843679905,
-0.004520379938185215,
-0.040553439408540726,
-0.05980958417057991,
0.022857043892145157,
0.027709592133760452,
-0.0057287029922008514,
-0.027940664440393448,
-0.03373676538467407,
-0.019111722707748413,
0.027632566168904305,
0.03514246270060539,
0.051722005009651184,
-0.018197055906057358,
-0.06316015124320984,
-0.00787576287984848,
0.0020182845182716846,
0.010821953415870667,
-0.022972580045461655,
0.03138751536607742,
-0.012670543044805527,
-0.025244804099202156,
-0.11753950268030167,
-0.011996577493846416,
-0.027940664440393448,
-0.0033481621649116278,
0.05283885821700096,
-0.0116018271073699,
0.011861784383654594,
0.025264061987400055,
-0.035527586936950684,
-0.023800594732165337,
-0.030963879078626633,
-0.04363442212343216,
0.006787790916860104,
-0.03947509452700615,
0.03795386105775833,
0.010687160305678844,
-0.01480797491967678,
0.005478372797369957,
-0.007432871498167515,
-0.005632422398775816,
-0.03754948079586029,
0.05318547040224075,
0.0278443843126297,
-0.05530364438891411,
0.022587457671761513,
0.028903473168611526,
-0.04918019101023674,
0.03739543259143829,
-0.01019612792879343,
0.039128486067056656,
0.0371258445084095,
-0.03616303950548172,
-0.017272761091589928,
-0.009464395232498646,
0.01488499902188778,
0.004477053415030241,
-0.012814964167773724,
-0.013479300774633884,
0.05195307731628418,
0.04825589805841446,
-0.032311808317899704,
0.0005707641248591244,
0.013845168054103851,
-0.011755876243114471,
-0.013123062439262867,
0.06912955641746521,
0.05149092897772789,
-0.04794779792428017,
-0.005016225390136242,
-0.024898193776607513,
0.0019869934767484665,
0.01252612192183733,
0.025398854166269302,
0.02734372392296791,
0.040091291069984436,
-0.03104090504348278,
-0.07378954440355301,
-0.03152230754494667,
0.009223693050444126,
0.03660593181848526,
0.00965214241296053,
-0.08110687881708145,
0.0043374462984502316,
-0.011332240886986256,
-0.002340825041756034,
-0.017908213660120964,
-0.09705096483230591,
-0.006022359244525433,
-0.036798492074012756,
-0.004953643307089806,
0.01577078178524971,
-0.03287023678421974,
0.0415932722389698,
-0.0034877690486609936,
-0.08018258213996887,
-0.005006597377359867,
-0.027613310143351555,
-0.04979638755321503,
-0.017869701609015465,
-0.014345827512443066,
0.009218879044055939,
-0.05503406003117561,
-0.03391006961464882,
0.0185051541775465,
-0.03335164114832878,
-0.06427700817584991,
0.01675284467637539,
-0.01486574299633503,
-0.0005698614986613393,
-0.025264061987400055,
-0.015202726237475872,
0.013325251638889313,
0.005988660734146833,
-0.013334879651665688,
0.05738331004977226,
0.012622402049601078,
-0.009507721289992332,
-0.009401812218129635,
0.006070499308407307,
-0.022529689595103264,
0.0370488204061985,
0.019756803289055824,
-0.029057521373033524,
0.010080591775476933,
0.03989873081445694,
0.015164213255047798,
0.01782156154513359,
0.03606675937771797,
0.042440541088581085,
0.02591877058148384,
-0.03184966370463371,
-0.005497629288583994,
0.0463302843272686,
0.007206611800938845,
-0.009064829908311367,
-0.008804871700704098,
-0.02418571710586548,
0.0060560572892427444,
-0.06585600972175598,
-0.05156795307993889,
0.0040534185245633125,
0.09859146177768707,
-0.059617023915052414,
0.05595835670828819,
-0.06262098252773285,
-0.004866990260779858,
0.028556860983371735,
0.0325043722987175,
0.030520988628268242,
0.022183077409863472,
-0.0557272806763649,
0.03895517811179161,
-0.031811151653528214,
0.006523018702864647,
-0.0054254187270998955,
-0.0035407235845923424,
0.06161966174840927,
-0.03839674964547157,
0.049295730888843536,
-0.004392807837575674,
0.04047641530632973,
0.04586813598871231,
0.019034698605537415,
0.04875655844807625,
-0.03202296793460846,
0.053069934248924255,
0.05141390487551689,
0.01837999001145363,
0.009112969972193241,
0.009993938729166985,
-0.0004988544969819486,
0.04783226177096367,
-0.0417473204433918,
-0.10390615463256836,
-0.008872268721461296,
0.01663730852305889,
-0.00569981848821044,
0.01993010938167572,
0.037260640412569046,
-0.031753383576869965,
-0.06558642536401749,
-0.02693934552371502,
-0.0348343662917614,
0.009955426678061485,
-0.001294975751079619,
-0.02231787145137787,
-0.0069803521037101746,
-0.013633349910378456,
0.04733160138130188,
0.04455871880054474,
-0.006200478412210941,
-0.08572835475206375,
0.03158007562160492,
0.001538084470666945,
-0.014702065847814083,
0.04082302749156952,
-0.006710766348987818,
-0.002349249552935362,
0.011505546048283577,
0.0930456891655922,
0.041554760187864304,
0.028537604957818985,
-0.008723033592104912,
-0.0323503203690052,
-0.026592735201120377,
0.010119103826582432,
-0.03244660422205925,
0.01928502880036831,
-0.005959776695817709,
0.06073387712240219,
0.028075458481907845,
-0.06300610303878784,
-0.0032615093514323235,
0.015164213255047798,
0.019756803289055824,
0.01760011538863182,
0.004108779598027468,
-0.0031556005124002695,
-0.0012997897574678063,
0.06327568739652634,
-0.06377635151147842,
-0.022029029205441475,
-0.01954498700797558,
-0.029096033424139023,
0.0415932722389698,
-0.02975074201822281,
0.016646936535835266,
-0.016358094289898872,
0.0462917722761631,
0.005367650184780359,
0.03899369016289711,
0.10313590615987778,
0.02279927395284176,
0.0057287029922008514,
0.022934067994356155,
0.022144565358757973,
-0.04690796881914139,
0.013296367600560188,
0.010542739182710648,
0.023415470495820045,
0.01876511238515377,
0.06265949457883835,
-0.010119103826582432,
0.04263310506939888,
-0.018351105973124504,
-0.01295938529074192,
0.02274150587618351,
0.024474559351801872,
0.015905575826764107,
-0.011726992204785347,
0.030251402407884598,
0.008361980319023132,
-0.048525482416152954,
-0.052145637571811676,
0.027189675718545914,
0.08518917858600616,
-0.011024142615497112,
-0.014066613279283047,
-0.00941144023090601,
-0.05141390487551689,
-0.04767821356654167,
-0.07009236514568329,
-0.05326249450445175,
0.00010906800162047148,
-0.028133226558566093,
-0.007086261175572872,
-0.013334879651665688,
0.0005367650301195681,
-0.0558043047785759,
-0.023415470495820045,
0.011534430086612701,
-0.021066222339868546,
-0.01671433262526989,
0.005868310108780861,
-0.05511108413338661,
-0.037337664514780045,
0.05950148403644562,
-0.006070499308407307,
0.008511215448379517,
0.02730521187186241,
-0.03722212836146355,
0.08079878240823746,
-0.015982599928975105,
-0.04740862548351288,
0.004667208064347506,
0.00858824048191309,
0.018736228346824646,
-0.02181721106171608,
0.0006228159181773663,
-0.03419891372323036,
-0.008814499713480473,
0.050797708332538605,
0.010985630564391613,
-0.011264844797551632,
0.0027078953571617603,
0.018457014113664627,
0.03654816001653671,
0.041978392750024796,
-0.007105517201125622,
-0.03369825333356857,
-0.02638091705739498,
-0.012121742591261864,
0.07109368592500687,
0.03200371190905571,
0.04814036190509796,
0.012901616282761097,
-0.01647363044321537,
-0.018235567957162857,
0.062351394444704056,
-0.06316015124320984,
-0.0005166062619537115,
0.07814143598079681,
0.022414151579141617,
0.040977075695991516,
0.058192066848278046,
0.035392794758081436,
-0.07548408210277557,
0.02499447576701641,
-0.006749278400093317,
-0.007972043938934803,
0.009993938729166985,
0.05611240491271019,
0.011977321468293667,
-0.013421532697975636,
0.010407946072518826,
-0.048409946262836456,
-0.030520988628268242,
0.004108779598027468,
0.013228971511125565,
0.03194594383239746,
-0.012150626629590988,
-0.03446849808096886,
-0.02455158345401287,
0.014230290427803993,
0.01577078178524971,
-0.01181364431977272,
0.09319973737001419,
-0.009416254237294197,
-0.03340940922498703,
-0.06855187565088272,
0.04540598765015602,
0.06527832895517349,
-0.04717755317687988,
0.04860250651836395,
-0.03329387307167053,
-0.0015717827482149005,
-0.0007028492400422692,
0.025668440386652946,
0.002816211199387908,
0.044789791107177734,
-0.05461042374372482,
0.045251939445734024,
0.02640017308294773,
-0.010061335749924183,
-0.016261814162135124,
-0.019400564953684807,
-0.02416646108031273,
0.04775523766875267,
-0.018591806292533875,
0.020969940349459648,
0.04971936345100403,
0.015453055500984192,
0.030809830874204636,
-0.0255721602588892,
0.05796099454164505,
0.04979638755321503,
-0.005569839850068092,
-0.03935955837368965,
0.01582854986190796,
0.06327568739652634,
-0.042941201478242874,
0.06412295997142792,
-0.009031131863594055,
-0.02597653865814209,
0.018457014113664627,
0.019111722707748413,
-0.0415932722389698,
0.02278001792728901,
-0.024359023198485374,
-0.012420212849974632,
0.0025153339374810457,
0.010273152962327003,
0.0347188264131546,
0.03377527743577957,
-0.0011968896724283695,
0.02973148599267006,
0.03327461704611778,
-0.03469957038760185,
0.02917305752635002,
-0.023954642936587334,
0.025841744616627693,
0.048949118703603745,
-0.017994867637753487,
-0.0054735587909817696,
-0.035046182572841644,
-0.002476821653544903,
0.026265380904078484,
0.0018822881393134594,
-0.03947509452700615,
0.014172522351145744,
0.04675391688942909,
-0.02925008349120617,
-0.028152482584118843,
0.01441322360187769,
-0.023357702419161797,
0.028460580855607986,
0.10960597544908524,
-0.0030472849030047655,
0.013816283084452152,
-0.001226375694386661,
-0.046214744448661804,
-0.048949118703603745,
0.05811504274606705,
0.03899369016289711,
-0.04209393262863159,
-0.029558181762695312,
-0.024724889546632767,
-0.05006597563624382,
-0.018620692193508148,
-0.025649184361100197,
-0.009305532090365887,
-0.010042078793048859,
-0.016146276146173477,
0.0018160950858145952,
-0.028075458481907845,
-0.04036087915301323,
0.02595728263258934,
-0.014316943474113941,
-0.04867953062057495,
0.08164605498313904,
-0.0651242807507515,
0.06531684100627899,
0.013931820169091225,
-0.05503406003117561,
0.07729416340589523,
-0.03851228952407837,
-0.018543666228652,
-0.024859681725502014,
0.10082516819238663,
0.0043374462984502316,
0.020969940349459648,
0.06986129283905029,
-0.04413508251309395,
0.03616303950548172,
0.07182541489601135,
0.03885889798402786,
0.012343188747763634,
0.023877618834376335,
-0.03184966370463371,
-0.022625969722867012,
-0.007485826034098864,
-0.012131370604038239,
0.009507721289992332,
-0.00832828227430582,
0.0015874283853918314,
0.010590879246592522,
-0.021085478365421295,
0.014519132673740387,
-0.03421816974878311,
-0.03662518784403801,
0.024397535249590874,
-0.01069678831845522,
0.0011902704136446118,
-0.007620619144290686,
0.006335271522402763,
0.0034733270294964314,
-0.007909460924565792,
0.03427593782544136,
-0.046137720346450806,
-0.03795386105775833,
-0.01994936540722847,
0.065008744597435,
0.05430232733488083,
-0.020084157586097717,
0.05333951860666275,
-0.037318408489227295,
0.04405805841088295,
0.012179511599242687,
-0.04047641530632973,
-0.024301253259181976,
0.030694294720888138,
0.005295439623296261,
0.044250618666410446,
0.008217559196054935,
-0.04005277901887894,
-0.02503298781812191,
0.023088116198778152,
-0.033640485256910324,
0.03568163514137268,
-0.01625218614935875,
-0.013989589177072048,
0.010956745594739914,
-0.011929181404411793,
0.0036418181844055653
] |
719,684
|
ibm_platform_services.iam_identity_v1
|
create_report
|
Trigger activity report for the account.
Trigger activity report for the account by specifying the account ID. It can take
a few minutes to generate the report for retrieval.
:param str account_id: ID of the account.
:param str type: (optional) Optional report type. The supported value is
'inactive'. List all identities that have not authenticated within the time
indicated by duration.
:param str duration: (optional) Optional duration of the report. The
supported unit of duration is hours.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ReportReference` object
|
def create_report(
self,
account_id: str,
*,
type: Optional[str] = None,
duration: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Trigger activity report for the account.
Trigger activity report for the account by specifying the account ID. It can take
a few minutes to generate the report for retrieval.
:param str account_id: ID of the account.
:param str type: (optional) Optional report type. The supported value is
'inactive'. List all identities that have not authenticated within the time
indicated by duration.
:param str duration: (optional) Optional duration of the report. The
supported unit of duration is hours.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ReportReference` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_report',
)
headers.update(sdk_headers)
params = {
'type': type,
'duration': duration,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_id']
path_param_values = self.encode_path_vars(account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/activity/accounts/{account_id}/report'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, type: Optional[str] = None, duration: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04156746342778206,
-0.007560917641967535,
0.014497620053589344,
-0.024335606023669243,
-0.008193925023078918,
-0.027799559757113457,
-0.03530772775411606,
-0.005956420674920082,
-0.10747053474187851,
-0.027377555146813393,
-0.0038156260270625353,
0.024792777374386787,
0.02830948308110237,
-0.036011070013046265,
-0.04160263016819954,
-0.01657247729599476,
0.025847788900136948,
-0.00523549597710371,
0.011886466294527054,
0.004318954423069954,
0.014444869942963123,
-0.00679163821041584,
-0.03678474575281143,
0.05971366912126541,
0.030718427151441574,
0.03005025163292885,
0.0023166299797594547,
-0.014866874553263187,
-0.026428045704960823,
0.07072095572948456,
0.03539564460515976,
-0.0023078382946550846,
-0.011279834434390068,
0.0024265272077172995,
-0.03302186727523804,
0.014647080563008785,
-0.06066317856311798,
0.04687768965959549,
-0.1114092469215393,
0.031826190650463104,
0.005530020222067833,
0.052785757929086685,
0.016871396452188492,
-0.003189212642610073,
-0.037945255637168884,
-0.06695808470249176,
-0.012712892144918442,
-0.05514194816350937,
-0.011165541596710682,
-0.08622962981462479,
0.030700843781232834,
0.010216031223535538,
-0.038226593285799026,
-0.021610157564282417,
-0.0023869641590863466,
0.007807087153196335,
-0.024810360744595528,
0.017908824607729912,
0.004958555568009615,
-0.043255481868982315,
-0.010857829824090004,
0.0014330577105283737,
0.020660648122429848,
-0.026603881269693375,
-0.025390617549419403,
0.018198953941464424,
-0.028028147295117378,
-0.004646447952836752,
0.0280808974057436,
-0.005934441462159157,
0.04585784673690796,
-0.014875666238367558,
0.0099259028211236,
-0.004650843795388937,
0.05359460040926933,
-0.009750067256391048,
0.016106514260172844,
-0.00365078030154109,
0.0076752109453082085,
0.02716655284166336,
0.03525497764348984,
-0.01574605144560337,
-0.021627740934491158,
-0.04079378768801689,
-0.0015198764158412814,
0.031826190650463104,
-0.0209244005382061,
-0.06150718778371811,
-0.1008591279387474,
0.018427539616823196,
0.022770671173930168,
-0.042305972427129745,
-0.01874404214322567,
-0.02074856497347355,
0.016132889315485954,
-0.0393519401550293,
0.015288879163563251,
0.017302192747592926,
-0.045471008867025375,
0.03235369548201561,
-0.05180107802152634,
-0.06178852543234825,
-0.06973627954721451,
0.022665169090032578,
-0.018550623208284378,
-0.04670185595750809,
0.0020045223645865917,
-0.022172830998897552,
-0.0020078192465007305,
0.025337865576148033,
-0.014137158170342445,
-0.0026155500672757626,
-0.014691038988530636,
-0.058131150901317596,
0.026428045704960823,
0.056794799864292145,
-0.035835232585668564,
-0.004044211935251951,
-0.030542591586709023,
-0.0066949292086064816,
0.04687768965959549,
-0.004083774983882904,
-0.015869135037064552,
0.0022418999578803778,
0.005802564788609743,
0.012115051969885826,
-0.06453155726194382,
-0.0003810680645983666,
0.05289125815033913,
-0.004558530170470476,
-0.018955044448375702,
-0.00785983819514513,
0.034868139773607254,
0.045295171439647675,
0.021434321999549866,
0.059080660343170166,
-0.007231226656585932,
0.055774956941604614,
-0.02612912468612194,
0.011684255674481392,
0.00601796293631196,
-0.007974131032824516,
0.025460951030254364,
-0.021522240713238716,
0.014216284267604351,
0.005165162030607462,
-0.013345899060368538,
0.016458183526992798,
-0.09481039643287659,
0.039281606674194336,
-0.0027122595347464085,
-0.09178602695465088,
-0.02702588587999344,
0.025777455419301987,
0.01656368561089039,
-0.012387597002089024,
0.004459622781723738,
0.07223314046859741,
0.002762812189757824,
0.0030771177262067795,
0.0014627298805862665,
0.04719419404864311,
0.05816631764173508,
0.021557407453656197,
0.03474505618214607,
-0.0019330893410369754,
-0.024265270680189133,
-0.0006357544916681945,
0.005336601287126541,
-0.051660411059856415,
-0.023368511348962784,
0.021223319694399834,
0.01579000987112522,
-0.0046860105358064175,
-0.09973378479480743,
-0.013794278725981712,
0.04051245376467705,
-0.010172071866691113,
0.021117819473147392,
0.010172071866691113,
0.009328062646090984,
-0.0395277738571167,
-0.00791258830577135,
0.03332078829407692,
0.013082146644592285,
-0.061050016433000565,
0.012071093544363976,
0.025496117770671844,
-0.0035123100969940424,
0.007200455293059349,
-0.011174333281815052,
-0.0077279615215957165,
0.02922382578253746,
-0.02493344619870186,
0.007618064526468515,
-0.05925649404525757,
-0.026375295594334602,
-0.08292392641305923,
-0.045471008867025375,
0.012686517089605331,
0.03463955223560333,
0.01565813273191452,
0.027781976386904716,
-0.011288626119494438,
0.05327809602022171,
-0.010136905126273632,
0.04722936078906059,
-0.02593570575118065,
-0.06576240062713623,
-0.039984945207834244,
-0.0036837495863437653,
-0.004505779594182968,
-0.0005753111327067018,
0.011807340197265148,
-0.04803820326924324,
-0.015315254218876362,
0.04307964816689491,
0.025496117770671844,
0.03245919570326805,
-0.0026045604608953,
-0.005609145853668451,
-0.013838238082826138,
-0.04265764355659485,
-0.02078373171389103,
-0.007196059450507164,
0.009688524529337883,
0.075468510389328,
-0.017223067581653595,
-0.03681991249322891,
-0.04740519821643829,
-0.00945114716887474,
0.005165162030607462,
-0.022348666563630104,
-0.028872156515717506,
-0.06400404870510101,
-0.039246439933776855,
-0.017372528091073036,
-0.003615613328292966,
-0.005266267340630293,
0.005798168946057558,
0.059010326862335205,
0.0774378627538681,
0.02618187665939331,
0.04413466155529022,
-0.04835470765829086,
-0.03632757440209389,
-0.013337107375264168,
0.020115558058023453,
-0.008681868202984333,
-0.06586790084838867,
-0.003712322795763612,
-0.06994727998971939,
-0.04582267999649048,
0.02910074219107628,
0.01147325336933136,
-0.0015110846143215895,
0.039140935987234116,
-0.04089929163455963,
0.013240397907793522,
-0.03776942193508148,
0.00376507337205112,
-0.033988963812589645,
-0.012862351723015308,
0.0019023180939257145,
0.01558779925107956,
-0.03727708384394646,
-0.035958319902420044,
0.008497240953147411,
0.04452149569988251,
0.028397399932146072,
0.04065312072634697,
0.04068828746676445,
0.059995003044605255,
-0.026340126991271973,
-0.028520485386252403,
-0.0014924020506441593,
0.059995003044605255,
0.022172830998897552,
0.020607896149158478,
0.01767144724726677,
-0.047545865178108215,
-0.028784237802028656,
0.057814646512269974,
-0.020572729408740997,
0.03407688066363335,
-0.011183124966919422,
-0.018480289727449417,
0.10008545219898224,
-0.01869129203259945,
0.008145569823682308,
0.02001005783677101,
0.044345661997795105,
-0.031931690871715546,
-0.029452413320541382,
-0.021240904927253723,
0.04258731007575989,
0.01565813273191452,
-0.021293655037879944,
0.03956294059753418,
0.055915623903274536,
0.013178855180740356,
0.049444884061813354,
0.046596355736255646,
-0.04740519821643829,
-0.0962170735001564,
-0.03230094537138939,
-0.010303948074579239,
-0.037171583622694016,
0.03349662572145462,
-0.008418114855885506,
-0.01044461689889431,
0.03836726024746895,
-0.01669556088745594,
-0.0069015356712043285,
0.001205570762977004,
-0.028784237802028656,
0.004116743803024292,
-0.008317009545862675,
0.03548356145620346,
0.05348909646272659,
-0.02391360141336918,
0.002863917499780655,
0.010822662152349949,
-0.04606884717941284,
0.045506175607442856,
0.010708369314670563,
0.057849813252687454,
0.059995003044605255,
0.013468983583152294,
-0.0006220173672772944,
-0.040195949375629425,
0.029628247022628784,
0.002190248342230916,
-0.007112537976354361,
-0.026533545926213264,
-0.0500778928399086,
-0.018234120681881905,
-0.04188396781682968,
0.01571967639029026,
0.03212510794401169,
-0.011860091239213943,
-0.011912841349840164,
0.039140935987234116,
0.0022462960332632065,
0.06551623344421387,
-0.030929429456591606,
0.04490833356976509,
-0.006967473775148392,
0.022383833304047585,
0.027553390711545944,
-0.011350168846547604,
-0.013170063495635986,
0.006708116736263037,
0.02938207797706127,
0.03963327780365944,
-0.07131879776716232,
0.0009390703635290265,
0.027412723749876022,
-0.02407185174524784,
-0.007059787400066853,
-0.06836476176977158,
0.03885960206389427,
-0.04874154552817345,
0.014893249608576298,
0.028555652126669884,
-0.011235876008868217,
-0.010295156389474869,
-0.00756531348451972,
-0.01094574760645628,
-0.020502395927906036,
0.0130557706579566,
-0.024230103939771652,
-0.03850793093442917,
0.07177596539258957,
-0.0009242342785000801,
0.03476263955235481,
0.0032309736125171185,
0.005912461783736944,
-0.01769782230257988,
0.021276071667671204,
-0.02291133999824524,
-0.029417244717478752,
-0.03956294059753418,
-0.004888221155852079,
-0.007433437276631594,
-0.04360715299844742,
0.020502395927906036,
-0.012088676914572716,
-0.05714647099375725,
0.022260747849941254,
0.06136652082204819,
-0.0499020591378212,
-0.03850793093442917,
-0.02299925684928894,
0.006835597101598978,
-0.009706108830869198,
-0.03298670053482056,
0.029575496912002563,
0.010145696811378002,
0.002934251446276903,
-0.006905931513756514,
-0.011763381771743298,
0.03748808428645134,
0.007864234037697315,
-0.02073098160326481,
0.0048398664221167564,
0.03444613516330719,
-0.07729719579219818,
0.011842506937682629,
-0.049620721489191055,
0.042165305465459824,
0.013644819147884846,
-0.03470988944172859,
0.004918992519378662,
0.001355030806735158,
0.017302192747592926,
0.0017121962737292051,
-0.0017660458106547594,
-0.025249948725104332,
0.012343637645244598,
0.021223319694399834,
0.002947439206764102,
0.030454672873020172,
0.035114310681819916,
0.007974131032824516,
0.02074856497347355,
-0.0007885114173404872,
0.05028889700770378,
0.027852311730384827,
-0.031720686703920364,
0.023579513654112816,
0.030753593891859055,
-0.03217785805463791,
-0.0009143435745500028,
-0.02488069422543049,
0.0540166050195694,
0.008127986453473568,
0.031861357390880585,
0.021610157564282417,
0.04926905035972595,
-0.02507411316037178,
-0.010831454768776894,
0.026990719139575958,
-0.044556666165590286,
-0.030067836865782738,
0.00020358430629130453,
0.005644313059747219,
-0.08383826911449432,
0.0025254343636333942,
0.03632757440209389,
0.08032156527042389,
0.06579756736755371,
0.05355943366885185,
0.005059660878032446,
-0.04103995859622955,
-0.020291393622756004,
-0.022313499823212624,
-0.02412460371851921,
0.03321528807282448,
0.00018861083663068712,
0.014770165085792542,
-0.015851551666855812,
-0.05637279525399208,
0.004031024407595396,
-0.01299422886222601,
0.006870764307677746,
-0.014137158170342445,
0.005486061330884695,
0.006703720893710852,
0.01867370866239071,
-0.007982922717928886,
0.039000269025564194,
0.008501636795699596,
0.04800303652882576,
0.020449645817279816,
0.0416729673743248,
-0.007938963361084461,
-0.006176214665174484,
0.012651349417865276,
-0.012897519394755363,
0.02704346925020218,
0.030736010521650314,
0.02002764120697975,
-0.00299139809794724,
0.03321528807282448,
-0.016132889315485954,
0.02278825454413891,
0.04300931468605995,
-0.03741775080561638,
0.07167046517133713,
-0.019271548837423325,
-0.03449888527393341,
0.0012231542496010661,
0.019253965467214584,
-0.07272548228502274,
0.0018440727144479752,
0.04297414794564247,
0.009433563798666,
-0.019429801031947136,
-0.024546608328819275,
0.06681741029024124,
-0.07715652883052826,
0.03328562155365944,
-0.014910832978785038,
-0.018181370571255684,
0.00791258830577135,
0.006686137057840824,
0.027799559757113457,
-0.02590053901076317,
0.02287617139518261,
-0.05939716473221779,
0.010805078782141209,
-0.03024367056787014,
-0.05387593433260918,
-0.007890609093010426,
0.04058278724551201,
0.015183378010988235,
-0.05767397955060005,
-0.015886718407273293,
-0.057814646512269974,
-0.011165541596710682,
0.06154235452413559,
0.015491089783608913,
0.013381065800786018,
0.017987951636314392,
-0.024388356134295464,
0.01679227128624916,
-0.030067836865782738,
0.0029979918617755175,
0.017258234322071075,
0.029434828087687492,
-0.008079632185399532,
0.018867127597332,
-0.04680735617876053,
0.03892993554472923,
-0.0078686298802495,
-0.07800053805112839,
-0.0270083025097847,
-0.06516455858945847,
0.005934441462159157,
-0.008220300078392029,
-0.013187647797167301,
-0.06150718778371811,
-0.10585284978151321,
-0.007279581390321255,
-0.02590053901076317,
0.047370027750730515,
0.010400657542049885,
0.048425041139125824,
-0.010602868162095547,
0.08461194485425949,
-0.03474505618214607,
-0.02285858802497387,
0.06340620666742325,
-0.05535295233130455,
0.06702841818332672,
0.007798295468091965,
-0.04983172193169594,
0.029663415625691414,
-0.0007187267765402794,
-0.029047992080450058,
-0.02407185174524784,
-0.04909321665763855,
0.0397036112844944,
-0.040195949375629425,
0.027500640600919724,
0.12280337512493134,
0.04888221248984337,
-0.018023118376731873,
-0.04835470765829086,
0.0034463717602193356,
-0.006220173556357622,
-0.05141424015164375,
-0.05092190206050873,
0.001913307816721499,
-0.0027650101110339165,
0.008945620618760586,
0.011631504632532597,
0.00390574149787426,
0.075468510389328,
-0.007433437276631594,
-0.0007209246978163719,
-0.030489841476082802,
-0.05746297538280487,
-0.04831954091787338,
-0.010347907431423664,
0.00833019707351923,
-0.02489827759563923,
0.05756847560405731,
0.028713904321193695,
-0.022753087803721428,
0.05081640183925629,
0.0070026409812271595,
-0.0037057287991046906,
0.01789124123752117,
0.09108268469572067,
-0.00018792397167999297,
-0.045541342347860336,
-0.024740027263760567,
-0.035817649215459824,
0.0034551636781543493,
-0.011112790554761887,
-0.0373825840651989,
0.05141424015164375,
0.0010528138373047113,
-0.005811356473714113,
-0.00042337842751294374,
0.03843759745359421,
0.010101737454533577,
-0.04765136539936066,
0.001267113140784204,
-0.04483800008893013,
0.04061795398592949,
0.026867633685469627,
0.026674214750528336,
-0.06913843750953674,
-0.03332078829407692,
-0.014708622358739376,
0.00007349366205744445,
0.044240161776542664,
-0.016168056055903435,
0.008549991063773632,
-0.026850050315260887,
0.03126351535320282,
-0.011596337892115116,
0.07272548228502274,
0.023790515959262848,
-0.05190657824277878,
-0.006804826203733683,
-0.028889739885926247,
-0.05317259579896927,
0.08376793563365936,
-0.08946499973535538,
-0.017267026007175446,
0.04297414794564247,
-0.010919371619820595,
0.02809848077595234,
0.022172830998897552,
0.11802065372467041,
-0.005815752316266298,
-0.0019429801031947136,
0.05630246177315712,
0.0017528581665828824,
0.005679480265825987,
0.03310978785157204,
0.05345392972230911,
-0.03780458867549896,
-0.06759108603000641,
-0.06263253092765808,
0.018480289727449417,
-0.049655888229608536,
-0.02488069422543049,
-0.05081640183925629,
-0.01196559239178896,
0.030806344002485275,
0.15403172373771667,
0.0027562181930989027,
0.01458553783595562,
0.0036397906951606274,
0.053770434111356735,
0.014453661628067493,
0.04082895442843437,
0.006818013731390238,
-0.054719943553209305,
-0.04170813411474228,
-0.014409702271223068,
0.002503455150872469,
-0.045506175607442856,
0.003206796245649457,
-0.006602615583688021,
0.0026639048010110855,
0.007393874228000641,
0.04976138845086098,
0.023649847134947777,
0.022594835609197617,
0.05739264190196991,
-0.06625474244356155,
0.0051036193035542965,
0.017003273591399193,
-0.036960579454898834,
0.06122585013508797,
-0.031791020184755325,
0.011139166541397572,
-0.012923894450068474,
0.024476272985339165,
-0.0005961915594525635,
0.028520485386252403,
-0.0833459347486496,
-0.028520485386252403,
-0.007446624804288149,
0.014875666238367558,
-0.015183378010988235,
-0.031474519520998,
0.017231859266757965,
0.03228336200118065,
-0.014866874553263187,
-0.062105026096105576,
-0.01353052631020546,
-0.033777959644794464,
-0.022155247628688812,
-0.007701586000621319,
-0.025126863270998,
0.01856820657849312,
0.08735497295856476,
-0.013187647797167301,
0.018111035227775574,
0.03731225058436394,
0.006325674708932638,
0.11541829258203506,
-0.028784237802028656,
-0.012167803011834621,
0.08651096373796463,
0.0400552824139595,
0.045787513256073,
-0.040090449154376984,
-0.02183874323964119,
-0.04677218943834305,
0.018620958551764488,
-0.014392118901014328,
0.04466216638684273,
0.04047728702425957,
0.0014572350773960352,
-0.0070026409812271595,
-0.03762875497341156,
-0.0008011495810933411,
0.024282854050397873,
-0.0033276830799877644,
0.027676476165652275,
0.050746068358421326,
-0.048425041139125824,
0.004158504772931337,
-0.010189655236899853,
-0.02393118478357792,
0.018867127597332,
0.05123840644955635,
0.01874404214322567,
-0.03367245942354202,
-0.01563175767660141,
0.01869129203259945,
0.007235622499138117,
-0.028414983302354813,
0.06470739096403122,
0.004226640798151493,
-0.016001012176275253,
-0.06797792762517929,
0.018322037532925606,
0.05774431303143501,
0.03163276985287666,
0.038015592843294144,
-0.08200958371162415,
0.01299422886222601,
-0.04617435112595558,
0.02931174449622631,
0.05180107802152634,
0.03470988944172859,
0.020432062447071075,
0.014427286572754383,
0.03316253796219826,
0.0023452031891793013,
0.012211761437356472,
0.03780458867549896,
-0.02106506936252117,
0.022753087803721428,
-0.0020111161284148693,
-0.02827431634068489,
-0.003795844502747059,
0.06126101687550545,
0.03769908845424652
] |
719,685
|
ibm_platform_services.iam_identity_v1
|
create_service_id
|
Create a service ID.
Creates a service ID for an IBM Cloud account. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str account_id: ID of the account the service ID belongs to.
:param str name: Name of the Service Id. The name is not checked for
uniqueness. Therefore multiple names with the same value can exist. Access
is done via the UUID of the Service Id.
:param str description: (optional) The optional description of the Service
Id. The 'description' property is only available if a description was
provided during a create of a Service Id.
:param List[str] unique_instance_crns: (optional) Optional list of CRNs
(string array) which point to the services connected to the service ID.
:param ApiKeyInsideCreateServiceIdRequest apikey: (optional) Parameters for
the API key in the Create service Id V1 REST request.
:param str entity_lock: (optional) Indicates if the service ID is locked
for further write operations. False by default.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ServiceId` object
|
def create_service_id(
self,
account_id: str,
name: str,
*,
description: Optional[str] = None,
unique_instance_crns: Optional[List[str]] = None,
apikey: Optional['ApiKeyInsideCreateServiceIdRequest'] = None,
entity_lock: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a service ID.
Creates a service ID for an IBM Cloud account. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str account_id: ID of the account the service ID belongs to.
:param str name: Name of the Service Id. The name is not checked for
uniqueness. Therefore multiple names with the same value can exist. Access
is done via the UUID of the Service Id.
:param str description: (optional) The optional description of the Service
Id. The 'description' property is only available if a description was
provided during a create of a Service Id.
:param List[str] unique_instance_crns: (optional) Optional list of CRNs
(string array) which point to the services connected to the service ID.
:param ApiKeyInsideCreateServiceIdRequest apikey: (optional) Parameters for
the API key in the Create service Id V1 REST request.
:param str entity_lock: (optional) Indicates if the service ID is locked
for further write operations. False by default.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ServiceId` object
"""
if account_id is None:
raise ValueError('account_id must be provided')
if name is None:
raise ValueError('name must be provided')
if apikey is not None:
apikey = convert_model(apikey)
headers = {
'Entity-Lock': entity_lock,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_service_id',
)
headers.update(sdk_headers)
data = {
'account_id': account_id,
'name': name,
'description': description,
'unique_instance_crns': unique_instance_crns,
'apikey': apikey,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/serviceids/'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, name: str, *, description: Optional[str] = None, unique_instance_crns: Optional[List[str]] = None, apikey: Optional[ibm_platform_services.iam_identity_v1.ApiKeyInsideCreateServiceIdRequest] = None, entity_lock: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.022569287568330765,
-0.057274702936410904,
0.0026082892436534166,
-0.0005272855050861835,
0.004392006900161505,
-0.02401779405772686,
-0.014406761154532433,
0.02574034035205841,
-0.033335208892822266,
-0.00444828299805522,
-0.002835841616615653,
0.011636982671916485,
0.023176094517111778,
-0.05054111033678055,
0.016129309311509132,
0.05226365849375725,
0.05234195664525032,
-0.005128493532538414,
-0.02532927878201008,
-0.03695647418498993,
0.03836582973599434,
0.08276057988405228,
0.0006022187299095094,
-0.034862011671066284,
0.08620567619800568,
0.07054615020751953,
0.029224583879113197,
0.013163786381483078,
-0.0307905375957489,
-0.004455623682588339,
0.026131829246878624,
0.0525376982986927,
0.0146416537463665,
0.029537774622440338,
-0.0025495660956948996,
-0.0206705704331398,
-0.03664328157901764,
0.021042482927441597,
-0.07864995300769806,
0.03762200474739075,
0.01604122295975685,
0.02994883805513382,
0.02779565379023552,
-0.029439903795719147,
-0.027932673692703247,
0.00037069027894176543,
-0.006953807082027197,
-0.018458662554621696,
-0.01842930167913437,
0.023117370903491974,
-0.0006447319174185395,
0.0023905241396278143,
-0.04114539548754692,
-0.04752665013074875,
-0.00460487836971879,
0.02746288850903511,
0.022471414878964424,
-0.008319121785461903,
-0.03824838623404503,
-0.0017127603059634566,
-0.004445836413651705,
0.0329437218606472,
0.006821679417043924,
0.0208858884871006,
-0.04071475937962532,
0.04470793902873993,
-0.016413137316703796,
0.023117370903491974,
-0.027286717668175697,
0.04016667604446411,
0.06807977706193924,
-0.027502037584781647,
-0.00813316460698843,
-0.0014680802123621106,
0.04470793902873993,
0.03805264085531235,
0.037876471877098083,
-0.03952072188258171,
-0.019652701914310455,
0.006112107541412115,
-0.016129309311509132,
-0.03867902234196663,
0.004184028599411249,
-0.013379104435443878,
0.022765031084418297,
0.08064654469490051,
-0.010560390539467335,
0.007668272592127323,
-0.030731813982129097,
-0.016569731757044792,
0.010922517627477646,
0.023176094517111778,
-0.01701994426548481,
0.031064579263329506,
0.010609326884150505,
-0.023430561646819115,
0.03149521350860596,
-0.018380364403128624,
0.01809653639793396,
0.04999302700161934,
-0.0015977607108652592,
-0.020611846819519997,
-0.06886275112628937,
-0.030438197776675224,
0.04318113252520561,
-0.0788065493106842,
-0.020983761176466942,
0.03670200705528259,
0.015209311619400978,
-0.008480610325932503,
0.003393712220713496,
0.016824200749397278,
0.0015170163242146373,
-0.032904572784900665,
-0.05292918533086777,
0.0010741454316303134,
0.039696890860795975,
0.03141691908240318,
-0.039148807525634766,
0.024389706552028656,
-0.038953062146902084,
-0.09411372989416122,
0.007120189256966114,
-0.04044071584939957,
-0.005025728140026331,
-0.037856895476579666,
-0.05645257979631424,
0.06698361039161682,
0.04341602697968483,
-0.026445019990205765,
0.0014362718211486936,
-0.020083338022232056,
0.04705686494708061,
0.010501667857170105,
0.05257684737443924,
-0.005921257194131613,
0.010139540769159794,
0.05786193534731865,
-0.02380247414112091,
0.08518780767917633,
0.04298539087176323,
0.02047482691705227,
-0.05547386035323143,
0.053359825164079666,
-0.047683246433734894,
-0.009557202458381653,
-0.010041669011116028,
-0.010119966231286526,
-0.06322532147169113,
0.0188403632491827,
-0.052615996450185776,
-0.0078101870603859425,
-0.0164718609303236,
0.019877806305885315,
-0.028167566284537315,
-0.0693325400352478,
0.051872167736291885,
-0.0206705704331398,
0.034098610281944275,
-0.02166886441409588,
0.005867427680641413,
0.009875286370515823,
0.051206640899181366,
-0.05817512795329094,
-0.0020369612611830235,
-0.010501667857170105,
-0.02530970424413681,
0.016618669033050537,
0.022353969514369965,
-0.013242083601653576,
0.014993993565440178,
0.0353122241795063,
-0.01660888083279133,
-0.018380364403128624,
-0.0981852114200592,
-0.03734796121716499,
0.05625683441758156,
-0.02133609913289547,
-0.009880180470645428,
0.048113882541656494,
0.025603320449590683,
-0.0058331722393631935,
0.030614366754889488,
-0.016745902597904205,
0.03403988853096962,
0.011725068092346191,
0.024800769984722137,
0.07645761966705322,
0.04502112790942192,
0.006709126755595207,
0.015268034301698208,
-0.006102320272475481,
0.018360789865255356,
0.02542714960873127,
-0.011548898182809353,
0.0430636890232563,
0.00016362978203687817,
-0.044433895498514175,
-0.027188846841454506,
-0.06299042701721191,
0.028167566284537315,
0.021688438951969147,
0.05226365849375725,
0.003968710545450449,
0.07125082612037659,
-0.038953062146902084,
-0.008524652570486069,
-0.01572803407907486,
-0.0009083746699616313,
-0.034627120941877365,
-0.036447539925575256,
-0.06999807059764862,
-0.012556979432702065,
0.033452656120061874,
0.01583569310605526,
0.010384220629930496,
0.038620296865701675,
-0.025818638503551483,
0.03740668669342995,
-0.03805264085531235,
0.018713129684329033,
-0.013183360919356346,
0.01982887089252472,
-0.04329857975244522,
-0.03329605981707573,
-0.0025226513389497995,
0.01099102757871151,
0.006072958465665579,
-0.007986356504261494,
-0.0057793427258729935,
-0.03341350704431534,
0.00889656599611044,
-0.0357428602874279,
-0.008412100374698639,
-0.0628729835152626,
-0.10891198366880417,
0.03889434039592743,
-0.07038955390453339,
0.029439903795719147,
0.007296358700841665,
0.02714969776570797,
0.07931548357009888,
0.056295983493328094,
0.032904572784900665,
-0.04063646122813225,
-0.04494282975792885,
-0.03576243668794632,
0.042084965854883194,
-0.016295690089464188,
-0.015209311619400978,
-0.012605915777385235,
-0.04877941310405731,
-0.01497441902756691,
0.006249128375202417,
0.008862311020493507,
-0.04333772882819176,
-0.03456839546561241,
-0.020220357924699783,
-0.00952784065157175,
0.03932497650384903,
-0.030653515830636024,
0.014387186616659164,
-0.04936664551496506,
0.010824644938111305,
-0.03607562556862831,
-0.005118706729263067,
0.008578482083976269,
0.0307905375957489,
0.06400830298662186,
0.008304440416395664,
0.06455638259649277,
0.021708013489842415,
0.02985096536576748,
-0.019848445430397987,
-0.017538664862513542,
-0.0019562169909477234,
-0.006391042843461037,
-0.018908873200416565,
-0.040675610303878784,
-0.003963816910982132,
-0.0037925406359136105,
-0.011000814847648144,
0.025701191276311874,
-0.019153553992509842,
0.033159039914608,
-0.01626632921397686,
-0.008974864147603512,
-0.004032327327877283,
-0.036036476492881775,
0.03081011027097702,
-0.03609520196914673,
0.06248149648308754,
-0.03519477695226669,
-0.021296951919794083,
-0.054142799228429794,
0.015121227130293846,
-0.04404240846633911,
-0.0266994871199131,
0.008651886135339737,
-0.024154813960194588,
-0.03997093066573143,
0.08487461507320404,
-0.04592154920101166,
-0.06557425111532211,
-0.06334277242422104,
-0.03627137094736099,
-0.00008831420564092696,
-0.015874842181801796,
-0.04482538253068924,
-0.004382219631224871,
-0.046156443655490875,
0.034235630184412,
-0.023136945441365242,
-0.030947132036089897,
0.020533548668026924,
0.01929057389497757,
0.046156443655490875,
-0.03016415610909462,
0.028402458876371384,
0.040871355682611465,
-0.04212411493062973,
-0.03822880983352661,
-0.042280711233615875,
-0.03672157973051071,
0.07951122522354126,
0.034216057509183884,
0.006939126178622246,
0.033237338066101074,
0.04036242142319679,
0.002488396130502224,
-0.011529323644936085,
0.037856895476579666,
-0.030418623238801956,
-0.016520796343684196,
0.01083443220704794,
-0.11368813365697861,
0.038307107985019684,
-0.0366041362285614,
-0.02748246304690838,
0.039383698254823685,
-0.019877806305885315,
-0.03544924408197403,
-0.052733443677425385,
0.015199524350464344,
0.010805070400238037,
-0.0190556813031435,
0.057470448315143585,
-0.02251056395471096,
0.04094965383410454,
0.002235152292996645,
-0.016217393800616264,
-0.0230390727519989,
0.03188670426607132,
0.053712163120508194,
0.057666193693876266,
-0.04459049180150032,
-0.053594715893268585,
0.05981937795877457,
-0.01130421832203865,
-0.0083974190056324,
-0.04337687790393829,
-0.033022020012140274,
-0.0188403632491827,
-0.006909764371812344,
-0.03069266490638256,
-0.026092680171132088,
-0.02963564731180668,
-0.04106709733605385,
0.009640393778681755,
-0.03347222879528999,
-0.03944242373108864,
-0.0017249942757189274,
-0.021727588027715683,
-0.005818491335958242,
0.04044071584939957,
-0.003464669454842806,
-0.02530970424413681,
-0.010188477113842964,
-0.08283887803554535,
0.004007859155535698,
-0.02779565379023552,
-0.03145606815814972,
-0.01723526231944561,
-0.005901682656258345,
0.05465173348784447,
0.009116778150200844,
0.03296329453587532,
-0.037876471877098083,
0.010648475959897041,
-0.012958255596458912,
-0.013829316012561321,
-0.0122731514275074,
0.014338250271975994,
0.042593903839588165,
0.0376807264983654,
-0.06467382609844208,
-0.03607562556862831,
0.003868391504511237,
0.010384220629930496,
-0.003936901688575745,
0.025153107941150665,
0.050149623304605484,
0.07168146222829819,
0.037113070487976074,
-0.00015674815222155303,
0.012478682212531567,
0.014631866477429867,
-0.029968412593007088,
0.0048593454994261265,
0.05108919367194176,
-0.01584547944366932,
-0.020063763484358788,
-0.050580259412527084,
-0.08683205395936966,
-0.025368427857756615,
0.0426330491900444,
-0.09113842248916626,
0.10758092254400253,
-0.023195669054985046,
0.012390597723424435,
-0.036799877882003784,
0.014847185462713242,
0.0025813744869083166,
0.04975813254714012,
-0.040675610303878784,
0.07814101874828339,
0.010570177808403969,
0.050815150141716,
0.04094965383410454,
-0.04290709272027016,
-0.003868391504511237,
0.042045820504426956,
-0.004582857247442007,
-0.02908756397664547,
-0.009796989150345325,
0.0383266806602478,
0.0015402608551084995,
0.009625713340938091,
0.021688438951969147,
-0.0029337138403207064,
-0.024213537573814392,
-0.02855905517935753,
-0.034294355660676956,
-0.0164718609303236,
-0.025505447760224342,
0.018360789865255356,
-0.008142951875925064,
-0.017920365557074547,
0.06819722056388855,
-0.002860309788957238,
0.08847630023956299,
0.04717431217432022,
0.025564171373844147,
-0.006395936477929354,
0.004852005280554295,
-0.06541765481233597,
-0.017411431297659874,
0.005906576290726662,
0.00008617325511295348,
-0.030085857957601547,
0.006459553260356188,
-0.014631866477429867,
0.009782307781279087,
0.08005931228399277,
0.015170162543654442,
0.003021798562258482,
0.02231482043862343,
-0.006665084511041641,
0.01319314818829298,
-0.024859491735696793,
-0.002835841616615653,
-0.01028634887188673,
0.04361177235841751,
0.06882360577583313,
-0.0035894562024623156,
0.02327396534383297,
0.023880772292613983,
-0.015532289631664753,
-0.0314364917576313,
-0.014455696567893028,
0.06580914556980133,
0.00926358625292778,
0.00347445672377944,
-0.01201868336647749,
0.017538664862513542,
0.004636686760932207,
0.04286794364452362,
-0.0015659523196518421,
-0.0835435539484024,
-0.001795951509848237,
0.01789100468158722,
-0.00905316136777401,
-0.030536068603396416,
0.04020582512021065,
0.010628901422023773,
-0.0710550844669342,
0.03460754454135895,
-0.007492103148251772,
-0.008744864724576473,
-0.0417717769742012,
-0.01103996392339468,
-0.052968334406614304,
0.029322456568479538,
-0.003112330101430416,
0.02423311211168766,
0.005955512169748545,
-0.05480832979083061,
-0.0030976494308561087,
-0.026425445452332497,
-0.008862311020493507,
-0.037034772336483,
-0.014308889396488667,
-0.003454882185906172,
-0.03341350704431534,
0.011421664617955685,
0.0482313297688961,
-0.025662042200565338,
-0.002357492223381996,
-0.019535254687070847,
-0.06322532147169113,
-0.02164928987622261,
-0.005059983115643263,
0.016873136162757874,
0.06745339184999466,
-0.002215577755123377,
-0.0077612511813640594,
-0.03176925703883171,
-0.06643552333116531,
0.030555643141269684,
0.04666537791490555,
-0.029694370925426483,
-0.021042482927441597,
-0.022588862106204033,
-0.03676072880625725,
-0.029890114441514015,
-0.03310031816363335,
-0.05958448350429535,
-0.04145858809351921,
-0.021042482927441597,
-0.016579519957304,
0.07038955390453339,
0.0726601853966713,
-0.04439474642276764,
-0.04161518067121506,
-0.03456839546561241,
0.027736930176615715,
0.011176984757184982,
0.05300748348236084,
0.0008606620831415057,
-0.031514789909124374,
0.06486957520246506,
-0.013271445408463478,
0.015219098888337612,
0.017382070422172546,
-0.01039400789886713,
0.040127526968717575,
0.016442498192191124,
-0.05774449184536934,
-0.01788121834397316,
-0.01314421184360981,
-0.022001629695296288,
0.03449009731411934,
0.005373173858970404,
-0.025055237114429474,
-0.024056941270828247,
0.026033956557512283,
0.021845035254955292,
-0.022001629695296288,
0.005045302677899599,
0.01820419542491436,
-0.028363309800624847,
-0.0068510412238538265,
0.017538664862513542,
0.006112107541412115,
-0.06083724647760391,
0.01660888083279133,
0.02973351813852787,
-0.010922517627477646,
0.010276561602950096,
-0.0002966745523735881,
-0.017284197732806206,
-0.025290129706263542,
0.021590566262602806,
-0.03805264085531235,
-0.015199524350464344,
0.028637351468205452,
-0.027541186660528183,
-0.032787125557661057,
0.057470448315143585,
0.008045080117881298,
-0.03901178762316704,
0.032571807503700256,
0.02251056395471096,
0.02025950700044632,
-0.038620296865701675,
0.09693244844675064,
0.06972402334213257,
0.004110624548047781,
0.008045080117881298,
0.0008374174358323216,
0.029537774622440338,
0.040675610303878784,
0.01852717250585556,
0.03881604224443436,
0.015463778749108315,
-0.010638688690960407,
-0.03629094362258911,
-0.04384666308760643,
-0.006156149785965681,
-0.03384414315223694,
0.003513605333864689,
-0.07626187801361084,
0.033022020012140274,
-0.025603320449590683,
-0.021825460717082024,
0.01747015491127968,
0.034235630184412,
-0.01895781047642231,
0.04740920662879944,
-0.0027061612345278263,
0.013183360919356346,
-0.04255475476384163,
-0.01841951347887516,
-0.006625935435295105,
-0.03384414315223694,
0.029792241752147675,
0.008299547247588634,
-0.019858231768012047,
-0.04717431217432022,
-0.03296329453587532,
-0.04791814088821411,
0.06291213631629944,
-0.08393504470586777,
-0.00211281212978065,
0.07626187801361084,
0.03263052925467491,
0.03869859501719475,
0.038072213530540466,
0.005485726520419121,
0.056609176099300385,
0.010795283131301403,
0.02413523942232132,
-0.03537094593048096,
0.03124074824154377,
-0.023782899603247643,
0.06283383816480637,
-0.019447170197963715,
-0.09254778176546097,
-0.006513382773846388,
0.03124074824154377,
-0.08315206319093704,
0.0434943251311779,
-0.02779565379023552,
-0.058762360364198685,
0.030301176011562347,
0.024311408400535583,
-0.010472306050360203,
-0.014798249118030071,
-0.034294355660676956,
0.02693437971174717,
0.04662622883915901,
0.06757084280252457,
0.025505447760224342,
-0.051754724234342575,
-0.04278964549303055,
-0.055630456656217575,
0.07054615020751953,
-0.02724757045507431,
0.0417717769742012,
0.047683246433734894,
-0.019691849127411842,
-0.017382070422172546,
-0.03511647880077362,
0.042163264006376266,
0.0031025430653244257,
0.015424629673361778,
-0.013623785227537155,
0.007271890994161367,
0.07587038725614548,
0.03781774640083313,
0.015532289631664753,
-0.019779935479164124,
0.04157603159546852,
0.014338250271975994,
0.0030413728673011065,
-0.0791197419166565,
0.060367461293935776,
-0.04329857975244522,
-0.04212411493062973,
-0.029126713052392006,
0.01755823940038681,
0.007423592731356621,
-0.014465483836829662,
-0.005896789021790028,
-0.04466878995299339,
0.02812841720879078,
-0.0030095644760876894,
-0.031827978789806366,
-0.02478119544684887,
0.018488023430109024,
-0.03578200936317444,
-0.009038480930030346,
0.003107436466962099,
0.03480328992009163,
-0.008108696900308132,
0.06807977706193924,
0.017147177830338478,
-0.05449514091014862,
0.08189930766820908,
-0.022353969514369965,
0.038170088082551956,
0.04921004921197891,
0.06486957520246506,
0.0004902776563540101,
-0.00028979292255826294,
0.020416103303432465,
-0.03319818899035454,
-0.0018216429743915796,
0.0538296103477478,
0.0662006363272667,
0.030673090368509293,
0.0226084366440773,
-0.0036579666193574667,
-0.05825342610478401,
-0.05610024183988571,
-0.0146416537463665,
0.007854229770600796,
0.032278191298246384,
0.03609520196914673,
0.04404240846633911,
-0.01960376463830471,
0.018987171351909637,
-0.1088336855173111,
0.016197819262742996,
0.026679912582039833,
-0.013535699807107449,
0.01940802112221718,
-0.04322028160095215,
-0.018908873200416565,
-0.012077406980097294,
-0.009434862062335014,
0.06138532981276512,
0.03513605520129204,
0.0637342557311058,
-0.013291019946336746,
0.04662622883915901,
0.0640474483370781,
0.02025950700044632,
0.011049751192331314,
-0.04854452237486839,
0.013946762308478355,
0.01819440722465515,
-0.06670957058668137,
-0.007893377915024757,
-0.004240305162966251,
-0.016217393800616264,
-0.03568413853645325,
0.0559827946126461,
0.03081011027097702,
0.011764216236770153,
0.008798694238066673,
-0.030242454260587692,
0.029479051008820534,
0.0042819008231163025,
-0.00041626192978583276,
0.013643358834087849,
0.024409281089901924,
0.037034772336483
] |
719,686
|
ibm_platform_services.iam_identity_v1
|
create_trusted_profile_assignment
|
Create assignment.
Create an assigment for a trusted profile template.
:param str template_id: ID of the template to assign.
:param int template_version: Version of the template to assign.
:param str target_type: Type of target to deploy to.
:param str target: Identifier of target to deploy to.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
|
def create_trusted_profile_assignment(
self,
template_id: str,
template_version: int,
target_type: str,
target: str,
**kwargs,
) -> DetailedResponse:
"""
Create assignment.
Create an assigment for a trusted profile template.
:param str template_id: ID of the template to assign.
:param int template_version: Version of the template to assign.
:param str target_type: Type of target to deploy to.
:param str target: Identifier of target to deploy to.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
"""
if template_id is None:
raise ValueError('template_id must be provided')
if template_version is None:
raise ValueError('template_version must be provided')
if target_type is None:
raise ValueError('target_type must be provided')
if target is None:
raise ValueError('target must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_trusted_profile_assignment',
)
headers.update(sdk_headers)
data = {
'template_id': template_id,
'template_version': template_version,
'target_type': target_type,
'target': target,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/profile_assignments/'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, template_version: int, target_type: str, target: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.019736550748348236,
0.01704520173370838,
-0.0394006073474884,
-0.03593900799751282,
0.008472761139273643,
0.008114821277558804,
-0.05110841989517212,
0.0035069077275693417,
-0.03994431346654892,
-0.01750735379755497,
0.008404797874391079,
0.02729407139122486,
-0.0018338770605623722,
-0.019790921360254288,
-0.014643831178545952,
-0.014924746938049793,
0.08684807270765305,
-0.03392729163169861,
0.017661403864622116,
-0.03637397289276123,
0.02347000129520893,
-0.009705162607133389,
0.012668363749980927,
0.06665842980146408,
0.00034859523293562233,
-0.03766074404120445,
0.0070455316454172134,
-0.016320260241627693,
-0.0069005428813397884,
0.061366353183984756,
-0.016311198472976685,
0.0280190147459507,
-0.008228093385696411,
0.09467744827270508,
0.03863941505551338,
0.009650791995227337,
-0.06970319151878357,
0.05868406593799591,
-0.08025109767913818,
-0.018386345356702805,
-0.04041552543640137,
0.026097917929291725,
-0.03365543857216835,
-0.003239585319533944,
-0.015133167617022991,
0.008051388897001743,
-0.02892519161105156,
-0.08431077003479004,
0.007362693548202515,
-0.05875656008720398,
-0.006882419344037771,
0.03534093126654625,
-0.03541342541575432,
0.02678661234676838,
-0.058792807161808014,
0.02115018665790558,
0.014063877984881401,
0.0053147319704294205,
-0.012813352979719639,
-0.04610631987452507,
0.024140574038028717,
0.011300035752356052,
-0.047048743814229965,
-0.020135268568992615,
-0.04005305469036102,
-0.01568593643605709,
-0.06814455986022949,
-0.01777014508843422,
0.012840538285672665,
0.011780310422182083,
0.039581842720508575,
-0.021548906341195107,
-0.011490332894027233,
-0.021802635863423347,
0.08344084024429321,
0.025119245052337646,
-0.004163886420428753,
0.0009061776800081134,
0.0033324684482067823,
0.008305118419229984,
-0.034344132989645004,
-0.046795014292001724,
-0.003495580516755581,
-0.025209862738847733,
0.02379622682929039,
0.010837885551154613,
-0.005138027481734753,
-0.05893779546022415,
-0.05857532471418381,
0.017543600872159004,
0.04596133157610893,
0.01666460745036602,
-0.00013061701611150056,
0.013565479777753353,
0.04770119488239288,
0.007018346339464188,
0.037189532071352005,
-0.03856692090630531,
-0.04433021321892738,
0.00061166996601969,
-0.014770695939660072,
-0.0330754853785038,
-0.014834128320217133,
-0.017344240099191666,
0.04773744195699692,
0.003384573617950082,
0.01387358084321022,
0.07140680402517319,
-0.019863415509462357,
0.015550008974969387,
0.018467901274561882,
-0.03325672075152397,
-0.05400818958878517,
0.00027567625511437654,
0.02885269746184349,
0.0028023545164614916,
-0.0037221249658614397,
-0.028055261820554733,
-0.011499394662678242,
-0.020642727613449097,
0.03207869082689285,
-0.024466797709465027,
-0.013592665083706379,
0.04331529513001442,
-0.0352865606546402,
0.0025418284349143505,
-0.0224913302809,
-0.010937565006315708,
0.015042549930512905,
-0.06535353511571884,
-0.06346868723630905,
-0.030973153188824654,
-0.06491857022047043,
0.03177059069275856,
-0.00008233473636209965,
-0.019935909658670425,
-0.050347231328487396,
0.013991383835673332,
0.05237707123160362,
-0.019247213378548622,
0.03885689750313759,
-0.01371046807616949,
-0.00026618968695402145,
0.026297276839613914,
-0.024013709276914597,
-0.0516158826649189,
0.0016299871494993567,
0.06763710081577301,
-0.015169414691627026,
0.031534984707832336,
0.003941873088479042,
-0.03445287421345711,
0.00064055435359478,
0.006329650990664959,
-0.008549786172807217,
0.013701406307518482,
0.05531308799982071,
-0.0123240165412426,
0.029976358637213707,
-0.04037927836179733,
-0.02399558573961258,
-0.02203824184834957,
0.045743849128484726,
0.06379491090774536,
0.03612024337053299,
-0.03622898459434509,
0.060133952647447586,
-0.014562275260686874,
-0.0034706606529653072,
-0.04331529513001442,
-0.0029201575089246035,
-0.016583051532506943,
0.009030060842633247,
0.0051516201347112656,
0.0035182349383831024,
-0.040488019585609436,
0.09105273336172104,
-0.04070550203323364,
-0.014897561632096767,
0.006995691917836666,
-0.0035069077275693417,
-0.01939220167696476,
-0.012006854638457298,
0.007253952324390411,
0.03352857381105423,
0.0017987627070397139,
0.0020830759312957525,
0.09257511049509048,
-0.029360156506299973,
0.032459285110235214,
0.011136923916637897,
-0.05292077735066414,
0.004259034991264343,
0.043532777577638626,
0.03496033698320389,
-0.06325120478868484,
0.02704034186899662,
-0.01881224848330021,
-0.01667366921901703,
0.03142624348402023,
-0.021367669105529785,
-0.029595762491226196,
0.008862418122589588,
0.004829926881939173,
0.05799537152051926,
0.009995140135288239,
0.010239807888865471,
-0.014036692678928375,
0.0017840373329818249,
-0.0494048073887825,
0.008518069982528687,
0.009397062472999096,
0.008277933113276958,
0.04596133157610893,
-0.02404995635151863,
-0.04915107786655426,
0.06303372234106064,
-0.04041552543640137,
0.014390101656317711,
-0.0392918661236763,
-0.019156595692038536,
-0.0034412096720188856,
0.005215052515268326,
-0.007557522039860487,
0.022980665788054466,
-0.01608465425670147,
-0.024231191724538803,
0.006121230311691761,
-0.05121716484427452,
0.0438227541744709,
0.07698885351419449,
-0.007842968218028545,
-0.00653354125097394,
0.008604156784713268,
-0.027783408761024475,
-0.055349335074424744,
-0.006216378882527351,
-0.048933595418930054,
-0.016483372077345848,
0.0583578422665596,
0.007611892651766539,
0.043532777577638626,
0.03691767901182175,
0.002979059237986803,
-0.055530570447444916,
-0.0010755195980891585,
-0.019500944763422012,
0.013212070800364017,
0.010973812080919743,
-0.03612024337053299,
0.06538978219032288,
-0.02847210317850113,
-0.05611052364110947,
0.044837672263383865,
-0.022871924564242363,
-0.000854638812597841,
0.051579635590314865,
-0.051978353410959244,
0.018449777737259865,
-0.008699305355548859,
-0.034724727272987366,
0.002301691332831979,
-0.035050954669713974,
-0.032640520483255386,
-0.029396403580904007,
-0.076481394469738,
-0.06538978219032288,
0.060786399990320206,
-0.021113939583301544,
0.01835009828209877,
0.0370807908475399,
0.05241331830620766,
0.05531308799982071,
-0.004657753277570009,
-0.017552662640810013,
-0.016247766092419624,
0.029414527118206024,
0.053718212991952896,
0.0054597207345068455,
-0.03677269071340561,
0.022618195042014122,
-0.016175271943211555,
0.039074383676052094,
0.03860316798090935,
0.039328113198280334,
-0.00442667817696929,
-0.043279048055410385,
0.021512659266591072,
0.04991226643323898,
0.0029360156040638685,
-0.059517752379179,
0.06789083033800125,
0.016583051532506943,
-0.02218323014676571,
-0.010837885551154613,
0.01293115597218275,
0.004562604706734419,
0.008744615130126476,
0.034905966371297836,
0.004671345930546522,
0.029795123264193535,
0.014553213492035866,
-0.02560858242213726,
-0.031226882711052895,
-0.036482714116573334,
-0.013447676785290241,
0.007041000761091709,
-0.015504700131714344,
-0.005754228215664625,
0.006089514121413231,
0.010239807888865471,
0.00859509501606226,
0.014453534036874771,
0.06259875744581223,
0.0230169128626585,
0.013538294471800327,
0.015767492353916168,
-0.025463592261075974,
0.029160797595977783,
0.008925850503146648,
-0.05542182922363281,
-0.026496635749936104,
0.05629175901412964,
-0.01744392141699791,
0.05629175901412964,
-0.03289425000548363,
0.005613770801573992,
0.02341563068330288,
0.03878440335392952,
0.036790814250707626,
-0.08561566472053528,
-0.0008874877821654081,
0.028254620730876923,
-0.0036269761621952057,
-0.00481633422896266,
-0.008735553361475468,
-0.00852260086685419,
0.024720527231693268,
0.022473206743597984,
0.029215168207883835,
-0.0050021009519696236,
-0.041212961077690125,
0.018794124945998192,
0.010221684351563454,
0.04404023662209511,
-0.0015303075779229403,
-0.027511553838849068,
-0.005292077548801899,
0.01899348385632038,
-0.058792807161808014,
-0.0830058753490448,
0.04744746536016464,
0.0314987376332283,
0.03300299122929573,
-0.003040226176381111,
-0.061620082706213,
0.008572440594434738,
0.012215275317430496,
-0.03441662713885307,
-0.008667589165270329,
-0.04559886083006859,
-0.024412427097558975,
-0.0038875022437423468,
-0.006578850094228983,
0.01776108331978321,
0.006139353848993778,
0.0021601009648293257,
-0.017298931255936623,
-0.04954979568719864,
-0.02930578589439392,
0.005192398093640804,
-0.06335994601249695,
-0.0324411615729332,
0.025445468723773956,
-0.0394006073474884,
0.0045716664753854275,
-0.0716242864727974,
0.012487128376960754,
-0.05310201272368431,
-0.03599337860941887,
0.03320235013961792,
-0.02560858242213726,
-0.02787402644753456,
0.03532280772924423,
-0.007063655182719231,
-0.03805946186184883,
0.02704034186899662,
-0.01588529534637928,
0.009460494853556156,
0.04440270736813545,
0.04001680761575699,
-0.028780203312635422,
-0.0040823305025696754,
-0.031027523800730705,
0.0626712515950203,
0.009451433084905148,
-0.11040868610143661,
0.020153392106294632,
0.030447570607066154,
0.049513548612594604,
0.012668363749980927,
0.010602278634905815,
0.04864361882209778,
-0.004793679807335138,
-0.01393701322376728,
-0.0033528574276715517,
0.083223357796669,
-0.015522823669016361,
0.011091615073382854,
-0.0005357775371521711,
0.01719019003212452,
0.012632116675376892,
-0.04193790256977081,
-0.04164792597293854,
-0.004050614312291145,
0.07619141787290573,
-0.07365412265062332,
0.03548591956496239,
-0.0341266505420208,
-0.039074383676052094,
0.04817240685224533,
0.010946626774966717,
0.01494287047535181,
0.014988179318606853,
-0.033891044557094574,
0.016945522278547287,
0.004551277495920658,
0.0038127426523715258,
0.021440163254737854,
-0.03853067383170128,
0.012133719399571419,
0.006610566284507513,
0.05777788907289505,
0.028435856103897095,
0.028490226715803146,
0.03532280772924423,
0.013538294471800327,
0.0549868606030941,
-0.015386897139251232,
0.011272850446403027,
0.013012711890041828,
-0.0010256798705086112,
-0.013864519074559212,
0.017144881188869476,
-0.014480719342827797,
0.008105759508907795,
-0.11512081325054169,
-0.07619141787290573,
-0.046976249665021896,
0.046976249665021896,
0.0048661744222044945,
0.03675456717610359,
0.06230877712368965,
-0.00240816711448133,
-0.029323909431695938,
-0.03334733843803406,
-0.04005305469036102,
-0.0051652127876877785,
0.03209681436419487,
-0.04197414964437485,
-0.004501437768340111,
-0.07430656999349594,
0.048462383449077606,
0.06915947794914246,
0.005622832570225,
-0.026732241734862328,
0.014381039887666702,
0.025499839335680008,
-0.029686380177736282,
0.040306784212589264,
-0.02885269746184349,
-0.010982873849570751,
0.0023402038495987654,
0.05853907763957977,
-0.01400950737297535,
0.02698597125709057,
0.013973260298371315,
0.006465577986091375,
0.018458839505910873,
0.008681181818246841,
0.014453534036874771,
0.04099547863006592,
0.006877888459712267,
0.0640486404299736,
-0.002232595346868038,
-0.033166103065013885,
0.017462044954299927,
-0.0037357176188379526,
-0.026732241734862328,
0.06422987580299377,
-0.004254504106938839,
-0.0785837322473526,
0.011145985685288906,
0.04809991270303726,
-0.09938956797122955,
-0.04443895444273949,
0.033419832587242126,
-0.012677425518631935,
0.0018384079448878765,
-0.035431548953056335,
0.04875236004590988,
-0.005998896434903145,
0.08257091045379639,
-0.012523375451564789,
0.08402079343795776,
0.0663684532046318,
-0.02263631857931614,
0.04668627306818962,
-0.03001260571181774,
0.08141100406646729,
0.018495086580514908,
0.04991226643323898,
-0.01245088130235672,
-0.0022518516052514315,
0.03253177925944328,
0.10083945095539093,
0.06154758855700493,
0.013737653382122517,
-0.015477514825761318,
-0.026569129899144173,
0.0195915624499321,
0.021947624161839485,
0.005921871401369572,
0.007525805849581957,
0.020842086523771286,
0.006741961929947138,
-0.021621400490403175,
-0.006669467780739069,
-0.010058572515845299,
0.049114830791950226,
0.012478066608309746,
0.0022835677955299616,
-0.015305341221392155,
-0.06303372234106064,
-0.010874132625758648,
0.019954033195972443,
-0.03651896119117737,
-0.027076588943600655,
0.03398166224360466,
-0.0347609743475914,
0.0020524924620985985,
-0.012097472324967384,
-0.06723838299512863,
-0.021766388788819313,
-0.02477489784359932,
-0.020117145031690598,
-0.03182496130466461,
0.003953200299292803,
-0.04008930176496506,
-0.03635584935545921,
0.041792914271354675,
-0.005572992842644453,
0.01365609746426344,
0.058466583490371704,
-0.02716720663011074,
0.055095601826906204,
0.028544597327709198,
-0.030066976323723793,
0.014843190088868141,
0.04306156560778618,
-0.009487680159509182,
-0.06738337129354477,
-0.009238481521606445,
0.0057451664470136166,
-0.01756172440946102,
0.021385792642831802,
-0.01821417175233364,
0.05023849010467529,
-0.04538137838244438,
-0.03834943845868111,
0.012179028242826462,
0.020715221762657166,
-0.013819209299981594,
-0.0224913302809,
-0.04447520151734352,
-0.05810411274433136,
0.044257719069719315,
0.035703402012586594,
0.03425351530313492,
0.0648823231458664,
-0.023035036399960518,
0.06567975878715515,
0.05408068373799324,
-0.03198807314038277,
-0.038240697234869,
0.030121346935629845,
0.00478461803868413,
-0.01620245724916458,
0.01568593643605709,
-0.006606035400182009,
-0.07582894712686539,
0.05966274067759514,
-0.018168862909078598,
-0.0063069965690374374,
0.034924089908599854,
0.03428976237773895,
0.01031230203807354,
-0.019790921360254288,
0.009016468189656734,
-0.0504559725522995,
-0.007176927290856838,
0.014145433902740479,
-0.040560513734817505,
0.07358162850141525,
0.057741641998291016,
-0.07314666360616684,
-0.004399492871016264,
0.012079348787665367,
-0.02950514480471611,
-0.04298906773328781,
0.051144666969776154,
-0.0042137261480093,
0.0006734033231623471,
-0.0809035450220108,
0.022346341982483864,
-0.017480168491601944,
-0.06756460666656494,
0.07539398223161697,
-0.05219583585858345,
-0.0060079582035541534,
-0.036609578877687454,
0.034543491899967194,
-0.010819762013852596,
0.0897478386759758,
-0.03267676755785942,
0.05429816618561745,
0.031027523800730705,
-0.05458814278244972,
-0.01711769588291645,
-0.033039238303899765,
-0.035504043102264404,
0.006325120106339455,
-0.008413859643042088,
-0.019609685987234116,
0.08228093385696411,
0.014290422201156616,
0.07202300429344177,
0.016129963099956512,
0.10105693340301514,
-0.017208313569426537,
-0.03512344881892204,
-0.06071390584111214,
0.0061574773862957954,
-0.0011633055983111262,
0.011943422257900238,
0.07807627320289612,
0.00047574329073540866,
-0.02173014171421528,
-0.044257719069719315,
0.02827274426817894,
-0.02321627177298069,
0.00632058922201395,
0.017280807718634605,
-0.01520566176623106,
-0.017172066494822502,
0.04617881402373314,
-0.008703837171196938,
0.006094045005738735,
-0.03196994960308075,
-0.0007000222685746849,
-0.004974915646016598,
0.007584707345813513,
0.033764179795980453,
0.029613886028528214,
0.058067865669727325,
0.05226833000779152,
-0.0449826605618,
-0.012958341278135777,
-0.05143464729189873,
0.06923197209835052,
0.043351542204618454,
-0.03390916809439659,
0.005437066312879324,
0.011173170991241932,
0.03834943845868111,
-0.03845817968249321,
-0.04037927836179733,
-0.05194210633635521,
-0.0035182349383831024,
0.0067374310456216335,
0.06502731144428253,
-0.04777368903160095,
-0.007453311700373888,
-0.023959338665008545,
-0.032839879393577576,
-0.027729038149118423,
0.04527263715863228,
-0.011735000647604465,
-0.04915107786655426,
-0.04784618318080902,
0.006388552486896515,
-0.026931600645184517,
-0.03354669734835625,
0.012106534093618393,
-0.03438038006424904,
-0.057415418326854706,
-0.02832711488008499,
-0.019410325214266777,
-0.0030311644077301025,
-0.004515030421316624,
-0.01815980114042759,
-0.02716720663011074,
-0.04037927836179733,
0.01595778949558735,
-0.047556206583976746,
0.04922357201576233,
-0.01345673855394125,
0.008989282883703709,
0.09627231955528259,
-0.10025949776172638,
-0.017915133386850357,
0.024738650768995285,
0.05118091404438019,
-0.021222680807113647,
0.005292077548801899,
-0.014281360432505608,
-0.08242592215538025,
0.028218373656272888,
0.0014260971220210195,
0.023705609142780304,
0.030048852786421776,
0.045743849128484726,
-0.006963975727558136,
-0.035957131534814835,
0.01829572767019272,
-0.0021929501090198755,
-0.014661954715847969,
-0.03312985599040985,
0.034470997750759125,
0.005006631836295128,
0.03715328499674797,
0.0494048073887825,
-0.050021007657051086,
-0.03441662713885307,
-0.007022877223789692,
0.0037515757139772177,
-0.00008665324276080355,
0.004102719482034445,
0.021186433732509613,
0.030248211696743965,
0.004256769549101591,
0.01763421855866909,
-0.007938116788864136,
-0.06321495771408081,
-0.0437140129506588,
0.027529677376151085,
0.02218323014676571,
-0.021947624161839485,
0.05121716484427452,
-0.008934912271797657,
0.03853067383170128,
0.02133142203092575,
-0.021240804344415665,
-0.0036858776584267616,
0.05563931167125702,
-0.03586651384830475,
0.05147089436650276,
-0.002392309019342065,
-0.047229982912540436,
-0.01581280119717121,
-0.017797330394387245,
-0.004938668571412563,
0.02742093615233898,
-0.024358056485652924,
-0.058974042534828186,
0.012949279509484768,
0.01494287047535181,
0.028435856103897095
] |
719,687
|
ibm_platform_services.iam_identity_v1
|
delete_account_settings_assignment
|
Delete assignment.
Delete an account settings template assignment. This removes any IAM resources
created by this assignment in child accounts.
:param str assignment_id: ID of the Assignment Record.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ExceptionResponse` object
|
def delete_account_settings_assignment(
self,
assignment_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete assignment.
Delete an account settings template assignment. This removes any IAM resources
created by this assignment in child accounts.
:param str assignment_id: ID of the Assignment Record.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ExceptionResponse` object
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_account_settings_assignment',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.014083288609981537,
0.05188865214586258,
0.01194233912974596,
-0.07898927479982376,
0.020198995247483253,
0.02527584321796894,
-0.07349687814712524,
0.04010891541838646,
-0.007877246476709843,
-0.031689658761024475,
0.014589166268706322,
0.007877246476709843,
0.014625300653278828,
-0.01279149204492569,
-0.003182064276188612,
-0.042710576206445694,
-0.02043386735022068,
0.0386996828019619,
0.010108530521392822,
-0.033713169395923615,
0.020271262153983116,
0.031653523445129395,
-0.005817599594593048,
0.035501811653375626,
-0.0038979724049568176,
-0.012574687600135803,
0.03430938348174095,
-0.0032159402035176754,
0.014399462379515171,
0.04487862437963486,
-0.014670468866825104,
0.05882640928030014,
-0.059657495468854904,
0.0810127854347229,
-0.007136496249586344,
-0.021337220445275307,
-0.019241439178586006,
0.03418291360139847,
-0.09279251843690872,
0.012077842839062214,
-0.04083159938454628,
0.03906102478504181,
0.02283678762614727,
-0.01976538449525833,
-0.027552295476198196,
-0.015320883132517338,
0.023631740361452103,
-0.0359354205429554,
0.0005030552274547517,
-0.05539366602897644,
0.02558298408985138,
-0.01335157174617052,
-0.03490559756755829,
0.059729766100645065,
0.02283678762614727,
0.06673979014158249,
0.0053794728592038155,
-0.029593875631690025,
0.01070474460721016,
-0.06374065577983856,
0.034490056335926056,
-0.0008706073858775198,
-0.05026261508464813,
-0.04643239453434944,
-0.023035526275634766,
-0.05846506729722023,
-0.03732658550143242,
-0.011508729308843613,
-0.0021703080274164677,
-0.017832206562161446,
-0.03570054844021797,
-0.025492649525403976,
0.0143452612683177,
-0.027154820039868355,
0.012014607898890972,
-0.009458116255700588,
-0.002360012149438262,
-0.018464555963873863,
0.022041836753487587,
-0.02419181913137436,
-0.04260217398405075,
-0.035881221294403076,
0.03112957812845707,
-0.009047090075910091,
0.02209603786468506,
0.006327994633466005,
-0.013234135694801807,
-0.028437582775950432,
0.0020698097068816423,
-0.0007204248104244471,
0.06572803854942322,
-0.006892590783536434,
-0.011580998077988625,
-0.017389563843607903,
0.049720603972673416,
0.04849204048514366,
0.03416484594345093,
-0.0293590035289526,
-0.07385822385549545,
-0.008274721913039684,
-0.0266850758343935,
-0.05712810531258583,
0.008527661673724651,
-0.008166319690644741,
0.033351827412843704,
-0.050407152622938156,
0.031219912692904472,
-0.02251158095896244,
-0.0024819651152938604,
0.007104878779500723,
0.042746711522340775,
0.009909792803227901,
-0.020650671795010567,
-0.013188968412578106,
0.06453561037778854,
0.02670314349234104,
-0.08773373812437057,
-0.10688484460115433,
0.02670314349234104,
-0.07588173449039459,
0.005406573414802551,
0.01036147028207779,
-0.02867245487868786,
0.0436500646173954,
0.046902138739824295,
0.031039241701364517,
-0.038229938596487045,
-0.028491783887147903,
-0.019819585606455803,
-0.030714035034179688,
-0.04162655025720596,
0.008545728400349617,
-0.04354166239500046,
-0.028184643015265465,
0.0027010284829884768,
0.05579113960266113,
0.014029087498784065,
0.03589928522706032,
-0.010659576393663883,
-0.027443893253803253,
0.04086773470044136,
0.03956690430641174,
-0.003769244533032179,
0.0158719290047884,
0.01126482430845499,
-0.033008553087711334,
0.021626293659210205,
0.030587565153837204,
-0.00863154698163271,
0.010415671393275261,
-0.021879233419895172,
0.00354792270809412,
-0.026468271389603615,
-0.011806836351752281,
-0.032303936779499054,
0.034471988677978516,
0.0012703415704891086,
0.033062756061553955,
0.012421117164194584,
-0.002353237010538578,
0.001787511631846428,
0.024824166670441628,
0.05264746770262718,
0.010090463794767857,
0.06262049823999405,
-0.04473408684134483,
0.006689336150884628,
-0.01662171259522438,
-0.0019806036725640297,
-0.07689349353313446,
-0.03418291360139847,
0.012556619942188263,
-0.02036159858107567,
-0.0064544640481472015,
-0.030027486383914948,
-0.0010885415831580758,
0.04769708961248398,
-0.0009349713800475001,
-0.011300957761704922,
-0.02104814723134041,
-0.0019659241661429405,
-0.02567332051694393,
0.006355095189064741,
0.029593875631690025,
0.05253906548023224,
-0.00972008891403675,
-0.011571964249014854,
0.08072371035814285,
-0.02355947159230709,
-0.00864961463958025,
0.007091328501701355,
-0.05673062801361084,
-0.0024977736175060272,
0.030714035034179688,
0.01736246421933174,
-0.05402056872844696,
0.045095428824424744,
-0.11664106696844101,
0.031653523445129395,
-0.005234936252236366,
-0.038591280579566956,
-0.03765179216861725,
0.03833834081888199,
0.035881221294403076,
0.04393913596868515,
0.04357779398560524,
0.07898927479982376,
-0.045492906123399734,
-0.022204440087080002,
0.06522215902805328,
-0.022222507745027542,
-0.017389563843607903,
0.03519466891884804,
0.0146795017644763,
-0.004963930230587721,
0.0038776469882577658,
0.04953993111848831,
-0.040325719863176346,
0.04018118605017662,
-0.03902489319443703,
-0.08701105415821075,
0.02314392849802971,
-0.007922414690256119,
-0.015980331227183342,
0.025149375200271606,
-0.053514689207077026,
-0.03841061145067215,
0.03309888765215874,
-0.06121126562356949,
-0.017488932237029076,
0.08245815336704254,
0.0293590035289526,
0.04711894318461418,
-0.006942275445908308,
0.07078681886196136,
-0.049359261989593506,
-0.049684468656778336,
-0.10168152302503586,
-0.02903379686176777,
-0.010614409111440182,
-0.020668739452958107,
0.02175276353955269,
0.033008553087711334,
0.043108049780130386,
-0.04361392930150032,
0.04245763644576073,
-0.02460736222565174,
0.022981325164437294,
0.02149982377886772,
-0.11512342840433121,
0.04018118605017662,
-0.07703802734613419,
-0.031328316777944565,
0.005094916559755802,
-0.03257494419813156,
0.03044302947819233,
0.0057453312911093235,
0.0030465612653642893,
0.02312586084008217,
-0.01299022976309061,
0.0008785117533989251,
0.0005078543326817453,
-0.034761060029268265,
-0.07093135267496109,
0.06966666132211685,
-0.03989211097359657,
-0.03674843907356262,
0.055212993174791336,
0.011472595855593681,
0.03562828153371811,
0.03492366522550583,
0.005514976102858782,
0.07230444997549057,
0.031653523445129395,
-0.06663139164447784,
0.018446488305926323,
0.009810424409806728,
-0.00510846683755517,
0.02943127229809761,
-0.004229954909533262,
-0.007312650326639414,
-0.0884564220905304,
0.018446488305926323,
0.05340628698468208,
0.01625133864581585,
0.027118686586618423,
0.03214133530855179,
0.04357779398560524,
0.095683254301548,
0.07841112464666367,
-0.02625146694481373,
0.019855720922350883,
-0.034471988677978516,
-0.018970433622598648,
-0.009449082426726818,
0.012384982779622078,
0.028130441904067993,
-0.016486210748553276,
0.03467072546482086,
0.07458090037107468,
0.05561047047376633,
-0.02428215555846691,
0.00684290612116456,
0.005280104000121355,
-0.028166577219963074,
0.04639625921845436,
0.023595605045557022,
0.05022647976875305,
0.046215590089559555,
0.026847679167985916,
-0.0044625685550272465,
-0.04260217398405075,
-0.007574622984975576,
0.059296153485774994,
0.023451069369912148,
0.008907070383429527,
0.035881221294403076,
0.011580998077988625,
0.013938752003014088,
0.02287292294204235,
-0.03992824628949165,
-0.021319152787327766,
0.0359354205429554,
0.02905186451971531,
0.032701414078474045,
-0.042385369539260864,
0.010126598179340363,
0.02560105174779892,
0.024408623576164246,
0.03286401927471161,
-0.013044430874288082,
0.01835615187883377,
-0.017208892852067947,
-0.048672713339328766,
0.029846815392374992,
-0.03942236676812172,
0.04148201271891594,
0.0352669395506382,
0.0044625685550272465,
0.0353572741150856,
-0.011355159804224968,
-0.0029742929618805647,
0.067859947681427,
0.004284156020730734,
-0.004611622076481581,
-0.012204311788082123,
-0.00761527381837368,
0.004146394785493612,
0.008721882477402687,
-0.017479898408055305,
0.02422795258462429,
0.08108504861593246,
0.02252964861690998,
0.03279174864292145,
0.008834801614284515,
0.016133902594447136,
0.017516033723950386,
0.057236507534980774,
-0.0531894825398922,
-0.011707467027008533,
-0.037218183279037476,
-0.06742633879184723,
-0.03676650673151016,
-0.019133036956191063,
0.004783259239047766,
-0.05640542134642601,
-0.035140469670295715,
-0.013577410019934177,
0.024860301986336708,
-0.05810372903943062,
0.009223244152963161,
-0.01056924182921648,
0.016684947535395622,
-0.03808540478348732,
-0.010722811333835125,
0.05405670031905174,
-0.034779127687215805,
0.03226780518889427,
0.0007616403163410723,
-0.03606189042329788,
0.030714035034179688,
-0.05799532309174538,
-0.018934298306703568,
0.05123823881149292,
-0.09250344336032867,
-0.0038799052126705647,
0.013631611131131649,
-0.04748028516769409,
0.010524073615670204,
0.06218688562512398,
0.04437274858355522,
-0.04148201271891594,
0.0061247400008141994,
0.0005425770068541169,
-0.03819380700588226,
0.02139142155647278,
-0.05608021467924118,
0.026468271389603615,
-0.022204440087080002,
0.04776935651898384,
0.01418265700340271,
0.0023487203288823366,
0.017922542989253998,
0.021572092548012733,
0.05098529905080795,
0.00528462091460824,
0.011102220043540001,
0.0011179004795849323,
0.03329762816429138,
-0.027082551270723343,
0.011282891035079956,
0.01124675665050745,
0.001991895493119955,
0.0340203121304512,
0.007479771040380001,
0.050045810639858246,
-0.029539674520492554,
-0.027751034125685692,
0.004069609567523003,
-0.08838415145874023,
-0.010334369726479053,
-0.02146369032561779,
-0.012674055993556976,
-0.0400366485118866,
0.018292918801307678,
-0.035881221294403076,
-0.02070487290620804,
-0.004577746149152517,
0.010984783992171288,
-0.03150898590683937,
-0.019656982272863388,
-0.02426408790051937,
-0.00847797654569149,
-0.013414806686341763,
0.00333789293654263,
0.06016337499022484,
0.015104078687727451,
0.04668533429503441,
-0.013568376190960407,
-0.02977454662322998,
0.014363327994942665,
-0.0017468606820330024,
-0.007633341010659933,
-0.0821690782904625,
-0.07089521735906601,
0.05152731016278267,
-0.004557420965284109,
-0.014914373867213726,
-0.07020866870880127,
0.03541147708892822,
0.03223166987299919,
0.04224083200097084,
0.014842106029391289,
-0.020307397469878197,
-0.04776935651898384,
-0.06254822760820389,
0.012963129207491875,
-0.019819585606455803,
-0.0113912932574749,
-0.014363327994942665,
0.026901882141828537,
-0.027461960911750793,
0.013161866925656796,
-0.0036902008578181267,
0.0022391886450350285,
0.028184643015265465,
0.04451728239655495,
0.07201537489891052,
-0.010099497623741627,
0.00519880186766386,
-0.022059904411435127,
0.0079359645023942,
-0.02762456424534321,
0.06735407561063766,
0.009647820144891739,
0.046540796756744385,
0.023107795044779778,
-0.019548580050468445,
0.0062783099710941315,
0.04596265032887459,
0.033406030386686325,
0.017109524458646774,
0.01900656707584858,
0.032737549394369125,
0.0158719290047884,
-0.07169017195701599,
0.01299926359206438,
-0.021951502189040184,
-0.06551122665405273,
0.04227696731686592,
0.011355159804224968,
-0.08108504861593246,
-0.04813069850206375,
0.003523080376908183,
0.009268411435186863,
-0.05785078927874565,
0.015826761722564697,
-0.010786046274006367,
-0.02733549103140831,
-0.049684468656778336,
0.0366942398250103,
-0.029286736622452736,
0.005483358632773161,
-0.016486210748553276,
0.051093701273202896,
0.022890988737344742,
-0.023342667147517204,
0.024083416908979416,
-0.004006374627351761,
0.014309126883745193,
-0.0023306531365960836,
0.03356863185763359,
-0.06475241482257843,
-0.029864883050322533,
0.02005445770919323,
0.05944069102406502,
-0.01020789984613657,
-0.008170836605131626,
0.0319245308637619,
0.003466620808467269,
-0.004223180003464222,
0.024083416908979416,
0.00827923882752657,
0.021535959094762802,
0.02834724821150303,
0.00795854814350605,
-0.04314418509602547,
-0.030280424281954765,
0.010036262683570385,
0.04523996636271477,
-0.027263222262263298,
-0.002719095442444086,
-0.005564660299569368,
-0.024318289011716843,
0.023378800600767136,
-0.0035140470135957003,
-0.07273805886507034,
-0.026721211150288582,
-0.006630618125200272,
0.050696223974227905,
-0.028473716229200363,
-0.014932441525161266,
-0.0041712368838489056,
-0.03427324816584587,
-0.0428912453353405,
0.010135631076991558,
-0.001932048355229199,
0.05329788476228714,
-0.031346384435892105,
0.01055117417126894,
0.0428912453353405,
-0.04086773470044136,
0.07573719322681427,
0.028545984998345375,
-0.028979595750570297,
0.06496921926736832,
-0.04668533429503441,
-0.011571964249014854,
0.03974757343530655,
0.00021482886222656816,
-0.017904475331306458,
0.002942675491794944,
0.04357779398560524,
-0.015817727893590927,
0.03595348820090294,
0.0014272992266342044,
0.05683903023600578,
0.024155685678124428,
-0.03880808502435684,
-0.011553897522389889,
-0.08390351384878159,
0.04603491723537445,
-0.003453070530667901,
-0.024336356669664383,
-0.05011807754635811,
-0.048311371356248856,
0.00570468045771122,
-0.017859308049082756,
0.010478906333446503,
0.07273805886507034,
-0.0203977320343256,
-0.02112041600048542,
0.026576673611998558,
0.0034056445583701134,
-0.029593875631690025,
0.04603491723537445,
0.0434693917632103,
-0.04086773470044136,
0.0015311850002035499,
0.006603517569601536,
0.0026965115685015917,
0.054526444524526596,
0.03380350396037102,
-0.04885338246822357,
0.000477648398373276,
0.03841061145067215,
-0.007150046527385712,
-0.008283755742013454,
-0.023252330720424652,
-0.03913329541683197,
-0.00008920620166463777,
-0.009629753418266773,
0.02804010733962059,
0.03009975515305996,
0.10413864254951477,
0.05362309142947197,
0.030172022059559822,
0.0039995997212827206,
-0.029684212058782578,
-0.06417426466941833,
-0.03177999332547188,
-0.029611943289637566,
0.02112041600048542,
-0.06547509878873825,
0.020686805248260498,
-0.05785078927874565,
0.009982061572372913,
0.028925394639372826,
-0.06879943609237671,
-0.025817856192588806,
0.004338357597589493,
0.05514072626829147,
-0.031075377017259598,
0.08708332479000092,
-0.003520822152495384,
0.08224134892225266,
0.022403178736567497,
-0.022348977625370026,
-0.06168100982904434,
-0.0007633341010659933,
-0.03559214621782303,
0.011002851650118828,
-0.06673979014158249,
0.0002828627184499055,
-0.011337092146277428,
-0.012421117164194584,
0.010153698734939098,
-0.017877375707030296,
0.06572803854942322,
-0.023722074925899506,
0.06713726371526718,
-0.042710576206445694,
-0.017479898408055305,
0.06565576791763306,
0.005153634585440159,
0.058970946818590164,
0.012926995754241943,
-0.04430047795176506,
-0.06724566966295242,
-0.008577345870435238,
-0.04086773470044136,
-0.0028749241027981043,
-0.01432719361037016,
-0.07703802734613419,
-0.022963257506489754,
0.01766960322856903,
0.008875452913343906,
0.032358139753341675,
-0.06088605895638466,
-0.013622578233480453,
0.002452606102451682,
-0.03188839554786682,
0.005542076658457518,
0.029467405751347542,
0.0890345647931099,
0.01161713246256113,
-0.04159041494131088,
0.0608137883245945,
-0.007086812052875757,
0.0319245308637619,
0.025004837661981583,
-0.01665784791111946,
-0.015628023073077202,
-0.004376749973744154,
-0.004471601918339729,
0.021716630086302757,
-0.014643368311226368,
-0.026721211150288582,
0.006540282629430294,
0.019819585606455803,
0.02207797020673752,
-0.011228689923882484,
-0.010478906333446503,
-0.022059904411435127,
-0.00881673488765955,
-0.03430938348174095,
0.008861902169883251,
-0.010795080102980137,
-0.048275236040353775,
-0.0027732967864722013,
-0.02805817499756813,
0.0011709725949913263,
-0.016766250133514404,
-0.028437582775950432,
0.012610821053385735,
-0.06807675212621689,
0.013866483233869076,
0.006079572252929211,
0.057633984833955765,
-0.004071868024766445,
-0.004864560905843973,
-0.05991043522953987,
0.05615248158574104,
-0.029593875631690025,
0.009114841930568218,
-0.007416536100208759,
0.0024955153930932283,
0.0005702421767637134,
0.022710319608449936,
-0.01871749386191368,
-0.04115680605173111,
0.07179857045412064,
-0.05300880968570709,
0.004286414477974176,
-0.019530512392520905,
0.030280424281954765,
-0.06052471697330475,
-0.029684212058782578,
-0.0407954640686512,
0.07992875576019287,
-0.008898036554455757,
0.026197265833616257,
0.03430938348174095,
-0.011436461471021175,
0.023794343695044518,
-0.03387577459216118,
-0.012204311788082123,
0.061753276735544205,
-0.010677644051611423,
-0.004661306273192167,
0.014453663490712643,
0.04195175692439079,
-0.026070795953273773,
0.000797209853772074,
-0.0006334769423119724,
0.0293590035289526,
0.014643368311226368,
0.0025113241281360388,
0.044408880174160004,
-0.0014363328227773309,
0.017913509160280228,
0.021517891436815262,
-0.015844829380512238,
-0.05257520079612732,
0.022999392822384834,
0.03015395626425743,
-0.018220650032162666,
0.06200621649622917,
0.010867347940802574,
-0.024480892345309258,
0.009765256196260452,
-0.01433622743934393,
-0.01627843827009201,
0.036188360303640366,
0.0031233462505042553,
-0.053370151668787,
-0.046938274055719376,
0.0036947177723050117,
-0.0436500646173954,
0.02598045952618122,
-0.03279174864292145,
0.05029875040054321,
-0.002020125277340412,
0.024408623576164246,
-0.02841951511800289,
-0.005334305111318827,
0.035519879311323166,
0.007827562279999256
] |
719,688
|
ibm_platform_services.iam_identity_v1
|
delete_account_settings_template_version
|
Delete version of an account settings template.
Delete a specific version of an account settings template in an Enterprise
Account.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_account_settings_template_version(
self,
template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Delete version of an account settings template.
Delete a specific version of an account settings template in an Enterprise
Account.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version:
raise ValueError('version must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_account_settings_template_version',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id', 'version']
path_param_values = self.encode_path_vars(template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_templates/{template_id}/versions/{version}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.05084432661533356,
-0.026606708765029907,
0.014032305218279362,
-0.06750085204839706,
0.03180048242211342,
-0.009449026547372341,
-0.05744133144617081,
0.04475758597254753,
-0.016182709485292435,
0.01388651505112648,
0.0009544701315462589,
0.005052540916949511,
-0.042680077254772186,
-0.0838293582201004,
-0.04209691658616066,
0.002108262851834297,
0.057623568922281265,
0.017103010788559914,
0.03396911174058914,
-0.018488017842173576,
0.048584580421447754,
0.014551682397723198,
-0.04333613067865372,
0.0496051087975502,
0.04038387909531593,
-0.019371870905160904,
0.010970711708068848,
0.013895627111196518,
0.043518368154764175,
-0.0242740660905838,
-0.0561656691133976,
0.030980413779616356,
-0.00829637236893177,
0.09068149328231812,
-0.02790059708058834,
-0.03653866425156593,
0.0012027689954265952,
0.02401893213391304,
-0.13347090780735016,
0.07096337527036667,
0.011052718386054039,
0.05769646540284157,
0.0016811430687084794,
-0.011827228590846062,
0.007726879790425301,
-0.007471746765077114,
0.004756404552608728,
-0.015490206889808178,
-0.024128274992108345,
-0.0005717708845622838,
0.05864410102367401,
-0.017239689826965332,
-0.014351220801472664,
-0.037796106189489365,
-0.016656529158353806,
0.025895981118083,
0.04056612029671669,
-0.006829359102994204,
-0.014077864587306976,
-0.01948121376335621,
0.013048221357166767,
0.0014692917466163635,
-0.0792369619011879,
-0.003223329782485962,
-0.034133125096559525,
-0.02192319929599762,
0.005817939527332783,
-0.00047524183173663914,
-0.00016899702313821763,
-0.038452159613370895,
-0.010524229146540165,
0.015790900215506554,
0.025094134733080864,
-0.03991006314754486,
0.009968403726816177,
0.010697354562580585,
-0.006597005762159824,
-0.01355848740786314,
-0.005517247132956982,
-0.053650788962841034,
-0.03271167352795601,
-0.08506856858730316,
0.019462989643216133,
-0.031727589666843414,
0.015198626555502415,
0.006542334333062172,
0.009503697976469994,
-0.04577811807394028,
0.034606944769620895,
0.06644387543201447,
0.0006486524362117052,
-0.021412933245301247,
-0.04916774109005928,
-0.013376249000430107,
0.041295070201158524,
0.021904975175857544,
0.07690431922674179,
-0.04319034144282341,
-0.02376380003988743,
-0.020027926191687584,
0.03223785385489464,
-0.0880572721362114,
0.004275752697139978,
-0.019153185188770294,
0.0071573867462575436,
-0.03921755775809288,
-0.039545588195323944,
0.002128764521330595,
0.036830246448516846,
0.006847582757472992,
0.02380024828016758,
-0.022633926942944527,
-0.023125967010855675,
-0.011098277755081654,
0.062070172280073166,
0.010888704098761082,
-0.057003963738679886,
-0.034698065370321274,
-0.02183208055794239,
-0.0496051087975502,
0.07807064056396484,
-0.026971183717250824,
-0.019153185188770294,
0.03969137743115425,
0.036611560732126236,
0.010013963095843792,
-0.009107330814003944,
-0.026388023048639297,
-0.021886751055717468,
0.006565114017575979,
-0.061559904366731644,
0.007439855486154556,
0.0061596352607011795,
-0.018752261996269226,
-0.017786402255296707,
-0.00449899397790432,
-0.0017722619231790304,
-0.01703011617064476,
-0.00995929166674614,
0.026224009692668915,
0.011052718386054039,
0.039144665002822876,
-0.02411005087196827,
-0.024656765162944794,
-0.003189160255715251,
-0.054780662059783936,
0.0324929878115654,
0.033039700239896774,
-0.003168658586218953,
-0.011244067922234535,
0.004453434608876705,
0.048147208988666534,
-0.0037335956003516912,
-0.03903532028198242,
-0.039108216762542725,
-0.007344180718064308,
0.021084904670715332,
-0.00980438943952322,
0.007016152609139681,
-0.020538192242383957,
0.04756404832005501,
0.06648032367229462,
0.06039358302950859,
-0.008852197788655758,
0.037012483924627304,
-0.00023121411504689604,
-0.007890894077718258,
-0.006414768286049366,
-0.013112004846334457,
-0.04468468949198723,
-0.03874374181032181,
0.03406023234128952,
0.019116736948490143,
0.023909589275717735,
-0.02004615031182766,
0.027937043458223343,
0.05594698339700699,
0.012273711152374744,
-0.0003001227742061019,
-0.05106301233172417,
-0.0044101532548666,
-0.0314360074698925,
-0.0178684089332819,
0.056566592305898666,
0.013804508373141289,
0.03147245571017265,
0.028064610436558723,
0.04690799117088318,
-0.05470776557922363,
-0.033950887620449066,
-0.0029909766744822264,
-0.06997928768396378,
0.03991006314754486,
0.03726761415600777,
0.003189160255715251,
-0.0385979525744915,
-0.005275782197713852,
-0.1277851015329361,
0.03293035924434662,
0.009257677011191845,
-0.02327175810933113,
-0.057623568922281265,
0.005986509378999472,
-0.030907519161701202,
0.042898762971162796,
0.031107980757951736,
0.07067178934812546,
-0.06381965428590775,
-0.011708774603903294,
0.02086622081696987,
0.008068575523793697,
-0.029978105798363686,
0.03772320970892906,
0.04807431250810623,
-0.047491151839494705,
-0.042898762971162796,
0.01589112915098667,
-0.028374414891004562,
-0.017139459028840065,
-0.018715815618634224,
-0.03008744865655899,
0.03156357631087303,
0.010597123764455318,
0.02301662601530552,
0.010706466622650623,
0.017103010788559914,
-0.023308206349611282,
0.04807431250810623,
-0.06352807581424713,
-0.049678005278110504,
0.07879959791898727,
0.04012874886393547,
0.09439914673566818,
-0.005845275241881609,
-0.013549375347793102,
-0.05237512290477753,
-0.028265072032809258,
-0.03506254032254219,
0.04060256481170654,
-0.009458138607442379,
0.04319034144282341,
0.007070824038237333,
0.08463120460510254,
0.042680077254772186,
-0.023526890203356743,
0.02646091766655445,
-0.08186119049787521,
-0.015535766258835793,
0.009262233041226864,
-0.10030364990234375,
-0.011408082209527493,
-0.05529092624783516,
0.016446955502033234,
0.04807431250810623,
0.03340417519211769,
-0.028921127319335938,
0.05485355854034424,
0.015827346593141556,
0.012938878498971462,
-0.006519554648548365,
-0.05492645129561424,
0.001048436388373375,
-0.05062564089894295,
-0.05335920676589012,
0.01721235364675522,
-0.0385250560939312,
-0.016756759956479073,
0.06695414334535599,
0.029905211180448532,
0.06556913256645203,
-0.026825394481420517,
0.01497994177043438,
0.011726997792720795,
-0.0032324418425559998,
-0.02952251210808754,
0.015754451975226402,
-0.0018827435560524464,
-0.031764037907123566,
-0.008200697600841522,
-0.029249155893921852,
-0.0269894078373909,
-0.06250753998756409,
0.04162309691309929,
0.04982379451394081,
0.03681202232837677,
0.03198271989822388,
-0.002451097359880805,
0.009253120981156826,
0.0584254153072834,
0.08076775819063187,
0.0024397075176239014,
0.005316785536706448,
0.011827228590846062,
-0.00685669481754303,
-0.10234470665454865,
-0.011216732673346996,
-0.012036802247166634,
0.003063871758058667,
0.03190982714295387,
0.00663800910115242,
0.05029761418700218,
-0.011991242878139019,
0.003562747733667493,
0.005799715872853994,
-0.019554108381271362,
0.025750191882252693,
0.055874086916446686,
0.011435417458415031,
0.07632116228342056,
0.022652149200439453,
-0.011262292042374611,
0.01650162599980831,
0.016446955502033234,
-0.020756877958774567,
-0.009007100015878677,
0.02602354809641838,
0.010651795193552971,
-0.04278941825032234,
0.01895272359251976,
0.0028884680941700935,
-0.06141411513090134,
0.04501271992921829,
0.007148275151848793,
0.03724939376115799,
0.02952251210808754,
-0.025312820449471474,
-0.014551682397723198,
-0.013786284253001213,
0.0051618837751448154,
0.04173244163393974,
-0.02179563231766224,
0.018150877207517624,
0.008287260308861732,
0.004934086464345455,
-0.01939009502530098,
-0.017831962555646896,
0.044429559260606766,
0.01083403266966343,
-0.01560866180807352,
0.07067178934812546,
0.04800141975283623,
-0.009831725619733334,
0.032638777047395706,
-0.004175521899014711,
-0.043919291347265244,
-0.020975561812520027,
0.040857698768377304,
0.03192805126309395,
0.02523992583155632,
-0.028283296152949333,
-0.010469557717442513,
0.015317081473767757,
0.021631618961691856,
0.03471628576517105,
0.01895272359251976,
-0.05106301233172417,
0.030324358493089676,
0.05951884388923645,
0.006833914667367935,
-0.0009886396583169699,
-0.0638561025261879,
-0.010761138051748276,
-0.034606944769620895,
-0.00543524045497179,
0.019882136955857277,
-0.04060256481170654,
-0.006227974314242601,
-0.04665285721421242,
-0.02179563231766224,
-0.02370912954211235,
-0.03034258261322975,
0.014068752527236938,
0.026479141786694527,
-0.020465297624468803,
0.0583525225520134,
-0.0539788156747818,
-0.0660429522395134,
0.00005481369225890376,
-0.01210058480501175,
-0.06239819899201393,
0.011736109852790833,
-0.045960355550050735,
0.027481449767947197,
0.01585468277335167,
-0.06476728618144989,
0.013895627111196518,
0.023071296513080597,
-0.0173763670027256,
-0.000376434822101146,
0.07081758230924606,
-0.007034376263618469,
-0.0176406130194664,
-0.023873142898082733,
-0.011253179982304573,
-0.019025618210434914,
0.04005585238337517,
-0.044611796736717224,
0.005617477931082249,
0.01373161282390356,
-0.009813501499593258,
0.011490088887512684,
0.03786899894475937,
0.011963906697928905,
0.009394355118274689,
0.015134843066334724,
-0.04446600750088692,
-0.004152742214500904,
-0.030415477231144905,
0.002512602601200342,
-0.08842174708843231,
-0.0012004910968244076,
-0.01279308833181858,
-0.0022859445307403803,
0.01119850855320692,
0.02092089131474495,
0.07231193035840988,
-0.03005100227892399,
0.054088156670331955,
-0.019663451239466667,
-0.05113590881228447,
0.04282586649060249,
0.04909484460949898,
-0.005193775519728661,
-0.024656765162944794,
-0.033549964427948,
0.023782024160027504,
-0.01388651505112648,
-0.011362522840499878,
-0.024565646424889565,
-0.01821466162800789,
-0.01122584380209446,
-0.0594823956489563,
-0.0061960830353200436,
0.012656410224735737,
0.0009322598925791681,
0.03743163123726845,
-0.00037216360215097666,
0.05448907986283302,
-0.0248025543987751,
0.006906809750944376,
0.0009049242362380028,
0.019991479814052582,
-0.005685816984623671,
-0.04253428429365158,
-0.03396911174058914,
0.05117235332727432,
0.0015387698076665401,
-0.09104596823453903,
-0.009430802427232265,
-0.012638186104595661,
-0.021996093913912773,
0.026005323976278305,
-0.004230193328112364,
-0.050771430134773254,
-0.02558617666363716,
-0.02742677927017212,
-0.04479403421282768,
0.009162002243101597,
-0.04756404832005501,
-0.047928523272275925,
0.004234749358147383,
-0.0004763808101415634,
0.02358156256377697,
-0.027718359604477882,
-0.0162464939057827,
-0.04151375591754913,
0.07424364984035492,
0.010925152339041233,
0.0031777704134583473,
0.0062644220888614655,
-0.011863675899803638,
-0.035044316202402115,
-0.026971183717250824,
0.12188059091567993,
0.023636233061552048,
0.05383302643895149,
0.01585468277335167,
-0.019426541402935982,
-0.03293035924434662,
0.018105318769812584,
0.010223536752164364,
0.03765031322836876,
-0.011453641578555107,
0.017066562548279762,
0.026515590026974678,
-0.039982959628105164,
-0.0038156025111675262,
-0.018087094649672508,
-0.025950653478503227,
-0.01548109482973814,
0.008915981277823448,
-0.03726761415600777,
-0.028483757749199867,
0.0025399383157491684,
0.027262764051556587,
-0.03271167352795601,
-0.020465297624468803,
-0.0017437873175367713,
0.04472113773226738,
-0.019681675359606743,
0.0019955032039433718,
-0.02323530986905098,
0.00780433090403676,
-0.03147245571017265,
0.05088077485561371,
0.04457534849643707,
0.03646577149629593,
0.022433465346693993,
0.024911897256970406,
0.013604046776890755,
-0.06593360751867294,
0.05088077485561371,
-0.022542806342244148,
0.038233473896980286,
0.07278575003147125,
0.05204709619283676,
-0.07256706058979034,
-0.003975060302764177,
0.04031098634004593,
0.003760931082069874,
-0.005781491752713919,
0.043992187827825546,
0.013084668666124344,
-0.0034169573336839676,
0.01395029854029417,
-0.013476479798555374,
-0.03314904123544693,
-0.053213417530059814,
0.037395182996988297,
0.05248446762561798,
-0.03227430209517479,
0.015408200211822987,
-0.027499673888087273,
-0.014332997612655163,
-0.010360214859247208,
-0.044429559260606766,
-0.10052233189344406,
0.019444765523076057,
-0.06243464723229408,
0.013522039167582989,
-0.060247793793678284,
0.0022517750039696693,
-0.022542806342244148,
-0.037540972232818604,
-0.00796834472566843,
-0.011143837124109268,
0.037395182996988297,
0.007986568845808506,
-0.07234837859869003,
-0.02974119782447815,
0.018396899104118347,
-0.020647535100579262,
0.06083095446228981,
0.020538192242383957,
-0.05332275852560997,
0.08390224725008011,
-0.07052600383758545,
-0.03234719857573509,
0.023873142898082733,
-0.029449617490172386,
-0.01602780818939209,
-0.019444765523076057,
0.04118572548031807,
-0.009777054190635681,
-0.00448532635346055,
0.021321814507246017,
0.02593242935836315,
-0.015663333237171173,
0.004116294905543327,
0.022743267938494682,
-0.061559904366731644,
0.026843616738915443,
0.02833796665072441,
-0.021759184077382088,
-0.04996958374977112,
0.0026287792716175318,
0.05131814628839493,
0.01632850058376789,
0.0540517121553421,
0.06345517933368683,
-0.018588248640298843,
-0.03577326610684395,
0.08033039420843124,
-0.037103600800037384,
0.022542806342244148,
0.07231193035840988,
0.06396543979644775,
0.014205430634319782,
0.016875213012099266,
0.02877533808350563,
-0.019882136955857277,
0.015599549748003483,
0.024310512468218803,
0.00046015027328394353,
-0.007398851681500673,
0.024128274992108345,
0.017522158101201057,
-0.024820778518915176,
-0.023946037515997887,
-0.003562747733667493,
-0.006250753998756409,
-0.0032643333543092012,
0.019791018217802048,
0.02239701710641384,
0.04165954515337944,
0.027499673888087273,
-0.023818470537662506,
-0.013121116906404495,
-0.030160345137119293,
-0.06254398822784424,
0.042898762971162796,
-0.03139955922961235,
-0.018451569601893425,
-0.034479379653930664,
0.04293520748615265,
0.067099928855896,
-0.000008666969733894803,
0.016847878694534302,
-0.05175551399588585,
-0.03149067983031273,
-0.029103364795446396,
0.043955739587545395,
-0.0020228386856615543,
0.01436944492161274,
-0.012528844177722931,
0.0990644320845604,
0.013020886108279228,
-0.002086621941998601,
-0.05733199045062065,
0.029358498752117157,
-0.0070571559481322765,
0.03874374181032181,
-0.03695781156420708,
0.046142593026161194,
-0.01599135994911194,
-0.011326074600219727,
0.011781669221818447,
-0.04031098634004593,
0.051026564091444016,
0.003451127093285322,
0.10722868144512177,
-0.04031098634004593,
0.004200579598546028,
0.12166190892457962,
-0.019371870905160904,
0.04450245201587677,
0.00954014528542757,
-0.016519850119948387,
-0.017084786668419838,
0.011581207625567913,
-0.02711697481572628,
0.007503638509660959,
-0.06673545390367508,
-0.03331305831670761,
-0.032729897648096085,
-0.013203123584389687,
0.03096218965947628,
0.05376012995839119,
-0.025221701711416245,
0.03083462454378605,
-0.003644754644483328,
-0.024474527686834335,
-0.01427832618355751,
-0.019062066450715065,
0.0028634103946387768,
-0.007676764391362667,
-0.007093603722751141,
-0.0012790811015293002,
-0.027408555150032043,
-0.012783977203071117,
0.051791962236166,
-0.022761492058634758,
-0.04763694107532501,
0.020939115434885025,
0.010752025991678238,
0.014478787779808044,
-0.035135433077812195,
0.03440648317337036,
-0.04986024275422096,
0.017494821920990944,
0.06954191625118256,
0.03947269171476364,
0.019590556621551514,
-0.007617536932229996,
-0.023563338443636894,
-0.09388887882232666,
0.012437725439667702,
0.04719957336783409,
-0.05306762829422951,
0.02436518482863903,
-0.049896690994501114,
-0.044611796736717224,
-0.021813856437802315,
-0.03712182492017746,
0.023308206349611282,
-0.032164961099624634,
0.00010799009032780305,
-0.001889577484689653,
-0.0024579314049333334,
-0.022980177775025368,
0.00034425847115926445,
-0.04348192363977432,
-0.02332642860710621,
0.07530062645673752,
-0.025731967762112617,
0.012200815603137016,
0.02702585607767105,
-0.045486535876989365,
0.03220140561461449,
0.044866930693387985,
0.026697827503085136,
0.0012859150301665068,
0.05813383683562279,
0.009262233041226864,
-0.007840778678655624,
0.08776569366455078,
-0.06637097895145416,
-0.003255221527069807,
0.043992187827825546,
0.06389255076646805,
-0.04555943235754967,
0.02830152027308941,
0.01238305401057005,
-0.010077746585011482,
0.03070705756545067,
-0.00023235310800373554,
0.02558617666363716,
0.07799775153398514,
-0.04894905537366867,
0.031545352190732956,
0.0017175906104966998,
-0.008833973668515682,
-0.04563232883810997,
-0.02864777110517025,
0.020283060148358345,
0.03768676146864891,
-0.0047882962971925735,
0.011180284433066845,
0.024911897256970406,
0.006063960492610931,
-0.05164617300033569,
0.03096218965947628,
-0.05394236743450165,
-0.055218033492565155,
0.0203924011439085,
0.0368666909635067,
0.00030781092937104404,
0.039982959628105164,
0.01080669742077589,
-0.029376722872257233,
0.01690254919230938,
0.008205253630876541,
-0.014469675719738007,
-0.002986420877277851,
0.04122217372059822,
-0.011070942506194115,
-0.011070942506194115,
-0.004139074590057135,
-0.012528844177722931,
0.02070220559835434,
0.02523992583155632,
-0.0008109579212032259,
-0.013020886108279228,
0.01785929687321186,
-0.007581089623272419,
-0.007394296117126942,
0.016957221552729607,
-0.000009138581845036242
] |
719,689
|
ibm_platform_services.iam_identity_v1
|
delete_all_versions_of_account_settings_template
|
Delete all versions of an account settings template.
Delete all versions of an account settings template in an enterprise account. If
any version is assigned to child accounts, you must first delete the assignment.
:param str template_id: ID of the account settings template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_all_versions_of_account_settings_template(
self,
template_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete all versions of an account settings template.
Delete all versions of an account settings template in an enterprise account. If
any version is assigned to child accounts, you must first delete the assignment.
:param str template_id: ID of the account settings template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_all_versions_of_account_settings_template',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_templates/{template_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.012998972088098526,
-0.05748084560036659,
0.012155845761299133,
-0.10035984963178635,
-0.02497878111898899,
0.021254200488328934,
-0.07834590971469879,
-0.021791577339172363,
-0.02916661836206913,
0.030019009485840797,
-0.003235845360904932,
-0.005299652460962534,
-0.018687760457396507,
-0.05347830802202225,
-0.05262591689825058,
-0.0010544871911406517,
0.013906954787671566,
0.04210073500871658,
0.04106304049491882,
-0.027721257880330086,
0.034003015607595444,
0.01977177895605564,
-0.030815809965133667,
0.05021698400378227,
0.043360792100429535,
-0.02292192354798317,
0.02134685032069683,
-0.0006844612071290612,
0.04254546016454697,
0.01731652207672596,
-0.07753057777881622,
0.057703208178281784,
-0.0025988679844886065,
0.07260152697563171,
-0.04980931803584099,
-0.07389865070581436,
0.056146666407585144,
0.04462084919214249,
-0.0885746106505394,
0.09465253353118896,
0.026683563366532326,
0.0416560098528862,
0.041767191141843796,
-0.019586477428674698,
0.01831715553998947,
-0.005758276209235191,
0.012146580964326859,
0.010525183752179146,
0.001419880660250783,
-0.010525183752179146,
0.037375520914793015,
0.011664793826639652,
-0.01183156669139862,
-0.019086159765720367,
-0.01069195568561554,
0.05433070287108421,
0.01381430309265852,
0.002439044415950775,
0.010228699073195457,
-0.04273076355457306,
0.00729628698900342,
-0.005392303690314293,
-0.05573900043964386,
-0.044139061123132706,
-0.010756812058389187,
-0.036838144063949585,
-0.009028865955770016,
0.012702488340437412,
-0.02112448774278164,
-0.03437361866235733,
-0.06200222671031952,
-0.003296068636700511,
0.03776465356349945,
-0.039951223880052567,
-0.00554054556414485,
0.00906592607498169,
0.02316281571984291,
-0.0001705362374195829,
-0.054664246737957,
-0.03744963929057121,
-0.05099525675177574,
-0.08182959258556366,
0.008162576705217361,
0.011099621653556824,
0.009654262103140354,
-0.0007719008135609329,
0.010052662342786789,
-0.03954355791211128,
0.052996523678302765,
0.0350777693092823,
0.022736620157957077,
-0.023329587653279305,
-0.03724580630660057,
-0.034280966967344284,
0.052996523678302765,
0.04069243371486664,
0.03133465722203255,
-0.036059871315956116,
-0.053033582866191864,
-0.027999211102724075,
-0.016186175867915154,
-0.10451062768697739,
0.03872822970151901,
-0.04376845806837082,
0.019160281866788864,
-0.06867311894893646,
-0.03416978567838669,
-0.010747546330094337,
0.05003168061375618,
0.029259268194437027,
0.0013747131451964378,
0.026980048045516014,
0.019642068073153496,
-0.0188545323908329,
0.058222055435180664,
0.007115616928786039,
-0.04706684127449989,
-0.03315062075853348,
-0.03850586339831352,
-0.0627063736319542,
0.03567073494195938,
0.0021587745286524296,
0.01793728396296501,
0.03980298340320587,
0.042323097586631775,
0.017186809331178665,
-0.0043777721002697945,
-0.0067357467487454414,
-0.04843807965517044,
0.0156024731695652,
-0.07445455342531204,
0.007083189208060503,
-0.0175574142485857,
-0.01815038174390793,
0.002232895465567708,
0.0038612415082752705,
0.021402442827820778,
-0.02707269974052906,
0.012007603421807289,
0.00677743973210454,
0.009561610408127308,
0.04269370064139366,
-0.013212069869041443,
0.013091623783111572,
0.005707317963242531,
-0.03494805842638016,
0.06489294767379761,
0.046510934829711914,
-0.014972444623708725,
-0.013378842733800411,
-0.001363131683319807,
0.04977225884795189,
-0.054590124636888504,
-0.029815176501870155,
-0.06800603121519089,
0.012415269389748573,
0.04551029950380325,
0.01641780324280262,
-0.003555492265149951,
-0.021680396050214767,
0.009533815085887909,
0.07923536002635956,
0.031927626579999924,
-0.005628564395010471,
0.010599304921925068,
-0.04239721968770027,
0.0005139249842613935,
-0.011284924112260342,
-0.040247708559036255,
-0.0338362418115139,
-0.04814159497618675,
0.03302090987563133,
0.011414635926485062,
0.001978104468435049,
0.005114349536597729,
0.015704389661550522,
0.0443243645131588,
-0.00815794337540865,
-0.019215872511267662,
-0.020661231130361557,
-0.02319987677037716,
-0.04043301194906235,
-0.01681620441377163,
0.03042667545378208,
0.01524113304913044,
0.00742599880322814,
-0.013110153377056122,
0.06963668763637543,
-0.08412734419107437,
-0.03494805842638016,
-0.0051560429856181145,
-0.05225531384348869,
0.025312324985861778,
0.029815176501870155,
-0.004785437602549791,
-0.056924935430288315,
0.000825175317004323,
-0.11755592375993729,
-0.005818499252200127,
-0.0033192315604537725,
-0.04013652727007866,
-0.08197783678770065,
0.03329886496067047,
-0.04347197338938713,
0.04791923239827156,
0.03068609908223152,
0.03211292624473572,
-0.09917391091585159,
0.021198609843850136,
0.017307255417108536,
-0.01004339661449194,
0.016028668731451035,
-0.005035595968365669,
0.02629442885518074,
-0.0573326013982296,
-0.00988588947802782,
0.03544837236404419,
-0.036374885588884354,
-0.01134051475673914,
-0.030611976981163025,
-0.04217485338449478,
-0.005934313405305147,
-0.015352314338088036,
0.00820890162140131,
-0.010061927139759064,
0.03311356157064438,
-0.025201143696904182,
0.051921769976615906,
-0.051995888352394104,
-0.028962785378098488,
0.10347293317317963,
0.023051634430885315,
0.07315743714570999,
-0.0067450120113790035,
-0.017983609810471535,
-0.05080995336174965,
-0.014944648370146751,
-0.0676354244351387,
0.04539911821484566,
0.023570481687784195,
-0.008310818113386631,
0.007968008518218994,
0.06630124151706696,
0.03544837236404419,
-0.013415902853012085,
0.03339151665568352,
-0.06478176265954971,
-0.00021063686290290207,
0.02395961619913578,
-0.10999558120965958,
0.012035398744046688,
-0.08657333999872208,
-0.008681423030793667,
-0.024422872811555862,
-0.008551711216568947,
-0.05940799042582512,
0.061112772673368454,
0.051958829164505005,
0.024422872811555862,
-0.021180078387260437,
-0.027665667235851288,
0.006499486044049263,
-0.04458378627896309,
-0.020624171942472458,
0.016251031309366226,
-0.01977177895605564,
-0.030630508437752724,
0.06845075637102127,
-0.028518058359622955,
0.07471398264169693,
-0.0416189469397068,
-0.0234037097543478,
0.016491925343871117,
0.013832833617925644,
-0.014416536316275597,
0.051477041095495224,
0.005572973284870386,
-0.00736114289611578,
-0.03783877566456795,
-0.009014967828989029,
-0.007773440796881914,
-0.06659772992134094,
0.054553065448999405,
0.033261802047491074,
0.060593925416469574,
0.0024483096785843372,
-0.004901251755654812,
-0.03437361866235733,
0.050661709159612656,
0.05892620235681534,
0.008866725489497185,
0.006235430017113686,
-0.019994143396615982,
-0.031075233593583107,
-0.0676724836230278,
-0.021735986694693565,
0.01223923172801733,
-0.03676402196288109,
0.04213779419660568,
0.012980442494153976,
0.04039595276117325,
-0.012257762253284454,
0.0021541418973356485,
-0.011062560603022575,
-0.04047007113695145,
0.016251031309366226,
0.04106304049491882,
0.017001507803797722,
0.08353438228368759,
0.02994488924741745,
-0.014286824502050877,
0.0005706739029847085,
0.013647531159222126,
-0.026424139738082886,
0.02032768726348877,
-0.01805773191154003,
0.03335445374250412,
-0.0390247106552124,
0.001241526915691793,
0.0029393613804131746,
-0.07226798683404922,
0.06867311894893646,
-0.0006983589264564216,
0.009468958713114262,
0.03357681632041931,
-0.03976592421531677,
0.011544347740709782,
-0.0065782396122813225,
-0.011220067739486694,
0.006277123000472784,
-0.012489390559494495,
-0.012554246000945568,
0.02523820474743843,
0.0017580577405169606,
-0.007115616928786039,
-0.018687760457396507,
0.03987710550427437,
0.023551952093839645,
-0.02106889709830284,
0.046733297407627106,
0.02707269974052906,
-0.0036388784646987915,
0.05051346868276596,
0.009561610408127308,
-0.04488027095794678,
0.029833706095814705,
0.05244061350822449,
0.020920654758810997,
0.010849462822079659,
-0.03239088132977486,
0.009107619524002075,
0.0415818877518177,
0.04332372918725014,
0.0415818877518177,
0.043879639357328415,
-0.056146666407585144,
0.029815176501870155,
0.06281755864620209,
-0.011674059554934502,
-0.009515284560620785,
-0.023792844265699387,
-0.030315494164824486,
-0.03231675922870636,
-0.026405610144138336,
0.03730139881372452,
-0.04261958226561546,
0.019419705495238304,
-0.0273321233689785,
0.01118300762027502,
-0.04306430742144585,
0.0017707973020151258,
-0.01131271943449974,
0.013832833617925644,
-0.048030413687229156,
0.04665917530655861,
-0.014323885552585125,
-0.06033450365066528,
0.005749010946601629,
-0.015333783812820911,
-0.00023394444724544883,
0.012943381443619728,
-0.05785144865512848,
0.06637536734342575,
0.008459060452878475,
-0.062113407999277115,
-0.014777876436710358,
0.043360792100429535,
-0.0014673643745481968,
0.007324082311242819,
0.06126101687550545,
0.03958062082529068,
-0.042286038398742676,
-0.030556386336684227,
-0.018122587352991104,
-0.0006323448615148664,
0.033243272453546524,
0.016723552718758583,
0.02425610087811947,
0.024682296440005302,
-0.0023278628941625357,
0.0416189469397068,
0.01223923172801733,
0.02292192354798317,
0.004359242040663958,
0.007611301261931658,
-0.04765981063246727,
-0.013054562732577324,
-0.036059871315956116,
0.023811373859643936,
-0.05125467851758003,
0.04098891839385033,
0.010256495326757431,
0.0002290223492309451,
-0.021143019199371338,
-0.0020371696446090937,
0.058481477200984955,
-0.037375520914793015,
0.05496073141694069,
-0.01511142123490572,
-0.03652312979102135,
0.027925090864300728,
0.030056070536375046,
0.02392255701124668,
-0.008199636824429035,
0.005925048142671585,
0.01366606168448925,
-0.016028668731451035,
-0.013879159465432167,
-0.043360792100429535,
-0.006022332236170769,
0.03044520504772663,
-0.027480365708470345,
-0.030611976981163025,
0.006184471771121025,
0.014370211400091648,
0.0495128370821476,
0.008232064545154572,
0.04969813674688339,
-0.02964840456843376,
0.019864430651068687,
-0.0027888030745089054,
0.006916416808962822,
-0.008394204080104828,
-0.05840735509991646,
-0.027813909575343132,
0.04202661290764809,
0.026683563366532326,
-0.08368261903524399,
-0.007050761021673679,
0.01027502492070198,
-0.026739154011011124,
-0.001492843497544527,
0.008885256014764309,
-0.05073583126068115,
-0.028443938121199608,
-0.014648164622485638,
0.01930852420628071,
0.02395961619913578,
-0.04769686982035637,
-0.04261958226561546,
0.03381771221756935,
-0.0029300961177796125,
0.02497878111898899,
-0.005744378548115492,
-0.011609203182160854,
-0.054812487214803696,
0.016871795058250427,
0.01819670759141445,
0.011145946569740772,
0.011785240843892097,
-0.008454428054392338,
0.00345357577316463,
-0.012461595237255096,
0.09969276189804077,
0.0048966193571686745,
0.03991416469216347,
0.02292192354798317,
-0.02970399521291256,
-0.06622712314128876,
0.006240062415599823,
0.014861262403428555,
0.008699953556060791,
0.012961911968886852,
0.019475296139717102,
0.013452963903546333,
-0.07245329022407532,
0.017084892839193344,
-0.021735986694693565,
-0.035856038331985474,
-0.03289119899272919,
-0.022866331040859222,
-0.04306430742144585,
-0.030889932066202164,
0.014064461924135685,
0.01901203952729702,
-0.052996523678302765,
-0.030056070536375046,
0.023033104836940765,
0.02105036750435829,
-0.028777481988072395,
0.04243427887558937,
-0.044139061123132706,
-0.0004939470672979951,
0.000010948049748549238,
0.04632563143968582,
0.057184360921382904,
0.05670257285237312,
0.011998338624835014,
0.01185009628534317,
0.006017699372023344,
-0.05073583126068115,
0.0390247106552124,
-0.05837029591202736,
0.012554246000945568,
0.039728861302137375,
0.030148720368742943,
-0.06166868284344673,
-0.020105324685573578,
0.012322617694735527,
0.029555752873420715,
-0.023774314671754837,
0.02814745344221592,
-0.03872822970151901,
0.013971810229122639,
0.03146436810493469,
0.010738281533122063,
-0.04851220175623894,
-0.05914856493473053,
0.026739154011011124,
0.044917333871126175,
-0.020235035568475723,
-0.014842732809484005,
-0.010191638953983784,
-0.0030482264701277018,
-0.03050079569220543,
-0.06037156283855438,
-0.0809401422739029,
-0.025886762887239456,
-0.013601205311715603,
0.03561514616012573,
-0.07197149842977524,
0.0339474231004715,
-0.01381430309265852,
-0.038950592279434204,
-0.00677743973210454,
-0.005160675384104252,
0.009709852747619152,
0.0043129161931574345,
-0.04639975354075432,
-0.002733212197199464,
0.05547957494854927,
-0.028314225375652313,
0.04773393273353577,
0.04347197338938713,
-0.054553065448999405,
0.031594082713127136,
-0.0573326013982296,
-0.02786950021982193,
0.009867359884083271,
-0.009487489238381386,
0.008199636824429035,
-0.0028119657654315233,
0.03991416469216347,
-0.022792210802435875,
0.011498021893203259,
0.039172954857349396,
0.0036296132020652294,
0.02686886675655842,
-0.0001420893968315795,
0.024589644744992256,
-0.05244061350822449,
0.02575705200433731,
0.009663526900112629,
-0.05314476415514946,
-0.02840687707066536,
-0.013351047411561012,
0.012683957815170288,
-0.023514891043305397,
0.04069243371486664,
0.037931427359580994,
-0.016806939616799355,
-0.050958193838596344,
0.05914856493473053,
-0.048586323857307434,
0.056146666407585144,
0.08427558839321136,
0.06978493183851242,
0.03820938244462013,
-0.0026104494463652372,
0.03253912553191185,
-0.02785097062587738,
0.07200856506824493,
0.026405610144138336,
-0.006406834814697504,
-0.05373773351311684,
0.026220306754112244,
0.028073333203792572,
-0.03976592421531677,
-0.031649671494960785,
-0.02477494813501835,
0.00819037202745676,
0.0273321233689785,
0.02134685032069683,
0.03694932535290718,
0.04350903257727623,
0.038654107600450516,
0.011396105401217937,
0.009014967828989029,
0.003150142962113023,
-0.016825469210743904,
0.025442037731409073,
-0.029240738600492477,
0.04013652727007866,
-0.03494805842638016,
0.03329886496067047,
0.03226117044687271,
-0.009960010647773743,
0.03546690195798874,
-0.015667328611016273,
-0.0312790684401989,
-0.015148481354117393,
0.03365093842148781,
-0.03572632744908333,
0.02266249991953373,
-0.05388597398996353,
0.1068083792924881,
-0.003604134079068899,
0.0015808622119948268,
-0.067746601998806,
0.05329300835728645,
-0.008134781382977962,
0.014360945671796799,
-0.041767191141843796,
0.07067438215017319,
0.003555492265149951,
0.0034049339592456818,
0.0009079824085347354,
-0.04995756223797798,
0.03939531743526459,
-0.02918514795601368,
0.10451062768697739,
-0.041322462260723114,
0.019345583394169807,
0.09064999967813492,
0.0005286912783049047,
0.03335445374250412,
-0.00991368480026722,
-0.024089328944683075,
-0.03935825824737549,
0.015148481354117393,
-0.015667328611016273,
0.031390249729156494,
-0.07345392554998398,
-0.0390247106552124,
-0.04384257644414902,
0.00690715154632926,
0.015528351999819279,
0.00851928349584341,
-0.014601838774979115,
-0.01524113304913044,
-0.0036064505111426115,
-0.013452963903546333,
-0.013452963903546333,
0.0016144482651725411,
0.033187683671712875,
-0.00014462282706517726,
-0.021180078387260437,
0.030667567625641823,
-0.02420051023364067,
0.015398640185594559,
0.05573900043964386,
-0.007259226404130459,
-0.009441163390874863,
0.019123220816254616,
0.0070322309620678425,
0.05592430382966995,
-0.028740422800183296,
0.03820938244462013,
-0.03850586339831352,
0.030093129724264145,
0.05173646658658981,
0.03820938244462013,
0.004132246132940054,
0.029629874974489212,
-0.0260905958712101,
-0.10710486024618149,
-0.003624980803579092,
0.04065537452697754,
-0.036319296807050705,
0.014518452808260918,
-0.06389231234788895,
-0.014527718536555767,
0.012285557575523853,
-0.009691322222352028,
0.05340418964624405,
-0.0006456634728237987,
-0.0013411270920187235,
0.00919563788920641,
0.022032471373677254,
-0.02158774435520172,
0.005211633630096912,
-0.06489294767379761,
-0.039728861302137375,
0.047252144664525986,
0.002200467512011528,
0.022032471373677254,
0.04840102046728134,
-0.02262543886899948,
0.034744225442409515,
0.03958062082529068,
0.017344316467642784,
0.04198955371975899,
0.028833072632551193,
0.003370189806446433,
-0.013934750109910965,
0.038431745022535324,
-0.03018578141927719,
-0.023866966366767883,
0.04795629531145096,
0.04035888984799385,
-0.005892620421946049,
0.014583309181034565,
0.02108742669224739,
-0.021791577339172363,
0.027035638689994812,
-0.014787141233682632,
0.02160627394914627,
0.12719164788722992,
-0.01082166749984026,
0.021939819678664207,
0.00950601976364851,
0.010358410887420177,
-0.05025404691696167,
-0.028777481988072395,
0.03520748019218445,
0.024107858538627625,
0.014268294908106327,
0.00991368480026722,
-0.014750081114470959,
0.01655678078532219,
-0.019401174038648605,
-0.027035638689994812,
-0.03850586339831352,
-0.04047007113695145,
0.019901491701602936,
0.007018333300948143,
0.04399082064628601,
0.04840102046728134,
0.019975611940026283,
-0.014388740994036198,
0.0010081615764647722,
0.025923823937773705,
-0.02964840456843376,
-0.02761007659137249,
0.034799814224243164,
0.005665624979883432,
-0.011414635926485062,
0.001055645290762186,
-0.03185350447893143,
0.040247708559036255,
-0.009682057425379753,
-0.011952012777328491,
-0.010515918023884296,
0.030815809965133667,
0.025701461359858513,
-0.011877891607582569,
0.03809820115566254,
-0.004282804671674967
] |
719,690
|
ibm_platform_services.iam_identity_v1
|
delete_all_versions_of_profile_template
|
Delete all versions of a trusted profile template.
Delete all versions of a trusted profile template in an enterprise account. If any
version is assigned to child accounts, you must first delete the assignment.
:param str template_id: ID of the trusted profile template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_all_versions_of_profile_template(
self,
template_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete all versions of a trusted profile template.
Delete all versions of a trusted profile template in an enterprise account. If any
version is assigned to child accounts, you must first delete the assignment.
:param str template_id: ID of the trusted profile template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_all_versions_of_profile_template',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_templates/{template_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.002305701607838273,
-0.050154004245996475,
-0.0042445603758096695,
-0.0897730365395546,
-0.03894178196787834,
0.014071715995669365,
-0.05971073359251022,
0.007482653949409723,
-0.0014591410290449858,
0.03213167190551758,
0.013488530181348324,
0.0003856553230434656,
-0.051847126334905624,
-0.04876188188791275,
-0.051169876009225845,
-0.005827157758176327,
0.05026688054203987,
0.03500998020172119,
0.038151659071445465,
-0.04341914504766464,
0.034897103905677795,
0.03233861178159714,
-0.03879128396511078,
0.023026444017887115,
0.034972354769706726,
-0.036176349967718124,
0.03348616883158684,
-0.031567297875881195,
0.04673013836145401,
0.025528501719236374,
-0.06900408118963242,
0.08051730692386627,
-0.006890061777085066,
0.07630331814289093,
-0.041199278086423874,
-0.033542606979608536,
0.03775659576058388,
0.03905465826392174,
-0.08864428848028183,
0.10391999781131744,
-0.002770134015008807,
0.03514166548848152,
0.01305584330111742,
-0.016395054757595062,
0.023515569046139717,
0.001589652500115335,
-0.006320985034108162,
-0.00500411307439208,
0.002511462662369013,
-0.013996466062963009,
0.0061987037770450115,
0.031115800142288208,
0.00030570238595828414,
-0.010233975946903229,
-0.0027724856045097113,
0.006231625564396381,
-0.0014003521064296365,
-0.0013885942753404379,
0.006701936945319176,
0.014203403145074844,
0.028839493170380592,
-0.028444431722164154,
-0.05113225430250168,
-0.02483244054019451,
0.0026760718319565058,
-0.0561363659799099,
0.0026290405075997114,
0.007990590296685696,
-0.038753658533096313,
-0.0336931049823761,
-0.04955200478434563,
-0.015341556631028652,
0.03196236118674278,
-0.02223632112145424,
0.0493638813495636,
-0.0032710155937820673,
0.016837147995829582,
-0.03736153617501259,
-0.05169662460684776,
-0.021069949492812157,
-0.028500869870185852,
-0.1040704995393753,
-0.0039412095211446285,
0.014128153212368488,
0.01837976835668087,
0.021314511075615883,
0.058845359832048416,
-0.06904170662164688,
0.03235742077231407,
0.05617399141192436,
0.022800695151090622,
-0.00617048516869545,
-0.029479116201400757,
-0.05527099221944809,
0.08232330530881882,
0.04631626233458519,
0.025340376421809196,
0.0018494995310902596,
-0.05752848833799362,
-0.042290396988391876,
-0.003675483400002122,
-0.07916281372308731,
0.03939327970147133,
-0.02996824122965336,
0.05248674750328064,
-0.010281006805598736,
-0.007905934005975723,
0.013657842762768269,
0.061892975121736526,
0.04755788668990135,
-0.010864192619919777,
-0.021728385239839554,
0.009500289335846901,
-0.023421507328748703,
0.0594097338616848,
-0.012303345836699009,
-0.01050675567239523,
-0.029215741902589798,
-0.04511226713657379,
-0.06655846536159515,
0.023515569046139717,
-0.0008888884913176298,
0.012416220270097256,
0.0053239245899021626,
-0.015096995048224926,
-0.00564843975007534,
0.02048676274716854,
0.004185771103948355,
-0.037813033908605576,
0.02767312154173851,
-0.062419723719358444,
-0.00010199877578997985,
-0.03754965960979462,
-0.009185180999338627,
0.004298646003007889,
-0.025603750720620155,
0.01965901628136635,
-0.04048440232872963,
0.05030450597405434,
0.006556140724569559,
-0.010422100313007832,
0.03470898047089577,
-0.021483823657035828,
0.05248674750328064,
0.01190828438848257,
-0.025208689272403717,
0.047971758991479874,
0.05828098580241203,
-0.002803055802360177,
-0.022556133568286896,
-0.012773657217621803,
0.04071015119552612,
-0.0548194944858551,
-0.049476757645606995,
-0.03470898047089577,
-0.009810695424675941,
0.04341914504766464,
-0.027691934257745743,
-0.01166372187435627,
-0.03098411299288273,
0.02720280922949314,
0.04819750785827637,
0.0057001737877726555,
0.02291356958448887,
-0.013375655747950077,
-0.05572248995304108,
0.03025042824447155,
0.03310992196202278,
-0.05229862406849861,
-0.011268660426139832,
-0.033674295991659164,
0.026074063032865524,
0.041876524686813354,
0.02637506276369095,
0.04116165265440941,
0.003835389157757163,
0.054142244160175323,
-0.0053239245899021626,
-0.04624101519584656,
-0.03222573548555374,
-0.012444439344108105,
-0.05692648887634277,
-0.019564952701330185,
0.011278066784143448,
0.006532624829560518,
0.019179297611117363,
-0.025246314704418182,
0.07013282924890518,
-0.05967310816049576,
-0.001925925025716424,
-0.06479009240865707,
-0.052599623799324036,
0.0028289228212088346,
0.06610696762800217,
0.017504990100860596,
-0.04793413355946541,
0.0123409703373909,
-0.07114870101213455,
-0.019433265551924706,
-0.0325455479323864,
-0.06430096924304962,
-0.0571146123111248,
0.03704172372817993,
-0.06938033550977707,
0.020430326461791992,
0.023176943883299828,
0.0004564959672279656,
-0.044171642512083054,
0.017871832475066185,
-0.011174598708748817,
0.007863606326282024,
0.019094642251729965,
0.01833273656666279,
0.052787747234106064,
-0.044246893376111984,
-0.02502056583762169,
0.04063490405678749,
-0.047445010393857956,
-0.008286886848509312,
-0.0148524334654212,
0.0015226331306621432,
-0.014767777174711227,
-0.012284533120691776,
0.004994706716388464,
-0.01552968192845583,
0.04454789310693741,
-0.03438916802406311,
0.05011637881398201,
-0.03561197593808174,
-0.021483823657035828,
0.12077596038579941,
0.006589062511920929,
0.07231507450342178,
0.002520869020372629,
-0.045262765139341354,
-0.036928847432136536,
-0.019282765686511993,
-0.046504389494657516,
0.02597999945282936,
0.05527099221944809,
-0.003637858433648944,
0.002445619087666273,
0.06938033550977707,
0.03580010309815407,
0.005465018097311258,
0.030551426112651825,
-0.043042898178100586,
-0.011437973007559776,
0.013780123554170132,
-0.07269132882356644,
0.015219275839626789,
-0.05271250009536743,
0.00564843975007534,
-0.028463244438171387,
0.0027042904403060675,
-0.04951438307762146,
0.07856081426143646,
0.030814800411462784,
0.022217508405447006,
-0.011983533389866352,
-0.04225277528166771,
-0.0008095234516076744,
-0.04552613943815231,
-0.01156025379896164,
-0.022405633702874184,
-0.04514989256858826,
-0.03643972426652908,
0.0808183029294014,
-0.045074641704559326,
0.062156349420547485,
-0.08322630077600479,
-0.04420926794409752,
0.017307458445429802,
-0.009584945626556873,
0.00955202430486679,
0.0268641859292984,
-0.028049370273947716,
0.037004098296165466,
-0.008893587626516819,
-0.017307458445429802,
0.0021164012141525745,
-0.05715223774313927,
0.051583752036094666,
0.033881232142448425,
0.05745323747396469,
-0.0038447955157607794,
-0.014034091494977474,
-0.04281714931130409,
0.04383302107453346,
0.023854192346334457,
0.012246908619999886,
-0.00008164311293512583,
-0.032714858651161194,
-0.039769530296325684,
-0.09180478006601334,
-0.008964134380221367,
-0.013968247920274734,
-0.011193410493433475,
0.045601390302181244,
0.023910630494356155,
0.036872413009405136,
0.004844207316637039,
-0.002520869020372629,
-0.033542606979608536,
-0.035574350506067276,
0.0033979995641857386,
0.016338616609573364,
-0.02428687922656536,
0.0561363659799099,
0.003868310945108533,
-0.00820223055779934,
-0.005766017362475395,
0.0007689591147936881,
-0.01572721265256405,
0.024042317643761635,
0.019508516415953636,
0.045074641704559326,
-0.0704338327050209,
0.007684887852519751,
0.005417987238615751,
-0.051583752036094666,
0.05553436651825905,
0.04537564143538475,
0.039844781160354614,
0.05229862406849861,
-0.05489474534988403,
-0.01379893533885479,
-0.005375659093260765,
-0.018473830074071884,
0.0025937671307474375,
-0.013385062105953693,
-0.013610810972750187,
0.04514989256858826,
0.0023597872350364923,
0.003964724950492382,
0.006499703042209148,
0.028331557288765907,
0.02801174484193325,
-0.015181651338934898,
0.05214812606573105,
0.021935323253273964,
-0.031303923577070236,
0.06637033820152283,
0.024870065972208977,
-0.030494989827275276,
0.03201879933476448,
0.04014577716588974,
0.015219275839626789,
0.03847147151827812,
-0.039506155997514725,
0.0005761314532719553,
0.04902525618672371,
0.04338151961565018,
0.05019162967801094,
0.033805981278419495,
-0.05846910923719406,
0.012256314046680927,
0.04943913221359253,
-0.013723686337471008,
-0.005455611739307642,
-0.018370361998677254,
-0.03132273629307747,
-0.022631382569670677,
-0.016517335548996925,
0.039769530296325684,
-0.04360727220773697,
0.04985300451517105,
-0.02814343199133873,
-0.03356141969561577,
-0.025622563436627388,
-0.029403867200016975,
-0.021465010941028595,
-0.01874661073088646,
-0.0470687635242939,
0.02611168660223484,
-0.03939327970147133,
-0.038151659071445465,
0.008376245386898518,
-0.006734858732670546,
0.000978835509158671,
-0.0009129919344559312,
-0.040860652923583984,
0.05173425003886223,
0.013450905680656433,
-0.054556120187044144,
-0.0071487328968942165,
0.01556730642914772,
0.010930036194622517,
0.02436213009059429,
0.03999527916312218,
0.04902525618672371,
-0.05406699702143669,
-0.010403287597000599,
-0.04556376487016678,
0.034069355577230453,
0.02374131791293621,
-0.006875952240079641,
0.022161072120070457,
0.025528501719236374,
0.008978243917226791,
0.03580010309815407,
0.015031151473522186,
0.017542613670229912,
0.023910630494356155,
-0.008084652945399284,
-0.04654201492667198,
0.0053944713436067104,
-0.05060550570487976,
0.0036119914148002863,
-0.038001157343387604,
0.047369763255119324,
0.01587771251797676,
-0.01764608360826969,
-0.008145793341100216,
0.025321563705801964,
0.08382830023765564,
-0.06490296870470047,
0.0659564658999443,
-0.031435612589120865,
0.002459728391841054,
0.04198940098285675,
0.0307959895581007,
0.018859487026929855,
0.014222215861082077,
0.0024573770351707935,
0.037399161607027054,
-0.03514166548848152,
-0.028914744034409523,
-0.038076408207416534,
0.0041787163354456425,
0.037944722920656204,
-0.036251600831747055,
-0.011080536060035229,
0.01718517765402794,
0.025810688734054565,
0.040597278624773026,
-0.02251850813627243,
0.06407522410154343,
-0.029385054484009743,
0.03474660590291023,
0.03393767029047012,
0.016677241772413254,
-0.025340376421809196,
-0.019847139716148376,
-0.004526746924966574,
0.03329804539680481,
-0.01640446111559868,
-0.08247379958629608,
-0.019376829266548157,
0.03239504620432854,
-0.007299232296645641,
-0.029272180050611496,
0.01508758869022131,
-0.04699351266026497,
-0.008056433871388435,
-0.015096995048224926,
0.021126387640833855,
0.04774601012468338,
-0.0392051562666893,
-0.06313459575176239,
0.014598464593291283,
0.0025608453433960676,
0.03092767670750618,
-0.0035226321779191494,
-0.01105231698602438,
-0.09112752974033356,
0.0009964721975848079,
0.006598468404263258,
-0.006452672183513641,
0.02223632112145424,
-0.023176943883299828,
-0.005831860937178135,
-0.0026266889180988073,
0.08367779850959778,
0.012218689545989037,
0.059861231595277786,
0.0033086405601352453,
-0.03284654766321182,
-0.05120750144124031,
0.004004701506346464,
-0.01203997153788805,
-0.012830094434320927,
0.024249253794550896,
0.030193990096449852,
0.012293939478695393,
-0.06633271276950836,
-0.009876538999378681,
-0.014090528711676598,
-0.01210581511259079,
-0.02142738550901413,
-0.019198110327124596,
-0.019564952701330185,
-0.019508516415953636,
0.019922390580177307,
-0.000892415817361325,
-0.0592968575656414,
-0.017119333148002625,
-0.0023844786919653416,
0.039092279970645905,
-0.018059955909848213,
0.05004113167524338,
-0.02502056583762169,
0.051169876009225845,
0.011786002665758133,
0.052938248962163925,
0.07058433443307877,
0.08909578621387482,
0.01220928318798542,
-0.00559200206771493,
0.025378001853823662,
-0.05195999890565872,
0.04631626233458519,
-0.02996824122965336,
0.02020457573235035,
0.015426212921738625,
0.024230441078543663,
-0.0162727739661932,
0.027278060093522072,
0.012416220270097256,
0.0368536002933979,
-0.00011794527381425723,
0.02054320089519024,
-0.05816810950636864,
0.007402700837701559,
0.03589416295289993,
-0.008192824199795723,
-0.04545089229941368,
-0.04590239003300667,
0.038753658533096313,
0.040785402059555054,
-0.006861843168735504,
0.01952732913196087,
-0.011842440813779831,
-0.03660903871059418,
-0.049138132482767105,
-0.08819279074668884,
-0.07058433443307877,
-0.07220220565795898,
0.0537283718585968,
0.008084652945399284,
-0.03867840766906738,
0.04571426659822464,
-0.026600811630487442,
0.01647971011698246,
-0.019960014149546623,
-0.005855376832187176,
-0.02259375900030136,
0.01495590154081583,
-0.03839622065424919,
0.0020305693615227938,
0.05816810950636864,
-0.03610110282897949,
0.0307959895581007,
0.043908268213272095,
-0.05316399782896042,
0.06505347043275833,
-0.028519682586193085,
-0.02718399651348591,
-0.01197412796318531,
0.0067677805200219154,
-0.011588471941649914,
-0.02530275285243988,
0.05101937800645828,
-0.03457729145884514,
0.013074656017124653,
0.04545089229941368,
-0.02387300506234169,
0.02007288858294487,
-0.02069370076060295,
-0.016837147995829582,
-0.002021163236349821,
0.03105936385691166,
-0.010356256738305092,
-0.02985536679625511,
-0.03066430240869522,
-0.027014685794711113,
0.0179658941924572,
-0.001269840751774609,
0.06938033550977707,
0.03730509802699089,
-0.021803636103868484,
-0.01603761874139309,
0.09127803146839142,
-0.05451849475502968,
0.03559316322207451,
0.07540032267570496,
0.0683644637465477,
0.030231615528464317,
0.022292759269475937,
0.0030970002990216017,
-0.054631371051073074,
0.04857375845313072,
0.026469124481081963,
-0.026807747781276703,
-0.03897940739989281,
0.02895236760377884,
0.029403867200016975,
-0.030494989827275276,
-0.035912975668907166,
-0.02645031176507473,
0.01482421439141035,
0.04341914504766464,
0.04454789310693741,
0.039581406861543655,
0.028444431722164154,
-0.021991759538650513,
-0.01885008066892624,
0.03132273629307747,
-0.005817751865833998,
-0.021860072389245033,
0.05180950090289116,
0.00749206030741334,
0.02801174484193325,
-0.0425913967192173,
0.034972354769706726,
0.039092279970645905,
-0.012519688345491886,
0.04537564143538475,
-0.026619624346494675,
-0.03965665400028229,
-0.04435976967215538,
-0.00956613291054964,
-0.04530039057135582,
0.041500274091959,
-0.042704273015260696,
0.07374482601881027,
-0.003675483400002122,
0.012256314046680927,
-0.05417986959218979,
0.034558478742837906,
-0.015793055295944214,
-0.005060550291091204,
-0.020091701298952103,
0.03912990540266037,
0.04454789310693741,
0.002281010150909424,
0.009773069992661476,
-0.05444324389100075,
0.0038259830325841904,
-0.043795395642519,
0.06648321449756622,
-0.04691826179623604,
0.010835974477231503,
0.07114870101213455,
-0.03132273629307747,
0.03867840766906738,
-0.015172244980931282,
0.0004902996006421745,
0.013234562240540981,
0.008112871088087559,
0.015604930929839611,
0.03995765373110771,
-0.03653378784656525,
-0.03420104458928108,
-0.061892975121736526,
0.003917693626135588,
0.038358595222234726,
0.013234562240540981,
-0.015275713056325912,
-0.017636677250266075,
0.020994700491428375,
-0.0313415490090847,
0.020298639312386513,
0.020223388448357582,
0.045413266867399216,
-0.009895351715385914,
-0.016573773697018623,
0.016865365207195282,
-0.0560234896838665,
0.008324511349201202,
0.030758364126086235,
0.029930615797638893,
-0.0057754237204790115,
0.010741911828517914,
0.014165778644382954,
0.0034708979073911905,
-0.02605525031685829,
-0.00837154220789671,
-0.04646676406264305,
0.046429138630628586,
0.04800938442349434,
0.027767183259129524,
-0.004228099249303341,
0.012322157621383667,
-0.055383868515491486,
-0.06938033550977707,
0.01652674190700054,
0.04868663474917412,
-0.06708521395921707,
-0.01967782713472843,
-0.07886181026697159,
-0.02863255701959133,
0.03412579372525215,
-0.00681481184437871,
0.015689587220549583,
-0.002788946498185396,
-0.022085821256041527,
0.003106406657025218,
-0.00456907507032156,
-0.020712513476610184,
-0.01759905181825161,
-0.04752026125788689,
-0.06313459575176239,
0.040860652923583984,
-0.019113454967737198,
0.07028333097696304,
0.0448865182697773,
-0.01539799477905035,
0.062231600284576416,
-0.0038118737284094095,
0.017486177384853363,
0.0001675484236329794,
0.04740738496184349,
-0.001928276615217328,
0.02231157198548317,
0.03233861178159714,
-0.036721911281347275,
-0.017580239102244377,
0.06926745921373367,
0.002181068994104862,
0.0218412596732378,
0.020900636911392212,
0.010036444291472435,
-0.015717806294560432,
0.011936502531170845,
-0.015350962989032269,
0.05222337320446968,
0.07679244130849838,
-0.005243971943855286,
0.025208689272403717,
0.015369775705039501,
0.024794815108180046,
-0.04819750785827637,
-0.04375777021050453,
0.025716625154018402,
0.0025044081266969442,
0.028500869870185852,
0.004275130573660135,
0.014316278509795666,
-0.017711926251649857,
-0.03660903871059418,
-0.014382122084498405,
-0.0404091514647007,
-0.043231021612882614,
0.006988827139139175,
0.011249847710132599,
0.07050908356904984,
0.011842440813779831,
0.052599623799324036,
-0.0109206298366189,
0.027823621407151222,
0.03521691635251045,
-0.05203524976968765,
-0.0448865182697773,
0.044660769402980804,
0.008319808170199394,
0.0012768954038619995,
-0.025208689272403717,
-0.07069720327854156,
0.0006184594822116196,
-0.016573773697018623,
-0.016047023236751556,
-0.0011798936175182462,
-0.002817165106534958,
0.03119105100631714,
0.008277480490505695,
0.013187531381845474,
0.0036848895251750946
] |
719,691
|
ibm_platform_services.iam_identity_v1
|
delete_api_key
|
Deletes an API key.
Deletes an API key. Existing tokens will remain valid until expired. Users can
manage user API keys for themself, or service ID API keys for service IDs that are
bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Deletes an API key.
Deletes an API key. Existing tokens will remain valid until expired. Users can
manage user API keys for themself, or service ID API keys for service IDs that are
bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_api_key',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/apikeys/{id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.037776414304971695,
-0.006446267478168011,
-0.00515425531193614,
-0.04108690842986107,
-0.00597268296405673,
0.00004957119745085947,
-0.020856112241744995,
0.07040317356586456,
-0.024295346811413765,
0.025049403309822083,
-0.024810312315821648,
-0.012184456922113895,
0.052783988416194916,
-0.016819149255752563,
-0.011025783605873585,
0.016285790130496025,
0.049730975180864334,
0.0018747970461845398,
0.011743057519197464,
-0.08805914223194122,
0.059772808104753494,
0.0848957747220993,
-0.032019831240177155,
-0.03479696810245514,
0.019127298146486282,
0.0792311578989029,
0.051091957837343216,
0.02506779506802559,
0.037040747702121735,
-0.026998916640877724,
-0.015927154570817947,
0.02637360244989395,
0.005489902570843697,
0.0344107449054718,
-0.07820122689008713,
-0.04016732797026634,
0.028580598533153534,
0.014428236521780491,
-0.09924124926328659,
0.0363786518573761,
-0.011145330034196377,
0.05260007083415985,
0.010639559477567673,
-0.06032455712556839,
0.0400569774210453,
-0.00934754777699709,
-0.041896138340234756,
-0.00614740327000618,
-0.039946626871824265,
0.010354489088058472,
0.008607284165918827,
0.018906598910689354,
0.021554993465542793,
-0.028801297768950462,
0.023596465587615967,
0.04561125114560127,
-0.0016368553042411804,
-0.022014785557985306,
0.004630093462765217,
-0.022014785557985306,
0.009315362200140953,
0.008565902709960938,
-0.015329426154494286,
0.012221240438520908,
0.03290263190865517,
-0.048921745270490646,
-0.028359897434711456,
0.028249548748135567,
-0.007945185527205467,
0.006602596025913954,
-0.005706004332751036,
-0.015531733632087708,
-0.0238355565816164,
-0.0033495761454105377,
0.01802380010485649,
-0.01723296009004116,
-0.031909484416246414,
-0.04355138540267944,
-0.033288855105638504,
-0.046015866100788116,
0.016092678532004356,
-0.07871618866920471,
0.024810312315821648,
-0.02346772328019142,
0.007595744449645281,
-0.01017976924777031,
-0.0027104669716209173,
-0.027624232694506645,
0.031596824526786804,
0.01472250185906887,
-0.005825549829751253,
0.01065795123577118,
-0.05171727389097214,
0.04678831622004509,
0.02019401267170906,
0.01541218813508749,
0.022879190742969513,
-0.006694554351270199,
0.030585285276174545,
-0.01630418188869953,
0.04759754613041878,
-0.004140416160225868,
-0.0004632392665371299,
-0.019495131447911263,
0.0549909844994545,
-0.040314458310604095,
0.03773963078856468,
-0.02950017899274826,
-0.008257843554019928,
0.012570681050419807,
-0.01081428024917841,
-0.011145330034196377,
0.008055535145103931,
-0.01295690517872572,
-0.0033127928618341684,
0.05671979486942291,
0.014483410865068436,
-0.013867291621863842,
-0.010556797496974468,
0.004646186251193285,
0.0019748015329241753,
-0.046714749187231064,
0.006335917394608259,
-0.0086716553196311,
0.0490688756108284,
-0.01443743146955967,
-0.014676523394882679,
0.019108906388282776,
0.03284745663404465,
-0.031541649252176285,
-0.033914171159267426,
0.0049197617918252945,
-0.012708618305623531,
0.02002848871052265,
0.04524341598153114,
0.031799133867025375,
0.06547421216964722,
0.0400569774210453,
-0.012947709299623966,
0.04800216108560562,
0.023559682071208954,
0.0499148927628994,
0.006308330222964287,
0.04421348497271538,
0.004269158001989126,
-0.061207354068756104,
-0.06470176577568054,
-0.04704579710960388,
-0.02405625581741333,
-0.010446447879076004,
-0.023780381307005882,
0.03218535706400871,
0.006308330222964287,
-0.014566173776984215,
0.02002848871052265,
-0.054108183830976486,
-0.004510547965764999,
0.00307370163500309,
0.017564009875059128,
-0.011623512022197247,
0.06308329850435257,
0.038401730358600616,
0.06168553605675697,
-0.06168553605675697,
0.008046339266002178,
-0.02913234755396843,
-0.030732419341802597,
0.013628199696540833,
-0.022217093035578728,
0.04505950212478638,
-0.04425026848912239,
0.036029208451509476,
0.039578795433044434,
-0.033914171159267426,
-0.027477100491523743,
-0.01807897537946701,
0.027311574667692184,
-0.004708257969468832,
-0.029316263273358345,
-0.0011420054361224174,
0.07029282301664352,
-0.0050806887447834015,
0.01063036359846592,
-0.03419004753232002,
0.022143526002764702,
0.03277388960123062,
0.011494770646095276,
0.059772808104753494,
-0.022069958969950676,
0.0011747655225917697,
-0.06885827332735062,
-0.05087125673890114,
0.03229570761322975,
0.019384780898690224,
-0.010262531228363514,
-0.01644212007522583,
0.01844680868089199,
-0.0910753682255745,
0.020157229155302048,
-0.03262675553560257,
-0.04160187393426895,
0.015862783417105675,
0.017830688506364822,
-0.0026001171208918095,
0.0668351948261261,
-0.03670969977974892,
0.03705913946032524,
-0.055064547806978226,
-0.02876451425254345,
0.05260007083415985,
0.04579516500234604,
0.0005120920250192285,
-0.006786512676626444,
-0.015265055000782013,
-0.00647845258936286,
0.0020552650094032288,
0.05315181985497475,
-0.01641453243792057,
0.05079768970608711,
0.0005146783660165966,
0.022915974259376526,
0.0009805039735510945,
0.02859898842871189,
-0.0071083661168813705,
0.04619978368282318,
0.011651099659502506,
0.04693544656038284,
0.04263180494308472,
-0.03290263190865517,
-0.06094987317919731,
0.06657771021127701,
-0.0031265777070075274,
-0.015917958691716194,
-0.016065090894699097,
-0.006800306495279074,
-0.08548431098461151,
-0.043220337480306625,
-0.04947349429130554,
0.0064370715990662575,
-0.032222140580415726,
0.06032455712556839,
0.03172556683421135,
0.012129281647503376,
0.030327802523970604,
-0.05605769902467728,
0.020690586417913437,
-0.05462314933538437,
0.004140416160225868,
0.030162278562784195,
-0.08953046798706055,
0.01635935716331005,
-0.0910753682255745,
0.030051928013563156,
0.0028713936917483807,
0.05841182544827461,
-0.017297331243753433,
-0.021481426432728767,
-0.04542733356356621,
-0.003809367073699832,
0.026300035417079926,
-0.03943166136741638,
0.060729172080755234,
-0.06735015660524368,
0.053372517228126526,
0.012193652801215649,
0.013858095742762089,
0.023725206032395363,
0.04980454221367836,
0.0865878090262413,
0.011384421028196812,
0.05234258621931076,
0.010216551832854748,
0.01361900381743908,
-0.032222140580415726,
0.008846375159919262,
0.048296429216861725,
-0.034024521708488464,
-0.025821853429079056,
0.024755138903856277,
-0.00914983730763197,
0.0045956093817949295,
-0.09578362107276917,
0.05223223939538002,
-0.001467882189899683,
-0.01075910497456789,
0.0009569396497681737,
0.011062567122280598,
0.044066350907087326,
0.04244788736104965,
0.05447601526975632,
0.026079336181282997,
0.0070761810056865215,
-0.02642877586185932,
0.06256833672523499,
-0.03514641150832176,
0.012009736150503159,
-0.0673869401216507,
-0.004413991700857878,
0.018180130049586296,
0.0019368688808754086,
-0.008165884763002396,
0.048774611204862595,
0.02405625581741333,
-0.03093472681939602,
-0.014888026751577854,
0.0173433106392622,
0.031118642538785934,
-0.003823160659521818,
-0.017407679930329323,
0.028801297768950462,
-0.0036438421811908484,
-0.006694554351270199,
-0.040314458310604095,
-0.0662834420800209,
-0.0016449016984552145,
-0.02394590526819229,
0.020065272226929665,
-0.03759249672293663,
-0.010602776892483234,
-0.00157938152551651,
0.0024782726541161537,
0.013002884574234486,
-0.023504506796598434,
-0.010924629867076874,
0.04917922616004944,
-0.05727154389023781,
0.07577352970838547,
-0.04557446762919426,
0.05616804584860802,
0.0003640968643594533,
0.042962852865457535,
0.02473674714565277,
-0.035183195024728775,
-0.06477533280849457,
-0.012920122593641281,
-0.09173746407032013,
0.0640028864145279,
0.0009546406799927354,
-0.002301253145560622,
0.09703425318002701,
-0.024626396596431732,
-0.029647313058376312,
0.03954201191663742,
0.04425026848912239,
-0.025877026841044426,
0.00307370163500309,
0.010501622222363949,
-0.04796537756919861,
0.05513811483979225,
-0.03431878611445427,
0.06804904341697693,
-0.023614857345819473,
0.01700306497514248,
0.024718355387449265,
0.09092823415994644,
-0.02515975385904312,
0.02532527782022953,
0.04608943313360214,
-0.05774972587823868,
0.006763522978872061,
-0.03913739323616028,
-0.005462314933538437,
-0.10652434080839157,
-0.015025964006781578,
-0.05451279878616333,
-0.03943166136741638,
0.003262215992435813,
-0.055064547806978226,
0.010262531228363514,
-0.008538316003978252,
-0.034870535135269165,
0.04833321273326874,
0.017122609540820122,
0.024442480877041817,
0.021738911047577858,
0.04870104417204857,
0.0018885908648371696,
-0.0026782816275954247,
-0.03194626793265343,
0.03847529739141464,
-0.004924359731376171,
-0.04965740814805031,
0.016506491228938103,
0.00009231737931258976,
0.006519834045320749,
0.034760184586048126,
-0.008731427602469921,
-0.05944175645709038,
0.015632888302206993,
0.04075586050748825,
0.05727154389023781,
-0.062310852110385895,
-0.02394590526819229,
0.022345833480358124,
0.0009172827121801674,
-0.02236422523856163,
-0.025233320891857147,
-0.0018173232674598694,
-0.016193833202123642,
-0.004404796287417412,
0.062421202659606934,
0.09960908442735672,
0.024626396596431732,
0.012745401822030544,
0.0431467704474926,
0.03884312883019447,
-0.017104217782616615,
-0.08143815398216248,
-0.03279228135943413,
0.0006477303104475141,
0.028267940506339073,
-0.009867111220955849,
-0.00532897561788559,
0.03689361736178398,
0.05863252654671669,
0.0414547398686409,
-0.06477533280849457,
0.053262170404195786,
-0.02267688326537609,
-0.00004486552643356845,
0.010363684967160225,
0.02284240908920765,
-0.03943166136741638,
-0.028470247983932495,
-0.0074945902451872826,
0.06389253586530685,
-0.03770284727215767,
-0.03224053233861923,
0.013756941072642803,
-0.04932636022567749,
-0.006142805330455303,
-0.014510998502373695,
-0.04340425506234169,
0.0324428416788578,
-0.04947349429130554,
0.03128416836261749,
0.010336097329854965,
0.05719797685742378,
0.016791561618447304,
-0.0005287594394758344,
-0.020708978176116943,
-0.061354488134384155,
-0.012947709299623966,
-0.025178145617246628,
-0.07790695875883102,
0.04377208650112152,
0.057823292911052704,
0.005030111409723759,
0.022033175453543663,
0.012883339077234268,
0.07066065073013306,
0.04182257503271103,
0.020285971462726593,
-0.02527010440826416,
-0.009094662964344025,
-0.10990840196609497,
0.014382257126271725,
0.04413991793990135,
-0.027679407969117165,
-0.062310852110385895,
0.026079336181282997,
0.03373025357723236,
-0.012000540271401405,
0.00224148016422987,
-0.021481426432728767,
0.03361990675330162,
0.03380382061004639,
0.06981463730335236,
0.02786332368850708,
-0.02972087822854519,
0.0005710027180612087,
-0.016340965405106544,
0.0020046879071742296,
0.03880634531378746,
0.010933825746178627,
0.0724998190999031,
0.059404972940683365,
-0.0022483770735561848,
-0.02468157187104225,
0.005623241886496544,
0.034079696983098984,
-0.014510998502373695,
0.01015218161046505,
-0.036194734275341034,
0.03569816052913666,
-0.005214028060436249,
-0.010345293208956718,
0.0007000315235927701,
-0.05454958230257034,
-0.01892499066889286,
0.030530110001564026,
0.004055355209857225,
-0.03726144880056381,
-0.008267039433121681,
0.02950017899274826,
-0.043698519468307495,
0.012018932029604912,
-0.03194626793265343,
-0.017646772786974907,
-0.030419761314988136,
0.016285790130496025,
0.001815024297684431,
0.026833392679691315,
0.011393616907298565,
0.0015058149583637714,
-0.011393616907298565,
0.002986341482028365,
-0.011384421028196812,
-0.025729894638061523,
0.0007730233483016491,
-0.0781276598572731,
-0.02484709583222866,
-0.02596898563206196,
-0.013435088098049164,
0.03150486573576927,
-0.018382437527179718,
-0.0507609061896801,
-0.02067219465970993,
0.023412548005580902,
0.035974033176898956,
0.01627659611403942,
0.06028777360916138,
-0.010897042229771614,
0.030162278562784195,
0.009821131825447083,
-0.018069779500365257,
-0.02464478835463524,
-0.03928452730178833,
0.06602596491575241,
0.025674719363451004,
-0.027090875431895256,
0.011835015378892422,
0.04167544096708298,
-0.006883068475872278,
0.016681211069226265,
-0.03373025357723236,
-0.09946195036172867,
-0.010621167719364166,
-0.015292642638087273,
-0.008740623481571674,
0.04288928955793381,
0.06223728507757187,
-0.006735935807228088,
-0.042374324053525925,
-0.06536386162042618,
0.00731067406013608,
0.021702127531170845,
0.04244788736104965,
0.021426253020763397,
0.006781914737075567,
0.01816173829138279,
-0.031155426055192947,
0.0349624939262867,
-0.005361161194741726,
-0.06863757222890854,
0.0006431324291042984,
-0.021371077746152878,
0.005062296986579895,
0.010740713216364384,
-0.022290660068392754,
-0.0654374286532402,
0.02078254520893097,
0.05054020881652832,
-0.01787666790187359,
-0.013591417111456394,
0.022235484793782234,
0.027844931930303574,
0.013968445360660553,
0.03965236246585846,
-0.01680995337665081,
-0.048664260655641556,
-0.031228993088006973,
0.004786422476172447,
-0.02977605350315571,
-0.07294121384620667,
0.02506779506802559,
-0.0005675543216057122,
0.005200234241783619,
-0.001488572801463306,
0.004591011442244053,
-0.0324428416788578,
-0.022971149533987045,
0.024571221321821213,
-0.012910926714539528,
-0.037040747702121735,
0.0020885998383164406,
0.06565812975168228,
-0.052048321813344955,
0.03799711540341377,
-0.020175620913505554,
-0.03374864533543587,
0.030309410765767097,
0.04642048105597496,
-0.06606274843215942,
-0.03257158026099205,
0.034925710409879684,
0.03139451891183853,
-0.0012724711559712887,
-0.00848773866891861,
0.0006241660448722541,
0.04980454221367836,
0.01898016594350338,
0.05848539248108864,
0.010115398094058037,
0.03854886442422867,
0.018575549125671387,
-0.036672916263341904,
-0.01345347985625267,
-0.01886981539428234,
-0.05293111875653267,
0.0009339501266367733,
-0.04108690842986107,
0.00006965112697798759,
0.026667868718504906,
-0.038879912346601486,
0.010952217504382133,
0.033914171159267426,
-0.01446501910686493,
-0.0375005379319191,
-0.0249574463814497,
-0.006575008854269981,
-0.045758381485939026,
-0.028525423258543015,
0.022695275023579597,
-0.05355643481016159,
0.05815434455871582,
0.02379877306520939,
0.012009736150503159,
-0.0758470967411995,
0.021591776981949806,
-0.026796609163284302,
0.04439740255475044,
-0.027624232694506645,
-0.00664857542142272,
0.027936890721321106,
-0.0238355565816164,
0.007802650332450867,
-0.008239451795816422,
0.013756941072642803,
0.0011402812087908387,
0.044066350907087326,
0.015954742208123207,
-0.049510277807712555,
0.09857915341854095,
-0.0482228621840477,
0.038254596292972565,
-0.031155426055192947,
-0.03531193360686302,
-0.01043725199997425,
-0.0896776020526886,
-0.042116839438676834,
0.013067254796624184,
0.002701271092519164,
-0.0575290285050869,
-0.015715651214122772,
-0.047450412064790726,
0.03624990954995155,
0.04958384111523628,
-0.05907392501831055,
-0.05031950771808624,
0.06179588660597801,
-0.03361990675330162,
0.015209880657494068,
-0.04134438931941986,
-0.009388928301632404,
-0.0829094797372818,
0.01168788317590952,
-0.02194121852517128,
0.014547782018780708,
-0.015366209670901299,
-0.008032545447349548,
-0.002049517584964633,
0.016957085579633713,
0.051312655210494995,
-0.03288424015045166,
-0.007857825607061386,
-0.0009052131790667772,
-0.04024089127779007,
0.015099531039595604,
0.0025173546746373177,
0.02876451425254345,
0.006975026801228523,
-0.0001217727258335799,
-0.05197475478053093,
-0.034245219081640244,
-0.01694788970053196,
0.0065290299244225025,
0.046236567199230194,
-0.05333573743700981,
-0.05572664737701416,
-0.017941037192940712,
-0.009453299455344677,
0.01166029553860426,
-0.053115036338567734,
-0.008083122782409191,
-0.04038802534341812,
-0.01646970771253109,
0.047450412064790726,
-0.016589252278208733,
0.012497114948928356,
-0.030787592753767967,
-0.020102055743336678,
-0.0026139109395444393,
0.011724665760993958,
0.026520734652876854,
0.01999170519411564,
0.04219040647149086,
0.029757661744952202,
-0.01805138774216175,
-0.016515687108039856,
0.03426361083984375,
0.04689866304397583,
-0.001904683536849916,
-0.046494048088788986,
0.04704579710960388,
0.056020915508270264,
-0.03950522840023041,
-0.06646735966205597,
-0.004777226597070694,
0.0532989539206028,
-0.0006207175902090967,
0.02538045309484005,
-0.007021005731076002,
0.0076555171981453896,
-0.02907717227935791,
-0.012230436317622662,
0.021223943680524826,
0.043477822095155716,
0.01006941869854927,
0.005448521114885807,
0.023982688784599304,
-0.018382437527179718,
-0.08232095092535019,
-0.0064600612968206406,
0.002134579000994563,
-0.01971583068370819,
-0.005048503167927265,
-0.08055534958839417,
0.06370861828327179,
0.009747565723955631,
-0.03336242213845253,
0.04836999624967575,
0.03569816052913666,
-0.04134438931941986,
-0.005834745708853006,
0.022401008754968643,
0.04233754053711891,
0.031008293852210045,
0.028359897434711456,
-0.003108185948804021,
0.0007431369158439338,
0.02083772048354149,
0.010023440234363079,
0.026079336181282997,
0.02596898563206196,
-0.02633681893348694,
-0.0815117210149765,
0.04800216108560562,
0.031431302428245544,
0.02219870127737522,
-0.01971583068370819,
-0.043698519468307495,
-0.0020046879071742296,
-0.02357807382941246,
-0.010170573368668556,
0.014400648884475231,
0.013205192051827908,
0.05852217599749565
] |
719,692
|
ibm_platform_services.iam_identity_v1
|
delete_claim_rule
|
Delete a claim rule.
Delete a claim rule. When you delete a claim rule, federated user or compute
resources are no longer required to meet the conditions of the claim rule in order
to apply the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str rule_id: ID of the claim rule to delete.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_claim_rule(
self,
profile_id: str,
rule_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a claim rule.
Delete a claim rule. When you delete a claim rule, federated user or compute
resources are no longer required to meet the conditions of the claim rule in order
to apply the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str rule_id: ID of the claim rule to delete.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not rule_id:
raise ValueError('rule_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_claim_rule',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['profile-id', 'rule-id']
path_param_values = self.encode_path_vars(profile_id, rule_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/rules/{rule-id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, rule_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04581794887781143,
0.08586356043815613,
-0.010922349989414215,
-0.026119839400053024,
-0.028627200052142143,
-0.008829876780509949,
-0.0487041212618351,
0.04495209828019142,
0.0033980142325162888,
-0.029114240780472755,
-0.017921311780810356,
0.035626161843538284,
0.021501967683434486,
-0.03479638695716858,
-0.016956249251961708,
0.007896380499005318,
0.01397988572716713,
0.032415296882390976,
0.024478329345583916,
-0.01555826049298048,
0.024947332218289375,
0.032415296882390976,
-0.017975427210330963,
-0.021321581676602364,
0.024243827909231186,
0.02034749835729599,
0.02097884938120842,
0.012437589466571808,
0.015531202778220177,
0.044266633689403534,
0.0025907885283231735,
0.03834998607635498,
0.00003183172157150693,
0.03638378158211708,
-0.05256437137722969,
-0.016992326825857162,
0.022890936583280563,
0.014160271733999252,
-0.11891020834445953,
0.040911462157964706,
-0.09632592648267746,
0.08716233819723129,
0.05155421420931816,
0.00974082387983799,
-0.03172983229160309,
-0.02860916033387184,
0.006687797140330076,
0.0067419130355119705,
-0.013501863926649094,
-0.03820567578077316,
-0.047405343502759933,
-0.003188316011801362,
-0.002611082047224045,
0.03676259145140648,
0.004807277116924524,
-0.030034206807613373,
-0.08218368887901306,
-0.04895665869116783,
-0.003476932877674699,
0.005799397826194763,
0.05775947868824005,
-0.03439953923225403,
-0.03784490376710892,
-0.0408753827214241,
0.03373211249709129,
-0.05151813477277756,
-0.01425948366522789,
-0.002762154908850789,
0.018976567313075066,
-0.041596926748752594,
0.005109422840178013,
-0.00013705079618375748,
0.07139663398265839,
-0.0014667606446892023,
0.05278083309531212,
-0.06035703048110008,
0.05819240212440491,
-0.0691598504781723,
0.0494978167116642,
0.020004766061902046,
0.015486106276512146,
-0.024261867627501488,
0.022584279999136925,
-0.004992172122001648,
-0.00685465382412076,
0.025398297235369682,
0.04448309540748596,
-0.033912498503923416,
-0.07009785622358322,
-0.026047684252262115,
0.06573252379894257,
-0.018633835017681122,
-0.0447717122733593,
-0.042607083916664124,
0.036564167588949203,
0.034128960222005844,
0.01823698729276657,
0.01892245188355446,
-0.053935304284095764,
-0.023197591304779053,
-0.00256373081356287,
-0.017271924763917923,
-0.006241342518478632,
0.02875346876680851,
0.0966866984963417,
0.013853616081178188,
0.04628695175051689,
-0.003499481128528714,
-0.021014925092458725,
0.0330105684697628,
0.009244763292372227,
-0.04062284156680107,
-0.06566036492586136,
-0.008243623189628124,
0.0840597003698349,
0.02812211960554123,
-0.031152598559856415,
-0.05014720559120178,
0.0036753572057932615,
-0.03329918533563614,
0.0062819295562803745,
-0.05058012902736664,
-0.02381090261042118,
-0.04307608678936958,
0.004281903617084026,
-0.006768970750272274,
-0.005862533114850521,
0.02931266464293003,
0.050940901041030884,
0.023053282871842384,
-0.05599169805645943,
0.00644427677616477,
-0.012022702023386955,
-0.027544885873794556,
-0.019517725333571434,
0.02460459992289543,
0.0573265515267849,
0.003770059673115611,
0.04834334924817085,
-0.019932612776756287,
0.04430270940065384,
0.05061620846390724,
-0.002841073554009199,
-0.012617974542081356,
-0.01810169778764248,
-0.021339619532227516,
-0.047802191227674484,
0.025596721097826958,
-0.027995849028229713,
-0.016965268179774284,
-0.016559401527047157,
-0.009199666790664196,
0.010480404831469059,
-0.016090398654341698,
0.07193779200315475,
0.010471385903656483,
-0.007661879528313875,
0.024388136342167854,
-0.024135597050189972,
-0.014034002088010311,
0.012284261174499989,
0.04433878883719444,
0.009939247742295265,
-0.0002996092662215233,
0.019535763189196587,
-0.032739993184804916,
0.012176030315458775,
-0.0046584587544202805,
-0.014385754242539406,
-0.03549989312887192,
-0.043581169098615646,
-0.06086210906505585,
0.01029099989682436,
0.034381501376628876,
-0.028573082759976387,
0.015910012647509575,
0.021213348954916,
0.012383473105728626,
-0.05664108693599701,
-0.032252948731184006,
-0.002766664605587721,
-0.03647397458553314,
0.03313684090971947,
-0.020618077367544174,
-0.02231370285153389,
0.04978643357753754,
-0.050796594470739365,
0.03153140842914581,
0.006191736552864313,
-0.010588636621832848,
-0.029673436656594276,
-0.006200755946338177,
-0.04664772376418114,
0.013321478851139545,
-0.015531202778220177,
-0.09228529036045074,
0.08218368887901306,
-0.009569457732141018,
-0.005456665065139532,
-0.06728383898735046,
-0.022764666005969048,
0.06165580824017525,
-0.019391454756259918,
0.007977554574608803,
0.017317019402980804,
-0.011454487219452858,
0.008811837993562222,
0.04029814898967743,
-0.058264557272195816,
0.02702176757156849,
-0.00334840826690197,
0.005582935176789761,
0.04383370652794838,
0.010318057611584663,
0.026498649269342422,
-0.02734646201133728,
-0.0341830775141716,
0.021339619532227516,
0.0005538402474485338,
-0.009334956295788288,
-0.027436653152108192,
-0.022890936583280563,
0.0038286850322037935,
0.043725475668907166,
-0.002060905797407031,
0.0306475181132555,
-0.01786719635128975,
0.032090604305267334,
-0.004730612970888615,
-0.0440140925347805,
0.016568420454859734,
-0.017948370426893234,
0.05130167305469513,
-0.016793901100754738,
0.028176235035061836,
-0.0006567164091393352,
-0.025019487366080284,
0.012067798525094986,
-0.030737711116671562,
0.06151149794459343,
0.01774994656443596,
-0.02906012535095215,
0.017641713842749596,
0.04942566156387329,
-0.015504145063459873,
0.1281459480524063,
0.027075883001089096,
0.016911152750253677,
0.004577285144478083,
-0.07110801339149475,
-0.015098277479410172,
0.03187413886189461,
0.022602319717407227,
0.0471167266368866,
-0.0009971943218261003,
-0.018417373299598694,
-0.009596515446901321,
-0.0541878417134285,
0.019211068749427795,
0.016306860372424126,
-0.011598795652389526,
0.007111703511327505,
0.07684427499771118,
-0.05415176600217819,
0.025813182815909386,
0.004130830988287926,
-0.05552269518375397,
0.07554549723863602,
0.05007505044341087,
0.005722734145820141,
0.007129741832613945,
-0.040189918130636215,
0.0357704684138298,
0.011418410576879978,
-0.020455731078982353,
0.02538025751709938,
-0.05112128704786301,
0.061078574508428574,
0.048126883804798126,
-0.004139850381761789,
0.01660449616611004,
-0.040658921003341675,
0.011472526006400585,
-0.000487886747578159,
-0.029673436656594276,
-0.030665555968880653,
0.0035626161843538284,
0.0651913657784462,
0.006678777746856213,
0.0715409368276596,
-0.009389071725308895,
-0.032739993184804916,
-0.0487041212618351,
0.0216101985424757,
-0.006110562942922115,
0.03914368152618408,
-0.0057543013244867325,
-0.01315913163125515,
0.06262989342212677,
0.04924527555704117,
0.0029831272549927235,
0.05884179100394249,
0.043328627943992615,
-0.0668148398399353,
-0.07215425372123718,
-0.03420111536979675,
0.0275088082998991,
-0.03151337057352066,
0.03182002529501915,
0.00289518921636045,
0.0010569470468908548,
-0.015810800716280937,
-0.029673436656594276,
0.03400269150733948,
0.02153804339468479,
0.033984653651714325,
0.00748149398714304,
-0.019770264625549316,
0.037592366337776184,
0.00950632244348526,
-0.006953865755349398,
-0.03474227339029312,
0.05014720559120178,
0.04148869588971138,
0.03324507176876068,
-0.05609992891550064,
-0.004363077227026224,
0.024766946211457253,
0.0448077917098999,
0.0008371020667254925,
-0.01319520827382803,
0.001524258521385491,
-0.0004134776827413589,
-0.023901095613837242,
0.032252948731184006,
-0.02599356882274151,
0.04170515760779381,
0.0016257254173979163,
0.012554839253425598,
0.07720504701137543,
0.0013810774544253945,
0.014250464737415314,
0.0958930030465126,
0.02671511098742485,
-0.020004766061902046,
0.000034509321267250925,
-0.021790584549307823,
-0.03957660496234894,
0.023468170315027237,
0.024622637778520584,
0.05743478238582611,
-0.04390586167573929,
0.06299065798521042,
0.02128550410270691,
0.029565203934907913,
-0.05242006480693817,
-0.021952930837869644,
0.013952828012406826,
-0.01854364201426506,
-0.03697905316948891,
-0.014981026761233807,
-0.04690026491880417,
-0.015314740128815174,
0.0013359810691326857,
0.038855064660310745,
-0.023684632033109665,
-0.02725626900792122,
-0.011337236501276493,
-0.032739993184804916,
0.016550380736589432,
-0.03795313462615013,
-0.016261763870716095,
0.011932509019970894,
0.0023968741297721863,
0.016793901100754738,
0.019734187051653862,
0.015819819644093513,
0.02505556307733059,
0.010498443618416786,
0.008333816193044186,
-0.05404353514313698,
0.015937069430947304,
-0.06641798466444016,
0.018128756433725357,
-0.05938294902443886,
0.005497252102941275,
-0.05902217701077461,
-0.01802954263985157,
-0.052275754511356354,
0.023702671751379967,
0.060393109917640686,
-0.015188469551503658,
0.05061620846390724,
-0.09639807790517807,
-0.028573082759976387,
0.016333919018507004,
-0.05822848156094551,
0.01088627241551876,
-0.004081225022673607,
0.01288855355232954,
-0.03239725902676582,
0.0035648709163069725,
0.020455731078982353,
0.034435614943504333,
-0.0157115887850523,
0.0440140925347805,
-0.04116399958729744,
0.015459048561751842,
-0.025668874382972717,
-0.0003077829896938056,
-0.0012875024694949389,
-0.04094753786921501,
0.027148036286234856,
0.024496369063854218,
0.030539287254214287,
0.03151337057352066,
0.02128550410270691,
-0.008694587275385857,
0.005073345731943846,
-0.015332777984440327,
0.029006008058786392,
-0.028410736471414566,
-0.006254871841520071,
-0.0057001858949661255,
-0.008175978437066078,
-0.024406176060438156,
-0.02067219279706478,
0.06432551145553589,
-0.041272230446338654,
-0.005564896389842033,
0.031621601432561874,
-0.008455576375126839,
-0.03755628690123558,
-0.002074434654787183,
-0.0510852113366127,
0.03795313462615013,
-0.023143475875258446,
0.04350901395082474,
0.026895496994256973,
-0.02795977145433426,
0.040803227573633194,
0.020094959065318108,
-0.026191992685198784,
0.014250464737415314,
-0.05768732354044914,
0.03914368152618408,
0.008748702704906464,
-0.041452616453170776,
-0.03293841704726219,
0.03118867427110672,
0.08312169462442398,
0.030521247535943985,
-0.012167010456323624,
-0.009186138398945332,
-0.0018140029860660434,
-0.06623760610818863,
-0.013105016201734543,
0.0009289860026910901,
-0.0024284415412694216,
-0.061800114810466766,
-0.009867093525826931,
0.04390586167573929,
-0.021790584549307823,
-0.014692408964037895,
-0.0463230274617672,
0.04956997185945511,
0.05112128704786301,
0.061258960515260696,
-0.04975035786628723,
-0.027689194306731224,
-0.0341830775141716,
-0.012239164672791958,
-0.0016944975359365344,
0.02718411386013031,
0.041524771600961685,
0.07792659103870392,
0.02687745913863182,
-0.011679969727993011,
-0.0035986932925879955,
0.08153430372476578,
0.01955380290746689,
-0.03564419969916344,
-0.04567364230751991,
0.002179283881559968,
0.036113202571868896,
-0.0157115887850523,
-0.015314740128815174,
0.010263942182064056,
-0.08052414655685425,
0.024929294362664223,
0.007955006323754787,
-0.02498340979218483,
-0.040658921003341675,
-0.03246941417455673,
0.029835782945156097,
-0.015900993719697,
0.03559008613228798,
-0.02397325076162815,
-0.010092576034367085,
-0.043581169098615646,
0.0012300044763833284,
-0.07320048660039902,
-0.0015535712009295821,
0.017407212406396866,
-0.0024306962732225657,
0.006913279183208942,
-0.05242006480693817,
0.03831390663981438,
-0.04249885305762291,
0.020545922219753265,
-0.052059292793273926,
0.08110138028860092,
-0.006638191174715757,
-0.0019222343107685447,
-0.012599935755133629,
0.03889114037156105,
0.005334904883056879,
0.017551520839333534,
-0.0471167266368866,
0.009686708450317383,
0.03748413175344467,
-0.02088865637779236,
-0.0014769072877243161,
0.02350424788892269,
0.012428569607436657,
0.020401613786816597,
-0.003499481128528714,
-0.02444225177168846,
0.08276092261075974,
-0.08571925014257431,
-0.004376606084406376,
0.04040637984871864,
-0.003860252443701029,
-0.029493050649762154,
-0.005357453133910894,
-0.021970968693494797,
-0.04664772376418114,
-0.013456767424941063,
0.03302861005067825,
-0.005808417219668627,
-0.003774569369852543,
0.02325170673429966,
-0.07107193768024445,
0.06854654103517532,
-0.04138046130537987,
0.029186394065618515,
0.00950632244348526,
0.010173749178647995,
0.002568240277469158,
0.02460459992289543,
-0.004277394153177738,
-0.02451440691947937,
0.04542110115289688,
0.030521247535943985,
-0.021664313971996307,
0.08463693410158157,
0.042426697909832,
-0.0620526559650898,
0.0028613670729100704,
-0.04614264518022537,
-0.025109678506851196,
0.007319146767258644,
0.05718224495649338,
0.007747562602162361,
0.042138081043958664,
0.038602523505687714,
0.0785759761929512,
0.030845941975712776,
-0.030070284381508827,
-0.03333526477217674,
-0.021718429401516914,
0.03322703391313553,
0.021664313971996307,
0.00030411890475079417,
-0.054476458579301834,
-0.028068004176020622,
0.03212668001651764,
-0.013303440064191818,
0.016081377863883972,
0.06529960036277771,
-0.052528295665979385,
-0.008951636962592602,
0.04484386742115021,
-0.005276279523968697,
-0.05537838861346245,
0.010814118199050426,
0.014548100531101227,
-0.01681194081902504,
0.0068817115388810635,
-0.0357704684138298,
-0.04621479660272598,
0.02938481792807579,
0.0015005829045549035,
-0.06887122988700867,
0.008139901794493198,
0.06111465021967888,
0.04383370652794838,
-0.013095996342599392,
-0.03286626189947128,
0.0448077917098999,
0.013826558366417885,
-0.07807090133428574,
0.063603974878788,
0.037123363465070724,
0.03486854210495949,
0.019986728206276894,
0.005159028805792332,
-0.03863860294222832,
-0.03293841704726219,
-0.06750030070543289,
-0.05696577951312065,
0.018390314653515816,
0.035463813692331314,
-0.026444533839821815,
0.04690026491880417,
-0.07240679115056992,
-0.009623573161661625,
-0.0028546026442199945,
-0.015260623767971992,
-0.02639041654765606,
0.031224751845002174,
-0.043328627943992615,
-0.026895496994256973,
0.05090482532978058,
0.008460085839033127,
0.0668148398399353,
-0.018209928646683693,
-0.029565203934907913,
-0.07655566185712814,
-0.03678062930703163,
-0.045132484287023544,
0.036654360592365265,
-0.014647313393652439,
-0.04596225917339325,
0.020942771807312965,
0.025722989812493324,
0.007057587616145611,
0.016045302152633667,
0.015017103403806686,
-0.05368276312947273,
0.027364499866962433,
-0.02271055057644844,
-0.00163925439119339,
0.03867467865347862,
-0.05671324208378792,
0.0009024918545037508,
-0.00978592038154602,
-0.027779387310147285,
0.026462571695446968,
-0.034994810819625854,
-0.008608903735876083,
0.049606047570705414,
-0.014881813898682594,
0.004153379239141941,
0.06638190895318985,
0.013718326576054096,
0.061944425106048584,
-0.0016426366055384278,
-0.021628236398100853,
0.01265405211597681,
0.030755748972296715,
-0.0231795534491539,
0.013934790156781673,
-0.06980923563241959,
-0.01508925762027502,
-0.07049470394849777,
0.029420895501971245,
-0.002372070914134383,
0.0010315802646800876,
0.00754462881013751,
-0.00955141894519329,
0.018994607031345367,
-0.007725014351308346,
0.03863860294222832,
0.03212668001651764,
-0.009686708450317383,
0.004906489048153162,
-0.07374164462089539,
0.022259585559368134,
0.019445570185780525,
-0.017082519829273224,
-0.010137672536075115,
0.0057317535392940044,
-0.06623760610818863,
0.0019357632845640182,
0.038999371230602264,
0.054873306304216385,
-0.049064889550209045,
-0.1028919592499733,
-0.025867298245429993,
-0.004148869309574366,
-0.03896329551935196,
0.020311420783400536,
-0.06432551145553589,
-0.01264503225684166,
-0.041272230446338654,
-0.03227099031209946,
0.040731076151132584,
-0.030431054532527924,
0.03230706602334976,
-0.05364668741822243,
-0.04134438559412956,
0.031621601432561874,
-0.042426697909832,
0.0002395746560068801,
0.06032095476984978,
0.007540119346231222,
-0.01931930147111416,
0.0487041212618351,
-0.05112128704786301,
-0.038855064660310745,
0.0683300793170929,
0.023522285744547844,
-0.02891581691801548,
-0.017037423327565193,
0.01186937466263771,
-0.06454198062419891,
-0.019463609904050827,
-0.02772527188062668,
-0.01625274494290352,
0.05454861372709274,
0.03788098320364952,
0.0314231775701046,
-0.03133298456668854,
0.0165052842348814,
-0.013934790156781673,
0.04249885305762291,
0.03149532899260521,
-0.02821231260895729,
-0.02781546302139759,
0.017623675987124443,
0.030521247535943985,
-0.023774825036525726,
0.009082416072487831,
-0.0039932867512106895,
0.04361724480986595,
-0.0018884120509028435,
-0.07763797789812088,
0.07821521162986755,
-0.01339363306760788,
-0.017308000475168228,
0.02207920141518116,
0.022927014157176018,
-0.029096201062202454,
-0.007896380499005318,
0.047802191227674484,
0.00887497328221798,
0.006088015157729387,
0.04603441059589386,
-0.024622637778520584,
0.010137672536075115,
-0.0048794313333928585,
-0.004744141828268766,
0.04754965007305145,
0.014881813898682594,
-0.012536801397800446,
-0.02678726613521576,
0.0035941835958510637,
-0.024568522348999977,
0.01386263594031334,
-0.03741198033094406,
0.06966493278741837,
-0.006191736552864313,
0.010471385903656483,
0.009123003110289574,
-0.013898712582886219,
0.04390586167573929,
-0.042426697909832
] |
719,693
|
ibm_platform_services.iam_identity_v1
|
delete_link
|
Delete link to a trusted profile.
Delete a link between a compute resource and a trusted profile.
:param str profile_id: ID of the trusted profile.
:param str link_id: ID of the link.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_link(
self,
profile_id: str,
link_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete link to a trusted profile.
Delete a link between a compute resource and a trusted profile.
:param str profile_id: ID of the trusted profile.
:param str link_id: ID of the link.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not link_id:
raise ValueError('link_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_link',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['profile-id', 'link-id']
path_param_values = self.encode_path_vars(profile_id, link_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/links/{link-id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, link_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.032912760972976685,
0.047741588205099106,
-0.041846226900815964,
-0.008065435104072094,
-0.004030457232147455,
0.018219564110040665,
-0.057687751948833466,
0.03237024322152138,
0.02227940782904625,
0.013282650150358677,
-0.0170260239392519,
0.02873537316918373,
0.03363611921668053,
-0.05085202679038048,
-0.01179976761341095,
-0.03898896276950836,
0.024955829605460167,
-0.0144671481102705,
0.07005716115236282,
-0.038048598915338516,
0.009548317641019821,
0.09143237769603729,
-0.044992830604314804,
-0.029983164742588997,
0.024793075397610664,
0.03604128211736679,
0.019711488857865334,
0.004407959058880806,
0.009530234150588512,
0.045101333409547806,
-0.01862645335495472,
0.03567960485816002,
-0.010976948775351048,
0.0632576048374176,
-0.008318610489368439,
-0.008476844988763332,
-0.007296867668628693,
-0.0019519347697496414,
-0.15696854889392853,
0.05978548899292946,
-0.09859361499547958,
0.0501648373901844,
0.0055969781242311,
0.014964456669986248,
-0.00030149309895932674,
-0.013047559186816216,
-0.019168971106410027,
0.0060581183061003685,
-0.07215490192174911,
-0.05841111019253731,
-0.033979713916778564,
-0.014123553410172462,
0.025950446724891663,
0.058808956295251846,
-0.0471990704536438,
-0.05370928719639778,
-0.03891662880778313,
0.0058908420614898205,
-0.024756906554102898,
0.02553451620042324,
0.06343844532966614,
-0.05363694950938225,
-0.05323910340666771,
0.010443472303450108,
0.03884429112076759,
-0.047886259853839874,
-0.047633085399866104,
0.01842753030359745,
-0.005343802738934755,
0.0017484904965385795,
0.0041367001831531525,
-0.006930667906999588,
0.03235216066241264,
0.015769191086292267,
0.04470348730683327,
-0.019530650228261948,
0.03567960485816002,
-0.03390737995505333,
-0.01794830523431301,
-0.048501115292310715,
0.005872758105397224,
-0.07522916793823242,
0.04871812090277672,
-0.01238749548792839,
0.03256916627287865,
0.022550666704773903,
0.09143237769603729,
-0.03076077438890934,
-0.03520942106842995,
0.032514914870262146,
0.047018229961395264,
0.01741482876241207,
-0.01820147968828678,
-0.05663888528943062,
0.04980315640568733,
0.05678355693817139,
0.027089735493063927,
-0.02126670815050602,
0.009123344905674458,
-0.03520942106842995,
0.017912138253450394,
-0.04506516456604004,
-0.015633562579751015,
0.030435262247920036,
0.05030950903892517,
0.017776507884263992,
0.03746991232037544,
-0.05598786100745201,
0.00011069346510339528,
0.03833794221282005,
0.02573343925178051,
-0.05866428464651108,
0.014150679111480713,
-0.00553368404507637,
0.04199089854955673,
-0.00734659843146801,
0.0070346505381166935,
-0.02466648817062378,
-0.007871032692492008,
-0.021736890077590942,
-0.03076077438890934,
0.0125412093475461,
-0.020163588225841522,
-0.04694589599967003,
0.0033794352784752846,
-0.04097819700837135,
-0.005009249784052372,
0.0008623776375316083,
0.010470598004758358,
0.02573343925178051,
-0.014503316022455692,
-0.02340061217546463,
0.020525265485048294,
0.006876416504383087,
-0.007834864780306816,
0.0006199398776516318,
-0.010226464830338955,
0.01538038719445467,
0.03797626495361328,
0.012676838785409927,
0.00597674073651433,
0.03211706876754761,
-0.021646469831466675,
0.027324825525283813,
0.04130370914936066,
-0.031140536069869995,
0.008616995066404343,
-0.006713660899549723,
-0.00514940032735467,
-0.04904363304376602,
0.0056241038255393505,
-0.05334760993719101,
0.002286487491801381,
0.03902513161301613,
-0.007875553332269192,
-0.010380178689956665,
-0.030164003372192383,
-0.01781267672777176,
-0.04911596700549126,
-0.030127836391329765,
0.03488390892744064,
0.029603401198983192,
0.020036999136209488,
0.007251658011227846,
-0.0009273667819797993,
-0.056819722056388855,
0.04954998195171356,
0.003474375931546092,
0.008824960328638554,
-0.01484691072255373,
-0.013743790797889233,
-0.028391778469085693,
0.018111061304807663,
0.0033297045156359673,
-0.029621485620737076,
0.034178636968135834,
0.08325843513011932,
-0.01746908202767372,
-0.020290175452828407,
-0.08029267191886902,
-0.020290175452828407,
-0.04036334156990051,
0.04217173531651497,
-0.007179322186857462,
-0.014232057146728039,
0.01994658075273037,
-0.006844769231975079,
-0.02913321927189827,
0.0019010736141353846,
-0.04593319445848465,
-0.04090585932135582,
-0.010434430092573166,
-0.03197239711880684,
0.029621485620737076,
-0.0027058087289333344,
-0.034992415457963943,
0.02649296447634697,
-0.053166769444942474,
-0.027903512120246887,
-0.034178636968135834,
-0.06564468145370483,
0.01719782128930092,
-0.026619551703333855,
-0.052154067903757095,
0.04615020379424095,
-0.021646469831466675,
0.04947764798998833,
0.020380595698952675,
-0.009109782055020332,
0.03902513161301613,
-0.013011391274631023,
-0.0015495672123506665,
0.05356461554765701,
0.0446673184633255,
0.013110852800309658,
0.022731507197022438,
0.00658707320690155,
0.022677253931760788,
0.03323827311396599,
-0.013382111676037312,
0.04944147914648056,
-0.02933214232325554,
0.06419797241687775,
0.019114719703793526,
0.05356461554765701,
-0.022623002529144287,
0.022912345826625824,
0.02426864020526409,
0.021809225901961327,
-0.07884595543146133,
0.04416096955537796,
0.005031854845583439,
-0.022514499723911285,
-0.011148746125400066,
0.003144344314932823,
-0.06419797241687775,
-0.026022782549262047,
0.0007533089374192059,
-0.030471431091427803,
-0.011410962790250778,
-0.008594390004873276,
0.03703589737415314,
0.020633770152926445,
0.04803093150258064,
-0.01994658075273037,
0.04882662370800972,
-0.00042751553701236844,
0.0157058984041214,
-0.021646469831466675,
-0.09664054960012436,
0.02958531863987446,
-0.03506474941968918,
0.0366380512714386,
0.01490116212517023,
0.013960798271000385,
0.015769191086292267,
0.018970048055052757,
-0.005673834588378668,
-0.04832027480006218,
0.015479848720133305,
-0.011175871826708317,
-0.03202664852142334,
-0.03841027617454529,
-0.000341899401973933,
0.044377975165843964,
-0.0342690572142601,
0.008192022331058979,
0.0840541273355484,
0.06918913871049881,
0.02786734327673912,
0.06361928582191467,
-0.0235995352268219,
0.009448856115341187,
0.012089110910892487,
-0.012459831312298775,
0.02309318445622921,
-0.04828410595655441,
0.023020848631858826,
-0.004774158820509911,
0.018915796652436256,
-0.029675737023353577,
-0.06123220548033714,
0.008300526067614555,
0.040435679256916046,
0.0021282529924064875,
-0.02269533835351467,
0.00025232741609215736,
0.04242490977048874,
-0.03721673786640167,
0.05877278745174408,
0.01502775028347969,
-0.005384491756558418,
-0.028138602152466774,
0.02736099436879158,
-0.010533892549574375,
0.03765075281262398,
-0.027324825525283813,
0.0421355701982975,
0.011655095964670181,
0.023834627121686935,
0.04419713839888573,
0.023979298770427704,
0.043726954609155655,
-0.029531065374612808,
-0.02877154015004635,
-0.03649337962269783,
0.07414413243532181,
-0.03387121111154556,
0.056819722056388855,
0.026167454198002815,
-0.010398262180387974,
-0.011058325879275799,
0.009503107517957687,
0.037686921656131744,
-0.02435906045138836,
0.027722671627998352,
0.04206323251128197,
0.016917521134018898,
-0.03629445657134056,
0.006035513244569302,
-0.03542643040418625,
-0.012676838785409927,
0.05106903240084648,
0.051141370087862015,
0.029151303693652153,
-0.028916211798787117,
-0.011139703914523125,
0.00802022498100996,
0.006695576943457127,
-0.027089735493063927,
0.011311501264572144,
0.0013359506847336888,
-0.007220011204481125,
-0.02958531863987446,
-0.024232473224401474,
-0.0032076379284262657,
0.02989274449646473,
0.007116028573364019,
0.007450581062585115,
0.05663888528943062,
-0.010217423550784588,
-0.006541863549500704,
0.05978548899292946,
0.038554947823286057,
-0.03614978492259979,
-0.002549834782257676,
-0.0003159037441946566,
-0.058555781841278076,
0.011483298614621162,
0.0342148058116436,
0.030742689967155457,
0.04105053097009659,
0.048392608761787415,
0.06043650954961777,
0.04564385116100311,
-0.037072066217660904,
-0.01851794868707657,
0.029621485620737076,
-0.020344426855444908,
-0.03539026156067848,
-0.002721632132306695,
-0.0059812613762915134,
-0.01236036978662014,
0.0018298681825399399,
0.057579249143600464,
-0.027288658544421196,
-0.02755991742014885,
0.015922904014587402,
0.008431634865701199,
-0.008802355267107487,
0.0007374854758381844,
-0.06181088835000992,
0.011293417774140835,
-0.0028210938908159733,
0.06539151072502136,
-0.017324410378932953,
0.0006713661132380366,
0.026149369776248932,
0.009656821377575397,
-0.012631628662347794,
-0.009937122464179993,
-0.02188156172633171,
0.00953927543014288,
-0.007265220861881971,
-0.007717319298535585,
0.018644537776708603,
0.016582967713475227,
-0.05851961299777031,
0.01773129776120186,
0.02750566601753235,
0.02609511837363243,
-0.04289509356021881,
-0.01994658075273037,
-0.013065642677247524,
0.029404478147625923,
-0.012911929748952389,
-0.03171922266483307,
0.01139287929981947,
-0.0366923026740551,
0.03323827311396599,
0.010425388813018799,
0.05298592895269394,
-0.048356443643569946,
0.03171922266483307,
-0.006980399135500193,
-0.04318443685770035,
0.0104796402156353,
-0.009258974343538284,
0.0223879124969244,
0.03519133850932121,
0.006338419392704964,
0.012948097661137581,
-0.019458314403891563,
0.05121370404958725,
0.04672888666391373,
0.08390945941209793,
-0.026004698127508163,
-0.0027781445533037186,
-0.08767091482877731,
-0.022315576672554016,
0.05446881055831909,
-0.017342492938041687,
-0.049911659210920334,
0.008937984704971313,
-0.020036999136209488,
-0.030742689967155457,
-0.032967012375593185,
0.0392783060669899,
0.006912583950906992,
-0.0024051633663475513,
0.04112286865711212,
-0.030326759442687035,
0.01271300669759512,
-0.025064334273338318,
-0.018554117530584335,
0.04889896139502525,
-0.03303935006260872,
0.017568543553352356,
-0.004643050488084555,
-0.024377144873142242,
-0.013445405289530754,
0.0022051099222153425,
-0.013318818062543869,
-0.042352575808763504,
-0.027523748576641083,
-0.019060468301177025,
0.018536033108830452,
-0.031447961926460266,
-0.03587852790951729,
0.023509114980697632,
0.07927997410297394,
0.00743701821193099,
0.054287973791360855,
-0.045969363301992416,
-0.006333898287266493,
-0.0710698664188385,
-0.03501049801707268,
0.029205555096268654,
-0.030127836391329765,
-0.012197613716125488,
-0.0053573655895888805,
-0.008883733302354813,
-0.06586169451475143,
-0.010651437565684319,
0.004787721671164036,
0.036818891763687134,
0.021357126533985138,
0.016275541856884956,
-0.03264150395989418,
0.002882127184420824,
-0.0069261472672224045,
0.0044961185194551945,
-0.007482228334993124,
0.09801492840051651,
0.03643912822008133,
0.05761541798710823,
0.003960381727665663,
-0.02193581312894821,
-0.02396121434867382,
0.010714731179177761,
0.02323785610496998,
-0.061196036636829376,
0.008386424742639065,
0.03493816405534744,
0.0498393252491951,
-0.015335177071392536,
0.004851015750318766,
0.037795424461364746,
-0.025823859497904778,
-0.005908925551921129,
0.024702655151486397,
0.008318610489368439,
-0.03235216066241264,
-0.021610302850604057,
-0.02918747067451477,
-0.05370928719639778,
-0.026565300300717354,
-0.023888878524303436,
0.00882043968886137,
-0.02247833088040352,
0.023617619648575783,
-0.030634185299277306,
-0.002500104019418359,
-0.023310191929340363,
0.05045417696237564,
0.0445588156580925,
0.017704172059893608,
0.043726954609155655,
-0.04564385116100311,
0.018536033108830452,
-0.0785566121339798,
0.08579018712043762,
0.01954873465001583,
0.03231599181890488,
0.03224365785717964,
0.0262940414249897,
-0.024485647678375244,
0.016049493104219437,
0.019150886684656143,
0.00890633836388588,
0.03090544417500496,
0.01368049718439579,
-0.029512982815504074,
0.022858094424009323,
0.013508699834346771,
0.010362095199525356,
-0.027379076927900314,
-0.007418934255838394,
0.07023800164461136,
0.042461078613996506,
0.016836144030094147,
0.05432414263486862,
-0.06152154877781868,
-0.09331310540437698,
0.020326342433691025,
-0.041737720370292664,
-0.04539067670702934,
-0.05294976010918617,
0.009475981816649437,
0.012866719625890255,
0.000965795130468905,
-0.015552184544503689,
-0.07056351751089096,
0.02137521095573902,
-0.032659586519002914,
0.02137521095573902,
0.0815223827958107,
0.03602319955825806,
-0.00140489568002522,
-0.02171880565583706,
-0.005117753520607948,
-0.004082448314875364,
0.04517367109656334,
0.03924213722348213,
-0.04242490977048874,
0.03542643040418625,
-0.02851836569607258,
-0.09902762621641159,
0.04289509356021881,
-0.018608368933200836,
-0.08036500960588455,
-0.022116651758551598,
0.04745224490761757,
0.011429047212004662,
0.058555781841278076,
0.027831176295876503,
0.025860026478767395,
-0.006912583950906992,
-0.019602986052632332,
-0.013960798271000385,
-0.02329210750758648,
0.011863061226904392,
-0.04405246675014496,
-0.001178846461698413,
-0.06206406652927399,
0.0009539275779388845,
-0.009575443342328072,
-0.00638362905010581,
0.055047497153282166,
0.08007566630840302,
-0.03359995037317276,
0.04039951041340828,
0.062461912631988525,
-0.01029880065470934,
-0.03258725255727768,
-0.011564676649868488,
0.009277058765292168,
-0.046620383858680725,
0.06680205464363098,
-0.009448856115341187,
-0.07154005020856857,
0.0235995352268219,
-0.014774574898183346,
-0.1045251414179802,
-0.023418696597218513,
0.03211706876754761,
0.029259806498885155,
-0.02340061217546463,
-0.030164003372192383,
0.032153237611055374,
0.02323785610496998,
-0.06539151072502136,
0.051141370087862015,
0.03466690331697464,
0.023364443331956863,
-0.006125933025032282,
-0.03466690331697464,
-0.00533023988828063,
-0.058700453490018845,
-0.058953627943992615,
-0.03331060707569122,
0.03721673786640167,
-0.01012700330466032,
-0.02553451620042324,
0.027903512120246887,
-0.06398095935583115,
0.00007254766387632117,
-0.02567918784916401,
-0.006415275856852531,
-0.008838523179292679,
0.02806626632809639,
-0.09837660938501358,
-0.030977779999375343,
0.03643912822008133,
-0.03974848985671997,
0.05747074633836746,
-0.0054387436248362064,
0.01924130693078041,
-0.06289592385292053,
0.018536033108830452,
-0.03548068180680275,
0.00013591207971330732,
0.008381904102861881,
-0.027017399668693542,
0.052298739552497864,
-0.057579249143600464,
0.03873578831553459,
-0.01621224731206894,
0.009810534305870533,
-0.04593319445848465,
0.06141304224729538,
-0.01164605375379324,
-0.03725290670990944,
0.055915527045726776,
-0.06430647522211075,
0.04803093150258064,
0.0224421638995409,
-0.053890127688646317,
0.06369161605834961,
0.02014550380408764,
-0.02690889500081539,
0.055553849786520004,
0.0394953154027462,
-0.06528300791978836,
0.018554117530584335,
-0.037325240671634674,
0.06839343905448914,
0.029259806498885155,
-0.06253425031900406,
0.018662620335817337,
0.047018229961395264,
-0.025860026478767395,
0.031086284667253494,
-0.05273275449872017,
-0.019476398825645447,
-0.040580350905656815,
0.02056143432855606,
0.05023717135190964,
-0.010705689899623394,
0.00009437553671887144,
0.008892775513231754,
0.02873537316918373,
-0.013978881761431694,
0.022351743653416634,
0.021140120923519135,
-0.004837452434003353,
-0.029151303693652153,
-0.07414413243532181,
0.03808476775884628,
0.003917432390153408,
0.0021723327226936817,
-0.009783408604562283,
0.0005196305573917925,
0.01144713070243597,
-0.027686504647135735,
-0.029512982815504074,
0.06719990074634552,
-0.012215698137879372,
-0.09627886861562729,
0.01834615133702755,
-0.028663037344813347,
-0.06687439233064651,
0.04383545741438866,
-0.06152154877781868,
-0.02511858567595482,
-0.031176704913377762,
-0.020977364853024483,
0.017143569886684418,
-0.02573343925178051,
0.015850568190217018,
-0.01699889823794365,
-0.002744237193837762,
0.004991166293621063,
-0.01727920025587082,
-0.029476813971996307,
0.0766758844256401,
-0.014837868511676788,
-0.012631628662347794,
0.04683739319443703,
-0.01803872548043728,
0.02309318445622921,
0.013779958710074425,
0.03851878270506859,
0.0008431634632870555,
0.022930430248379707,
0.028699204325675964,
-0.040435679256916046,
-0.029259806498885155,
0.030073583126068115,
0.0014071562327444553,
0.0446673184633255,
0.010778025723993778,
-0.003160167718306184,
0.03209898620843887,
-0.016501590609550476,
-0.02613128535449505,
0.012306117452681065,
0.003994289319962263,
0.04097819700837135,
-0.035661518573760986,
-0.030887361615896225,
0.04137604311108589,
-0.06195555999875069,
0.0342690572142601,
-0.03624020516872406,
0.021085867658257484,
0.013445405289530754,
0.011591802351176739,
0.07935230433940887,
-0.07725457102060318,
-0.027957763522863388,
0.019530650228261948,
0.02115820348262787,
-0.06257041543722153,
0.001224056351929903,
0.00667297188192606,
0.011501383036375046,
0.03812093660235405,
0.0498393252491951,
-0.03963998705148697,
0.03888045996427536,
-0.030362926423549652,
-0.05761541798710823,
-0.008318610489368439,
0.06676588952541351,
-0.038554947823286057,
-0.05624103918671608,
-0.060581181198358536,
-0.033473365008831024,
-0.039061300456523895,
0.035354092717170715,
0.046620383858680725,
0.014186847023665905,
-0.0368550606071949,
0.02269533835351467,
0.022460246458649635,
-0.02587811090052128,
-0.0003972814592998475
] |
719,694
|
ibm_platform_services.iam_identity_v1
|
delete_profile
|
Delete a trusted profile.
Delete a trusted profile. When you delete trusted profile, compute resources and
federated users are unlinked from the profile and can no longer apply the trusted
profile identity.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_profile(
self,
profile_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a trusted profile.
Delete a trusted profile. When you delete trusted profile, compute resources and
federated users are unlinked from the profile and can no longer apply the trusted
profile identity.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not profile_id:
raise ValueError('profile_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_profile',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.07743857055902481,
0.027217058464884758,
0.02051352895796299,
-0.05285897105932236,
-0.009606558829545975,
0.0010382684413343668,
-0.013974841684103012,
0.06948958337306976,
0.024121712893247604,
0.0029808722902089357,
-0.016099456697702408,
0.05545979365706444,
-0.031081659719347954,
-0.018636174499988556,
-0.003271633293479681,
-0.015339357778429985,
-0.006488319486379623,
-0.0006301729008555412,
0.06524035334587097,
-0.04641186073422432,
0.040550850331783295,
0.06600960344076157,
-0.038279712200164795,
-0.027491793036460876,
0.03362753614783287,
0.017839444801211357,
0.05095414072275162,
0.011950962245464325,
0.02302277274429798,
0.013782527297735214,
-0.021575836464762688,
0.048902787268161774,
-0.04102705791592598,
0.050111621618270874,
-0.009240246377885342,
0.020531844347715378,
-0.026466116309165955,
0.044726818799972534,
-0.07436154037714005,
0.03930538892745972,
-0.0724567174911499,
0.04641186073422432,
-0.005906797479838133,
0.011099284514784813,
0.008168780244886875,
-0.0016049089608713984,
-0.02381034567952156,
-0.0038920759689062834,
-0.06461761891841888,
-0.008562566712498665,
-0.03912223130464554,
-0.0054443273693323135,
0.0016610006568953395,
0.01739071123301983,
0.04208936542272568,
-0.07868403941392899,
-0.06238310784101486,
-0.03360921889543533,
-0.001734263263642788,
0.06527698040008545,
0.06458098441362381,
-0.06436119973659515,
-0.04351798817515373,
0.000570360803976655,
0.03787676617503166,
-0.07388533651828766,
-0.0029442410450428724,
-0.0024932180531322956,
-0.02633790671825409,
-0.006108269561082125,
0.04534955322742462,
-0.023224245756864548,
0.0038714706897735596,
0.004063785076141357,
0.05399454012513161,
-0.03183260187506676,
-0.006579897832125425,
-0.048976052552461624,
-0.002185286022722721,
0.030349034816026688,
0.000354865740519017,
-0.09465528279542923,
-0.00692789489403367,
-0.026667587459087372,
-0.011117599904537201,
0.02320593036711216,
0.06194353103637695,
-0.08469156920909882,
-0.04128347709774971,
0.006337215192615986,
0.017235027626156807,
0.021630784496665,
-0.0233707707375288,
-0.056119155138731,
0.0815412774682045,
0.030477244406938553,
0.026704220101237297,
0.004507939796894789,
-0.0514303483068943,
-0.04641186073422432,
-0.00695536844432354,
-0.014679994434118271,
-0.02441476285457611,
0.00904335267841816,
0.09135846793651581,
0.05080761760473251,
0.07000242173671722,
0.01077876053750515,
0.0013954236637800932,
0.052346132695674896,
0.0013049901463091373,
-0.07582679390907288,
-0.028370942920446396,
0.007367470767349005,
0.06732833385467529,
-0.002850373275578022,
0.021520890295505524,
-0.020531844347715378,
0.011080969125032425,
-0.03696098551154137,
0.002120036631822586,
-0.001481278333812952,
-0.04007464647293091,
-0.03007429838180542,
-0.042638834565877914,
-0.005494695156812668,
-0.007642205338925123,
-0.0005660681053996086,
-0.0001493870367994532,
0.025788437575101852,
-0.017335763201117516,
0.000395503593608737,
-0.04351798817515373,
-0.0098721357062459,
0.04267546907067299,
0.03135639429092407,
0.003347185207530856,
0.019506167620420456,
0.04241904988884926,
0.02573348954319954,
-0.029854511842131615,
0.020183848217129707,
-0.035678889602422714,
0.049928463995456696,
0.006135743111371994,
-0.016145246103405952,
0.008548830635845661,
-0.00432249391451478,
-0.02304108999669552,
-0.01573314517736435,
-0.014066420495510101,
0.02417665906250477,
0.02243667282164097,
-0.04787711054086685,
-0.02078826352953911,
-0.0368327759206295,
0.002221917500719428,
-0.0075643640011549,
-0.010009502992033958,
0.0010834852000698447,
0.0384262353181839,
0.04208936542272568,
0.025696858763694763,
-0.006772212218493223,
-0.029689671471714973,
-0.04666827991604805,
0.042455680668354034,
0.04846321418881416,
-0.019231433048844337,
-0.027839789167046547,
0.006557003129273653,
-0.023920239880681038,
0.03434184566140175,
0.05293223261833191,
0.030129246413707733,
-0.02807789295911789,
0.040367696434259415,
-0.010220133699476719,
-0.07227355986833572,
-0.058023981750011444,
0.01146559789776802,
-0.06282268464565277,
0.021960465237498283,
-0.02467118203639984,
0.010760445147752762,
-0.003356343135237694,
-0.01239053811877966,
0.029781248420476913,
0.02153920568525791,
0.011236651800572872,
-0.054690536111593246,
-0.038902442902326584,
-0.038096554577350616,
0.03247364982962608,
0.027235373854637146,
-0.012784324586391449,
0.0547637976706028,
-0.060002073645591736,
0.027510108426213264,
-0.05458064004778862,
-0.08036907762289047,
0.036631301045417786,
0.036026887595653534,
-0.030294086784124374,
-0.010247606784105301,
-0.000517417152877897,
0.02076994813978672,
-0.0015476725529879332,
0.015009676106274128,
0.011740332469344139,
-0.008750302717089653,
-0.0010159462690353394,
0.031228184700012207,
0.06205342710018158,
-0.000517417152877897,
-0.002866399474442005,
-0.005636641755700111,
-0.04736427590250969,
0.043591249734163284,
0.008892248384654522,
0.04337146133184433,
-0.0166763998568058,
0.024140028282999992,
0.01589798554778099,
0.010119397193193436,
0.02408508211374283,
-0.03569720312952995,
-0.0059663234278559685,
-0.0022402331233024597,
-0.05238276347517967,
0.09524138271808624,
-0.004849068820476532,
-0.004100416321307421,
-0.0019529062556102872,
-0.0297995638102293,
-0.0054534850642085075,
-0.030202507972717285,
-0.05934270843863487,
0.006103690713644028,
0.01979921944439411,
0.026649272069334984,
-0.010870339348912239,
-0.0026946901343762875,
0.023938555270433426,
-0.04769395664334297,
0.05472716689109802,
-0.00406607473269105,
-0.004416361451148987,
-0.022143622860312462,
-0.06582645326852798,
0.021630784496665,
-0.004839910659939051,
0.018453018739819527,
0.02327919192612171,
0.02076994813978672,
0.010549815371632576,
0.006717265117913485,
-0.03952517360448837,
-0.01972595602273941,
0.025000864639878273,
-0.057840827852487564,
-0.025660227984189987,
-0.03661298751831055,
-0.022876247763633728,
-0.010723813436925411,
-0.023572243750095367,
-0.023792030289769173,
0.06589971482753754,
0.04743753746151924,
0.01069634035229683,
0.032455332577228546,
-0.004926910158246756,
0.040038011968135834,
0.009643190540373325,
-0.034470055252313614,
-0.005604589357972145,
-0.053335174918174744,
0.03119155392050743,
0.044470399618148804,
0.0010874917497858405,
-0.0198175348341465,
-0.058023981750011444,
0.010943601839244366,
0.009533296339213848,
-0.0024726130068302155,
0.004789542872458696,
-0.00007376342546194792,
0.015403462573885918,
0.02025710977613926,
0.05073435232043266,
0.029964406043291092,
-0.017610497772693634,
-0.0617237463593483,
0.0034822633024305105,
-0.04370114207267761,
0.00551758985966444,
-0.01658482290804386,
0.03875591978430748,
0.024707812815904617,
0.06029512360692024,
0.0003663130337372422,
0.03573383390903473,
0.02729032002389431,
-0.0280595775693655,
-0.013626844622194767,
-0.032034073024988174,
-0.0012179907644167542,
-0.03886581212282181,
0.013370425440371037,
0.009441718459129333,
-0.03285827860236168,
-0.02529391460120678,
-0.031063344329595566,
0.04208936542272568,
0.0004719141870737076,
0.033059749752283096,
0.0465950183570385,
-0.060624804347753525,
-0.005572536960244179,
0.03135639429092407,
-0.02371876873075962,
-0.02304108999669552,
0.08806165307760239,
0.048536475747823715,
0.08329958468675613,
-0.041246846318244934,
-0.027070531621575356,
0.021081315353512764,
0.008585461415350437,
-0.01790354959666729,
-0.027088848873972893,
-0.008818985894322395,
0.013352110050618649,
-0.026173066347837448,
0.04370114207267761,
-0.014212945476174355,
0.06223658099770546,
0.0512838251888752,
0.0033586325589567423,
0.0794166624546051,
-0.029140200465917587,
-0.024121712893247604,
0.07480111718177795,
0.017143448814749718,
0.017528077587485313,
-0.004789542872458696,
0.021319417282938957,
-0.030971765518188477,
0.0813947543501854,
-0.005320696625858545,
0.012665272690355778,
0.022986141964793205,
0.03188754990696907,
0.02355392836034298,
0.0031273975037038326,
-0.01867280714213848,
0.00177547347266227,
0.03981822729110718,
-0.04355461895465851,
-0.012500432319939137,
-0.014075578190386295,
-0.045569341629743576,
0.003338027512654662,
0.02076994813978672,
0.012399695813655853,
-0.0443238765001297,
0.005306960083544254,
-0.018224073573946953,
-0.05212634429335594,
-0.003722656052559614,
0.00008943188731791452,
-0.0385727621614933,
-0.030092615634202957,
0.010220133699476719,
0.017921864986419678,
0.014176313765347004,
0.018205758184194565,
0.04516639560461044,
0.010192659683525562,
-0.007880308665335178,
-0.012701904401183128,
-0.011969277635216713,
-0.025916647166013718,
0.057840827852487564,
-0.032730069011449814,
0.03084355592727661,
-0.02016553282737732,
-0.036356568336486816,
0.0038966548163443804,
0.008878512308001518,
-0.0035990255419164896,
-0.03084355592727661,
0.023956872522830963,
-0.03318795934319496,
0.005265749525278807,
0.024542972445487976,
-0.0280595775693655,
0.011914331465959549,
-0.029011990875005722,
0.045496076345443726,
-0.007532311603426933,
0.0072392611764371395,
-0.01420378778129816,
0.0712478831410408,
-0.011227494105696678,
-0.009240246377885342,
0.0021532338578253984,
-0.029396619647741318,
-0.003578420262783766,
0.0029350831173360348,
-0.007115630432963371,
0.007449890952557325,
-0.00408667977899313,
0.0772920474410057,
0.04494660720229149,
0.07179735600948334,
-0.05344507098197937,
0.03490963205695152,
-0.028132840991020203,
-0.007216366473585367,
0.03617341071367264,
-0.005989218130707741,
-0.05659536272287369,
0.004340809304267168,
-0.027674948796629906,
0.015614092350006104,
-0.036631301045417786,
0.022106990218162537,
0.021630784496665,
-0.0026786639355123043,
0.015943774953484535,
-0.03981822729110718,
0.006644002627581358,
-0.028022946789860725,
-0.002696979558095336,
0.038096554577350616,
-0.035862043499946594,
0.06666897237300873,
-0.005389380268752575,
-0.003702051006257534,
0.042712099850177765,
-0.0014228970976546407,
-0.04403082653880119,
0.019048277288675308,
-0.01764713041484356,
0.025257283821702003,
0.006634844467043877,
-0.030916819348931313,
0.00821456965059042,
0.0441773496568203,
0.04392093047499657,
-0.02362718991935253,
0.010247606784105301,
-0.03824308142066002,
0.019323011860251427,
-0.030697030946612358,
-0.014066420495510101,
0.0627860501408577,
-0.00019746561883948743,
-0.037766873836517334,
-0.02545875497162342,
-0.009588243439793587,
-0.007422417867928743,
-0.0025527440011501312,
-0.0033861061092466116,
0.0005471800686791539,
0.04091716557741165,
0.02243667282164097,
-0.02373708412051201,
-0.007472785655409098,
-0.04179631546139717,
0.0023810346610844135,
-0.021594151854515076,
0.054434116929769516,
0.03974496200680733,
0.1071099266409874,
-0.021172892302274704,
-0.018975013867020607,
0.0009919069707393646,
0.01086118072271347,
0.0059709022752940655,
-0.012051698751747608,
0.030623769387602806,
0.017702076584100723,
0.04208936542272568,
-0.0366862490773201,
-0.016374191269278526,
0.02703390084207058,
-0.007184314075857401,
0.024121712893247604,
0.025440439581871033,
0.00821456965059042,
-0.05307875573635101,
-0.03157618269324303,
-0.021319417282938957,
-0.037766873836517334,
0.02294951118528843,
-0.05439748242497444,
0.025184020400047302,
-0.016474928706884384,
0.05230949819087982,
-0.058353666216135025,
0.03564225882291794,
0.01825154572725296,
0.017262501642107964,
0.04179631546139717,
-0.0073262606747448444,
0.06699865311384201,
-0.040294431149959564,
0.04370114207267761,
-0.05762103945016861,
0.03712582588195801,
-0.02084321156144142,
-0.005389380268752575,
0.010366658680140972,
0.01589798554778099,
0.009716453030705452,
0.05337180942296982,
-0.043481357395648956,
-0.007976465858519077,
0.0019483274081721902,
0.03207070380449295,
-0.03813318535685539,
0.05091750994324684,
0.017170922830700874,
-0.005567958112806082,
-0.026539377868175507,
-0.014890624210238457,
0.058719977736473083,
-0.0033586325589567423,
0.028114523738622665,
0.05307875573635101,
0.0023306666407734156,
-0.07553374767303467,
0.010842865332961082,
-0.10872170329093933,
-0.06403151899576187,
-0.07454469799995422,
0.053225282579660416,
-0.018123336136341095,
0.029140200465917587,
-0.013462003320455551,
-0.02946988306939602,
0.07058852165937424,
-0.04710785672068596,
-0.0406973771750927,
0.03813318535685539,
0.01711597666144371,
0.020110584795475006,
0.00753689045086503,
0.03362753614783287,
-0.0397815927863121,
0.06128416955471039,
0.038096554577350616,
-0.04241904988884926,
0.06978262960910797,
-0.05589936673641205,
-0.061137642711400986,
-0.040111277252435684,
0.0012408853508532047,
-0.04930573329329491,
0.011502228677272797,
0.08981995284557343,
-0.005920534487813711,
0.04186957702040672,
0.049415625631809235,
0.0029030307196080685,
0.00032939555239863694,
-0.03397553414106369,
-0.07421501725912094,
0.01359937060624361,
0.0280595775693655,
-0.029250094667077065,
0.031173238530755043,
-0.07044199109077454,
-0.025312229990959167,
0.025788437575101852,
0.010586446151137352,
0.04381103813648224,
0.08601029962301254,
-0.10249438136816025,
0.01659397967159748,
0.07432491332292557,
0.0018624727381393313,
-0.01921311765909195,
-0.0011618990683928132,
0.0027793999761343002,
-0.04963541403412819,
0.054617270827293396,
-0.04908594489097595,
-0.0384262353181839,
-0.010714655742049217,
0.013013269752264023,
-0.09919756650924683,
0.02208867482841015,
0.034195322543382645,
0.046008914709091187,
-0.04908594489097595,
0.0037501296028494835,
0.0018727753777056932,
0.02320593036711216,
-0.026630956679582596,
0.07359229028224945,
0.01963437721133232,
0.006772212218493223,
0.03190586343407631,
-0.01112675853073597,
-0.004159942269325256,
-0.04058748483657837,
-0.08161453902721405,
0.012674430385231972,
0.05692504346370697,
0.00864498782902956,
-0.021575836464762688,
-0.006785948760807514,
-0.042382415384054184,
0.010174344293773174,
-0.01120917871594429,
-0.017665445804595947,
-0.044360507279634476,
-0.011923489160835743,
-0.07077167928218842,
-0.050111621618270874,
0.08278674632310867,
-0.028627362102270126,
0.03179597109556198,
0.023828662931919098,
0.009982029907405376,
-0.07289629429578781,
-0.00576027249917388,
-0.027949683368206024,
-0.000836796301882714,
0.0027175848372280598,
-0.07795140892267227,
0.029579777270555496,
0.005247434135526419,
0.03622835874557495,
-0.0316128134727478,
-0.03505615517497063,
-0.02963472343981266,
0.023150982335209846,
-0.04047758877277374,
-0.015705671161413193,
0.07025884091854095,
-0.07172408699989319,
0.027656633406877518,
-0.004114153329282999,
-0.024836022406816483,
0.01989079639315605,
-0.04685143753886223,
-0.0018349993042647839,
0.01728081703186035,
0.02782147377729416,
-0.04608217999339104,
-0.0005237131263129413,
-0.022400042042136192,
0.07113798707723618,
0.029140200465917587,
-0.04930573329329491,
-0.009972872212529182,
0.06007533520460129,
-0.048280056565999985,
0.03868265450000763,
-0.024268237873911858,
0.04143000394105911,
-0.05868334695696831,
-0.022656461223959923,
0.004052337724715471,
0.002474902430549264,
-0.024030134081840515,
0.002164680976420641,
0.036887720227241516,
-0.00200899806804955,
0.007312523666769266,
0.037693608552217484,
-0.046192072331905365,
-0.033755745738744736,
-0.052089713513851166,
0.004139337223023176,
0.01565072312951088,
0.019396275281906128,
0.015339357778429985,
0.009469191543757915,
-0.03661298751831055,
-0.01650240086019039,
0.003919549286365509,
0.03139302507042885,
-0.015321042388677597,
-0.10388637334108353,
-0.0031045028008520603,
-0.0665590763092041,
-0.07256661355495453,
0.004968120250850916,
-0.04622870311141014,
-0.030697030946612358,
-0.03119155392050743,
0.0008665592758916318,
-0.0062822685576975346,
-0.022546567022800446,
0.027674948796629906,
-0.03650309145450592,
-0.022400042042136192,
0.0062868474051356316,
-0.025586964562535286,
0.0046063861809670925,
0.07121124863624573,
0.04736427590250969,
0.006502056028693914,
0.09699968993663788,
-0.03318795934319496,
-0.012189066037535667,
-0.007866572588682175,
-0.024982547387480736,
-0.008182517252862453,
0.008022255264222622,
0.04494660720229149,
-0.025843383744359016,
-0.02989114262163639,
-0.011438123881816864,
0.017537236213684082,
0.04172305390238762,
0.03919549286365509,
0.010046134702861309,
0.029836196452379227,
-0.01678629405796528,
0.007271313574165106,
0.054800428450107574,
-0.009322666563093662,
-0.00838856864720583,
-0.006872948259115219,
0.026173066347837448,
0.008709091693162918,
-0.026008224114775658,
0.012518747709691525,
-0.01972595602273941,
0.038902442902326584,
0.022546567022800446,
-0.023773714900016785,
0.09795210510492325,
-0.054287590086460114,
-0.06436119973659515,
0.03633825108408928,
0.025184020400047302,
-0.03613677993416786,
-0.02903030626475811,
0.045422814786434174,
0.04234578460454941,
0.014615889638662338,
0.057584408670663834,
0.018883436918258667,
0.061064381152391434,
-0.019268065690994263,
-0.04509313404560089,
0.018178284168243408,
0.034360162913799286,
-0.0022013122215867043,
-0.06491066515445709,
-0.028462521731853485,
-0.047400906682014465,
-0.01459757424890995,
-0.0030083456076681614,
0.036466460675001144,
0.019011646509170532,
-0.04919584095478058,
0.033847324550151825,
0.03685108944773674,
0.0007400668109767139,
0.009661505930125713
] |
719,695
|
ibm_platform_services.iam_identity_v1
|
delete_profile_identity
|
Delete the identity that can assume the trusted profile.
Delete the identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier_id: Identifier of the identity that can assume the
trusted profiles.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_profile_identity(
self,
profile_id: str,
identity_type: str,
identifier_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete the identity that can assume the trusted profile.
Delete the identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier_id: Identifier of the identity that can assume the
trusted profiles.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not identity_type:
raise ValueError('identity_type must be provided')
if not identifier_id:
raise ValueError('identifier_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_profile_identity',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['profile-id', 'identity-type', 'identifier-id']
path_param_values = self.encode_path_vars(profile_id, identity_type, identifier_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/identities/{identity-type}/{identifier-id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, identity_type: str, identifier_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.07858941704034805,
0.0031240901444107294,
0.04644570127129555,
-0.03312697634100914,
0.025600556284189224,
-0.020863022655248642,
-0.03580860048532486,
0.0390801765024662,
-0.00858566164970398,
-0.0007162166875787079,
0.01223713718354702,
0.04265567660331726,
-0.028925767168402672,
-0.02417035773396492,
0.025475414469838142,
-0.022722281515598297,
0.012710890732705593,
0.002308429917320609,
0.05416877567768097,
-0.046803250908851624,
0.017636137083172798,
0.0672193393111229,
-0.022740159183740616,
-0.03815054893493652,
-0.003309569088742137,
0.012710890732705593,
0.025922350585460663,
0.006105160340666771,
0.02222171239554882,
0.018413808196783066,
-0.012594686821103096,
0.052595555782318115,
-0.03854385390877724,
0.06253543496131897,
0.000874879362527281,
-0.004800104070454836,
-0.029497846961021423,
0.09482216835021973,
-0.028550339862704277,
0.06789868324995041,
-0.12385520339012146,
0.0322331041097641,
0.004545350093394518,
0.009269475005567074,
-0.030069926753640175,
0.024688804522156715,
-0.01790430024266243,
-0.03650582209229469,
-0.026208389550447464,
-0.0020268596708774567,
-0.02492121234536171,
-0.00444031972438097,
0.011092978529632092,
0.030052049085497856,
0.037220921367406845,
-0.03175041079521179,
-0.007928663864731789,
-0.04462219774723053,
-0.008192356675863266,
0.06725509464740753,
0.0549553819000721,
-0.04594513028860092,
-0.04955638200044632,
0.008429232984781265,
0.01642046868801117,
-0.06271421164274216,
-0.005707386415451765,
0.00789737794548273,
-0.02611900307238102,
-0.017993686720728874,
0.07601505517959595,
-0.06768415123224258,
0.015303125604987144,
-0.02148873545229435,
0.09589482098817825,
-0.0191110298037529,
-0.009162209928035736,
-0.017591442912817,
0.029193930327892303,
0.01686740480363369,
-0.008018051274120808,
-0.05238102748990059,
-0.018252911046147346,
0.016062919050455093,
0.013604764826595783,
0.03922319784760475,
0.04937760904431343,
-0.06375110149383545,
-0.02299044281244278,
0.02670896053314209,
0.0077230725437402725,
0.000902254250831902,
-0.036184027791023254,
-0.036470066756010056,
0.046159662306308746,
0.05899569392204285,
0.027227407321333885,
-0.0017843962414190173,
-0.008022520691156387,
-0.04058188572525978,
0.020219434052705765,
-0.05416877567768097,
0.0120762400329113,
-0.005801243241876364,
0.05445481464266777,
0.0212026946246624,
0.07279711216688156,
0.0387941375374794,
0.015276309102773666,
0.028460953384637833,
-0.02013004571199417,
-0.07737375050783157,
-0.06013985350728035,
-0.04791165515780449,
0.052452534437179565,
0.0009447132470086217,
0.04608815163373947,
-0.0029989478643983603,
-0.013488560914993286,
-0.030767148360610008,
-0.030087804421782494,
-0.013560070656239986,
-0.06546734273433685,
-0.009886248037219048,
-0.023204972967505455,
-0.015043902210891247,
-0.004898430313915014,
0.0031777226831763983,
-0.031947061419487,
0.01834229752421379,
-0.057672761380672455,
0.013077379204332829,
-0.06249967962503433,
-0.011843832209706306,
0.023079831153154373,
0.03958074748516083,
0.002730785636231303,
-0.011021468788385391,
0.03697063401341438,
0.017403729259967804,
-0.034092359244823456,
0.0241524800658226,
-0.01880711317062378,
0.04433615878224373,
-0.012406973168253899,
-0.01141477283090353,
0.007003503851592541,
-0.01729646511375904,
0.006793443579226732,
-0.02908666431903839,
0.009904125705361366,
0.03146437183022499,
-0.0049475934356451035,
-0.04941336438059807,
-0.00429506553336978,
-0.04758986085653305,
0.008210234344005585,
-0.018610460683703423,
-0.020487595349550247,
-0.022346854209899902,
-0.0033877831883728504,
0.07908998429775238,
0.028854258358478546,
-0.007486196234822273,
-0.03212583810091019,
-0.042476899921894073,
0.07408428937196732,
0.05502689257264137,
0.014150028117001057,
-0.060211364179849625,
-0.038579609245061874,
-0.020201556384563446,
0.04447918012738228,
0.024420641362667084,
0.018154583871364594,
-0.004817981738597155,
0.03986678645014763,
-0.024992721155285835,
-0.07715921849012375,
-0.03164314478635788,
0.041690289974212646,
-0.06042589247226715,
0.00887170061469078,
-0.012138810940086842,
0.027066510170698166,
-0.002272675046697259,
0.004122994374483824,
0.029426338151097298,
0.0429774709045887,
-0.0006206838879734278,
-0.05045025795698166,
-0.02059486135840416,
-0.07694468647241592,
0.05195196717977524,
0.049163080751895905,
-0.01986188441514969,
0.05316763371229172,
-0.05520566925406456,
-0.015195860527455807,
-0.07068756967782974,
-0.06804170459508896,
0.026297777891159058,
-0.003097273875027895,
-0.03405660390853882,
-0.025993861258029938,
-0.03444990888237953,
0.028997277840971947,
0.02822854556143284,
-0.017546750605106354,
0.00016466838133055717,
-0.029301194474101067,
0.010404694825410843,
0.029569357633590698,
0.043942853808403015,
0.013023746199905872,
-0.03570133447647095,
-0.023079831153154373,
-0.008245988748967648,
0.053346410393714905,
0.002462623408064246,
0.03182192146778107,
-0.004236963577568531,
0.026601694524288177,
0.016509855166077614,
0.026458675041794777,
0.06164156273007393,
-0.031124697998166084,
-0.0026860919315367937,
0.007472787983715534,
-0.025922350585460663,
0.06235666200518608,
0.01805625855922699,
-0.0054839178919792175,
0.03105318918824196,
-0.0017095343209803104,
-0.010646041482686996,
-0.025457536801695824,
-0.06039013713598251,
-0.0001571263128425926,
0.04161877930164337,
-0.003950923681259155,
0.00432858569547534,
0.032572776079177856,
0.01372096873819828,
-0.054812364280223846,
0.035719212144613266,
-0.015902021899819374,
0.016295326873660088,
-0.012371218763291836,
-0.06367959827184677,
0.03548680245876312,
-0.04644570127129555,
0.031071064993739128,
0.007137584965676069,
0.017788095399737358,
0.02998054027557373,
0.04519427940249443,
-0.04791165515780449,
0.0026592756621539593,
0.008299621753394604,
-0.049163080751895905,
-0.004518534056842327,
-0.014158966951072216,
-0.025475414469838142,
-0.013989130966365337,
-0.047840144485235214,
-0.031392861157655716,
0.06700480729341507,
0.03414599224925041,
-0.004460432101041079,
0.007933133281767368,
0.033520281314849854,
0.0258150864392519,
-0.011638241820037365,
-0.008205764926970005,
0.017636137083172798,
-0.05502689257264137,
0.027352549135684967,
0.03162526711821556,
0.0037296898663043976,
-0.034253258258104324,
-0.04523003101348877,
-0.001753110671415925,
-0.01596459187567234,
-0.003944219555705786,
-0.017510995268821716,
0.02370554208755493,
0.011727629229426384,
0.006435893941670656,
0.054812364280223846,
-0.012433789670467377,
0.015884144231677055,
-0.05016421899199486,
0.00806274451315403,
-0.0677914172410965,
0.01483831088989973,
-0.03775724396109581,
0.034843213856220245,
0.030177190899848938,
0.06350082159042358,
-0.008911925368010998,
0.05338216572999954,
0.028711238875985146,
-0.08717060834169388,
-0.0006067170761525631,
-0.022650770843029022,
0.016921037808060646,
-0.028872136026620865,
0.012496360577642918,
0.022436240687966347,
-0.028246423229575157,
-0.0016704273875802755,
-0.032447632402181625,
0.03986678645014763,
0.006297343410551548,
0.012138810940086842,
0.0346108078956604,
-0.019218293949961662,
0.01703724078834057,
0.06010409817099571,
-0.0087957214564085,
-0.04026009142398834,
0.046159662306308746,
0.06046164780855179,
0.05012846365571022,
-0.046338435262441635,
-0.05295310541987419,
0.059710793197155,
0.024420641362667084,
-0.03448566421866417,
-0.032876692712306976,
-0.0037252206820994616,
-0.009412494488060474,
-0.037077900022268295,
0.0325191430747509,
-0.030052049085497856,
0.029962662607431412,
0.02014792338013649,
0.030481109395623207,
0.08817175030708313,
-0.06493102014064789,
-0.0438355877995491,
0.06010409817099571,
-0.0009000195423141122,
-0.0018357940716668963,
-0.03682761639356613,
0.04222661629319191,
-0.05874541029334068,
0.05799455568194389,
0.012791339308023453,
-0.014284108765423298,
0.04279869422316551,
0.0477328784763813,
0.005904038902372122,
0.013667335733771324,
-0.04758986085653305,
-0.004346462897956371,
0.007691787090152502,
-0.039759524166584015,
0.008393478579819202,
-0.01893225498497486,
-0.04698202759027481,
0.017350098118185997,
0.013515377417206764,
0.03323424234986305,
-0.0546693429350853,
0.02358040027320385,
-0.03630916774272919,
-0.03419962525367737,
-0.012031545862555504,
-0.035182885825634,
-0.023347992449998856,
-0.0715099349617958,
0.005474979057908058,
0.03359179198741913,
0.018574705347418785,
0.0025564800016582012,
0.02029094286262989,
-0.008076152764260769,
0.008348784409463406,
-0.03151800110936165,
-0.0031062127090990543,
-0.03285881504416466,
0.05313187837600708,
-0.05488387495279312,
0.03747120499610901,
-0.0024939088616520166,
-0.0005866049323230982,
-0.03212583810091019,
0.033359382301568985,
0.005358775611966848,
-0.037542715668678284,
0.037828754633665085,
-0.06135552376508713,
0.014525455422699451,
0.011218120343983173,
-0.06686178594827652,
0.005206816829741001,
-0.03312697634100914,
0.03436052426695824,
-0.022418364882469177,
0.024581540375947952,
0.03385995328426361,
0.05749398469924927,
0.0022860830649733543,
0.0011240467429161072,
-0.01984400674700737,
-0.03786450996994972,
-0.004131933208554983,
-0.047232311218976974,
0.011870648711919785,
-0.015723247081041336,
0.01329190842807293,
0.04161877930164337,
0.07379825413227081,
0.03133922815322876,
-0.029944784939289093,
0.060497403144836426,
-0.026905613020062447,
0.009171148762106895,
0.0322331041097641,
0.003881648648530245,
-0.037363938987255096,
0.013667335733771324,
-0.004214616492390633,
0.017350098118185997,
-0.02270440384745598,
0.0028693361673504114,
0.01036000158637762,
-0.015571287833154202,
0.00011864782572956756,
-0.028603972867131233,
-0.0004030813870485872,
-0.019218293949961662,
-0.014069579541683197,
0.05985381454229355,
-0.011539915576577187,
0.04712504521012306,
0.009189026430249214,
0.006802382413297892,
0.026977121829986572,
0.03915168717503548,
-0.08609795570373535,
0.011602486483752728,
-0.016688629984855652,
0.04884128272533417,
0.004373279400169849,
-0.012952236458659172,
0.004384452942758799,
0.07680166512727737,
0.04387134313583374,
-0.025582678616046906,
0.02386643923819065,
-0.03564770147204399,
-0.016223816201090813,
-0.024670926854014397,
-0.017421606928110123,
0.07129540294408798,
0.0035933740437030792,
-0.056171052157878876,
0.008460518904030323,
-0.023651910945773125,
-0.01126281451433897,
-0.02729891613125801,
0.020791513845324516,
0.024653049185872078,
0.02417035773396492,
0.024367010220885277,
-0.024670926854014397,
0.021292082965373993,
-0.027370426803827286,
-0.011548854410648346,
-0.021113308146595955,
0.05699341744184494,
0.03130347281694412,
0.08123528212308884,
0.02851458638906479,
0.0070124426856637,
0.022489873692393303,
-0.01702830195426941,
-0.00686048436909914,
0.00856778398156166,
-0.00343024218454957,
-0.0005198437138460577,
0.03868687525391579,
-0.019665231928229332,
-0.00014190252113621682,
-0.010976774618029594,
0.015258432365953922,
0.016742262989282608,
0.008858293294906616,
0.00440456485375762,
-0.04583786800503731,
-0.0005927503225393593,
0.012111994437873363,
-0.06478799879550934,
0.008701864629983902,
-0.08044867217540741,
-0.002683857223019004,
-0.03205432742834091,
0.04780438914895058,
-0.029479969292879105,
0.06471648812294006,
-0.008393478579819202,
0.024527907371520996,
0.0752999559044838,
-0.011530976742506027,
0.05030723661184311,
-0.046052396297454834,
0.036791861057281494,
-0.04283444955945015,
0.08144981414079666,
0.021864162757992744,
-0.04683900624513626,
-0.019772496074438095,
0.027370426803827286,
0.05359669402241707,
0.0608549527823925,
0.003559853881597519,
-0.005412408150732517,
0.01625957153737545,
0.0013743315357714891,
-0.057386722415685654,
0.05434754863381386,
0.03747120499610901,
0.012460606172680855,
-0.034986235201358795,
-0.000992759014479816,
0.0396522581577301,
-0.011048284359276295,
-0.008974496275186539,
0.0438355877995491,
-0.007513012271374464,
-0.057958800345659256,
0.014668474905192852,
-0.10082900524139404,
-0.046660229563713074,
-0.08009112626314163,
0.1197076290845871,
0.0025631841272115707,
0.015696430578827858,
-0.0013374591944739223,
-0.07880394905805588,
0.05456208065152168,
-0.03360966965556145,
-0.010038207285106182,
0.013077379204332829,
0.023777052760124207,
-0.020916655659675598,
0.03650582209229469,
0.016161244362592697,
-0.04204783961176872,
0.08216491341590881,
0.0038727098144590855,
-0.02490333467721939,
0.08788570761680603,
0.0038905872497707605,
-0.057243701070547104,
-0.032626405358314514,
0.0029252031818032265,
-0.02384856343269348,
-0.01729646511375904,
0.04369257017970085,
-0.027084387838840485,
0.02552904561161995,
0.033377259969711304,
0.022042937576770782,
-0.0056626927107572556,
-0.017242832109332085,
-0.04594513028860092,
-0.0035442111548036337,
0.02240048721432686,
0.010073961690068245,
-0.006489526480436325,
-0.08488228917121887,
-0.001967640593647957,
0.016929976642131805,
-0.005175531376153231,
0.05935324355959892,
0.06160580739378929,
-0.05778002738952637,
0.007325298618525267,
0.08438172191381454,
-0.02490333467721939,
0.0028559279162436724,
-0.00045615516137331724,
-0.01396231446415186,
-0.03997405245900154,
0.024706682190299034,
-0.03520076349377632,
-0.06789868324995041,
0.022597139701247215,
-0.003807903965935111,
-0.04934185370802879,
0.011530976742506027,
0.046195417642593384,
0.0931774452328682,
-0.018699847161769867,
-0.008245988748967648,
-0.015195860527455807,
0.042155105620622635,
-0.03209008276462555,
0.05488387495279312,
0.009171148762106895,
0.02699499949812889,
-0.011593547649681568,
-0.009130924940109253,
-0.000026170260753133334,
-0.04758986085653305,
-0.07837488502264023,
0.02282954566180706,
0.04937760904431343,
0.019933393225073814,
-0.021417224779725075,
0.010458327829837799,
-0.013747784309089184,
-0.008683987893164158,
-0.009349923580884933,
-0.017671892419457436,
-0.021971426904201508,
-0.036344923079013824,
-0.07286862283945084,
-0.03457505255937576,
0.03326999768614769,
0.004053719341754913,
0.03167890012264252,
-0.012621503323316574,
-0.011656119488179684,
-0.04072490707039833,
-0.009743228554725647,
-0.023187095299363136,
0.014355619437992573,
-0.04508701339364052,
-0.054240282624959946,
0.04987818002700806,
-0.004750940948724747,
0.025707820430397987,
-0.004800104070454836,
-0.03421750292181969,
-0.04294171556830406,
0.018860744312405586,
-0.05180894583463669,
-0.03868687525391579,
0.05384697765111923,
-0.05520566925406456,
0.026351410895586014,
-0.01239803433418274,
-0.008536498062312603,
0.017814911901950836,
-0.016438346356153488,
-0.011012529954314232,
0.04040311276912689,
0.01208517886698246,
-0.022650770843029022,
-0.015213738195598125,
0.020845144987106323,
0.04144000634551048,
0.029730254784226418,
-0.009430372156202793,
-0.009823677130043507,
0.04741108417510986,
-0.0006055997218936682,
0.023544644936919212,
0.0241524800658226,
0.04548031836748123,
-0.08009112626314163,
-0.01030636951327324,
-0.021560244262218475,
0.010744367726147175,
-0.0231513399630785,
0.032608527690172195,
0.008992373943328857,
0.03164314478635788,
0.02568994276225567,
0.01982612907886505,
-0.05209498479962349,
-0.03605888411402702,
-0.04015282914042473,
-0.002811234211549163,
0.06578914076089859,
0.022454118356108665,
-0.006663831882178783,
0.017654014751315117,
-0.035308029502630234,
0.01499920804053545,
-0.02479606866836548,
0.06074768677353859,
-0.0013039389159530401,
-0.1124851256608963,
-0.03189342841506004,
-0.02912241965532303,
-0.08230793476104736,
0.005832528695464134,
-0.03668459504842758,
-0.01222819834947586,
-0.04519427940249443,
-0.013577948324382305,
-0.0020983696449548006,
-0.004547584801912308,
0.035719212144613266,
-0.04519427940249443,
-0.0063286288641393185,
-0.015428268350660801,
-0.030481109395623207,
0.02567206509411335,
0.07386975735425949,
-0.003647006582468748,
0.004733063746243715,
0.10840906202793121,
-0.02894364483654499,
-0.00977898295968771,
-0.010851631872355938,
-0.004885022062808275,
-0.021971426904201508,
0.010556654073297977,
0.05910295993089676,
-0.07444184273481369,
-0.015499778091907501,
-0.002590000396594405,
0.02268652617931366,
0.031875550746917725,
0.002152001950889826,
0.03323424234986305,
-0.01372990757226944,
-0.041404251009225845,
0.01567855291068554,
0.03958074748516083,
0.010431511327624321,
0.005166592542082071,
0.009457188658416271,
0.028586095198988914,
-0.00047654667287133634,
-0.026065370067954063,
0.024527907371520996,
-0.01822609454393387,
0.011852771043777466,
-0.011799138970673084,
-0.03847234323620796,
0.09167573601007462,
-0.0675053745508194,
-0.05910295993089676,
0.03427113592624664,
-0.004804573487490416,
0.016223816201090813,
-0.02016580104827881,
0.05116535723209381,
0.05624256283044815,
0.009564453735947609,
0.05534868687391281,
-0.0189680103212595,
0.01761825941503048,
0.00023743532074149698,
-0.03922319784760475,
-0.016652876511216164,
0.032322488725185394,
0.026959244161844254,
-0.03133922815322876,
-0.019325559958815575,
-0.05331065505743027,
0.008612477220594883,
0.0036201903130859137,
0.02851458638906479,
-0.003365436103194952,
-0.024653049185872078,
0.01133432425558567,
0.034235380589962006,
-0.02686985768377781,
-0.002004512818530202
] |
719,696
|
ibm_platform_services.iam_identity_v1
|
delete_profile_template_version
|
Delete version of trusted profile template.
Delete a specific version of a trusted profile template in an enterprise account.
If the version is assigned to child accounts, you must first delete the
assignment.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_profile_template_version(
self,
template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Delete version of trusted profile template.
Delete a specific version of a trusted profile template in an enterprise account.
If the version is assigned to child accounts, you must first delete the
assignment.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version:
raise ValueError('version must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_profile_template_version',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id', 'version']
path_param_values = self.encode_path_vars(template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_templates/{template_id}/versions/{version}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.030754931271076202,
-0.010871382430195808,
0.00007069375715218484,
-0.05172836408019066,
0.02082689478993416,
-0.014333372935652733,
-0.049163930118083954,
0.06385449320077896,
0.005316628143191338,
0.01770377717912197,
0.009928036481142044,
0.010303542949259281,
-0.0659426748752594,
-0.07246367633342743,
-0.04103099927306175,
-0.010550827719271183,
0.08572547882795334,
0.010358495637774467,
0.030205408111214638,
-0.03544418886303902,
0.053303662687540054,
0.023940855637192726,
-0.054732419550418854,
0.03405206650495529,
0.0287583339959383,
-0.02637707069516182,
0.02954598143696785,
-0.01289545651525259,
0.04286273941397667,
-0.012144442647695541,
-0.05487896129488945,
0.05341356620192528,
-0.010843906551599503,
0.0931989848613739,
-0.028080590069293976,
0.00024671261780895293,
-0.023061618208885193,
0.019562993198633194,
-0.1318853497505188,
0.07510138303041458,
-0.007903962396085262,
0.05945831164717674,
-0.029051411896944046,
-0.008554230444133282,
0.009827290661633015,
-0.0042862738482654095,
-0.018372362479567528,
-0.017429014667868614,
-0.01901347190141678,
-0.0017172571970149875,
0.019361501559615135,
-0.0007962349336594343,
0.00853133387863636,
-0.021376417949795723,
-0.010349337011575699,
-0.021101655438542366,
0.027512749657034874,
-0.0031803601887077093,
-0.01263901311904192,
0.025827547535300255,
0.034619905054569244,
-0.01772209443151951,
-0.0819154605269432,
0.01205285545438528,
-0.011933792382478714,
-0.04659949243068695,
0.018216663971543312,
-0.003251340240240097,
-0.008132929913699627,
-0.03806357830762863,
-0.004762526601552963,
0.009964670985937119,
0.017566395923495293,
-0.02333638072013855,
0.06172967329621315,
0.0014917240478098392,
-0.010825589299201965,
-0.043925147503614426,
0.0034597008489072323,
-0.03537091985344887,
-0.0089572137221694,
-0.10367654263973236,
0.007867327891290188,
-0.03315451368689537,
0.02535129524767399,
0.020387277007102966,
0.05205807834863663,
-0.07766582071781158,
0.014113564044237137,
0.0767865851521492,
-0.0024774298071861267,
-0.008732825517654419,
-0.0399685874581337,
-0.02106502093374729,
0.06601594388484955,
0.024288885295391083,
0.06876355409622192,
-0.010706526227295399,
-0.026743417605757713,
-0.0309747401624918,
0.04931046813726425,
-0.056087907403707504,
-0.0013165638083592057,
-0.018473107367753983,
0.02837366797029972,
0.01114614401012659,
-0.014745514839887619,
0.018152553588151932,
0.049750085920095444,
0.02696322835981846,
0.005591389257460833,
-0.056014638394117355,
-0.036231838166713715,
-0.016558937728405,
0.06242573261260986,
-0.007500979583710432,
-0.030040552839636803,
-0.033575814217329025,
-0.022786857560276985,
-0.052204620093107224,
0.06499017030000687,
-0.03295302018523216,
-0.01867459900677204,
0.009744862094521523,
-0.021761082112789154,
-0.008036763407289982,
0.002717845607548952,
-0.014351691119372845,
-0.01458065863698721,
0.012922932393848896,
-0.0466727614402771,
0.001213528448715806,
-0.019086740911006927,
-0.00878777727484703,
-0.023574506863951683,
-0.03350254148244858,
-0.012327617034316063,
-0.021449686959385872,
0.02954598143696785,
0.025754278525710106,
-0.009808973409235477,
0.03738583251833916,
-0.02082689478993416,
0.009364775381982327,
0.003397879656404257,
-0.04187360033392906,
0.020863529294729233,
0.04015176370739937,
0.0035856328904628754,
-0.021706130355596542,
-0.004258797969669104,
0.035718947649002075,
-0.0004444833903107792,
-0.06286535412073135,
-0.007450606673955917,
-0.014818784780800343,
0.019929341971874237,
-0.056271083652973175,
0.0014825654216110706,
-0.03366740047931671,
0.05531857907772064,
0.04040820524096489,
0.03225695714354515,
0.015890352427959442,
0.01308778952807188,
-0.013435820117592812,
0.019599629566073418,
0.024014124646782875,
-0.025699326768517494,
-0.018335727974772453,
-0.015001959167420864,
0.03755069151520729,
0.046306412667036057,
0.04297264292836189,
0.013582359068095684,
0.016183432191610336,
0.07198742032051086,
0.012840504758059978,
-0.02177940122783184,
-0.05370664596557617,
-0.006140911485999823,
-0.040298301726579666,
-0.016778746619820595,
0.031121280044317245,
0.0034459626767784357,
0.038503196090459824,
0.018317410722374916,
0.051874905824661255,
-0.032293595373630524,
-0.003652033628895879,
-0.056527528911828995,
-0.07026558369398117,
0.027952367439866066,
0.05740676447749138,
0.020442228764295578,
-0.0281904935836792,
0.013289281167089939,
-0.08169564604759216,
0.01823498122394085,
-0.022054161876440048,
-0.04300927743315697,
-0.036305107176303864,
0.002406449755653739,
-0.05506213381886482,
0.012455838732421398,
0.026871640235185623,
0.042826104909181595,
-0.018757028505206108,
-0.016339128836989403,
-0.006058483384549618,
0.01660473272204399,
-0.025113169103860855,
0.051032304763793945,
0.06601594388484955,
-0.03883291035890579,
-0.06403766572475433,
0.014333372935652733,
-0.042239949107170105,
-0.006782020907849073,
-0.004501503426581621,
0.004400757607072592,
0.03780713304877281,
0.0028758333064615726,
0.022640319541096687,
0.00930524431169033,
0.023574506863951683,
-0.027750875800848007,
0.04700247570872307,
-0.04769853502511978,
-0.03883291035890579,
0.09070781618356705,
0.026029039174318314,
0.0826481506228447,
0.004762526601552963,
-0.04150725156068802,
-0.04183696582913399,
-0.035847172141075134,
-0.01861048862338066,
0.02405075915157795,
0.01021195575594902,
0.05015306919813156,
0.0012215422466397285,
0.09231974929571152,
0.03333768621087074,
-0.008783197961747646,
0.02520475536584854,
-0.06506343930959702,
-0.0274761151522398,
0.007235377095639706,
-0.06781104952096939,
-0.006960615981370211,
-0.02972915582358837,
0.026413705199956894,
0.04304591193795204,
0.035517457872629166,
-0.028740016743540764,
0.0619494803249836,
-0.003924504853785038,
0.008123771287500858,
-0.00029078888474032283,
-0.0675179734826088,
-0.001210093847475946,
-0.05535521358251572,
-0.041983503848314285,
-0.028611794114112854,
-0.06033754721283913,
-0.015240085311233997,
0.08074314147233963,
0.018775345757603645,
0.052387792617082596,
-0.05528194457292557,
-0.0039176358841359615,
0.012519950047135353,
-0.025058217346668243,
-0.004872431047260761,
-0.007876486517488956,
-0.03472980856895447,
0.006154649890959263,
0.01348161417990923,
-0.029692521318793297,
-0.020350642502307892,
-0.05125211179256439,
0.04436476528644562,
0.05616118013858795,
0.032623305916786194,
0.026010721921920776,
-0.007862748578190804,
-0.004721312317997217,
0.046123236417770386,
0.043925147503614426,
0.00631950655952096,
0.0009857056429609656,
-0.0031643325928598642,
-0.004135155119001865,
-0.11474025249481201,
0.0005629741353914142,
-0.04414495825767517,
0.031579215079545975,
0.029527664184570312,
0.014021976850926876,
0.04480438306927681,
0.0036039503756910563,
0.0032788163516670465,
-0.011823887936770916,
-0.01225434709340334,
0.009616640396416187,
0.03320946544408798,
-0.0226952712982893,
0.050959035754203796,
0.0024545330088585615,
-0.00012722013343591243,
0.015450735576450825,
0.00510597787797451,
-0.013948707841336727,
-0.008251992985606194,
0.055758196860551834,
0.02133978344500065,
-0.06458719074726105,
0.01726415939629078,
0.007473503239452839,
-0.04015176370739937,
0.03527932986617088,
0.047149013727903366,
0.07231713086366653,
0.025039900094270706,
-0.0466727614402771,
-0.03238518163561821,
-0.027256306260824203,
-0.0015752972103655338,
0.0361768864095211,
-0.024984946474432945,
0.017932744696736336,
0.03024204447865486,
0.001763050677254796,
-0.0119887450709939,
0.002079026075080037,
0.03714770823717117,
0.019178329035639763,
-0.010092892684042454,
0.08125603199005127,
0.03956560418009758,
-0.032934702932834625,
0.05249769613146782,
-0.0012375699589028955,
-0.02740284614264965,
-0.014260103926062584,
0.022841809317469597,
0.03207378461956978,
0.04619650915265083,
-0.0316891185939312,
-0.0266884658485651,
0.027292940765619278,
0.01854637823998928,
0.03974878042936325,
0.008572547696530819,
-0.06242573261260986,
0.019214963540434837,
0.04458457604050636,
-0.001837465213611722,
0.003468859475106001,
-0.06524661183357239,
-0.003922215197235346,
-0.021944256499409676,
0.0023789736442267895,
0.01777704618871212,
-0.04286273941397667,
0.01630249433219433,
-0.048907484859228134,
-0.06242573261260986,
-0.008577127009630203,
-0.04905402287840843,
0.007729947101324797,
0.0005970330676063895,
-0.023501237854361534,
0.03593875840306282,
-0.07510138303041458,
-0.03886954486370087,
0.010669891722500324,
-0.004414496012032032,
-0.06425747275352478,
0.004519820678979158,
-0.03201883286237717,
0.012584060430526733,
0.01325264573097229,
-0.062205925583839417,
0.017758728936314583,
-0.007894803769886494,
-0.015258402563631535,
0.015377465635538101,
0.052534330636262894,
-0.0011883419938385487,
-0.026615196838974953,
-0.004977756179869175,
-0.03608529642224312,
0.0034642801620066166,
0.03013213910162449,
-0.06070389598608017,
0.004403047263622284,
0.02734789252281189,
-0.0017779335612431169,
0.014315055683255196,
0.03599371016025543,
0.0033887207973748446,
0.02586418204009533,
-0.0005775708123110235,
-0.03670809045433998,
0.025754278525710106,
-0.037019483745098114,
-0.014159358106553555,
-0.0685071125626564,
0.002518643857911229,
-0.004455709829926491,
-0.01745649240911007,
0.01532251387834549,
0.04330235719680786,
0.09217320382595062,
-0.04297264292836189,
0.06542979180812836,
-0.03205546736717224,
-0.01894020102918148,
0.05454924702644348,
0.04828469082713127,
-0.006841552443802357,
-0.002019494539126754,
-0.03238518163561821,
0.04033493623137474,
-0.03011382184922695,
-0.017209205776453018,
-0.01738322153687477,
-0.013270963914692402,
0.0051655094139277935,
-0.06583277136087418,
0.00921365711838007,
0.015670543536543846,
0.013875437900424004,
0.0281904935836792,
-0.018775345757603645,
0.06934971362352371,
-0.03593875840306282,
0.0204788651317358,
0.04498755931854248,
0.02709144912660122,
-0.026578562334179878,
-0.010669891722500324,
-0.01829909160733223,
0.049493640661239624,
-0.026340436190366745,
-0.09166032075881958,
-0.01932486705482006,
0.004693836439400911,
-0.011649873107671738,
0.00345054198987782,
0.004982335492968559,
-0.04887085035443306,
-0.004918224643915892,
-0.023116571828722954,
-0.054329436272382736,
0.0341070182621479,
-0.03465653955936432,
-0.06704171746969223,
-0.011063715443015099,
0.005138033535331488,
0.03244013339281082,
-0.02036895975470543,
-0.020314007997512817,
-0.06586940586566925,
0.0549522303044796,
0.009355616755783558,
-0.010743160732090473,
0.01630249433219433,
-0.02591913565993309,
-0.037129390984773636,
-0.015606433153152466,
0.10580135881900787,
0.021156609058380127,
0.06147322803735733,
-0.004954859614372253,
-0.030205408111214638,
-0.01906842365860939,
0.021614544093608856,
-0.018326569348573685,
0.03276984766125679,
0.0024888780899345875,
0.029692521318793297,
0.023775998502969742,
-0.03897944837808609,
-0.030040552839636803,
-0.008297787047922611,
-0.0006393920630216599,
-0.003947401884943247,
0.007688732817769051,
-0.008357318118214607,
-0.012300141155719757,
0.010184479877352715,
0.007230797782540321,
-0.04260629415512085,
-0.0082794688642025,
-0.02133978344500065,
0.06447727978229523,
-0.009937195107340813,
0.011649873107671738,
-0.005490643437951803,
0.04718564823269844,
-0.00914496649056673,
0.05953158065676689,
0.07059529423713684,
0.06238909810781479,
0.015450735576450825,
0.009515894576907158,
0.02522307261824608,
-0.06260890513658524,
0.054842326790094376,
0.00863207969814539,
0.05370664596557617,
0.0482480563223362,
0.049603547900915146,
-0.037275929003953934,
0.03194556385278702,
0.03897944837808609,
0.0161651149392128,
0.007578828372061253,
0.03128613531589508,
-0.006388196721673012,
-0.016595574095845222,
0.013701423071324825,
-0.021504638716578484,
-0.029051411896944046,
-0.04059138149023056,
0.04846786707639694,
0.05293731391429901,
-0.018326569348573685,
0.038173481822013855,
-0.030095504596829414,
-0.04245975613594055,
-0.024325519800186157,
-0.06436737626791,
-0.10140518099069595,
-0.018473107367753983,
-0.007510138209909201,
-0.004863272421061993,
-0.026981545612215996,
0.004471737891435623,
-0.03044353611767292,
0.006264554336667061,
-0.023739363998174667,
-0.009781496599316597,
0.005563913378864527,
0.015459894202649593,
-0.06649219989776611,
-0.02914300002157688,
0.014626451767981052,
-0.025955770164728165,
0.03905271738767624,
0.011906316503882408,
-0.05502549931406975,
0.09796150773763657,
-0.05059268698096275,
-0.0334659069776535,
0.00788106583058834,
-0.012721440754830837,
-0.02727462351322174,
-0.033832255750894547,
0.05498886480927467,
-0.01694360375404358,
-0.008023025467991829,
0.0329713374376297,
0.002646865788847208,
-0.020185785368084908,
-0.009625799022614956,
-0.010569145902991295,
-0.006814076565206051,
0.024911677464842796,
0.00847180187702179,
-0.004771685227751732,
-0.060007836669683456,
-0.005563913378864527,
0.05231452360749245,
0.03864973410964012,
0.08059660345315933,
0.0683605745434761,
-0.02760433591902256,
-0.0007189583266153932,
0.10059921443462372,
-0.04040820524096489,
-0.003253629896789789,
0.0618029423058033,
0.05865234509110451,
0.012373410165309906,
0.044950924813747406,
0.007510138209909201,
-0.049493640661239624,
-0.0033017131499946117,
0.028996460139751434,
-0.017538920044898987,
0.001249018358066678,
0.02366609312593937,
0.02133978344500065,
-0.018848614767193794,
-0.020332325249910355,
-0.009836449287831783,
0.0000031080567168828566,
0.015890352427959442,
0.030278678983449936,
0.02934449166059494,
0.024581965059041977,
-0.017877792939543724,
-0.050775859504938126,
0.009163284674286842,
-0.03407038375735283,
-0.0646604597568512,
0.05850580707192421,
0.001766485278494656,
-0.02425225079059601,
-0.04703911021351814,
0.04575689136981964,
0.07319636642932892,
-0.0075650904327631,
0.024288885295391083,
-0.06172967329621315,
-0.04286273941397667,
-0.04590342938899994,
0.005344104487448931,
-0.012300141155719757,
0.035132791846990585,
-0.0027842463459819555,
0.06286535412073135,
0.01958131045103073,
0.007267432287335396,
-0.047222282737493515,
0.009845607914030552,
-0.00562344491481781,
0.018637964501976967,
-0.01602773368358612,
0.027494432404637337,
0.015276719816029072,
-0.010669891722500324,
0.016082685440778732,
-0.04898075386881828,
0.029234586283564568,
0.00042330389260314405,
0.06766451150178909,
-0.049676816910505295,
0.0035169427283108234,
0.09671592712402344,
-0.04733218625187874,
0.048651039600372314,
0.006021848414093256,
0.002385842613875866,
0.02656024508178234,
0.00986392516642809,
-0.011576603166759014,
0.0046411738730967045,
-0.029454395174980164,
-0.03225695714354515,
-0.03742246702313423,
-0.020863529294729233,
0.055684927850961685,
0.057186953723430634,
-0.03146931156516075,
0.030003918334841728,
0.019672898575663567,
-0.03941906616091728,
0.0144524360075593,
0.0010395130375400186,
0.029967281967401505,
-0.012300141155719757,
-0.0019553834572434425,
-0.008348159492015839,
-0.0576632060110569,
-0.01867459900677204,
0.025516152381896973,
0.008183303289115429,
-0.0396755114197731,
0.014232627116143703,
0.020185785368084908,
-0.031707435846328735,
-0.03057175688445568,
-0.002504905918613076,
-0.04850450158119202,
0.029381126165390015,
0.06524661183357239,
0.0355357751250267,
0.014021976850926876,
-0.025626055896282196,
-0.05249769613146782,
-0.060081105679273605,
0.02954598143696785,
0.05454924702644348,
-0.08118276298046112,
-0.0052754138596355915,
-0.05707705020904541,
-0.05117884278297424,
-0.001451654708944261,
-0.03335600346326828,
-0.011878840625286102,
-0.028263764455914497,
-0.011127826757729053,
-0.0033223202917724848,
-0.02844693697988987,
-0.014498230069875717,
-0.01796937920153141,
-0.028978142887353897,
-0.04432813078165054,
0.06814076751470566,
-0.04887085035443306,
0.04872430860996246,
0.026157261803746223,
-0.03755069151520729,
0.05978802591562271,
-0.0028506468515843153,
0.024655234068632126,
-0.030278678983449936,
0.07477166503667831,
-0.0012055145343765616,
0.02586418204009533,
0.0849195122718811,
-0.07191415131092072,
0.005421953275799751,
0.06583277136087418,
0.03309955820441246,
-0.02637707069516182,
0.034821394830942154,
0.008554230444133282,
-0.00006160660268506035,
0.013600677251815796,
0.000864352798089385,
0.047735169529914856,
0.02185267023742199,
-0.04169042408466339,
0.024142345413565636,
0.011842205189168453,
0.005078501999378204,
-0.05198480933904648,
-0.05674733594059944,
0.011933792382478714,
0.023446284234523773,
0.009140387177467346,
0.006594267673790455,
0.045280639082193375,
-0.024600282311439514,
-0.059055328369140625,
0.03379562124609947,
-0.05425616726279259,
-0.05835926905274391,
0.004485475830733776,
0.03795367479324341,
0.0254062470048666,
0.019251598045229912,
0.039858683943748474,
-0.02883160300552845,
0.043668705970048904,
0.014003659598529339,
-0.03734919801354408,
-0.01797853782773018,
0.048907484859228134,
-0.00898011028766632,
-0.0011351070133969188,
-0.014910371974110603,
-0.044108323752880096,
-0.010770636610686779,
0.01738322153687477,
-0.00654389476403594,
-0.0024568226654082537,
-0.00520672369748354,
-0.0036451646592468023,
0.00959832314401865,
-0.0020137701649218798,
0.004620566498488188
] |
719,697
|
ibm_platform_services.iam_identity_v1
|
delete_service_id
|
Deletes a service ID and associated API keys.
Deletes a service ID and all API keys associated to it. Before deleting the
service ID, all associated API keys are deleted. In case a Delete Conflict (status
code 409) a retry of the request may help as the service ID is only deleted if the
associated API keys were successfully deleted before. Users can manage user API
keys for themself, or service ID API keys for service IDs that are bound to an
entity they have access to.
:param str id: Unique ID of the service ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_service_id(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Deletes a service ID and associated API keys.
Deletes a service ID and all API keys associated to it. Before deleting the
service ID, all associated API keys are deleted. In case a Delete Conflict (status
code 409) a retry of the request may help as the service ID is only deleted if the
associated API keys were successfully deleted before. Users can manage user API
keys for themself, or service ID API keys for service IDs that are bound to an
entity they have access to.
:param str id: Unique ID of the service ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_service_id',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/serviceids/{id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.03619399666786194,
-0.018523145467042923,
0.006846745498478413,
-0.04625104367733002,
0.00914319884032011,
-0.033921219408512115,
-0.0365159772336483,
0.09727492183446884,
-0.02511420287191868,
0.060190752148628235,
-0.022822484374046326,
0.010492661036550999,
0.021856553852558136,
-0.043940383940935135,
0.025720277801156044,
0.064054474234581,
0.01057789009064436,
0.006752046290785074,
0.01922391913831234,
-0.07803206145763397,
0.04871322214603424,
0.07435774058103561,
-0.017737142741680145,
-0.04337219148874283,
0.042841874063014984,
0.07674415409564972,
0.02113684080541134,
-0.009446236304938793,
0.002027744660153985,
-0.03664855286478996,
-0.02229216881096363,
0.025644518435001373,
-0.018883001059293747,
0.037936460226774216,
-0.06329688429832458,
-0.0445464588701725,
0.011335482820868492,
0.020966382697224617,
-0.10144168138504028,
0.04420554265379906,
-0.024905864149332047,
0.03725462779402733,
0.0012914590770378709,
-0.05045568570494652,
0.02005727030336857,
0.006453744135797024,
-0.06091046705842018,
0.017651913687586784,
-0.01923338882625103,
0.021572455763816833,
-0.0283907912671566,
0.02433766983449459,
0.003385493066161871,
-0.056099750101566315,
0.023807356134057045,
0.027803657576441765,
0.011752159334719181,
0.01475412119179964,
0.01415751688182354,
0.011856327764689922,
0.04375098645687103,
0.01724470779299736,
-0.014346914365887642,
0.031193885952234268,
0.005203715991228819,
-0.047955628484487534,
-0.020682284608483315,
0.005549367517232895,
-0.03729250654578209,
-0.003752452088519931,
0.0022644924465566874,
-0.020000452175736427,
-0.01832427643239498,
-0.0252846609801054,
0.02640211023390293,
-0.009829767048358917,
0.019811052829027176,
-0.06628937274217606,
-0.015360195189714432,
-0.01804964989423752,
-0.017831841483712196,
-0.06454691290855408,
0.042046401649713516,
-0.04575860872864723,
-0.0019058195175603032,
0.012935898266732693,
0.022708846256136894,
0.008575004525482655,
-0.006889360025525093,
0.005790850147604942,
0.01834321767091751,
0.022500507533550262,
-0.026061194017529488,
0.008702848106622696,
0.0035914636682718992,
0.025492999702692032,
0.02333386056125164,
-0.0027107619680464268,
-0.026061194017529488,
-0.004282766953110695,
0.01373137068003416,
-0.004718382842838764,
-0.030758269131183624,
-0.013437802903354168,
0.06507722288370132,
-0.05992559343576431,
0.012263534590601921,
-0.01631665602326393,
0.01822010800242424,
0.00553516298532486,
0.00627855071797967,
0.006037068087607622,
0.03947058692574501,
-0.027898356318473816,
-0.011790039017796516,
0.021496696397662163,
0.03246285393834114,
-0.036875832825899124,
-0.029697639867663383,
0.028977926820516586,
-0.057236138731241226,
-0.05700886249542236,
-0.0004326565540395677,
-0.00816306285560131,
0.018797772005200386,
-0.04128881171345711,
-0.0243755504488945,
0.04155396670103073,
0.05992559343576431,
-0.002452706918120384,
0.002537935972213745,
-0.008788077160716057,
0.012443462386727333,
-0.006538973189890385,
0.07000157982110977,
0.019829992204904556,
0.030133254826068878,
0.05784221366047859,
0.003615138353779912,
0.06375143676996231,
0.04784198850393295,
0.05352393537759781,
-0.050910238176584244,
0.052084509283304214,
0.026667268946766853,
-0.036875832825899124,
-0.024943744763731956,
-0.0161083173006773,
-0.053069379180669785,
-0.0064774188213050365,
-0.05746341869235039,
0.01256657112389803,
0.0018880633870139718,
-0.014365854673087597,
-0.03373182192444801,
-0.07235011458396912,
0.01169533934444189,
-0.0023864174727350473,
0.040000904351472855,
-0.021686095744371414,
0.06363780051469803,
0.05060720071196556,
0.04928141459822655,
-0.05121327564120293,
-0.011761629022657871,
-0.0048533291555941105,
-0.010445311665534973,
0.025701338425278664,
-0.0023781312629580498,
-0.00048089391202665865,
-0.0005966043681837618,
0.03916754946112633,
0.0224626287817955,
-0.05181935057044029,
-0.0050521972589194775,
-0.025057382881641388,
0.0712137296795845,
0.02140199765563011,
-0.04981172829866409,
0.028902167454361916,
0.050152648240327835,
-0.010360082611441612,
0.008073098957538605,
-0.043069154024124146,
0.022557327523827553,
0.00021869574266020209,
-0.0016667043091729283,
0.05799373239278793,
-0.011458591558039188,
0.003645915538072586,
-0.07507745176553726,
-0.05484972149133682,
0.028845347464084625,
0.041857004165649414,
-0.004640256054699421,
0.022992942482233047,
0.052236028015613556,
-0.10591147840023041,
0.0018809610046446323,
-0.07477441430091858,
-0.03962210565805435,
-0.002108238870278001,
0.060228630900382996,
0.008669703267514706,
0.04659195989370346,
-0.05189511179924011,
0.02712182328104973,
-0.03867511451244354,
-0.018494736403226852,
0.02952718175947666,
-0.021913373842835426,
-0.0467434786260128,
0.009356271475553513,
-0.012074136175215244,
0.03145904466509819,
-0.018608374521136284,
0.04867533966898918,
-0.033807579427957535,
0.0467434786260128,
0.004905413836240768,
0.009237897582352161,
-0.02926202304661274,
0.024091452360153198,
0.01166693028062582,
0.017680322751402855,
0.0061649116687476635,
0.008769136853516102,
0.015483303926885128,
-0.0023509052116423845,
-0.01269915048032999,
0.05772857367992401,
0.019678473472595215,
0.002869382966309786,
-0.0065295035019516945,
0.008276701904833317,
-0.11257829517126083,
-0.0059660435654222965,
-0.07538048923015594,
0.031042367219924927,
-0.011335482820868492,
0.0702667385339737,
0.018930351361632347,
0.0136461416259408,
0.03159162029623985,
-0.0606074295938015,
-0.003922910429537296,
-0.03611823916435242,
0.01821063831448555,
0.00251189386472106,
-0.0367053747177124,
0.01315370574593544,
-0.05863768607378006,
0.02825821377336979,
0.0017235237173736095,
0.025796037167310715,
-0.026875605806708336,
-0.0224626287817955,
0.01475412119179964,
-0.021648215129971504,
0.043978266417980194,
-0.040872134268283844,
0.035947781056165695,
-0.04287975654006004,
0.03835313767194748,
-0.02825821377336979,
0.002502423943951726,
0.02539830096065998,
0.04037969931960106,
0.08674438297748566,
-0.001342359813861549,
0.08538071811199188,
-0.0014832247979938984,
0.03136434406042099,
-0.0029759195167571306,
0.012462402693927288,
0.03464093431830406,
-0.020871683955192566,
-0.03935694694519043,
-0.0069319745525717735,
0.006150707136839628,
-0.008229352533817291,
-0.064812071621418,
0.05121327564120293,
0.0034896619617938995,
-0.0010399145539849997,
0.017699262127280235,
0.032860588282346725,
0.013295754790306091,
0.050114765763282776,
0.056099750101566315,
0.043031275272369385,
0.00605600792914629,
-0.019659534096717834,
0.01618407666683197,
-0.04935717582702637,
0.009858177043497562,
-0.057236138731241226,
-0.030890848487615585,
0.016458705067634583,
-0.0038826633244752884,
-0.02231111004948616,
0.03602353855967522,
0.014432143419981003,
-0.047084394842386246,
-0.05375121161341667,
0.0023047395516186953,
0.019943632185459137,
-0.0036695904564112425,
0.01630718633532524,
-0.003252914408221841,
-0.019678473472595215,
-0.0023615590762346983,
-0.07810782641172409,
-0.06496358662843704,
-0.0006143604405224323,
0.04181912541389465,
0.0005477751255966723,
-0.052576944231987,
0.0029190999921411276,
0.004247255157679319,
-0.036932650953531265,
0.022500507533550262,
0.008276701904833317,
-0.016704922541975975,
0.05734977871179581,
-0.03433789685368538,
0.04685711860656738,
-0.029697639867663383,
0.04041757807135582,
0.0024787490256130695,
0.047198034822940826,
0.03019007481634617,
-0.04867533966898918,
-0.05447092652320862,
0.042841874063014984,
-0.09742644429206848,
0.06473630666732788,
0.001967374002560973,
-0.020795924589037895,
0.08939595520496368,
-0.027500620111823082,
-0.040038783103227615,
0.02844761125743389,
0.048107147216796875,
0.034735631197690964,
0.008892246522009373,
-0.005260535515844822,
-0.037936460226774216,
0.06295596808195114,
-0.008551329374313354,
0.05651642754673958,
-0.010407431982457638,
-0.004202272742986679,
0.015473834238946438,
0.032822709530591965,
-0.026705147698521614,
-0.005653536878526211,
0.07947149127721786,
-0.014034407213330269,
0.006306960713118315,
-0.04344794899225235,
-0.016619693487882614,
-0.062198374420404434,
0.003513336880132556,
-0.01366508100181818,
-0.035019729286432266,
0.0019271267810836434,
-0.03126964345574379,
0.012263534590601921,
-0.029849158599972725,
-0.025871796533465385,
0.05549367517232895,
0.005719826091080904,
0.022992942482233047,
0.027974115684628487,
0.03471669182181358,
0.010397962294518948,
-0.0024479718413203955,
-0.04564496874809265,
0.006979323923587799,
0.004498207475990057,
-0.03130752593278885,
-0.0032292394898831844,
0.01609884761273861,
0.030758269131183624,
0.03367500379681587,
-0.013949178159236908,
-0.0509481206536293,
0.004943293519318104,
0.02928096428513527,
0.030076436698436737,
-0.051061756908893585,
-0.018561024218797684,
0.01818222925066948,
0.011335482820868492,
-0.06325900554656982,
-0.014432143419981003,
0.002547405892983079,
-0.0005323865334503353,
-0.000495098764076829,
0.05644066631793976,
0.06560754030942917,
-0.0034139028284698725,
0.03839101642370224,
0.015000338666141033,
0.030038556084036827,
-0.015511713922023773,
-0.06420599669218063,
-0.012869608588516712,
0.044849496334791183,
0.03034159354865551,
-0.01636400632560253,
-0.025814976543188095,
-0.002563978312537074,
0.012860138900578022,
0.06087258458137512,
-0.11341165006160736,
0.08219882100820541,
-0.027595318853855133,
0.01921444945037365,
-0.00918581336736679,
0.05064508318901062,
-0.03234921395778656,
-0.017547745257616043,
0.013201055116951466,
0.05447092652320862,
-0.034754570573568344,
0.012519221752882004,
0.029905978590250015,
-0.048751100897789,
-0.01735834591090679,
-0.004029447212815285,
-0.03126964345574379,
-0.006813600659370422,
-0.003120335517451167,
0.05981195718050003,
-0.0030919257551431656,
0.07003945857286453,
0.023030823096632957,
-0.030625691637396812,
-0.010028635151684284,
-0.06170593947172165,
-0.04458433762192726,
-0.056175511330366135,
-0.057122502475976944,
0.013627201318740845,
0.0589786022901535,
-0.01468783151358366,
0.02028454840183258,
0.011515411548316479,
0.04731167480349541,
0.02746274136006832,
-0.00021499655849765986,
-0.004637888632714748,
0.03049311228096485,
-0.07985028624534607,
0.013882889412343502,
0.05969831719994545,
-0.048940498381853104,
-0.044925257563591,
-0.01939437724649906,
-0.02822033315896988,
-0.019621655344963074,
0.02844761125743389,
-0.02613695338368416,
-0.0031724199652671814,
0.03965998440980911,
0.055190637707710266,
-0.0008676805882714689,
-0.03969786688685417,
0.01702689938247204,
-0.03973574563860893,
0.015511713922023773,
0.061175622045993805,
-0.017670853063464165,
0.08697166293859482,
0.029621880501508713,
-0.010445311665534973,
-0.012282473966479301,
0.01821063831448555,
0.07128948718309402,
-0.017822371795773506,
0.009124258533120155,
-0.045152533799409866,
0.02227322943508625,
0.0019957837648689747,
0.025549819692969322,
-0.0126423304900527,
-0.03310680761933327,
-0.016411354765295982,
0.0467434786260128,
0.014924579299986362,
-0.04322067275643349,
-0.013238934800028801,
0.05852404609322548,
-0.046894997358322144,
0.007448084652423859,
0.005317355040460825,
0.023447498679161072,
-0.016657572239637375,
0.021629275754094124,
-0.039925143122673035,
0.007656422909349203,
0.0010274853557348251,
-0.00683254050090909,
-0.026477869600057602,
0.009896056726574898,
-0.004585804417729378,
-0.016695452854037285,
-0.008792812004685402,
-0.054092127829790115,
-0.007542783860117197,
-0.050152648240327835,
-0.005435728933662176,
0.017651913687586784,
-0.015937859192490578,
-0.0567815825343132,
-0.005748235620558262,
0.025796037167310715,
0.005445198621600866,
-0.003120335517451167,
0.03577732294797897,
-0.042046401649713516,
0.058145251125097275,
-0.017699262127280235,
-0.05026628449559212,
-0.03846677765250206,
-0.0666302889585495,
0.08015332370996475,
0.034925028681755066,
-0.01812540926039219,
0.018456855788826942,
-0.0006705880514346063,
-0.037046290934085846,
-0.003001961624249816,
-0.03346666321158409,
-0.07492593675851822,
-0.05856192857027054,
-0.034962911158800125,
-0.012471872381865978,
0.05852404609322548,
0.07435774058103561,
-0.01636400632560253,
-0.02134517952799797,
-0.052160266786813736,
0.029773399233818054,
0.04041757807135582,
0.049963247030973434,
0.026970306411385536,
0.001215699827298522,
0.037955403327941895,
-0.036004599183797836,
0.03340984508395195,
0.006183851510286331,
-0.05341029539704323,
-0.002722599310800433,
-0.053145140409469604,
-0.03729250654578209,
0.01116502471268177,
-0.042046401649713516,
-0.06916822493076324,
0.03356136381626129,
0.04753895103931427,
0.019792113453149796,
-0.006520033348351717,
0.02943248301744461,
0.027633199468255043,
-0.007211336866021156,
-0.017566684633493423,
-0.008859101682901382,
-0.027993055060505867,
-0.017803432419896126,
0.004652093630284071,
0.0038992357440292835,
-0.05579671263694763,
0.03430001810193062,
-0.010379021987318993,
-0.026989245787262917,
0.011941557750105858,
0.05852404609322548,
-0.05772857367992401,
-0.02428085170686245,
0.03736826777458191,
0.00818673800677061,
-0.033031050115823746,
0.02009515091776848,
0.03138328343629837,
-0.05022840574383736,
0.025947555899620056,
-0.007665892597287893,
-0.035985659807920456,
0.0407206155359745,
0.052955739200115204,
-0.06594845652580261,
-0.05666794627904892,
0.042046401649713516,
0.09265360236167908,
-0.00507587194442749,
-0.00920948851853609,
0.03973574563860893,
0.048978377133607864,
0.039925143122673035,
0.05079660192131996,
0.0022822485771030188,
0.025644518435001373,
-0.0028883228078484535,
-0.031118126586079597,
-0.004528984893113375,
-0.02017091028392315,
-0.06572117656469345,
-0.014725711196660995,
-0.038978151977062225,
0.017803432419896126,
0.014555253088474274,
-0.027898356318473816,
-0.003385493066161871,
0.05806949362158775,
-0.007940520532429218,
-0.007026673760265112,
-0.048069264739751816,
0.004919618368148804,
-0.06609997898340225,
-0.029830219224095345,
-0.003527541644871235,
-0.02831503376364708,
0.045114655047655106,
0.0171121284365654,
-0.0009505422785878181,
-0.08977475017309189,
-0.01837162673473358,
-0.046894997358322144,
0.029678700491786003,
-0.019678473472595215,
0.00328842643648386,
0.010975626297295094,
-0.02823927439749241,
0.005790850147604942,
-0.013485153205692768,
-0.019659534096717834,
-0.012443462386727333,
0.0688273087143898,
0.00803521927446127,
-0.05026628449559212,
0.07155464589595795,
-0.045152533799409866,
0.0953051820397377,
-0.028807468712329865,
-0.0421600416302681,
0.021742915734648705,
-0.03145904466509819,
-0.03827738016843796,
0.03924331068992615,
-0.019006110727787018,
-0.06674393266439438,
0.014309034682810307,
-0.004412978421896696,
0.06185745820403099,
0.02022772841155529,
-0.04659195989370346,
-0.017538273707032204,
0.054167889058589935,
0.019981510937213898,
0.02520890161395073,
-0.031856779009103775,
-0.009228427894413471,
-0.10030529648065567,
0.04238732159137726,
-0.011988907121121883,
0.025890735909342766,
0.02539830096065998,
-0.03310680761933327,
0.0018501838203519583,
-0.014934048987925053,
0.03808797895908356,
-0.019792113453149796,
-0.022652026265859604,
-0.012954837642610073,
-0.010975626297295094,
0.041023653000593185,
0.014668891206383705,
0.02013302966952324,
0.027841538190841675,
0.018456855788826942,
-0.032898470759391785,
-0.029072625562548637,
-0.053069379180669785,
0.010161214508116245,
0.0054546683095395565,
-0.06894095242023468,
-0.025739217177033424,
-0.033845461905002594,
-0.002339067868888378,
0.037841763347387314,
-0.03026583418250084,
-0.018466325476765633,
0.02638317085802555,
-0.01724470779299736,
-0.024754347279667854,
-0.013920769095420837,
0.011468062177300453,
-0.052576944231987,
-0.01322946511209011,
-0.025000564754009247,
0.0063306353986263275,
0.016572343185544014,
0.01213095523416996,
0.06075894832611084,
-0.007476494647562504,
0.02950824238359928,
-0.027595318853855133,
0.04261459782719612,
0.02433766983449459,
0.017566684633493423,
-0.012831728905439377,
0.04526617377996445,
0.05242542549967766,
-0.027083944529294968,
-0.06579694151878357,
0.010824107564985752,
0.04988748952746391,
-0.018759893253445625,
0.028845347464084625,
-0.015814751386642456,
-0.003207932226359844,
-0.02426191046833992,
-0.03878875449299812,
0.04117517173290253,
0.06363780051469803,
0.006879889871925116,
0.03820161893963814,
-0.02530360035598278,
0.0024136435240507126,
-0.07617595791816711,
0.03373182192444801,
-0.024735406041145325,
-0.011818448081612587,
0.009858177043497562,
-0.0447358563542366,
0.0387129932641983,
0.0012760704848915339,
-0.030587811022996902,
0.04128881171345711,
0.05159207433462143,
0.011951027438044548,
-0.00712137296795845,
0.01623142696917057,
0.0445464588701725,
0.03611823916435242,
-0.0008161879377439618,
-0.020852742716670036,
0.005383644253015518,
-0.012519221752882004,
-0.0483723022043705,
0.00012621615314856172,
0.011884737759828568,
-0.02335279993712902,
-0.0868958979845047,
0.00048237357987090945,
0.021818673238158226,
0.023920994251966476,
-0.03151586279273033,
-0.041932765394449234,
-0.013040066696703434,
-0.016742801293730736,
0.019943632185459137,
0.02842867188155651,
0.0173015259206295,
0.06428175419569016
] |
719,698
|
ibm_platform_services.iam_identity_v1
|
delete_trusted_profile_assignment
|
Delete assignment.
Delete a trusted profile assignment. This removes any IAM resources created by
this assignment in child accounts.
:param str assignment_id: ID of the Assignment Record.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ExceptionResponse` object
|
def delete_trusted_profile_assignment(
self,
assignment_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete assignment.
Delete a trusted profile assignment. This removes any IAM resources created by
this assignment in child accounts.
:param str assignment_id: ID of the Assignment Record.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ExceptionResponse` object
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_trusted_profile_assignment',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04533702880144119,
0.06677631288766861,
-0.00011961867130594328,
-0.03926317021250725,
0.006123572122305632,
0.011876566335558891,
-0.04681934043765068,
0.07823710888624191,
0.011135410517454147,
-0.03653354570269585,
-0.010755794122815132,
0.010520793497562408,
-0.013042530044913292,
-0.004354288801550865,
0.005400493275374174,
-0.034400466829538345,
-0.025199290364980698,
0.022126205265522003,
0.014642341993749142,
-0.037093933671712875,
0.002944285748526454,
0.05470089614391327,
-0.02031850814819336,
0.02189120464026928,
-0.01271714549511671,
-0.0033939501736313105,
0.036479316651821136,
-0.022939668968319893,
-0.004808472935110331,
0.061823222786188126,
0.0020110623445361853,
0.0750555619597435,
-0.0721270889043808,
0.0837325006723404,
0.022867361083626747,
0.022017743438482285,
-0.033026617020368576,
0.03525008261203766,
-0.08257557451725006,
0.014994842931628227,
-0.09009559452533722,
0.038467783480882645,
0.0014823111705482006,
0.0025556308683007956,
-0.02706121653318405,
-0.009689253754913807,
-0.004700011108070612,
-0.05697859451174736,
0.011515026912093163,
-0.05383320152759552,
-0.03145391866564751,
0.0040221246890723705,
-0.004598327912390232,
0.07736941426992416,
0.04316779226064682,
0.02447621151804924,
-0.010421370156109333,
-0.027205832302570343,
0.03423777222633362,
-0.011740989051759243,
0.069849394261837,
-0.011442719027400017,
-0.055785514414310455,
-0.031616613268852234,
-0.0015376718947663903,
-0.08893866837024689,
-0.03138161078095436,
0.014931573532521725,
-0.0227950531989336,
-0.004166740458458662,
-0.016160806640982628,
-0.03570200502872467,
-0.0008829467697069049,
-0.03376777097582817,
0.0571955181658268,
-0.019432738423347473,
-0.01061117835342884,
-0.04139624908566475,
0.025813907384872437,
0.020896971225738525,
-0.008292808197438717,
-0.058280136436223984,
0.037347011268138885,
-0.006123572122305632,
0.011442719027400017,
0.021113894879817963,
0.009562714956700802,
-0.04190240427851677,
-0.03246622905135155,
0.021909281611442566,
0.08554019778966904,
0.017905233427882195,
-0.0010004470823332667,
-0.02015581727027893,
0.055785514414310455,
0.06934323906898499,
0.014479649253189564,
-0.010321946814656258,
-0.05961783230304718,
-0.0413239412009716,
-0.016477154567837715,
-0.009653099812567234,
0.019016968086361885,
0.010077908635139465,
0.04855472967028618,
-0.0002633870462886989,
0.07534479349851608,
-0.012147720903158188,
0.00547280116006732,
0.0364612378180027,
0.03573815897107124,
-0.009282521903514862,
-0.044613949954509735,
-0.0018551485845819116,
0.029465453699231148,
0.025452367961406708,
-0.05347166210412979,
-0.11952489614486694,
0.010547908954322338,
-0.06160629913210869,
-0.016974270343780518,
0.009264444932341576,
-0.035376619547605515,
0.020047355443239212,
-0.008776366710662842,
0.01945081539452076,
-0.04031163454055786,
-0.02391582541167736,
0.017299655824899673,
-0.04642164707183838,
0.005016358103603125,
-0.008487135171890259,
-0.054664742201566696,
-0.018302926793694496,
0.02523544430732727,
0.022216590121388435,
0.00765559496358037,
0.04081778600811958,
0.036642007529735565,
-0.06120860576629639,
0.03062237985432148,
0.03250238299369812,
0.006015110295265913,
0.051013197749853134,
0.027693910524249077,
-0.03387623280286789,
-0.004159961827099323,
0.02503659762442112,
-0.01802273467183113,
-0.0070364587008953094,
-0.043601639568805695,
-0.00939098373055458,
-0.02203582040965557,
-0.01348541583865881,
-0.0063676112331449986,
0.01654946245253086,
-0.02407851815223694,
-0.0014100032858550549,
0.019233891740441322,
0.003328421153128147,
-0.011008871719241142,
-0.03335200250148773,
0.027567371726036072,
0.021240433678030968,
0.02284928411245346,
-0.06135322153568268,
0.049747809767723083,
0.0062410724349319935,
-0.012961184605956078,
-0.05430320277810097,
-0.019432738423347473,
-0.0037193356547504663,
0.0019308459013700485,
0.0268623698502779,
-0.007759537547826767,
-0.009915215894579887,
0.0809125006198883,
0.011153487488627434,
-0.029320837929844856,
-0.005911167711019516,
-0.006141649093478918,
-0.029320837929844856,
0.028001219034194946,
-0.015265997499227524,
0.05397781729698181,
-0.00009243260865332559,
-0.024855827912688255,
0.07823710888624191,
-0.016901962459087372,
0.012229067273437977,
-0.03682277724146843,
-0.04320394620299339,
-0.03635277599096298,
0.056653209030628204,
0.01928812265396118,
-0.03362315520644188,
0.05661705508828163,
-0.050000887364149094,
0.006864727474749088,
-0.02478352002799511,
-0.06590861827135086,
-0.0022980342619121075,
0.05574936047196388,
0.010728678666055202,
0.010547908954322338,
0.030441610142588615,
0.03555738925933838,
-0.014642341993749142,
-0.007397998124361038,
0.03515969589352608,
-0.01736292615532875,
-0.008469058200716972,
0.04291471466422081,
0.013395030982792377,
-0.0027092851232737303,
-0.007497421465814114,
0.04038394242525101,
-0.05007319524884224,
0.06601707637310028,
-0.024512365460395813,
-0.06041321903467178,
0.003034670604392886,
0.014344071969389915,
0.0003519359161145985,
0.0054773204028606415,
-0.05520705133676529,
-0.04504779726266861,
0.011126372031867504,
-0.03441854193806648,
-0.013160030357539654,
0.08669712394475937,
0.0038775091525167227,
0.026988908648490906,
-0.016676001250743866,
0.039588555693626404,
-0.033749695867300034,
-0.0451924130320549,
-0.06301630288362503,
-0.04891626909375191,
0.0364612378180027,
-0.03042353317141533,
-0.015600421465933323,
0.019179660826921463,
0.019830431789159775,
-0.02915814518928528,
0.0349246971309185,
-0.0008750380948185921,
0.044505488127470016,
0.00855492427945137,
-0.0886494368314743,
0.055893976241350174,
-0.043493177741765976,
-0.019830431789159775,
0.009788677096366882,
-0.019577354192733765,
0.027097370475530624,
0.001303801080211997,
-0.013919263146817684,
0.030441610142588615,
0.0016393547412008047,
-0.021005433052778244,
0.009879061952233315,
-0.026428522542119026,
-0.04219163581728935,
0.021764665842056274,
-0.06113629788160324,
-0.052531659603118896,
0.050000887364149094,
0.02057158574461937,
0.01645907759666443,
0.011578296311199665,
-0.01198502816259861,
0.08460019528865814,
0.02143928036093712,
-0.051157813519239426,
0.027657756581902504,
-0.01852888986468315,
0.019613508135080338,
0.04685549437999725,
0.01696523278951645,
0.00572587875649333,
-0.06204014644026756,
0.002910391427576542,
0.044722411781549454,
-0.010430408641695976,
0.002363563282415271,
0.0003863951424136758,
0.031200842931866646,
0.059798602014780045,
0.05611089989542961,
-0.028615836054086685,
0.011487911455333233,
-0.02382544055581093,
-0.022306974977254868,
-0.007777614519000053,
0.01705561764538288,
-0.007018381729722023,
-0.004731645807623863,
0.03713008761405945,
0.10029100626707077,
0.04287856072187424,
-0.011261949315667152,
0.04201086610555649,
-0.010882332921028137,
-0.025723522529006004,
0.013530608266592026,
0.004989242646843195,
0.009806754067540169,
0.004342990927398205,
-0.003780345432460308,
0.02001120150089264,
-0.04150471091270447,
-0.024241210892796516,
0.05965398624539375,
0.03026084043085575,
0.03145391866564751,
0.03434623405337334,
-0.02178274281322956,
0.026283906772732735,
0.028561605140566826,
-0.01297022309154272,
-0.04020317271351814,
0.062076300382614136,
0.042733944952487946,
0.06460707634687424,
-0.06026860326528549,
0.016431961208581924,
0.04909703880548477,
0.03570200502872467,
0.007000304758548737,
-0.0321950763463974,
0.005206165835261345,
-0.0020347884856164455,
-0.06677631288766861,
0.05433935672044754,
-0.024747366085648537,
0.037961628288030624,
0.06063014268875122,
0.02122235670685768,
0.015302151441574097,
-0.02716967836022377,
0.008464539423584938,
0.08937251567840576,
0.02245159074664116,
0.00904300156980753,
-0.0025804867036640644,
-0.020788509398698807,
-0.003400729037821293,
0.03539469838142395,
-0.02630198374390602,
0.017751580104231834,
0.07541710138320923,
-0.005875013768672943,
0.037853166460990906,
-0.016278307884931564,
0.0142988795414567,
0.017001386731863022,
0.043348561972379684,
-0.07003016024827957,
-0.022993899881839752,
-0.016513308510184288,
-0.07317555695772171,
-0.01934235356748104,
-0.010349062271416187,
0.023644670844078064,
-0.041215479373931885,
-0.003619912313297391,
-0.03253853693604469,
-0.030531994998455048,
-0.04251702129840851,
-0.024241210892796516,
-0.020680047571659088,
0.0026821696665138006,
-0.04765088111162186,
-0.014795996248722076,
0.0413239412009716,
-0.028200065717101097,
0.04819319024682045,
0.017733503133058548,
-0.01950504630804062,
0.023481978103518486,
-0.043746255338191986,
-0.056291669607162476,
0.04287856072187424,
-0.0541224330663681,
-0.0049485694617033005,
-0.025126982480287552,
-0.03857624530792236,
0.0209331251680851,
0.05556859076023102,
0.04873549938201904,
-0.051410891115665436,
0.05054319649934769,
-0.030748918652534485,
-0.006810496561229229,
-0.0032764498610049486,
-0.08192480355501175,
0.02478352002799511,
-0.027748141437768936,
0.05770167335867882,
0.0223973598331213,
0.016070421785116196,
0.004605107009410858,
0.02590429224073887,
0.024006210267543793,
0.01317810732871294,
0.04338471591472626,
-0.022017743438482285,
0.00995136983692646,
-0.00159303261898458,
0.03152622655034065,
0.02716967836022377,
-0.005635493900626898,
0.04671087861061096,
0.03749162703752518,
0.09421714395284653,
-0.04219163581728935,
-0.027350448071956635,
0.018962737172842026,
-0.07093401253223419,
-0.010981756262481213,
-0.021601973101496696,
-0.02829045057296753,
-0.021999666467308998,
0.0268623698502779,
-0.017986580729484558,
-0.022433513775467873,
-0.007384440395981073,
-0.0006761914701201022,
-0.0319962278008461,
-0.0032651517540216446,
-0.018565043807029724,
0.025669291615486145,
-0.01903504505753517,
0.0038797687739133835,
0.05600243806838989,
-0.007714345119893551,
0.0793217271566391,
-0.016115615144371986,
-0.03340623155236244,
0.035575468093156815,
0.00815271120518446,
-0.04443318024277687,
-0.02472928911447525,
-0.061063989996910095,
0.04302317649126053,
-0.031923919916152954,
-0.015428690239787102,
-0.08055096119642258,
0.0533270463347435,
0.050145503133535385,
0.016639847308397293,
0.03315315395593643,
-0.022740822285413742,
-0.027693910524249077,
-0.019179660826921463,
0.00810300000011921,
0.011740989051759243,
-0.004553135484457016,
-0.014823111705482006,
0.0038481340743601322,
-0.0413239412009716,
0.009707330726087093,
0.007791172247380018,
-0.008866751566529274,
0.015826383605599403,
0.0327916145324707,
0.07003016024827957,
-0.02986314706504345,
0.009074636735022068,
-0.010068870149552822,
-0.009689253754913807,
-0.01061117835342884,
0.05658090114593506,
-0.00293298764154315,
0.05907552316784859,
0.017507540062069893,
-0.03177930414676666,
0.024819673970341682,
0.04718087986111641,
0.010493678040802479,
0.007967422716319561,
0.021457357332110405,
0.03543085232377052,
0.02402428723871708,
-0.06330553442239761,
0.012635799124836922,
-0.019866585731506348,
-0.04237240552902222,
0.06594476848840714,
0.010629255324602127,
-0.053507816046476364,
-0.030550071969628334,
0.001332046347670257,
-0.004164481069892645,
-0.05636397749185562,
0.05495397374033928,
-0.021240433678030968,
-0.007958384230732918,
-0.043854717165231705,
0.03490661829710007,
-0.007745979819446802,
0.04063701629638672,
-0.007773095276206732,
0.06496861577033997,
0.006634246092289686,
-0.008496173657476902,
0.023138515651226044,
-0.03962470963597298,
0.061678607016801834,
0.011768104508519173,
0.03599123656749725,
-0.04566241428256035,
-0.027748141437768936,
-0.0034029886592179537,
0.06269091367721558,
0.025886215269565582,
0.011668681167066097,
0.031923919916152954,
0.020553508773446083,
0.020752355456352234,
0.019432738423347473,
-0.006638765335083008,
0.008948097936809063,
0.02270466834306717,
-0.020083509385585785,
-0.0422639437019825,
-0.018302926793694496,
0.015175612643361092,
0.02102351002395153,
-0.006801458075642586,
0.020137740299105644,
-0.013919263146817684,
-0.05408627912402153,
0.03423777222633362,
0.0008095091325230896,
-0.06916247308254242,
-0.05361627787351608,
0.029628146439790726,
0.009960408322513103,
0.0008840765804052353,
0.004040201660245657,
-0.013530608266592026,
0.04204702004790306,
-0.07057247310876846,
-0.01786907948553562,
-0.025416214019060135,
0.07592325657606125,
-0.005644532386213541,
0.022162359207868576,
0.04020317271351814,
-0.034057002514600754,
0.058063212782144547,
0.020589662715792656,
-0.006679438520222902,
0.048627037554979324,
-0.021800819784402847,
-0.024693135172128677,
0.006494150031358004,
0.022071974352002144,
-0.03036930225789547,
-0.009842908009886742,
0.062184762209653854,
-0.032430075109004974,
0.06348630040884018,
0.004822030663490295,
0.03346046432852745,
0.03901009261608124,
-0.06424553692340851,
-0.05104935169219971,
-0.04779549688100815,
0.05133858323097229,
-0.04855472967028618,
0.006833092775195837,
-0.06847554445266724,
-0.056291669607162476,
0.004607366397976875,
0.003317123046144843,
0.0300619937479496,
0.07823710888624191,
-0.04287856072187424,
-0.002302553504705429,
0.02122235670685768,
0.02377120964229107,
-0.05213396996259689,
0.02944737672805786,
0.024548519402742386,
-0.055279359221458435,
0.0036131334491074085,
-0.03000776283442974,
-0.02442198060452938,
0.018140234053134918,
0.04754241928458214,
-0.06898169964551926,
0.0016269269399344921,
0.03604546934366226,
0.0018528889631852508,
0.02214428223669529,
-0.013675224035978317,
-0.027639679610729218,
0.006150687579065561,
0.011804258450865746,
0.035268157720565796,
0.03544892743229866,
0.08633558452129364,
-0.002476544352248311,
0.027820449322462082,
0.011090218089520931,
-0.04117932543158531,
-0.06522168964147568,
-0.027657756581902504,
0.012030220590531826,
0.023391593247652054,
-0.07823710888624191,
0.0213308185338974,
-0.04631318524479866,
-0.002072072122246027,
0.004998281132429838,
-0.07830941677093506,
-0.01711888611316681,
-0.011614450253546238,
0.002761256415396929,
-0.031218919903039932,
0.11200487613677979,
-0.009987523779273033,
0.03290007635951042,
0.01777869462966919,
-0.028507374227046967,
-0.049747809767723083,
-0.019776200875639915,
-0.06601707637310028,
-0.0153654208406806,
-0.025777753442525864,
-0.029212376102805138,
0.03544892743229866,
-0.01995697058737278,
0.034707773476839066,
-0.00712232431396842,
0.05423089489340782,
-0.033026617020368576,
0.018962737172842026,
-0.03653354570269585,
-0.047867804765701294,
0.04848242178559303,
-0.019107352942228317,
0.0618593767285347,
0.0006722371326759458,
-0.007465786766260862,
-0.02543429099023342,
-0.015781190246343613,
-0.0006999174947850406,
0.020987356081604958,
0.016793500632047653,
-0.06706554442644119,
-0.06135322153568268,
0.029338914901018143,
0.020698124542832375,
0.02838083542883396,
-0.05820782855153084,
-0.01282560732215643,
0.02778429538011551,
-0.020426969975233078,
0.02915814518928528,
0.03322546184062958,
0.10231562703847885,
0.004921454004943371,
-0.041721634566783905,
0.05795475095510483,
-0.006878285203129053,
0.04526472091674805,
-0.016160806640982628,
-0.016522346064448357,
-0.014063878916203976,
0.002246062969788909,
0.0022607503924518824,
-0.05285704508423805,
-0.03875701501965523,
-0.07382632791996002,
0.01614272966980934,
0.021710434928536415,
-0.011433680541813374,
-0.01071964018046856,
-0.019685816019773483,
-0.05444781854748726,
-0.008925501257181168,
0.02554275281727314,
0.016639847308397293,
-0.0035001523792743683,
-0.0653301551938057,
-0.037600088864564896,
-0.03637085482478142,
-0.0031679882667958736,
-0.006128091365098953,
-0.02950160764157772,
-0.026573138311505318,
-0.07147631794214249,
-0.01457907259464264,
-0.021764665842056274,
0.045373182743787766,
0.016477154567837715,
-0.012843684293329716,
-0.027892757207155228,
0.01393734011799097,
-0.0455901063978672,
0.00458251079544425,
0.03454508259892464,
-0.011388488113880157,
0.015374459326267242,
0.05206166207790375,
-0.05647243931889534,
-0.03991394117474556,
0.026681600138545036,
-0.05336320027709007,
-0.02879660576581955,
0.006539341993629932,
0.015763113275170326,
-0.06171476095914841,
-0.054917819797992706,
-0.03291815519332886,
0.05010934919118881,
0.01452484168112278,
0.040130864828825,
0.04128778725862503,
0.010674447752535343,
-0.010267715901136398,
-0.023174669593572617,
0.03403892740607262,
0.01393734011799097,
0.020788509398698807,
0.0029352472629398108,
0.0379977822303772,
0.05170012265443802,
-0.04407164081931114,
-0.024638904258608818,
-0.014886381104588509,
0.03631662204861641,
0.01343118492513895,
0.0022528418339788914,
0.06059398874640465,
-0.03543085232377052,
0.025271598249673843,
0.016422923654317856,
-0.0006439918652176857,
-0.06580015271902084,
-0.000014705187822983135,
0.04931396245956421,
-0.0005869364831596613,
0.04815703630447388,
0.033442385494709015,
-0.031562380492687225,
0.02046312391757965,
-0.0035227485932409763,
-0.04363779351115227,
0.029899301007390022,
0.015455805696547031,
-0.055893976241350174,
-0.05217012017965317,
0.0006987876840867102,
-0.06869246810674667,
-0.022361205890774727,
-0.055062435567379,
0.04569856822490692,
-0.0057439557276666164,
-0.002535294508561492,
-0.025054674595594406,
0.024891981855034828,
0.02265043742954731,
0.023481978103518486
] |
719,699
|
ibm_platform_services.iam_identity_v1
|
disable_api_key
|
disable the API key.
Disable an API key. Users can manage user API keys for themself, or service ID API
keys for service IDs that are bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def disable_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
disable the API key.
Disable an API key. Users can manage user API keys for themself, or service ID API
keys for service IDs that are bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='disable_api_key',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/apikeys/{id}/disable'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.007125647738575935,
-0.0030564439948648214,
0.007052983157336712,
-0.011826122179627419,
-0.0008231507963500917,
-0.023743076249957085,
-0.03511504456400871,
0.027939440682530403,
0.017648352310061455,
0.01689445972442627,
-0.033970583230257034,
-0.037040650844573975,
0.037531133741140366,
-0.029483558610081673,
-0.023270757868885994,
0.002783952746540308,
0.0409463606774807,
0.021326985210180283,
0.01584082841873169,
-0.09264704585075378,
0.05518857017159462,
0.07506226748228073,
-0.0057904403656721115,
-0.012879755347967148,
0.007507135160267353,
0.08225604146718979,
0.02559601701796055,
0.025886673480272293,
-0.009137541987001896,
-0.040510375052690506,
-0.0028475341387093067,
0.01790267787873745,
0.013924305327236652,
0.02703113667666912,
-0.037494804710149765,
-0.023833906278014183,
-0.003721777116879821,
0.07905881106853485,
-0.12047749012708664,
-0.002829367993399501,
-0.009400949813425541,
0.06216434761881828,
0.02603200264275074,
-0.05526123568415642,
0.010372835211455822,
-0.013606399297714233,
-0.03771279752254486,
-0.0027703281957656145,
-0.0052590821869671345,
0.01378805935382843,
0.014314875937998295,
0.023797573521733284,
0.01173529215157032,
-0.01729411445558071,
-0.003499242477118969,
0.015250429511070251,
-0.01733044721186161,
-0.027485288679599762,
0.009051253087818623,
-0.03727680817246437,
-0.028793247416615486,
0.01628589630126953,
-0.02099999599158764,
0.014696364291012287,
0.01692171022295952,
-0.02908390574157238,
-0.07498960942029953,
0.03767646476626396,
-0.005717775784432888,
0.02970155142247677,
-0.008024868555366993,
-0.041636671870946884,
-0.041636671870946884,
0.006834990344941616,
0.02150864712893963,
-0.004913926590234041,
-0.06194635480642319,
-0.007843207567930222,
-0.02917473576962948,
-0.013524651527404785,
0.0281029362231493,
-0.0614377036690712,
0.019601207226514816,
-0.009782437235116959,
-0.03182698413729668,
-0.020800169557332993,
0.020128024742007256,
-0.035078711807727814,
0.029883213341236115,
-0.013669980689883232,
-0.013906138949096203,
-0.0027884943410754204,
-0.05308130383491516,
0.015223180875182152,
0.03235379979014397,
0.0077841682359576225,
0.052899643778800964,
0.00790678896009922,
-0.008878675289452076,
-0.024796707555651665,
0.03887542709708214,
-0.03328027203679085,
0.030500859022140503,
-0.020418681204319,
0.05707784369587898,
-0.04505189508199692,
0.0178663469851017,
0.008451771922409534,
0.01301600132137537,
0.00817019771784544,
0.013279409147799015,
-0.0036809032317250967,
-0.022762106731534004,
-0.0003783655120059848,
-0.036041516810655594,
0.06492559611797333,
0.006389921065419912,
-0.01405146811157465,
0.02403373271226883,
0.023179925978183746,
0.0057904403656721115,
-0.04650518298149109,
-0.02864791825413704,
0.008542601950466633,
0.03199047967791557,
-0.014478371478617191,
-0.020182522013783455,
0.05217299982905388,
0.0866885632276535,
-0.032898783683776855,
-0.07353632152080536,
0.007125647738575935,
-0.034933384507894516,
0.04403459280729294,
0.03220847249031067,
-0.00867430679500103,
0.04436158388853073,
0.052863311022520065,
0.030391862615942955,
0.03829411044716835,
-0.0007385649369098246,
-0.0005183011526241899,
0.01175345852971077,
0.04483390226960182,
0.03017386980354786,
-0.054934244602918625,
-0.030918680131435394,
-0.007584341336041689,
0.010808821767568588,
-0.017112454399466515,
-0.019056225195527077,
0.035078711807727814,
-0.010000430978834629,
0.004954800009727478,
0.021726639941334724,
-0.009119375608861446,
0.002329800510779023,
0.01932871714234352,
0.051846012473106384,
-0.02138148434460163,
0.05460725724697113,
0.023343421518802643,
0.07004842907190323,
-0.07033909112215042,
0.030228368937969208,
-0.05874912440776825,
-0.0613287091255188,
-0.003960207104682922,
0.05046539008617401,
0.025723177939653397,
-0.04196365922689438,
0.006467126775532961,
-0.010127593763172626,
-0.007334557361900806,
-0.0006522760377265513,
-0.01793901063501835,
0.04130968078970909,
-0.007425387855619192,
-0.036513835191726685,
0.0358235239982605,
0.056896183639764786,
0.04174566641449928,
-0.022725773975253105,
0.0006023193127475679,
0.026304492726922035,
0.010409167967736721,
0.025414355099201202,
0.04635985195636749,
-0.054352931678295135,
0.018674736842513084,
-0.02552335150539875,
-0.027249129489064217,
0.05377161502838135,
0.029919544234871864,
-0.029192902147769928,
0.02138148434460163,
0.022362452000379562,
-0.08109340816736221,
-0.001196690951474011,
0.013379323296248913,
0.008583475835621357,
0.01584082841873169,
0.03400691598653793,
0.026377158239483833,
0.04933909326791763,
-0.049775078892707825,
0.015441173687577248,
-0.07709687203168869,
0.0030314656905829906,
0.023107262328267097,
0.020673006772994995,
0.008129323832690716,
-0.0053817033767700195,
-0.00027320091612637043,
-0.000593803939409554,
0.053916946053504944,
0.06507091969251633,
0.025432521477341652,
0.011562714353203773,
0.015940740704536438,
-0.012144029140472412,
-0.008161114528775215,
-0.010572662577033043,
-0.03516954556107521,
0.05805881321430206,
0.04399826377630234,
0.051373694092035294,
-0.010336503386497498,
-0.047268155962228775,
-0.03476988896727562,
0.05428026616573334,
0.014187714084982872,
-0.07884081453084946,
-0.03667733073234558,
-0.009528112597763538,
-0.07477161288261414,
-0.043162621557712555,
-0.07342731952667236,
-0.003219938836991787,
-0.014060551300644875,
0.08545327186584473,
0.03364359214901924,
0.023288922384381294,
0.032989613711833954,
-0.058458466082811356,
0.016494806855916977,
-0.052281998097896576,
0.040583036839962006,
-0.002395652700215578,
-0.05816781148314476,
0.045669540762901306,
-0.06943078339099884,
-0.003842127276584506,
0.021036328747868538,
0.02138148434460163,
-0.0406920351088047,
-0.021781137213110924,
-0.041600339114665985,
-0.016740048304200172,
0.026377158239483833,
-0.03934774547815323,
0.04243597760796547,
-0.10274738818407059,
0.006503459066152573,
0.03985639289021492,
-0.0017416735645383596,
0.013097748160362244,
0.05940310284495354,
0.0613287091255188,
0.026377158239483833,
0.07884081453084946,
-0.024342555552721024,
0.00795674603432417,
-0.018729235976934433,
0.017094288021326065,
0.07913147658109665,
0.0019074390875175595,
0.019219718873500824,
-0.0018767837900668383,
0.007611590437591076,
0.013461070135235786,
-0.05874912440776825,
0.057477496564388275,
0.020854666829109192,
0.0153594259172678,
-0.04944808781147003,
-0.02296193316578865,
0.046214524656534195,
0.03171798586845398,
0.019147055223584175,
0.04345327988266945,
0.03533303737640381,
-0.018275083974003792,
0.050792377442121506,
-0.01741219498217106,
-0.014850775711238384,
-0.018692903220653534,
-0.044724904000759125,
0.024088231846690178,
-0.007084773853421211,
0.023688577115535736,
0.07796884328126907,
0.004157762974500656,
-0.0510467030107975,
-0.008806010708212852,
-0.02343425154685974,
0.014669114723801613,
0.001019571558572352,
-0.015659166499972343,
0.025777677074074745,
-0.01790267787873745,
-0.01932871714234352,
-0.03714964911341667,
-0.08806918561458588,
-0.014514703303575516,
-0.03458822891116142,
0.05784082040190697,
-0.005804064683616161,
0.0014862129464745522,
0.020128024742007256,
-0.022653110325336456,
-0.005345371086150408,
-0.014514703303575516,
-0.03927507996559143,
0.05987542122602463,
-0.04127334803342819,
0.10638060420751572,
-0.04999307170510292,
0.023797573521733284,
0.010890568606555462,
0.02239878475666046,
0.002190148923546076,
0.0004200907424092293,
-0.06089272350072861,
-0.03433390334248543,
-0.09032178670167923,
0.04203632473945618,
-0.01592257432639599,
-0.004166846163570881,
0.08356399834156036,
-0.040147051215171814,
-0.04799479991197586,
0.027158299461007118,
0.016948958858847618,
-0.013224910944700241,
-0.00920566450804472,
0.023325255140662193,
0.009827853180468082,
0.052390992641448975,
0.00818382203578949,
0.08530794084072113,
-0.02759428508579731,
0.005481616593897343,
0.02654065191745758,
0.07985811680555344,
-0.05428026616573334,
0.006185552570968866,
0.04701383411884308,
-0.056968849152326584,
-0.02299826592206955,
-0.029374562203884125,
-0.02356141433119774,
-0.08617991209030151,
0.028193766251206398,
-0.05260898545384407,
-0.016431225463747978,
-0.0017178305424749851,
-0.0613287091255188,
0.051846012473106384,
-0.020636674016714096,
-0.04403459280729294,
0.017057955265045166,
-0.005290872883051634,
0.037095148116350174,
0.024887539446353912,
0.03171798586845398,
-0.037095148116350174,
-0.013869807124137878,
-0.022834770381450653,
0.04225431755185127,
0.04505189508199692,
-0.07033909112215042,
0.02443338744342327,
0.015441173687577248,
0.022616777569055557,
0.01796625927090645,
0.00573594169691205,
-0.04737715423107147,
0.03417040780186653,
0.004927550908178091,
0.07295500487089157,
-0.043126288801431656,
-0.041636671870946884,
0.05300864204764366,
0.01844766177237034,
-0.033007778227329254,
-0.046214524656534195,
-0.0016951229190453887,
0.007843207567930222,
-0.00846085511147976,
-0.0005364672397263348,
0.09104842692613602,
-0.005863104481250048,
-0.008247403427958488,
0.03996539115905762,
0.02804843708872795,
0.01171712577342987,
-0.06986676901578903,
-0.013960638083517551,
-0.03168165683746338,
0.0021753888577222824,
0.007493510842323303,
-0.02608649991452694,
0.023288922384381294,
0.05039272457361221,
0.04737715423107147,
-0.06408995389938354,
0.05907611548900604,
-0.03738580644130707,
0.01693079248070717,
0.026286328211426735,
-0.005894895177334547,
-0.02906573936343193,
-0.059948086738586426,
-0.027358125895261765,
0.05653286352753639,
-0.013996969908475876,
-0.047813139855861664,
0.020291518419981003,
-0.008306442759931087,
0.015014270320534706,
0.00923291314393282,
-0.0017394027672708035,
-0.0056405700743198395,
-0.023615913465619087,
-0.01584082841873169,
0.03008303977549076,
0.010418251156806946,
-0.00649891747161746,
-0.03355276212096214,
-0.016086069867014885,
-0.042072657495737076,
-0.008692472241818905,
-0.02143598161637783,
-0.01689445972442627,
0.03358909487724304,
0.006031140685081482,
0.06448961049318314,
0.08814185112714767,
0.005041088908910751,
0.08232870697975159,
0.04127334803342819,
0.05878545716404915,
-0.023397918790578842,
0.0007629756582900882,
-0.0767335519194603,
-0.0018234209856018424,
0.00648529315367341,
0.0035946143325418234,
-0.03771279752254486,
0.019292384386062622,
0.0028634294867515564,
-0.06496192514896393,
0.027757780626416206,
0.0005049604224041104,
0.05667819082736969,
0.024397054687142372,
0.023852072656154633,
0.039020754396915436,
-0.014532869681715965,
-0.017067039385437965,
-0.06012974679470062,
0.023288922384381294,
0.020237021148204803,
0.018147921189665794,
0.06369029730558395,
0.03687715530395508,
0.005758649669587612,
-0.014859858900308609,
0.006394462659955025,
0.012216693721711636,
-0.03731314092874527,
0.005290872883051634,
-0.04301729425787926,
0.054389264434576035,
-0.04018338397145271,
-0.007093857042491436,
0.0089422557502985,
-0.08370932936668396,
-0.006616997066885233,
0.038548436015844345,
-0.0011830664006993175,
-0.026140999048948288,
0.029447225853800774,
-0.009546278975903988,
-0.045742206275463104,
-0.004157762974500656,
-0.017675602808594704,
-0.017484858632087708,
-0.0018029841594398022,
0.014614616520702839,
-0.013134080916643143,
0.010263838805258274,
-0.005404410883784294,
0.01687629520893097,
0.0009503134060651064,
-0.02599566988646984,
0.0053817033767700195,
-0.018638404086232185,
0.024633213877677917,
-0.03607784956693649,
-0.04646885022521019,
-0.010345586575567722,
-0.03229930251836777,
0.0070211924612522125,
-0.016685551032423973,
-0.02241695113480091,
0.005431659985333681,
0.024378888309001923,
0.007548009045422077,
0.028974907472729683,
0.042181652039289474,
0.014405706897377968,
0.020000861957669258,
0.03328027203679085,
0.013115914538502693,
-0.03464272618293762,
-0.05264531821012497,
0.025396188721060753,
0.04040137678384781,
-0.023161761462688446,
0.0012012324295938015,
0.05217299982905388,
-0.00350832543335855,
-0.01575908064842224,
-0.03333476930856705,
-0.0611470490694046,
0.004219073802232742,
-0.06939445436000824,
0.0004615321522578597,
0.03358909487724304,
0.06492559611797333,
0.01228027418255806,
-0.05500691011548042,
-0.05148268863558769,
0.03231746703386307,
-0.057477496564388275,
0.055951546877622604,
0.006181010976433754,
-0.06365396827459335,
0.04741348698735237,
-0.006594289559870958,
0.03742213919758797,
-0.03793079033493996,
-0.06848614662885666,
-0.04697750136256218,
-0.012389271520078182,
0.009546278975903988,
-0.02599566988646984,
-0.004105535801500082,
-0.06252767145633698,
0.011499132961034775,
0.03862110152840614,
-0.04374393820762634,
-0.020418681204319,
0.007720586843788624,
0.03328027203679085,
0.018066173419356346,
0.010636243969202042,
-0.05398961156606674,
-0.03727680817246437,
-0.055878881365060806,
-0.02401556633412838,
-0.022253455594182014,
-0.07491694390773773,
0.040038056671619415,
0.03920241445302963,
-0.006476209964603186,
-0.029719717800617218,
0.006603372748941183,
-0.03931141272187233,
-0.017612021416425705,
-0.0034311197232455015,
-0.023288922384381294,
-0.014968855306506157,
-0.024306224659085274,
0.05304497480392456,
-0.01479627750813961,
0.053916946053504944,
-0.011290223337709904,
-0.018801899626851082,
0.02247144840657711,
0.05210033804178238,
-0.06834081560373306,
-0.028684251010417938,
0.09083043038845062,
0.011998699977993965,
-0.0064580440521240234,
0.0017961717676371336,
0.02138148434460163,
0.02906573936343193,
0.039529405534267426,
0.03843943774700165,
0.02094549871981144,
0.016749132424592972,
0.012198527343571186,
-0.02917473576962948,
-0.015205014497041702,
-0.01943771354854107,
-0.041091687977313995,
-0.010327420197427273,
-0.04374393820762634,
0.027921276167035103,
0.02354324795305729,
-0.01573183201253414,
0.0006806605379097164,
0.02603200264275074,
-0.003369809128344059,
-0.029501724988222122,
-0.0769515410065651,
-0.018711069598793983,
-0.018020758405327797,
-0.03317127376794815,
0.005645111668854952,
-0.06888580322265625,
0.014024218544363976,
0.062055353075265884,
0.008610725402832031,
-0.04886677488684654,
0.03211764246225357,
-0.04330795258283615,
0.053335629403591156,
-0.019782869145274162,
0.007570716552436352,
0.008574392646551132,
0.0027703281957656145,
0.030918680131435394,
0.011817038990557194,
0.05206400528550148,
0.006807740777730942,
0.033007778227329254,
0.02092733234167099,
-0.018011674284934998,
0.04530622065067291,
-0.04897576943039894,
0.05962109565734863,
-0.022089961916208267,
-0.0358053557574749,
-0.04915742948651314,
-0.06677853316068649,
-0.07971278578042984,
-0.031899649649858475,
-0.0015554712153971195,
-0.03771279752254486,
-0.029810547828674316,
-0.012870672158896923,
0.022162625566124916,
0.0355691984295845,
-0.0014521515695378184,
-0.03880276158452034,
0.029974043369293213,
-0.02862975187599659,
-0.010599911212921143,
-0.045669540762901306,
0.002986050443723798,
-0.03607784956693649,
-0.003967019263654947,
-0.04748615249991417,
0.04025604948401451,
0.0255415178835392,
0.03073701821267605,
-0.025741344317793846,
0.0037285892758518457,
0.04189099743962288,
0.01743944361805916,
0.0005540656275115907,
-0.027830444276332855,
-0.06423528492450714,
0.02141781710088253,
-0.006344505585730076,
-0.018157003447413445,
-0.012580014765262604,
-0.0031586282420903444,
-0.03055535815656185,
-0.04686850309371948,
-0.004364402499049902,
0.018692903220653534,
0.011054064147174358,
-0.06710552424192429,
-0.05667819082736969,
-0.009600777179002762,
-0.029011240229010582,
0.008792386390268803,
-0.03309860825538635,
-0.00969160720705986,
-0.07037542015314102,
0.015386675484478474,
0.04795846715569496,
-0.008978588506579399,
0.050828710198402405,
-0.030464528128504753,
-0.024905703961849213,
-0.0178300142288208,
0.01229844056069851,
0.020782003179192543,
0.006112887989729643,
0.04149134084582329,
-0.009287412278354168,
-0.0015338989906013012,
-0.026358991861343384,
0.020255187526345253,
0.046214524656534195,
0.020745670422911644,
-0.045124560594558716,
0.01629498042166233,
0.010091261006891727,
-0.0562785379588604,
-0.06855881214141846,
0.00846085511147976,
0.07070241123437881,
0.012843423523008823,
0.05249999091029167,
-0.036949820816516876,
-0.010027679614722729,
-0.02198096551001072,
0.0065170833840966225,
-0.025868507102131844,
0.0409826934337616,
0.024378888309001923,
0.00714835524559021,
0.07208303362131119,
-0.01121755875647068,
-0.07571624964475632,
-0.014959772117435932,
0.02714013308286667,
-0.0016451661940664053,
-0.041128020733594894,
-0.029501724988222122,
0.018556658178567886,
0.03380708768963814,
-0.011608129367232323,
0.032426465302705765,
0.020128024742007256,
-0.022816604003310204,
-0.052863311022520065,
0.035769023001194,
0.06768684089183807,
0.041709333658218384,
0.03110034018754959,
-0.01225302554666996,
-0.002811201848089695,
0.035460200160741806,
0.010845153592526913,
0.03992905840277672,
0.04439791664481163,
-0.026358991861343384,
-0.06332697719335556,
0.07204669713973999,
0.009718856774270535,
0.015677332878112793,
-0.010318337008357048,
-0.017957177013158798,
-0.01898355968296528,
-0.02657698467373848,
-0.02098182961344719,
0.02405189909040928,
0.027666950598359108,
0.06674220412969589
] |
719,701
|
ibm_platform_services.iam_identity_v1
|
enable_api_key
|
Enable the API key.
Enable an API key. Users can manage user API keys for themself, or service ID API
keys for service IDs that are bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def enable_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Enable the API key.
Enable an API key. Users can manage user API keys for themself, or service ID API
keys for service IDs that are bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='enable_api_key',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/apikeys/{id}/disable'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.018139218911528587,
-0.035833075642585754,
0.0010125023545697331,
0.005038156174123287,
0.03484956547617912,
-0.0011348609114065766,
-0.015448490157723427,
0.033012449741363525,
0.006643314845860004,
0.004622948821634054,
-0.013119618408381939,
-0.06776922941207886,
0.05470528453588486,
-0.011931986548006535,
-0.02766810730099678,
-0.04286608099937439,
0.02993202954530716,
0.0013105700490996242,
0.006453108042478561,
-0.07578574866056442,
0.04817330837249756,
0.07986822724342346,
0.017860867083072662,
-0.01574539765715599,
0.02880006842315197,
0.08966618776321411,
0.04813619703054428,
0.023214487358927727,
-0.008860846050083637,
-0.043831031769514084,
-0.005506713874638081,
0.022769125178456306,
0.004898980725556612,
0.009315486066043377,
-0.026350578293204308,
-0.037503182888031006,
0.021655721589922905,
0.04717124626040459,
-0.09560435265302658,
0.008401566185057163,
-0.0231773741543293,
0.06702696532011032,
0.032455746084451675,
-0.06145993992686272,
0.017053648829460144,
0.019503138959407806,
-0.0403052493929863,
0.017461897805333138,
0.012275286950170994,
-0.00250284094363451,
0.02644336223602295,
-0.007830946706235409,
0.016264986246824265,
-0.024903152137994766,
-0.009677342139184475,
0.027816560119390488,
-0.011894873343408108,
-0.020505202934145927,
0.00878197979182005,
-0.04357123747467995,
-0.005515992175787687,
0.015170139260590076,
-0.023938201367855072,
0.02712996117770672,
0.029523780569434166,
-0.020616544410586357,
-0.09746002405881882,
0.05477951094508171,
0.01068868488073349,
0.04345989599823952,
0.004497691057622433,
-0.03568461909890175,
-0.020189737901091576,
-0.01878870464861393,
0.0008321540080942214,
0.03147223964333534,
-0.07240841537714005,
-0.0051031047478318214,
-0.02364129200577736,
0.005446404684334993,
0.038523800671100616,
-0.07593420147895813,
0.028094911947846413,
-0.012915494851768017,
-0.02215675264596939,
0.0025909855030477047,
-0.03522070124745369,
-0.060012511909008026,
0.02091345191001892,
-0.022861909121274948,
0.010336106643080711,
0.01609797589480877,
-0.03523925691843033,
0.02384541742503643,
0.04197535663843155,
-0.001079190638847649,
0.05927024409174919,
-0.00906496960669756,
-0.010159817524254322,
0.002581707201898098,
0.011681471019983292,
-0.02037530578672886,
0.03945164009928703,
-0.010104147717356682,
0.05014032498002052,
-0.05715477466583252,
0.0031337703112512827,
0.01271137036383152,
0.013462918810546398,
0.020542316138744354,
0.02004128508269787,
-0.031546466052532196,
-0.029876358807086945,
-0.008642803877592087,
-0.027037177234888077,
0.02959800884127617,
0.00793764740228653,
0.000807218428235501,
0.008452597074210644,
0.020505202934145927,
0.017638185992836952,
-0.052367132157087326,
-0.0029690791852772236,
0.017285607755184174,
0.047765061259269714,
-0.013333020731806755,
-0.006893830839544535,
0.06201663985848427,
0.06190530210733414,
-0.06981047242879868,
-0.013416526839137077,
0.00794228632003069,
-0.04086195304989815,
0.044276393949985504,
0.04152999445796013,
-0.02473613992333412,
0.044387735426425934,
0.05578157678246498,
0.02082066796720028,
0.037354726344347,
-0.002164180390536785,
-0.012553637847304344,
-0.013750547543168068,
0.04598361253738403,
0.013295907527208328,
-0.05778570473194122,
-0.04138154163956642,
-0.006968057714402676,
0.0070098103024065495,
-0.01824128068983555,
0.014233022928237915,
0.0051077441312372684,
0.00977940484881401,
-0.0051355790346860886,
-0.019948501139879227,
-0.028651613742113113,
-0.003992019686847925,
-0.004655423574149609,
0.06732387095689774,
-0.0286701712757349,
0.026833053678274155,
0.014223745092749596,
0.046428974717855453,
-0.03726194426417351,
0.0177588053047657,
-0.030080484226346016,
-0.09642084687948227,
0.004344597924500704,
0.02644336223602295,
0.025367069989442825,
0.00475516589358449,
0.0012386627495288849,
-0.006337128579616547,
0.004458257928490639,
0.0019507778342813253,
-0.02510727569460869,
0.01948458142578602,
-0.010568066500127316,
-0.014631993137300014,
0.016803132370114326,
0.05953003838658333,
0.04602072760462761,
-0.02429077960550785,
-0.00010945580288534984,
0.0196701493114233,
0.0006286097341217101,
0.04238360375165939,
0.07251975685358047,
-0.01412168238312006,
0.020282521843910217,
-0.011950544081628323,
-0.05778570473194122,
0.05099393427371979,
0.015559830702841282,
-0.046317633241415024,
0.001660828711465001,
0.005172692704945803,
-0.09931569546461105,
-0.01428869366645813,
0.025459853932261467,
-0.020894894376397133,
-0.0008727469248697162,
0.034033071249723434,
0.024810368195176125,
0.08743938058614731,
-0.05062279850244522,
0.02228664979338646,
-0.06843727827072144,
-0.00044014278682880104,
0.021321699023246765,
0.030525844544172287,
-0.028261922299861908,
-0.0414186529815197,
0.02195262908935547,
-0.015699006617069244,
0.04115885868668556,
0.07704760134220123,
0.02609078399837017,
0.018538188189268112,
-0.008684556931257248,
0.007668574806302786,
0.016292821615934372,
0.010363942012190819,
-0.04152999445796013,
0.056301165372133255,
0.008169607259333134,
0.06457747519016266,
-0.008410844951868057,
-0.06494860351085663,
-0.034367091953754425,
0.05366610735654831,
0.016348492354154587,
-0.0726310983300209,
-0.03555472195148468,
-0.03399595618247986,
-0.07021871954202652,
0.00113892019726336,
-0.044499073177576065,
0.01068868488073349,
-0.03709493204951286,
0.09441671520471573,
0.05656095966696739,
0.02566397748887539,
0.0021375049836933613,
-0.08721669763326645,
0.012507245875895023,
-0.057897042483091354,
0.03082275390625,
-0.0223794337362051,
-0.06257334351539612,
0.027983570471405983,
-0.0729651227593422,
-0.005780425854027271,
0.005650528706610203,
0.00204008212313056,
-0.03024749457836151,
-0.014631993137300014,
-0.028094911947846413,
-0.01609797589480877,
0.01642271876335144,
-0.039080504328012466,
0.052923835813999176,
-0.06940222531557083,
0.017703134566545486,
0.026684598997235298,
0.016719626262784004,
0.02802068553864956,
0.05785993114113808,
0.07177748531103134,
0.025162946432828903,
0.04520422965288162,
-0.0004934934549964964,
0.017962928861379623,
0.005529909860342741,
0.013629929162561893,
0.0573403425514698,
-0.0082020815461874,
0.012460853904485703,
-0.007872698828577995,
0.012247451581060886,
-0.011783532798290253,
-0.07014449685811996,
0.036853693425655365,
0.011644357815384865,
0.0023752632550895214,
-0.05062279850244522,
-0.011542295105755329,
0.07188882678747177,
0.029301099479198456,
-0.003124492010101676,
0.01955880969762802,
0.05403723940253258,
-0.003813411109149456,
0.035499051213264465,
-0.006787129212170839,
-0.013713434338569641,
-0.016255708411335945,
-0.03540626913309097,
0.02575676143169403,
0.006921665742993355,
0.02497737854719162,
0.06394654512405396,
-0.026257794350385666,
-0.06209086999297142,
-0.010104147717356682,
-0.021618608385324478,
0.01620003767311573,
0.0099556939676404,
-0.02295469306409359,
0.025719648227095604,
-0.023140260949730873,
-0.010660849511623383,
-0.05927024409174919,
-0.08246617764234543,
0.001907865284010768,
-0.04286608099937439,
0.04286608099937439,
0.00612836517393589,
-0.0002581996959634125,
0.02857738733291626,
-0.02349283918738365,
0.006504138931632042,
-0.011319614015519619,
-0.02982068806886673,
0.05778570473194122,
-0.03800421208143234,
0.13479618728160858,
-0.05555889382958412,
0.03844957426190376,
0.0065598092041909695,
0.007181460037827492,
0.008480432443320751,
0.007849503308534622,
-0.038412462919950485,
-0.04345989599823952,
-0.08454453200101852,
0.052144452929496765,
-0.012284564785659313,
-0.033699046820402145,
0.09612394124269485,
-0.029523780569434166,
-0.014548487961292267,
0.0015460087452083826,
0.017285607755184174,
-0.028280479833483696,
-0.0191134475171566,
0.01045672595500946,
-0.00883301068097353,
0.05255270004272461,
0.007895895279943943,
0.04260628670454025,
-0.04286608099937439,
0.021748505532741547,
-0.0007672054343856871,
0.09671775251626968,
-0.04828464984893799,
-0.0038087719585746527,
0.031991828233003616,
-0.04308876022696495,
-0.024903152137994766,
-0.012600029818713665,
-0.028985636308789253,
-0.0839507132768631,
0.018287671729922295,
-0.07589708268642426,
-0.01204332709312439,
-0.009927858598530293,
-0.05155063793063164,
0.06071766838431358,
-0.02069077081978321,
-0.02926398627460003,
0.013323742896318436,
-0.02666604146361351,
0.03592585772275925,
0.030674299225211143,
0.04119597375392914,
-0.028299035504460335,
-0.004736609291285276,
-0.036148540675640106,
0.036631014198064804,
0.04754238203167915,
-0.046317633241415024,
0.03230729326605797,
0.005826817825436592,
0.016914471983909607,
0.002920367754995823,
0.02690728008747101,
-0.047208357602357864,
0.03993411362171173,
0.020171182230114937,
0.07556306570768356,
-0.03128667175769806,
-0.026276350021362305,
0.03568461909890175,
0.008415483869612217,
-0.022806240245699883,
-0.024810368195176125,
-0.000589466595556587,
0.010781468823552132,
-0.00009880017023533583,
0.024791810661554337,
0.06947645545005798,
0.0403052493929863,
-0.00591032300144434,
0.03833823651075363,
0.02800212800502777,
0.014817561022937298,
-0.08781051635742188,
-0.01854746602475643,
-0.01877942495048046,
-0.008986103348433971,
0.017257772386074066,
-0.033921729773283005,
0.027167074382305145,
0.00794228632003069,
0.013778382912278175,
-0.06535685807466507,
0.051699090749025345,
-0.06654448807239532,
0.05166197940707207,
0.019614478573203087,
-0.0010385977802798152,
-0.05195888504385948,
-0.011495903134346008,
-0.029746461659669876,
0.06145993992686272,
-0.003092017490416765,
-0.05411146953701973,
0.04498155042529106,
-0.02442067675292492,
0.0005419149529188871,
0.017396947368979454,
0.020171182230114937,
-0.002398459240794182,
-0.03421863913536072,
-0.0056598070077598095,
0.04590938612818718,
0.014093847945332527,
-0.0036858334206044674,
-0.03948875144124031,
-0.010660849511623383,
-0.049212485551834106,
-0.021915515884757042,
-0.020987678319215775,
-0.020412418991327286,
0.04435062035918236,
-0.003252069465816021,
0.0355176106095314,
0.08736515790224075,
0.017703134566545486,
0.0786805972456932,
0.04260628670454025,
0.04216092452406883,
-0.009695898741483688,
-0.004212380852550268,
-0.07704760134220123,
0.018194887787103653,
0.01523508783429861,
-0.011375284753739834,
-0.0351279191672802,
0.027482539415359497,
0.0005155295948497951,
-0.07882905006408691,
0.05051146075129509,
0.006889191456139088,
0.04694856330752373,
0.026517588645219803,
0.0672125294804573,
0.03522070124745369,
-0.027723776176571846,
0.0021943349856883287,
-0.04334855452179909,
0.015531995333731174,
0.02351139485836029,
0.04008257016539574,
0.08009091019630432,
0.017842309549450874,
0.02757532335817814,
-0.027296971529722214,
-0.01585673913359642,
0.00227668066509068,
-0.010039199143648148,
0.022026855498552322,
-0.04423927888274193,
0.055521778762340546,
-0.038301121443510056,
-0.005302589852362871,
0.01484539546072483,
-0.07014449685811996,
-0.0037786171305924654,
0.046874336898326874,
-0.008485071361064911,
-0.03295677900314331,
0.03264131397008896,
-0.002185056684538722,
-0.040119681507349014,
-0.017508288845419884,
-0.03171347826719284,
-0.02507016249001026,
0.018018599599599838,
0.015170139260590076,
-0.005553105846047401,
0.003753101686015725,
0.01835262030363083,
0.02215675264596939,
0.02610933966934681,
-0.05010320991277695,
0.009927858598530293,
-0.02892996557056904,
0.042457833886146545,
-0.030878422781825066,
-0.046762995421886444,
-0.007399502210319042,
-0.03197327256202698,
0.027241300791502,
0.015290757641196251,
-0.01153301727026701,
0.020319635048508644,
-0.007691770792007446,
-0.0006019343854859471,
-0.005567023530602455,
0.05422280728816986,
0.03024749457836151,
0.023789746686816216,
0.009538167156279087,
0.02553408034145832,
-0.03371760621666908,
-0.07426409423351288,
0.0047690835781395435,
0.06394654512405396,
-0.014047455973923206,
-0.003105935174971819,
0.026183566078543663,
0.0005639510927721858,
-0.009259815327823162,
-0.01585673913359642,
-0.06231354922056198,
0.007399502210319042,
-0.03230729326605797,
-0.020282521843910217,
0.04884135350584984,
0.03768874704837799,
-0.004465216770768166,
-0.07003315538167953,
-0.03228873759508133,
0.027519652619957924,
-0.018194887787103653,
0.03371760621666908,
0.022880466654896736,
-0.05362899228930473,
0.021414482966065407,
-0.009584559127688408,
0.03204749897122383,
0.0073113576509058475,
-0.05904756113886833,
-0.0420495830476284,
0.006253622937947512,
-0.02473613992333412,
-0.032455746084451675,
0.013017556630074978,
-0.04598361253738403,
0.014706220477819443,
0.022657785564661026,
-0.03295677900314331,
-0.023826859891414642,
-0.026833053678274155,
0.03837534785270691,
0.03126811608672142,
0.027593879029154778,
-0.045055776834487915,
-0.04357123747467995,
-0.03197327256202698,
-0.0403052493929863,
-0.02566397748887539,
-0.0906311422586441,
0.03510935977101326,
0.00860569067299366,
-0.016394883394241333,
-0.015337149612605572,
0.005822178907692432,
-0.05359187722206116,
-0.026461917906999588,
-0.009259815327823162,
-0.007107233162969351,
0.00047580653335899115,
-0.006262901239097118,
0.04965784773230553,
-0.004987125284969807,
0.030303163453936577,
-0.008290225639939308,
-0.050325892865657806,
0.005873209796845913,
0.03275265544652939,
-0.04353412240743637,
-0.012006213888525963,
0.05886199325323105,
0.028651613742113113,
-0.016970142722129822,
0.02915264666080475,
-0.004810836166143417,
0.0165247805416584,
0.028410376980900764,
0.019985614344477654,
0.004458257928490639,
0.01789798028767109,
0.009227341040968895,
-0.025923771783709526,
-0.013852610252797604,
-0.030080484226346016,
-0.05960426479578018,
-0.013991785235702991,
-0.04772794619202614,
0.02497737854719162,
0.00928301177918911,
-0.029412440955638885,
0.014390755444765091,
0.019744375720620155,
0.0026257794816046953,
-0.013277350924909115,
-0.038301121443510056,
-0.003535059979185462,
-0.0223794337362051,
-0.024346448481082916,
0.000016989206415018998,
-0.06127437204122543,
0.017944371327757835,
0.061014577746391296,
0.025181502103805542,
-0.03349492326378822,
0.011922708712518215,
-0.026851609349250793,
0.06940222531557083,
-0.015448490157723427,
-0.010586623102426529,
0.030080484226346016,
-0.013295907527208328,
0.017508288845419884,
0.033235128968954086,
0.04869289696216583,
-0.012999000027775764,
0.013769105076789856,
0.03295677900314331,
-0.03566606342792511,
0.0319361574947834,
-0.0032567086163908243,
0.09152186661958694,
-0.05310940369963646,
-0.07326202839612961,
-0.04119597375392914,
-0.08216926455497742,
-0.06524551659822464,
-0.019391797482967377,
-0.0021351855248212814,
-0.021562937647104263,
-0.021544380113482475,
-0.0033378945663571358,
0.005348981823772192,
0.019169118255376816,
-0.017378391698002815,
-0.023548509925603867,
0.023901088163256645,
-0.0010501957731321454,
0.0028229448944330215,
-0.06550531089305878,
0.00181508157402277,
-0.022138196974992752,
0.0025608306750655174,
-0.05366610735654831,
0.024550573900341988,
0.04275473952293396,
0.007738162763416767,
-0.03180626034736633,
-0.01018765289336443,
0.04980630427598953,
0.01734127849340439,
0.009361878037452698,
-0.0337732769548893,
-0.06698984652757645,
0.014492818154394627,
-0.011198995634913445,
-0.028633058071136475,
-0.03642689064145088,
0.024030985310673714,
-0.01598663628101349,
-0.0517733171582222,
-0.037744417786598206,
0.015615500509738922,
-0.00680568628013134,
-0.05897333472967148,
-0.04769083485007286,
-0.004991764202713966,
-0.014427868649363518,
0.004643825348466635,
-0.04149288311600685,
-0.015699006617069244,
-0.07675069570541382,
0.004005937371402979,
0.051810432225465775,
-0.020078398287296295,
0.02462480030953884,
-0.00657836627215147,
-0.010104147717356682,
-0.007612904533743858,
-0.012303121387958527,
0.0036649571266025305,
0.003470111172646284,
0.026517588645219803,
-0.004087123088538647,
-0.0017814475577324629,
-0.012961885891854763,
0.029635122045874596,
0.046280521899461746,
0.0009637909242883325,
-0.05344342440366745,
0.01631137914955616,
0.015170139260590076,
-0.03811555355787277,
-0.057414568960666656,
0.024958821013569832,
0.08031359314918518,
0.019094889983534813,
0.05184754356741905,
-0.040119681507349014,
-0.02768666297197342,
-0.02620212361216545,
0.0005132099613547325,
-0.004138153977692127,
0.049546509981155396,
0.01018765289336443,
-0.012562916614115238,
0.0458722747862339,
0.0030943371821194887,
-0.09723734110593796,
0.01536498498171568,
0.019391797482967377,
0.012748483568429947,
-0.04564959183335304,
-0.04260628670454025,
0.01890004426240921,
0.03889493644237518,
0.01434436347335577,
0.024995936080813408,
0.027241300791502,
-0.04668876901268959,
-0.011375284753739834,
0.020560873672366142,
0.09055691212415695,
0.01663612201809883,
0.030228937044739723,
-0.0028159860521554947,
-0.02091345191001892,
0.045278456062078476,
0.017610350623726845,
0.04175267741084099,
0.05110527575016022,
-0.02566397748887539,
-0.09144763648509979,
0.08766206353902817,
0.030507288873195648,
0.0073855845257639885,
-0.01980004645884037,
-0.041233088821172714,
-0.0321773961186409,
-0.017406227067112923,
-0.00794228632003069,
0.022323764860630035,
0.048099081963300705,
0.07159192115068436
] |
719,704
|
ibm_platform_services.iam_identity_v1
|
get_account_settings
|
Get account configurations.
Returns the details of an account's configuration.
:param str account_id: Unique ID of the account.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsResponse` object
|
def get_account_settings(
self,
account_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get account configurations.
Returns the details of an account's configuration.
:param str account_id: Unique ID of the account.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsResponse` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_account_settings',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_id']
path_param_values = self.encode_path_vars(account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/accounts/{account_id}/settings/identity'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.08268788456916809,
-0.021609865128993988,
0.009838326834142208,
-0.007005501072853804,
-0.019753215834498405,
0.02637590281665325,
-0.05367055907845497,
-0.03738181293010712,
-0.04838772490620613,
0.0012668760027736425,
-0.002293296856805682,
-0.03324741870164871,
-0.013551625423133373,
-0.01714050956070423,
0.00010811512765940279,
0.008699454367160797,
0.031831007450819016,
0.009522505104541779,
0.0308931116014719,
0.005723073147237301,
0.03736267238855362,
0.000954044924583286,
-0.003737224265933037,
0.03206069394946098,
0.03215640038251877,
-0.00031612085876986384,
0.02478722482919693,
-0.013436781242489815,
-0.000705813814420253,
0.07748160511255264,
-0.014068424701690674,
-0.0005697353044524789,
-0.00751751521602273,
0.031984131783246994,
-0.04643537104129791,
-0.04410020262002945,
-0.0007835729629732668,
0.08421914279460907,
-0.10848956555128098,
0.011465287767350674,
-0.08513789623975754,
0.0046320524998009205,
0.1326834261417389,
-0.015886792913079262,
-0.03567828983068466,
-0.008369277231395245,
0.008374062366783619,
0.006302080117166042,
-0.02819427102804184,
-0.03493180125951767,
0.08483164012432098,
0.023504795506596565,
-0.05221586674451828,
0.0055029550567269325,
0.011235598474740982,
-0.05125883221626282,
-0.02499777264893055,
-0.04341113939881325,
-0.0026509887538850307,
-0.010814502835273743,
-0.020576266571879387,
-0.03927674517035484,
0.0007560582016594708,
-0.013120959512889385,
0.0032634916715323925,
-0.021495021879673004,
-0.0694807916879654,
0.002605529734864831,
0.02526574209332466,
-0.025782540440559387,
-0.021992679685354233,
0.010431689210236073,
0.04903850704431534,
-0.011130324564874172,
-0.06764328479766846,
-0.042607229202985764,
0.01965751312673092,
0.03313257545232773,
-0.03320913761854172,
0.026988405734300613,
-0.0562354177236557,
-0.004237275570631027,
-0.027811456471681595,
0.01833680272102356,
-0.02539972774684429,
0.01647058315575123,
-0.03347710892558098,
-0.054397907108068466,
0.041841600090265274,
-0.005144066642969847,
0.0000981709235929884,
-0.00207317853346467,
0.00039866517181508243,
0.020365718752145767,
0.01461393479257822,
-0.01701609417796135,
0.011101613752543926,
0.018911024555563927,
-0.04708615690469742,
0.022605182603001595,
-0.09019104391336441,
-0.04938304051756859,
-0.014872333966195583,
0.005857058335095644,
0.024978632107377052,
-0.031007956713438034,
-0.018968448042869568,
-0.021284474059939384,
0.026509888470172882,
0.015226437710225582,
-0.005211059469729662,
0.03569743037223816,
-0.014594794251024723,
-0.03485523909330368,
0.03506578877568245,
0.03284546360373497,
-0.031773585826158524,
-0.015197726897895336,
0.005924050696194172,
-0.016834257170557976,
0.03070170432329178,
0.019178995862603188,
-0.018595203757286072,
0.010776221752166748,
0.021705569699406624,
0.043985359370708466,
-0.022394634783267975,
0.0030314105097204447,
0.0015180978225544095,
0.011034620925784111,
-0.0395829938352108,
-0.01503503043204546,
-0.007402671035379171,
-0.012556307949125767,
0.07771129906177521,
0.04119081422686577,
0.013360218144953251,
0.04299004375934601,
-0.03567828983068466,
0.03380250185728073,
-0.019734075292944908,
0.040731437504291534,
0.055163536220788956,
0.00444543082267046,
-0.00494787422940135,
-0.04276035353541374,
0.04777522012591362,
-0.02729465812444687,
-0.03317085653543472,
-0.024882927536964417,
0.014690497890114784,
0.019887201488018036,
-0.016996953636407852,
-0.013254944235086441,
-0.07621832191944122,
0.02124619111418724,
0.04605255648493767,
0.03797517716884613,
0.04122909530997276,
-0.024327846243977547,
-0.03858767822384834,
0.07208392769098282,
0.06603546440601349,
-0.06603546440601349,
-0.005947976838797331,
-0.03935330733656883,
-0.07399799674749374,
-0.06266669929027557,
0.044483017176389694,
-0.010221141390502453,
-0.012881699949502945,
-0.03075912594795227,
-0.027581768110394478,
-0.015944214537739754,
-0.10603955388069153,
-0.014786201529204845,
0.014843623153865337,
-0.056350260972976685,
-0.0256868377327919,
0.049957264214754105,
-0.003363980446010828,
-0.051833052188158035,
0.0032252101227641106,
0.014872333966195583,
0.028002863749861717,
-0.036348216235637665,
0.02534230425953865,
0.045172084122896194,
-0.0042157419957220554,
-0.008206580765545368,
0.02681613899767399,
-0.017886996269226074,
0.02430870570242405,
-0.05053148418664932,
-0.05826433375477791,
-0.07235189527273178,
0.029189588502049446,
-0.10083328187465668,
-0.012173493392765522,
-0.010221141390502453,
0.004383223596960306,
-0.03521891310811043,
0.024327846243977547,
0.012288338504731655,
0.054895564913749695,
-0.0001927529665408656,
0.026988405734300613,
-0.05700104311108589,
-0.021992679685354233,
0.07373002916574478,
0.012451034039258957,
-0.030778266489505768,
-0.042875196784734726,
-0.007196908351033926,
-0.016843827441334724,
0.07476362586021423,
0.015207297168672085,
0.0062255170196294785,
0.06431280076503754,
-0.022586042061448097,
0.04119081422686577,
-0.03931502625346184,
0.023007137700915337,
-0.011828960850834846,
0.002799329347908497,
0.002049252623692155,
0.021150488406419754,
-0.030586861073970795,
-0.03311343491077423,
-0.02748606540262699,
0.01910243183374405,
0.029553262516856194,
-0.013331507332623005,
-0.021016502752900124,
0.042951762676239014,
-0.005306762643158436,
0.0170065239071846,
-0.059948716312646866,
0.036635324358940125,
0.010996339842677116,
-0.0019643157720565796,
0.04754553362727165,
0.03969784080982208,
0.020403999835252762,
-0.1020582839846611,
-0.02964896522462368,
-0.035314615815877914,
0.01756160520017147,
-0.016547147184610367,
-0.06327919661998749,
0.04161190986633301,
-0.058570582419633865,
-0.02153330296278,
0.05179477110505104,
0.013006114400923252,
-0.028347397223114967,
0.0012094537960365415,
-0.0569627620279789,
-0.01201079785823822,
-0.019753215834498405,
0.011637553572654724,
-0.025150896981358528,
-0.016623709350824356,
-0.055163536220788956,
0.012058649212121964,
0.010804932564496994,
-0.01735105738043785,
0.005493384785950184,
0.03449156507849693,
0.020652830600738525,
0.12617558240890503,
0.04367910698056221,
-0.014747919514775276,
0.024748941883444786,
-0.04831116273999214,
0.017800863832235336,
0.05615885183215141,
0.010077585466206074,
-0.0367884524166584,
0.0013972721062600613,
-0.0694042295217514,
-0.05527837947010994,
-0.008326210081577301,
-0.010699658654630184,
0.028557945042848587,
-0.013685610145330429,
0.0008499672985635698,
0.018355945125222206,
0.00023746448277961463,
0.04658849537372589,
0.03560172766447067,
0.011092043481767178,
-0.0576518289744854,
-0.023696202784776688,
-0.04122909530997276,
-0.03828142583370209,
-0.020939940586686134,
-0.03428101912140846,
0.051909614354372025,
0.04054003208875656,
-0.00520627386868,
0.011656694114208221,
-0.03784118965268135,
-0.00853675790131092,
0.009943600744009018,
-0.0015097238356247544,
0.04241582006216049,
0.02763918973505497,
0.03376421704888344,
0.07204564660787582,
-0.025591133162379265,
-0.016537576913833618,
-0.021284474059939384,
0.02610793337225914,
-0.05543150752782822,
-0.07315580546855927,
0.024079017341136932,
0.012623300775885582,
0.010795362293720245,
0.04348770156502724,
-0.06986360251903534,
0.021227050572633743,
0.004407149273902178,
-0.033840782940387726,
0.03623336926102638,
0.018777040764689445,
0.03020404651761055,
0.03521891310811043,
-0.011053762398660183,
0.036080244928598404,
-0.002363878069445491,
-0.0055412366054952145,
-0.014948897063732147,
-0.014499090611934662,
-0.004782785661518574,
-0.03699899837374687,
0.007010286208242178,
0.02132275514304638,
0.021609865128993988,
0.10121609270572662,
0.02951497957110405,
-0.04532520845532417,
0.015944214537739754,
-0.027103250846266747,
0.014652215875685215,
0.001309942570514977,
0.052943214774131775,
0.01929383911192417,
-0.03340054675936699,
0.00044651696225628257,
0.00982875656336546,
-0.03803259879350662,
0.023026278242468834,
0.014757489785552025,
-0.007584507577121258,
-0.01294869277626276,
-0.01923641748726368,
0.04528692737221718,
-0.028787633404135704,
0.01687253825366497,
-0.06879172474145889,
-0.040807999670505524,
0.009589497931301594,
0.022892292588949203,
0.0010688892798498273,
-0.010804932564496994,
-0.05060804635286331,
-0.017599886283278465,
0.061135437339544296,
-0.05022523179650307,
-0.008570254780352116,
0.011647123843431473,
0.03598454222083092,
-0.03363023325800896,
0.04088456556200981,
0.07043782621622086,
-0.055240098387002945,
0.002801721915602684,
-0.001420001732185483,
0.052943214774131775,
0.06637999415397644,
0.004122431389987469,
-0.0012226130347698927,
0.03167787939310074,
-0.012795566581189632,
-0.011962945573031902,
0.010785792022943497,
-0.05386196821928024,
-0.019552238285541534,
-0.013532484881579876,
0.0022239116951823235,
0.021571584045886993,
-0.04360254481434822,
-0.021054785698652267,
-0.05049320310354233,
-0.00865160208195448,
0.029878653585910797,
0.028787633404135704,
-0.0035290690138936043,
-0.028175130486488342,
0.024557534605264664,
-0.04272207245230675,
0.06504014134407043,
0.007149056531488895,
0.008201795630156994,
0.0005724269431084394,
-0.013867447152733803,
-0.03142905235290527,
0.0053019775077700615,
-0.06637999415397644,
0.0011705742217600346,
-0.03014662303030491,
-0.003579313401132822,
0.03514235094189644,
-0.00934545323252678,
0.028347397223114967,
-0.028577085584402084,
0.014853193424642086,
-0.04165019094944,
-0.001348224002867937,
0.020193452015519142,
-0.03874080255627632,
-0.05014866963028908,
0.0026103148702532053,
-0.001842293655499816,
0.014288542792201042,
-0.018174108117818832,
0.05497213080525398,
0.020997362211346626,
-0.04777522012591362,
0.04980413615703583,
-0.00795296672731638,
-0.0007327304338105023,
-0.019121572375297546,
0.012479744851589203,
0.02055712603032589,
0.04187988117337227,
-0.011063332669436932,
-0.0019260343397036195,
-0.013857876881957054,
-0.01846121810376644,
0.033649373799562454,
0.012259626761078835,
-0.06848547607660294,
-0.004888059571385384,
0.007373959757387638,
-0.004481319338083267,
-0.0012273982865735888,
0.0033400545362383127,
-0.005124926101416349,
0.022528620436787605,
0.016776835545897484,
-0.009953171014785767,
-0.0472010001540184,
-0.012747715227305889,
-0.03464469313621521,
-0.013207091949880123,
0.006407354027032852,
0.003347232239320874,
0.03874080255627632,
0.022069241851568222,
-0.050990860909223557,
-0.013044396415352821,
-0.01346549205482006,
0.04034862294793129,
-0.0007010286208242178,
0.05604400858283043,
0.04199472442269325,
-0.01848035864531994,
-0.02381104789674282,
0.014747919514775276,
0.039889246225357056,
-0.05543150752782822,
0.06791125237941742,
0.04865569248795509,
0.009297601878643036,
-0.005397681146860123,
0.020997362211346626,
-0.03858767822384834,
-0.03761150315403938,
-0.009110979735851288,
0.032539211213588715,
-0.03200327232480049,
-0.05811120569705963,
0.04647365212440491,
-0.06285810470581055,
0.024672379717230797,
0.027466924861073494,
-0.015436985529959202,
0.014001431874930859,
0.017695588991045952,
-0.027811456471681595,
-0.08368320018053055,
0.011398294940590858,
-0.03942986950278282,
-0.026414183899760246,
0.028347397223114967,
-0.0028447885997593403,
0.040999408811330795,
-0.010546533390879631,
0.016566287726163864,
-0.09945514798164368,
0.03738181293010712,
0.019944623112678528,
-0.02915130741894245,
0.07487846910953522,
-0.07893630117177963,
0.06266669929027557,
0.013924868777394295,
-0.00216290052048862,
-0.0073261079378426075,
0.05527837947010994,
-0.06301122903823853,
-0.03661618381738663,
0.014384246431291103,
-0.015494408085942268,
-0.04532520845532417,
0.005167992785573006,
-0.017953990027308464,
-0.040310341864824295,
-0.014470379799604416,
0.04264551028609276,
0.03535289689898491,
0.04417676851153374,
0.036080244928598404,
0.0735769048333168,
-0.050301793962717056,
-0.040654875338077545,
-0.038357991725206375,
0.0075653670355677605,
-0.006062821019440889,
0.017829574644565582,
-0.0064264945685863495,
0.0007231601048260927,
0.0023124373983591795,
-0.05256040021777153,
-0.06400654464960098,
0.013771743513643742,
-0.02827083319425583,
0.05581432208418846,
0.011226028203964233,
-0.048847101628780365,
-0.0022083597723394632,
-0.04589943215250969,
-0.04804319143295288,
-0.009962741285562515,
0.0004620687977876514,
0.04256894811987877,
0.0035745282657444477,
-0.0007153841434046626,
0.06706906110048294,
-0.03807087987661362,
0.09539731591939926,
0.020920800045132637,
-0.013254944235086441,
-0.01263287104666233,
-0.03640563786029816,
-0.05868542939424515,
-0.008953068405389786,
-0.029955217614769936,
0.025304023176431656,
0.003801824292168021,
-0.028079425916075706,
0.028079425916075706,
-0.025361444801092148,
-0.008938712999224663,
0.04811975359916687,
0.04915335401892662,
-0.007603648584336042,
-0.03012748248875141,
-0.024614958092570305,
0.08085037767887115,
-0.05363227799534798,
-0.011379154399037361,
-0.032539211213588715,
0.025878245010972023,
0.04953616484999657,
-0.011618413031101227,
0.04119081422686577,
0.09202855080366135,
-0.003201284445822239,
-0.024461831897497177,
0.06117372214794159,
0.0015623607905581594,
0.027677472680807114,
0.02021259441971779,
0.01243189349770546,
0.020384859293699265,
0.0409611277282238,
0.0025170037988573313,
-0.0039023130666464567,
0.0569627620279789,
-0.027256375178694725,
-0.024040736258029938,
0.03602282330393791,
0.05435962602496147,
-0.04034862294793129,
-0.06974875926971436,
0.02853880450129509,
-0.04666506126523018,
-0.004876096732914448,
-0.022413775324821472,
0.014250260777771473,
0.013408069498836994,
-0.0045794155448675156,
0.04712443798780441,
0.0055268811993300915,
0.006684894207865,
0.008685098960995674,
-0.028002863749861717,
-0.00804867036640644,
-0.044253330677747726,
0.07020813971757889,
-0.029802091419696808,
0.012489316053688526,
0.0014223942998796701,
0.004861741326749325,
0.027888020500540733,
-0.026261059567332268,
0.002928529167547822,
0.05581432208418846,
0.044674426317214966,
-0.038491975516080856,
0.05458931624889374,
-0.036903295665979385,
0.028845055028796196,
0.060025278478860855,
0.020289156585931778,
-0.0569244809448719,
0.01797313056886196,
-0.005565162282437086,
0.05420650169253349,
-0.05213930457830429,
0.009359808638691902,
0.000686673098243773,
-0.02103564329445362,
0.03992752730846405,
0.008871721103787422,
0.022260649129748344,
0.01687253825366497,
0.06959563493728638,
0.02423214353621006,
-0.03014662303030491,
0.035869698971509933,
0.013226233422756195,
0.07729019969701767,
-0.05730729550123215,
-0.048770539462566376,
-0.03623336926102638,
-0.02375362627208233,
-0.07124173641204834,
0.010852784849703312,
-0.045172084122896194,
0.0042277052998542786,
0.0032850250136107206,
0.018767470493912697,
0.023102840408682823,
0.030299749225378036,
-0.02270088717341423,
0.007536655757576227,
-0.011570561677217484,
0.024213002994656563,
-0.05393853038549423,
-0.06285810470581055,
0.02507433481514454,
-0.018413366749882698,
-0.07173939794301987,
0.029974358156323433,
0.05152679979801178,
-0.036979857832193375,
0.06860031932592392,
-0.015073311515152454,
-0.05359399691224098,
0.026471607387065887,
-0.021648146212100983,
0.05772839114069939,
-0.03389820456504822,
-0.006235087290406227,
-0.008761662058532238,
-0.01922684721648693,
0.06102059409022331,
-0.0308931116014719,
0.03257749602198601,
0.013944010250270367,
-0.000705813814420253,
-0.07675426453351974,
0.03726696968078613,
-0.03244350850582123,
-0.057881519198417664,
0.04276035353541374,
-0.004021942615509033,
-0.03215640038251877,
-0.011618413031101227,
0.019322549924254417,
0.10358954221010208,
-0.024136438965797424,
0.009575141593813896,
0.013867447152733803,
0.02589738555252552,
-0.013455921784043312,
0.006704034749418497,
-0.07193080335855484,
0.026548169553279877,
0.004053045995533466,
0.011379154399037361,
-0.024461831897497177,
0.019332120195031166,
-0.04819631576538086,
0.011541849933564663,
0.004933518823236227,
-0.06898313015699387,
0.08552070707082748,
0.028691928833723068,
0.0009283245890401304,
-0.03807087987661362,
0.05309633910655975,
0.007699352223426104,
-0.00762278912588954,
-0.011685405857861042,
0.05340259149670601,
0.011733257211744785,
0.0163270290941,
0.006153739523142576,
-0.01170454639941454,
0.029457557946443558,
0.028691928833723068,
0.011551420204341412,
0.09976139664649963,
-0.015073311515152454,
-0.020403999835252762,
0.014221549965441227,
-0.05657994747161865,
0.0018135826103389263,
0.03646305948495865,
-0.011790679767727852,
0.03636735677719116,
0.00044681603321805596,
-0.001500153448432684,
-0.0027562626637518406,
-0.002832825528457761,
0.029342714697122574,
0.005761354696005583,
-0.0006980379112064838,
0.032462649047374725,
-0.028691928833723068,
-0.00017615438264328986,
0.010804932564496994,
0.006818879395723343,
0.03181186690926552,
-0.012881699949502945,
0.00795296672731638,
-0.004553097300231457,
0.046282246708869934,
0.012183064594864845,
0.0040410831570625305,
0.018767470493912697,
-0.053785406053066254,
0.024614958092570305,
0.059948716312646866,
0.07315580546855927,
0.009589497931301594,
-0.014144986867904663,
0.016269605606794357,
0.005479029379785061,
0.015360422432422638,
-0.0044167195446789265,
0.048770539462566376,
0.011570561677217484
] |
719,705
|
ibm_platform_services.iam_identity_v1
|
get_account_settings_assignment
|
Get assignment.
Get an assigment for an account settings template.
:param str assignment_id: ID of the Assignment Record.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
|
def get_account_settings_assignment(
self,
assignment_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get assignment.
Get an assigment for an account settings template.
:param str assignment_id: ID of the Assignment Record.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_account_settings_assignment',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.029621591791510582,
0.02401413954794407,
-0.02953258529305458,
-0.031045706942677498,
0.0178370401263237,
0.043293096125125885,
-0.05034246668219566,
-0.015327038243412971,
-0.03033364936709404,
-0.033324290066957474,
0.021005695685744286,
-0.015380442142486572,
-0.004334650002419949,
0.019047537818551064,
-0.0063328612595796585,
-0.006177098955959082,
0.01956377923488617,
0.02762783132493496,
0.019011935219168663,
-0.02586548961699009,
0.03643954172730446,
-0.01874491386115551,
0.022732436656951904,
0.061130136251449585,
-0.0036804471164941788,
-0.04133493825793266,
0.015620761550962925,
-0.03328868746757507,
-0.00036326059489510953,
0.07711582630872726,
0.020329242572188377,
0.014116539619863033,
-0.03766784071922302,
0.07569171488285065,
-0.037952665239572525,
-0.029942018911242485,
-0.03667096048593521,
0.05123253911733627,
-0.10638139396905899,
-0.02403194084763527,
-0.039732810109853745,
0.03417875990271568,
0.08395157754421234,
-0.01156203355640173,
-0.047672249376773834,
-0.026096908375620842,
0.014410263858735561,
-0.0628034695982933,
0.009238946251571178,
-0.08509086817502975,
0.07526447623968124,
0.012051573023200035,
-0.04888274893164635,
0.02858910895884037,
-0.010369337163865566,
0.0015331488102674484,
-0.002409869572147727,
-0.008829512633383274,
0.005429438315331936,
-0.04877593740820885,
-0.019474772736430168,
-0.004663976840674877,
-0.02777024358510971,
-0.03364471718668938,
-0.010930082760751247,
-0.04482401907444,
-0.05020005255937576,
-0.03562067821621895,
0.015567357651889324,
-0.009683982469141483,
-0.017632324248552322,
0.014436965808272362,
0.019350161775946617,
-0.034267768263816833,
0.00345347891561687,
-0.021735554561018944,
0.004343550652265549,
0.0018724887631833553,
-0.012274091131985188,
0.01862030290067196,
-0.0630170926451683,
-0.0005671426770277321,
-0.004519340116530657,
0.03186457231640816,
0.0036804471164941788,
-0.011321714147925377,
-0.018442289903759956,
-0.04980842396616936,
0.009043130092322826,
-0.0036759967915713787,
0.04820629209280014,
-0.005015554837882519,
-0.006653287447988987,
0.005705360788851976,
0.0537247397005558,
0.007685770746320486,
0.008455682545900345,
-0.013084056787192822,
-0.07355553656816483,
0.020720873028039932,
-0.08857995271682739,
-0.06426318734884262,
-0.019991014152765274,
0.0049933032132685184,
0.02324867807328701,
-0.02842889539897442,
0.014632781967520714,
-0.005384935066103935,
0.022073782980442047,
-0.006568730343133211,
0.013217567466199398,
0.03991082310676575,
-0.036101315170526505,
0.007970593869686127,
0.04347110912203789,
0.01691136509180069,
-0.06846433132886887,
-0.07426759600639343,
0.017721330747008324,
-0.06312389671802521,
0.026274921372532845,
0.01885172165930271,
-0.01890512742102146,
0.058424320071935654,
0.025189034640789032,
0.027254000306129456,
-0.033573511987924576,
-0.04172657057642937,
0.011864658445119858,
-0.034499187022447586,
-0.03206038847565651,
-0.00346682989038527,
-0.0354960672557354,
-0.012692425400018692,
0.01517572533339262,
0.040622878819704056,
0.004610572475939989,
0.0625898540019989,
0.0026546393055468798,
0.007400947622954845,
0.01614590361714363,
0.0018179718172177672,
0.04183337837457657,
0.013084056787192822,
-0.010947884060442448,
-0.06508205831050873,
0.046924591064453125,
0.05781906843185425,
-0.026257120072841644,
0.009755187667906284,
0.025438254699110985,
-0.008749406784772873,
-0.03405414894223213,
-0.003495757235214114,
-0.044183168560266495,
0.053226299583911896,
0.029924215748906136,
0.045144446194171906,
0.04567848891019821,
-0.02778804488480091,
-0.020097823813557625,
-0.000524307950399816,
0.05087650939822197,
-0.004396955017000437,
0.049452394247055054,
-0.023497898131608963,
-0.018477892503142357,
-0.05596771836280823,
0.040480468422174454,
-0.040622878819704056,
-0.01381391566246748,
0.005193569231778383,
-0.038664720952510834,
-0.036172520369291306,
-0.045037638396024704,
-0.021806761622428894,
0.035175640136003494,
-0.010752067901194096,
0.0023364387452602386,
0.03494422137737274,
-0.003960819914937019,
-0.0713481605052948,
-0.03412535414099693,
0.04172657057642937,
0.04215380549430847,
-0.030778685584664345,
0.01968839019536972,
0.07455242425203323,
-0.010752067901194096,
0.007400947622954845,
0.02582988515496254,
-0.05276346206665039,
-0.003473505610600114,
0.0017634548712521791,
-0.03820188343524933,
-0.08558931201696396,
0.0537247397005558,
-0.09306591749191284,
-0.0009223369997926056,
0.02953258529305458,
-0.005669757723808289,
-0.05977722629904747,
0.03756103292107582,
0.045180048793554306,
0.038842737674713135,
0.031846772879362106,
0.08224264532327652,
-0.05272785946726799,
-0.016866862773895264,
0.04528685659170151,
-0.011072494089603424,
-0.04194018617272377,
-0.0022763588931411505,
0.013627000153064728,
-0.034214362502098083,
0.0444323867559433,
0.04631933942437172,
-0.027948256582021713,
0.04311508312821388,
-0.026328327134251595,
-0.0443611815571785,
-0.033448901027441025,
-0.009541570208966732,
-0.024423573166131973,
0.030707480385899544,
-0.05781906843185425,
-0.016973670572042465,
-0.0007660181145183742,
-0.09249626845121384,
0.01665324531495571,
0.07875356078147888,
0.02853570505976677,
0.025527261197566986,
-0.01250550989061594,
0.021219313144683838,
-0.03364471718668938,
-0.012140580452978611,
-0.07305710017681122,
0.0017946073785424232,
0.031063508242368698,
0.00984419509768486,
0.07711582630872726,
0.04752983897924423,
0.035353656858205795,
-0.08459243178367615,
-0.011490828357636929,
-0.033324290066957474,
0.03948358818888664,
-0.0028971838764846325,
-0.09107215702533722,
0.06550928950309753,
-0.0532975047826767,
-0.055718500167131424,
0.04040926322340965,
-0.03328868746757507,
-0.0019514826126396656,
0.004541591741144657,
-0.030743082985281944,
0.010111216455698013,
-0.02127271704375744,
0.0037004738114774227,
0.01970619149506092,
-0.0268801711499691,
-0.09313712269067764,
0.033502306789159775,
-0.06052488833665848,
-0.061130136251449585,
0.03629713132977486,
0.0029550385661423206,
0.021628746762871742,
0.0111793028190732,
0.042474228888750076,
0.024619387462735176,
0.033466704189777374,
-0.057569850236177444,
-0.0066399360075592995,
0.09128577262163162,
0.02755662612617016,
-0.03147293999791145,
-0.006337311584502459,
-0.04802827909588814,
-0.04019564762711525,
0.029212160035967827,
0.038771532475948334,
0.034392379224300385,
0.005821070168167353,
0.011740048415958881,
0.04728061705827713,
0.06657737493515015,
0.01729409582912922,
-0.004610572475939989,
0.04311508312821388,
-0.021682150661945343,
-0.03994642570614815,
-0.0001557625801069662,
0.017151685431599617,
0.015398243442177773,
-0.02510002627968788,
0.046888988465070724,
0.06622134894132614,
0.036030109971761703,
-0.01643962785601616,
-0.010858876630663872,
0.008113005198538303,
-0.0311169121414423,
0.04393394663929939,
0.012825936079025269,
0.050413671880960464,
0.02223399467766285,
0.03394734114408493,
-0.0007293026428669691,
-0.03371592238545418,
0.00140186317730695,
0.08096093684434891,
-0.033555708825588226,
-0.04614132642745972,
0.007351993583142757,
0.03458819165825844,
0.03024464286863804,
0.03394734114408493,
-0.054899632930755615,
-0.010164621286094189,
0.057641055434942245,
-0.011303912848234177,
0.029123151674866676,
-0.015398243442177773,
0.017685728147625923,
0.026524141430854797,
0.03118811920285225,
0.06419198215007782,
-0.04667536914348602,
0.00345570407807827,
-0.035086631774902344,
-0.02841109409928322,
-0.005198019556701183,
-0.0009228932904079556,
-0.02508222497999668,
0.0009846420725807548,
0.02508222497999668,
0.032452020794153214,
0.03113471530377865,
-0.020151227712631226,
0.04090770334005356,
-0.029924215748906136,
0.0313839353621006,
-0.0010074501624330878,
0.0035803141072392464,
0.038664720952510834,
-0.023533500730991364,
-0.05454360321164131,
-0.01077877078205347,
0.0068313018418848515,
0.026043502613902092,
0.04300827160477638,
-0.01062745787203312,
0.021931370720267296,
0.017694629728794098,
0.0447884164750576,
-0.02867811545729637,
0.009399158880114555,
-0.05023565515875816,
-0.06066729873418808,
-0.01874491386115551,
0.00008066276495810598,
-0.02755662612617016,
-0.02591889351606369,
-0.036030109971761703,
-0.009594975039362907,
0.03562067821621895,
-0.0626610592007637,
-0.028001660481095314,
-0.003402299713343382,
0.010574053972959518,
-0.04368472844362259,
-0.05536247044801712,
0.07052929699420929,
-0.06793028861284256,
0.04354231804609299,
-0.004497088026255369,
-0.015567357651889324,
0.09121456742286682,
-0.007436550687998533,
-0.03279024735093117,
0.06999525427818298,
-0.03684897720813751,
-0.029051946476101875,
0.008678200654685497,
-0.046853382140398026,
0.011748949065804482,
0.018976332619786263,
0.02581208385527134,
0.0015275859041139483,
-0.020115625113248825,
-0.020685270428657532,
-0.02054285816848278,
-0.011784551665186882,
-0.019011935219168663,
0.04040926322340965,
-0.00033155176788568497,
0.028393292799592018,
0.04535806179046631,
-0.0055763004347682,
0.052371829748153687,
0.004523790441453457,
0.01750771328806877,
0.008504636585712433,
0.04980842396616936,
-0.021628746762871742,
0.006595432758331299,
-0.03359131142497063,
0.0004141615645494312,
-0.005260325036942959,
-0.029781805351376534,
-0.0008833963656798005,
-0.016430726274847984,
0.031686559319496155,
-0.012603417970240116,
-0.02502882108092308,
-0.03448138386011124,
-0.03741862252354622,
0.009559372439980507,
-0.05546927824616432,
-0.026951376348733902,
-0.0042856959626078606,
0.016501933336257935,
-0.015416044741868973,
-0.02420995570719242,
0.02426335960626602,
0.012817035429179668,
-0.03724060580134392,
0.01643962785601616,
-0.017356401309370995,
0.02679116278886795,
-0.0070004151202738285,
0.05465041473507881,
0.041370540857315063,
0.046924591064453125,
0.03157975152134895,
-0.03200698643922806,
-0.03540705889463425,
0.030689679086208344,
0.02508222497999668,
0.03544266149401665,
-0.058531127870082855,
-0.041441746056079865,
0.010814373381435871,
-0.06454801559448242,
-0.007334192283451557,
-0.05913637578487396,
0.02499321848154068,
0.02755662612617016,
0.06394276022911072,
0.030155634507536888,
0.0111258989199996,
-0.05173097923398018,
-0.06429879367351532,
0.011793452315032482,
-0.016323918476700783,
0.0011109209153801203,
-0.0032398616895079613,
0.00205495348200202,
-0.04208260029554367,
0.02403194084763527,
0.02586548961699009,
0.03855791315436363,
-0.015291434712707996,
0.015086718834936619,
0.0622338242828846,
-0.04539366438984871,
-0.0022229545284062624,
-0.0008505749283358455,
0.03583429381251335,
-0.05600332096219063,
0.05988403782248497,
0.011820154264569283,
0.003161980304867029,
0.01874491386115551,
0.013146361336112022,
-0.018869522958993912,
0.005433888640254736,
0.005376033950597048,
0.02857130765914917,
-0.020774276927113533,
0.01724069193005562,
0.00026952489861287177,
-0.05881594866514206,
0.03473060578107834,
-0.0033867235761135817,
-0.0714549720287323,
0.04279465600848198,
-0.008104104548692703,
-0.05429438501596451,
-0.04906076192855835,
0.03362691402435303,
-0.05073409900069237,
-0.04923877492547035,
0.014543774537742138,
-0.0037761300336569548,
0.007912739180028439,
-0.007249635644257069,
0.03129492700099945,
-0.03373372554779053,
0.06401397287845612,
0.009003076702356339,
0.025527261197566986,
0.06444120407104492,
-0.06166417896747589,
0.03305726870894432,
0.018566899001598358,
0.01661764271557331,
0.03118811920285225,
0.0447172112762928,
-0.04820629209280014,
-0.023444494232535362,
0.03873592987656593,
0.04564288631081581,
0.009781889617443085,
-0.03841550275683403,
0.0022018153686076403,
-0.014178845100104809,
0.001674447674304247,
0.039661601185798645,
0.027378611266613007,
0.017614522948861122,
0.0443255789577961,
0.045856501907110214,
-0.053831547498703,
-0.014623881317675114,
-0.044111963361501694,
0.028820527717471123,
-0.012728027999401093,
-0.010413841344416142,
-0.018477892503142357,
-0.009256747551262379,
0.006537578068673611,
0.01645742915570736,
-0.07661738991737366,
0.0021283843088895082,
-0.034214362502098083,
0.04286586120724678,
-0.02599009871482849,
-0.013003950007259846,
-0.008798360824584961,
-0.04293706640601158,
-0.03934117779135704,
-0.009381357580423355,
-0.024512579664587975,
0.06910517811775208,
-0.015869982540607452,
-0.009728485718369484,
0.02857130765914917,
-0.05198019742965698,
0.04891835153102875,
0.029657194390892982,
-0.021059101447463036,
0.028072867542505264,
-0.019421368837356567,
0.008135257288813591,
0.007414298597723246,
0.011882459744811058,
0.023622507229447365,
-0.025527261197566986,
-0.02673775888979435,
0.008998626843094826,
-0.007832632400095463,
-0.0026635401882231236,
0.04760104417800903,
0.049594804644584656,
-0.044289976358413696,
-0.020685270428657532,
-0.04396954923868179,
0.07419639080762863,
-0.034321170300245285,
-0.000036611159885069355,
-0.03279024735093117,
-0.03759663552045822,
0.01290604192763567,
-0.009746287018060684,
0.04874033480882645,
0.12204665690660477,
-0.00032404178637079895,
-0.012772531248629093,
0.07284348458051682,
0.0025723078288137913,
-0.004203364253044128,
0.046782176941633224,
0.03232740983366966,
0.0007704684976488352,
0.027432015165686607,
-0.006088091526180506,
-0.01382281631231308,
0.04037366062402725,
0.016065796837210655,
-0.033324290066957474,
0.03220279887318611,
0.05739183351397514,
-0.039732810109853745,
-0.044183168560266495,
0.005843321792781353,
-0.0808185264468193,
-0.002073867479339242,
0.025598466396331787,
-0.008633697405457497,
0.01555845607072115,
0.07925199717283249,
0.007076071575284004,
0.04033805802464485,
0.024441374465823174,
-0.027164993807673454,
-0.04016004502773285,
-0.012630119919776917,
-0.05073409900069237,
0.03300386667251587,
-0.07896717637777328,
0.041548553854227066,
-0.02670215629041195,
-0.011962566524744034,
0.05012884736061096,
-0.07270107418298721,
-0.016519734635949135,
0.0313839353621006,
0.0986199676990509,
-0.03813067823648453,
0.09392038732767105,
-0.03022684156894684,
0.0533687099814415,
0.06586531549692154,
-0.019973212853074074,
-0.03544266149401665,
-0.007378695998340845,
-0.011811253614723682,
0.009167740121483803,
-0.03188237547874451,
0.01796165108680725,
0.0313839353621006,
-0.006795698776841164,
0.05454360321164131,
0.018424488604068756,
0.05194459483027458,
-0.006613234058022499,
0.004103231243789196,
-0.03512223809957504,
-0.008001746609807014,
0.033395495265722275,
0.028909534215927124,
0.10531330853700638,
-0.014846399426460266,
-0.04379153624176979,
-0.06476163119077682,
0.003793931333348155,
-0.05824630334973335,
0.0042856959626078606,
-0.02330208197236061,
-0.02600790001451969,
-0.038664720952510834,
0.029229961335659027,
-0.0031998082995414734,
0.012843737378716469,
-0.055718500167131424,
-0.01076987013220787,
-0.04307948052883148,
-0.007623465731739998,
-0.019011935219168663,
-0.0025656321085989475,
0.07732944190502167,
0.020703071728348732,
-0.10153940320014954,
0.047636646777391434,
0.010983486659824848,
0.04653295874595642,
0.026061303913593292,
-0.014650583267211914,
-0.027040382847189903,
0.0022207293659448624,
-0.014161043800413609,
0.01756111904978752,
-0.0223942082375288,
-0.02420995570719242,
-0.0009295688359998167,
-0.012941645458340645,
0.052300624549388885,
-0.04745863378047943,
0.007788129150867462,
0.015834378078579903,
-0.025634070858359337,
-0.03909195587038994,
0.007111674174666405,
-0.03296826407313347,
-0.04101451113820076,
0.009336854331195354,
0.00005392583989305422,
0.006804599426686764,
-0.036208122968673706,
-0.01602129451930523,
0.06319510191679001,
-0.05867353826761246,
-0.00980859249830246,
0.0156563650816679,
0.050556082278490067,
-0.01344898622483015,
-0.013021751306951046,
-0.06647057086229324,
0.04849111661314964,
-0.007788129150867462,
-0.010974586009979248,
-0.01961718499660492,
-0.0017990578198805451,
0.006470822729170322,
-0.026061303913593292,
-0.04190458357334137,
-0.05999084562063217,
0.07277227938175201,
-0.008317722007632256,
0.0027213948778808117,
-0.03191797807812691,
-0.00852688867598772,
-0.03670656308531761,
0.004819739144295454,
-0.0223942082375288,
0.07070731371641159,
0.0027948257047683,
0.01600349321961403,
0.002772573847323656,
-0.013529093004763126,
0.04745863378047943,
-0.0018446739995852113,
-0.01616370491683483,
0.03423216566443443,
-0.010476145893335342,
-0.0025611817836761475,
0.039590395987033844,
0.02851790376007557,
-0.0007415411528199911,
0.018246473744511604,
0.007458802312612534,
0.02139732800424099,
0.01251441054046154,
0.015220229513943195,
0.020275836810469627,
0.03716940060257912,
0.048597924411296844,
0.008437881246209145,
-0.009497066959738731,
-0.02424555830657482,
-0.027040382847189903,
0.01248770859092474,
0.0006286132847890258,
0.004076529294252396,
0.015611860901117325,
-0.01651083305478096,
0.015255832113325596,
-0.007120574824512005,
0.03649294748902321,
0.018869522958993912,
0.014178845100104809,
-0.021949172019958496,
-0.03453478962182999,
0.033377695828676224,
-0.017614522948861122,
0.040729690343141556,
-0.038842737674713135,
0.004833090119063854,
0.003800606820732355,
0.022127186879515648,
-0.052087005227804184,
-0.008411179296672344,
0.0445035956799984,
0.01888732612133026
] |
719,706
|
ibm_platform_services.iam_identity_v1
|
get_account_settings_template_version
|
Get version of an account settings template.
Get a specific version of an account settings template in an Enterprise Account.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
|
def get_account_settings_template_version(
self,
template_id: str,
version: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get version of an account settings template.
Get a specific version of an account settings template in an Enterprise Account.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version:
raise ValueError('version must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_account_settings_template_version',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id', 'version']
path_param_values = self.encode_path_vars(template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_templates/{template_id}/versions/{version}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.035720787942409515,
-0.07333502918481827,
0.0017853566678240895,
-0.013217783533036709,
0.009858719073235989,
-0.00437634252011776,
-0.029366783797740936,
-0.010159122757613659,
-0.03430069610476494,
-0.010778137482702732,
0.023304082453250885,
-0.01319047436118126,
-0.06208353117108345,
-0.060299310833215714,
-0.03173360601067543,
0.023067399859428406,
0.0651421919465065,
0.007610239088535309,
0.04209299758076668,
0.013763973489403725,
0.054801005870103836,
-0.02801951766014099,
-0.026945345103740692,
0.06255689263343811,
0.05651239678263664,
-0.017532680183649063,
-0.0011634972179308534,
-0.017077522352337837,
0.04391362890601158,
0.0003097918233834207,
-0.03431890159845352,
-0.00020866142585873604,
0.026344535872340202,
0.08127298206090927,
-0.053963515907526016,
-0.04362232983112335,
-0.019699230790138245,
0.022102465853095055,
-0.1259876936674118,
0.03801478445529938,
0.023650001734495163,
0.043039727956056595,
0.0649237185716629,
0.00047848469694145024,
-0.0012755799107253551,
-0.011142264120280743,
-0.0059898775070905685,
-0.029312165454030037,
-0.042566362768411636,
-0.03566616773605347,
0.08411317318677902,
0.00434903334826231,
-0.02273968607187271,
-0.03936205059289932,
-0.04180169850587845,
0.0031223827973008156,
0.016840839758515358,
-0.006959363352507353,
-0.022284528240561485,
0.003709536511451006,
-0.025452427566051483,
-0.00471088383346796,
-0.047955431044101715,
0.005261624697595835,
-0.03867021203041077,
-0.005166041664779186,
-0.011661143973469734,
0.003600298659875989,
-0.0035980227403342724,
-0.018916361033916473,
0.00024919892894104123,
0.045552197843790054,
0.02760077267885208,
-0.03936205059289932,
-0.007478243671357632,
-0.001967419870197773,
-0.0018354239873588085,
-0.0036412628833204508,
-0.015020209364593029,
-0.0037322943098843098,
-0.053126025944948196,
-0.04948475956916809,
0.006736336275935173,
-0.012789935804903507,
0.01400065515190363,
0.0013176819775253534,
0.001535019837319851,
-0.07610239088535309,
0.05399992689490318,
0.06561555713415146,
-0.03142409771680832,
-0.015193169005215168,
-0.05542001873254776,
0.015165859833359718,
0.05254342034459114,
-0.00917598232626915,
0.05429122969508171,
-0.03468302637338638,
-0.017004696652293205,
0.004756399430334568,
-0.028511088341474533,
-0.08047191053628922,
-0.025142919272184372,
-0.003657193388789892,
0.016103485599160194,
-0.02512471377849579,
-0.04354950413107872,
0.027637183666229248,
0.042493537068367004,
-0.006777300499379635,
0.019644612446427345,
-0.0001091667654691264,
-0.03402760252356529,
0.011925135739147663,
0.05993518605828285,
0.008338491432368755,
-0.0649237185716629,
0.0015099861193448305,
0.007264319341629744,
-0.03147871792316437,
0.06645304709672928,
-0.01667698286473751,
-0.007419073022902012,
0.0357389934360981,
0.0055028581991791725,
0.02248479798436165,
-0.008356697857379913,
-0.0111604705452919,
0.002487437566742301,
0.0011276535224169493,
-0.059716708958148956,
0.008793649263679981,
-0.010778137482702732,
-0.004792812280356884,
-0.0025761935394257307,
-0.011078542098402977,
-0.009995266795158386,
0.012170921079814434,
-0.009166878648102283,
0.048137493431568146,
-0.0005535857053473592,
0.028929833322763443,
0.011087644845247269,
-0.03142409771680832,
-0.04744565486907959,
-0.05745912715792656,
0.06528784334659576,
0.031460508704185486,
-0.013390744104981422,
-0.01847940869629383,
0.03701343759894371,
0.013418053276836872,
-0.005653060507029295,
-0.051014091819524765,
-0.03994465246796608,
-0.00029357679886743426,
0.038888685405254364,
-0.027637183666229248,
0.04191093519330025,
-0.048792921006679535,
0.0019275934901088476,
0.03870662301778793,
0.05228853225708008,
-0.035229217261075974,
0.027637183666229248,
0.01380038633942604,
-0.031205622479319572,
-0.03246185928583145,
0.014182718470692635,
-0.012853657826781273,
-0.021920401602983475,
0.029166514053940773,
-0.02026362717151642,
0.020172595977783203,
-0.04810108244419098,
0.014146305620670319,
0.04642609879374504,
-0.011351636610925198,
0.014856352470815182,
0.03022248111665249,
-0.012835451401770115,
-0.06415905058383942,
-0.042857661843299866,
0.06608892232179642,
0.017468959093093872,
0.002263272413983941,
0.060008011758327484,
0.040272366255521774,
-0.0386337973177433,
0.0008357836049981415,
0.0015907767228782177,
-0.06434111297130585,
0.053126025944948196,
0.008388559333980083,
-0.06364927440881729,
-0.06801878660917282,
0.011688453145325184,
-0.10464989393949509,
0.018206313252449036,
0.03513818606734276,
0.0009603830403648317,
-0.07683064788579941,
0.0035456796176731586,
0.00011215373524464667,
0.031023558229207993,
0.03639442101120949,
0.06732694804668427,
-0.08680770546197891,
-0.01871609129011631,
0.011615628376603127,
-0.014992899261415005,
-0.029548848047852516,
-0.0038642901927232742,
0.01810617931187153,
-0.06754542142152786,
0.0076921675354242325,
0.01816990040242672,
-0.016176309436559677,
-0.01685904711484909,
-0.027746422216296196,
0.00875723734498024,
-0.02405054122209549,
-0.010322979651391506,
0.018606852740049362,
-0.012753522954881191,
0.000626979919616133,
-0.013144958764314651,
0.01613079383969307,
-0.08425882458686829,
-0.021082911640405655,
0.05622109770774841,
0.0357389934360981,
0.09321632981300354,
-0.016540436074137688,
-0.05115974321961403,
-0.030313512310385704,
0.013363434001803398,
-0.013272402808070183,
0.06386774778366089,
0.012735316529870033,
0.038597386330366135,
0.039252813905477524,
0.10384881496429443,
0.04733641445636749,
-0.04365874081850052,
-0.02273968607187271,
-0.0675090104341507,
0.002537505002692342,
0.001141877262853086,
-0.08702617883682251,
-0.0030313513707369566,
-0.050832029432058334,
0.007642100099474192,
0.07246112823486328,
0.024924444034695625,
-0.04821031913161278,
0.04697228968143463,
-0.019699230790138245,
0.029257547110319138,
-0.007605687715113163,
-0.044059280306100845,
0.00272184400819242,
-0.053053200244903564,
-0.09642063826322556,
-0.028165167197585106,
-0.05876998230814934,
-0.031096383929252625,
0.05057714134454727,
0.01679532416164875,
0.06688999384641647,
0.012034373357892036,
0.052507009357213974,
-0.024669555947184563,
0.014892764389514923,
-0.033608853816986084,
-0.003186105052009225,
0.03983541578054428,
-0.022539416328072548,
-0.04686305299401283,
-0.04041801765561104,
-0.06375851482152939,
-0.01973564364016056,
0.044714707881212234,
0.03442813828587532,
0.03790554404258728,
-0.011861413717269897,
-0.015129446983337402,
0.0007015120354481041,
0.02658121846616268,
0.020354658365249634,
0.014055274426937103,
0.016422094777226448,
-0.00044605470611713827,
-0.03672213479876518,
-0.08170993626117706,
-0.01806066371500492,
-0.02488803118467331,
-0.032589301466941833,
0.07082255929708481,
0.007642100099474192,
0.016458507627248764,
-0.021319594234228134,
-0.016822634264826775,
0.01199796050786972,
-0.010932891629636288,
0.018015148118138313,
0.044241342693567276,
0.0018354239873588085,
0.05381786450743675,
0.01370935421437025,
-0.03220697119832039,
0.017123037949204445,
-0.001834286144003272,
-0.014346575364470482,
-0.06026289984583855,
-0.01346356887370348,
-0.00485653430223465,
-0.025179332122206688,
0.027218438684940338,
0.027983104810118675,
-0.06259331107139587,
0.05276189744472504,
0.009813203476369381,
0.011378945782780647,
0.03954411298036575,
-0.005056803580373526,
0.003623056458309293,
-0.00846138410270214,
0.002519298577681184,
0.043695151805877686,
-0.033809125423431396,
0.005407275166362524,
0.018788915127515793,
0.032243382185697556,
-0.025925790891051292,
0.00113561877515167,
0.013809489086270332,
0.016840839758515358,
-0.009549211710691452,
0.06710847467184067,
0.08753595501184464,
-0.05225212126970291,
-0.015821287408471107,
-0.03688599169254303,
-0.0035889195278286934,
-0.0028652185574173927,
0.0690019279718399,
0.031151002272963524,
-0.011251501739025116,
-0.028620325028896332,
-0.05643957480788231,
-0.04413210600614548,
0.028693150728940964,
0.044168516993522644,
0.004440065007656813,
-0.055456433445215225,
0.009995266795158386,
0.018306449055671692,
0.02465134859085083,
0.012416706420481205,
-0.0836033970117569,
-0.02111932449042797,
-0.02423260360956192,
0.003730018623173237,
0.00012772866466548294,
-0.036194153130054474,
0.0008420420344918966,
-0.026417361572384834,
-0.016349269077181816,
-0.022175289690494537,
-0.04780977964401245,
0.02496085688471794,
0.0333721749484539,
-0.05261624604463577,
0.03207952529191971,
-0.03100535273551941,
-0.09918799996376038,
-0.0018217692850157619,
-0.007191494107246399,
-0.03845173493027687,
0.05039507523179054,
0.0013267850736156106,
0.011315223760902882,
0.008525106124579906,
-0.011652041226625443,
-0.004380894359201193,
0.017559990286827087,
-0.02410515956580639,
0.016240032389760017,
0.02519753761589527,
-0.022757891565561295,
0.028620325028896332,
-0.012498634867370129,
-0.002890252275392413,
-0.010759931989014149,
0.024068746715784073,
-0.0034387174528092146,
0.016121691092848778,
0.03907075151801109,
-0.00428986269980669,
0.036667514592409134,
0.02357717603445053,
0.04522448405623436,
0.0025989513378590345,
-0.011797691695392132,
-0.055929794907569885,
0.020117977634072304,
-0.02734588272869587,
-0.013618323020637035,
-0.07493718713521957,
-0.023285875096917152,
-0.04103703051805496,
-0.028401849791407585,
-0.03286239504814148,
0.0038551869802176952,
0.060845501720905304,
-0.02093726024031639,
0.060845501720905304,
-0.049994539469480515,
-0.010186432860791683,
0.03076867014169693,
0.015666533261537552,
0.00524797011166811,
0.001721634529531002,
-0.02758256532251835,
0.024633143097162247,
-0.025452427566051483,
0.0035479555372148752,
-0.02417798526585102,
0.00339547754265368,
0.03297163546085358,
-0.045078832656145096,
0.007760441396385431,
-0.0027673596050590277,
0.045552197843790054,
0.0233404953032732,
0.04125550761818886,
0.027127407491207123,
-0.036321595311164856,
0.014046170748770237,
0.015976039692759514,
0.032662127166986465,
0.02375924028456211,
-0.01866147108376026,
-0.02164730802178383,
0.02104649879038334,
-0.0295124351978302,
-0.07388122379779816,
0.004139660857617855,
-0.03628518432378769,
-0.025324983522295952,
0.03867021203041077,
-0.000454019958851859,
-0.016986491158604622,
-0.03765065595507622,
-0.030914321541786194,
-0.04671740159392357,
0.008106361143290997,
-0.019153041765093803,
-0.00956741813570261,
0.0036617449950426817,
0.010241051204502583,
0.025416014716029167,
-0.005047700367867947,
0.012971999123692513,
-0.07399045675992966,
0.05454611778259277,
0.003136037616059184,
-0.016749808564782143,
-0.0009768825257197022,
0.00718239089474082,
-0.003167898626998067,
-0.04205658659338951,
0.10654334723949432,
0.045552197843790054,
0.011861413717269897,
0.013144958764314651,
-0.0019924535881727934,
-0.060736265033483505,
-0.006749990861862898,
-0.01001347228884697,
0.06364927440881729,
-0.02051851525902748,
0.012799038551747799,
0.029676292091608047,
-0.051851581782102585,
0.011733969673514366,
0.005038597155362368,
-0.032844189554452896,
-0.009667553007602692,
-0.009940647520124912,
-0.006317590828984976,
-0.04773695394396782,
0.03453737869858742,
-0.030204275622963905,
-0.015384335070848465,
-0.014719804748892784,
0.01847030594944954,
0.05716782435774803,
0.006590685807168484,
-0.002485161880031228,
-0.03708626329898834,
0.04482394456863403,
-0.0010315014515072107,
0.009785893373191357,
0.0729709044098854,
0.0005754901794716716,
0.024997269734740257,
0.04216582328081131,
0.011934238485991955,
-0.02760077267885208,
0.03561155125498772,
-0.013445362448692322,
0.037213705480098724,
0.05141463130712509,
0.04751848056912422,
-0.0856425017118454,
0.003650365862995386,
0.014920074492692947,
0.0007703546434640884,
-0.005229763686656952,
0.0490478090941906,
0.044532645493745804,
-0.01091468520462513,
0.04296690225601196,
0.02536139450967312,
-0.05447329208254814,
-0.05421840399503708,
0.0010849825339391828,
0.04445981979370117,
-0.03100535273551941,
-0.007387212011963129,
-0.03513818606734276,
0.006226559169590473,
-0.01854313164949417,
-0.05727706477046013,
-0.09838692098855972,
0.0274187084287405,
-0.07140516489744186,
0.017969632521271706,
-0.05228853225708008,
-0.004756399430334568,
-0.03719549998641014,
-0.05392710119485855,
-0.0032725848723202944,
-0.018251828849315643,
0.019899500533938408,
0.021337799727916718,
-0.06190146878361702,
-0.03339038044214249,
0.0295670535415411,
-0.03683137148618698,
0.056767288595438004,
0.014774424023926258,
-0.039726175367832184,
0.07074973732233047,
-0.06634380668401718,
-0.01529330387711525,
0.004032698459923267,
-0.01787859946489334,
0.0317700169980526,
-0.021246768534183502,
-0.0003922891628462821,
0.008525106124579906,
-0.04420493170619011,
0.007013982627540827,
0.02273968607187271,
0.021610895171761513,
-0.001928731333464384,
0.01762371137738228,
-0.015502676367759705,
0.049521174281835556,
-0.007805956993252039,
-0.02297636866569519,
-0.020536722615361214,
-0.002537505002692342,
0.05345373600721359,
0.006968466565012932,
0.09474565833806992,
0.08848268538713455,
-0.004478753078728914,
-0.055274367332458496,
0.10698030143976212,
-0.02920292690396309,
0.024578524753451347,
0.07013072073459625,
0.04325820133090019,
0.04547937214374542,
0.0255434587597847,
0.037395767867565155,
-0.02650839276611805,
0.015275097452104092,
0.00860703457146883,
0.008907439187169075,
0.016230929642915726,
0.03167898580431938,
-0.007450934033840895,
-0.05061355233192444,
0.006922950968146324,
-0.05429122969508171,
-0.021155737340450287,
0.01871609129011631,
0.007646651938557625,
0.018097076565027237,
0.013864108361303806,
-0.002111932495608926,
-0.002908458700403571,
-0.004339930135756731,
0.0007805956993252039,
-0.03408221900463104,
0.043403852730989456,
-0.04780977964401245,
0.014856352470815182,
-0.046098388731479645,
0.05585697293281555,
0.07300731539726257,
-0.018342861905694008,
0.043039727956056595,
-0.043513089418411255,
-0.025561664253473282,
0.018570439890027046,
0.08913811296224594,
-0.00473819300532341,
0.027491534128785133,
-0.03351782262325287,
0.06313949823379517,
0.04456905648112297,
0.017314204946160316,
-0.045625023543834686,
0.01602155715227127,
0.013254196383059025,
0.03643083572387695,
0.007910643704235554,
0.03816043585538864,
-0.004997633397579193,
0.0003325497091282159,
0.0428212508559227,
0.00471088383346796,
0.03628518432378769,
0.020409278571605682,
0.04151039570569992,
-0.026599423959851265,
0.010659797117114067,
0.07988930493593216,
-0.016513125970959663,
0.08615227788686752,
-0.01762371137738228,
-0.022521210834383965,
-0.013964243233203888,
0.01439209096133709,
-0.03612132743000984,
0.026107853278517723,
-0.07446382194757462,
-0.0010906719835475087,
-0.06022648513317108,
0.00054704281501472,
0.034810472279787064,
0.031460508704185486,
-0.028565706685185432,
0.030623020604252815,
-0.024269016459584236,
0.007109565660357475,
-0.0245239045470953,
-0.05141463130712509,
0.022958161309361458,
0.01602155715227127,
-0.03340858593583107,
-0.006062702741473913,
0.02033645287156105,
-0.004301241599023342,
0.04671740159392357,
-0.0029562502168118954,
-0.06794596463441849,
0.018306449055671692,
-0.016540436074137688,
0.011233295314013958,
-0.04344026371836662,
0.03269853815436363,
-0.06124604120850563,
-0.0038915995974093676,
0.09256090223789215,
0.005703127942979336,
0.0079151950776577,
0.02938499115407467,
-0.03976259008049965,
-0.0872446596622467,
0.0017978735268115997,
0.041000619530677795,
-0.030604813247919083,
0.029658084735274315,
-0.03440993279218674,
-0.04409569129347801,
-0.04504242166876793,
-0.030459163710474968,
0.05636674910783768,
-0.026708662509918213,
-0.009949750266969204,
0.010850963182747364,
0.009904234670102596,
-0.025816552340984344,
0.015630120411515236,
-0.060080837458372116,
-0.027182025834918022,
0.08760878443717957,
-0.0386337973177433,
-0.0014098514802753925,
0.012999308295547962,
-0.060372136533260345,
-0.011888722889125347,
0.02627171017229557,
0.005821468774229288,
0.026836106553673744,
0.08149146288633347,
-0.007983468472957611,
-0.009075847454369068,
0.07446382194757462,
-0.042384300380945206,
0.02914830856025219,
0.04107344523072243,
0.06812802702188492,
-0.017241379246115685,
0.00933073554188013,
-0.010878272354602814,
-0.009385354816913605,
0.023977715522050858,
0.01836106739938259,
0.035411279648542404,
0.06266613304615021,
-0.03750500828027725,
0.02273968607187271,
0.008447729982435703,
-0.025343189015984535,
-0.020172595977783203,
-0.05014018714427948,
0.04595273733139038,
0.031151002272963524,
-0.022448385134339333,
0.02182937040925026,
0.005115974228829145,
0.03047736920416355,
0.016085278242826462,
0.022521210834383965,
-0.03142409771680832,
-0.022830717265605927,
-0.011570112779736519,
0.02326766960322857,
0.022211702540516853,
0.009703964926302433,
0.010632487013936043,
-0.024851618334650993,
0.025288570672273636,
0.002024314599111676,
0.02261224202811718,
-0.027746422216296196,
0.023923097178339958,
-0.0172231737524271,
-0.008861923590302467,
0.027964897453784943,
0.012862760573625565,
0.03601209074258804,
0.024906236678361893,
-0.028893420472741127,
0.002259858651086688,
0.018433893099427223,
-0.019298693165183067,
0.004581163637340069,
0.016349269077181816,
0.007186942268162966
] |
719,707
|
ibm_platform_services.iam_identity_v1
|
get_api_key
|
Get details of an API key.
Returns the details of an API key. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. In case of service IDs and their API keys, a user must be either an account
owner, a IBM Cloud org manager or IBM Cloud space developer in order to manage
service IDs of the entity.
:param str id: Unique ID of the API key.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param bool include_activity: (optional) Defines if the entity's activity
is included in the response. Retrieving activity data is an expensive
operation, so only request this when needed.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
|
def get_api_key(
self,
id: str,
*,
include_history: Optional[bool] = None,
include_activity: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get details of an API key.
Returns the details of an API key. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. In case of service IDs and their API keys, a user must be either an account
owner, a IBM Cloud org manager or IBM Cloud space developer in order to manage
service IDs of the entity.
:param str id: Unique ID of the API key.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param bool include_activity: (optional) Defines if the entity's activity
is included in the response. Retrieving activity data is an expensive
operation, so only request this when needed.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_api_key',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
'include_activity': include_activity,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/apikeys/{id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, *, include_history: Optional[bool] = None, include_activity: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.036759935319423676,
-0.0709461197257042,
-0.03938964381814003,
0.015256025828421116,
0.01993727684020996,
-0.01871567592024803,
0.02420821785926819,
0.016067318618297577,
-0.014370132237672806,
0.0006976414588280022,
-0.01439810823649168,
-0.025028835982084274,
0.05710752308368683,
-0.008313415572047234,
-0.008649122901260853,
0.025625647976994514,
0.05602579936385155,
0.010425573214888573,
0.0018871872453019023,
-0.055578187108039856,
0.08937270939350128,
0.025737550109624863,
-0.01410902664065361,
-0.026259761303663254,
0.04532046988606453,
0.08116653561592102,
0.0412173829972744,
0.0058842008002102375,
0.01708376593887806,
-0.0003502778126858175,
-0.008593170903623104,
-0.006951936054974794,
0.03584606572985649,
0.03125806897878647,
-0.0881790891289711,
-0.027304183691740036,
0.011740426532924175,
0.01882757805287838,
-0.11212620139122009,
0.010416247881948948,
-0.01822143979370594,
0.05072908475995064,
0.07885388284921646,
-0.06333675235509872,
0.009171334095299244,
0.0038583013229072094,
-0.02771449275314808,
-0.010117840953171253,
-0.036200422793626785,
-0.013027303852140903,
0.05695831775665283,
-0.017456773668527603,
0.009012805297970772,
-0.05054258182644844,
-0.00009011931251734495,
-0.009782134555280209,
-0.01699983887374401,
-0.03987455368041992,
-0.011404719203710556,
-0.015759587287902832,
-0.02068329229950905,
0.010071215219795704,
-0.0016342411981895566,
0.050952889025211334,
0.020459488034248352,
-0.005972790066152811,
-0.05099019035696983,
0.026222459971904755,
-0.023089194670319557,
0.02534589171409607,
0.021429307758808136,
0.0056417458690702915,
-0.013027303852140903,
0.011292816139757633,
0.006639542058110237,
-0.032004084438085556,
-0.057965438812971115,
-0.05113939195871353,
-0.015517131425440311,
-0.001316018751822412,
-0.006080029997974634,
-0.06255343556404114,
0.0014908662997186184,
-0.019788073375821114,
0.007609362713992596,
0.019899975508451462,
-0.007399545516818762,
-0.04587998241186142,
0.03991185501217842,
-0.010612077079713345,
-0.03838251903653145,
0.004988981876522303,
-0.053899653255939484,
0.0766904428601265,
0.030866410583257675,
-0.02226857654750347,
0.008001021109521389,
0.006919297855347395,
0.024413371458649635,
0.02814345248043537,
0.0001881067582871765,
-0.021056300029158592,
0.0054412540048360825,
0.023406250402331352,
0.03700239211320877,
-0.05196001008152962,
-0.004720882046967745,
0.020925747230648994,
0.0235554538667202,
-0.004303579684346914,
-0.03593931719660759,
0.012169385328888893,
-0.025998655706644058,
0.003671797225251794,
-0.021466609090566635,
0.02652086690068245,
0.020310284569859505,
0.03579011559486389,
-0.005315363872796297,
0.0027532652020454407,
-0.008122248575091362,
-0.056697212159633636,
0.006108005531132221,
-0.02594270557165146,
0.021000349894165993,
-0.010192442685365677,
-0.01941506564617157,
0.038569025695323944,
0.02467447705566883,
-0.0206646416336298,
-0.01232791319489479,
-0.0028814866673201323,
-0.03819601610302925,
0.03776705637574196,
0.04949815943837166,
0.009782134555280209,
0.05192270874977112,
0.07396747916936874,
-0.019265862181782722,
0.1177213191986084,
0.00005780894935014658,
0.012132083997130394,
0.03355206921696663,
0.0264462660998106,
-0.01091980841010809,
-0.0588979609310627,
-0.001383626484312117,
-0.03786030784249306,
-0.013167181983590126,
-0.023107843473553658,
0.03758055344223976,
0.009008143097162247,
-0.01590879075229168,
-0.02230587787926197,
0.010472198948264122,
-0.05938287079334259,
0.031425923109054565,
-0.030381498858332634,
0.05121399462223053,
-0.010882508009672165,
0.015451855026185513,
-0.009884711354970932,
0.05721942335367203,
-0.08735846728086472,
-0.009045443497598171,
-0.01597406715154648,
-0.06117330864071846,
0.02411496639251709,
0.025476444512605667,
0.037934910506010056,
-0.05057988315820694,
0.039053935557603836,
-0.01503222156316042,
-0.024413371458649635,
-0.06773824989795685,
-0.031015614047646523,
0.008551208302378654,
-0.026259761303663254,
-0.017382171005010605,
0.02877756580710411,
0.05777893587946892,
-0.029001370072364807,
-0.033235009759664536,
0.00015459432324860245,
0.031071564182639122,
-0.0023138150572776794,
0.04770772159099579,
0.07825707644224167,
0.0038606326561421156,
0.019788073375821114,
-0.04420144483447075,
-0.027453387156128883,
0.041553087532520294,
-0.0037836995907127857,
-0.06419467180967331,
-0.020161081105470657,
0.02944898046553135,
-0.0646422803401947,
-0.00143841200042516,
-0.006541627459228039,
-0.007702614646404982,
0.01871567592024803,
0.02763989195227623,
0.03461514040827751,
0.04021025821566582,
-0.020123779773712158,
0.03252629563212395,
-0.05046797916293144,
-0.023816559463739395,
0.01496694516390562,
0.026147859171032906,
-0.04979656636714935,
-0.062105827033519745,
-0.009432438760995865,
-0.010183117352426052,
0.05076638609170914,
0.023667355999350548,
0.011553921736776829,
0.04427604749798775,
-0.0008381023071706295,
0.04759581759572029,
-0.027994249016046524,
0.02480502985417843,
-0.020907096564769745,
0.01703714020550251,
0.0175593513995409,
0.06852156668901443,
0.012775523588061333,
-0.0709834173321724,
-0.05818924307823181,
0.05412345752120018,
-0.009008143097162247,
-0.018641073256731033,
-0.016160570085048676,
-0.05132589861750603,
-0.05751783028244972,
0.006303834728896618,
-0.015246701426804066,
0.042149901390075684,
-0.03577146679162979,
0.06889457255601883,
0.06564940512180328,
0.028702963143587112,
0.05464566871523857,
-0.09079014509916306,
-0.049721963703632355,
-0.03772975504398346,
0.013661417178809643,
0.006835371255874634,
-0.0646795853972435,
0.027751794084906578,
-0.06191932410001755,
0.026651419699192047,
0.013372335582971573,
0.019582917913794518,
-0.05598849803209305,
-0.026297062635421753,
-0.1060834676027298,
0.021336056292057037,
0.0018440581625327468,
-0.04602918401360512,
0.07396747916936874,
-0.06053919345140457,
0.03351476788520813,
-0.01886487752199173,
0.0038676264230161905,
0.028050199151039124,
0.02825535461306572,
0.0528552308678627,
0.0069379485212266445,
0.024003062397241592,
0.032750099897384644,
-0.0206086914986372,
-0.009432438760995865,
-0.014211604371666908,
0.009912687353789806,
0.013633441179990768,
-0.010117840953171253,
-0.029766036197543144,
-0.023387599736452103,
-0.06344866007566452,
-0.0589352585375309,
0.023648705333471298,
0.0007862308993935585,
0.0026856574695557356,
-0.03758055344223976,
0.01090115774422884,
0.024357421323657036,
0.0012390859192237258,
-0.006728131324052811,
0.04770772159099579,
0.03804681450128555,
-0.01812818832695484,
0.016776034608483315,
-0.025476444512605667,
0.0008952191565185785,
-0.07706344872713089,
-0.057368628680706024,
0.05360124632716179,
-0.008126911707222462,
-0.02003052830696106,
0.07251275330781937,
0.01503222156316042,
-0.04524586722254753,
-0.0022007471416145563,
0.01818413846194744,
0.008304090239107609,
-0.006872672121971846,
-0.034354034811258316,
0.023182446137070656,
-0.026278411969542503,
0.004212658852338791,
-0.028535110875964165,
-0.047409314662218094,
-0.040247559547424316,
-0.06766364723443985,
0.05069178342819214,
-0.008639797568321228,
0.013708042912185192,
0.06177012249827385,
-0.0038419822230935097,
0.02059004083275795,
-0.0206086914986372,
-0.015386578626930714,
0.06773824989795685,
-0.0471855103969574,
0.055055975914001465,
-0.029150573536753654,
0.050915587693452835,
0.01471516489982605,
0.030418800190091133,
0.006383099127560854,
-0.01879027672111988,
-0.02003052830696106,
-0.039613448083400726,
-0.06307564675807953,
0.017839105799794197,
-0.014836392365396023,
0.0038233317900449038,
0.08168874680995941,
-0.012458465993404388,
-0.04491015896201134,
-0.019750772044062614,
0.023704657331109047,
-0.005231436807662249,
-0.011302141472697258,
0.07221434265375137,
-0.027248233556747437,
0.028926769271492958,
-0.047372013330459595,
0.026259761303663254,
-0.05483217164874077,
0.03709564357995987,
0.0354357585310936,
0.05707022175192833,
-0.029001370072364807,
-0.026819273829460144,
-0.008742374368011951,
-0.03953884541988373,
0.017410147935152054,
-0.00971685815602541,
-0.03580876439809799,
-0.070386603474617,
0.010938459075987339,
-0.08944731205701828,
-0.009493052959442139,
0.002431545639410615,
-0.06173282116651535,
0.044947460293769836,
-0.009894036687910557,
-0.06177012249827385,
0.0351933017373085,
-0.005613769870251417,
0.032041385769844055,
-0.00006571351696038619,
0.04602918401360512,
-0.006518314592540264,
0.00946041475981474,
-0.040993575006723404,
0.07523570954799652,
0.010910483077168465,
-0.007259667851030827,
0.0007512613665312529,
0.02236182801425457,
0.044462550431489944,
0.022604282945394516,
0.026259761303663254,
-0.04752121493220329,
0.022175325080752373,
-0.014407433569431305,
0.03295525535941124,
-0.02282808907330036,
0.004597323480993509,
0.024860981851816177,
0.007511448115110397,
-0.02950493060052395,
0.029262475669384003,
0.02111225202679634,
0.019657520577311516,
-0.011162263341248035,
0.050393376499414444,
0.050840988755226135,
0.06964059174060822,
0.006923960521817207,
0.027527987957000732,
0.01997457630932331,
0.012178710661828518,
-0.09369960427284241,
-0.03950154408812523,
-0.015078847296535969,
0.008453293703496456,
-0.016169896349310875,
-0.04629028961062431,
-0.004140388686209917,
0.016057994216680527,
0.017503399401903152,
-0.03709564357995987,
0.08706006407737732,
-0.04420144483447075,
0.058487650007009506,
0.007488135248422623,
-0.02228722721338272,
-0.045581575483083725,
0.007054513320326805,
-0.02344355173408985,
0.05845034867525101,
-0.03112751618027687,
-0.005823587067425251,
0.0354171060025692,
-0.042037997394800186,
0.014705839566886425,
-0.0020597034599632025,
-0.02579350210726261,
0.010117840953171253,
-0.022044772282242775,
0.01886487752199173,
0.03642423078417778,
0.029206525534391403,
0.03573416545987129,
-0.0025014847051352262,
-0.015377254225313663,
-0.03399967774748802,
-0.011404719203710556,
-0.014929643832147121,
-0.032041385769844055,
0.016766708344221115,
0.00007693289808230475,
0.041963398456573486,
0.06001698225736618,
0.016253823414444923,
0.07915229350328445,
0.05953207239508629,
0.031537823379039764,
-0.023648705333471298,
-0.01643100194633007,
-0.09944392740726471,
0.01886487752199173,
0.04520856589078903,
0.01091980841010809,
-0.02950493060052395,
0.027751794084906578,
0.03226519003510475,
-0.02128010429441929,
0.02353680320084095,
0.03194813430309296,
0.007194391451776028,
0.001487369299866259,
0.04177689179778099,
-0.009511703625321388,
-0.03470839187502861,
0.03220923990011215,
0.0023417905904352665,
0.007781879045069218,
0.04636489227414131,
0.05181080847978592,
0.03288065269589424,
0.034484587609767914,
0.017848432064056396,
-0.048602938652038574,
-0.03431673347949982,
0.03295525535941124,
-0.007772553712129593,
-0.007534760981798172,
-0.062105827033519745,
0.039091236889362335,
-0.015022896230220795,
-0.018641073256731033,
0.02420821785926819,
-0.0761682316660881,
-0.024264167994260788,
0.0007028869003988802,
0.05830114707350731,
-0.0468871034681797,
0.04341812804341316,
-0.018967455253005028,
-0.024469323456287384,
0.034969497472047806,
-0.04744661599397659,
-0.012803498655557632,
0.021037649363279343,
0.030903710052371025,
-0.011581897735595703,
0.06680572777986526,
0.011050361208617687,
-0.0176899041980505,
0.012421165592968464,
-0.026203811168670654,
-0.016141919419169426,
-0.015591733157634735,
0.0011114472290500998,
-0.04054596647620201,
-0.02760259062051773,
-0.00706383865326643,
-0.03420483320951462,
0.003956215921789408,
-0.006812058389186859,
-0.04476095736026764,
0.004692906513810158,
0.005049595609307289,
0.015703635290265083,
0.0036391590256243944,
0.07486270368099213,
0.02417091652750969,
0.04826723039150238,
0.01297135278582573,
0.02696847729384899,
-0.042112600058317184,
-0.04785692319273949,
0.01060275174677372,
0.036200422793626785,
-0.033197708427906036,
0.0037976873572915792,
0.0035249253269284964,
0.024898283183574677,
-0.020328935235738754,
-0.03487624600529671,
-0.1233910396695137,
0.014472709968686104,
-0.05337744206190109,
-0.030791807919740677,
0.08332998305559158,
0.04353003203868866,
-0.03112751618027687,
-0.06781285256147385,
-0.029821988195180893,
0.017400821670889854,
-0.00573966046795249,
0.06803665310144424,
0.010640052147209644,
-0.005385302472859621,
0.0077678910456597805,
-0.03728214651346207,
0.02646491676568985,
0.004345542751252651,
-0.04282131418585777,
-0.0011213552206754684,
0.00967955682426691,
0.002178599825128913,
-0.014304855838418007,
-0.0002749476698227227,
-0.0351373516023159,
0.026726022362709045,
-0.0056417458690702915,
-0.019694821909070015,
-0.05345204472541809,
-0.007017212454229593,
0.03715159371495247,
0.045581575483083725,
0.02465582638978958,
-0.009012805297970772,
-0.04524586722254753,
0.008667772635817528,
-0.026763321831822395,
-0.004224315285682678,
-0.05527978390455246,
0.04058326780796051,
-0.002611055737361312,
0.019713470712304115,
0.03129537031054497,
0.024879632517695427,
-0.005972790066152811,
-0.019191259518265724,
0.0709461197257042,
0.007404208183288574,
-0.002606393303722143,
-0.0002606684574857354,
0.046215686947107315,
-0.03694644197821617,
0.04177689179778099,
-0.04256020858883858,
-0.022175325080752373,
-0.023275697603821754,
0.0176805779337883,
-0.010994410142302513,
0.01595541648566723,
0.058674152940511703,
0.001486203633248806,
-0.010388271883130074,
0.043231625109910965,
-0.056883715093135834,
0.023891160264611244,
0.04308241978287697,
0.03696509078145027,
0.012644970789551735,
0.03060530498623848,
0.011227539740502834,
-0.030959662050008774,
-0.011311466805636883,
-0.019732121378183365,
-0.026334363967180252,
-0.01467786356806755,
-0.04957275837659836,
0.038643624633550644,
0.01146067027002573,
-0.03226519003510475,
0.03064260445535183,
0.019582917913794518,
0.008672435767948627,
-0.01055612601339817,
-0.04412684217095375,
0.039203137159347534,
-0.019004756584763527,
-0.02232452668249607,
0.04170229285955429,
-0.07172943651676178,
0.0206273403018713,
0.04606648534536362,
0.014099701307713985,
-0.003513268893584609,
0.01941506564617157,
0.000028849835871369578,
0.060278087854385376,
-0.006303834728896618,
-0.00857452116906643,
0.04520856589078903,
0.005189473275095224,
0.05546628683805466,
0.01439810823649168,
-0.006467025727033615,
0.04300782084465027,
-0.034409984946250916,
0.033869124948978424,
-0.06240423396229744,
0.06673112511634827,
-0.013680067844688892,
0.08512041717767715,
-0.07900308817625046,
-0.046663299202919006,
0.0037743744906038046,
-0.07751105725765228,
-0.06673112511634827,
0.012216011062264442,
-0.017382171005010605,
-0.04308241978287697,
-0.025681599974632263,
-0.03998645395040512,
0.010686678811907768,
0.0015001913998275995,
-0.05524248257279396,
-0.009623605757951736,
0.02116820216178894,
0.004389837849885225,
0.002205409575253725,
-0.08429980278015137,
-0.032675497233867645,
-0.06676843017339706,
-0.026241110637784004,
-0.06068839877843857,
0.03472704440355301,
-0.002299827290698886,
0.007054513320326805,
0.0008958019898273051,
0.008439305238425732,
0.041403885930776596,
-0.05169890448451042,
0.004585667047649622,
0.0004394500283524394,
-0.026371663436293602,
0.011395393870770931,
-0.030325548723340034,
0.027453387156128883,
-0.01934046298265457,
-0.002227557124570012,
0.016067318618297577,
-0.019601568579673767,
-0.049199752509593964,
0.026334363967180252,
0.022492380812764168,
-0.07568331807851791,
-0.07989830523729324,
0.01880892738699913,
-0.0056184325367212296,
0.011386068537831306,
-0.040284860879182816,
0.01701848953962326,
-0.0411800816655159,
-0.018398618325591087,
0.05222111567854881,
-0.015675660222768784,
-0.0010158639634028077,
-0.03276875242590904,
-0.012449141591787338,
0.01817481406033039,
0.030344199389219284,
0.012766198255121708,
0.030288247391581535,
0.03222788870334625,
0.009502378292381763,
-0.04080707207322121,
-0.008900903165340424,
0.019620219245553017,
0.030325548723340034,
0.009884711354970932,
-0.06647001951932907,
0.0352679044008255,
0.023089194670319557,
-0.030325548723340034,
-0.02297729067504406,
0.010173792950809002,
0.056734513491392136,
0.01997457630932331,
0.015591733157634735,
-0.03308580815792084,
-0.02185826748609543,
-0.02771449275314808,
0.016020692884922028,
0.02760259062051773,
0.029747385531663895,
0.0008823969983495772,
0.011386068537831306,
0.010929133743047714,
-0.03125806897878647,
-0.07545951008796692,
0.0012285950360819697,
0.05460836738348007,
-0.015992717817425728,
-0.009614280425012112,
-0.07400478422641754,
0.05531708151102066,
0.030344199389219284,
-0.006522976793348789,
0.046737898141145706,
0.023816559463739395,
0.0053899651393294334,
-0.0025061473716050386,
0.0020130774937570095,
0.0587860569357872,
0.016887936741113663,
0.014099701307713985,
-0.020217033103108406,
0.01590879075229168,
0.046663299202919006,
0.03769245743751526,
-0.005334014073014259,
0.01147932093590498,
0.002473509171977639,
-0.052743326872587204,
0.07810787111520767,
0.06579861044883728,
0.03344016522169113,
-0.014901668764650822,
-0.07478810101747513,
0.003720754524692893,
-0.02709903009235859,
-0.020310284569859505,
0.03830792009830475,
0.010388271883130074,
0.060352690517902374
] |
719,708
|
ibm_platform_services.iam_identity_v1
|
get_api_keys_details
|
Get details of an API key by its value.
Returns the details of an API key by its value. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str iam_api_key: (optional) API key value.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
|
def get_api_keys_details(
self,
*,
iam_api_key: Optional[str] = None,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get details of an API key by its value.
Returns the details of an API key by its value. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str iam_api_key: (optional) API key value.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
"""
headers = {
'IAM-ApiKey': iam_api_key,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_api_keys_details',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/apikeys/details'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, iam_api_key: Optional[str] = None, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.03250120207667351,
-0.0648932158946991,
-0.06671299785375595,
-0.028643276542425156,
0.016678249463438988,
-0.00856204703450203,
0.012501862831413746,
-0.021291380748152733,
-0.030972590669989586,
0.02507651597261429,
-0.027260247617959976,
-0.022183071821928024,
0.053610607981681824,
-0.035431042313575745,
0.004026254639029503,
0.01237447839230299,
0.07643059641122818,
-0.019962944090366364,
0.0016605458222329617,
-0.038979604840278625,
0.060125406831502914,
0.03180968761444092,
-0.009717605076730251,
-0.05044419690966606,
0.01237447839230299,
0.04811488091945648,
0.02394825406372547,
-0.007606664672493935,
0.03153672069311142,
0.03406621143221855,
-0.01970817521214485,
-0.03406621143221855,
0.024021046236157417,
0.02887984737753868,
-0.04749615862965584,
-0.016614556312561035,
0.00982679147273302,
-0.013220674358308315,
-0.06660380959510803,
0.02331133373081684,
-0.012474565766751766,
0.03042665868997574,
0.048369649797677994,
-0.04334706813097,
0.03037206456065178,
0.030554043129086494,
0.014048672281205654,
-0.028424903750419617,
-0.002734213834628463,
-0.002404379192739725,
0.054556891322135925,
-0.012228895910084248,
0.003609980922192335,
-0.030463052913546562,
0.03211905062198639,
-0.008293629623949528,
-0.0009815418161451817,
-0.05368339642882347,
-0.015195131301879883,
-0.02527669072151184,
-0.02835211344063282,
0.0038078816141933203,
-0.003496245015412569,
0.0011481650872156024,
0.018033981323242188,
-0.014685593545436859,
-0.048369649797677994,
0.016559964045882225,
-0.023347727954387665,
-0.00016107862757053226,
0.0015968536026775837,
-0.013893990777432919,
-0.017497148364782333,
0.027096467092633247,
-0.029826132580637932,
-0.03164590895175934,
-0.05666783079504967,
-0.04705941304564476,
-0.01970817521214485,
-0.046185918152332306,
-0.03120916150510311,
-0.02385726571083069,
-0.01777011528611183,
-0.02332952991127968,
-0.015677371993660927,
0.022292258217930794,
-0.034630339592695236,
-0.029534967616200447,
0.1217794194817543,
0.022183071821928024,
-0.0350852832198143,
0.0037896838039159775,
-0.04563998803496361,
0.10278096050024033,
0.017087697982788086,
-0.029316594824194908,
-0.02926200069487095,
-0.010154351592063904,
0.009139825589954853,
0.03597697615623474,
-0.0016150514129549265,
-0.04414777085185051,
0.04101775586605072,
0.06147203966975212,
0.022601619362831116,
-0.01036362536251545,
-0.012683840468525887,
0.0195080004632473,
0.059543076902627945,
-0.0030617734882980585,
-0.05004384368658066,
0.01687842421233654,
-0.04378381371498108,
-0.0204542838037014,
-0.03916158527135849,
0.05575794354081154,
0.05422933027148247,
0.028170134872198105,
-0.001909627695567906,
-0.02665972150862217,
0.02352970652282238,
-0.05200920253992081,
0.024894537404179573,
-0.05168164521455765,
0.01464919839054346,
-0.015331614762544632,
-0.03890681639313698,
0.013930386863648891,
-0.003946639597415924,
-0.002554510720074177,
-0.014585506170988083,
-0.016396183520555496,
-0.0380697175860405,
0.04331067204475403,
0.07282744348049164,
0.014139660634100437,
0.057577718049287796,
0.04658627137541771,
-0.009076133370399475,
0.08705808967351913,
-0.024821747094392776,
0.014594605192542076,
0.0120560172945261,
0.03179148957133293,
0.005336493719369173,
-0.0810164362192154,
0.027642400935292244,
0.0019062155624851584,
-0.001389854121953249,
-0.05957947298884392,
0.03151852265000343,
0.007028885651379824,
-0.014803878962993622,
-0.02618657983839512,
0.02311115711927414,
-0.04866081476211548,
0.03774215653538704,
-0.018134070560336113,
0.025677042081952095,
-0.020126724615693092,
0.04465730860829353,
-0.023711683228611946,
0.037924136966466904,
-0.08669413626194,
-0.018024882301688194,
0.011992325074970722,
-0.0394163504242897,
0.013684717006981373,
0.03226463124155998,
0.023092959076166153,
-0.042473576962947845,
-0.004560814239084721,
-0.005231856368482113,
-0.01576836034655571,
-0.057322949171066284,
-0.024421395733952522,
0.012228895910084248,
-0.021273184567689896,
0.005841481499373913,
0.013366255909204483,
0.019107649102807045,
-0.024512385949492455,
-0.05473886802792549,
-0.0172696765512228,
0.02989892289042473,
-0.007297302596271038,
0.025622447952628136,
0.06893312186002731,
0.007479280233383179,
0.015304317697882652,
-0.054993636906147,
0.01550449337810278,
0.05564875528216362,
-0.012301687151193619,
-0.04447533190250397,
-0.03233742341399193,
0.02236504852771759,
-0.05018942803144455,
0.023875463753938675,
0.0076476093381643295,
-0.02141876518726349,
0.02278359793126583,
-0.00653299642726779,
0.04927954077720642,
0.04436614364385605,
0.00361680518835783,
0.019580792635679245,
-0.04123612865805626,
-0.02087283320724964,
-0.0013875793665647507,
0.025294888764619827,
-0.027205653488636017,
-0.04403858259320259,
-0.00483605545014143,
-0.01374840922653675,
0.06911510229110718,
0.014949461445212364,
0.0020961547270417213,
0.04167287424206734,
-0.017169589176774025,
0.03952553868293762,
-0.041090548038482666,
-0.010745778679847717,
-0.012702037580311298,
0.01014525257050991,
0.05772330239415169,
0.06449286639690399,
0.015540888532996178,
-0.050953734666109085,
-0.038506463170051575,
0.034848712384700775,
0.012419972568750381,
-0.06125366687774658,
0.001561595476232469,
-0.03206445649266243,
-0.023675289005041122,
-0.014267045073211193,
-0.015668272972106934,
0.05179082974791527,
-0.015595481730997562,
0.040035076439380646,
0.09149834513664246,
0.024457791820168495,
0.05921551585197449,
-0.08946019411087036,
-0.08472877740859985,
-0.04800569638609886,
0.02009032852947712,
0.024021046236157417,
-0.06019819527864456,
0.029334792867302895,
-0.07027975469827652,
0.03539464622735977,
-0.00005622824028250761,
0.015140538103878498,
-0.058742374181747437,
-0.03741459921002388,
-0.09055206179618835,
0.03339289128780365,
-0.02034509740769863,
-0.017952091991901398,
0.053610607981681824,
-0.049679890275001526,
0.012947707436978817,
-0.01928962767124176,
0.030972590669989586,
0.05262792855501175,
0.007251807954162359,
0.03248300403356552,
-0.008007015101611614,
0.025677042081952095,
0.004099045880138874,
-0.03242840990424156,
-0.04796930029988289,
-0.019417012110352516,
0.041636478155851364,
0.0178793016821146,
-0.005968865938484669,
-0.03614075481891632,
-0.03157311677932739,
-0.052591532468795776,
-0.03999868035316467,
0.003255124669522047,
0.00793877337127924,
0.03497609868645668,
-0.038288090378046036,
0.03364766016602516,
0.03140933811664581,
0.001808402594178915,
0.01072758063673973,
0.03988949581980705,
0.026004601269960403,
-0.03255579620599747,
-0.018452530726790428,
-0.03668668866157532,
0.0016196008073166013,
-0.09040647745132446,
-0.04658627137541771,
0.01837064139544964,
0.024403199553489685,
-0.02003573626279831,
0.0925174206495285,
0.00010918657062575221,
-0.0403626374900341,
-0.0069879405200481415,
0.03539464622735977,
0.045385219156742096,
-0.014858472160995007,
-0.03974391147494316,
0.019580792635679245,
-0.012201599776744843,
0.024985527619719505,
-0.01068208646029234,
-0.003277871757745743,
-0.05055338144302368,
-0.07715851068496704,
0.04585836082696915,
0.0319734662771225,
0.011300809681415558,
0.048515234142541885,
-0.011373600922524929,
0.02978973649442196,
-0.010381823405623436,
-0.05845121294260025,
0.0848015695810318,
-0.021073007956147194,
0.041782062500715256,
-0.02125498652458191,
0.05331944301724434,
-0.01374840922653675,
0.016669150441884995,
-0.01624150201678276,
-0.01475838478654623,
0.009294507093727589,
-0.022765399888157845,
-0.028643276542425156,
-0.011009645648300648,
-0.0038351782131940126,
-0.00918532069772482,
0.04902477189898491,
-0.031118173152208328,
-0.06463845074176788,
-0.00483605545014143,
0.0035121680703014135,
-0.021764522418379784,
-0.0311545692384243,
0.07373733073472977,
-0.015413504093885422,
0.008375519886612892,
-0.05997982248663902,
-0.011018744669854641,
-0.040617406368255615,
0.06722253561019897,
0.05277350917458534,
0.059433888643980026,
-0.013229772448539734,
-0.031136371195316315,
-0.018689101561903954,
-0.04265555366873741,
0.03927076980471611,
0.03150032460689545,
-0.0357586033642292,
-0.06835079193115234,
0.011491886340081692,
-0.07475640624761581,
-0.027369434013962746,
-0.0036895961966365576,
-0.07701292634010315,
0.06103529408574104,
-0.010108856484293938,
-0.07046173512935638,
0.022510631009936333,
0.008179893717169762,
0.02565884403884411,
0.008916903287172318,
0.038178905844688416,
0.02463977038860321,
0.014958560466766357,
-0.05262792855501175,
0.09309975057840347,
0.02909822203218937,
-0.003919342998415232,
-0.012601950205862522,
-0.0030617734882980585,
0.05277350917458534,
0.021436963230371475,
0.0463315024971962,
-0.03604976460337639,
-0.006132645532488823,
-0.021600743755698204,
0.008807716891169548,
-0.005459328647702932,
-0.04076298698782921,
0.013666518963873386,
0.015277021564543247,
-0.05823283642530441,
-0.00864848680794239,
0.030827008187770844,
0.0019369242945685983,
-0.016059525310993195,
0.022437840700149536,
0.0204542838037014,
0.03297434374690056,
-0.028206530958414078,
0.015231526456773281,
-0.01850712299346924,
0.004299221094697714,
-0.09259021282196045,
-0.01956259459257126,
-0.02740583010017872,
0.02447598986327648,
-0.04913395643234253,
-0.02671431377530098,
-0.020891031250357628,
0.03785134479403496,
0.038506463170051575,
-0.022237665951251984,
0.06966103613376617,
-0.02580442652106285,
0.08465598523616791,
0.01489486824721098,
-0.03004450537264347,
-0.047459762543439865,
0.011519183404743671,
-0.02130957879126072,
0.053501419723033905,
-0.062236346304416656,
-0.011519183404743671,
0.04953430965542793,
-0.04600394144654274,
0.004126342479139566,
-0.00027623632922768593,
-0.040253449231386185,
0.0030162790790200233,
-0.034794121980667114,
0.01507684588432312,
0.023766277357935905,
0.017387961968779564,
0.019908351823687553,
0.00013086749822832644,
0.0006465892074629664,
-0.03843367472290993,
-0.0036532008089125156,
0.012092412449419498,
-0.030881602317094803,
0.013739310204982758,
0.009499231353402138,
0.03190067782998085,
0.07377372682094574,
0.007652158848941326,
0.05426572635769844,
0.04611312970519066,
0.0380697175860405,
-0.0487700030207634,
0.012419972568750381,
-0.08130759745836258,
0.027733389288187027,
0.01674194075167179,
0.010327230207622051,
-0.027478620409965515,
0.05888795852661133,
0.009663011878728867,
-0.026950884610414505,
-0.011637468822300434,
0.040253449231386185,
-0.005886976141482592,
0.00904883723706007,
0.056413061916828156,
-0.017606334760785103,
0.015677371993660927,
0.0380697175860405,
0.006246381904929876,
0.02352970652282238,
0.04611312970519066,
0.0560855008661747,
0.024403199553489685,
0.04935232922434807,
0.04058101028203964,
-0.012092412449419498,
-0.04018065705895424,
0.02554965764284134,
-0.021000217646360397,
-0.006310074124485254,
-0.05149966478347778,
0.05761411413550377,
-0.008261783979833126,
-0.04447533190250397,
-0.020072130486369133,
-0.08123481273651123,
-0.03339289128780365,
0.018889276310801506,
0.013056893832981586,
-0.04010786861181259,
0.055575963109731674,
-0.00943553913384676,
-0.015832053497433662,
0.06707695126533508,
-0.029007231816649437,
-0.014458121731877327,
0.0345393531024456,
0.025458669289946556,
-0.023038366809487343,
0.0731550008058548,
0.001636661239899695,
-0.005263702478259802,
0.040253449231386185,
0.012492763809859753,
-0.02491273544728756,
-0.025476867333054543,
-0.005072626285254955,
-0.0274968184530735,
-0.00784323550760746,
0.04254636913537979,
-0.03554023057222366,
-0.017224181443452835,
0.021764522418379784,
-0.0675864890217781,
0.02596820704638958,
0.028916243463754654,
0.006551194470375776,
0.014876670204102993,
0.03592238202691078,
-0.010936855338513851,
0.011810347437858582,
0.005354691296815872,
0.022547027096152306,
-0.059069935232400894,
-0.026150183752179146,
-0.018561717122793198,
0.04487568140029907,
-0.016223303973674774,
0.010445515625178814,
0.03930716589093208,
0.016887523233890533,
-0.005536668933928013,
-0.03401161730289459,
-0.08138038963079453,
0.009139825589954853,
-0.026423150673508644,
0.00932635273784399,
0.09914140403270721,
0.03843367472290993,
-0.06438367813825607,
-0.05004384368658066,
-0.022437840700149536,
0.020017538219690323,
-0.020581668242812157,
0.054556891322135925,
0.004533517640084028,
-0.025367680937051773,
0.00048138765851035714,
-0.031118173152208328,
0.03730541095137596,
-0.012884015217423439,
-0.041782062500715256,
0.03401161730289459,
0.031300149857997894,
-0.0010605882853269577,
-0.03375684842467308,
-0.0172696765512228,
0.0050271316431462765,
0.0009235364268533885,
-0.010245339944958687,
-0.03180968761444092,
-0.07009778171777725,
0.004242353141307831,
0.024821747094392776,
0.07912386953830719,
0.028861651197075844,
-0.02846129983663559,
-0.029771538451313972,
-0.015222427435219288,
-0.007720400579273701,
-0.01671464368700981,
-0.02940758317708969,
0.021691732108592987,
0.026150183752179146,
0.004831505939364433,
0.06016179919242859,
0.00703798420727253,
0.013220674358308315,
-0.005450229626148939,
0.0512085035443306,
0.0044493526220321655,
0.020545274019241333,
-0.003805606858804822,
0.032883357256650925,
-0.025313086807727814,
0.058742374181747437,
-0.024366803467273712,
-0.02682350017130375,
-0.03566761314868927,
0.006382864899933338,
-0.02507651597261429,
0.021746326237916946,
0.04207322373986244,
-0.04334706813097,
-0.003362036542966962,
0.025094714015722275,
-0.03150032460689545,
0.027969960123300552,
0.045712776482105255,
0.037596575915813446,
-0.01298410352319479,
0.018889276310801506,
0.022183071821928024,
0.007652158848941326,
-0.01557728461921215,
-0.030463052913546562,
-0.0033802343532443047,
-0.013866694644093513,
-0.03843367472290993,
0.051062919199466705,
-0.0019585341215133667,
-0.02887984737753868,
0.07912386953830719,
0.010791272856295109,
0.002829751931130886,
0.009517429396510124,
-0.030917998403310776,
0.033101730048656464,
-0.04054461419582367,
-0.018334245309233665,
0.05131768807768822,
-0.07737688720226288,
0.010645690374076366,
0.06558473408222198,
0.013411750085651875,
-0.013029597699642181,
0.03311992809176445,
0.0038033323362469673,
0.041782062500715256,
-0.0041195182129740715,
0.024039244279265404,
0.04298311471939087,
0.010245339944958687,
0.04731418192386627,
0.021291380748152733,
-0.012620148248970509,
0.020800041034817696,
-0.04298311471939087,
0.03284696117043495,
-0.07825037837028503,
0.04527603089809418,
-0.009417342022061348,
0.06860556453466415,
-0.05888795852661133,
-0.050808150321245193,
0.02389366179704666,
-0.07122603803873062,
-0.04786011204123497,
0.022819994017481804,
-0.037596575915813446,
-0.010636592283844948,
-0.02300197072327137,
-0.046768248081207275,
-0.01263834536075592,
0.00914437510073185,
-0.07297302782535553,
0.0029958065133541822,
-0.012538257986307144,
-0.03150032460689545,
-0.002340687206014991,
-0.09935978055000305,
0.0014171507209539413,
-0.03221003711223602,
-0.02574983239173889,
-0.027751587331295013,
0.033320102840662,
-0.008202641271054745,
0.049679890275001526,
-0.0020324625074863434,
0.0025294888764619827,
0.03970751538872719,
-0.021345974877476692,
0.034521155059337616,
-0.01590484380722046,
-0.015995832160115242,
0.003889771644026041,
-0.02818833291530609,
0.03191887587308884,
-0.008143498562276363,
0.006173590663820505,
0.007747697178274393,
0.010900459252297878,
-0.061399247497320175,
0.03284696117043495,
0.033465683460235596,
-0.07752246409654617,
-0.058960746973752975,
0.011373600922524929,
-0.03688686341047287,
0.028279321268200874,
-0.012601950205862522,
0.034794121980667114,
-0.04349265247583389,
0.014194253832101822,
0.03557662293314934,
0.016468973830342293,
0.0019517099717631936,
-0.03959833085536957,
-0.0035576624795794487,
0.05321025475859642,
0.030353866517543793,
0.011000546626746655,
0.04371102526783943,
0.005987063515931368,
0.0031118171755224466,
-0.04684104025363922,
-0.02485814318060875,
0.012574653141200542,
0.018889276310801506,
-0.005759591702371836,
-0.10583817958831787,
0.046549875289201736,
0.019908351823687553,
-0.035048890858888626,
-0.01407596841454506,
0.055030032992362976,
0.05273711308836937,
0.03737820312380791,
0.03364766016602516,
-0.004494847264140844,
-0.013939485885202885,
-0.03228282928466797,
0.022874586284160614,
0.032573994249105453,
0.0231657512485981,
-0.0030799712985754013,
-0.0075338734313845634,
0.014239748939871788,
-0.05139048025012016,
-0.09084323048591614,
0.006492051761597395,
0.03439376875758171,
-0.001306826830841601,
-0.03446656093001366,
-0.05972505360841751,
0.06514798849821091,
0.023038366809487343,
0.026368556544184685,
0.0472777858376503,
0.031664106994867325,
0.03634092956781387,
-0.022819994017481804,
-0.01790659688413143,
0.02713286317884922,
0.005627657752484083,
0.011928632855415344,
-0.06412891298532486,
-0.002752411412075162,
0.048042092472314835,
0.014103265479207039,
-0.010172548703849316,
0.012620148248970509,
0.007347346283495426,
-0.028843453153967857,
0.07115324586629868,
0.06616706401109695,
0.005250054411590099,
-0.007028885651379824,
-0.018962068483233452,
0.005868778098374605,
0.003955738618969917,
-0.035594820976257324,
0.03619534894824028,
0.003064048243686557,
0.046877436339855194
] |
719,710
|
ibm_platform_services.iam_identity_v1
|
get_claim_rule
|
Get a claim rule for a trusted profile.
A specific claim rule can be fetched for a given trusted profile ID and rule ID.
:param str profile_id: ID of the trusted profile.
:param str rule_id: ID of the claim rule to get.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileClaimRule` object
|
def get_claim_rule(
self,
profile_id: str,
rule_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get a claim rule for a trusted profile.
A specific claim rule can be fetched for a given trusted profile ID and rule ID.
:param str profile_id: ID of the trusted profile.
:param str rule_id: ID of the claim rule to get.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileClaimRule` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not rule_id:
raise ValueError('rule_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_claim_rule',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id', 'rule-id']
path_param_values = self.encode_path_vars(profile_id, rule_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/rules/{rule-id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, rule_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04078384116292,
0.06835400313138962,
-0.016686733812093735,
0.003613673150539398,
-0.012374430894851685,
-0.004620323423296213,
-0.007602328900247812,
-0.0161778274923563,
0.0006272033206187189,
-0.03335560858249664,
-0.014490405097603798,
0.031677115708589554,
0.020284781232476234,
-0.0017119748517870903,
0.017070643603801727,
0.019784804433584213,
0.029284367337822914,
0.007896958850324154,
0.030212897807359695,
0.013695798814296722,
0.027802294120192528,
0.019195545464754105,
0.008963873609900475,
-0.014624327421188354,
0.020641908049583435,
0.030570022761821747,
0.02408817782998085,
-0.02794514410197735,
0.01049058884382248,
0.0422123447060585,
0.012660132721066475,
0.03437342122197151,
0.006745225749909878,
0.03360559791326523,
-0.050676241517066956,
-0.008258548565208912,
-0.0030891436617821455,
0.006044364999979734,
-0.1498502492904663,
0.059675827622413635,
-0.07728216052055359,
0.07549653202295303,
0.08842450380325317,
0.015588569454848766,
-0.07956776767969131,
-0.04085526615381241,
-0.004647107794880867,
-0.02212398312985897,
-0.04010529816150665,
-0.041462380439043045,
-0.003707418916746974,
-0.004443991929292679,
-0.010722720995545387,
0.0017220190493389964,
-0.028248701244592667,
-0.04928344860672951,
-0.10442376881837845,
-0.055033184587955475,
0.0014073014026507735,
0.039569608867168427,
0.030855724588036537,
-0.04128381609916687,
-0.018249161541461945,
-0.028052281588315964,
0.0005875846254639328,
-0.05856873467564583,
-0.029480786994099617,
-0.011624465696513653,
0.013624373823404312,
-0.03789111599326134,
0.025373833253979683,
0.024873856455087662,
0.06549698859453201,
0.0031605688855051994,
0.039212483912706375,
-0.08735312521457672,
0.032766349613666534,
-0.08242478221654892,
0.046676427125930786,
0.044069401919841766,
0.0012588707031682134,
-0.0019150904845446348,
-0.010874500498175621,
0.0012198099866509438,
-0.006102398037910461,
0.024641724303364754,
0.045819323509931564,
-0.04185521975159645,
-0.05928298830986023,
-0.012383359484374523,
0.034801971167325974,
-0.010678080841898918,
-0.02958792634308338,
-0.013401169329881668,
0.021141884848475456,
0.014356482774019241,
0.0009140204638242722,
0.05128335580229759,
-0.04178379476070404,
0.01483860332518816,
-0.01865985617041588,
-0.02633807435631752,
-0.020213356241583824,
0.02799871377646923,
0.07613936066627502,
0.018177736550569534,
0.03781969100236893,
0.029570069164037704,
-0.001506627188064158,
0.05035482719540596,
-0.0007282031583599746,
-0.04728354141116142,
-0.06903254240751266,
0.018766993656754494,
0.05867587402462959,
0.020516913384199142,
-0.014499333687126637,
0.0005457338411360979,
-0.02842726558446884,
-0.003731971373781562,
-0.0027163929771631956,
-0.03810539096593857,
-0.002827994991093874,
-0.029998620972037315,
-0.03549836948513985,
0.0028235309291630983,
-0.0298914834856987,
0.025338120758533478,
0.08206765353679657,
0.01341902557760477,
-0.04685498774051666,
-0.003553408198058605,
-0.02714161016047001,
-0.006410419475287199,
-0.025213126093149185,
0.015186801552772522,
0.03206995502114296,
0.013258319348096848,
0.06424704939126968,
0.008740670047700405,
0.02001693658530712,
0.013981499709188938,
-0.000712578825186938,
-0.03978388383984566,
-0.04935487359762192,
-0.03469483554363251,
-0.011436974629759789,
0.013588661327958107,
-0.0011528488248586655,
-0.015186801552772522,
0.022606104612350464,
-0.00683897128328681,
0.0094995629042387,
0.00187714584171772,
0.0787820965051651,
-0.007021998520940542,
0.01672244630753994,
0.006075613666325808,
-0.005870265886187553,
-0.002421763725578785,
-0.0223382581025362,
0.02401675283908844,
0.0015278315404430032,
-0.0379982516169548,
0.015784988179802895,
-0.028195131570100784,
-0.0158207006752491,
-0.013195822015404701,
0.022820379585027695,
-0.02633807435631752,
-0.05056910216808319,
-0.06663979589939117,
-0.016356391832232475,
0.02342749387025833,
-0.04464080557227135,
-0.02328464388847351,
0.013115468434989452,
0.003024414647370577,
-0.05917585268616676,
0.016383174806833267,
0.018606288358569145,
-0.03601619973778725,
-0.005798840429633856,
-0.0018224609084427357,
-0.014267201535403728,
0.044355105608701706,
-0.007521975785493851,
0.03503410518169403,
0.002006604103371501,
0.012713701464235783,
-0.012802982702851295,
0.009401354007422924,
-0.038641080260276794,
0.01309761218726635,
-0.029980763792991638,
-0.10706650465726852,
0.10235244035720825,
0.028105851262807846,
-0.04078384116292,
-0.05231902375817299,
0.01233871839940548,
0.0675683245062828,
-0.029623638838529587,
0.031319987028837204,
-0.00185482541564852,
-0.01944553479552269,
-0.008633531630039215,
0.04296230897307396,
-0.05399751663208008,
0.0015445718308910728,
-0.004856919404119253,
0.008124626241624355,
0.00013838650193065405,
-0.005240830592811108,
0.008700492791831493,
0.009901330806314945,
-0.01989194191992283,
0.009160293266177177,
-0.011374477297067642,
-0.02242754027247429,
-0.010820930823683739,
-0.07656791061162949,
-0.009588845074176788,
0.041748080402612686,
-0.016758158802986145,
0.03483768552541733,
0.015793917700648308,
0.0014407819835469127,
-0.0291772298514843,
-0.01294583361595869,
0.01541893370449543,
-0.03426628187298775,
0.02307036891579628,
-0.010722720995545387,
-0.0060800774954259396,
0.0318378210067749,
0.013981499709188938,
0.03226637467741966,
-0.010142390616238117,
0.0787820965051651,
0.04031957685947418,
-0.020141931250691414,
0.026748770847916603,
0.048069220036268234,
-0.013258319348096848,
0.08135340362787247,
0.03996244817972183,
-0.0011405725963413715,
-0.006294353399425745,
-0.04803350567817688,
-0.006767545826733112,
0.038712505251169205,
0.03598048910498619,
0.06549698859453201,
-0.03346274793148041,
-0.05371181666851044,
-0.028980810195207596,
-0.09713838994503021,
0.05435464531183243,
0.0016874223947525024,
-0.01407970953732729,
0.03155212104320526,
0.04846205934882164,
-0.05149763450026512,
-0.021802568808197975,
-0.015293939970433712,
-0.06849685311317444,
0.06992536038160324,
0.0291772298514843,
-0.02248110994696617,
0.011410189792513847,
-0.004870311822742224,
0.01274048537015915,
0.007968383841216564,
-0.0031650331802666187,
0.006597911007702351,
-0.013633301481604576,
0.09592416137456894,
0.014133279211819172,
-0.0007745179464109242,
-0.017043858766555786,
-0.00849068071693182,
-0.01127626746892929,
-0.004252036567777395,
-0.013820793479681015,
-0.07506797462701797,
0.016927793622016907,
0.0802105963230133,
-0.01624925248324871,
0.03598048910498619,
0.013052971102297306,
-0.03251636400818825,
-0.04881918430328369,
0.003209673799574375,
0.00214610667899251,
0.022159695625305176,
-0.0012253901222720742,
-0.03444484621286392,
0.07871066778898239,
0.00895494595170021,
-0.02799871377646923,
0.05999724194407463,
0.04039100185036659,
-0.04985485225915909,
-0.06556841731071472,
-0.050747666507959366,
0.006365778855979443,
-0.06146145984530449,
0.025141701102256775,
-0.0019630794413387775,
0.00467835646122694,
-0.027980856597423553,
0.007472870871424675,
0.032534219324588776,
-0.01443683635443449,
0.008963873609900475,
-0.03148069605231285,
0.00776303606107831,
0.05435464531183243,
0.045319344848394394,
0.000729877152480185,
-0.02155258134007454,
0.0720323994755745,
0.03192710503935814,
0.0348198264837265,
-0.031373556703329086,
-0.0037587557453662157,
0.03781969100236893,
0.03789111599326134,
0.009633486159145832,
-0.017043858766555786,
-0.017204565927386284,
0.006102398037910461,
-0.01334760058671236,
0.0005702862981706858,
-0.0026851443108171225,
0.012910121120512486,
0.005057803355157375,
0.012704772874712944,
0.06703263521194458,
0.027445167303085327,
-0.04346228763461113,
0.058747299015522,
0.003848037449643016,
0.00312932045198977,
0.0223382581025362,
0.01051737368106842,
-0.00986561831086874,
-0.0029529891908168793,
-0.018606288358569145,
0.026445213705301285,
-0.0794963464140892,
0.06042579561471939,
0.0390339195728302,
0.010660224594175816,
-0.04239090904593468,
-0.0499262772500515,
-0.017026003450155258,
-0.01077629067003727,
-0.009035298600792885,
-0.003767683869227767,
-0.029909338802099228,
-0.0291772298514843,
0.00924957450479269,
0.0009173685684800148,
-0.016499241814017296,
-0.0224989652633667,
0.00791035033762455,
-0.005955083295702934,
0.020909752696752548,
-0.05085480585694313,
-0.001195257529616356,
-0.003580192569643259,
-0.0024396199733018875,
-0.0028190668672323227,
0.003350292332470417,
-0.00592829892411828,
0.020927609875798225,
0.02733802981674671,
0.05135478079319,
-0.029909338802099228,
0.03451627120375633,
-0.0710681602358818,
0.03774826601147652,
-0.023106081411242485,
-0.028962954878807068,
-0.043426577001810074,
-0.004856919404119253,
-0.0195169597864151,
-0.0019173226319253445,
0.06110433489084244,
-0.005272079259157181,
0.04703355208039284,
-0.0991382971405983,
-0.02842726558446884,
0.01944553479552269,
-0.018624143674969673,
0.027516592293977737,
0.015097520314157009,
0.0026003269013017416,
-0.029855770990252495,
-0.01762419007718563,
0.06521128863096237,
0.04060527682304382,
-0.03083786740899086,
0.02467743679881096,
0.005428322125226259,
0.0072585949674248695,
-0.03498053550720215,
0.026784483343362808,
-0.01640995964407921,
-0.03814110532402992,
0.01291904877871275,
-0.026016661897301674,
0.017302775755524635,
0.01302618719637394,
0.02640950120985508,
0.01274048537015915,
-0.011463758535683155,
0.001195257529616356,
0.0295343566685915,
-0.06210428848862648,
-0.017275990918278694,
0.005178333260118961,
-0.039212483912706375,
-0.017945604398846626,
-0.011294123716652393,
0.06042579561471939,
-0.013436882756650448,
0.00044529204024001956,
0.06403277069330215,
0.015883198007941246,
-0.04264089837670326,
-0.03515909984707832,
-0.014463621191680431,
0.01074057724326849,
-0.036462608724832535,
0.0295343566685915,
0.02880224771797657,
-0.05131907016038895,
0.032677069306373596,
0.05246187373995781,
-0.013383313082158566,
0.023856045678257942,
-0.053568966686725616,
0.004178379196673632,
-0.02721303515136242,
-0.029212942346930504,
-0.039212483912706375,
0.001070821308530867,
0.030445029959082603,
0.020802615210413933,
0.02640950120985508,
0.017775967717170715,
-0.003510999260470271,
-0.04999770224094391,
-0.026302361860871315,
0.008629067800939083,
0.013776152394711971,
-0.02574881725013256,
-0.008620139211416245,
0.0033703807275742292,
-0.007919278927147388,
-0.0026717521250247955,
-0.028266558423638344,
0.03564121946692467,
0.015624281950294971,
0.0801391750574112,
-0.07117529958486557,
-0.026141654700040817,
-0.019409822300076485,
-0.0025043492205441,
-0.018106309697031975,
0.006847899407148361,
0.06267569214105606,
0.06060435622930527,
0.025338120758533478,
-0.01676708646118641,
-0.005048875231295824,
0.05692595615983009,
-0.01084771566092968,
-0.013544020242989063,
-0.052997563034296036,
0.004537737928330898,
0.03335560858249664,
-0.04510506987571716,
-0.008959409780800343,
0.04485508054494858,
-0.10778076201677322,
0.016526026651263237,
-0.0037498276215046644,
0.021141884848475456,
-0.03778397664427757,
0.015311796218156815,
-0.02112402953207493,
-0.0015735883498564363,
0.039283908903598785,
-0.04853348433971405,
0.013115468434989452,
-0.01676708646118641,
0.013704727403819561,
-0.07378232479095459,
0.030302178114652634,
0.03076644241809845,
-0.014222560450434685,
0.041033826768398285,
-0.11720889806747437,
0.05374753102660179,
-0.021784713491797447,
0.02155258134007454,
-0.004923881031572819,
0.07613936066627502,
-0.024552442133426666,
-0.0009034182876348495,
-0.008963873609900475,
0.038498230278491974,
0.03451627120375633,
0.042176634073257446,
-0.08499608933925629,
0.009963828139007092,
0.0481763556599617,
0.005999724380671978,
0.013392241671681404,
0.023677483201026917,
0.039069633930921555,
0.051104795187711716,
-0.02060619555413723,
-0.027159465476870537,
0.03960532322525978,
-0.0721038281917572,
0.012927977368235588,
0.01648138463497162,
-0.02264181710779667,
-0.0024954210966825485,
-0.020195500925183296,
-0.013177965767681599,
-0.053568966686725616,
-0.01167803443968296,
0.014222560450434685,
-0.013294031843543053,
0.03212352469563484,
0.004642643500119448,
-0.05378324165940285,
0.04289088398218155,
-0.03314133360981941,
-0.00792374275624752,
-0.008106769993901253,
0.010999494232237339,
0.021159742027521133,
0.020052649080753326,
0.013302959501743317,
-0.027088040485978127,
0.03285563364624977,
0.015231442637741566,
-0.0202312134206295,
0.057283081114292145,
0.05610456317663193,
-0.04703355208039284,
-0.019177690148353577,
-0.026588063687086105,
-0.007450550328940153,
-0.01367794256657362,
0.01648138463497162,
0.014856459572911263,
-0.014642183668911457,
-0.0003668916178867221,
0.07578223198652267,
0.08813880383968353,
-0.02351677604019642,
-0.053140413016080856,
-0.003673938335850835,
0.07085388898849487,
-0.024034610018134117,
-0.009669198654592037,
-0.03371273726224899,
-0.015927840024232864,
0.02939150668680668,
0.0028235309291630983,
0.03692687302827835,
0.07296093553304672,
-0.053068988025188446,
0.008794238790869713,
0.05360467731952667,
-0.009740623645484447,
-0.044069401919841766,
-0.008896912448108196,
-0.007218418177217245,
-0.007325556129217148,
0.01233871839940548,
-0.04731925204396248,
-0.03917676955461502,
-0.014392195269465446,
-0.023159649223089218,
-0.024927426129579544,
0.030570022761821747,
0.06942538172006607,
-0.007035390939563513,
-0.0017599636921659112,
-0.026873765513300896,
0.006834507454186678,
-0.013704727403819561,
-0.038712505251169205,
0.04464080557227135,
0.03223066031932831,
0.013374385423958302,
0.002526669530197978,
0.026070229709148407,
-0.032319944351911545,
-0.04003387317061424,
-0.0471406914293766,
-0.04039100185036659,
0.016338534653186798,
0.045962173491716385,
-0.010508445091545582,
0.06867541372776031,
-0.05471177026629448,
-0.04189093038439751,
0.024070322513580322,
-0.015561784617602825,
-0.017874177545309067,
0.056568827480077744,
-0.006472916807979345,
-0.04049813747406006,
0.07542510330677032,
0.002076913369819522,
0.037605416029691696,
0.03664117306470871,
-0.06596125662326813,
-0.043712276965379715,
-0.034052006900310516,
-0.007588936947286129,
0.05324755236506462,
0.002468636492267251,
-0.07406802475452423,
0.034712690860033035,
0.05099765583872795,
0.06028294190764427,
0.039426758885383606,
0.011320908553898335,
-0.013374385423958302,
-0.05392609164118767,
-0.008856736123561859,
-0.004100257996469736,
0.02112402953207493,
-0.023606058210134506,
0.010437020100653172,
-0.058747299015522,
-0.037676841020584106,
0.039926737546920776,
-0.008365686982870102,
-0.033623453229665756,
0.05174762010574341,
-0.01857057400047779,
0.03321275860071182,
0.07985347509384155,
0.004830135032534599,
0.07906779646873474,
-0.0059015145525336266,
-0.026248794049024582,
0.020052649080753326,
0.009321000427007675,
-0.02465958148241043,
0.01682065613567829,
-0.08392471075057983,
-0.012222652323544025,
-0.06453274935483932,
-0.007535367738455534,
-0.005124764516949654,
-0.002018880331888795,
0.020713333040475845,
0.012329790741205215,
0.04914059862494469,
-0.01994551159441471,
0.025855954736471176,
0.04031957685947418,
-0.012356574647128582,
-0.0015892126830294728,
-0.10492374747991562,
0.013820793479681015,
0.02705232799053192,
0.01284762378782034,
-0.035801924765110016,
-0.019838374108076096,
-0.011195913888514042,
-0.02176685631275177,
0.005812232848256826,
0.0767107605934143,
-0.04999770224094391,
-0.12477997690439224,
-0.02371319569647312,
0.030123615637421608,
-0.0446765162050724,
0.01835629902780056,
-0.03469483554363251,
0.01596355251967907,
-0.03460555151104927,
-0.03506981581449509,
0.05171190947294235,
-0.004307837691158056,
0.0414980910718441,
-0.04881918430328369,
-0.06146145984530449,
0.03380201756954193,
-0.028266558423638344,
-0.015133232809603214,
0.05392609164118767,
0.021016890183091164,
-0.01894555799663067,
0.019213402643799782,
-0.061497174203395844,
-0.04956914857029915,
0.07328234612941742,
0.06135432422161102,
-0.04935487359762192,
-0.024909568950533867,
-0.03431985154747963,
-0.061140045523643494,
0.02873082272708416,
-0.02032049372792244,
-0.012088729999959469,
0.08342473953962326,
0.04056956246495247,
0.008651387877762318,
-0.03571264445781708,
0.026784483343362808,
0.035426944494247437,
0.030230753123760223,
0.014820747077465057,
-0.015472503378987312,
-0.031373556703329086,
0.03796254098415375,
0.026588063687086105,
-0.026588063687086105,
-0.0012800750555470586,
-0.002908348338678479,
0.023338213562965393,
-0.0012934673577547073,
-0.07146099954843521,
0.05674739181995392,
-0.01218693982809782,
0.009365640580654144,
0.00950849149376154,
0.03731971234083176,
-0.026605919003486633,
-0.027463022619485855,
0.045676473528146744,
0.04946201294660568,
-0.01698136143386364,
0.05621170252561569,
-0.02539169043302536,
0.017275990918278694,
-0.0007209490286186337,
-0.003790004411712289,
0.027980856597423553,
0.0022666368167847395,
-0.006178287323564291,
-0.008780846372246742,
0.006553270388394594,
0.013481522910296917,
0.006102398037910461,
-0.0429265983402729,
0.05367610231041908,
-0.0035868887789547443,
0.01615104265511036,
-0.00405115308240056,
-0.005888122133910656,
0.023820333182811737,
-0.02837369590997696
] |
719,713
|
ibm_platform_services.iam_identity_v1
|
get_latest_account_settings_template_version
|
Get latest version of an account settings template.
Get the latest version of a specific account settings template in an enterprise
account.
:param str template_id: ID of the account settings template.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
|
def get_latest_account_settings_template_version(
self,
template_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get latest version of an account settings template.
Get the latest version of a specific account settings template in an enterprise
account.
:param str template_id: ID of the account settings template.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_latest_account_settings_template_version',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_templates/{template_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.038498733192682266,
-0.08080704510211945,
-0.0066484492272138596,
-0.023516828194260597,
-0.002809107070788741,
-0.008077041245996952,
-0.028681740164756775,
-0.016117451712489128,
-0.05150258541107178,
-0.014459919184446335,
0.024853844195604324,
-0.018681593239307404,
-0.06824275851249695,
-0.058059461414813995,
-0.027344724163413048,
0.040293630212545395,
0.03718003258109093,
0.016712699085474014,
0.04062330722808838,
-0.005979941226541996,
0.05523890629410744,
-0.03978080302476883,
-0.037088457494974136,
0.04311418533325195,
0.07677768170833588,
-0.037289924919605255,
0.0031777021940797567,
-0.01417603250592947,
0.025989392772316933,
0.018571700900793076,
-0.05018388479948044,
0.003695109160616994,
0.02413954772055149,
0.06414013355970383,
-0.06044044718146324,
-0.05538542941212654,
-0.019395889714360237,
0.04036689177155495,
-0.11201629787683487,
0.003541718702763319,
0.021483831107616425,
0.03450600057840347,
0.07392049580812454,
0.0016128899296745658,
0.012115562334656715,
-0.006163094192743301,
-0.006588924676179886,
-0.02630075253546238,
-0.05857228860259056,
-0.03456094488501549,
0.07773007452487946,
0.02181350626051426,
-0.022289704531431198,
-0.011675995774567127,
-0.031227564439177513,
0.007088016252964735,
0.01589766889810562,
-0.026355698704719543,
-0.028571847826242447,
-0.020421544089913368,
-0.022985685616731644,
-0.014734648168087006,
-0.035513341426849365,
-0.006776656024158001,
-0.015888512134552002,
-0.005403009708970785,
-0.02630075253546238,
0.0022390438243746758,
-0.008974490687251091,
-0.02076953463256359,
-0.030549898743629456,
0.02637401409447193,
0.031410716474056244,
-0.04849888011813164,
-0.020842796191573143,
-0.037289924919605255,
-0.006240934133529663,
-0.002041009720414877,
-0.05344400554895401,
0.013461736030876637,
-0.07058711349964142,
-0.052454981952905655,
0.012426922097802162,
0.0014137112302705646,
0.0006501926691271365,
-0.01511011179536581,
0.03703350946307182,
-0.06000088155269623,
0.03507377579808235,
0.048059314489364624,
-0.025623086839914322,
-0.015082638710737228,
-0.04996410384774208,
0.031099356710910797,
0.06780318915843964,
-0.013828041963279247,
0.03256458044052124,
-0.015604624524712563,
-0.005041282624006271,
0.006048623472452164,
-0.041392549872398376,
-0.07956160604953766,
-0.023938080295920372,
-0.024963736534118652,
0.0291029904037714,
-0.006240934133529663,
-0.030733050778508186,
0.032509636133909225,
0.021850137040019035,
-0.008077041245996952,
0.0248904749751091,
-0.008196091279387474,
-0.02591613121330738,
0.01779330149292946,
0.06117305904626846,
0.020806165412068367,
-0.06117305904626846,
0.021007634699344635,
0.03256458044052124,
-0.04399332031607628,
0.0439566895365715,
-0.01758267544209957,
-0.011071590706706047,
0.011245585978031158,
-0.0006158515461720526,
0.007101752329617739,
0.0005059597897343338,
-0.029139621183276176,
-0.0013656335650011897,
0.02227138914167881,
-0.08688772469758987,
0.010668654926121235,
-0.01720721274614334,
0.013608258217573166,
0.004528454504907131,
-0.006126463413238525,
-0.009272114373743534,
0.010833492502570152,
-0.02778428979218006,
0.03904819115996361,
0.011044117622077465,
0.04025699943304062,
0.03023853898048401,
-0.005902101285755634,
-0.03399317339062691,
-0.046740613877773285,
0.042344942688941956,
0.05274802818894386,
-0.017243843525648117,
-0.0004132386529818177,
0.0438101664185524,
-0.0017491099424660206,
-0.04399332031607628,
-0.02593444660305977,
-0.018745696172118187,
0.004729922860860825,
0.04329733923077583,
-0.014221820048987865,
0.023425251245498657,
-0.048352357000112534,
0.015284107066690922,
0.05641108378767967,
0.0739937573671341,
-0.036923617124557495,
0.004672687500715256,
0.0003605821984820068,
-0.024267755448818207,
-0.0240479726344347,
-0.0023603825829923153,
0.017829932272434235,
-0.02263769507408142,
0.02844364009797573,
-0.018095502629876137,
0.004654372110962868,
-0.0657152459025383,
0.026886841282248497,
0.042528096586465836,
-0.004931391216814518,
0.0031204670667648315,
0.03959764912724495,
-0.018086345866322517,
-0.07036732882261276,
-0.03441442549228668,
0.044029951095581055,
0.03208838403224945,
-0.012582601979374886,
0.04274788126349449,
0.05135606601834297,
-0.04293103143572807,
0.006772077176719904,
-0.015888512134552002,
-0.06329762935638428,
0.052821286022663116,
-0.005384694319218397,
-0.06758341193199158,
-0.0759718120098114,
0.02124573290348053,
-0.0775102972984314,
0.04190537706017494,
0.04948790371417999,
-0.013086272403597832,
-0.07142961770296097,
0.02199666015803814,
-0.017390364781022072,
0.044396255165338516,
0.03518366441130638,
0.03023853898048401,
-0.09230904281139374,
-0.01956072635948658,
0.01571451686322689,
-0.0183427594602108,
-0.016639437526464462,
-0.02639232762157917,
0.012353661470115185,
-0.057876307517290115,
0.00958805251866579,
0.03031180053949356,
-0.004615452140569687,
-0.012976380996406078,
-0.03089788928627968,
0.006584345828741789,
-0.026538850739598274,
-0.01740868017077446,
0.023645035922527313,
-0.013031326234340668,
0.005091649945825338,
-0.006923178676515818,
0.036172691732645035,
-0.07604507356882095,
-0.025623086839914322,
0.05868218094110489,
0.021666985005140305,
0.07773007452487946,
-0.006474453955888748,
-0.02957918867468834,
-0.04945127293467522,
0.007559634745121002,
-0.028590163215994835,
0.04201526939868927,
0.02247285656630993,
0.01459728367626667,
0.06362731009721756,
0.09487318992614746,
0.04194200783967972,
-0.05527553707361221,
-0.031209249049425125,
-0.04098961129784584,
0.013205321505665779,
0.009203432127833366,
-0.07787659764289856,
0.01917610503733158,
-0.06062360107898712,
0.008594448678195477,
0.0531509630382061,
0.027875866740942,
-0.04593474045395851,
0.0454951710999012,
-0.031099356710910797,
0.018086345866322517,
-0.012619232758879662,
-0.02750956080853939,
0.002708373125642538,
-0.04923149198293686,
-0.07454321533441544,
-0.03157555311918259,
-0.07282157987356186,
-0.02600770816206932,
0.03133745491504669,
0.0010308072669431567,
0.06608155369758606,
0.04351712018251419,
0.027124939486384392,
-0.025659717619419098,
0.010604551061987877,
-0.04622778296470642,
-0.004040810279548168,
0.0496344268321991,
-0.03210669755935669,
-0.028590163215994835,
-0.04948790371417999,
-0.07388386875391006,
-0.03694193437695503,
0.031099356710910797,
0.04003721848130226,
0.050476931035518646,
0.007907625287771225,
-0.02461574599146843,
-0.02170361578464508,
0.028132280334830284,
0.03688698634505272,
0.019780509173870087,
0.022692641243338585,
-0.02197834476828575,
-0.044139839708805084,
-0.07655789703130722,
-0.026355698704719543,
-0.018416021019220352,
-0.03956101834774017,
0.08571553975343704,
0.01398372184485197,
-0.012884804047644138,
-0.019505780190229416,
-0.023168837651610374,
-0.018956322222948074,
-0.0215204618871212,
0.002719820011407137,
0.016996586695313454,
0.007316957227885723,
0.0548359677195549,
0.03791264444589615,
-0.012701651081442833,
0.013022169470787048,
-0.0026030601002275944,
-0.008328876458108425,
-0.08498293161392212,
-0.020916057750582695,
0.018599173054099083,
-0.026648743078112602,
0.025586456060409546,
0.020842796191573143,
-0.06915852427482605,
0.04175885394215584,
0.0006576332962140441,
-0.0001850130211096257,
0.023809872567653656,
-0.026227490976452827,
-0.013223636895418167,
-0.012417764402925968,
0.014569810591638088,
0.02946929633617401,
-0.00029876810731366277,
-0.005036703776568174,
0.019121158868074417,
0.03443273901939392,
-0.012646705843508244,
-0.007935098372399807,
0.013113745488226414,
-0.0011183772003278136,
0.0012351371115073562,
0.05776641517877579,
0.05981772765517235,
-0.05205204710364342,
-0.009162222035229206,
-0.01844349317252636,
0.006946072448045015,
0.00814114511013031,
0.07721725106239319,
0.038242317736148834,
-0.0023649614304304123,
-0.037582967430353165,
-0.03126419335603714,
-0.04274788126349449,
0.019029583781957626,
0.038315579295158386,
-0.0032532529439777136,
-0.05996425077319145,
0.008786759339272976,
0.044506147503852844,
0.016236502677202225,
0.010036776773631573,
-0.07479963451623917,
-0.0404401533305645,
-0.03454263135790825,
0.013699834235012531,
-0.014872012659907341,
-0.017426995560526848,
0.016630280762910843,
-0.02846195548772812,
-0.002306581474840641,
-0.04707028716802597,
-0.041795484721660614,
0.02020176127552986,
0.05527553707361221,
-0.027930812910199165,
0.009936043061316013,
-0.004024784080684185,
-0.10190625488758087,
0.005929574370384216,
-0.009441530331969261,
-0.028480270877480507,
0.04417647048830986,
-0.009299586527049541,
0.017051532864570618,
0.0028411587700247765,
-0.02247285656630993,
0.006176830735057592,
0.017710883170366287,
-0.04359038174152374,
0.008576133288443089,
-0.000059953945310553536,
0.00022879800235386938,
0.01464307215064764,
-0.04256472736597061,
-0.0067583411000669,
-0.016053348779678345,
0.03294920176267624,
0.022967370226979256,
0.029524242505431175,
0.05212530493736267,
-0.007010175846517086,
0.04948790371417999,
0.02921288274228573,
0.051136281341314316,
0.0025687189772725105,
-0.008768443949520588,
-0.04388342797756195,
0.0173079464584589,
-0.018507597967982292,
-0.028223857283592224,
-0.07120983302593231,
0.006570609286427498,
-0.031044410541653633,
-0.05710706487298012,
-0.019414203241467476,
0.0026923471596091986,
0.08527597784996033,
-0.024194493889808655,
0.06139283999800682,
-0.05362715944647789,
-0.0014297370798885822,
0.02862679399549961,
0.021941713988780975,
0.007376481778919697,
-0.014020351693034172,
-0.032344795763492584,
0.017710883170366287,
-0.04424973204731941,
-0.0052931178361177444,
-0.047583114355802536,
0.004381932318210602,
0.03723497688770294,
-0.04611789435148239,
0.00521985674276948,
0.023443566635251045,
0.047583114355802536,
0.0210625808686018,
0.046923764050006866,
0.039267975836992264,
-0.041209395974874496,
0.005975362379103899,
0.021264048293232918,
0.02153877727687359,
0.026831895112991333,
-0.011795044876635075,
-0.02163035422563553,
0.022051606327295303,
-0.007202486507594585,
-0.07197907567024231,
0.0074543217197060585,
-0.008063305169343948,
-0.02078785002231598,
0.02741798385977745,
-0.011062433011829853,
-0.016227344051003456,
-0.022967370226979256,
-0.06025729328393936,
-0.017811616882681847,
0.013177849352359772,
0.009844467043876648,
-0.019249366596341133,
-0.0033585657365620136,
0.01398372184485197,
0.05014725401997566,
-0.00809077825397253,
0.011758414097130299,
-0.08688772469758987,
0.0462644137442112,
-0.005160332191735506,
-0.02172193117439747,
0.015741989016532898,
0.0145514952018857,
-0.00045616511488333344,
-0.05036703869700432,
0.09516622871160507,
0.040476784110069275,
0.004260593559592962,
0.03472578525543213,
-0.004826078191399574,
-0.05421324819326401,
-0.01043971348553896,
0.0033288034610450268,
0.05809608846902847,
-0.02181350626051426,
-0.0019368416396901011,
0.033077407628297806,
-0.059011854231357574,
0.008315140381455421,
-0.014954431913793087,
-0.007527582813054323,
-0.00690486328676343,
-0.0245058536529541,
-0.00442543113604188,
-0.037491392344236374,
0.0464109368622303,
-0.042051900178194046,
-0.03985406458377838,
-0.007124646566808224,
0.01946914941072464,
0.06300459057092667,
0.0027152413967996836,
0.01985377073287964,
-0.04014710709452629,
0.043370600789785385,
-0.0039583914913237095,
0.004807762801647186,
0.05813271924853325,
0.009606367908418179,
0.025055311620235443,
0.022289704531431198,
0.02509194239974022,
-0.02282084710896015,
0.0261175986379385,
-0.03941449895501137,
0.039341237396001816,
0.032985832542181015,
0.03739981725811958,
-0.06699731945991516,
-0.016346393153071404,
0.0320151224732399,
0.008585290983319283,
-0.0023168837651610374,
0.053956836462020874,
0.018883060663938522,
-0.0031021516770124435,
0.04073319956660271,
0.028480270877480507,
-0.06278480589389801,
-0.04296766221523285,
-0.0039011561311781406,
0.056960541754961014,
-0.027674399316310883,
-0.01131884753704071,
-0.019872086122632027,
0.012719966471195221,
-0.027308093383908272,
-0.06300459057092667,
-0.09142991155385971,
0.03313235566020012,
-0.1027853935956955,
0.0012557418085634708,
-0.04945127293467522,
-0.009743732400238514,
-0.028571847826242447,
-0.05512901395559311,
-0.006914020981639624,
-0.018580857664346695,
0.0015671016881242394,
0.023187153041362762,
-0.05670413002371788,
-0.021575408056378365,
0.0387551486492157,
-0.028223857283592224,
0.051319435238838196,
0.014606441371142864,
-0.035788070410490036,
0.07025744020938873,
-0.053590528666973114,
-0.003823316190391779,
0.0008522332063876092,
-0.00967962946742773,
0.02937771938741207,
-0.00869976170361042,
0.00842961110174656,
0.021373940631747246,
-0.0342312715947628,
0.013342686928808689,
0.03399317339062691,
0.0396709106862545,
-0.007362745236605406,
0.022601064294576645,
-0.016978271305561066,
0.06337089091539383,
-0.016346393153071404,
-0.04051341488957405,
-0.003365434007719159,
-0.002367250854149461,
0.05080660432577133,
0.00967962946742773,
0.10469017922878265,
0.09326144307851791,
0.01229871530085802,
-0.04915823042392731,
0.1027853935956955,
-0.040843088179826736,
0.029267828911542892,
0.06611818820238113,
0.025568140670657158,
0.03765622898936272,
0.014423288404941559,
0.012179666198790073,
-0.016529547050595284,
0.04798605293035507,
0.00997267384082079,
-0.0005858030053786933,
0.01693248189985752,
0.056667499244213104,
-0.002399302553385496,
-0.06117305904626846,
0.007848100736737251,
-0.04904833808541298,
-0.013928775675594807,
0.03631921485066414,
0.018544228747487068,
0.018507597967982292,
0.030952835455536842,
0.003214332740753889,
-0.001129251904785633,
0.006707973778247833,
-0.002751871943473816,
-0.02386481873691082,
0.029927179217338562,
-0.05175900086760521,
0.02247285656630993,
-0.034597575664520264,
0.050220515578985214,
0.051978785544633865,
-0.004395668860524893,
0.02921288274228573,
-0.021373940631747246,
-0.01890137605369091,
0.02311389148235321,
0.09795015305280685,
-0.010183299891650677,
0.04128265753388405,
-0.047033656388521194,
0.07648463547229767,
0.04446951672434807,
0.011208955198526382,
-0.05036703869700432,
0.04633767530322075,
-0.00025612785248085856,
0.025036998093128204,
0.012307872995734215,
0.035055458545684814,
-0.0020661933813244104,
0.01127305906265974,
0.05505575239658356,
0.010632024146616459,
0.03853536397218704,
-0.004606294445693493,
0.02078785002231598,
-0.03078799694776535,
0.017353734001517296,
0.058059461414813995,
-0.013241952285170555,
0.079341821372509,
-0.011447054333984852,
-0.0018452651565894485,
-0.04036689177155495,
0.0018418310210108757,
-0.03230816498398781,
0.012069773860275745,
-0.06512916088104248,
-0.0032051752787083387,
-0.042344942688941956,
-0.018287813290953636,
0.0405866764485836,
0.03816905617713928,
-0.019047899171710014,
0.014954431913793087,
-0.016822591423988342,
-0.01627313159406185,
-0.01713395118713379,
-0.049927473068237305,
0.02789418213069439,
-0.0006370285991579294,
-0.06025729328393936,
0.011914093978703022,
0.033828336745500565,
-0.015586309134960175,
0.05454292520880699,
-0.021300679072737694,
-0.04117276519536972,
0.022234758362174034,
-0.00594331044703722,
0.01183167565613985,
-0.04967105761170387,
0.04388342797756195,
-0.04930475354194641,
-0.015430629253387451,
0.12564286589622498,
0.013132060877978802,
-0.010045934468507767,
0.023095576092600822,
-0.026264121755957603,
-0.07509267330169678,
0.02038491517305374,
0.059854358434677124,
-0.026355698704719543,
0.009624683298170567,
-0.03959764912724495,
-0.03646573796868324,
-0.03472578525543213,
-0.04446951672434807,
0.06589840352535248,
-0.036374159157276154,
-0.025989392772316933,
0.036374159157276154,
0.01786656305193901,
-0.04153906926512718,
0.00012420053826645017,
-0.044762562960386276,
-0.031209249049425125,
0.07311462610960007,
-0.020513121038675308,
0.028297118842601776,
0.00608525425195694,
-0.0462644137442112,
-0.00023194594541564584,
0.00573268486186862,
-0.014817067421972752,
0.025952761992812157,
0.06978124380111694,
-0.0017502546543255448,
-0.0008545226301066577,
0.05813271924853325,
-0.019139474257826805,
0.012875646352767944,
0.04190537706017494,
0.06146610155701637,
-0.015238318592309952,
0.01937757432460785,
-0.019670618698000908,
-0.007170435041189194,
0.029963809996843338,
0.010384767316281796,
0.0316305011510849,
0.061246320605278015,
-0.028590163215994835,
0.0039263395592570305,
0.014963589608669281,
-0.042161788791418076,
-0.013461736030876637,
-0.03353529050946236,
0.05439640209078789,
0.03386496379971504,
-0.0210625808686018,
-0.001085180789232254,
-0.007033070083707571,
0.03633752837777138,
-0.0039263395592570305,
0.018773168325424194,
-0.023809872567653656,
0.00021520462178159505,
-0.03780275210738182,
0.000044357337174005806,
0.017720039933919907,
0.0012694783508777618,
0.013992879539728165,
-0.028407009318470955,
0.013031326234340668,
-0.008356349542737007,
0.031209249049425125,
-0.026465589180588722,
0.020824480801820755,
-0.009162222035229206,
-0.006781234871596098,
0.03426790237426758,
0.014606441371142864,
0.05109965056180954,
0.040952980518341064,
-0.04370027408003807,
0.020439859479665756,
0.011639364995062351,
-0.018745696172118187,
0.009533107280731201,
0.009487318806350231,
0.019066214561462402
] |
719,714
|
ibm_platform_services.iam_identity_v1
|
get_latest_profile_template_version
|
Get latest version of a trusted profile template.
Get the latest version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
|
def get_latest_profile_template_version(
self,
template_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get latest version of a trusted profile template.
Get the latest version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_latest_profile_template_version',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_templates/{template_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.018723130226135254,
-0.07818369567394257,
-0.005873833317309618,
-0.02256283350288868,
-0.013941783457994461,
-0.01950935460627079,
-0.015495949424803257,
0.011482544243335724,
-0.03274719417095184,
-0.011208279989659786,
0.035416699945926666,
-0.010458623059093952,
-0.08184055238962173,
-0.05170802026987076,
-0.019216805696487427,
0.021849745884537697,
0.059497132897377014,
0.003442020621150732,
0.03523385897278786,
-0.031924400478601456,
0.06300771981477737,
-0.02457410842180252,
-0.04183449223637581,
0.009041589684784412,
0.062166642397642136,
-0.04124939441680908,
0.019216805696487427,
-0.03331400454044342,
0.01673928275704384,
0.02391587197780609,
-0.041651651263237,
0.02301994152367115,
0.02651224471628666,
0.05609625205397606,
-0.062166642397642136,
-0.021740039810538292,
-0.043736059218645096,
0.029986262321472168,
-0.11562995612621307,
0.007149163633584976,
0.001241047284565866,
0.036916013807058334,
0.04706380516290665,
0.007085168734192848,
0.009992373175919056,
-0.0017564361914992332,
-0.026804793626070023,
-0.04494282603263855,
-0.05657164379954338,
-0.024263273924589157,
0.045930176973342896,
0.028194399550557137,
-0.006216664332896471,
-0.004589360672980547,
-0.024171853438019753,
-0.029035478830337524,
-0.0021701185032725334,
-0.03000454604625702,
-0.02956572361290455,
0.018202027305960655,
0.005608710926026106,
-0.029273174703121185,
-0.030406801030039787,
0.00848848931491375,
-0.015532518737018108,
-0.02453753910958767,
-0.013777225278317928,
0.005741272121667862,
-0.023970725014805794,
-0.02258111909031868,
-0.015020557679235935,
0.019472787156701088,
0.024062147364020348,
-0.02764587104320526,
0.031467292457818985,
-0.05218341201543808,
-0.014298327267169952,
-0.03457562252879143,
-0.0460033155977726,
0.026201410219073296,
-0.04801458865404129,
-0.06955350190401077,
0.01579764112830162,
-0.0004028261173516512,
-0.0000720658790669404,
-0.0014901709510013461,
0.07193046063184738,
-0.07854937762022018,
0.004849912133067846,
0.06154497712850571,
-0.027956703677773476,
0.005978967994451523,
-0.05346331372857094,
0.01950935460627079,
0.08257193118333817,
-0.006454360205680132,
0.029766850173473358,
0.016821561381220818,
0.005211027339100838,
-0.0006336654769256711,
-0.009183293208479881,
-0.04640556871891022,
-0.029858272522687912,
-0.0120402155444026,
0.05170802026987076,
0.027554450556635857,
-0.004511652514338493,
0.05298791825771332,
0.035837240517139435,
0.016428450122475624,
0.010824309661984444,
-0.048782531172037125,
-0.026621950790286064,
0.010897446423768997,
0.0680907592177391,
-0.008941025473177433,
-0.008424494415521622,
0.03261920437216759,
0.028998909518122673,
-0.03525214269757271,
0.03598351404070854,
-0.02605513669550419,
-0.01569707691669464,
-0.016492445021867752,
-0.06856615096330643,
-0.005101321265101433,
0.007555989548563957,
-0.0181288905441761,
0.005850978195667267,
0.021977735683321953,
-0.07207673788070679,
-0.007766259368509054,
-0.027133909985423088,
0.04530851170420647,
0.0009484983747825027,
-0.028633223846554756,
-0.015889061614871025,
0.011263133026659489,
0.012533891946077347,
0.04695409908890724,
-0.013384112156927586,
0.026621950790286064,
0.01817459985613823,
0.02784699946641922,
-0.031924400478601456,
-0.038470178842544556,
0.026365969330072403,
0.05613281950354576,
0.003608864964917302,
-0.014554307796061039,
0.04055459052324295,
-0.009608402848243713,
-0.03594694659113884,
-0.052695371210575104,
0.01928994245827198,
-0.014499454759061337,
0.04838027432560921,
-0.06878556311130524,
0.017799772322177887,
-0.04249272868037224,
0.018458006903529167,
0.025780871510505676,
0.04995272681117058,
-0.023385627195239067,
-0.01294528879225254,
-0.02256283350288868,
-0.01031234860420227,
0.009073587134480476,
-0.01637359708547592,
0.036532044410705566,
-0.009663255885243416,
0.028797782957553864,
-0.009425560012459755,
0.026347685605287552,
-0.011528255417943,
0.012625313363969326,
0.05829036980867386,
-0.00238153082318604,
-0.04062772914767265,
0.029218321666121483,
-0.0068520437926054,
-0.07412457466125488,
-0.04358978569507599,
0.027737293392419815,
0.018604282289743423,
-0.00350830121897161,
0.03857988491654396,
0.05686419457197189,
-0.023623323068022728,
0.02956572361290455,
-0.054048411548137665,
-0.04958703741431236,
0.022727392613887787,
0.03022395819425583,
-0.03706228733062744,
-0.05024527385830879,
0.030626213178038597,
-0.028102979063987732,
0.03152214363217354,
0.010924872942268848,
-0.04267556965351105,
-0.036952584981918335,
0.01687641441822052,
-0.038470178842544556,
0.00818679854273796,
0.029675429686903954,
-0.0049321916885674,
-0.040262043476104736,
-0.03887243568897247,
-0.01819288544356823,
-0.00004978188007953577,
-0.009233574382960796,
-0.016190752387046814,
0.0329117514193058,
-0.04209047183394432,
0.0012124780332669616,
0.03501444682478905,
-0.016154184937477112,
-0.016172468662261963,
-0.018677419051527977,
0.04578390344977379,
-0.03397224098443985,
-0.02475695125758648,
0.02936459518969059,
-0.023093078285455704,
0.02830410562455654,
-0.009133011102676392,
0.0372268483042717,
-0.062130074948072433,
-0.02475695125758648,
0.07496565580368042,
0.006966320797801018,
0.06322713196277618,
0.010120363906025887,
-0.056461937725543976,
-0.04406517744064331,
-0.004029403906315565,
-0.013438965193927288,
0.028230968862771988,
0.04029861092567444,
0.021813178434967995,
0.05814409255981445,
0.09281113743782043,
0.03662346675992012,
-0.03687944635748863,
-0.043955471366643906,
-0.022965088486671448,
0.0010810595704242587,
0.007917104288935661,
-0.046113021671772,
0.017461512237787247,
-0.03269233927130699,
0.0241352841258049,
0.04958703741431236,
0.028121262788772583,
-0.03261920437216759,
0.06022850424051285,
-0.045747336000204086,
0.03265577182173729,
0.0033071739599108696,
-0.033862534910440445,
-0.0006725196726620197,
-0.05657164379954338,
-0.059972524642944336,
-0.07591643929481506,
-0.08900800347328186,
-0.033441998064517975,
0.04717351123690605,
-0.014590876176953316,
0.04907507821917534,
0.028212685137987137,
0.00931585393846035,
-0.03355170041322708,
-0.0147920036688447,
-0.02565288171172142,
-0.03748282790184021,
0.025323763489723206,
0.0007599414675496519,
-0.0068703279830515385,
-0.05342674255371094,
-0.06589663773775101,
-0.02936459518969059,
0.027974989265203476,
0.03634919971227646,
0.05192742869257927,
-0.0009313568589277565,
-0.035434987396001816,
-0.03161356598138809,
0.00915586668998003,
-0.00003462233507889323,
0.028834350407123566,
0.02150234393775463,
-0.02764587104320526,
-0.045052532106637955,
-0.10012485831975937,
-0.028121262788772583,
-0.04183449223637581,
-0.023312490433454514,
0.09039761126041412,
0.010010657832026482,
-0.03199753537774086,
0.0063995071686804295,
-0.017324380576610565,
-0.04209047183394432,
-0.023275921121239662,
-0.017699208110570908,
-0.013064136728644371,
-0.031174741685390472,
0.023952441290020943,
0.014435459859669209,
0.00204669963568449,
0.005905830767005682,
-0.006577779073268175,
-0.010586613789200783,
-0.0789882019162178,
0.013347543776035309,
0.03250949829816818,
-0.04710037261247635,
0.03241807594895363,
0.035818956792354584,
-0.04973331466317177,
0.03989635780453682,
0.047027237713336945,
0.04077400267124176,
0.03773880749940872,
-0.0636659562587738,
-0.024062147364020348,
-0.019198521971702576,
0.006362938787788153,
0.0175346489995718,
-0.01029406487941742,
-0.016629576683044434,
0.039969492703676224,
0.03382596746087074,
-0.0017427229322493076,
0.0030237671453505754,
0.0006273802719078958,
0.0030740490183234215,
0.002061555627733469,
0.048307135701179504,
0.03993292525410652,
-0.07540448009967804,
0.01739751733839512,
-0.0021232650615274906,
0.012698451057076454,
0.014627445489168167,
0.06666458398103714,
0.022471413016319275,
0.02278224565088749,
-0.043992042541503906,
-0.0459667444229126,
-0.030315380543470383,
0.0219045989215374,
0.04589360952377319,
-0.013685802929103374,
-0.06838330626487732,
-0.01424347423017025,
0.03161356598138809,
0.003944838885217905,
0.013457249850034714,
-0.06962663680315018,
-0.029053762555122375,
-0.03358827158808708,
0.00995580479502678,
-0.022617686539888382,
-0.01787290908396244,
0.04143223911523819,
-0.03236322104930878,
-0.04124939441680908,
-0.009087299928069115,
-0.0724058523774147,
0.008374212309718132,
0.019180238246917725,
-0.015303964726626873,
-0.004456799477338791,
-0.02651224471628666,
-0.06684742122888565,
0.01007465273141861,
-0.01757121831178665,
-0.019436217844486237,
0.02890748903155327,
0.013630950823426247,
-0.0023129647597670555,
0.0021952595561742783,
-0.014380606822669506,
0.011720240116119385,
-0.004411088768392801,
-0.032783761620521545,
0.016327885910868645,
-0.02519577369093895,
0.006509213242679834,
-0.01182994619011879,
-0.022489696741104126,
-0.03250949829816818,
0.014206905849277973,
0.020972099155187607,
0.010248353704810143,
0.03658689558506012,
0.04764890298247337,
-0.006586921401321888,
0.04582047089934349,
0.03711714223027229,
0.055803701281547546,
0.017022689804434776,
-0.028797782957553864,
-0.043918903917074203,
0.046113021671772,
-0.043955471366643906,
-0.035617828369140625,
-0.04914821684360504,
0.01325612235814333,
-0.023787882179021835,
-0.07547761499881744,
-0.0068383305333554745,
0.02521405927836895,
0.11431348323822021,
-0.03642233833670616,
0.078841932117939,
-0.061691250652074814,
0.025744304060935974,
0.04135910049080849,
0.02106352150440216,
-0.00635379645973444,
0.004205390345305204,
-0.04497939348220825,
0.032344937324523926,
-0.05529174208641052,
-0.016327885910868645,
-0.03554469347000122,
0.00701660243794322,
0.04728321731090546,
-0.047466058284044266,
0.005000757984817028,
0.031485576182603836,
0.059533700346946716,
0.012780730612576008,
0.024190137162804604,
0.05002586171030998,
-0.03382596746087074,
0.01815631613135338,
0.04801458865404129,
0.02347704954445362,
0.010449481196701527,
0.024427833035588264,
-0.009836956858634949,
0.015532518737018108,
-0.04450400173664093,
-0.06633546203374863,
0.007304580416530371,
0.006696627009660006,
0.006655487697571516,
0.001870713080279529,
-0.00039939783164300025,
-0.0016673002392053604,
0.0042099617421627045,
-0.052549097687006,
-0.01437146496027708,
0.04300468787550926,
0.013676661066710949,
-0.03133930265903473,
-0.028157832100987434,
0.015925630927085876,
0.06297115236520767,
-0.007880535908043385,
0.007071455474942923,
-0.11109544336795807,
0.013868646696209908,
-0.022215431556105614,
-0.04358978569507599,
0.02058812975883484,
0.018960826098918915,
-0.014728008769452572,
-0.04077400267124176,
0.08805721998214722,
0.043918903917074203,
0.03044337034225464,
0.008579910732805729,
-0.012341907247900963,
-0.03770224004983902,
-0.006326369941234589,
-0.023074794560670853,
0.036458905786275864,
-0.010851736180484295,
-0.00042568150092847645,
0.03744626045227051,
-0.05565742775797844,
-0.007258869707584381,
-0.008451920934021473,
0.005668134894222021,
-0.00651835510507226,
-0.023733029142022133,
0.04252929612994194,
-0.017598645761609077,
0.06092330813407898,
-0.06845644116401672,
-0.04443086311221123,
0.0017107253661379218,
-0.01954592391848564,
0.0680176168680191,
0.01991160959005356,
0.04051802307367325,
-0.02693278342485428,
0.09032447636127472,
0.005105892661958933,
0.027773860841989517,
0.07518506795167923,
0.03397224098443985,
0.025506608188152313,
0.002987198531627655,
0.043077826499938965,
-0.019363081082701683,
0.01932651177048683,
-0.012195632793009281,
0.04296812042593956,
0.0029026337433606386,
0.032984890043735504,
-0.02038700133562088,
0.038909003138542175,
0.022837098687887192,
0.009165008552372456,
0.009462128393352032,
0.049001939594745636,
0.0011604820610955358,
-0.012799014337360859,
0.04095684736967087,
0.012552176602184772,
-0.05803439021110535,
-0.027938419952988625,
0.013402396813035011,
0.04870939254760742,
-0.016126757487654686,
0.018503718078136444,
-0.015066268853843212,
-0.026603665202856064,
-0.05280507728457451,
-0.0746365413069725,
-0.10158760845661163,
-0.008753611706197262,
-0.048343706876039505,
-0.02278224565088749,
-0.009210719726979733,
0.0013941783690825105,
-0.042017336934804916,
-0.009101013652980328,
-0.012808156199753284,
-0.02828582189977169,
-0.029328027740120888,
0.04095684736967087,
-0.061947230249643326,
-0.01932651177048683,
0.045527923852205276,
-0.029053762555122375,
0.032783761620521545,
0.008991307578980923,
-0.044211454689502716,
0.0941276103258133,
-0.025342049077153206,
-0.0030351949390023947,
-0.031065037474036217,
0.007336577866226435,
0.015194258652627468,
-0.012643598020076752,
0.02605513669550419,
0.0016832989640533924,
-0.03371626138687134,
0.02916346862912178,
0.023531902581453323,
0.0350692979991436,
-0.025524891912937164,
-0.007587986998260021,
0.025817440822720528,
0.06962663680315018,
-0.032088957726955414,
-0.021319501101970673,
-0.011217421852052212,
0.0002909775939770043,
0.05083037167787552,
0.03137587010860443,
0.13179327547550201,
0.08805721998214722,
0.013411538675427437,
-0.009827814996242523,
0.12257798761129379,
-0.05152517557144165,
0.0028409240767359734,
0.04143223911523819,
0.01996646262705326,
0.030534790828824043,
0.03901870921254158,
-0.011546539142727852,
-0.03898214176297188,
0.008483918383717537,
0.00977296195924282,
-0.002772358013316989,
0.02737160585820675,
0.06509213149547577,
-0.0003485445922706276,
-0.03700743615627289,
0.0009462128509767354,
-0.04271214082837105,
-0.012680166400969028,
0.05653507634997368,
0.033423710614442825,
0.021410923451185226,
0.017022689804434776,
-0.04772203788161278,
-0.019875040277838707,
0.028157832100987434,
-0.017351806163787842,
-0.029547439888119698,
0.04410174861550331,
-0.005937828682363033,
0.0016021623741835356,
-0.04578390344977379,
0.04764890298247337,
0.05313419550657272,
-0.015258253552019596,
0.041322533041238785,
-0.03331400454044342,
-0.031065037474036217,
0.01522168517112732,
0.056425370275974274,
-0.02497636340558529,
0.05938742682337761,
-0.03024224191904068,
0.04779517650604248,
0.050976645201444626,
0.008424494415521622,
-0.03265577182173729,
0.025287196040153503,
-0.005828122608363628,
0.013100705109536648,
0.030351947993040085,
0.002573516219854355,
0.02715219557285309,
0.013411538675427437,
0.06534811109304428,
0.0021964022889733315,
0.01415205281227827,
0.0065640658140182495,
-0.02056984417140484,
-0.030095968395471573,
0.006065818481147289,
0.04805115610361099,
-0.028432097285985947,
0.07935389131307602,
-0.021740039810538292,
0.008666761219501495,
0.01821116916835308,
-0.002365532098338008,
-0.02018587477505207,
0.015925630927085876,
-0.026804793626070023,
0.008163942955434322,
-0.04143223911523819,
-0.02561631239950657,
0.05613281950354576,
0.034996163100004196,
-0.018522001802921295,
0.011007152497768402,
0.0180740375071764,
-0.02896234206855297,
0.008858746849000454,
-0.03766567260026932,
0.04124939441680908,
-0.018458006903529167,
-0.05320733040571213,
-0.01249732356518507,
0.0057641277089715,
-0.02144749090075493,
0.042858414351940155,
0.015623940154910088,
-0.0208075400441885,
0.015514234080910683,
0.012780730612576008,
-0.03157699853181839,
-0.043772630393505096,
0.0035631542559713125,
-0.048965372145175934,
0.005485292058438063,
0.12111524492502213,
0.018183743581175804,
-0.022635972127318382,
0.00664177443832159,
-0.06022850424051285,
-0.05459693819284439,
0.043772630393505096,
0.06911467760801315,
-0.05785154551267624,
-0.018101463094353676,
-0.040883708745241165,
-0.04728321731090546,
-0.018421439453959465,
-0.0394575335085392,
0.0372634157538414,
-0.040006063878536224,
-0.03731827065348625,
0.02892577275633812,
0.0008010811870917678,
-0.034063663333654404,
-0.017141537740826607,
-0.03022395819425583,
-0.03587380796670914,
0.07299095392227173,
-0.04234645515680313,
0.06381222605705261,
0.015806782990694046,
-0.04135910049080849,
0.024647245183587074,
-0.03720856457948685,
-0.005631566513329744,
-0.0014673155965283513,
0.09741878509521484,
-0.012442470528185368,
0.023586755618453026,
0.05192742869257927,
-0.025323763489723206,
0.03400880843400955,
0.06827359646558762,
0.024062147364020348,
0.00853877142071724,
0.025031214579939842,
-0.027682440355420113,
-0.008163942955434322,
0.0120402155444026,
0.03261920437216759,
0.059753112494945526,
0.0041322531178593636,
-0.02344048023223877,
-0.00037254273775033653,
0.01992989331483841,
-0.02386101894080639,
-0.011391122825443745,
-0.053170762956142426,
0.045930176973342896,
0.010540902614593506,
-0.01839401200413704,
-0.01140026468783617,
0.008877030573785305,
0.0037117141764611006,
-0.01489256788045168,
0.027901850640773773,
-0.020953815430402756,
-0.008515915833413601,
-0.04092027619481087,
0.003044337034225464,
0.05061095952987671,
-0.025744304060935974,
0.04055459052324295,
-0.024482686072587967,
0.033222585916519165,
0.002264968352392316,
-0.0025278052780777216,
-0.047466058284044266,
0.025780871510505676,
0.0018032897496595979,
0.005101321265101433,
0.02128293178975582,
-0.02216057851910591,
0.01119913812726736,
0.02892577275633812,
-0.04117625951766968,
0.030516507104039192,
-0.016821561381220818,
-0.025323763489723206,
0.026786508038640022,
-0.01291786227375269,
0.027243616059422493
] |
719,715
|
ibm_platform_services.iam_identity_v1
|
get_link
|
Get link to a trusted profile.
Get a specific link to a trusted profile by `link_id`.
:param str profile_id: ID of the trusted profile.
:param str link_id: ID of the link.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileLink` object
|
def get_link(
self,
profile_id: str,
link_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get link to a trusted profile.
Get a specific link to a trusted profile by `link_id`.
:param str profile_id: ID of the trusted profile.
:param str link_id: ID of the link.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileLink` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not link_id:
raise ValueError('link_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_link',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id', 'link-id']
path_param_values = self.encode_path_vars(profile_id, link_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/links/{link-id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, link_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.03428998962044716,
0.03899863362312317,
-0.041066739708185196,
0.022970784455537796,
-0.0007380333845503628,
0.013959737494587898,
-0.037502944469451904,
0.00015623342187609524,
0.023820187896490097,
0.012242468073964119,
-0.018317539244890213,
0.01533539965748787,
0.045166030526161194,
-0.016083242371678352,
0.012574843131005764,
0.0021719762589782476,
0.009740425273776054,
-0.02322929911315441,
0.06281881779432297,
0.0012671785661950707,
0.017911303788423538,
0.07134976983070374,
-0.027273191139101982,
-0.013294988311827183,
0.018492959439754486,
0.03694898635149002,
0.01852989010512829,
-0.017458904534578323,
0.014190553687512875,
0.05037323385477066,
-0.004579384811222553,
-0.0037946111988276243,
0.006458225194364786,
0.058978043496608734,
-0.017975931987166405,
0.005359542090445757,
-0.040549714118242264,
0.006961403414607048,
-0.1777096688747406,
0.05317995324730873,
-0.07194066047668457,
0.048969872295856476,
0.0559866726398468,
0.03377296403050423,
-0.023118507117033005,
-0.020699558779597282,
-0.034585434943437576,
-0.01485530287027359,
-0.0938035249710083,
-0.055211130529642105,
0.00029328028904274106,
-0.006633644923567772,
-0.003665354335680604,
0.011356135830283165,
-0.07607687264680862,
-0.047492653131484985,
-0.06392673403024673,
-0.010414407588541508,
-0.015501586720347404,
0.05366005003452301,
0.03281277045607567,
-0.06252337247133255,
-0.008867941796779633,
0.012039350345730782,
-0.004006961826235056,
-0.04571998864412308,
-0.058350224047899246,
0.00971272774040699,
-0.014846069738268852,
0.021641286090016365,
0.050114717334508896,
0.04003268480300903,
0.011725440621376038,
0.03231420740485191,
0.028676550835371017,
-0.03914635255932808,
0.01842833124101162,
-0.05295836925506592,
-0.011596184223890305,
-0.032351136207580566,
-0.01078371237963438,
-0.03395761549472809,
0.015917055308818817,
-0.0008961422136053443,
-0.000824012269731611,
0.025777503848075867,
0.062301792204380035,
-0.04102981090545654,
-0.03733675926923752,
0.023173902183771133,
0.025629783049225807,
0.03480701893568039,
-0.005027167499065399,
-0.03100317344069481,
0.024835776537656784,
0.025629783049225807,
0.002365861553698778,
-0.01387664396315813,
0.014024365693330765,
0.011125319637358189,
-0.013451943174004555,
-0.07312243431806564,
-0.045830778777599335,
0.04217465594410896,
0.050114717334508896,
0.008087784051895142,
0.031224757432937622,
-0.00818934291601181,
0.011319205164909363,
0.056836072355508804,
0.015695471316576004,
-0.0690600797533989,
0.02542666532099247,
0.0058904183097183704,
0.02585136517882347,
0.004630164243280888,
0.027771752327680588,
0.02033025212585926,
-0.011706975288689137,
-0.0005955046508461237,
-0.03988496586680412,
0.009934310801327229,
0.00892795342952013,
-0.042396239936351776,
-0.036265771836042404,
-0.04224851727485657,
-0.0341791994869709,
-0.007958527654409409,
0.04882214963436127,
0.006158164702355862,
-0.01200241968035698,
-0.016166336834430695,
0.00563190458342433,
0.04117753356695175,
-0.020404113456606865,
0.015409260056912899,
-0.06071377918124199,
0.03977417200803757,
0.05369697883725166,
0.05221975967288017,
-0.020441044121980667,
-0.0005383777897804976,
-0.007169137708842754,
-0.0004521103692241013,
-0.008507869206368923,
-0.04752958193421364,
0.05066867545247078,
0.013285755179822445,
0.03080005571246147,
-0.05484182760119438,
0.055691227316856384,
-0.06857997924089432,
0.021345842629671097,
0.0757075697183609,
0.007086044177412987,
-0.029784467071294785,
-0.014892233535647392,
-0.012657936662435532,
-0.02298925071954727,
-0.0014587556943297386,
0.011605416424572468,
-0.0021015775855630636,
0.028104128316044807,
-0.015363097190856934,
0.0031137047335505486,
-0.05199817568063736,
0.0038638559635728598,
-0.011531556025147438,
0.0477142333984375,
-0.0193331278860569,
-0.002439722651615739,
-0.025352803990244865,
-0.026645371690392494,
-0.006966019980609417,
-0.01190086081624031,
0.004632472526282072,
0.0699094757437706,
-0.037927646189928055,
-0.026165274903178215,
-0.045350681990385056,
-0.009435748681426048,
-0.049449969083070755,
-0.011199180968105793,
0.00785696879029274,
-0.02322929911315441,
0.014513695612549782,
0.027014676481485367,
-0.0267561636865139,
-0.0024143329355865717,
-0.022786132991313934,
-0.005567276384681463,
-0.0024097166024148464,
-0.028454966843128204,
0.026442253962159157,
-0.03142787516117096,
-0.06060298904776573,
0.06108308583498001,
-0.02594369277358055,
-0.03501013666391373,
-0.015870891511440277,
-0.01927773281931877,
0.015159979462623596,
-0.039552588015794754,
-0.011873163282871246,
0.04553533345460892,
-0.020016342401504517,
0.03648735582828522,
0.02289692312479019,
0.022121382877230644,
0.009638866409659386,
-0.014587556011974812,
-0.01200241968035698,
0.013627362437546253,
0.022693805396556854,
-0.004039275925606489,
0.056023601442575455,
-0.010497501119971275,
0.0113099729642272,
0.006098152603954077,
-0.029544418677687645,
0.053401537239551544,
-0.11145631968975067,
0.024115631356835365,
0.031501736491918564,
0.03238806873559952,
-0.010479035787284374,
0.04328257218003273,
-0.008498636074364185,
-0.016544874757528305,
-0.042063865810632706,
0.04889601096510887,
-0.004704025108367205,
-0.054214008152484894,
-0.007658467162400484,
-0.03604419156908989,
-0.041879214346408844,
0.013812015764415264,
0.005087179597467184,
-0.025075824931263924,
0.004018502309918404,
0.010617525316774845,
0.03526864945888519,
0.021031932905316353,
0.07138670235872269,
-0.03460390120744705,
0.028362641111016273,
-0.005613439250737429,
0.009412666782736778,
-0.02852882817387581,
-0.07644618302583694,
0.029101252555847168,
0.00024379914975725114,
0.05465717241168022,
0.03589646890759468,
-0.019314663484692574,
-0.02343241684138775,
-0.004697100725024939,
-0.04409504309296608,
-0.015446190722286701,
0.008863325230777264,
-0.01250098180025816,
-0.009204932488501072,
-0.06732434034347534,
-0.021068863570690155,
-0.00871560350060463,
-0.04679097235202789,
-0.004122369457036257,
0.06115694344043732,
0.038740117102861404,
0.010395942255854607,
0.08494020253419876,
0.012417888268828392,
-0.021438168361783028,
0.02524201199412346,
-0.008373996242880821,
0.02732858620584011,
0.009777355939149857,
0.029064321890473366,
-0.032443463802337646,
-0.014181320555508137,
-0.05388163402676582,
-0.032018762081861496,
0.016507944092154503,
0.026368392631411552,
0.01251944713294506,
-0.0543617308139801,
0.017126530408859253,
0.05912576615810394,
-0.032923560589551926,
-0.005474950186908245,
0.03395761549472809,
-0.004233160987496376,
-0.03929407522082329,
0.021493563428521156,
0.00454707071185112,
0.007413802202790976,
-0.021881334483623505,
0.025980623438954353,
0.03519478812813759,
-0.008258587680757046,
0.01081141084432602,
0.012362492270767689,
0.03903556242585182,
-0.027827149257063866,
-0.03966338187456131,
-0.04243316873908043,
0.053216882050037384,
-0.056873004883527756,
0.04472286254167557,
0.03067079931497574,
-0.007173753809183836,
-0.00355917913839221,
0.032498858869075775,
0.05543271452188492,
-0.06629028916358948,
-0.010063567198812962,
0.022361431270837784,
0.04210079461336136,
-0.015252306126058102,
0.03962644934654236,
-0.0378168560564518,
0.0005357810878194869,
0.0724576860666275,
0.035785675048828125,
0.04291326552629471,
-0.01155002135783434,
-0.007875434122979641,
0.017818976193666458,
0.0021038856357336044,
-0.01581549644470215,
0.009163386188447475,
-0.016683364287018776,
-0.0017311181873083115,
-0.006070454604923725,
-0.04860056936740875,
0.02952595241367817,
-0.003270659362897277,
-0.01785590685904026,
0.013415012508630753,
0.03933100774884224,
0.008032388985157013,
-0.06595791131258011,
0.036025725305080414,
0.017975931987166405,
0.00465324567630887,
0.023118507117033005,
0.02476191520690918,
-0.041731491684913635,
-0.014993792399764061,
-0.0033791428431868553,
0.003129861783236265,
-0.02252761833369732,
0.05066867545247078,
0.06315119564533234,
0.01480913907289505,
-0.03674586862325668,
-0.03550869598984718,
0.003995420876890421,
-0.023007715120911598,
0.01138383336365223,
-0.034880880266427994,
0.012704099528491497,
-0.01069138664752245,
-0.00012298152432776988,
0.04313484951853752,
-0.017689719796180725,
-0.03067079931497574,
0.04136218503117561,
0.02708853781223297,
0.00025346456095576286,
-0.03484394773840904,
-0.05210896581411362,
-0.0063520497642457485,
0.012833356857299805,
0.05757468566298485,
-0.030319958925247192,
-0.02038564905524254,
0.019887086004018784,
0.019222337752580643,
0.025777503848075867,
0.027014676481485367,
-0.015695471316576004,
-0.02099500223994255,
0.031834110617637634,
0.031317081302404404,
-0.014209018088877201,
0.04819433018565178,
-0.056503698229789734,
0.01785590685904026,
-0.00880792923271656,
0.011734673753380775,
-0.031686387956142426,
-0.018769938498735428,
-0.01052519865334034,
0.03155713155865669,
-0.016831085085868835,
-0.014910698868334293,
0.021881334483623505,
-0.027347052469849586,
0.023506278172135353,
0.012990311719477177,
0.027107004076242447,
-0.002301233122125268,
0.03137248009443283,
-0.013544268906116486,
-0.06100922450423241,
0.04184228181838989,
-0.008147796615958214,
-0.000319679849781096,
0.04228544980287552,
-0.007866200990974903,
0.010700618848204613,
-0.044353555887937546,
-0.01852065697312355,
0.025297407060861588,
0.0706850215792656,
-0.017597394064068794,
0.016157103702425957,
-0.08405386656522751,
-0.006882925983518362,
0.049597691744565964,
-0.04165763035416603,
-0.07411956042051315,
0.009721959941089153,
-0.051444217562675476,
-0.040401991456747055,
-0.022970784455537796,
0.05037323385477066,
0.03004297986626625,
0.013045706786215305,
0.07541212439537048,
-0.019056148827075958,
-0.00472479872405529,
-0.037078242748975754,
0.01738504320383072,
0.02642378956079483,
-0.041066739708185196,
-0.010672921314835548,
0.020847279578447342,
-0.0419900044798851,
-0.008697138167917728,
0.004590925760567188,
-0.01900075376033783,
-0.02804873138666153,
-0.029784467071294785,
-0.05672528222203255,
-0.006015059072524309,
-0.0113099729642272,
-0.0324803963303566,
0.0015106891514733434,
0.04642166569828987,
0.020034808665513992,
0.07109125703573227,
-0.022841528058052063,
-0.022970784455537796,
-0.07046343386173248,
-0.04228544980287552,
0.03757680580019951,
-0.020034808665513992,
0.017588160932064056,
-0.012251701205968857,
-0.04077129811048508,
-0.062449514865875244,
-0.006453608628362417,
0.024595728144049644,
0.03526864945888519,
-0.01951778121292591,
0.023395486176013947,
-0.0805824026465416,
0.001388356788083911,
0.0012117828009650111,
0.015058420598506927,
-0.02204752154648304,
0.06566246598958969,
0.06654880195856094,
0.031261686235666275,
-0.01981322467327118,
-0.01957317627966404,
-0.02009020373225212,
0.004581693094223738,
-0.00957423821091652,
-0.02904585562646389,
0.00007494299643440172,
0.023783257231116295,
0.053069159388542175,
-0.008784848265349865,
0.016960343345999718,
0.07112818956375122,
-0.04834205284714699,
0.015150747261941433,
0.01299954392015934,
0.05450944975018501,
-0.04213772714138031,
0.03694898635149002,
-0.08590039610862732,
-0.034216128289699554,
-0.0048471312038600445,
-0.061637040227651596,
0.011420764029026031,
0.01951778121292591,
0.058645669370889664,
-0.050631746649742126,
0.041694559156894684,
-0.020699558779597282,
0.035637952387332916,
0.06994640827178955,
-0.06056605651974678,
0.056836072355508804,
-0.04919145628809929,
0.01595398597419262,
-0.029064321890473366,
0.0632619857788086,
0.009601935744285583,
0.017301950603723526,
0.030061446130275726,
0.028122592717409134,
0.00427470775321126,
0.0428394079208374,
-0.016166336834430695,
-0.015520052053034306,
0.04195307195186615,
0.047123346477746964,
0.003062925301492214,
0.008983349427580833,
0.01737581007182598,
0.03774299472570419,
-0.0543617308139801,
-0.0021188887767493725,
0.03881397843360901,
0.028639620169997215,
0.019960947334766388,
0.03519478812813759,
-0.07105432450771332,
-0.06038140505552292,
-0.0000652415183139965,
-0.03851853683590889,
-0.05314302071928978,
-0.031409408897161484,
-0.003499167039990425,
0.013599664904177189,
0.04509216919541359,
-0.04014347866177559,
-0.07345481216907501,
0.0058119408786296844,
-0.033403657376766205,
-0.003538405755534768,
0.05724231153726578,
0.03851853683590889,
0.018456028774380684,
-0.041214462369680405,
0.019628573209047318,
-0.028011800721287727,
0.029359765350818634,
0.0329420268535614,
-0.0559128113090992,
0.018059024587273598,
-0.023746326565742493,
-0.07777567952871323,
0.019222337752580643,
-0.014135157689452171,
-0.06337277591228485,
-0.000420950265834108,
-0.017985165119171143,
0.011005295440554619,
0.020791884511709213,
0.016277126967906952,
0.047972749918699265,
0.055248063057661057,
-0.030449215322732925,
-0.016701828688383102,
-0.0049025267362594604,
0.045166030526161194,
-0.11965489387512207,
-0.0008522872230969369,
-0.03176024928689003,
0.012547144666314125,
0.013461175374686718,
0.010082032531499863,
0.0789574608206749,
0.08663900941610336,
-0.03403147682547569,
0.05739003047347069,
0.07844042778015137,
-0.004517064429819584,
-0.0189084280282259,
-0.03233267366886139,
-0.022693805396556854,
-0.04379960149526596,
0.07253154367208481,
-0.00873406883329153,
-0.048969872295856476,
-0.013775085099041462,
-0.06514544039964676,
-0.08412773162126541,
0.006652110256254673,
0.054398659616708755,
-0.0038730886299163103,
-0.01918540708720684,
-0.019794760271906853,
0.004985620733350515,
-0.0019030759576708078,
-0.033255934715270996,
0.017606627196073532,
0.034548502415418625,
0.00007054306479403749,
-0.004009269643574953,
-0.004597850143909454,
0.002437414601445198,
-0.06787829846143723,
-0.046310875564813614,
-0.031317081302404404,
0.0394417978823185,
-0.0034322303254157305,
-0.014818372204899788,
0.016175568103790283,
-0.054398659616708755,
-0.028584225103259087,
0.022435292601585388,
-0.005068714264780283,
0.00233816378749907,
0.06329891830682755,
-0.047788094729185104,
-0.04634780436754227,
0.07290085405111313,
-0.04379960149526596,
0.013645827770233154,
0.0460892915725708,
-0.01054366398602724,
-0.040882088243961334,
0.003896170062944293,
-0.007889282889664173,
0.021456632763147354,
0.022915389388799667,
-0.047492653131484985,
0.06100922450423241,
-0.02838110737502575,
0.07592915743589401,
-0.003981572110205889,
0.005419554188847542,
0.02751323953270912,
-0.025260478258132935,
0.018114421516656876,
-0.04527682065963745,
0.05465717241168022,
-0.038777049630880356,
0.0774063766002655,
-0.00847555510699749,
-0.056540630757808685,
0.05469410493969917,
0.015981683507561684,
-0.03198183327913284,
0.05956893414258957,
0.032166484743356705,
-0.015150747261941433,
0.03272044286131859,
-0.05871953070163727,
0.06769365072250366,
0.02204752154648304,
-0.05945814028382301,
0.02971060574054718,
0.04627394303679466,
-0.02219524420797825,
0.03936793655157089,
-0.08649128675460815,
-0.02132737636566162,
-0.02237989753484726,
-0.018557587638497353,
0.028122592717409134,
0.01497532706707716,
0.012242468073964119,
0.036025725305080414,
0.060639917850494385,
-0.015178444795310497,
0.006056605838239193,
0.026165274903178215,
-0.008720220066606998,
-0.016932643949985504,
-0.07212530821561813,
0.02947055734694004,
0.00736763933673501,
0.012436353601515293,
-0.027107004076242447,
-0.021862870082259178,
0.04804661124944687,
-0.05450944975018501,
-0.044168904423713684,
0.0790313184261322,
-0.027679426595568657,
-0.1150755062699318,
0.016341757029294968,
0.006393596529960632,
-0.0822812020778656,
0.02751323953270912,
-0.024558797478675842,
0.03181564435362816,
-0.024115631356835365,
-0.016923412680625916,
0.0021904415916651487,
-0.003970031160861254,
0.007386104669421911,
0.003146018832921982,
-0.029599813744425774,
0.02904585562646389,
-0.014485997147858143,
-0.024300284683704376,
0.05221975967288017,
0.006929089315235615,
-0.0035961095709353685,
0.011328437365591526,
-0.022176777943968773,
-0.012279398739337921,
0.030153771862387657,
0.057205379009246826,
-0.02346934750676155,
0.024872707203030586,
-0.017652789130806923,
-0.05672528222203255,
0.006144315470010042,
0.016674131155014038,
0.02361706830561161,
0.0673612728714943,
0.0006347433663904667,
-0.017311181873083115,
0.02618374116718769,
0.01661873422563076,
0.021918265148997307,
0.013590432703495026,
0.003916943445801735,
0.024965032935142517,
-0.04760344326496124,
-0.015390795655548573,
0.036967452615499496,
-0.03947873041033745,
0.01994248293340206,
-0.03013530559837818,
-0.001832677167840302,
0.001601861440576613,
0.006024291273206472,
0.0747843086719513,
-0.036635078489780426,
0.004535529762506485,
0.01942545548081398,
0.03829695284366608,
-0.0518873855471611,
-0.03501013666391373,
0.0001190143811982125,
0.050114717334508896,
0.021216584369540215,
0.04553533345460892,
-0.02980293147265911,
0.04926531761884689,
-0.03188950568437576,
-0.04180535301566124,
-0.015039955265820026,
0.049597691744565964,
-0.034493107348680496,
-0.0428394079208374,
-0.05805478245019913,
0.018742240965366364,
-0.039552588015794754,
0.015630843117833138,
0.039257146418094635,
0.04926531761884689,
-0.02876887656748295,
-0.015021489933133125,
0.04546147212386131,
-0.02971060574054718,
0.02585136517882347
] |
719,716
|
ibm_platform_services.iam_identity_v1
|
get_mfa_report
|
Get MFA enrollment status report for the account.
Get MFA enrollment status report for the account by specifying the account ID and
the reference that is generated by triggering the report. Reports older than a day
are deleted when generating a new report.
:param str account_id: ID of the account.
:param str reference: Reference for the report to be generated, You can use
'latest' to get the latest report for the given account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ReportMfaEnrollmentStatus` object
|
def get_mfa_report(
self,
account_id: str,
reference: str,
**kwargs,
) -> DetailedResponse:
"""
Get MFA enrollment status report for the account.
Get MFA enrollment status report for the account by specifying the account ID and
the reference that is generated by triggering the report. Reports older than a day
are deleted when generating a new report.
:param str account_id: ID of the account.
:param str reference: Reference for the report to be generated, You can use
'latest' to get the latest report for the given account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ReportMfaEnrollmentStatus` object
"""
if not account_id:
raise ValueError('account_id must be provided')
if not reference:
raise ValueError('reference must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_mfa_report',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_id', 'reference']
path_param_values = self.encode_path_vars(account_id, reference)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/mfa/accounts/{account_id}/report/{reference}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, reference: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.022286592051386833,
0.022340036928653717,
0.02331986278295517,
0.006066014524549246,
0.010929515585303307,
-0.030214276164770126,
-0.032886527478694916,
-0.012568497098982334,
-0.05447833612561226,
-0.0038680864963680506,
-0.025119179859757423,
-0.001655683503486216,
0.00927271880209446,
-0.00597693957388401,
0.012434884905815125,
-0.0037211126182228327,
-0.01587318442761898,
0.014652854762971401,
0.05921712890267372,
0.041972190141677856,
0.0230526365339756,
0.048635005950927734,
-0.03511340543627739,
0.01727166213095188,
0.006671725306659937,
0.013040595687925816,
0.033118125051259995,
-0.04439503327012062,
0.016541246324777603,
0.06937169283628464,
0.03119410201907158,
0.016434356570243835,
-0.038088515400886536,
0.018420731648802757,
-0.032120481133461,
-0.029893605038523674,
-0.023676162585616112,
0.017636870965361595,
-0.2012384831905365,
0.006319878622889519,
-0.015980074182152748,
0.023337677121162415,
0.07560694962739944,
0.01574847847223282,
-0.020540719851851463,
-0.02164524979889393,
-0.03363475948572159,
-0.03677020221948624,
0.0010098890634253621,
-0.032423339784145355,
0.04799366742372513,
0.0030419148970395327,
0.0016144863329827785,
0.01684410311281681,
-0.017013344913721085,
0.011731191538274288,
-0.08736485987901688,
-0.04222159832715988,
0.0007504577515646815,
-0.038943637162446976,
-0.019578708335757256,
-0.004090774338692427,
0.022090626880526543,
-0.0596090592443943,
-0.012372531928122044,
-0.0038524982519447803,
-0.01847417652606964,
0.009050030261278152,
0.033545684069395065,
0.008488857187330723,
-0.03151477128267288,
0.017164772376418114,
0.012737739831209183,
-0.017467627301812172,
0.061639972031116486,
-0.014643947593867779,
-0.02216188609600067,
-0.031015951186418533,
-0.0250301044434309,
0.04015505686402321,
0.011749006807804108,
-0.00695676589384675,
-0.021948106586933136,
-0.036877091974020004,
-0.031336620450019836,
0.022375665605068207,
0.02937697060406208,
-0.023373307660222054,
-0.01847417652606964,
-0.028771258890628815,
0.03712650388479233,
-0.006253072526305914,
-0.01610477827489376,
0.02262507751584053,
-0.032654933631420135,
-0.06645002961158752,
-0.004150900058448315,
0.04129521921277046,
-0.0540151447057724,
0.034240469336509705,
-0.055511604994535446,
-0.05130726099014282,
0.0004656957753468305,
0.05187734216451645,
-0.01781502179801464,
-0.029822345823049545,
0.006346601061522961,
-0.0471029169857502,
0.058611419051885605,
0.019881563261151314,
-0.04920508712530136,
-0.03208485245704651,
-0.021431470289826393,
-0.028236808255314827,
0.008337429724633694,
0.0869373008608818,
-0.011882619000971317,
-0.05109348148107529,
0.018759217113256454,
-0.022838857024908066,
0.05868268013000488,
-0.017681408673524857,
0.04079639911651611,
-0.0707968920469284,
0.007397687528282404,
-0.01986374892294407,
-0.043789323419332504,
-0.022838857024908066,
0.08836250752210617,
0.004329049959778786,
0.007633736357092857,
0.0181178767234087,
-0.013601768761873245,
0.04129521921277046,
0.012025139294564724,
0.05219801142811775,
0.018144598230719566,
0.04389621317386627,
-0.010484139434993267,
0.005246523767709732,
-0.01618494652211666,
-0.017752667888998985,
0.018171321600675583,
-0.04699602723121643,
-0.025903040543198586,
-0.006876598112285137,
0.005829965695738792,
0.03304686397314072,
-0.08736485987901688,
-0.008217178285121918,
0.0337594635784626,
-0.09299440681934357,
-0.03495307266712189,
-0.02681160718202591,
-0.01587318442761898,
0.0006535885622724891,
0.011054220609366894,
0.06299391388893127,
0.028183363378047943,
0.02960856445133686,
0.027737988159060478,
0.03780347481369972,
0.03283308446407318,
0.009174736216664314,
0.01676393486559391,
-0.005522656720131636,
-0.0474235862493515,
-0.017743760719895363,
-0.019293667748570442,
-0.03798162564635277,
-0.023195156827569008,
-0.0024963298346847296,
-0.0032579218968749046,
-0.023658348247408867,
-0.059502169489860535,
0.005504841450601816,
0.023658348247408867,
0.0024317502975463867,
0.014323277398943901,
0.030713096261024475,
-0.042506638914346695,
-0.025813965126872063,
-0.03976312652230263,
-0.011704469099640846,
-0.021128615364432335,
0.0007610354223288596,
-0.0009647947154007852,
0.03345660865306854,
0.007059202063828707,
-0.012390347197651863,
-0.014305462129414082,
-0.035986341536045074,
0.019845932722091675,
-0.022838857024908066,
-0.03929993510246277,
-0.0872936025261879,
0.012238919734954834,
-0.048635005950927734,
0.02173432521522045,
-0.010840440168976784,
0.0009297213982790709,
0.04963264986872673,
-0.0062085348181426525,
0.03220955654978752,
-0.009486498311161995,
0.028076473623514175,
0.04884878918528557,
-0.0068409680388867855,
-0.0721508339047432,
0.03748280555009842,
-0.018402917310595512,
-0.025243883952498436,
-0.02374742366373539,
0.02463817410171032,
-0.0258495956659317,
0.0028014120180159807,
0.03566567227244377,
0.02716790698468685,
0.03488181158900261,
0.04692476615309715,
-0.048064928501844406,
-0.02836151421070099,
-0.04503637179732323,
0.012488329783082008,
-0.0015042558079585433,
0.008836250752210617,
0.02967982552945614,
0.009557758457958698,
-0.054727744311094284,
-0.07596325129270554,
-0.016594691202044487,
-0.001805997802875936,
-0.04001253843307495,
-0.025119179859757423,
-0.036805834621191025,
-0.004725434351712465,
0.039478085935115814,
0.004676443058997393,
-0.031069396063685417,
0.05397951230406761,
0.04888441786170006,
0.0471029169857502,
0.05668739601969719,
0.09620111435651779,
-0.0025185986887663603,
-0.02878907322883606,
-0.011285815387964249,
0.029590750113129616,
0.003745608264580369,
-0.048599377274513245,
-0.02944822981953621,
-0.01834947243332863,
0.013156392611563206,
0.015427808277308941,
0.01769031584262848,
-0.024317502975463867,
-0.004386948887258768,
-0.03010738641023636,
0.010706827975809574,
-0.0195965226739645,
0.02793395332992077,
-0.07133134454488754,
0.04827870801091194,
-0.05618857592344284,
-0.011936063878238201,
-0.022482557222247124,
-0.018563251942396164,
0.029982680454850197,
0.07596325129270554,
-0.002770235762000084,
0.05055902898311615,
-0.006417861208319664,
0.012969335541129112,
-0.015534698031842709,
-0.03751843422651291,
0.011633208952844143,
0.057257477194070816,
0.001122346380725503,
-0.020041897892951965,
0.04539267346262932,
-0.07532191276550293,
-0.06637876480817795,
0.04389621317386627,
0.007362057454884052,
-0.0014396763872355223,
0.0024629265535622835,
0.004280058667063713,
0.06669943779706955,
-0.0013728700578212738,
0.03197796270251274,
0.075749471783638,
-0.01503587793558836,
-0.059038978070020676,
-0.031799811869859695,
-0.0054692113772034645,
0.018687957897782326,
0.00026040550437755883,
-0.03096250630915165,
0.02759546786546707,
0.07129571586847305,
0.002180113224312663,
0.026259340345859528,
0.06374214589595795,
-0.04364680126309395,
-0.08715108036994934,
-0.052447423338890076,
0.03409795090556145,
-0.031069396063685417,
0.058076970279216766,
-0.012114214710891247,
0.0016824060585349798,
0.043005459010601044,
-0.035683486610651016,
-0.038622964173555374,
-0.016363097354769707,
-0.037269022315740585,
0.01711132749915123,
0.024495653808116913,
0.06203190237283707,
0.024905400350689888,
-0.01043960265815258,
0.06335021555423737,
0.04699602723121643,
-0.024317502975463867,
0.03349224105477333,
-0.001290475600399077,
0.02533295936882496,
0.015588143840432167,
0.024317502975463867,
-0.014439074322581291,
-0.03162166103720665,
-0.030819986015558243,
-0.0026900682132691145,
-0.02169869653880596,
-0.04318360984325409,
-0.03399106115102768,
-0.013690843246877193,
-0.06712699681520462,
0.014715207740664482,
0.03890800476074219,
-0.005843326915055513,
-0.0054825725965201855,
0.046889133751392365,
0.00033208311651833355,
0.03762532398104668,
0.01867014169692993,
0.024353133514523506,
0.04004816710948944,
-0.023266417905688286,
0.03865859657526016,
-0.014777559787034988,
-0.0230526365339756,
0.011855896562337875,
0.02292793244123459,
0.022054996341466904,
-0.03976312652230263,
-0.028308069333434105,
0.00012992438860237598,
-0.04916945844888687,
0.06320769339799881,
-0.07753097265958786,
0.0363960862159729,
-0.0543358139693737,
0.007117100991308689,
0.010626659728586674,
-0.043718062341213226,
-0.05925276130437851,
0.013566138222813606,
0.037732213735580444,
-0.022963562980294228,
-0.03652079403400421,
0.014920080080628395,
-0.032031409442424774,
0.028236808255314827,
0.0005082848365418613,
0.04802929610013962,
-0.009967504069209099,
0.04104580730199814,
-0.044252511113882065,
0.026936311274766922,
0.022553816437721252,
-0.022714151069521904,
-0.06003662198781967,
-0.0019384969491511583,
0.003418257227167487,
-0.03345660865306854,
0.02545766532421112,
-0.05148541182279587,
-0.0471029169857502,
0.020309124141931534,
0.023961203172802925,
-0.055939167737960815,
-0.026241526007652283,
-0.048171818256378174,
-0.022108441218733788,
-0.018153507262468338,
-0.020344754680991173,
0.03502433001995087,
0.0013149712467566133,
-0.05854015797376633,
0.025439850986003876,
0.03603978827595711,
-0.011490688659250736,
0.00787869282066822,
-0.03648516163229942,
0.01834947243332863,
0.02697194181382656,
-0.07525064796209335,
-0.01587318442761898,
-0.005041650962084532,
0.04884878918528557,
0.03794599324464798,
-0.03477492183446884,
-0.0035340548492968082,
-0.009441961534321308,
0.046425946056842804,
0.027452947571873665,
-0.03620012104511261,
0.010145654901862144,
0.013958068564534187,
-0.001888392260298133,
-0.021520545706152916,
0.0003794042859226465,
-0.0015844234731048346,
-0.028112104162573814,
-0.04350428283214569,
-0.05939527973532677,
0.024655988439917564,
-0.036182306706905365,
-0.008484403602778912,
0.06413407623767853,
0.022678522393107414,
-0.013361265882849693,
-0.005299968644976616,
-0.04143773764371872,
0.021680880337953568,
-0.037660956382751465,
0.01940055750310421,
-0.015980074182152748,
-0.03652079403400421,
0.01777048408985138,
-0.026063375174999237,
0.042898569256067276,
-0.023408938199281693,
-0.03589726611971855,
0.019347112625837326,
-0.03181762620806694,
-0.0685165673494339,
-0.013494878076016903,
0.025172624737024307,
0.03445425257086754,
0.045927125960588455,
-0.0005878956872038543,
0.005433581303805113,
0.018919551745057106,
-0.03582600876688957,
-0.01524965837597847,
0.0036030879709869623,
0.032191742211580276,
0.002145596547052264,
0.034703660756349564,
-0.004756610840559006,
-0.0734691470861435,
-0.012586312368512154,
0.01057321485131979,
0.03432954475283623,
0.034436434507369995,
0.04236412048339844,
-0.03363475948572159,
-0.030713096261024475,
0.028432773426175117,
0.0006212988519109786,
-0.020077528432011604,
0.022286592051386833,
0.029947049915790558,
0.039834387600421906,
-0.023961203172802925,
-0.016042426228523254,
-0.004694257862865925,
0.017832836136221886,
0.02169869653880596,
0.018723586574196815,
0.039371196180582047,
-0.031247546896338463,
0.056829918175935745,
-0.0668775886297226,
0.045143261551856995,
-0.005215347278863192,
-0.07072563469409943,
-0.0008094700169749558,
0.004667535424232483,
0.024353133514523506,
-0.015971167013049126,
0.06855220347642899,
-0.015588143840432167,
0.0036632136907428503,
0.07140260189771652,
-0.04175841063261032,
0.013396895490586758,
0.0015621546190232038,
0.04321924224495888,
-0.0622456818819046,
-0.014928987249732018,
0.00968246441334486,
-0.024709433317184448,
0.038088515400886536,
-0.024549098685383797,
-0.012559589929878712,
-0.0058032432571053505,
0.00594576308503747,
-0.026134636253118515,
0.0288247037678957,
-0.014795375056564808,
0.011250185780227184,
-0.033349718898534775,
0.08273296058177948,
-0.015472345985472202,
-0.04268478974699974,
-0.004369134083390236,
-0.0035630043130367994,
-0.022767597809433937,
0.03669894486665726,
0.03135443851351738,
-0.021787770092487335,
-0.018616696819663048,
-0.008894149214029312,
0.0032623757142573595,
0.0022747553884983063,
0.009183643385767937,
0.000052540395699907094,
-0.0028014120180159807,
-0.005838873330503702,
0.018598882481455803,
-0.034008875489234924,
0.008007852360606194,
0.003997245337814093,
-0.048136185854673386,
0.009343978948891163,
-0.02510136552155018,
0.028931593522429466,
0.02348019741475582,
-0.00826171599328518,
-0.07546442747116089,
-0.08159279823303223,
-0.03286871314048767,
-0.034169211983680725,
0.006698447745293379,
0.027827063575387,
0.10040546208620071,
-0.026722531765699387,
0.058611419051885605,
-0.033937614411115646,
-0.0033380896784365177,
0.06338584423065186,
-0.025582369416952133,
0.07952625304460526,
0.018598882481455803,
-0.019970638677477837,
0.01932929828763008,
-0.059466540813446045,
-0.015187305398285389,
0.0016378684667870402,
0.0078074331395328045,
0.0176992230117321,
-0.037233393639326096,
-0.005446942523121834,
0.1336839199066162,
0.044715702533721924,
-0.01330782100558281,
-0.05412203446030617,
-0.003139897482469678,
0.03518466651439667,
-0.07895617187023163,
-0.029287895187735558,
-0.02134239487349987,
0.019062072038650513,
0.014225293882191181,
-0.037233393639326096,
0.07703214883804321,
0.083017997443676,
0.0038569520693272352,
-0.038052886724472046,
0.03251241520047188,
-0.035790376365184784,
-0.020237863063812256,
0.026401860639452934,
0.026099005714058876,
-0.041972190141677856,
0.049846429377794266,
0.019952824339270592,
-0.0553334541618824,
-0.042114708572626114,
0.00923708826303482,
-0.03698398545384407,
-0.0007938818889670074,
0.12256734818220139,
0.005086188670247793,
-0.028236808255314827,
0.0011457285145297647,
-0.012221104465425014,
0.004587368108332157,
0.01076918002218008,
-0.017913004383444786,
-0.00832406897097826,
0.010323804803192616,
0.003375946544110775,
0.052874982357025146,
0.0036966169718652964,
-0.027452947571873665,
-0.008956502191722393,
-0.03844481706619263,
-0.03536281734704971,
0.03830229490995407,
0.03108721226453781,
0.04453755170106888,
-0.040689509361982346,
-0.00826171599328518,
-0.034596771001815796,
-0.019810304045677185,
0.049490127712488174,
0.025938671082258224,
-0.004952576011419296,
-0.05497715622186661,
0.03142569586634636,
0.05048776790499687,
0.05743562802672386,
0.037197764962911606,
-0.022803226485848427,
-0.04236412048339844,
0.015267472714185715,
-0.03274400904774666,
0.08337429910898209,
-0.03837355598807335,
-0.028201177716255188,
0.04831433668732643,
-0.02289230190217495,
0.045107632875442505,
0.02378305234014988,
0.034169211983680725,
0.0007293024100363255,
-0.05939527973532677,
0.05693680793046951,
-0.0033737195190042257,
-0.004108589142560959,
-0.003874767106026411,
0.04892004653811455,
-0.03422265499830246,
-0.04400310292840004,
-0.005527110304683447,
0.020897019654512405,
-0.0543358139693737,
-0.012951520271599293,
-0.04788677766919136,
0.02552892453968525,
0.04649720340967178,
0.04065387696027756,
0.00047794359852559865,
0.010181284509599209,
-0.017868466675281525,
0.03000049479305744,
-0.04585586488246918,
-0.034596771001815796,
0.0036609868984669447,
-0.09969285875558853,
-0.0026611187495291233,
-0.06420533359050751,
-0.01648780144751072,
0.01575738564133644,
0.02331986278295517,
0.01900862716138363,
0.031603846698999405,
0.03666331246495247,
0.033349718898534775,
0.01711132749915123,
0.008591294288635254,
0.060820482671260834,
-0.012639757245779037,
0.004139765631407499,
0.03418702632188797,
0.008083566091954708,
0.10083302110433578,
0.01189152617007494,
-0.02022004872560501,
0.04165152087807655,
0.010368342511355877,
0.028771258890628815,
0.04453755170106888,
-0.04763736575841904,
-0.059822842478752136,
0.024745063856244087,
0.023640532046556473,
-0.07361166924238205,
0.0032957789953798056,
-0.014207479543983936,
-0.002549774944782257,
0.03783910349011421,
-0.05964469164609909,
0.027185721322894096,
-0.02759546786546707,
-0.003754515666514635,
-0.02836151421070099,
-0.03163947910070419,
0.07589198648929596,
0.0629226565361023,
-0.0014719661558046937,
-0.014189664274454117,
0.023159528151154518,
0.020790129899978638,
-0.031051581725478172,
-0.016576876863837242,
-0.01483991276472807,
0.0751081258058548,
0.054620854556560516,
0.027524206787347794,
0.01571284793317318,
-0.019614338874816895,
-0.05590353533625603,
-0.006137274671345949,
-0.002529732882976532,
0.022446926683187485,
0.045072004199028015,
0.006667271722108126,
-0.01174009870737791,
-0.007834155112504959,
-0.01661250740289688,
0.006716263014823198,
-0.010974053293466568,
0.04653283581137657,
0.01792191155254841,
-0.052483052015304565,
0.03589726611971855,
0.013931346125900745,
-0.03511340543627739,
0.02914537489414215,
0.006800884380936623,
0.022215330973267555,
-0.009486498311161995,
0.027559837326407433,
0.024460023269057274,
0.05177045240998268,
0.011107665486633778,
0.05052340030670166,
0.030517131090164185,
0.030214276164770126,
-0.04040446877479553,
0.04015505686402321,
0.011009682901203632,
0.03848044574260712,
0.003859178861603141,
-0.06221005320549011,
0.021324580535292625,
-0.08658099919557571,
0.01874140277504921,
0.058112598955631256,
0.01714695803821087,
0.014706299640238285,
-0.021021725609898567,
0.01816241443157196,
0.02250037156045437,
-0.022518185898661613,
0.0012359170941635966,
0.043753691017627716,
-0.00029784487560391426,
0.0042778318747878075,
-0.057328738272190094,
0.019454002380371094,
0.03498870134353638,
0.005963578354567289
] |
719,717
|
ibm_platform_services.iam_identity_v1
|
get_mfa_status
|
Get MFA enrollment status for a single user in the account.
Get MFA enrollment status for a single user in the account.
:param str account_id: ID of the account.
:param str iam_id: iam_id of the user. This user must be the member of the
account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `UserMfaEnrollments` object
|
def get_mfa_status(
self,
account_id: str,
iam_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get MFA enrollment status for a single user in the account.
Get MFA enrollment status for a single user in the account.
:param str account_id: ID of the account.
:param str iam_id: iam_id of the user. This user must be the member of the
account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `UserMfaEnrollments` object
"""
if not account_id:
raise ValueError('account_id must be provided')
if not iam_id:
raise ValueError('iam_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_mfa_status',
)
headers.update(sdk_headers)
params = {
'iam_id': iam_id,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_id']
path_param_values = self.encode_path_vars(account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/mfa/accounts/{account_id}/status'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, iam_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.006038249004632235,
0.019177589565515518,
0.024264385923743248,
0.000388123415177688,
0.029852434992790222,
-0.031653232872486115,
-0.016244329512119293,
-0.05016248673200607,
-0.06817048788070679,
-0.010953318327665329,
-0.026046620681881905,
-0.0421052984893322,
0.02764320559799671,
0.006943290121853352,
0.0087348073720932,
0.02662213332951069,
-0.009189648553729057,
0.016021549701690674,
0.054618075489997864,
0.05079369619488716,
0.04745200276374817,
0.06727936863899231,
0.003330087289214134,
0.04084288328886032,
0.023057663813233376,
-0.03213592246174812,
0.04054584354162216,
-0.043070677667856216,
0.04010028392076492,
0.04143696278333664,
0.027513250708580017,
-0.0029170173220336437,
-0.00037071877159178257,
0.012354971840977669,
-0.0671679750084877,
-0.027309037744998932,
0.0034623625688254833,
0.044184572994709015,
-0.14592048525810242,
-0.006265669595450163,
-0.060558855533599854,
0.036108821630477905,
0.058442454785108566,
0.022909143939614296,
0.012048650532960892,
-0.020440006628632545,
0.024282950907945633,
-0.029146967455744743,
-0.0023229389917105436,
0.012494209222495556,
0.010155025869607925,
-0.009444916620850563,
0.03571895882487297,
0.004731740802526474,
0.0014747530221939087,
0.04474152252078056,
-0.07489099353551865,
-0.10129035264253616,
-0.037983883172273636,
-0.017980150878429413,
-0.025898100808262825,
-0.013552411459386349,
0.029184097424149513,
-0.03486496955156326,
0.0017996395472437143,
-0.022352196276187897,
-0.01873203180730343,
0.02550823800265789,
-0.034085243940353394,
0.022983403876423836,
-0.028812797740101814,
0.010646997019648552,
0.02636222541332245,
-0.007597704418003559,
0.02628796547651291,
-0.0019574416801333427,
-0.02112690918147564,
-0.014517788775265217,
-0.0409914031624794,
0.06096728518605232,
0.016717735677957535,
0.020625656470656395,
-0.0305579025298357,
-0.024097301065921783,
-0.049865446984767914,
0.02001301199197769,
-0.0065580676309764385,
-0.05621466040611267,
-0.006771564483642578,
-0.04295928776264191,
0.02639935538172722,
-0.02647361531853676,
-0.005323498509824276,
0.03609025850892067,
-0.02341039851307869,
-0.025192633271217346,
-0.02060709148645401,
0.037761103361845016,
-0.049642667174339294,
0.027160517871379852,
-0.06126432493329048,
-0.043479107320308685,
0.014554918743669987,
0.04225381836295128,
0.03943194821476936,
-0.008089675568044186,
-0.022259371355175972,
-0.04633810743689537,
0.07886389642953873,
0.010006505995988846,
-0.05216750130057335,
-0.00895758718252182,
-0.049568407237529755,
-0.010080765932798386,
0.014712720178067684,
0.05135064199566841,
0.048454511910676956,
-0.03224731236696243,
0.0046621221117675304,
-0.021405383944511414,
0.06635112315416336,
-0.01196510810405016,
0.07091809809207916,
-0.09178509563207626,
0.033008474856615067,
-0.05320713669061661,
-0.0561775304377079,
0.0018460518913343549,
0.08279966562986374,
-0.009449558332562447,
-0.04121418297290802,
-0.013311066664755344,
-0.012800530530512333,
0.016225764527916908,
0.014592048712074757,
0.02838580310344696,
0.02764320559799671,
0.06583130359649658,
-0.008066469803452492,
0.06215544417500496,
-0.00685510691255331,
0.004276899620890617,
-0.019381804391741753,
-0.05261306092143059,
-0.007509521208703518,
-0.035180576145648956,
0.011844436638057232,
0.03215448930859566,
-0.038429439067840576,
-0.020328616723418236,
0.02270493097603321,
-0.0754479467868805,
-0.02108977921307087,
0.00706860376521945,
-0.0353105291724205,
-0.024134431034326553,
0.031876012682914734,
0.002422725548967719,
0.022185111418366432,
0.01563168503344059,
-0.005532354116439819,
-0.0034159503411501646,
-0.0017277003498747945,
-0.00685510691255331,
0.01791517436504364,
0.001791517366655171,
-0.049902576953172684,
0.009579512290656567,
-0.04611532762646675,
-0.049308497458696365,
-0.013728777877986431,
-0.024524295702576637,
-0.007825125008821487,
-0.018611358478665352,
-0.05651170015335083,
-0.00043975719017907977,
0.01729324832558632,
-0.006989702582359314,
0.026492178440093994,
0.014712720178067684,
-0.04065723344683647,
0.014397116377949715,
-0.02521119825541973,
-0.048454511910676956,
0.0004873298457823694,
0.011510266922414303,
0.007361001335084438,
0.048454511910676956,
-0.005304933525621891,
0.002404160564765334,
0.01606796123087406,
-0.039357688277959824,
0.012336406856775284,
0.007648758124560118,
-0.07619054615497589,
-0.026083750650286674,
0.017246834933757782,
-0.03254435211420059,
0.03991463780403137,
-0.054172515869140625,
0.016968362033367157,
0.04823173210024834,
0.007012908812612295,
0.07244042307138443,
-0.015622402541339397,
0.022426456212997437,
0.003123552305623889,
0.004685328342020512,
-0.053652696311473846,
-0.01465702522546053,
-0.05190759152173996,
-0.04700644686818123,
-0.04485291242599487,
0.053764086216688156,
-0.0199387539178133,
0.011101838201284409,
0.043924663215875626,
0.036331601440906525,
0.049865446984767914,
0.024672813713550568,
-0.039134908467531204,
-0.04682079702615738,
-0.02632509544491768,
0.01832360215485096,
0.018295755609869957,
0.043998923152685165,
0.04073149338364601,
0.026956303045153618,
-0.02853432297706604,
0.00601968402042985,
0.009319603443145752,
0.009185007773339748,
-0.022352196276187897,
-0.0187970083206892,
-0.07737869769334793,
0.014935499988496304,
0.04663514718413353,
0.019678844138979912,
-0.07073244452476501,
0.036702901124954224,
0.04154835268855095,
0.022147981449961662,
0.038429439067840576,
0.09661198407411575,
-0.0019261132692918181,
-0.0671679750084877,
0.022073721513152122,
0.029146967455744743,
-0.026120880618691444,
-0.06772492825984955,
-0.0451870821416378,
-0.003255827585235238,
0.04782330244779587,
0.01673629879951477,
0.01847212202847004,
-0.05758846551179886,
-0.019771669059991837,
0.007342436350882053,
0.015446036122739315,
0.007296024356037378,
0.04121418297290802,
-0.044036053121089935,
0.020848436281085014,
-0.028144460171461105,
-0.04711783677339554,
0.013459586538374424,
-0.004056441131979227,
0.05231602117419243,
0.036220211535692215,
-0.002717444207519293,
0.0812402069568634,
-0.03350972756743431,
-0.0007953919703140855,
-0.02782885544002056,
-0.027141952887177467,
-0.0015142034972086549,
0.004443984013050795,
-0.03373250737786293,
-0.00996937695890665,
0.015650250017642975,
-0.10463204234838486,
-0.07114087790250778,
0.0005604293546639383,
0.013960840180516243,
-0.028515757992863655,
-0.018713466823101044,
0.03434515371918678,
0.038318049162626266,
-0.021628163754940033,
0.02255641110241413,
0.04574402794241905,
-0.01721898838877678,
-0.07273746281862259,
-0.023614613339304924,
0.02897988259792328,
0.023985911160707474,
-0.03742693364620209,
-0.039357688277959824,
0.029202662408351898,
0.021795248612761497,
-0.02808876521885395,
0.024208690971136093,
-0.005063589196652174,
-0.06579416990280151,
-0.049159981310367584,
-0.029926694929599762,
0.0293883103877306,
-0.0015420508570969105,
0.02023579180240631,
-0.009027205407619476,
0.0161422211676836,
-0.004525206051766872,
-0.054321035742759705,
-0.044333092868328094,
-0.014248596504330635,
-0.029369745403528214,
0.0165135208517313,
0.014647742733359337,
0.06189553439617157,
0.02071848139166832,
-0.021405383944511414,
0.05279871076345444,
0.049902576953172684,
-0.004084288142621517,
0.04266224801540375,
-0.043182067573070526,
0.05484085530042648,
0.03213592246174812,
0.010108613409101963,
-0.0019098689081147313,
0.0008064148714765906,
-0.04102853313088417,
-0.0174417681992054,
-0.01391442772001028,
-0.055137891322374344,
-0.029741045087575912,
0.01681055873632431,
-0.02378169633448124,
0.03096633218228817,
0.038874998688697815,
-0.016021549701690674,
-0.038503699004650116,
0.043553367257118225,
0.014786980114877224,
0.00017651203961577266,
0.0019690447952598333,
0.01769239455461502,
0.017246834933757782,
0.02385595627129078,
0.026603568345308304,
-0.016272176057100296,
0.002203427255153656,
0.02909127250313759,
0.017042621970176697,
-0.003958974964916706,
-0.03534765914082527,
-0.01695907860994339,
-0.05153629183769226,
-0.024134431034326553,
0.05762559548020363,
-0.0808689072728157,
-0.025452543050050735,
-0.02602805569767952,
-0.0005070551414974034,
-0.009017922915518284,
-0.025452543050050735,
-0.04080575332045555,
-0.04143696278333664,
0.09215639531612396,
-0.019437499344348907,
-0.012884072959423065,
0.02639935538172722,
-0.024542860686779022,
0.0038916771300137043,
0.02879423275589943,
0.06041033938527107,
-0.007138221990317106,
0.03280426189303398,
-0.06282377988100052,
0.06854178756475449,
0.03789105638861656,
-0.03555187210440636,
-0.07381422817707062,
0.003030727617442608,
0.03196883946657181,
0.006585915107280016,
0.05795976519584656,
-0.06649964302778244,
-0.038392309099435806,
0.017562439665198326,
-0.012206452898681164,
-0.0174417681992054,
-0.031727492809295654,
-0.03003808483481407,
-0.05328139662742615,
-0.019001223146915436,
-0.035960301756858826,
0.01137103047221899,
0.024338645860552788,
-0.07132652401924133,
0.012197170406579971,
0.03432658687233925,
0.044667262583971024,
0.004379007034003735,
-0.04147409275174141,
0.03415950387716293,
-0.0028172307647764683,
-0.05695725604891777,
-0.035291966050863266,
0.029629655182361603,
0.04804608225822449,
0.02860858291387558,
-0.028738537803292274,
-0.01297689788043499,
-0.0030980254523456097,
0.025118373334407806,
-0.022834884002804756,
-0.010869776830077171,
0.008753372356295586,
0.03224731236696243,
0.008010774850845337,
-0.012475644238293171,
-0.004353479947894812,
-0.0054766591638326645,
-0.05038526654243469,
-0.018852703273296356,
-0.038615088909864426,
0.0379653163254261,
-0.01137103047221899,
-0.029444005340337753,
0.043664757162332535,
0.0240787360817194,
-0.0037060275208204985,
-0.049828317016363144,
-0.06505157798528671,
0.013246089220046997,
-0.054061125963926315,
0.0020409838762134314,
0.0011632099049165845,
-0.012113627977669239,
0.054395295679569244,
0.002977353287860751,
-0.0004377266450319439,
-0.01754387468099594,
-0.021108344197273254,
0.017683111131191254,
-0.038429439067840576,
-0.006488448940217495,
0.019660279154777527,
0.02860858291387558,
0.001274019479751587,
0.05885088071227074,
-0.01301402784883976,
0.004539129324257374,
0.016829123720526695,
-0.039394818246364594,
-0.018295755609869957,
0.00021915340039413422,
0.014805545099079609,
0.00888332724571228,
0.0008568883640691638,
-0.018295755609869957,
-0.09096824377775192,
0.027086257934570312,
0.05298435688018799,
-0.00358535535633564,
0.043924663215875626,
0.035700391978025436,
-0.029926694929599762,
-0.008233553729951382,
0.013960840180516243,
-0.023800261318683624,
-0.0007222924614325166,
0.010340675711631775,
0.05758846551179886,
0.048528771847486496,
-0.027290472760796547,
-0.030873507261276245,
0.013561693951487541,
0.0348835363984108,
0.04589254781603813,
0.038540828973054886,
0.029778175055980682,
-0.04110279306769371,
0.06512583047151566,
-0.04529847204685211,
0.03178318962454796,
0.005096077919006348,
-0.0587766207754612,
-0.0587766207754612,
0.016745582222938538,
0.0067994119599461555,
-0.02244502119719982,
0.08131446689367294,
-0.013357479125261307,
-0.00758378067985177,
0.044110313057899475,
-0.055100761353969574,
0.0044091749005019665,
0.026566438376903534,
0.044444482773542404,
-0.015343928709626198,
-0.0053931172005832195,
0.01319967769086361,
0.010182873345911503,
0.049345627427101135,
-0.055175021290779114,
-0.05116499215364456,
-0.015798769891262054,
-0.017209704965353012,
-0.009672337211668491,
0.029518265277147293,
-0.013552411459386349,
0.00318388850428164,
-0.04540986195206642,
0.07841833680868149,
-0.013700931333005428,
-0.02146107889711857,
0.00943563412874937,
-0.02400447614490986,
-0.014954064972698689,
-0.011278205551207066,
0.022129416465759277,
-0.0009543542983010411,
-0.04043445363640785,
0.026993433013558388,
-0.019678844138979912,
0.00014982491848058999,
0.008553799241781235,
-0.013691648840904236,
0.0003364896692801267,
-0.013320349156856537,
0.027086257934570312,
-0.02797737531363964,
-0.022872013971209526,
-0.024672813713550568,
-0.0633435994386673,
0.008790502324700356,
0.022055156528949738,
0.016801277175545692,
0.06011329963803291,
0.00428618211299181,
-0.06367776542901993,
-0.007268176879733801,
-0.05703151598572731,
-0.03115198016166687,
-0.025452543050050735,
0.044444482773542404,
0.07886389642953873,
-0.010108613409101963,
0.035143446177244186,
-0.035811781883239746,
-0.011992955580353737,
0.03384389728307724,
-0.040248803794384,
0.07110374420881271,
0.006915442645549774,
-0.03159753978252411,
0.0038800740148872137,
-0.05599188059568405,
-0.013858732767403126,
0.02281631901860237,
0.02146107889711857,
0.008985434658825397,
-0.053689826279878616,
-0.019400369375944138,
0.09512678533792496,
0.05602901056408882,
0.02071848139166832,
-0.02134968899190426,
0.0007077886257320642,
0.02097838930785656,
-0.10455778241157532,
-0.04760052263736725,
-0.018202930688858032,
0.014684872701764107,
-0.002050266368314624,
-0.05153629183769226,
0.07916093617677689,
0.06182127445936203,
-0.014768415130674839,
-0.03980324789881706,
0.038466569036245346,
-0.02838580310344696,
-0.01717257685959339,
0.013635953888297081,
-0.014090795069932938,
-0.018741313368082047,
0.05227889120578766,
0.04058297351002693,
-0.05472946539521217,
-0.044258832931518555,
0.03282282501459122,
-0.0421052984893322,
0.01391442772001028,
0.09794866293668747,
0.024821333587169647,
-0.01607724465429783,
-0.006209974642843008,
-0.02550823800265789,
0.018917681649327278,
0.016652757301926613,
-0.03263717517256737,
-0.004752626642584801,
-0.0030237657483667135,
0.01910332962870598,
0.022612106055021286,
0.015158278867602348,
-0.03549617901444435,
-0.013227525167167187,
-0.03118911013007164,
-0.014666307717561722,
0.04745200276374817,
0.013338914141058922,
0.03100346215069294,
-0.002555000828579068,
-0.007579139433801174,
-0.0005331620923243463,
0.012652011588215828,
0.014870522543787956,
0.024375775828957558,
-0.0527244508266449,
-0.054469555616378784,
0.03085494227707386,
0.016095809638500214,
0.019530324265360832,
0.055212151259183884,
0.00006374448275892064,
-0.038355179131031036,
-0.010656279511749744,
-0.06746501475572586,
0.07819555699825287,
-0.03206166252493858,
-0.049159981310367584,
0.06935863941907883,
-0.023094793781638145,
0.009588794782757759,
0.011992955580353737,
0.010665562003850937,
0.013143982738256454,
-0.07351718842983246,
0.043813273310661316,
-0.021368253976106644,
0.008493463508784771,
0.01673629879951477,
0.07663609832525253,
-0.05725429579615593,
0.00007817582809366286,
0.04618958756327629,
0.007286741863936186,
-0.049234241247177124,
-0.012095062993466854,
-0.04088001325726509,
0.025935230776667595,
-0.01426716148853302,
-0.0005389635916799307,
-0.01017359085381031,
0.027123387902975082,
-0.020996954292058945,
0.01910332962870598,
-0.04552125185728073,
-0.04251372814178467,
0.025192633271217346,
-0.0808689072728157,
0.038986388593912125,
-0.049642667174339294,
-0.007848331704735756,
0.004539129324257374,
0.05045952647924423,
-0.0022219920065253973,
0.03737123683094978,
0.08836914598941803,
0.04652375727891922,
0.05227889120578766,
-0.0019191514002159238,
0.05283584073185921,
0.013041875325143337,
-0.008915815502405167,
0.038763608783483505,
0.03612738847732544,
0.03777966648340225,
0.006660174578428268,
0.007045397534966469,
0.022723495960235596,
0.033936724066734314,
-0.024487165734171867,
0.04028593376278877,
-0.03273000195622444,
-0.08614135533571243,
0.016420695930719376,
-0.02823728509247303,
-0.049828317016363144,
0.002508588368073106,
0.01301402784883976,
0.0379653163254261,
0.033973854035139084,
-0.07058393210172653,
0.07214338332414627,
-0.01448994129896164,
0.03467931970953941,
-0.028181590139865875,
-0.05224176123738289,
0.059741999953985214,
0.04199390858411789,
0.006200692150741816,
0.008029339835047722,
-0.009560947306454182,
-0.003926486242562532,
-0.038466569036245346,
-0.02606518566608429,
-0.013691648840904236,
0.05342991650104523,
0.038763608783483505,
0.028775667771697044,
0.03544048219919205,
0.023577483370900154,
-0.028775667771697044,
-0.004188715945929289,
0.023800261318683624,
0.04745200276374817,
0.03686998412013054,
0.008716242387890816,
0.00794579740613699,
0.0019852889236062765,
-0.03772397339344025,
0.0015675777103751898,
-0.009663054719567299,
0.05573197081685066,
0.005504506640136242,
-0.034493669867515564,
0.027086257934570312,
0.002162816235795617,
-0.07147504389286041,
0.05116499215364456,
-0.0016418375307694077,
0.029573960229754448,
-0.017126163467764854,
0.007416696287691593,
-0.016764147207140923,
0.07399988174438477,
0.0356818288564682,
0.024301515892148018,
0.03757545351982117,
0.0474148727953434,
-0.06895021349191666,
0.038912128657102585,
-0.005467376671731472,
0.01906619966030121,
0.009477405808866024,
-0.02285344898700714,
0.03336121141910553,
-0.07180921733379364,
-0.0030191245023161173,
0.03675859421491623,
0.049939706921577454,
0.017636699602007866,
-0.03503205627202988,
0.012280712835490704,
0.043144937604665756,
-0.021646728739142418,
-0.014183619059622288,
0.017534593120217323,
0.0046319542452692986,
0.022092286497354507,
-0.029926694929599762,
0.043850403279066086,
-0.015993701294064522,
0.03447510674595833
] |
719,718
|
ibm_platform_services.iam_identity_v1
|
get_profile
|
Get a trusted profile.
Retrieve a trusted profile by its `profile-id`. Only the trusted profile's data is
returned (`name`, `description`, `iam_id`, etc.), not the federated users or
compute resources that qualify to apply the trusted profile.
:param str profile_id: ID of the trusted profile to get.
:param bool include_activity: (optional) Defines if the entity's activity
is included in the response. Retrieving activity data is an expensive
operation, so only request this when needed.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfile` object
|
def get_profile(
self,
profile_id: str,
*,
include_activity: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get a trusted profile.
Retrieve a trusted profile by its `profile-id`. Only the trusted profile's data is
returned (`name`, `description`, `iam_id`, etc.), not the federated users or
compute resources that qualify to apply the trusted profile.
:param str profile_id: ID of the trusted profile to get.
:param bool include_activity: (optional) Defines if the entity's activity
is included in the response. Retrieving activity data is an expensive
operation, so only request this when needed.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfile` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_profile',
)
headers.update(sdk_headers)
params = {
'include_activity': include_activity,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, *, include_activity: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.07462327182292938,
-0.031012989580631256,
0.017926210537552834,
0.005472065415233374,
-0.005268883425742388,
-0.0048163412138819695,
0.03415307775139809,
0.009327908977866173,
-0.0034148460254073143,
-0.04248354583978653,
-0.014001099392771721,
0.03805048018693924,
-0.027466537430882454,
0.012523410841822624,
0.01603292115032673,
0.015017010271549225,
0.008270438760519028,
0.002819152781739831,
0.0571865476667881,
-0.03341423347592354,
0.05304902046918869,
0.025914963334798813,
-0.012569588609039783,
-0.024677399545907974,
0.04093197360634804,
0.009678860194981098,
0.051829926669597626,
-0.026764634996652603,
0.023624546825885773,
0.05016752704977989,
0.02017045021057129,
0.02386467158794403,
-0.01835104450583458,
0.031751833856105804,
-0.05452670902013779,
0.029350589960813522,
-0.051571331918239594,
0.05663241446018219,
-0.08082956820726395,
0.01908065378665924,
-0.0772092267870903,
0.004857901483774185,
0.046399421989917755,
0.00611393665894866,
-0.026783104985952377,
-0.013151428662240505,
0.000013853330528945662,
-0.0335804745554924,
-0.06328201293945312,
-0.03694221377372742,
0.03153017908334732,
0.015497258864343166,
-0.0207245834171772,
0.014001099392771721,
-0.009475678205490112,
-0.07986906915903091,
-0.08097733557224274,
-0.030957575887441635,
-0.01461988128721714,
0.06413168460130692,
0.029424473643302917,
-0.05293819308280945,
-0.021740494295954704,
0.006012345664203167,
0.006123172119259834,
-0.059255313128232956,
-0.03727469593286514,
-0.022941116243600845,
-0.042114123702049255,
-0.01650393381714821,
0.0500936433672905,
0.018101684749126434,
0.03564923629164696,
0.018720466643571854,
0.0307359229773283,
-0.06826921552419662,
-0.01165526919066906,
-0.059107545763254166,
0.0005197885329835117,
0.042261894792318344,
-0.009374086745083332,
-0.03234291076660156,
-0.014989303424954414,
-0.015451081097126007,
-0.016189925372600555,
0.03731163591146469,
0.02918434888124466,
-0.10484200716018677,
-0.04085808992385864,
0.016448521986603737,
-0.00733302952721715,
0.0350581631064415,
-0.010380762629210949,
0.0009050842490978539,
0.06849086284637451,
-0.007499269675463438,
0.001479997532442212,
0.0343562588095665,
-0.029923195019364357,
0.01359473541378975,
-0.029424473643302917,
-0.04902232065796852,
-0.07443856447935104,
0.013797917403280735,
0.08984346687793732,
0.040119245648384094,
0.0493178553879261,
0.04473702237010002,
0.03032955899834633,
0.03461485356092453,
-0.010731713846325874,
-0.055413320660591125,
-0.025582483038306236,
0.023439835757017136,
0.03945428505539894,
-0.024492688477039337,
0.04351792857050896,
0.0350581631064415,
0.00908778514713049,
-0.008455149829387665,
-0.0053427680395543575,
0.016928769648075104,
-0.02360607497394085,
-0.03860461339354515,
-0.04865289852023125,
0.015875916928052902,
-0.043702639639377594,
-0.0009604975930415094,
0.013936450704932213,
0.0207245834171772,
-0.03276774287223816,
-0.030421914532780647,
-0.031511709094047546,
0.015451081097126007,
0.019505489617586136,
0.027226412668824196,
0.003527981461957097,
0.05681712552905083,
0.03694221377372742,
0.06838004291057587,
-0.036831390112638474,
-0.004643174819648266,
0.010916424915194511,
0.03335881978273392,
-0.005670629907399416,
-0.041670817881822586,
0.038641557097435,
-0.01464758813381195,
-0.004876372404396534,
-0.036129485815763474,
0.04699049890041351,
-0.0024728195276111364,
0.0016335385153070092,
-0.059403080493211746,
-0.009974397718906403,
-0.03481803834438324,
0.0307359229773283,
-0.03542758524417877,
0.013391552492976189,
-0.003200119361281395,
-0.004723985679447651,
0.015571143478155136,
0.02087235078215599,
-0.026413682848215103,
-0.019948795437812805,
-0.0357600636780262,
0.005767603404819965,
0.037477876991033554,
0.00546744791790843,
-0.01588515192270279,
0.0012352552730590105,
-0.031049931421875954,
0.015866681933403015,
0.023125827312469482,
0.0065249186009168625,
-0.021500369533896446,
0.030569683760404587,
-0.06254316866397858,
-0.06738259643316269,
0.019542431458830833,
0.052568770945072174,
-0.06490746885538101,
-0.0063032652251422405,
-0.0008814181783236563,
0.020595284178853035,
-0.011710681952536106,
0.04436760023236275,
0.017695320770144463,
0.04089503362774849,
0.03350658714771271,
-0.002950759371742606,
-0.0034725682344287634,
-0.03008943423628807,
0.02266404964029789,
-0.014213517308235168,
-0.04248354583978653,
0.06487052887678146,
-0.031216172501444817,
-0.0003893363173119724,
-0.029867781326174736,
-0.03960205614566803,
0.015072423964738846,
0.03103146143257618,
0.0035418348852545023,
-0.01957937330007553,
0.011738388799130917,
0.004472316708415747,
-0.013086779974400997,
0.0017478285590186715,
-0.012163224630057812,
-0.013160663656890392,
-0.03284163028001785,
0.012449526228010654,
0.02947988733649254,
-0.0037519438192248344,
0.036591265350580215,
-0.009817393496632576,
-0.017602965235710144,
0.03834601864218712,
0.007296087220311165,
0.04935479909181595,
-0.07691369205713272,
0.002791446167975664,
0.02087235078215599,
-0.019357720389962196,
0.028759514912962914,
-0.007176025304943323,
-0.03714539855718613,
-0.05918142944574356,
-0.02580413781106472,
0.0758054256439209,
-0.00707443431019783,
-0.01294824667274952,
0.019690200686454773,
-0.059403080493211746,
0.02973848395049572,
0.005024141166359186,
-0.019413134083151817,
0.030514270067214966,
0.007891780696809292,
0.04518032819032669,
0.02765124849975109,
-0.014462877064943314,
0.01570967771112919,
-0.06017886847257614,
-0.020595284178853035,
-0.004142145626246929,
-0.004615467973053455,
-0.01761220023036003,
-0.05238405987620354,
0.023402893915772438,
0.037126924842596054,
0.017279721796512604,
0.05792539194226265,
-0.017769206315279007,
-0.03129005432128906,
-0.0033132547978311777,
-0.0973057970404625,
0.01978255622088909,
0.03212125599384308,
-0.03642502427101135,
-0.020539872348308563,
-0.02654298208653927,
-0.03690527379512787,
-0.0335804745554924,
-0.03191807493567467,
-0.029664598405361176,
0.029461417347192764,
0.015589614398777485,
-0.013816388323903084,
0.03044038452208042,
0.02650603838264942,
-0.00881995353847742,
0.0017004963010549545,
-0.036092545837163925,
-0.043665699660778046,
-0.00881995353847742,
0.03306328132748604,
0.021943675354123116,
0.004880990367382765,
-0.07780030369758606,
-0.028611745685338974,
-0.004396123345941305,
0.00611393665894866,
-0.008649095892906189,
-0.03904792293906212,
0.012357170693576336,
0.04100585728883743,
-0.03441167250275612,
0.022386983036994934,
0.04946562647819519,
-0.01021452248096466,
-0.03930651769042015,
-0.024289505556225777,
-0.03720081225037575,
0.0006967071094550192,
-0.024548102170228958,
-0.00923093594610691,
0.05160827562212944,
-0.00004469863779377192,
-0.02087235078215599,
0.03878932446241379,
-0.015654264017939568,
-0.026838518679142,
-0.014564468525350094,
-0.04163387790322304,
-0.009937455877661705,
-0.04806182160973549,
-0.01993032544851303,
0.000793680374044925,
-0.021685080602765083,
-0.029701540246605873,
-0.013096014969050884,
0.06110242381691933,
-0.05921836942434311,
-0.013788681477308273,
0.021629666909575462,
-0.0393434576690197,
0.031511709094047546,
0.06823226809501648,
-0.016984183341264725,
-0.011424380354583263,
0.08777470141649246,
0.04976116493344307,
0.07587931305170059,
-0.046103883534669876,
-0.024640457704663277,
0.05622605234384537,
0.012975952588021755,
0.017741499468684196,
-0.04288991168141365,
-0.02615508809685707,
0.0167902372777462,
0.01011293102055788,
-0.022922644391655922,
0.006968225352466106,
0.004996434785425663,
0.022036030888557434,
-0.0036618970334529877,
0.07078128308057785,
0.007979518733918667,
-0.05208852142095566,
0.025471657514572144,
0.02096470631659031,
0.029313648119568825,
0.01098107360303402,
0.07780030369758606,
-0.011719917878508568,
0.059403080493211746,
-0.052273232489824295,
-0.0013356920098885894,
-0.027207940816879272,
0.03164100646972656,
0.04628859460353851,
-0.029701540246605873,
-0.023790786042809486,
-0.03904792293906212,
0.0257117822766304,
-0.045106444507837296,
-0.00976198073476553,
-0.03766258805990219,
-0.04170776158571243,
-0.00003860172728309408,
0.02107553370296955,
-0.023920083418488503,
-0.024529630318284035,
-0.010796362534165382,
-0.011812273412942886,
-0.027835959568619728,
0.009452588856220245,
-0.0500936433672905,
-0.030606625601649284,
-0.03326646611094475,
0.012495703995227814,
0.0010251464555040002,
0.015164779499173164,
-0.013659384101629257,
0.04277908429503441,
-0.004908696748316288,
0.05703878030180931,
-0.0013726342003792524,
0.056115224957466125,
-0.049391742795705795,
0.06379920244216919,
0.014832299202680588,
0.012061633169651031,
-0.004019774962216616,
-0.04015618935227394,
0.0013726342003792524,
-0.0361110158264637,
-0.04451536759734154,
0.0054443590342998505,
-0.012412584386765957,
-0.03679444640874863,
0.02192520536482334,
-0.0034333171788603067,
0.005245794542133808,
0.01967172883450985,
0.010445411317050457,
0.02774360403418541,
0.005892283283174038,
-0.00697284284979105,
0.07979518175125122,
0.0729978159070015,
-0.02674616314470768,
-0.010343819856643677,
0.034707210958004,
-0.05977250263094902,
-0.035593822598457336,
0.019948795437812805,
-0.011692211031913757,
-0.008473620750010014,
-0.040673378854990005,
0.03766258805990219,
0.026487568393349648,
0.051829926669597626,
-0.04806182160973549,
0.04314850643277168,
-0.02739265188574791,
0.029627656564116478,
0.03350658714771271,
-0.054859187453985214,
-0.07089211046695709,
0.010279171168804169,
-0.04702743887901306,
0.017390547320246696,
-0.013511614874005318,
0.010583944618701935,
0.07876080274581909,
0.0011134614469483495,
0.046399421989917755,
-0.015127836726605892,
0.011248904280364513,
-0.028925754129886627,
0.012606530450284481,
0.015700440853834152,
-0.008561357855796814,
0.0371638685464859,
0.009217082522809505,
-0.013936450704932213,
0.03197348862886429,
0.022941116243600845,
-0.02619202993810177,
0.011276611126959324,
-0.0033455793745815754,
-0.011193491518497467,
-0.030754394829273224,
0.01225558016449213,
0.016947241500020027,
0.008639860898256302,
0.05216240882873535,
-0.00507955439388752,
0.03479956462979317,
-0.007337647490203381,
0.006848162971436977,
-0.03598171845078468,
-0.007453091908246279,
0.054268114268779755,
0.009965162724256516,
-0.021648138761520386,
-0.028611745685338974,
-0.02116788923740387,
-0.005906136706471443,
-0.0007065198733471334,
0.04078420624136925,
-0.004061334766447544,
-0.002465892815962434,
0.014887712895870209,
-0.0915428102016449,
-0.014961597509682178,
0.03023720346391201,
0.015506494790315628,
-0.01582973822951317,
0.0293321181088686,
0.06993161141872406,
0.06970995664596558,
-0.03278621658682823,
0.003507201559841633,
-0.008589064702391624,
-0.014315107837319374,
-0.0023619928397238255,
0.02257169410586357,
-0.013179135508835316,
-0.00513035012409091,
0.058701179921627045,
-0.03614795580506325,
-0.004541583359241486,
0.0507216602563858,
-0.016660938039422035,
0.022978058084845543,
0.0017178129637613893,
0.04946562647819519,
-0.04429371654987335,
0.022276155650615692,
-0.09804464131593704,
-0.026284385472536087,
0.0257117822766304,
-0.08127287030220032,
0.037034571170806885,
0.03426390513777733,
0.04277908429503441,
-0.06727177649736404,
0.09183834493160248,
0.01021452248096466,
-0.0003754829813260585,
0.06383614987134933,
-0.06671763956546783,
0.0729239359498024,
-0.006520301103591919,
0.038826268166303635,
0.005781456828117371,
0.04318545013666153,
-0.007037492003291845,
-0.01996726728975773,
0.007226820569485426,
0.0011746470117941499,
0.048985376954078674,
0.06047440692782402,
-0.060437463223934174,
-0.04588223248720169,
0.01576508954167366,
0.05585663020610809,
0.010269936174154282,
0.05958779156208038,
0.027078643441200256,
0.03989759087562561,
-0.03177030384540558,
-0.030662039294838905,
0.017602965235710144,
-0.021260244771838188,
0.02246086671948433,
0.033949896693229675,
-0.019560903310775757,
-0.058294814079999924,
0.0003007327322848141,
-0.07466021925210953,
-0.10040894150733948,
-0.04034090042114258,
0.01230175793170929,
-0.022497808560729027,
0.06679152697324753,
-0.019413134083151817,
-0.018665054813027382,
0.05973556265234947,
-0.03417154774069786,
-0.05164521560072899,
-0.01902524009346962,
0.02486211061477661,
0.025194590911269188,
0.0028283882420510054,
0.04872678220272064,
-0.0414491668343544,
0.024030910804867744,
0.016577819362282753,
-0.029701540246605873,
0.0393434576690197,
-0.010343819856643677,
-0.04806182160973549,
-0.06738259643316269,
0.006538772024214268,
-0.011461322195827961,
-0.005545950029045343,
0.03535370156168938,
-0.010177580639719963,
0.0004938135389238596,
0.008478238247334957,
0.01476765051484108,
0.07488186657428741,
-0.034097664058208466,
-0.08341552317142487,
0.02251628041267395,
0.08755304664373398,
-0.08674032241106033,
0.033192578703165054,
-0.04602999985218048,
0.00011775331222452223,
0.04348098859190941,
0.04518032819032669,
0.0814945250749588,
0.08090344816446304,
-0.06317118555307388,
0.005929225590080023,
0.07972130179405212,
0.0008519798284396529,
-0.03123464249074459,
-0.0189328845590353,
-0.0271894708275795,
-0.017741499468684196,
0.05977250263094902,
-0.04843124374747276,
-0.033303406089544296,
-0.053418442606925964,
-0.0005775107420049608,
-0.04957645386457443,
0.05349232628941536,
0.06254316866397858,
-0.009101638570427895,
-0.04030395671725273,
0.025286946445703506,
-0.030015550553798676,
-0.016947241500020027,
-0.014536761678755283,
0.05271654203534126,
0.0035926303826272488,
-0.023347480222582817,
0.006945136468857527,
-0.00011934067151742056,
0.01667017489671707,
-0.03642502427101135,
-0.06719788908958435,
-0.008330469019711018,
0.039232634007930756,
0.01582973822951317,
-0.034688740968704224,
-0.001359935267828405,
-0.02186979167163372,
-0.037330109626054764,
0.018147863447666168,
-0.008921544998884201,
-0.02554554119706154,
0.031123816967010498,
-0.028851870447397232,
-0.06860169023275375,
0.09058231115341187,
-0.0343562588095665,
-0.004079805687069893,
0.06379920244216919,
-0.003077748231589794,
-0.03986065089702606,
-0.005684483330696821,
0.0013241475680842996,
-0.0015365652507171035,
0.0035787769593298435,
-0.05881200730800629,
0.0585903525352478,
-0.00026133732171729207,
0.06753037124872208,
-0.006765042897313833,
-0.03696068748831749,
0.03535370156168938,
-0.06102854013442993,
0.011128841899335384,
-0.02853786014020443,
0.06272788345813751,
-0.006109318695962429,
0.039971478283405304,
-0.08829189091920853,
-0.03317410871386528,
0.023846199735999107,
-0.027632776647806168,
-0.0228672306984663,
0.023883141577243805,
0.026228971779346466,
-0.004407668020576239,
0.010528530925512314,
-0.01539566833525896,
0.0493178553879261,
0.02609967440366745,
-0.047987937927246094,
0.031400881707668304,
0.021334128454327583,
-0.0116090914234519,
0.041116684675216675,
-0.05563497543334961,
0.04034090042114258,
-0.027485007420182228,
-0.06749342381954193,
-0.020539872348308563,
0.04843124374747276,
-0.030514270067214966,
0.011295082047581673,
0.08238113671541214,
-0.010389997623860836,
-0.0031493238639086485,
0.014804592356085777,
-0.04314850643277168,
-0.025933435186743736,
-0.06616351008415222,
-0.020706111565232277,
0.015183250419795513,
0.07111376523971558,
-0.037089984863996506,
0.013705561868846416,
0.015543436631560326,
-0.03138241171836853,
-0.023679960519075394,
0.0421510674059391,
-0.03191807493567467,
-0.0987095981836319,
-0.0076932162046432495,
-0.007480798754841089,
-0.0843760222196579,
-0.008118052035570145,
-0.012070869095623493,
0.034485556185245514,
-0.03491039201617241,
-0.0079564293846488,
-0.006146261002868414,
0.013188370503485203,
0.021389542147517204,
-0.03816130757331848,
-0.01952396146953106,
0.010039047338068485,
0.012043162249028683,
0.01011293102055788,
0.062247633934020996,
0.03223208338022232,
-0.006215527653694153,
0.05873811990022659,
-0.042372722178697586,
-0.03956511244177818,
0.03766258805990219,
0.011932335793972015,
-0.025822607800364494,
-0.0001737438578857109,
0.0056983367539942265,
-0.0422249510884285,
0.015783561393618584,
0.015321783721446991,
0.015959037467837334,
0.06608962267637253,
0.021001650020480156,
-0.008759922347962856,
0.012920539826154709,
-0.025083763524889946,
0.06660681217908859,
0.03263844549655914,
-0.017224308103322983,
0.0066126566380262375,
-0.011793802492320538,
0.04255743324756622,
0.0009726192802190781,
-0.02759583480656147,
0.028260793536901474,
0.0028976548928767443,
0.013206841424107552,
0.015377197414636612,
-0.024548102170228958,
0.048985376954078674,
-0.03720081225037575,
-0.01667940989136696,
0.043554872274398804,
0.03901097923517227,
0.014499818906188011,
-0.03465179726481438,
0.04270520061254501,
0.07296087592840195,
-0.014555232599377632,
0.0586642362177372,
0.0014938508393242955,
0.03500274941325188,
0.0016935697058215737,
-0.012117046862840652,
0.00014849039143882692,
0.017390547320246696,
0.02440033294260502,
-0.053566209971904755,
0.004278370179235935,
-0.005873812362551689,
-0.019634786993265152,
-0.02515764907002449,
0.011969277635216713,
0.013650148175656796,
-0.032749272882938385,
0.0030107905622571707,
0.060696057975292206,
-0.006437181029468775,
0.023384422063827515
] |
719,719
|
ibm_platform_services.iam_identity_v1
|
get_profile_identities
|
Get a list of identities that can assume the trusted profile.
Get a list of identities that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileIdentitiesResponse` object
|
def get_profile_identities(
self,
profile_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get a list of identities that can assume the trusted profile.
Get a list of identities that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileIdentitiesResponse` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_profile_identities',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/identities'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.08611427247524261,
-0.03677796944975853,
0.00796557031571865,
0.009634033776819706,
-0.004758710507303476,
0.02395053207874298,
-0.006611064076423645,
-0.01386798545718193,
0.006853260565549135,
-0.019465412944555283,
-0.018092967569828033,
0.02116975747048855,
-0.04998215660452843,
-0.006902596913278103,
0.03184434026479721,
-0.025134602561593056,
0.0036262180656194687,
-0.006615549325942993,
0.053426727652549744,
-0.017761068418622017,
0.003262923564761877,
0.06426277756690979,
-0.02221030555665493,
-0.052924394607543945,
0.013320800848305225,
-0.01197526603937149,
0.026498079299926758,
-0.06071056053042412,
0.04165777936577797,
0.024237578734755516,
-0.0310011375695467,
0.03369220718741417,
-0.016666699200868607,
0.022676758468151093,
-0.019734520465135574,
-0.019178366288542747,
-0.006768043618649244,
0.058055371046066284,
-0.040079016238451004,
0.06347339600324631,
-0.1023324579000473,
-0.012988902628421783,
0.03498392179608345,
0.006059394683688879,
-0.060244109481573105,
0.00641820440068841,
0.0007585456478409469,
-0.0585218220949173,
-0.012432747520506382,
-0.030122054740786552,
-0.01705241948366165,
0.03130612522363663,
0.0041509768925607204,
-0.0040724873542785645,
0.026264851912856102,
-0.04126308858394623,
-0.03911023214459419,
-0.03227490931749344,
0.007485662121325731,
0.07606760412454605,
0.03344104066491127,
-0.046322301030159,
0.011751010082662106,
-0.0010237282840535045,
-0.014675307087600231,
-0.03824908658862114,
-0.029099447652697563,
0.01424473524093628,
-0.052529703825712204,
-0.011508813127875328,
0.049659229815006256,
-0.0310011375695467,
0.020685365423560143,
0.006579668261110783,
0.045748207718133926,
-0.025654876604676247,
-0.011499843560159206,
-0.017321527004241943,
0.014199884608387947,
0.05547194182872772,
-0.0485469214618206,
-0.05281675234436989,
0.019268067553639412,
0.026803066954016685,
0.016720520332455635,
0.03381779044866562,
0.03446364775300026,
-0.07771813124418259,
-0.03229285031557083,
0.024793732911348343,
0.008234676904976368,
0.06515979766845703,
-0.007656096946448088,
-0.01794944331049919,
0.027753911912441254,
0.046824634075164795,
0.01460354495793581,
0.03885906562209129,
-0.034302182495594025,
0.0015283040702342987,
-0.031090838834643364,
-0.050986822694540024,
-0.04517411068081856,
0.0010405473876744509,
0.046322301030159,
0.022963805124163628,
0.04302125424146652,
0.0617511086165905,
0.03087555430829525,
0.06185875087976456,
-0.03182639926671982,
-0.052996158599853516,
0.005332805681973696,
-0.005512210540473461,
0.024434924125671387,
-0.014540753327310085,
0.08625779300928116,
0.012881259433925152,
-0.010988540016114712,
-0.019286008551716805,
-0.01969863846898079,
0.01803017593920231,
-0.030911434441804886,
0.0026305217761546373,
-0.07262303680181503,
-0.026408376172184944,
-0.0336204469203949,
0.011957325041294098,
0.01524940226227045,
0.008301953785121441,
-0.03939727693796158,
-0.030247638002038002,
-0.02382494881749153,
0.0027942287269979715,
0.06738441437482834,
0.019088663160800934,
-0.02285616286098957,
0.010324742645025253,
0.08647307753562927,
0.050484489649534225,
-0.04180130362510681,
-0.005929326172918081,
-0.03017587587237358,
0.042016588151454926,
-0.03595270961523056,
-0.025762518867850304,
0.016998598352074623,
0.031359948217868805,
0.013231098651885986,
-0.07247950881719589,
0.015123819001019001,
0.0006492208922281861,
-0.006660400424152613,
-0.020810948684811592,
-0.03281312435865402,
-0.05087918043136597,
0.028722697868943214,
-0.02908150665462017,
0.03467893600463867,
-0.013329771347343922,
0.007534998469054699,
0.01075531356036663,
0.045532919466495514,
-0.010961628518998623,
-0.01710624061524868,
-0.0365985631942749,
0.015581300482153893,
0.03381779044866562,
0.0026507049333304167,
-0.052996158599853516,
-0.004875323735177517,
-0.023914650082588196,
0.04718344286084175,
0.019734520465135574,
0.02330467477440834,
-0.02926091104745865,
0.0410836823284626,
-0.022622935473918915,
-0.06795851141214371,
0.052027370780706406,
0.009759617038071156,
-0.04312889650464058,
-0.0010091515723615885,
-0.006785983685404062,
0.02484755590558052,
-0.009050969034433365,
0.036293577402830124,
0.00220107170753181,
0.018855437636375427,
0.0242734607309103,
-0.018335163593292236,
-0.025601055473089218,
-0.04273420572280884,
0.06720501184463501,
-0.008705614134669304,
-0.01887337677180767,
0.06515979766845703,
-0.011670277453958988,
-0.045030586421489716,
-0.08446374535560608,
-0.01472912821918726,
0.015581300482153893,
0.03792615979909897,
-0.013679610565304756,
-0.028973864391446114,
0.020703306421637535,
-0.023986412212252617,
-0.009266254492104053,
0.03911023214459419,
-0.005637793801724911,
-0.003446813439950347,
-0.008584516122937202,
0.002915326738730073,
0.02926091104745865,
0.00474974000826478,
0.044061802327632904,
0.00879083201289177,
-0.01964481733739376,
0.04578408598899841,
-0.017240794375538826,
0.04004313424229622,
-0.1006101742386818,
-0.0015170912956818938,
0.0011268859962001443,
-0.008880534209311008,
0.029565898701548576,
-0.024739911779761314,
-0.023842887952923775,
-0.004686948377639055,
-0.016128486022353172,
0.06035175174474716,
0.009149640798568726,
-0.03354868292808533,
-0.0016583724645897746,
-0.031216422095894814,
0.012630092911422253,
0.02016509138047695,
-0.03288488835096359,
0.009073394350707531,
0.08482255786657333,
0.007436326239258051,
0.008893989026546478,
0.038033802062273026,
-0.014146062545478344,
-0.05694306269288063,
0.023771125823259354,
-0.0125134801492095,
0.0009676642366684973,
-0.013921806588768959,
-0.03022969700396061,
0.01932188868522644,
0.0022896528244018555,
0.027305399999022484,
0.013473295606672764,
0.010423414409160614,
-0.03921787440776825,
0.004884293768554926,
-0.04147837311029434,
0.03663444519042969,
0.0015058784047141671,
-0.029745304957032204,
-0.0032517106737941504,
-0.023286733776330948,
-0.037208542227745056,
-0.04452825337648392,
-0.028920043259859085,
-0.034302182495594025,
0.03789027780294418,
0.030965255573391914,
-0.027323340997099876,
-0.002336746547371149,
0.021797673776745796,
-0.01383210439234972,
-0.009526391513645649,
-0.014361348934471607,
-0.002652947325259447,
-0.021008294075727463,
0.03177257627248764,
-0.023591721430420876,
0.049192775040864944,
-0.042841847985982895,
-0.006579668261110783,
-0.03318987414240837,
-0.023394376039505005,
0.024345220997929573,
-0.06221755966544151,
0.003828048473224044,
0.035270970314741135,
-0.03632945939898491,
0.0012984417844563723,
0.013410503976047039,
0.024381102994084358,
-0.0587729886174202,
-0.04277008771896362,
-0.03789027780294418,
-0.011150004342198372,
-0.013921806588768959,
0.007534998469054699,
0.03857201710343361,
0.016325829550623894,
-0.028453590348362923,
0.06379631906747818,
0.005346260964870453,
-0.05622544139623642,
-0.014092241413891315,
-0.04036606475710869,
0.023412317037582397,
-0.03344104066491127,
0.0065662129782140255,
-0.015805557370185852,
-0.019160425290465355,
-0.0171780027449131,
-0.002601368585601449,
0.00699678435921669,
-0.02805889956653118,
-0.013652699999511242,
-0.0024914832320064306,
-0.019662758335471153,
0.034248363226652145,
0.061464060097932816,
-0.018586330115795135,
-0.005835138726979494,
0.10785812139511108,
0.021474746987223625,
0.10943688452243805,
-0.016684640198946,
0.028525352478027344,
0.04962334781885147,
-0.021097995340824127,
-0.020505961030721664,
-0.016774341464042664,
-0.06856849044561386,
-0.005853079259395599,
-0.0007355593843385577,
0.04664522781968117,
-0.01733049750328064,
0.01165233738720417,
0.039181992411613464,
0.022300008684396744,
0.06702560931444168,
-0.03369220718741417,
-0.08991765230894089,
0.029189148917794228,
0.02773597091436386,
0.037208542227745056,
0.0210441742092371,
0.05938296392560005,
0.007001269608736038,
0.024542566388845444,
-0.002046335255727172,
-0.0036755544133484364,
-0.020972412079572678,
0.052027370780706406,
0.028005078434944153,
-0.018532508984208107,
-0.0018669305136427283,
-0.014702217653393745,
0.0027807732112705708,
-0.04122720658779144,
0.045927610248327255,
-0.030086172744631767,
-0.03946904093027115,
0.01472912821918726,
0.003819078207015991,
0.030983196571469307,
-0.022802341729402542,
0.013751372694969177,
-0.00216631218791008,
0.010710461996495724,
-0.006763558369129896,
-0.059921178966760635,
-0.007023695390671492,
-0.06688208132982254,
0.010602819733321667,
0.04230363667011261,
-0.010943688452243805,
-0.028579173609614372,
0.03204168379306793,
-0.012343045324087143,
0.044456493109464645,
-0.029942648485302925,
0.015348074957728386,
-0.013078604824841022,
0.0338716134428978,
-0.012683914043009281,
0.032579898834228516,
0.025242244824767113,
-0.028776519000530243,
-0.025852221995592117,
0.011966295540332794,
-0.022999687120318413,
-0.01899896003305912,
-0.01637965254485607,
-0.059992942959070206,
0.009284194558858871,
-0.006907082162797451,
0.0072569213807582855,
0.005368686746805906,
0.04338006302714348,
-0.004740769974887371,
-0.031359948217868805,
0.022676758468151093,
0.08080389350652695,
0.08058860152959824,
-0.033207815140485764,
-0.029314732179045677,
0.03134200721979141,
-0.05941884592175484,
-0.00403436366468668,
-0.012055997736752033,
-0.0026125814765691757,
-0.0009009481291286647,
0.006364382803440094,
-0.0022347101476043463,
0.052529703825712204,
0.05672777444124222,
-0.042195990681648254,
0.050089798867702484,
-0.02484755590558052,
0.031736698001623154,
0.010450325906276703,
-0.03521714732050896,
-0.05766068026423454,
0.03130612522363663,
-0.04172953963279724,
0.0008033968042582273,
-0.02059566229581833,
-0.013679610565304756,
0.03774675354361534,
-0.01977040059864521,
0.0361141711473465,
0.003935691434890032,
0.0221564844250679,
-0.047972824424505234,
0.010010783560574055,
0.0016067936085164547,
-0.03695737570524216,
0.04474353790283203,
0.01363475900143385,
-0.008961265906691551,
0.03562977910041809,
0.06932199001312256,
-0.03975608944892883,
0.022317947819828987,
0.02278440073132515,
-0.01546468771994114,
-0.014047390781342983,
-0.0035880946088582277,
0.02920708991587162,
0.015132788568735123,
0.010091516189277172,
-0.03227490931749344,
0.024865495041012764,
-0.00335486838594079,
0.023448199033737183,
-0.03042704239487648,
-0.005933811422437429,
0.08525312691926956,
0.01116794440895319,
-0.003841503756120801,
-0.023089388385415077,
-0.06659503281116486,
0.011858652345836163,
0.005539121106266975,
0.030785851180553436,
-0.026408376172184944,
-0.015671003609895706,
0.015805557370185852,
-0.06358103454113007,
-0.014146062545478344,
0.011060301214456558,
0.038356732577085495,
-0.013231098651885986,
0.03491216152906418,
0.04754225164651871,
0.08460727334022522,
0.0009261769009754062,
-0.00962506327778101,
0.02138504385948181,
0.005915870890021324,
-0.025601055473089218,
-0.0018411410273984075,
-0.013069634325802326,
-0.03331545740365982,
0.04388239607214928,
-0.04273420572280884,
0.019088663160800934,
-0.011392200365662575,
-0.019734520465135574,
0.0033458981197327375,
0.03731618449091911,
0.007315227761864662,
-0.04621465876698494,
0.029888827353715897,
-0.017689306288957596,
-0.02816654182970524,
0.03356662392616272,
-0.08424846082925797,
0.006593124009668827,
0.012639063410460949,
0.04847515746951103,
-0.047972824424505234,
0.11137445271015167,
0.003343655727803707,
0.016971686854958534,
0.08259794116020203,
-0.03313605487346649,
0.05866534635424614,
-0.02310732938349247,
0.025188423693180084,
0.009266254492104053,
0.04686051607131958,
0.003603792516514659,
-0.06440629810094833,
-0.003000544151291251,
0.033925432711839676,
0.050412729382514954,
0.08223912864923477,
-0.07355593889951706,
-0.003697979962453246,
0.02805889956653118,
0.013437414541840553,
-0.0034692389890551567,
0.05540018156170845,
0.04768577590584755,
0.04847515746951103,
-0.05435963347554207,
-0.018640151247382164,
0.005933811422437429,
0.0005752164288423955,
-0.005014362279325724,
-0.0027112539391964674,
-0.02683894708752632,
-0.06193051114678383,
-0.02470403164625168,
-0.0657338947057724,
-0.012970961630344391,
-0.08604250848293304,
0.08388964831829071,
0.027197757735848427,
0.06368868052959442,
-0.018568389117717743,
-0.04180130362510681,
0.05134563520550728,
-0.02895592339336872,
-0.027753911912441254,
-0.03911023214459419,
0.03331545740365982,
0.013006842695176601,
-0.002469057682901621,
0.07979921996593475,
-0.014522813260555267,
0.0545390360057354,
-0.007395959924906492,
-0.0169358067214489,
0.03598858788609505,
-0.01653214544057846,
-0.052027370780706406,
-0.09544331580400467,
0.018909258767962456,
0.001558578573167324,
0.004888779018074274,
0.0022504080552607775,
-0.03663444519042969,
0.010584878735244274,
0.021600330248475075,
0.02233588881790638,
0.03806968405842781,
-0.03964844346046448,
-0.07649817317724228,
0.030319400131702423,
0.06634386628866196,
-0.08711893856525421,
0.03792615979909897,
-0.07477588951587677,
-0.015581300482153893,
0.024094054475426674,
-0.00029657845152541995,
0.10513117164373398,
0.0338716134428978,
-0.07287420332431793,
0.02181561477482319,
0.09422336518764496,
-0.03277724236249924,
0.004334867000579834,
0.013105515390634537,
-0.031108779832720757,
-0.0074139004573225975,
0.07377122342586517,
-0.024865495041012764,
-0.0405813492834568,
-0.018371043726801872,
-0.039576683193445206,
-0.05557958409190178,
0.027430983260273933,
0.06340163201093674,
-0.008131518959999084,
-0.007328683044761419,
-0.006413719151169062,
-0.03964844346046448,
-0.005956237204372883,
0.0027022836729884148,
0.029888827353715897,
0.0031709785107523203,
0.004924659617245197,
-0.058198895305395126,
0.020380377769470215,
0.027753911912441254,
-0.06103348731994629,
-0.04043782502412796,
0.0007153763435781002,
0.049013372510671616,
0.03997137397527695,
-0.03582712262868881,
-0.0037518013268709183,
-0.004713859409093857,
0.002086701337248087,
0.06027998775243759,
-0.01912454329431057,
-0.004673493094742298,
0.03896670788526535,
-0.059024155139923096,
-0.03598858788609505,
0.0503050871193409,
-0.014451051130890846,
-0.022892042994499207,
0.043559469282627106,
-0.016200246289372444,
-0.033799849450588226,
0.012881259433925152,
-0.01242377795279026,
0.01055796816945076,
-0.014720157720148563,
-0.07606760412454605,
0.07054194062948227,
0.018568389117717743,
0.06160758435726166,
-0.03062438778579235,
-0.04840339720249176,
-0.01894513890147209,
-0.06318634748458862,
-0.006207403726875782,
-0.05550782382488251,
0.018406925722956657,
-0.012118789367377758,
0.027377162128686905,
-0.07258715480566025,
0.0023345041554421186,
0.03143170848488808,
-0.011876593343913555,
0.004610701464116573,
0.02567281760275364,
0.010504147037863731,
0.009033028036355972,
-0.0027650753036141396,
-0.007117882836610079,
0.00912721548229456,
0.034768637269735336,
-0.028740637004375458,
0.021331222727894783,
0.05705070495605469,
0.008849138393998146,
0.025565173476934433,
-0.03550419583916664,
0.08338731527328491,
-0.02836388722062111,
-0.0495515875518322,
-0.01585937850177288,
0.03055262565612793,
0.0050009069964289665,
0.054969608783721924,
0.05238617956638336,
0.010889867320656776,
0.01476500928401947,
0.03369220718741417,
-0.06193051114678383,
-0.04671699181199074,
-0.049515705555677414,
-0.0015552147524431348,
0.06060291826725006,
-0.006350927520543337,
-0.029350614175200462,
0.024111995473504066,
-0.020398316904902458,
-0.022766459733247757,
-0.05977765470743179,
0.032454315572977066,
-0.03143170848488808,
-0.08848240971565247,
0.0035297879949212074,
-0.012665973976254463,
-0.06928610801696777,
0.011221765540540218,
0.015975991263985634,
0.011885562911629677,
-0.015626151114702225,
-0.010082545690238476,
-0.0073331682942807674,
0.006516876630485058,
0.02002156712114811,
-0.05069977790117264,
-0.015563360415399075,
-0.003036424983292818,
-0.006920537445694208,
0.01637965254485607,
0.06957315653562546,
0.046501707285642624,
-0.024668149650096893,
0.051883846521377563,
-0.0443129688501358,
-0.052529703825712204,
0.03588094562292099,
0.021097995340824127,
-0.04883396625518799,
0.029924709349870682,
0.04729108512401581,
-0.026803066954016685,
0.0005948388134129345,
0.01695374771952629,
0.011598515324294567,
0.07563703507184982,
0.024632269516587257,
-0.022892042994499207,
0.047793418169021606,
-0.06311458349227905,
0.0242734607309103,
0.07441708445549011,
0.013778283260762691,
-0.008705614134669304,
-0.018783675506711006,
0.009517421014606953,
0.007351108826696873,
-0.04050958901643753,
-0.006019028834998608,
-0.04754225164651871,
0.012441718019545078,
-0.0023322615306824446,
-0.03055262565612793,
0.02355584129691124,
-0.06885553151369095,
-0.008301953785121441,
-0.012818467803299427,
0.02920708991587162,
0.01939365081489086,
-0.015303223393857479,
0.01894513890147209,
0.11115916818380356,
-0.022945864126086235,
0.03220314905047417,
0.004417841322720051,
0.031611114740371704,
0.03207756578922272,
-0.04294949397444725,
-0.04614289477467537,
0.012701855041086674,
0.008849138393998146,
-0.013894896022975445,
-0.008279528468847275,
-0.015868349000811577,
-0.025888102129101753,
-0.03799792006611824,
0.03496598079800606,
0.013033753260970116,
-0.05633308365941048,
0.012988902628421783,
0.03832085058093071,
0.009436688385903835,
0.005879989825189114
] |
719,720
|
ibm_platform_services.iam_identity_v1
|
get_profile_identity
|
Get the identity that can assume the trusted profile.
Get the identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier_id: Identifier of the identity that can assume the
trusted profiles.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileIdentityResponse` object
|
def get_profile_identity(
self,
profile_id: str,
identity_type: str,
identifier_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get the identity that can assume the trusted profile.
Get the identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier_id: Identifier of the identity that can assume the
trusted profiles.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileIdentityResponse` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not identity_type:
raise ValueError('identity_type must be provided')
if not identifier_id:
raise ValueError('identifier_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_profile_identity',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id', 'identity-type', 'identifier-id']
path_param_values = self.encode_path_vars(profile_id, identity_type, identifier_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/identities/{identity-type}/{identifier-id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, identity_type: str, identifier_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.07443466037511826,
-0.026396669447422028,
0.033556610345840454,
0.02009807713329792,
0.04044737666845322,
-0.012857384979724884,
0.0031358383130282164,
-0.015522174537181854,
-0.012776634655892849,
-0.036643099039793015,
0.008200732991099358,
0.04877372458577156,
-0.02298717387020588,
-0.0029362032655626535,
0.045256562530994415,
-0.0071061053313314915,
0.01493897195905447,
0.0025100165512412786,
0.05369057506322861,
-0.026576116681098938,
0.028621813282370567,
0.03972959145903587,
0.005468650721013546,
-0.03490246459841728,
0.009851646609604359,
0.011816591955721378,
0.035099852830171585,
-0.034615349024534225,
0.03247992694377899,
0.04134461283683777,
0.005289203487336636,
0.021874602884054184,
-0.016383521258831024,
0.055054374039173126,
-0.014876165427267551,
0.0077924905344843864,
-0.046440910547971725,
0.0989830270409584,
-0.06180158630013466,
0.05236266553401947,
-0.11075475811958313,
0.016706526279449463,
0.03696610406041145,
0.007491916883736849,
-0.07378865033388138,
0.013422643765807152,
-0.003894002176821232,
-0.05767429992556572,
-0.03395139425992966,
-0.026522282510995865,
0.023453736677765846,
-0.004499636124819517,
-0.002532447222620249,
0.0028756398241966963,
0.0017529739998281002,
-0.04622557386755943,
-0.016724471002817154,
-0.059325214475393295,
-0.020044242963194847,
0.07852605730295181,
0.02951904945075512,
-0.04134461283683777,
-0.021085035055875778,
0.018070323392748833,
-0.009743978269398212,
-0.031331464648246765,
-0.028908928856253624,
0.0033107991330325603,
-0.03538696840405464,
-0.008658323436975479,
0.08520148694515228,
-0.03915536031126976,
0.019290564581751823,
-0.005356496199965477,
0.07579845935106277,
-0.04202651232481003,
-0.02903454191982746,
-0.04141639173030853,
0.033215660601854324,
0.053295791149139404,
-0.01209473516792059,
-0.02594805136322975,
-0.03072134591639042,
0.010058010928332806,
0.019362343475222588,
0.035638194531202316,
0.02661200612783432,
-0.07730581611394882,
-0.03296443447470665,
0.019272619858384132,
-0.000448617764050141,
0.008752532303333282,
-0.027024734765291214,
-0.00020061625400558114,
0.022269386798143387,
0.01320730708539486,
0.018312577158212662,
0.0197391826659441,
0.01073990948498249,
-0.000509461562614888,
-0.005387899465858936,
-0.05203966051340103,
-0.034238509833812714,
-0.005311634391546249,
0.041775286197662354,
0.012265210039913654,
0.060724902898073196,
0.07116872072219849,
0.026576116681098938,
0.022951284423470497,
-0.02594805136322975,
-0.07902850955724716,
-0.06147858127951622,
-0.010372042655944824,
0.03005739115178585,
-0.008550655096769333,
0.07177884131669998,
0.03797100856900215,
-0.005450705997645855,
-0.004546741023659706,
-0.02557121217250824,
-0.004526553209871054,
-0.05738718435168266,
0.006424206309020519,
-0.052254997193813324,
-0.011376947164535522,
-0.03038039617240429,
-0.0137277040630579,
0.006787586957216263,
-0.007635474670678377,
-0.05663350597023964,
-0.0037639031652361155,
-0.055736273527145386,
0.02767074480652809,
0.01245362963527441,
0.027060624212026596,
-0.019182896241545677,
0.01957768015563488,
0.04414398968219757,
0.05928932502865791,
-0.050927091389894485,
-0.015755455940961838,
-0.01827668771147728,
0.02336401306092739,
-0.03858112916350365,
-0.026917066425085068,
0.03298237919807434,
-0.0185368862003088,
0.018204908818006516,
-0.052434444427490234,
0.056238725781440735,
0.014077626168727875,
0.00737976236268878,
-0.028890984132885933,
-0.0007564817206002772,
-0.051250092685222626,
0.025517379865050316,
-0.026665840297937393,
0.009012730792164803,
-0.014651856385171413,
-0.034112896770238876,
0.031851861625909805,
0.03434617817401886,
-0.03158269077539444,
-0.010084928013384342,
-0.04313908517360687,
0.03536902368068695,
0.024979038164019585,
0.04019615426659584,
-0.04941973462700844,
-0.0350639633834362,
-0.03429234400391579,
-0.012292127124965191,
0.01021951250731945,
0.003929891623556614,
-0.024333028122782707,
0.02847825549542904,
-0.034112896770238876,
-0.07658802717924118,
0.0307572353631258,
0.05257800221443176,
-0.05695651099085808,
-0.015943875536322594,
0.028944818302989006,
0.016347631812095642,
0.006801045499742031,
0.061586249619722366,
0.013880234211683273,
0.05404946953058243,
0.018285660073161125,
-0.008007827214896679,
0.006594681181013584,
-0.059109877794981,
0.04579490050673485,
0.019308509305119514,
-0.027921970933675766,
0.07127638906240463,
-0.014894110150635242,
-0.02921398915350437,
-0.049706850200891495,
-0.023238399997353554,
0.01821388117969036,
-0.006693377159535885,
-0.008088578470051289,
-0.041093386709690094,
-0.02162337675690651,
0.022089939564466476,
0.02266417071223259,
-0.017666567116975784,
-0.0016430625692009926,
-0.026037774980068207,
-0.004012885969132185,
-0.0021365422289818525,
0.04647679999470711,
0.0008708792738616467,
0.007281066384166479,
-0.017962655052542686,
-0.003844654420390725,
0.051106538623571396,
-0.004863016773015261,
0.0442875474691391,
-0.050209302455186844,
-0.006177466828376055,
0.01891372539103031,
0.01803443394601345,
0.052936896681785583,
-0.0169308353215456,
-0.027347739785909653,
-0.024638088420033455,
-0.020672306418418884,
0.04740992560982704,
-0.000276600883807987,
-0.03124174103140831,
0.019434122368693352,
-0.04084216058254242,
0.012579242698848248,
0.015665732324123383,
-0.03108023852109909,
0.01126030646264553,
0.06076079234480858,
0.020887643098831177,
0.023938244208693504,
0.028244975954294205,
-0.007595099043101072,
-0.05548504739999771,
-0.009465835057199001,
-0.022718004882335663,
0.008631406351923943,
-0.01759478822350502,
-0.05336757004261017,
0.02731185033917427,
-0.0068862829357385635,
0.023651128634810448,
0.030811069533228874,
-0.0026558171957731247,
0.006356914062052965,
0.018644554540514946,
-0.0641343966126442,
0.03283882141113281,
-0.0025212320033460855,
-0.03124174103140831,
0.0010733180679380894,
-0.016195101663470268,
-0.03474096208810806,
-0.05939699336886406,
-0.05835619941353798,
-0.046799805015325546,
0.0494915135204792,
0.03371811285614967,
-0.021031200885772705,
0.03005739115178585,
0.05936110392212868,
-0.01449932623654604,
-0.004719458986073732,
-0.0066260844469070435,
-0.020654361695051193,
-0.02011602185666561,
0.05239855498075485,
-0.012498491443693638,
0.010416904464364052,
-0.06650310009717941,
-0.007577154319733381,
-0.011888370849192142,
-0.030129170045256615,
0.010111844167113304,
-0.07816716283559799,
0.011332085356116295,
0.01667063683271408,
-0.024996982887387276,
0.015217115171253681,
-0.0055718328803777695,
0.014786441810429096,
-0.055736273527145386,
-0.019667403772473335,
-0.056884732097387314,
-0.004786751698702574,
-0.03398728370666504,
0.013952013105154037,
0.03310799226164818,
0.015522174537181854,
-0.03242609277367592,
0.059684108942747116,
-0.0035687542986124754,
-0.0707380473613739,
0.011906315572559834,
-0.021910492330789566,
0.00823662243783474,
-0.042672522366046906,
-0.00934919435530901,
0.01624893583357334,
-0.03673282265663147,
-0.013539284467697144,
-0.0018180235056206584,
0.04209829121828079,
-0.04324675351381302,
-0.00838466640561819,
0.010964218527078629,
0.006949089467525482,
0.04080627113580704,
0.08563216030597687,
-0.009102454409003258,
-0.024763701483607292,
0.06729266792535782,
0.05634639412164688,
0.056741174310445786,
-0.01905728317797184,
-0.03247992694377899,
0.07364509254693985,
0.0033130422234535217,
0.005437247455120087,
-0.06783100962638855,
-0.030793124809861183,
-0.0052712587639689445,
-0.010497655719518661,
0.02420741505920887,
-0.011385919526219368,
-0.0046342215500772,
0.016625775024294853,
0.029124265536665916,
0.06180158630013466,
-0.04654857888817787,
-0.0867806226015091,
0.01991862989962101,
0.006155035924166441,
0.008438500575721264,
-0.019972464069724083,
0.0761573538184166,
-0.039406586438417435,
0.027688689529895782,
-0.015342728234827518,
-0.044718220829963684,
-0.012408767826855183,
0.0338616706430912,
0.01775629073381424,
0.0001680914720054716,
-0.037540335208177567,
-0.03538696840405464,
-0.004497393034398556,
-0.03554847091436386,
0.03678665682673454,
-0.022753894329071045,
-0.03540491312742233,
0.005594263784587383,
0.018348466604948044,
0.011053942143917084,
-0.03348483145236969,
0.0018326035933569074,
0.005782682914286852,
-0.0015309081645682454,
-0.004898906219750643,
-0.0631294921040535,
-0.022071994841098785,
-0.08469903469085693,
-0.0042753275483846664,
0.02593010663986206,
0.010192595422267914,
-0.027778413146734238,
0.021551597863435745,
-0.009003758430480957,
0.041954733431339264,
-0.0155311468988657,
0.02182076871395111,
-0.04687158390879631,
0.05903809890151024,
-0.019326454028487206,
0.01477746944874525,
0.02147981896996498,
-0.015746483579277992,
-0.032192811369895935,
0.0011809862917289138,
-0.015001778490841389,
-0.016302770003676414,
0.025553269311785698,
-0.050388749688863754,
0.038545239716768265,
0.019111117348074913,
-0.036822546273469925,
0.013629008084535599,
-0.009896508418023586,
0.017406370490789413,
-0.023974133655428886,
0.013099638745188713,
0.07823894172906876,
0.059684108942747116,
-0.021425984799861908,
-0.02079791948199272,
0.028424421325325966,
-0.05221910774707794,
-0.009403028525412083,
-0.0340590626001358,
0.0041811177507042885,
-0.03039834089577198,
-0.0016767089255154133,
-0.014346796087920666,
0.06736444681882858,
0.03258759528398514,
-0.02076203003525734,
0.06836935132741928,
-0.03108023852109909,
0.02799374982714653,
0.029967667534947395,
-0.02298717387020588,
-0.05562860518693924,
0.033377163112163544,
-0.03642776235938072,
0.01749609224498272,
-0.013655925169587135,
0.010345125570893288,
0.023220455273985863,
-0.001278560608625412,
0.02829880826175213,
0.007536778692156076,
-0.006854879669845104,
-0.02250266820192337,
0.022879505529999733,
0.023076897487044334,
-0.008900576271116734,
0.030111225321888924,
0.0204390250146389,
-0.004445801954716444,
0.02042108029127121,
0.060724902898073196,
-0.06219636648893356,
0.01639249362051487,
-0.007788004353642464,
0.008608975447714329,
-0.045615456998348236,
0.017540954053401947,
0.004560199566185474,
0.046261463314294815,
0.03314388170838356,
-0.02234116569161415,
0.03969370201230049,
-0.010192595422267914,
-0.002920501632615924,
-0.03091873787343502,
-0.03757622465491295,
0.07766471058130264,
0.02610955387353897,
-0.017666567116975784,
-0.012668966315686703,
-0.049563292413949966,
-0.003999427426606417,
-0.008869173005223274,
0.036643099039793015,
0.009959314949810505,
-0.013772565871477127,
0.030183004215359688,
-0.06445740163326263,
0.004093637224286795,
0.0015824992442503572,
0.0026356293819844723,
-0.03163652494549751,
0.0324619822204113,
0.046763915568590164,
0.04690747335553169,
0.015244032256305218,
0.011942205019295216,
0.0066619738936424255,
-0.025014927610754967,
-0.02819114178419113,
0.028621813282370567,
-0.02899865247309208,
-0.016284825280308723,
0.0597199983894825,
-0.019290564581751823,
0.020672306418418884,
0.011367974802851677,
0.000871440046466887,
0.015190198086202145,
-0.0016139023937284946,
0.0549108162522316,
-0.04339031130075455,
0.05128598213195801,
-0.047984156757593155,
-0.042816080152988434,
0.01322525180876255,
-0.1019977405667305,
0.011637144722044468,
0.0031470537651330233,
0.046261463314294815,
-0.0384734608232975,
0.11491792649030685,
-0.0018090511439368129,
0.03147502243518829,
0.08369413018226624,
-0.08067942410707474,
0.06090435013175011,
-0.02401002310216427,
0.03825812414288521,
0.007770059630274773,
0.059109877794981,
0.008963382802903652,
-0.0494915135204792,
-0.029124265536665916,
0.032210756093263626,
0.07296319305896759,
0.07350153475999832,
-0.04478999972343445,
-0.029483160004019737,
0.016257908195257187,
0.016060516238212585,
-0.022269386798143387,
0.057243626564741135,
0.05444425344467163,
0.0645291805267334,
-0.042816080152988434,
0.0026199277490377426,
-0.0017226922791451216,
-0.007545751053839922,
-0.008003341034054756,
0.027240071445703506,
-0.01887783594429493,
-0.041954733431339264,
-0.005526971071958542,
-0.0845554769039154,
-0.0442875474691391,
-0.05153720825910568,
0.08419658243656158,
-0.014589049853384495,
0.048845503479242325,
-0.014373713172972202,
-0.0789567306637764,
0.04349797964096069,
-0.029572883620858192,
-0.03481274098157883,
-0.01657194085419178,
0.039047691971063614,
-0.0065318746492266655,
0.0024315083865076303,
0.04611790552735329,
-0.04486177861690521,
0.06277059763669968,
-0.011332085356116295,
-0.02695295587182045,
0.07138405740261078,
0.01889578066766262,
-0.04547189921140671,
-0.0681181252002716,
0.009672199375927448,
0.011475642211735249,
-0.015504229813814163,
0.007034326903522015,
-0.019541790708899498,
-0.01106291450560093,
0.011233389377593994,
0.012256237678229809,
0.04120105504989624,
-0.027240071445703506,
-0.07195828855037689,
0.013288058340549469,
0.0687282457947731,
-0.044215768575668335,
0.003965781070291996,
-0.06818990409374237,
0.009223581291735172,
0.02693501114845276,
0.0262531116604805,
0.08426836133003235,
0.06463684886693954,
-0.04016026481986046,
0.02022368833422661,
0.09661432355642319,
-0.0374685563147068,
-0.0037571738939732313,
-0.02298717387020588,
-0.0384734608232975,
-0.02881920523941517,
0.04758937284350395,
-0.02401002310216427,
-0.058104973286390305,
-0.023274289444088936,
-0.03858112916350365,
-0.02575065940618515,
0.04224184900522232,
0.07009203732013702,
0.038222234696149826,
-0.010425876826047897,
0.005989047233015299,
-0.06061723455786705,
0.0007671364000998437,
-0.00567052885890007,
0.02847825549542904,
0.00008881230314727873,
0.0012494005495682359,
-0.0408780500292778,
0.005858947988599539,
0.009030675515532494,
-0.0476970411837101,
-0.06614420562982559,
0.019990408793091774,
0.03955014422535896,
0.018500996753573418,
-0.030864903703331947,
0.005791655275970697,
0.0037280137185007334,
-0.04841483011841774,
0.028711536899209023,
-0.021892547607421875,
-0.01749609224498272,
-0.005168076604604721,
-0.03876057639718056,
-0.04493355751037598,
0.06065312400460243,
0.0022251440677791834,
-0.005257800221443176,
0.04238540679216385,
-0.04080627113580704,
-0.002037846250459552,
-0.01621304638683796,
0.014167348854243755,
0.027545131742954254,
-0.03276704251766205,
-0.06829757243394852,
0.06808223575353622,
0.013252168893814087,
0.0665389895439148,
0.0169308353215456,
-0.04733814671635628,
0.018824001774191856,
-0.06269881874322891,
-0.020205743610858917,
-0.0452924519777298,
0.020313411951065063,
-0.0024629116524010897,
0.023992078378796577,
-0.06316538155078888,
-0.020995311439037323,
0.0199365746229887,
-0.013503395020961761,
-0.02675556391477585,
0.0418829545378685,
0.017630677670240402,
0.021892547607421875,
-0.0017305430956184864,
-0.002453939290717244,
0.0295549388974905,
0.018429217860102654,
-0.019272619858384132,
0.017307674512267113,
0.04909672960639,
0.013314975425601006,
0.01725384034216404,
-0.011610227636992931,
0.04615379497408867,
-0.03454357013106346,
-0.049706850200891495,
-0.03260554000735283,
0.03224664553999901,
-0.0185368862003088,
0.04941973462700844,
0.02885509468615055,
0.03621242567896843,
0.009313304908573627,
0.03021889366209507,
-0.055879831314086914,
-0.02968055196106434,
-0.04184706509113312,
-0.005378927104175091,
0.06126324459910393,
0.04863016679883003,
-0.0543006956577301,
0.016562968492507935,
0.017307674512267113,
-0.023274289444088936,
-0.06119146570563316,
0.08268922567367554,
-0.017137199640274048,
-0.10817071795463562,
-0.032695263624191284,
0.011601255275309086,
-0.08972355723381042,
0.0035194065421819687,
0.006213356275111437,
0.019954519346356392,
-0.04270841181278229,
-0.012938136234879494,
0.002211685525253415,
0.007922589778900146,
0.03142118826508522,
-0.05078353360295296,
-0.016877001151442528,
-0.012552325613796711,
-0.017747318372130394,
0.022430889308452606,
0.05989944562315941,
0.00587689271196723,
-0.0024629116524010897,
0.08003341406583786,
-0.03520752117037773,
-0.028765371069312096,
0.030344506725668907,
0.03452562540769577,
-0.03771978244185448,
0.01245362963527441,
0.016383521258831024,
-0.06571353226900101,
0.032856766134500504,
0.002593010663986206,
0.029824109748005867,
0.04636913165450096,
-0.0024988010991364717,
0.008819825015962124,
-0.00302816997282207,
-0.03980137035250664,
0.08132542669773102,
0.04374920576810837,
-0.018366411328315735,
0.01941617764532566,
-0.0010570556623861194,
0.02903454191982746,
0.010147733613848686,
-0.01775629073381424,
0.005437247455120087,
-0.02180282399058342,
-0.0058275447227060795,
0.0005700249457731843,
-0.03492040932178497,
0.04493355751037598,
-0.05616694688796997,
-0.0170295313000679,
0.015055612660944462,
0.024799590930342674,
0.04597434774041176,
-0.03617653623223305,
0.03484863042831421,
0.10077749937772751,
-0.02819114178419113,
0.04805593565106392,
-0.014571105130016804,
0.025104651227593422,
0.027706634253263474,
-0.02011602185666561,
-0.031654469668865204,
0.02079791948199272,
0.03894002363085747,
-0.016275852918624878,
-0.0014142675790935755,
-0.005818572361022234,
-0.0014535215450450778,
-0.010677102953195572,
0.008891603909432888,
0.018366411328315735,
-0.03669693320989609,
-0.02058258280158043,
0.04572312533855438,
-0.02302306331694126,
0.0051591042429208755
] |
719,721
|
ibm_platform_services.iam_identity_v1
|
get_profile_template_version
|
Get version of trusted profile template.
Get a specific version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
|
def get_profile_template_version(
self,
template_id: str,
version: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get version of trusted profile template.
Get a specific version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version:
raise ValueError('version must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_profile_template_version',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id', 'version']
path_param_values = self.encode_path_vars(template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_templates/{template_id}/versions/{version}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.018728433176875114,
-0.06633970886468887,
-0.0036012723576277494,
-0.007216168567538261,
-0.0017177569679915905,
-0.014059948734939098,
-0.015549504198133945,
0.014041783288121223,
-0.017856497317552567,
-0.005894642323255539,
0.029264312237501144,
-0.0023955500219017267,
-0.07760219275951385,
-0.0532606840133667,
-0.023069940507411957,
0.0005937785026617348,
0.08552227169275284,
-0.0037125349044799805,
0.035277027636766434,
-0.00827883929014206,
0.05900092050433159,
-0.011952772736549377,
-0.03109900839626789,
0.02672116830945015,
0.04345141723752022,
-0.022143511101603508,
0.018192555755376816,
-0.03851045295596123,
0.03358765318989754,
0.007329701911658049,
-0.0268301609903574,
0.022979114204645157,
0.028646690770983696,
0.07484106719493866,
-0.06554043292999268,
-0.007356949616223574,
-0.044831980019807816,
0.011226160451769829,
-0.12454134970903397,
0.038910090923309326,
0.0029200732242316008,
0.045703914016485214,
0.028428707271814346,
0.005912807770073414,
-0.0032742968760430813,
-0.006970936898142099,
-0.027829252183437347,
-0.04159855470061302,
-0.04581290856003761,
-0.02559491991996765,
0.04232516884803772,
0.013396915048360825,
-0.005022707860916853,
-0.030354229733347893,
-0.03869210556149483,
-0.03634878247976303,
0.001965259201824665,
-0.009041782468557358,
-0.0258310679346323,
0.039382386952638626,
0.005435968283563852,
-0.018428705632686615,
-0.039818353950977325,
0.023051775991916656,
-0.034659408032894135,
-0.03118983469903469,
0.004205268807709217,
-0.003371935337781906,
-0.014886469580233097,
-0.0269209872931242,
0.011480474844574928,
0.034895557910203934,
0.019509540870785713,
-0.02181653492152691,
0.045086294412612915,
-0.02027248404920101,
-0.011852863244712353,
-0.033424168825149536,
-0.0038578573148697615,
0.011026342399418354,
-0.025485927239060402,
-0.06441418081521988,
0.009078112430870533,
-0.011680292896926403,
0.02045413665473461,
0.01594005711376667,
0.044904641807079315,
-0.09772935509681702,
0.023905545473098755,
0.08261582255363464,
-0.033914629369974136,
-0.00129541358910501,
-0.0513714924454689,
0.010908267460763454,
0.06957312673330307,
0.00023174959642346948,
0.0510445162653923,
-0.00013751705409958959,
-0.0066848332062363625,
0.0016768850618973374,
0.007225251290947199,
-0.0519891120493412,
-0.033696647733449936,
0.000775431573856622,
0.04101726412773132,
0.013669393956661224,
-0.017556769773364067,
0.04890101030468941,
0.05820164829492569,
0.019945507869124413,
0.005685741547495127,
-0.04319710284471512,
-0.04170754924416542,
0.007361491210758686,
0.061362411826848984,
-0.01653951220214367,
-0.01603996753692627,
0.010345143266022205,
0.0036466855090111494,
-0.02141689881682396,
0.049591291695833206,
-0.023651231080293655,
-0.00682107312604785,
0.009141691029071808,
-0.06739329546689987,
0.011344235390424728,
-0.0037465947680175304,
-0.005563125479966402,
0.009309720247983932,
0.007188920862972736,
-0.04842871055006981,
-0.002053815172985196,
-0.0265758465975523,
0.02083560824394226,
-0.010090828873217106,
-0.03756585717201233,
-0.019691193476319313,
0.010572209022939205,
0.03720255196094513,
0.05820164829492569,
-0.023905545473098755,
0.018782928586006165,
-0.0013044961960986257,
-0.00045753869926556945,
-0.039745695888996124,
-0.04345141723752022,
0.04792008176445961,
0.03674841672182083,
0.004945504944771528,
-0.03120799921452999,
0.03734787181019783,
0.003492280375212431,
0.005776567850261927,
-0.07549501955509186,
0.003471844596788287,
-0.014132609590888023,
0.045413270592689514,
-0.09002726525068283,
0.03584015369415283,
-0.04853770509362221,
0.014568577520549297,
0.004559492226690054,
0.02681199461221695,
-0.013932791538536549,
0.004854678642004728,
-0.006067213136702776,
-0.010871936567127705,
0.003097184933722019,
-0.00332425138913095,
0.01066303625702858,
-0.0009162127389572561,
0.027556773275136948,
-0.0007498866179957986,
0.04123524948954582,
0.0055040884763002396,
0.004178021103143692,
0.060090839862823486,
-0.006357857957482338,
-0.017938241362571716,
0.02646685391664505,
-0.0036648509558290243,
-0.07004542648792267,
-0.04835604876279831,
0.050245244055986404,
0.0005273615824989974,
0.008823798038065434,
0.0527520552277565,
0.04381472244858742,
-0.02096276544034481,
0.03093552030622959,
-0.04396004602313042,
-0.055476851761341095,
0.029500460252165794,
0.04276113584637642,
-0.03513170778751373,
-0.045594923198223114,
0.027702094987034798,
-0.0516621358692646,
0.008764761500060558,
-0.006534969434142113,
-0.02063578926026821,
-0.0514441542327404,
-0.007306995335966349,
-0.022397825494408607,
-0.007665759883821011,
0.03251590207219124,
0.029282476752996445,
-0.039200734347105026,
-0.029518626630306244,
-0.029609452933073044,
0.005508629605174065,
-0.02639419212937355,
0.012561311013996601,
0.039927348494529724,
-0.0520617738366127,
-0.00819709524512291,
0.016884654760360718,
-0.03106267750263214,
-0.019854681566357613,
-0.017238877713680267,
0.045522261410951614,
-0.02697548270225525,
-0.02673933282494545,
0.029209814965724945,
-0.02207084931433201,
0.0260672178119421,
-0.016984563320875168,
0.019073573872447014,
-0.07364215701818466,
-0.01587647944688797,
0.07629429548978806,
0.020090831443667412,
0.07585832476615906,
-0.0026271576061844826,
-0.07694824784994125,
-0.02713897079229355,
0.0021605363581329584,
0.008306086994707584,
0.0519527830183506,
0.03224342316389084,
0.04857403412461281,
0.03707539290189743,
0.1025976613163948,
0.03620345890522003,
-0.02061762474477291,
-0.027556773275136948,
-0.050027258694171906,
-0.016721166670322418,
0.00031533840228803456,
-0.054859232157468796,
-0.008051772601902485,
-0.02054496295750141,
0.025213448330760002,
0.06753861904144287,
0.024105364456772804,
-0.040290653705596924,
0.055912818759679794,
-0.035277027636766434,
0.03643960878252983,
0.009246141649782658,
-0.0547502376139164,
0.0005327544058673084,
-0.05987285450100899,
-0.08566759526729584,
-0.07371482253074646,
-0.07542236149311066,
-0.03153497353196144,
0.06772027164697647,
0.00519073661416769,
0.04813806712627411,
-0.009382382035255432,
0.029518626630306244,
-0.038546785712242126,
-0.01093551516532898,
-0.01037239097058773,
-0.039418719708919525,
0.01032697781920433,
0.017838332802057266,
-0.019673028960824013,
-0.044396013021469116,
-0.0543506033718586,
-0.012742963619530201,
0.040072668343782425,
0.039854686707258224,
0.03829247131943703,
-0.017511356621980667,
-0.015549504198133945,
-0.00404632231220603,
0.006462308578193188,
-0.007593099027872086,
0.025158951058983803,
0.013714808039367199,
-0.01025431603193283,
-0.03656676411628723,
-0.108047254383564,
-0.0129064517095685,
-0.04955495893955231,
-0.010481382720172405,
0.07084470242261887,
-0.004382380750030279,
-0.0015133972046896815,
0.0015905997715890408,
-0.014541328884661198,
-0.013069938868284225,
-0.013269757851958275,
-0.0015871938085183501,
0.01604904979467392,
-0.035295192152261734,
0.02154405601322651,
-0.007161672692745924,
-0.015267941169440746,
0.011634879745543003,
-0.00402361573651433,
-0.013923708349466324,
-0.05780201032757759,
0.020000005140900612,
0.009645778685808182,
-0.04628520458936691,
0.03220709040760994,
0.03712989017367363,
-0.03663942590355873,
0.0524614080786705,
0.05674842372536659,
0.05812898650765419,
0.039164405316114426,
-0.04101726412773132,
-0.013315171003341675,
-0.024831976741552353,
-0.004361944738775492,
0.03262489289045334,
-0.040326982736587524,
-0.00003739499152288772,
0.044032707810401917,
0.03640327602624893,
-0.012143508531153202,
0.019400548189878464,
0.002543143229559064,
0.024486836045980453,
-0.009800183586776257,
0.06332426518201828,
0.07062672078609467,
-0.07847413420677185,
0.005603997502475977,
-0.02183470129966736,
0.003074478358030319,
0.003276567440479994,
0.04715713858604431,
0.027629433199763298,
0.015222528018057346,
-0.038982752710580826,
-0.07106268405914307,
-0.033732976764440536,
0.0260127205401659,
0.0510445162653923,
-0.012588558718562126,
-0.06862853467464447,
-0.009346051141619682,
0.004900091793388128,
0.014868305064737797,
0.014913718216121197,
-0.07745687663555145,
-0.005195278208702803,
-0.022724799811840057,
0.004346049856394529,
-0.0076158056035637856,
-0.03304269537329674,
0.024559495970606804,
-0.0263578612357378,
-0.05969120189547539,
0.01572207361459732,
-0.07124433666467667,
0.015440511517226696,
-0.00416212622076273,
-0.03825613856315613,
0.014722982421517372,
-0.056276123970746994,
-0.061580393463373184,
0.007697549182921648,
-0.011435061693191528,
-0.03887375816702843,
0.030009089037775993,
0.024904636666178703,
-0.004455041605979204,
0.009041782468557358,
-0.004570845514535904,
-0.0010723208542913198,
-0.007833789102733135,
-0.018837423995137215,
0.0263215322047472,
0.0005787353729829192,
-0.019146235659718513,
0.0027770213782787323,
-0.004300636705011129,
-0.027593102306127548,
0.015040875412523746,
0.01549500785768032,
-0.011934607289731503,
0.023560404777526855,
0.04261581227183342,
-0.005245232954621315,
0.030426891520619392,
0.0268301609903574,
0.04730246216058731,
0.02139873243868351,
-0.03197094053030014,
-0.0519164502620697,
0.04722980037331581,
-0.04243415966629982,
-0.033805638551712036,
-0.049990929663181305,
-0.017120802775025368,
-0.027683930471539497,
-0.045086294412612915,
-0.02156222052872181,
0.025631248950958252,
0.08806541562080383,
-0.035077210515737534,
0.07607631385326385,
-0.061398740857839584,
0.02056312933564186,
0.04715713858604431,
0.013115352019667625,
-0.00649863900616765,
0.02156222052872181,
-0.04312444105744362,
0.04145323485136032,
-0.03634878247976303,
-0.008732971735298634,
-0.008987286128103733,
0.011616714298725128,
0.04305177927017212,
-0.04741145297884941,
0.015022709965705872,
0.005740237422287464,
0.04802907630801201,
0.013324253261089325,
0.015349685214459896,
0.04901000112295151,
-0.03858311474323273,
0.023560404777526855,
0.050499558448791504,
0.03807448595762253,
0.01062670536339283,
0.01610354520380497,
-0.0060581304132938385,
0.017211629077792168,
-0.05703906714916229,
-0.06648502498865128,
-0.005299728829413652,
-0.02604905143380165,
-0.007974570617079735,
0.006244324613362551,
0.012107177637517452,
-0.005731154698878527,
-0.007247957866638899,
-0.02655768021941185,
-0.04842871055006981,
0.039709363132715225,
-0.005781109444797039,
-0.02724796161055565,
-0.018873754888772964,
0.01568574272096157,
0.038982752710580826,
-0.007066304795444012,
0.001965259201824665,
-0.09940056502819061,
0.02067212015390396,
-0.008901000954210758,
-0.04025432467460632,
0.01062670536339283,
0.007356949616223574,
-0.010726614855229855,
-0.02724796161055565,
0.09518621116876602,
0.044105369597673416,
0.03814714774489403,
-0.014178022742271423,
-0.013869212940335274,
-0.04290645942091942,
0.004836513195186853,
-0.04417802765965462,
0.04730246216058731,
-0.008855587802827358,
0.02018165774643421,
0.03198910877108574,
-0.0543869324028492,
-0.0135059067979455,
0.014259766787290573,
-0.01637602597475052,
-0.00782924797385931,
-0.013569485396146774,
0.03880109637975693,
-0.02136240154504776,
0.050208911299705505,
-0.055549513548612595,
-0.0265940111130476,
-0.007316078059375286,
-0.02094460092484951,
0.06241599842905998,
0.027611268684267998,
0.015504090115427971,
-0.019346052780747414,
0.08167122304439545,
0.011271573603153229,
0.03629428520798683,
0.09213444590568542,
0.023069940507411957,
0.024178024381399155,
0.024959133937954903,
0.029427798464894295,
-0.023760223761200905,
0.030027253553271294,
0.015504090115427971,
0.045522261410951614,
0.023923709988594055,
0.04174387827515602,
-0.044214360415935516,
0.0536603219807148,
0.0016110357828438282,
-0.00016561652591917664,
0.008387831039726734,
0.040036339312791824,
0.027629433199763298,
-0.023596735671162605,
0.04781109094619751,
0.009791101329028606,
-0.051080845296382904,
-0.04236149787902832,
0.015249775722622871,
0.040036339312791824,
-0.02059946022927761,
0.02141689881682396,
-0.028864674270153046,
-0.027393285185098648,
-0.044541336596012115,
-0.07629429548978806,
-0.10121709853410721,
-0.009227976202964783,
-0.019782019779086113,
-0.009409629739820957,
-0.009881927631795406,
0.004754769615828991,
-0.050681211054325104,
-0.010481382720172405,
-0.006848321296274662,
-0.025358770042657852,
-0.017720257863402367,
0.03547684848308563,
-0.06673934310674667,
-0.03316985443234444,
0.025049960240721703,
-0.035022713243961334,
0.0270299781113863,
0.006748411804437637,
-0.045231617987155914,
0.09366033226251602,
-0.035077210515737534,
-0.013696642592549324,
-0.023197097703814507,
0.0006443007732741535,
0.018673935905098915,
-0.03071753680706024,
0.02105359174311161,
-0.007011808920651674,
-0.04766576737165451,
0.018228886649012566,
0.011217078194022179,
0.020199822261929512,
-0.019019078463315964,
-0.014550412073731422,
0.03157130628824234,
0.0534786656498909,
-0.025031793862581253,
-0.0015610811533406377,
-0.03302453085780144,
-0.004954587668180466,
0.056530438363552094,
0.039346057921648026,
0.12744779884815216,
0.08152589946985245,
-0.004009991884231567,
-0.0134150804951787,
0.12730248272418976,
-0.040181662887334824,
-0.0011620121076703072,
0.0522797554731369,
0.03653043508529663,
0.038982752710580826,
0.04810173436999321,
0.015095370821654797,
-0.04708448052406311,
-0.023887380957603455,
0.009050864726305008,
0.002990463748574257,
0.02708447352051735,
0.03355132415890694,
-0.005336059257388115,
-0.028592195361852646,
0.006217076908797026,
-0.04831971973180771,
-0.02167121320962906,
0.028119897469878197,
0.023996371775865555,
0.014377841725945473,
-0.0004978429642505944,
-0.0511171780526638,
-0.023197097703814507,
0.019691193476319313,
-0.015467760153114796,
-0.040472306311130524,
0.055440519005060196,
-0.005717530846595764,
-0.007057222072035074,
-0.060962773859500885,
0.05758402496576309,
0.07622162997722626,
-0.034114450216293335,
0.0523887500166893,
-0.04850137233734131,
-0.03698456659913063,
0.006099002435803413,
0.04781109094619751,
-0.017883745953440666,
0.04574024677276611,
-0.013751138001680374,
0.028719352558255196,
0.04930064454674721,
0.019673028960824013,
-0.023106271401047707,
0.0003976499428972602,
0.019600367173552513,
0.02699364721775055,
0.028810178861021996,
0.009300637990236282,
0.024831976741552353,
0.000840145512484014,
0.055404189974069595,
-0.0058174398727715015,
0.017220711335539818,
0.03633061796426773,
-0.0030812902841717005,
-0.0263396967202425,
0.0024977298453450203,
0.06405087560415268,
-0.028973666951060295,
0.07364215701818466,
-0.02688465639948845,
-0.009554952383041382,
0.04399637505412102,
0.012697550468146801,
-0.024922803044319153,
0.019618533551692963,
-0.03155314177274704,
0.009718439541757107,
-0.05787467211484909,
-0.007847413420677185,
0.0535149984061718,
0.035295192152261734,
-0.03175295889377594,
0.03533152490854263,
0.015049957670271397,
-0.009364216588437557,
0.004623070824891329,
-0.03656676411628723,
0.04406903684139252,
0.007879202254116535,
-0.030081750825047493,
-0.022052684798836708,
-0.009218893945217133,
-0.013950956985354424,
0.03295186907052994,
0.03578565642237663,
-0.049954596906900406,
0.007693008054047823,
0.003921435680240393,
-0.029736610129475594,
-0.03662126138806343,
-0.006516804452985525,
-0.060890112072229385,
0.010853772051632404,
0.09169847518205643,
0.005667576100677252,
-0.001574705122038722,
0.01326067466288805,
-0.07237058877944946,
-0.06917349249124527,
0.03247956931591034,
0.055149875581264496,
-0.05900092050433159,
-0.00044079255894757807,
-0.03553134202957153,
-0.0550045520067215,
-0.022052684798836708,
-0.022597642615437508,
0.023960040882229805,
-0.03175295889377594,
-0.01654859632253647,
0.005926431622356176,
-0.005917348898947239,
-0.017120802775025368,
-0.006444143131375313,
-0.04635786637663841,
-0.03716621920466423,
0.08726613968610764,
-0.061580393463373184,
0.034259770065546036,
0.019346052780747414,
-0.05921890586614609,
0.019055407494306564,
-0.02087193913757801,
0.009096277877688408,
-0.00034457319998182356,
0.107756607234478,
-0.02595822513103485,
0.02167121320962906,
0.06848321110010147,
-0.0515531450510025,
0.04828339070081711,
0.07138966023921967,
0.03144414722919464,
0.004709355998784304,
0.017338786274194717,
-0.022270668298006058,
-0.004352862015366554,
0.0005520550766959786,
0.03814714774489403,
0.06296095997095108,
0.0035376937594264746,
-0.03138965368270874,
0.015349685214459896,
0.014232519082725048,
-0.01351498905569315,
-0.025812903419137,
-0.07505905628204346,
0.03763851895928383,
0.014623072929680347,
-0.018619440495967865,
0.00767938420176506,
0.0259037297219038,
-0.002338783349841833,
-0.0008781790966168046,
0.03278838098049164,
-0.028810178861021996,
-0.029227981343865395,
-0.016884654760360718,
0.025267943739891052,
0.049409639090299606,
-0.019418714568018913,
0.035004548728466034,
-0.029700279235839844,
0.04712080955505371,
0.010899185203015804,
-0.013233426958322525,
-0.0522797554731369,
0.030826527625322342,
-0.007479565683752298,
0.0030290652066469193,
0.014214353635907173,
-0.019218895584344864,
-0.00207538646645844,
0.01586739718914032,
-0.022397825494408607,
0.013351501896977425,
-0.012724798172712326,
-0.023796552792191505,
0.017375117167830467,
-0.007452317513525486,
0.011471391655504704
] |
719,722
|
ibm_platform_services.iam_identity_v1
|
get_report
|
Get activity report for the account.
Get activity report for the account by specifying the account ID and the reference
that is generated by triggering the report. Reports older than a day are deleted
when generating a new report.
:param str account_id: ID of the account.
:param str reference: Reference for the report to be generated, You can use
'latest' to get the latest report for the given account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `Report` object
|
def get_report(
self,
account_id: str,
reference: str,
**kwargs,
) -> DetailedResponse:
"""
Get activity report for the account.
Get activity report for the account by specifying the account ID and the reference
that is generated by triggering the report. Reports older than a day are deleted
when generating a new report.
:param str account_id: ID of the account.
:param str reference: Reference for the report to be generated, You can use
'latest' to get the latest report for the given account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `Report` object
"""
if not account_id:
raise ValueError('account_id must be provided')
if not reference:
raise ValueError('reference must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_report',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_id', 'reference']
path_param_values = self.encode_path_vars(account_id, reference)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/activity/accounts/{account_id}/report/{reference}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, reference: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.0071809496730566025,
-0.03081567957997322,
-0.0072073182091116905,
-0.002579692518338561,
-0.017420616000890732,
-0.03369860723614693,
-0.01847534440457821,
0.019002709537744522,
-0.03515765070915222,
-0.03587838262319565,
-0.030534418299794197,
0.0013425827492028475,
0.0021435178350657225,
-0.037759315222501755,
-0.011804180219769478,
-0.010608820244669914,
0.0034586337860673666,
0.020461751148104668,
0.035931117832660675,
0.019582809880375862,
0.038005419075489044,
0.005264857783913612,
-0.059170324355363846,
0.024540038779377937,
0.014476162381470203,
0.062404826283454895,
0.02464551292359829,
-0.032011039555072784,
-0.003096070373430848,
0.09239429980516434,
0.03260871767997742,
-0.012164546176791191,
-0.03357555344700813,
0.012270019389688969,
-0.045845575630664825,
0.01136471051722765,
-0.03603659197688103,
0.034507233649492264,
-0.16538158059120178,
0.0227294210344553,
-0.0067414790391922,
0.023924781009554863,
0.08859727531671524,
-0.012753437273204327,
-0.04081803187727928,
-0.04489631950855255,
-0.03962267190217972,
-0.055513929575681686,
-0.004733098670840263,
-0.08008912205696106,
0.07994849234819412,
0.00936072412878275,
-0.03723195195198059,
-0.02265910431742668,
-0.02865348383784294,
-0.015935204923152924,
-0.06085789203643799,
0.03213408961892128,
0.012753437273204327,
-0.03962267190217972,
-0.018211662769317627,
-0.008565282449126244,
0.0194949172437191,
-0.04605652019381523,
-0.024293934926390648,
0.006512954365462065,
-0.04004456102848053,
-0.0049088867381215096,
0.043349381536245346,
-0.006227298639714718,
-0.00739189563319087,
0.02506740391254425,
0.008780622854828835,
-0.0025225612334907055,
0.026420973241329193,
-0.04394705966114998,
-0.0003090027894359082,
-0.018352292478084564,
-0.019934387877583504,
0.008978384546935558,
0.010485769249498844,
-0.033856816589832306,
-0.0017018499784171581,
-0.052982576191425323,
-0.008534519001841545,
0.004816597793251276,
0.009334355592727661,
-0.03797025978565216,
-0.03737258166074753,
0.02615729160606861,
0.01127681601792574,
-0.005853748414665461,
-0.02939179539680481,
0.0068249786272645,
0.005862537771463394,
-0.042997803539037704,
-0.005159385036677122,
0.04960744455456734,
-0.03754837065935135,
0.03412050008773804,
-0.06004926562309265,
-0.07390137761831284,
-0.051998164504766464,
0.04581041634082794,
-0.04841208457946777,
-0.02598150260746479,
0.026913180947303772,
-0.020795749500393867,
0.05421309545636177,
0.003535541007295251,
-0.04380642995238304,
0.008138995617628098,
0.004333180375397205,
-0.04138055443763733,
0.021762585267424583,
0.05484593287110329,
-0.038110893219709396,
0.0022237212397158146,
-0.027001073583960533,
-0.014476162381470203,
0.03489396721124649,
-0.006948030553758144,
0.028126118704676628,
-0.018000716343522072,
0.00528683140873909,
0.008943227119743824,
-0.0717567652463913,
0.0022105372045189142,
0.08529245853424072,
0.030358629301190376,
0.01840502955019474,
-0.020004702731966972,
0.018457766622304916,
0.04264622926712036,
0.027036232873797417,
0.05695538967847824,
0.02199110947549343,
0.07119423896074295,
-0.02007501758635044,
0.01286769937723875,
0.0009695820626802742,
-0.03839215263724327,
0.044931475073099136,
-0.018000716343522072,
0.002211635932326317,
0.001274464768357575,
0.018299557268619537,
0.021885637193918228,
-0.08599560707807541,
-0.004768256098031998,
0.02580571360886097,
-0.07249507308006287,
-0.03860309720039368,
-0.03487638756632805,
0.000029990436814841814,
-0.005084674805402756,
0.00273790187202394,
0.08332362771034241,
0.025999082252383232,
0.021692270413041115,
0.030007053166627884,
0.05027543753385544,
0.037759315222501755,
0.008073074743151665,
0.017262404784560204,
-0.0029598346445709467,
-0.05913516506552696,
-0.019530074670910835,
0.004728703759610653,
-0.0414508692920208,
-0.037021003663539886,
0.023344678804278374,
-0.0024368646554648876,
-0.02707139030098915,
-0.05031059682369232,
-0.0072644492611289024,
0.05136532709002495,
0.01173386536538601,
0.00455731013789773,
0.041591499000787735,
-0.011698707938194275,
-0.0630728229880333,
-0.03628269210457802,
0.024504881352186203,
0.00958045944571495,
-0.024540038779377937,
0.0383218377828598,
0.012217283248901367,
-0.02647371031343937,
0.007756656501442194,
-0.037442896515131,
0.009264040738344193,
0.02605181746184826,
-0.027124125510454178,
-0.01202391553670168,
-0.09007389843463898,
-0.0005993280210532248,
-0.05445919930934906,
-0.02023322694003582,
0.019776178523898125,
0.006842557340860367,
0.007488579489290714,
0.0194949172437191,
0.00866636075079441,
0.017033880576491356,
0.010389084927737713,
0.06901446729898453,
-0.0323098786175251,
-0.0650768056511879,
0.006425060331821442,
-0.015065052546560764,
-0.0068513466976583,
-0.012560070492327213,
-0.01722724735736847,
-0.03362829238176346,
0.037267107516527176,
0.02381930686533451,
-0.0009838648838922381,
0.028284328058362007,
0.014168532565236092,
-0.01149655133485794,
-0.05097858980298042,
-0.04665420204401016,
0.014643160626292229,
-0.025700241327285767,
0.001309622428379953,
0.05653350055217743,
-0.009685932658612728,
-0.05702570825815201,
-0.07987818121910095,
-0.0027291125152260065,
-0.009176146239042282,
-0.024082990363240242,
-0.01740303635597229,
-0.051154378801584244,
-0.020004702731966972,
-0.011531708762049675,
0.000007325940714508761,
0.025946345180273056,
0.01998712308704853,
0.0581507533788681,
0.07748746126890182,
0.06345956027507782,
0.05677960440516472,
-0.039271093904972076,
-0.036106906831264496,
-0.02397751621901989,
0.02947968803346157,
0.001400812529027462,
-0.07558894902467728,
0.010301191359758377,
-0.05955705791711807,
-0.014590424485504627,
0.014291584491729736,
-0.0035531199537217617,
-0.022026266902685165,
0.005045122466981411,
-0.053826361894607544,
0.006657979916781187,
-0.028407379984855652,
0.0007091956795193255,
-0.037442896515131,
-0.0036322246305644512,
-0.024926772341132164,
0.01378179807215929,
-0.015935204923152924,
-0.021006695926189423,
-0.011294394731521606,
0.0652877539396286,
0.011215290054678917,
0.037442896515131,
0.023204049095511436,
0.026245184242725372,
-0.01156686618924141,
-0.05196300521492958,
0.01495079044252634,
0.07404200732707977,
0.02207900397479534,
-0.010846135206520557,
0.035421330481767654,
-0.06022505462169647,
-0.0539318323135376,
0.05962737277150154,
-0.017886454239487648,
0.0376538410782814,
-0.03246808797121048,
0.010907660238444805,
0.09183178097009659,
-0.01673504151403904,
0.0414508692920208,
0.09295682609081268,
0.012217283248901367,
-0.0454588420689106,
-0.02165711112320423,
-0.029180848971009254,
0.028442537412047386,
0.01095160748809576,
-0.03327671438455582,
0.04429863765835762,
0.09021452814340591,
0.016682304441928864,
0.018545659258961678,
0.0474628247320652,
-0.05006449297070503,
-0.0951365977525711,
-0.03821636363863945,
0.01524084061384201,
-0.02830190770328045,
0.04640809819102287,
-0.014432215131819248,
-0.00040321427513845265,
0.02014533244073391,
-0.0073655275627970695,
-0.020127754658460617,
-0.04289233312010765,
-0.05161142721772194,
0.009993561543524265,
0.02388962171971798,
0.027827279642224312,
0.053334154188632965,
-0.0158209428191185,
0.04714640602469444,
0.018615975975990295,
-0.038005419075489044,
0.02698349580168724,
0.022782156243920326,
0.03413807600736618,
0.03624753654003143,
0.021709848195314407,
0.03455996885895729,
-0.017086617648601532,
-0.006429455243051052,
0.0011810773285105824,
-0.0121997045353055,
-0.02707139030098915,
-0.05048638582229614,
-0.02323920652270317,
-0.045599471777677536,
0.01432674191892147,
0.04605652019381523,
0.003871736116707325,
-0.00609545735642314,
0.05836169794201851,
0.0032410956919193268,
0.0815657451748848,
0.005699933972209692,
0.04556431248784065,
0.03250324726104736,
-0.01303469855338335,
0.013008330017328262,
-0.0025950740091502666,
-0.02847769483923912,
0.005014359485358,
0.020426593720912933,
0.005919669289141893,
-0.04496663436293602,
-0.021868057548999786,
0.045915890485048294,
-0.03090357407927513,
0.002218227833509445,
-0.07119423896074295,
0.04060708358883858,
-0.04015003517270088,
0.026350658386945724,
0.019530074670910835,
-0.021832900121808052,
-0.0467948317527771,
0.009325566701591015,
-0.005080280359834433,
-0.024206042289733887,
-0.05396699160337448,
0.006209719926118851,
-0.020584803074598312,
0.05319352447986603,
-0.0043507590889930725,
0.0454588420689106,
-0.014256427064538002,
0.013535695150494576,
-0.002819204004481435,
0.020444173365831375,
0.0002944453153759241,
-0.006354745011776686,
-0.03299545496702194,
-0.0009443124872632325,
-0.002551126992329955,
-0.04029066488146782,
-0.002320404862985015,
-0.025260770693421364,
-0.040255509316921234,
0.004517757799476385,
0.04254075512290001,
-0.053088050335645676,
-0.04113445058465004,
-0.06254545599222183,
-0.009641985408961773,
-0.0427868589758873,
0.011918443255126476,
0.04693546146154404,
0.010564873926341534,
-0.030007053166627884,
0.012129388749599457,
0.025454137474298477,
0.011391078121960163,
0.017455773428082466,
-0.029690634459257126,
0.009105831384658813,
0.042927488684654236,
-0.08008912205696106,
-0.004702335689216852,
-0.031184835359454155,
0.004348561633378267,
0.027546018362045288,
-0.047497984021902084,
0.012146967463195324,
-0.00820931140333414,
0.047251880168914795,
0.01527599897235632,
0.012428228743374348,
0.0009750754106789827,
-0.006227298639714718,
-0.0024280750658363104,
-0.02288763038814068,
0.004449639935046434,
-0.005168174393475056,
-0.014818948693573475,
-0.020215649157762527,
-0.03814604878425598,
0.021885637193918228,
0.008982779458165169,
-0.016014309599995613,
0.04763861373066902,
0.004636414814740419,
-0.049080077558755875,
-0.006258061621338129,
-0.0034981861244887114,
0.03923593461513519,
0.006785426288843155,
0.03754837065935135,
0.023291941732168198,
-0.005739486310631037,
-0.015267209149897099,
-0.0024170884862542152,
0.062404826283454895,
-0.055092036724090576,
-0.053756047040224075,
0.0013173131737858057,
-0.0011393275344744325,
-0.06859257072210312,
0.0006570085533894598,
-0.005027543753385544,
0.06701047718524933,
0.05576002970337868,
0.028003066778182983,
-0.0025467323139309883,
-0.046829987317323685,
-0.05038091167807579,
-0.020057437941432,
-0.003107057185843587,
0.028178855776786804,
-0.002302825916558504,
0.0211649052798748,
-0.007075476925820112,
-0.05417793616652489,
-0.023204049095511436,
-0.022922787815332413,
0.012234861962497234,
0.003285042941570282,
0.014458582736551762,
-0.026245184242725372,
-0.01598794013261795,
0.033417344093322754,
0.0076775518245995045,
-0.02682528644800186,
0.04721672087907791,
0.005915274377912283,
0.032011039555072784,
0.0018161123152822256,
0.0011525116860866547,
0.003702539950609207,
0.008305994793772697,
0.007145792245864868,
0.008710308000445366,
0.009536512196063995,
-0.038427311927080154,
0.057834330946207047,
-0.048165980726480484,
0.021006695926189423,
0.02330952137708664,
-0.06159619987010956,
0.03835699334740639,
-0.010081456042826176,
0.03296029567718506,
-0.01202391553670168,
0.020250806584954262,
-0.07119423896074295,
0.004944044630974531,
0.05720149353146553,
0.000644373765680939,
0.02464551292359829,
0.013272012583911419,
0.04514241963624954,
-0.09830078482627869,
0.0414508692920208,
-0.008231285028159618,
-0.04285717383027077,
0.005858143325895071,
0.01194481085985899,
0.01974101923406124,
-0.003689355915412307,
0.005321989301592112,
-0.04004456102848053,
0.024540038779377937,
-0.018862077966332436,
-0.014836528338491917,
-0.010617610067129135,
0.025366242974996567,
-0.015522101894021034,
-0.0396578274667263,
-0.0134829580783844,
-0.014142164029181004,
0.01341264322400093,
0.07544831186532974,
0.02898748219013214,
0.013553273864090443,
0.018545659258961678,
-0.02121764048933983,
-0.00023923681874293834,
-0.039165619760751724,
-0.004319996107369661,
0.0058493539690971375,
0.0064074816182255745,
-0.018176505342125893,
-0.008270837366580963,
-0.051752060651779175,
0.03797025978565216,
0.01798313669860363,
-0.07868281751871109,
-0.017789769917726517,
-0.08001881092786789,
0.049501970410346985,
0.015363892540335655,
-0.025577189400792122,
-0.055162351578474045,
-0.09429281204938889,
-0.018281977623701096,
-0.033505238592624664,
0.02199110947549343,
0.04893944784998894,
0.07467484474182129,
-0.022360265254974365,
0.07713588327169418,
-0.047322195023298264,
-0.013105013407766819,
0.060998521745204926,
-0.046337783336639404,
0.055654559284448624,
-0.025172876194119453,
-0.01156686618924141,
0.014616793021559715,
-0.0313078872859478,
-0.0028631510213017464,
-0.006047115661203861,
-0.03311850503087044,
0.027581175789237022,
-0.021692270413041115,
0.016216466203331947,
0.140841543674469,
0.08015944063663483,
-0.01891481503844261,
-0.06623701006174088,
-0.0040343403816223145,
0.02156921848654747,
-0.06792458146810532,
-0.018194083124399185,
0.014432215131819248,
0.034683022648096085,
0.015249630436301231,
-0.002777454210445285,
0.05263100191950798,
0.08838632702827454,
0.0005199486622586846,
-0.03482365235686302,
0.01840502955019474,
-0.025928765535354614,
-0.033856816589832306,
0.0036981452722102404,
0.031009046360850334,
-0.024416986852884293,
0.07713588327169418,
0.005141806323081255,
-0.013623588718473911,
-0.016594409942626953,
-0.0038981044199317694,
-0.014098217710852623,
0.0073391590267419815,
0.12059073895215988,
-0.026104554533958435,
-0.04686514660716057,
-0.011127395555377007,
-0.03039378672838211,
-0.016629567369818687,
0.009545302018523216,
-0.004456231836229563,
0.026368236169219017,
0.008543308824300766,
0.022623946890234947,
0.027686648070812225,
-0.005730696953833103,
-0.004476008005440235,
-0.010028718970716,
-0.024082990363240242,
-0.0501348078250885,
0.04922070726752281,
0.04598620533943176,
0.010696714743971825,
-0.03797025978565216,
-0.010011140257120132,
-0.007585262879729271,
-0.0383218377828598,
0.03846246749162674,
0.045915890485048294,
0.017341511324048042,
-0.04855271428823471,
0.046161994338035583,
-0.004243088886141777,
0.08332362771034241,
0.045177578926086426,
-0.027844857424497604,
-0.02912811189889908,
0.011373499408364296,
-0.011215290054678917,
0.07115907967090607,
-0.04236496612429619,
0.023010680451989174,
0.035667434334754944,
-0.023168891668319702,
0.06110399588942528,
0.01132955215871334,
0.06236967071890831,
0.018774185329675674,
-0.01302590873092413,
0.06852225959300995,
0.006455823313444853,
0.034015025943517685,
-0.010099034756422043,
0.043349381536245346,
-0.045845575630664825,
-0.04788471758365631,
-0.03023557737469673,
0.013245644047856331,
-0.05161142721772194,
-0.0088289650157094,
-0.03972814232110977,
-0.002990597626194358,
0.024680670350790024,
0.09316776692867279,
0.02107701078057289,
0.010301191359758377,
-0.005357146728783846,
0.05009964853525162,
-0.026860443875193596,
0.007730287965387106,
0.004082682076841593,
-0.11025438457727432,
-0.03624753654003143,
-0.04556431248784065,
-0.024592775851488113,
-0.01924881339073181,
0.01914333924651146,
0.003249885281547904,
0.008160969242453575,
0.02323920652270317,
0.022430580109357834,
-0.0071106343530118465,
0.0060075633227825165,
0.04623230919241905,
-0.0339798666536808,
0.0018776381621137261,
0.01982891373336315,
-0.04637293890118599,
0.10195717960596085,
-0.009387092664837837,
-0.0207254346460104,
0.02805580385029316,
-0.009527723304927349,
0.007897286675870419,
0.02207900397479534,
-0.06096336245536804,
-0.04953712597489357,
0.009176146239042282,
0.02689560130238533,
-0.05720149353146553,
-0.009852930903434753,
-0.008424651809036732,
0.03287240117788315,
0.0009986970108002424,
-0.06180714815855026,
0.008411468006670475,
-0.026456130668520927,
-0.01956523209810257,
-0.02847769483923912,
-0.0467948317527771,
0.06236967071890831,
0.07903439551591873,
0.00747100031003356,
-0.01095160748809576,
0.026702234521508217,
-0.005954826716333628,
0.03528070077300072,
-0.017877664417028427,
-0.011180132627487183,
0.08367520570755005,
0.0394468829035759,
0.009439828805625439,
-0.02605181746184826,
-0.02823159284889698,
-0.0581507533788681,
0.004469416104257107,
-0.02522561326622963,
0.03390955179929733,
0.0427868589758873,
0.0006625019595958292,
-0.0026939548552036285,
-0.020338699221611023,
0.0015425418969243765,
0.029708214104175568,
0.010784609243273735,
0.04686514660716057,
0.029092954471707344,
-0.032028619199991226,
0.017772192135453224,
-0.008169759064912796,
-0.01791282184422016,
0.0063371662981808186,
0.03482365235686302,
0.012524912133812904,
-0.014291584491729736,
-0.00021671394642908126,
0.06360018998384476,
0.03888436034321785,
-0.007167765870690346,
0.04595104604959488,
0.007624815218150616,
-0.0032828454859554768,
-0.033171240240335464,
0.0071941339410841465,
0.038673415780067444,
0.035755328834056854,
0.026016660034656525,
-0.09309745579957962,
0.017455773428082466,
-0.05097858980298042,
0.03779447451233864,
0.027950331568717957,
0.02355562523007393,
0.01095160748809576,
-0.026860443875193596,
0.030253157019615173,
0.017693087458610535,
0.0032586746383458376,
0.026596762239933014,
0.01540783978998661,
-0.009817773476243019,
-0.007761050947010517,
-0.04071255773305893,
0.015065052546560764,
0.07558894902467728,
0.0347709134221077
] |
719,723
|
ibm_platform_services.iam_identity_v1
|
get_service_id
|
Get details of a service ID.
Returns the details of a service ID. Users can manage user API keys for themself,
or service ID API keys for service IDs that are bound to an entity they have
access to. Note: apikey details are only included in the response when creating a
Service ID with an api key.
:param str id: Unique ID of the service ID.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param bool include_activity: (optional) Defines if the entity's activity
is included in the response. Retrieving activity data is an expensive
operation, so only request this when needed.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ServiceId` object
|
def get_service_id(
self,
id: str,
*,
include_history: Optional[bool] = None,
include_activity: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get details of a service ID.
Returns the details of a service ID. Users can manage user API keys for themself,
or service ID API keys for service IDs that are bound to an entity they have
access to. Note: apikey details are only included in the response when creating a
Service ID with an api key.
:param str id: Unique ID of the service ID.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param bool include_activity: (optional) Defines if the entity's activity
is included in the response. Retrieving activity data is an expensive
operation, so only request this when needed.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ServiceId` object
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_service_id',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
'include_activity': include_activity,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/serviceids/{id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, *, include_history: Optional[bool] = None, include_activity: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0369134396314621,
-0.03868209198117256,
0.025616900995373726,
0.00569581426680088,
0.007573816459625959,
-0.030998922884464264,
0.013806882314383984,
0.04568061977624893,
-0.05347789451479912,
0.009523135609924793,
-0.02289736457169056,
0.01230448018759489,
0.015670621767640114,
-0.03563925251364708,
0.03843485936522484,
0.06621978431940079,
0.023715127259492874,
0.013245858252048492,
0.018799040466547012,
-0.05614038184285164,
0.06359533220529556,
0.02498931623995304,
-0.012447113171219826,
-0.04187707230448723,
0.06819763034582138,
0.0689963772892952,
0.018656406551599503,
-0.029933929443359375,
-0.019949613139033318,
-0.0032044898252934217,
-0.0019112832378596067,
-0.003965199459344149,
-0.00011373502638889477,
0.020653270184993744,
-0.08390628546476364,
-0.022916382178664207,
-0.0440450944006443,
0.04126850515604019,
-0.12855994701385498,
0.03238721936941147,
-0.027442604303359985,
0.03044740855693817,
0.050625234842300415,
-0.018276052549481392,
-0.01791471429169178,
0.002453288994729519,
-0.05028291419148445,
-0.02405744604766369,
-0.028697775676846504,
-0.010963729582726955,
0.016402803361415863,
0.010069895535707474,
-0.009114253334701061,
-0.06104695796966553,
0.0006822615396231413,
-0.010402705520391464,
0.015889324247837067,
0.01696382835507393,
-0.00687015987932682,
0.014158709906041622,
0.02213665470480919,
0.018190471455454826,
-0.012504166923463345,
0.04830506816506386,
0.0013276762329041958,
-0.018523283302783966,
-0.03217802196741104,
0.00987020879983902,
-0.04195314273238182,
0.014149201102554798,
0.04168689623475075,
0.005087246652692556,
0.00963248685002327,
0.005348740611225367,
0.04446348547935486,
-0.020748358219861984,
0.00003903837568941526,
-0.06686639040708542,
0.012104794383049011,
0.03657112270593643,
-0.01748681627213955,
-0.052450936287641525,
0.02221272513270378,
-0.0220415648072958,
-0.004378835670650005,
0.04031761735677719,
0.006765562575310469,
-0.007830556482076645,
-0.00708410982042551,
0.010516812093555927,
-0.014424959197640419,
0.03385158255696297,
-0.037426918745040894,
0.02339182421565056,
0.0025745271705091,
-0.021984511986374855,
0.00953739881515503,
0.014263307675719261,
0.005201352760195732,
0.0292112547904253,
-0.02645368129014969,
0.00032211304642260075,
-0.06313890963792801,
-0.0045357318595051765,
0.061275169253349304,
-0.04971238225698471,
-0.006889177951961756,
0.02375316247344017,
0.0594114325940609,
-0.006442260928452015,
0.011838546022772789,
0.02854563295841217,
-0.017306147143244743,
-0.004155376926064491,
-0.026567788794636726,
-0.00408643763512373,
0.046707578003406525,
0.00964675098657608,
-0.04644133150577545,
0.025141457095742226,
-0.05016880854964256,
-0.03573434054851532,
-0.009656259790062904,
-0.012418586760759354,
-0.018085874617099762,
-0.037693168967962265,
-0.04758239537477493,
0.029078129678964615,
0.06485050916671753,
-0.012180864810943604,
0.007317076902836561,
-0.025255564600229263,
0.02673894725739956,
0.014634153805673122,
0.07451152056455612,
0.02856465056538582,
0.01340750977396965,
0.10376080870628357,
-0.023106558248400688,
0.10619508475065231,
0.020234879106283188,
0.022935399785637856,
-0.028013136237859726,
0.03364238888025284,
-0.0011582995066419244,
-0.025597883388400078,
0.02614939771592617,
-0.002588790375739336,
-0.06100892275571823,
-0.026035292074084282,
0.0058051664382219315,
-0.006090432405471802,
-0.021432997658848763,
-0.0339847095310688,
-0.025540830567479134,
-0.06397569179534912,
0.038073524832725525,
-0.02432369440793991,
0.07333242148160934,
-0.03527791425585747,
0.02932536043226719,
0.010792569257318974,
0.0507393404841423,
-0.08793804794549942,
-0.01878953166306019,
-0.009527890011668205,
-0.023829232901334763,
0.028241349384188652,
0.02788001298904419,
0.005058719776570797,
0.006565876305103302,
0.04351259768009186,
0.005267914850264788,
-0.029382415115833282,
-0.06720870733261108,
-0.03263444826006889,
0.05827036872506142,
-0.010830605402588844,
-0.04549044370651245,
0.10277188569307327,
0.05355396866798401,
-0.020291931927204132,
-0.008581756614148617,
-0.006622929126024246,
0.04921792075037956,
-0.026282522827386856,
0.0449959821999073,
0.021242819726467133,
0.006775071378797293,
0.025255564600229263,
-0.03575335815548897,
-0.032805606722831726,
0.030884815379977226,
0.0114962263032794,
-0.0469357930123806,
0.021204784512519836,
0.04202921316027641,
-0.0823848694562912,
-0.00806827750056982,
-0.0728759914636612,
0.0018328350270166993,
0.007968435063958168,
0.07481580227613449,
0.01955024152994156,
0.009589697234332561,
-0.029819821938872337,
0.04088814929127693,
-0.02424762398004532,
-0.017838643863797188,
0.010155475698411465,
-0.0258641317486763,
-0.09797941893339157,
-0.0069462307728827,
0.021147731691598892,
0.03461229428648949,
0.03248230740427971,
0.027328498661518097,
-0.03727477788925171,
0.07055582851171494,
-0.0027813450433313847,
0.037217725068330765,
-0.06960494071245193,
0.015841780230402946,
0.01599392294883728,
-0.018951181322336197,
-0.008943093940615654,
0.011277521960437298,
-0.020672287791967392,
-0.03238721936941147,
-0.011125380173325539,
0.038472894579172134,
0.0009746594005264342,
-0.011638859286904335,
-0.010079404339194298,
-0.03814959526062012,
-0.07310421019792557,
0.023201648145914078,
-0.04092618450522423,
0.06644799560308456,
-0.011505735106766224,
0.06218802183866501,
0.055417705327272415,
0.03601960837841034,
0.028906971216201782,
-0.051309872418642044,
-0.0679694190621376,
-0.038739144802093506,
0.02949652075767517,
-0.021337907761335373,
-0.023068523034453392,
0.005971571430563927,
-0.03649505227804184,
0.005790903232991695,
0.026948142796754837,
0.00018200575141236186,
-0.047087933868169785,
-0.043816883116960526,
-0.016260171309113503,
-0.014700716361403465,
0.028964024037122726,
-0.04465366154909134,
0.024837173521518707,
-0.031074993312358856,
-0.01824752613902092,
-0.07162082195281982,
-0.0155660230666399,
0.00519659835845232,
0.007359866984188557,
0.06005803495645523,
-0.018551809713244438,
0.0948605090379715,
0.01504303514957428,
0.00744544668123126,
0.011144397780299187,
-0.02375316247344017,
-0.02010175585746765,
0.013093716464936733,
-0.03495461493730545,
-0.05089148133993149,
-0.008486668579280376,
-0.06157945469021797,
-0.009009656496345997,
0.026605824008584023,
-0.019417116418480873,
0.016317224130034447,
-0.003865356557071209,
0.03638094291090965,
-0.0002219727321062237,
-0.006185521371662617,
0.018285561352968216,
0.05165219306945801,
0.032805606722831726,
0.0013514484744518995,
-0.013550142757594585,
-0.056368593126535416,
0.002843152731657028,
-0.06846387684345245,
-0.04446348547935486,
0.028773846104741096,
-0.02664385922253132,
-0.027841977775096893,
0.05401039123535156,
-0.015242721885442734,
-0.06104695796966553,
-0.05922125279903412,
0.002339182421565056,
0.004692628514021635,
-0.017192039638757706,
0.0008813535678200424,
-0.026035292074084282,
-0.021299872547388077,
0.01753436028957367,
-0.0670946016907692,
-0.040279582142829895,
-0.0421433188021183,
0.018190471455454826,
-0.005572198890149593,
-0.04336045682430267,
0.016260171309113503,
0.053401824086904526,
-0.03563925251364708,
0.04484384134411812,
0.02424762398004532,
-0.00423620268702507,
0.05248897150158882,
-0.010668953880667686,
0.008191892877221107,
-0.012313988991081715,
0.02453288994729519,
0.014909910969436169,
0.024266641587018967,
0.0028502843342721462,
-0.026986178010702133,
-0.02232683077454567,
0.039518870413303375,
-0.09592550247907639,
0.024875208735466003,
-0.010041369125247002,
-0.017905205488204956,
0.08071130514144897,
-0.006252083461731672,
-0.047087933868169785,
-0.020482109859585762,
0.022364865988492966,
0.06355729699134827,
0.01105881854891777,
0.04336045682430267,
-0.0030737428460270166,
0.05496127903461456,
-0.04606097564101219,
0.01308420766144991,
-0.06112302839756012,
-0.002145439153537154,
0.03550612926483154,
-0.0016022449126467109,
-0.032710518687963486,
-0.03944279998540878,
0.048228997737169266,
0.00039521249709650874,
0.004445397760719061,
-0.05260308086872101,
-0.04275188967585564,
-0.02232683077454567,
0.010241054929792881,
-0.05016880854964256,
-0.009993824176490307,
-0.01432036142796278,
-0.032425254583358765,
0.012713361531496048,
-0.03238721936941147,
-0.05979178845882416,
0.04320831596851349,
-0.00034113076981157064,
0.00977512076497078,
0.0016367145581170917,
0.020158808678388596,
0.014900402165949345,
0.020957553759217262,
-0.0450340174138546,
0.03162650763988495,
-0.005015930160880089,
0.019179394468665123,
-0.032729536294937134,
0.023791197687387466,
0.07002333551645279,
0.025883149355649948,
0.019445642828941345,
-0.04579472914338112,
-0.014795804396271706,
-0.034250956028699875,
-0.024951279163360596,
-0.020729340612888336,
-0.025407705456018448,
0.026415646076202393,
0.0239433404058218,
-0.07926595956087112,
0.03210195153951645,
0.030865797773003578,
0.015832271426916122,
0.018399666994810104,
0.049560241401195526,
0.03278658911585808,
0.06473640352487564,
0.04495794698596001,
0.004478678572922945,
0.00878144335001707,
0.010421724058687687,
-0.08596020191907883,
-0.02386726811528206,
0.039328694343566895,
0.035791393369436264,
-0.03499265015125275,
-0.05488520860671997,
-0.025255564600229263,
-0.004003235138952732,
0.030599549412727356,
-0.0880901888012886,
0.10330438613891602,
-0.02365807257592678,
0.035962555557489395,
-0.01173394825309515,
0.02240290306508541,
-0.05910714715719223,
0.018542300909757614,
-0.012190373614430428,
0.0728379562497139,
-0.020748358219861984,
0.04712596908211708,
0.05439074710011482,
-0.028887953609228134,
0.008334525860846043,
-0.021965494379401207,
-0.02221272513270378,
-0.0383017361164093,
0.020729340612888336,
0.05572199076414108,
0.013283894397318363,
0.043930988758802414,
0.01105881854891777,
-0.019141359254717827,
-0.007830556482076645,
-0.03955690562725067,
-0.024209588766098022,
-0.052641116082668304,
-0.03717968985438347,
-0.03571532294154167,
0.016973337158560753,
0.019854525104165077,
0.040013331919908524,
-0.005576953291893005,
0.06621978431940079,
0.04434937983751297,
-0.004866165108978748,
0.010250563733279705,
0.013806882314383984,
-0.08481913805007935,
0.005595971364527941,
0.06188374012708664,
0.006280609872192144,
-0.022098617628216743,
-0.03670424595475197,
-0.024646995589137077,
-0.015413881279528141,
0.03657112270593643,
-0.002736177993938327,
-0.044121164828538895,
0.015642093494534492,
0.01585128903388977,
-0.043056171387434006,
-0.05203254893422127,
0.035392019897699356,
0.0005639949813485146,
0.020177826285362244,
0.07717400789260864,
-0.01039319671690464,
0.04549044370651245,
0.010573865845799446,
-0.0018007425824180245,
-0.027727870270609856,
0.012152338400483131,
0.07588079571723938,
0.0268150195479393,
-0.012998628430068493,
-0.05796608328819275,
0.02664385922253132,
0.004668856039643288,
0.03198784589767456,
0.010954220779240131,
-0.07009940594434738,
0.0038296980783343315,
0.026130380108952522,
0.03967101499438286,
-0.05313557758927345,
0.019474169239401817,
0.015090580098330975,
-0.027461621910333633,
0.033281050622463226,
-0.015204686671495438,
0.025445740669965744,
0.019607294350862503,
0.018998725339770317,
-0.06275855749845505,
0.05739555135369301,
0.016317224130034447,
-0.028184296563267708,
-0.000783887633588165,
-0.03432702645659447,
0.0034041760955005884,
-0.012133320793509483,
0.008244192227721214,
-0.01862788014113903,
-0.011229977943003178,
-0.020082738250494003,
-0.007868591696023941,
-0.00028794052195735276,
-0.0034017988946288824,
-0.03818763047456741,
0.002633957425132394,
0.004262351896613836,
-0.031474366784095764,
-0.009765611961483955,
0.055037349462509155,
-0.00034113076981157064,
0.062416236847639084,
-0.0027860994450747967,
-0.025464758276939392,
-0.0718490332365036,
-0.06690442562103271,
0.033090874552726746,
0.03746495395898819,
-0.007878100499510765,
0.003166454378515482,
-0.022155672311782837,
0.0030975150875747204,
-0.008596019819378853,
-0.033946674317121506,
-0.08253701031208038,
-0.06682835519313812,
-0.05199451372027397,
-0.03839682415127754,
0.0794941708445549,
0.059145182371139526,
-0.030504461377859116,
-0.0017484438139945269,
-0.0387771800160408,
0.012038231827318668,
0.03301480412483215,
0.09280659258365631,
0.030865797773003578,
-0.00011588937923079357,
0.02845054492354393,
-0.04050779342651367,
0.01907479763031006,
-0.00491133239120245,
-0.014158709906041622,
0.00286217057146132,
-0.025445740669965744,
-0.017315655946731567,
-0.02833643928170204,
-0.026491716504096985,
-0.0402035117149353,
0.025731006637215614,
-0.0018245148239657283,
0.020006665959954262,
-0.046517401933670044,
-0.01068797241896391,
0.04853328317403793,
-0.015841780230402946,
-0.028983041644096375,
-0.019445642828941345,
-0.017353691160678864,
0.016640525311231613,
-0.032139986753463745,
0.0220415648072958,
-0.048799529671669006,
0.03898637369275093,
-0.007887609302997589,
-0.00888604111969471,
0.07481580227613449,
0.09409979730844498,
-0.03115106374025345,
-0.038758162409067154,
0.05047309398651123,
0.01086864061653614,
-0.01428232528269291,
0.005377267021685839,
-0.006337663158774376,
-0.05256504565477371,
0.06207391619682312,
-0.03879619762301445,
-0.01212381199002266,
-0.004873296711593866,
0.04081207886338234,
-0.006984266452491283,
-0.0225170087069273,
0.06880620121955872,
0.06561121344566345,
-0.022631114348769188,
0.02692912518978119,
-0.007017547730356455,
0.026320558041334152,
0.05537967011332512,
0.04560454934835434,
0.0007220799452625215,
0.0160414669662714,
-0.020291931927204132,
-0.012380551546812057,
-0.0032686747144907713,
-0.029724733904004097,
-0.05918321758508682,
-0.020158808678388596,
-0.04419723525643349,
0.04800078645348549,
-0.012342515401542187,
-0.012722870334982872,
0.011077836155891418,
0.02413351647555828,
-0.0005072389030829072,
-0.00867209117859602,
-0.03514479100704193,
0.04560454934835434,
-0.04111636057496071,
-0.03571532294154167,
-0.003318596398457885,
-0.03870110958814621,
0.01974041759967804,
0.030637584626674652,
0.00013505569950211793,
-0.053211648017168045,
-0.04077404364943504,
-0.029287325218319893,
0.020843448117375374,
-0.009009656496345997,
-0.010716498829424381,
0.04990255832672119,
-0.018684932962059975,
0.05644466355443001,
0.012970101088285446,
-0.02892598882317543,
0.023981375619769096,
0.0023534458596259356,
0.03474541753530502,
-0.04666954278945923,
0.03525889664888382,
-0.017211059108376503,
0.10048975795507431,
-0.06853994727134705,
-0.07633722573518753,
0.032235074788331985,
-0.0036395208444446325,
-0.0651547908782959,
0.04347456246614456,
-0.028773846104741096,
-0.01791471429169178,
0.01919841207563877,
-0.0051205274648964405,
0.04195314273238182,
-0.012199882417917252,
-0.05290736258029938,
0.024114498868584633,
0.024761103093624115,
0.07645133137702942,
0.02904009446501732,
-0.08025488257408142,
-0.010117439553141594,
-0.07995059341192245,
0.0030880062840878963,
-0.02377218008041382,
0.06234016641974449,
0.018827566877007484,
-0.02192745916545391,
0.023296736180782318,
-0.020900500938296318,
0.05671091377735138,
-0.04240956902503967,
-0.017971767112612724,
-0.026301540434360504,
0.00017427979037165642,
0.0430942066013813,
0.0019136604387313128,
0.01940760761499405,
-0.023011470213532448,
0.03571532294154167,
-0.002888319781050086,
-0.018941672518849373,
-0.06439407914876938,
0.02835545688867569,
-0.022079600021243095,
-0.06831173598766327,
-0.027765905484557152,
0.003948559053242207,
-0.016336241737008095,
0.021509068086743355,
-0.02424762398004532,
0.006066660396754742,
0.03584844619035721,
-0.011591315269470215,
-0.008111068047583103,
-0.010364670306444168,
0.002745686797425151,
-0.05986785888671875,
-0.019369572401046753,
-0.003708460135385394,
0.024780120700597763,
0.009394765831530094,
0.02510342188179493,
0.04043172299861908,
-0.0016046221135184169,
0.022536026313900948,
-0.025883149355649948,
0.024494854733347893,
0.026986178010702133,
0.036247819662094116,
-0.0201207734644413,
0.03716067224740982,
0.02489422634243965,
-0.00806827750056982,
-0.004084060434252024,
0.03172159567475319,
0.056178417056798935,
0.009756102226674557,
0.0011511677876114845,
-0.025027351453900337,
-0.012475639581680298,
-0.035962555557489395,
0.004084060434252024,
0.05032094940543175,
0.027328498661518097,
0.02711930312216282,
0.022669151425361633,
-0.020425057038664818,
-0.008401088416576385,
-0.06698049604892731,
0.011087344959378242,
0.01694481074810028,
0.015527987852692604,
0.013768846169114113,
-0.05161415785551071,
0.01105881854891777,
-0.005191843956708908,
-0.0034089304972440004,
0.04674561321735382,
0.0536680743098259,
0.07359866797924042,
-0.014586609788239002,
0.0020931405015289783,
0.051195766776800156,
0.012855994515120983,
-0.012095285579562187,
-0.044881876558065414,
0.008462895639240742,
0.01599392294883728,
-0.02767081744968891,
-0.026263505220413208,
-0.015879815444350243,
0.002888319781050086,
-0.05499931424856186,
0.029287325218319893,
0.053401824086904526,
0.02987687662243843,
-0.020425057038664818,
-0.03659014031291008,
0.003960445057600737,
-0.012504166923463345,
-0.005572198890149593,
0.045756690204143524,
0.017838643863797188,
0.06161748990416527
] |
719,724
|
ibm_platform_services.iam_identity_v1
|
get_trusted_profile_assignment
|
Get assignment.
Get an assigment for a trusted profile template.
:param str assignment_id: ID of the Assignment Record.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
|
def get_trusted_profile_assignment(
self,
assignment_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get assignment.
Get an assigment for a trusted profile template.
:param str assignment_id: ID of the Assignment Record.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_trusted_profile_assignment',
)
headers.update(sdk_headers)
params = {
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04569225385785103,
0.0261558648198843,
-0.026245316490530968,
-0.023096593096852303,
0.008976542390882969,
0.03696170821785927,
-0.020663490518927574,
0.00893181562423706,
-0.01748793199658394,
-0.036890145391225815,
-0.003209102666005492,
-0.0013898657634854317,
-0.033723533153533936,
0.022953471168875694,
-0.006641836371272802,
-0.011870325542986393,
0.014777526259422302,
0.012254970148205757,
0.006780487485229969,
-0.05317046865820885,
0.02438470721244812,
0.0010913185542449355,
0.008430883288383484,
0.03692592680454254,
-0.019375376403331757,
-0.03889387845993042,
0.031379882246255875,
-0.05499529838562012,
-0.031129414215683937,
0.08995327353477478,
0.03613874688744545,
0.04028933495283127,
-0.02807014435529709,
0.07649964094161987,
-0.03204182907938957,
-0.0004735383263323456,
-0.07030954211950302,
0.02896466664969921,
-0.10347846895456314,
-0.031183086335659027,
-0.06741128116846085,
0.03536945581436157,
0.050093311816453934,
0.008878144435584545,
-0.05739261955022812,
-0.010922130197286606,
-0.01778312586247921,
-0.08845047652721405,
0.011297830380499363,
-0.08200990408658981,
0.022541988641023636,
0.024295255541801453,
-0.03892965987324715,
0.047910671681165695,
-0.009048104286193848,
-0.018606087192893028,
-0.02323971688747406,
0.0056399698369205,
0.02978762984275818,
-0.03073582425713539,
0.028875214979052544,
-0.009750304743647575,
-0.036532334983348846,
-0.007683956064283848,
-0.007751045282930136,
-0.07013063132762909,
-0.04798223450779915,
-0.025136107578873634,
-0.0056936414912343025,
-0.016781259328126907,
0.005595244001597166,
-0.0021222566720098257,
0.008650041185319424,
-0.018024645745754242,
0.06877095997333527,
-0.03817825764417648,
-0.008381684310734272,
-0.023561745882034302,
0.002927327761426568,
0.046085845679044724,
-0.0408618301153183,
-0.024295255541801453,
0.015421583317220211,
0.03468961641192436,
-0.004425654653459787,
0.0017610929207876325,
0.009911319240927696,
-0.06798377633094788,
-0.028821542859077454,
0.020198337733745575,
0.05671278387308121,
0.01622665487229824,
-0.000598771614022553,
0.0030234891455620527,
0.05313469097018242,
0.022524099797010422,
0.000781589827965945,
0.00027772155590355396,
-0.05213282257318497,
0.0022799165453761816,
-0.04300868511199951,
-0.021719027310609818,
-0.02288190834224224,
0.012594888918101788,
0.05406499281525612,
0.020144667476415634,
0.05374296382069588,
0.029465600848197937,
0.03245330974459648,
0.025798054412007332,
0.015278459526598454,
0.007375345565378666,
-0.04773176833987236,
0.02247042767703533,
0.019679514691233635,
-0.008417464792728424,
-0.02558336965739727,
-0.0733509212732315,
-0.003414842998608947,
-0.04647943377494812,
0.009938155300915241,
-0.0008581833681091666,
-0.027944911271333694,
0.04404633119702339,
-0.05037955567240715,
0.027229292318224907,
-0.03556625172495842,
-0.039287466555833817,
0.028785763308405876,
-0.049628157168626785,
-0.003779361257329583,
-0.03171980008482933,
-0.03892965987324715,
0.02297136001288891,
0.010814787819981575,
0.013507302850484848,
-0.004168479237705469,
0.05828714370727539,
0.054923735558986664,
-0.008878144435584545,
0.011557241901755333,
-0.010313854552805424,
0.03302580490708351,
0.04315180703997612,
-0.0018550178501755,
-0.06494239717721939,
0.016468174755573273,
0.0652286484837532,
-0.01639661379158497,
-0.0010779006406664848,
0.014983266592025757,
-0.01742531545460224,
-0.030216999351978302,
-0.01144095417112112,
-0.007612394168972969,
0.0323459655046463,
0.028463734313845634,
-0.009982881136238575,
0.04361696168780327,
-0.027676554396748543,
-0.023669088259339333,
-0.055818259716033936,
0.02656734548509121,
0.01775628887116909,
0.028553185984492302,
-0.04977128282189369,
0.018042536452412605,
-0.01687965728342533,
0.02021622844040394,
-0.028535297140479088,
-0.0053626676090061665,
-0.006131957750767469,
-0.020717162638902664,
0.001318303868174553,
-0.0006289617740549147,
-0.029608724638819695,
0.0666956678032875,
0.0036809637676924467,
-0.022953471168875694,
0.046050064265728,
0.0015396983362734318,
-0.05517420172691345,
-0.02168324775993824,
0.01950060948729515,
0.03332994133234024,
-0.02345440350472927,
0.011324666440486908,
0.08150897175073624,
-0.007330619264394045,
0.03325837850570679,
-0.008417464792728424,
-0.029250914230942726,
-0.03171980008482933,
0.03932324796915054,
-0.014571785926818848,
-0.06301023066043854,
0.0574999637901783,
-0.03177347034215927,
-0.018373509868979454,
0.017550548538565636,
-0.03978839889168739,
-0.03504742681980133,
0.027426086366176605,
0.020341461524367332,
0.007818134501576424,
0.035637810826301575,
0.030127547681331635,
-0.0202341191470623,
-0.0004933855379931629,
0.00040896490099839866,
0.0036943815648555756,
-0.027801787480711937,
0.01747898757457733,
0.021289655938744545,
-0.025225559249520302,
0.02001943439245224,
0.04533444717526436,
-0.03724795579910278,
0.04150588437914848,
-0.026656797155737877,
-0.016942273825407028,
-0.05746418237686157,
-0.014670183882117271,
-0.014983266592025757,
0.0163071621209383,
-0.034922193735837936,
-0.022219961509108543,
-0.008090964518487453,
-0.08565956354141235,
0.020663490518927574,
0.09897007048130035,
0.013713043183088303,
-0.0009554628049954772,
-0.007263530045747757,
-0.003821851219981909,
-0.025815945118665695,
-0.020913956686854362,
-0.04944925382733345,
-0.012201298959553242,
0.0670892521739006,
0.0025426826905459166,
0.06118540093302727,
0.037462640553712845,
0.011736147105693817,
-0.06633785367012024,
-0.014732800424098969,
-0.020466694608330727,
0.047338176518678665,
-0.012067120522260666,
-0.05946791544556618,
0.0752115249633789,
-0.023382840678095818,
-0.03892965987324715,
0.051452986896038055,
-0.03892965987324715,
-0.0007172959740273654,
0.012299696914851665,
-0.04443992301821709,
0.037104830145835876,
0.0045933774672448635,
-0.011798763647675514,
0.031737688928842545,
-0.039645276963710785,
-0.07306466996669769,
-0.012934808619320393,
-0.08523018658161163,
-0.08608893305063248,
0.042507752776145935,
0.0015564707573503256,
0.0063511161133646965,
0.003309736493974924,
0.027282962575554848,
0.024724626913666725,
0.010412252508103848,
-0.03565570339560509,
-0.016405558213591576,
0.06032665818929672,
0.05821558088064194,
-0.004955659620463848,
-0.003658600617200136,
-0.022738784551620483,
-0.02323971688747406,
0.012174463830888271,
0.04265087470412254,
0.018731320276856422,
-0.01577044650912285,
-0.006006724666804075,
0.046765681356191635,
0.031952377408742905,
-0.009535619057714939,
-0.016468174755573273,
0.038965437561273575,
-0.002589645329862833,
-0.041935257613658905,
-0.004588904790580273,
0.02146856114268303,
-0.012934808619320393,
-0.02359752729535103,
0.04891254007816315,
0.06211570277810097,
0.030127547681331635,
-0.004577723331749439,
0.004642576444894075,
-0.012836410664021969,
-0.04923456907272339,
0.01310476753860712,
-0.022380976006388664,
0.006820740643888712,
-0.018695538863539696,
0.00265226187184453,
0.02288190834224224,
-0.030610591173171997,
-0.0020641128066927195,
0.08007773756980896,
-0.021486451849341393,
-0.0179709754884243,
0.008430883288383484,
-0.0023548328317701817,
0.05506686121225357,
0.04300868511199951,
-0.028839433565735817,
-0.031898703426122665,
0.09059733152389526,
0.01960795186460018,
0.06000462919473648,
-0.054565925151109695,
0.01508166454732418,
0.03057480975985527,
0.03163034841418266,
0.03989574313163757,
-0.07113250344991684,
-0.004181896802037954,
-0.016289271414279938,
-0.03057480975985527,
0.012881136499345303,
0.014849088154733181,
-0.03379509225487709,
0.023150265216827393,
0.020162558183073997,
0.007174077443778515,
0.001713012345135212,
-0.028553185984492302,
0.0532420314848423,
-0.0008559470879845321,
0.03989574313163757,
0.006288499571382999,
-0.023382840678095818,
0.033777203410863876,
0.010546430945396423,
-0.06265241652727127,
-0.035387344658374786,
0.011235213838517666,
0.016056694090366364,
0.057321060448884964,
-0.03005598671734333,
0.012952698394656181,
0.01468807365745306,
0.046765681356191635,
-0.04966393858194351,
-0.011127871461212635,
-0.027372416108846664,
-0.061006493866443634,
-0.0032538287341594696,
-0.007178550120443106,
-0.021593794226646423,
-0.01333734393119812,
-0.006601582746952772,
-0.02443837933242321,
-0.023311279714107513,
-0.020413024351000786,
-0.05624762922525406,
-0.027318743988871574,
-0.025136107578873634,
-0.02896466664969921,
-0.05481639504432678,
0.031952377408742905,
-0.04955659434199333,
0.05091627314686775,
-0.012228135019540787,
-0.001600078772753477,
0.07009485363960266,
0.012934808619320393,
-0.049055662006139755,
0.0646919310092926,
-0.012344422750175,
-0.03220284357666969,
-0.013999290764331818,
-0.03248909115791321,
0.015224788337945938,
0.006154321134090424,
0.021343328058719635,
-0.02713984064757824,
0.0024733571335673332,
-0.05359984189271927,
0.020037323236465454,
-0.025225559249520302,
-0.045119758695364,
0.040790267288684845,
0.002739477902650833,
0.03617452457547188,
0.04189947620034218,
0.01770261861383915,
0.051452986896038055,
0.02193371392786503,
-0.009839757345616817,
0.008582951501011848,
0.09281574934720993,
-0.03875075280666351,
-0.018534524366259575,
-0.005756258033216,
0.024563612416386604,
0.020931847393512726,
-0.04257931187748909,
0.004682830069214106,
0.006650781258940697,
0.07342247664928436,
-0.03592405840754509,
0.002012677723541856,
-0.045155540108680725,
-0.018802881240844727,
0.01748793199658394,
-0.05120252072811127,
-0.051596108824014664,
0.008618732914328575,
0.006422678008675575,
-0.0007670538034290075,
-0.018373509868979454,
0.005353722721338272,
0.012612779624760151,
-0.031057851389050484,
0.027229292318224907,
-0.01914280094206333,
0.04465460777282715,
0.00031699673854745924,
0.05978994444012642,
0.028481625020503998,
0.007455852348357439,
0.07013063132762909,
-0.029680285602808,
-0.035691484808921814,
0.04612162709236145,
0.03778466954827309,
0.016548682004213333,
-0.0050361668691039085,
-0.037462640553712845,
0.003931430168449879,
-0.10018662363290787,
-0.011378337629139423,
-0.0656222328543663,
0.03494008257985115,
0.0480537973344326,
0.03599562123417854,
0.05828714370727539,
0.021432779729366302,
-0.03415290266275406,
-0.035476796329021454,
0.014231867156922817,
0.004571014549583197,
0.008175943978130817,
-0.015833064913749695,
-0.02359752729535103,
-0.05052268132567406,
0.03817825764417648,
0.04107651486992836,
0.037677325308322906,
-0.029877081513404846,
-0.014097688719630241,
0.045728035271167755,
-0.07463902980089188,
0.0016246781451627612,
0.009714524261653423,
0.016942273825407028,
-0.032578542828559875,
0.04554913192987442,
0.008444300852715969,
0.03186292201280594,
0.00946405716240406,
0.0034282607957720757,
-0.000467947538709268,
0.019697405397892,
-0.01685282029211521,
0.007558722514659166,
-0.013525193557143211,
0.02792702056467533,
0.006543438415974379,
-0.05198970064520836,
0.015135335735976696,
0.0027797315269708633,
-0.0670892521739006,
0.05546044930815697,
-0.01933959499001503,
-0.031594567000865936,
-0.014813307672739029,
0.045513350516557693,
-0.08294020593166351,
-0.059396352618932724,
0.03978839889168739,
-0.03166612982749939,
0.012102901935577393,
0.000540627574082464,
0.04175635054707527,
-0.01764894649386406,
0.10863091796636581,
0.006516602821648121,
0.07045266032218933,
0.06372584402561188,
-0.04118385538458824,
0.039752621203660965,
-0.00868582259863615,
0.07098937779664993,
0.03774888813495636,
0.03467172756791115,
-0.022703003138303757,
-0.018641866743564606,
0.023221828043460846,
0.05241907015442848,
0.061328522861003876,
0.009410385973751545,
-0.012362313456833363,
-0.014106634072959423,
0.028159596025943756,
0.0261558648198843,
0.014571785926818848,
0.00333433598279953,
0.05392187088727951,
0.02094973810017109,
-0.051023613661527634,
-0.008390629664063454,
-0.025350792333483696,
0.010725335218012333,
0.007782353553920984,
0.005702586844563484,
-0.010143895633518696,
-0.04808957874774933,
-0.000046403401938732713,
0.024778297170996666,
-0.07313623279333115,
-0.02730085328221321,
-0.007558722514659166,
-0.0024934839457273483,
0.006829685997217894,
0.012791684828698635,
-0.023025032132864,
0.015591543167829514,
-0.035065315663814545,
-0.03211338818073273,
-0.06451302766799927,
0.07836025208234787,
-0.02111075259745121,
0.00026248671929351985,
0.04300868511199951,
-0.05027221515774727,
0.02329338900744915,
0.0315408930182457,
-0.022023165598511696,
0.03599562123417854,
0.016405558213591576,
0.009481947869062424,
-0.032363858073949814,
0.03703326731920242,
0.006185629405081272,
-0.04622896760702133,
0.0031912121921777725,
-0.011888216249644756,
0.009795031510293484,
0.0055818259716033936,
0.03504742681980133,
0.05900276452302933,
-0.06580114364624023,
-0.056498099118471146,
-0.004973549861460924,
0.08573111891746521,
-0.057213716208934784,
0.02359752729535103,
-0.06129274144768715,
-0.04104073345661163,
0.01666497066617012,
0.018731320276856422,
0.06705347448587418,
0.1177908405661583,
-0.003938139416277409,
0.021074971184134483,
0.08050710707902908,
-0.0007245639571920037,
-0.026960935443639755,
0.03243541717529297,
0.01822144165635109,
-0.007218803744763136,
0.03325837850570679,
-0.035745155066251755,
-0.03519054874777794,
0.004866207484155893,
0.010456978343427181,
-0.030073875561356544,
0.04050401970744133,
0.06333225965499878,
-0.029089901596307755,
-0.007943367585539818,
0.00003066188583034091,
-0.07020219415426254,
-0.005335832014679909,
0.031022071838378906,
0.0027305325493216515,
0.026853593066334724,
0.070273756980896,
-0.04683724418282509,
0.04118385538458824,
0.02490353211760521,
-0.0465867780148983,
-0.04436836019158363,
-0.000964408041909337,
-0.013775660656392574,
0.022166289389133453,
-0.09846913814544678,
0.04393899068236351,
-0.028875214979052544,
-0.035118989646434784,
0.04601428285241127,
-0.07621338963508606,
-0.01560048758983612,
0.015949351713061333,
0.05460170656442642,
-0.05195391923189163,
0.11056309193372726,
-0.023901665583252907,
0.008064128458499908,
0.06827002763748169,
-0.03989574313163757,
-0.014231867156922817,
-0.024563612416386604,
-0.028034362941980362,
-0.002938509453088045,
-0.001737611717544496,
-0.017326917499303818,
0.06301023066043854,
-0.001101381960324943,
0.07993461191654205,
0.012836410664021969,
0.048948321491479874,
0.009347769431769848,
-0.04955659434199333,
-0.03093261830508709,
-0.029179353266954422,
0.023633308708667755,
0.02994864247739315,
0.09009639918804169,
-0.03136198967695236,
-0.029179353266954422,
-0.023007141426205635,
0.019017567858099937,
-0.023847993463277817,
0.02411635033786297,
0.005966471042484045,
-0.014366045594215393,
-0.05317046865820885,
0.03177347034215927,
-0.0034774597734212875,
0.008976542390882969,
-0.047803331166505814,
0.0032784282229840755,
-0.014992211945354939,
-0.004311602562665939,
0.0032381745986640453,
0.0017264301422983408,
0.1027628481388092,
0.02359752729535103,
-0.09925631433725357,
0.03239963576197624,
0.00021678215125575662,
0.05427968129515648,
-0.0034707507584244013,
-0.008600842207670212,
-0.022577770054340363,
0.004597850143909454,
0.01633399724960327,
-0.03613874688744545,
-0.04057558253407478,
-0.07857493311166763,
0.0006686562555842102,
-0.01170036569237709,
0.03426024690270424,
-0.05034377798438072,
0.0042467499151825905,
-0.012523327954113483,
-0.052168603986501694,
-0.007733154576271772,
0.040325116366147995,
-0.01975107565522194,
-0.061901018023490906,
-0.02869630977511406,
0.0015352257760241628,
0.0005982125294394791,
-0.02692515403032303,
-0.011691420339047909,
0.030753714963793755,
-0.07127562165260315,
-0.017326917499303818,
-0.007142769172787666,
0.037927791476249695,
-0.003464041743427515,
-0.03284689784049988,
-0.04426101595163345,
0.02132543735206127,
-0.012773794122040272,
-0.02168324775993824,
0.02678203023970127,
-0.0018561360193416476,
0.009303043596446514,
0.011548296548426151,
-0.08623205870389938,
-0.05037955567240715,
0.03093261830508709,
0.012818519957363605,
-0.02323971688747406,
-0.010922130197286606,
-0.020448803901672363,
-0.05946791544556618,
0.009750304743647575,
0.002893783152103424,
0.0347432903945446,
0.03336572274565697,
0.018024645745754242,
0.0042221504263579845,
-0.0019411157118156552,
0.020967628806829453,
0.02604852057993412,
0.016754422336816788,
-0.018606087192893028,
0.02288190834224224,
0.0003695499908644706,
0.06526442617177963,
0.05660543963313103,
-0.014044017530977726,
-0.017926249653100967,
-0.0059351627714931965,
0.022524099797010422,
0.007952312938869,
0.0031912121921777725,
0.029877081513404846,
0.010072333738207817,
0.0513814240694046,
0.010617992840707302,
0.013686208054423332,
-0.04436836019158363,
-0.0326143242418766,
0.02896466664969921,
0.019733186811208725,
-0.00894523411989212,
0.04028933495283127,
-0.02907201088964939,
0.03087894804775715,
0.01119943242520094,
-0.0022050002589821815,
-0.0018773810006678104,
0.03136198967695236,
-0.02552969753742218,
-0.01208501122891903,
0.03166612982749939,
-0.05481639504432678,
-0.00845324620604515,
-0.05775042995810509,
0.017040669918060303,
0.002569518517702818,
-0.006051450967788696,
-0.06265241652727127,
0.014598621986806393,
0.029680285602808,
0.034331806004047394
] |
719,725
|
ibm_platform_services.iam_identity_v1
|
list_account_settings_assignments
|
List assignments.
List account settings assignments.
:param str account_id: (optional) Account ID of the Assignments to query.
This parameter is required unless using a pagetoken.
:param str template_id: (optional) Filter results by Template Id.
:param str template_version: (optional) Filter results Template Version.
:param str target: (optional) Filter results by the assignment target.
:param str target_type: (optional) Filter results by the assignment's
target type.
:param int limit: (optional) Optional size of a single page. Default is 20
items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) If specified, the items are sorted by the value
of this property.
:param str order: (optional) Sort order.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentListResponse` object
|
def list_account_settings_assignments(
self,
*,
account_id: Optional[str] = None,
template_id: Optional[str] = None,
template_version: Optional[str] = None,
target: Optional[str] = None,
target_type: Optional[str] = None,
limit: Optional[int] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
List assignments.
List account settings assignments.
:param str account_id: (optional) Account ID of the Assignments to query.
This parameter is required unless using a pagetoken.
:param str template_id: (optional) Filter results by Template Id.
:param str template_version: (optional) Filter results Template Version.
:param str target: (optional) Filter results by the assignment target.
:param str target_type: (optional) Filter results by the assignment's
target type.
:param int limit: (optional) Optional size of a single page. Default is 20
items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) If specified, the items are sorted by the value
of this property.
:param str order: (optional) Sort order.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentListResponse` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_account_settings_assignments',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'template_id': template_id,
'template_version': template_version,
'target': target,
'target_type': target_type,
'limit': limit,
'pagetoken': pagetoken,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/account_settings_assignments/'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, template_id: Optional[str] = None, template_version: Optional[str] = None, target: Optional[str] = None, target_type: Optional[str] = None, limit: Optional[int] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.006002943962812424,
0.0019453561399132013,
-0.05555809289216995,
-0.039903804659843445,
0.015279389917850494,
0.051717668771743774,
-0.04162285104393959,
-0.058008644729852676,
-0.04743834584951401,
-0.01288369856774807,
0.0135420560836792,
-0.025291915982961655,
-0.0004454774025361985,
-0.0012218483025208116,
-0.0037124070804566145,
0.0079734455794096,
0.04955971986055374,
0.026242876425385475,
0.03505755960941315,
-0.023152252659201622,
0.018699193373322487,
-0.026828084141016006,
0.015334252268075943,
0.07834459096193314,
-0.004805098287761211,
-0.08075857162475586,
0.02101258933544159,
-0.032643578946590424,
-0.012353354133665562,
0.06013002246618271,
-0.003403801703825593,
0.0444757342338562,
0.009381599724292755,
0.0731143057346344,
-0.01998847723007202,
-0.04198860377073288,
-0.0066933054476976395,
0.0572771355509758,
-0.05160794407129288,
-0.03964777663350105,
-0.018324295058846474,
0.0037375525571405888,
0.03597194328904152,
-0.030321039259433746,
-0.0029191772919148207,
0.003771842224523425,
0.023956911638379097,
-0.056070148944854736,
0.02514561451971531,
-0.06323893368244171,
0.029498090967535973,
0.03460036590695381,
-0.06806689500808716,
0.006652157753705978,
-0.03681318089365959,
0.020482245832681656,
-0.0033695122692734003,
-0.01177729107439518,
0.02256704494357109,
-0.06835949420928955,
0.013258596882224083,
0.005166280549019575,
-0.017062442377209663,
-0.06269030272960663,
-0.02445068024098873,
-0.00792772602289915,
-0.02675493434071541,
-0.02675493434071541,
-0.016614392399787903,
0.007342519238591194,
0.013715789653360844,
-0.0002778876223601401,
0.0038724245969206095,
-0.04667026177048683,
-0.003479238599538803,
-0.017821382731199265,
0.0476943738758564,
0.02221957966685295,
-0.066677026450634,
-0.02984555810689926,
-0.051973696798086166,
0.012965993024408817,
0.01876319944858551,
0.005778919439762831,
0.015974322333931923,
-0.0286385677754879,
-0.029699256643652916,
-0.05592384561896324,
-0.0004300471628084779,
-0.016486378386616707,
0.03946489840745926,
0.0004014725855085999,
-0.0064372774213552475,
-0.0033672263380140066,
0.0035729631781578064,
0.013167157769203186,
0.0062772599048912525,
-0.06740853190422058,
-0.07732047885656357,
0.01975073665380478,
-0.06912758201360703,
-0.07673527300357819,
-0.00762140704318881,
-0.013724933378398418,
0.011896161362528801,
-0.05683823302388191,
-0.029040899127721786,
0.019458133727312088,
0.007127638440579176,
0.016696687787771225,
-0.01238078624010086,
0.058996181935071945,
0.021360056474804878,
-0.022804785519838333,
0.06572606414556503,
0.03650228679180145,
-0.05687480792403221,
-0.0207199864089489,
-0.007438529748469591,
-0.04187887907028198,
0.02862028032541275,
0.020116491243243217,
0.027596168220043182,
0.05669192969799042,
-0.0010835473658517003,
-0.002937464974820614,
-0.03527700901031494,
-0.029443228617310524,
0.015462267212569714,
-0.03471009060740471,
-0.06634784489870071,
0.007109350990504026,
-0.025913698598742485,
-0.007946014404296875,
0.0697493627667427,
0.024560406804084778,
-0.03708749637007713,
0.024999313056468964,
-0.024066638201475143,
-0.029479803517460823,
0.023335130885243416,
0.024615271016955376,
0.04008667916059494,
-0.012819691561162472,
-0.028876308351755142,
-0.06130043417215347,
0.052595481276512146,
0.061556462198495865,
-0.010378280654549599,
0.02611486241221428,
0.022493895143270493,
-0.06280002743005753,
-0.01763850450515747,
0.007182501722127199,
-0.07344347983598709,
0.057679466903209686,
0.04677998647093773,
0.04857218265533447,
0.019604435190558434,
-0.03569762781262398,
-0.03902599215507507,
0.01396267395466566,
0.031089123338460922,
0.023389993235468864,
0.03522214666008949,
-0.04297614097595215,
-0.006688733585178852,
-0.07406526058912277,
0.016294358298182487,
-0.06418989598751068,
0.005678337067365646,
-0.004923968575894833,
0.006103526335209608,
-0.05149821937084198,
-0.032917894423007965,
-0.008389491587877274,
0.01003995817154646,
-0.027760757133364677,
0.014986786060035229,
0.016888709738850594,
-0.034143172204494476,
-0.05431452766060829,
-0.0002997471601702273,
-0.004859961569309235,
0.015169663354754448,
-0.015489698387682438,
-0.0024368385784327984,
0.08046596497297287,
-0.07666212320327759,
0.0028871737886220217,
0.044695187360048294,
-0.06228797137737274,
0.014712470583617687,
0.002752301748842001,
-0.035094134509563446,
-0.08536707609891891,
0.01736418902873993,
-0.05321726202964783,
-0.01824199967086315,
0.018534604460000992,
-0.00841235090047121,
-0.07051744312047958,
0.024999313056468964,
0.02926035039126873,
0.061519887298345566,
0.026334315538406372,
0.05764289200305939,
-0.0669696256518364,
0.035423312336206436,
0.019220393151044846,
-0.004167314153164625,
0.010149683803319931,
-0.018306007608771324,
0.005458884406834841,
-0.0508398599922657,
0.058008644729852676,
0.05852070078253746,
-0.02735842764377594,
0.03238755092024803,
-0.041805725544691086,
-0.06144673749804497,
-0.028876308351755142,
-0.023737460374832153,
-0.033228784799575806,
0.04414655640721321,
-0.02957124263048172,
-0.01634007692337036,
0.00214423518627882,
-0.06645756959915161,
0.026882948353886604,
0.07062717527151108,
-0.0334848128259182,
0.005792635027319193,
0.013898666948080063,
0.025913698598742485,
-0.05636275187134743,
-0.003716978942975402,
-0.05310753732919693,
-0.02510903961956501,
0.03119884990155697,
-0.002585426438599825,
0.08668378740549088,
0.044109977781772614,
0.025694245472550392,
-0.07688157260417938,
0.012892842292785645,
-0.04220805689692497,
0.029315214604139328,
0.02477985993027687,
-0.05054725706577301,
0.04824300482869148,
-0.03176577016711235,
-0.05592384561896324,
0.0071870735846459866,
-0.06418989598751068,
-0.004135310649871826,
0.022365881130099297,
0.001055544358678162,
-0.02000676468014717,
-0.018534604460000992,
-0.03088795766234398,
0.015279389917850494,
-0.010277698747813702,
-0.06503113359212875,
0.05749658867716789,
-0.024359242990612984,
-0.04202517867088318,
0.031637754291296005,
-0.006313835270702839,
0.05628960207104683,
-0.019458133727312088,
0.023920336738228798,
0.02289622463285923,
0.04081818833947182,
-0.02702924981713295,
0.055777546018362045,
0.08544022589921951,
0.025365067645907402,
-0.02318882755935192,
0.011201228015124798,
0.005294294562190771,
-0.030083298683166504,
0.025365067645907402,
0.010186259634792805,
0.0763695165514946,
0.017492203041911125,
-0.013852947391569614,
0.057057686150074005,
0.045024365186691284,
0.02295108698308468,
0.016605248674750328,
0.045280393213033676,
0.03026617504656315,
-0.06473852694034576,
0.02037251926958561,
0.011402392759919167,
0.03586221858859062,
-0.021542932838201523,
0.016001755371689796,
0.04513408988714218,
0.012956849299371243,
-0.0286385677754879,
0.002330541145056486,
-0.020921150222420692,
-0.006002943962812424,
0.007493393030017614,
0.02002505213022232,
0.04396367818117142,
0.06323893368244171,
0.024359242990612984,
-0.003008329775184393,
-0.009418175555765629,
0.03428947553038597,
0.05746001377701759,
-0.0026220018044114113,
-0.0699688121676445,
0.011182940565049648,
0.012554519809782505,
0.02007991634309292,
-0.009244441986083984,
-0.07863719016313553,
0.023646021261811256,
0.040269557386636734,
-0.04421970620751381,
0.04740176722407341,
0.00214423518627882,
0.002713440451771021,
0.055777546018362045,
0.023079100996255875,
0.005038266535848379,
-0.05877672880887985,
-0.01544397883117199,
-0.04385394975543022,
-0.04480491206049919,
-0.02922377549111843,
-0.029973572120070457,
-0.0020459385123103857,
0.04615820199251175,
0.044366005808115005,
0.032277826219797134,
0.004736519418656826,
-0.02990042045712471,
0.034527212381362915,
0.005033694673329592,
0.017099017277359962,
0.01478562131524086,
0.0413302443921566,
0.03525872156023979,
-0.050144925713539124,
-0.044695187360048294,
-0.0030677649192512035,
0.03778242692351341,
0.050400953739881516,
0.05029122903943062,
0.017921965569257736,
-0.021707523614168167,
0.035112421959638596,
0.019275255501270294,
-0.026974385604262352,
0.020573684945702553,
-0.06239769980311394,
-0.014502161182463169,
-0.004823386203497648,
-0.009098140522837639,
0.018077410757541656,
-0.007068203762173653,
-0.028108224272727966,
-0.05435110256075859,
0.04231778159737587,
-0.05797206982970238,
-0.008842112496495247,
-0.02799849770963192,
-0.02293279953300953,
0.0012915701372548938,
-0.03650228679180145,
0.037069208920001984,
-0.09955834597349167,
0.033905431628227234,
-0.008764389902353287,
-0.017071586102247238,
0.04736519232392311,
-0.03631941229104996,
0.021561220288276672,
0.03697776794433594,
-0.052010275423526764,
-0.030650217086076736,
0.01653209887444973,
-0.04001352936029434,
-0.009802217595279217,
0.061849068850278854,
0.02481643483042717,
0.0037375525571405888,
-0.041805725544691086,
-0.013450617901980877,
-0.011009206995368004,
0.03972092643380165,
-0.04480491206049919,
0.012005887925624847,
0.021177178248763084,
-0.01079889852553606,
0.027395004406571388,
-0.004315901547670364,
0.07914924621582031,
-0.020427383482456207,
-0.0008103745640255511,
-0.007753992918878794,
0.06912758201360703,
-0.018872926011681557,
0.01015882845968008,
0.014090687967836857,
-0.004446201957762241,
-0.011329242028295994,
0.014895347878336906,
-0.04005010426044464,
-0.026974385604262352,
0.032588716596364975,
-0.04414655640721321,
0.010451431386172771,
0.002100801793858409,
-0.05116903781890869,
0.03950147330760956,
-0.053948771208524704,
0.0444391593337059,
-0.003678117645904422,
0.02953466773033142,
-0.027138976380228996,
0.01258195098489523,
0.019256968051195145,
0.0006440706201829016,
-0.06108098104596138,
0.0222744420170784,
-0.00204936764203012,
0.05797206982970238,
0.0028963175136595964,
0.010222835466265678,
0.0733337551355362,
0.03476495295763016,
0.011320098303258419,
-0.02834596484899521,
-0.028163088485598564,
0.025694245472550392,
0.045024365186691284,
0.021451495587825775,
-0.042500659823417664,
0.012499656528234482,
0.0285654179751873,
-0.046597108244895935,
-0.03946489840745926,
-0.047218892723321915,
0.025291915982961655,
-0.0286385677754879,
0.06422647088766098,
0.06078837811946869,
0.006126386113464832,
-0.035752490162849426,
-0.04220805689692497,
-0.008640947751700878,
0.009281017817556858,
0.00817003846168518,
-0.014218701981008053,
0.048169851303100586,
-0.07139525562524796,
0.04542669653892517,
0.005147993098944426,
0.03591708093881607,
0.004011868499219418,
-0.0018916359404101968,
0.04015983268618584,
-0.013916954398155212,
-0.0024276948533952236,
-0.011932737194001675,
0.04363450035452843,
-0.047913823276758194,
0.058337826281785965,
-0.024724995717406273,
0.002010506112128496,
0.04063531383872032,
0.029699256643652916,
0.012755684554576874,
0.001896207919344306,
0.0007612263434566557,
0.03778242692351341,
0.00805116817355156,
0.01786710135638714,
-0.021213755011558533,
-0.040269557386636734,
0.017629360780119896,
-0.00645099300891161,
-0.07479677349328995,
0.02450554445385933,
0.004814242012798786,
-0.06645756959915161,
-0.01239907369017601,
0.013532912358641624,
-0.09187750518321991,
-0.044109977781772614,
0.015626857057213783,
0.008252332918345928,
0.016431516036391258,
-0.005481743719428778,
0.07117580622434616,
-0.052010275423526764,
0.06514085829257965,
-0.022804785519838333,
0.05146164074540138,
0.018461452797055244,
-0.028693431988358498,
0.020262792706489563,
0.0009515329147689044,
0.012609382160007954,
0.012865410186350346,
0.05219314992427826,
-0.016696687787771225,
-0.034143172204494476,
0.0540219247341156,
0.0888783186674118,
-0.01238078624010086,
-0.034179747104644775,
0.013478049077093601,
-0.029095761477947235,
-0.028400829061865807,
0.019860463216900826,
-0.0024162649642676115,
0.031308576464653015,
0.028382539749145508,
0.024340953677892685,
-0.00795515812933445,
-0.0014321570051833987,
-0.04868190735578537,
0.032899606972932816,
0.014867915771901608,
-0.018077410757541656,
-0.024944448843598366,
-0.0508032850921154,
-0.017876245081424713,
0.029680969193577766,
-0.03114398568868637,
0.012508800253272057,
0.0019693588837981224,
0.07673527300357819,
-0.01798597164452076,
0.013642638921737671,
-0.009756498038768768,
-0.11477372795343399,
-0.02477985993027687,
-0.008951839059591293,
-0.03573420271277428,
0.013807227835059166,
-0.029315214604139328,
-0.017044154927134514,
0.04389052838087082,
-0.04476833716034889,
0.04103764146566391,
0.03540502488613129,
-0.04107421636581421,
0.0318937823176384,
0.0005243432242423296,
-0.037032630294561386,
0.020207930356264114,
0.004027870018035173,
0.014721614308655262,
-0.0190740916877985,
-0.041220519691705704,
0.021561220288276672,
0.0017396192997694016,
0.025621095672249794,
0.038952842354774475,
0.06258057802915573,
-0.04176915064454079,
-0.016138913109898567,
-0.02927863784134388,
-0.007342519238591194,
-0.0017259034793823957,
-0.013139726594090462,
-0.004674798343330622,
-0.04513408988714218,
0.03909914568066597,
-0.02606000006198883,
0.04619478061795235,
0.0603494755923748,
0.017839670181274414,
-0.004615363199263811,
0.07490649819374084,
-0.031308576464653015,
0.031930357217788696,
0.0509130097925663,
0.020902862772345543,
-0.0190375167876482,
0.015992609784007072,
0.026334315538406372,
-0.01909237913787365,
0.08734215050935745,
-0.02159779705107212,
-0.007662554271519184,
0.0018150561954826117,
0.040269557386636734,
-0.05808179825544357,
-0.02609657496213913,
-0.004846245516091585,
-0.05116903781890869,
0.0238837618380785,
0.03366769105195999,
-0.03728865832090378,
0.03887969255447388,
0.059581391513347626,
-0.03273501619696617,
0.04835272952914238,
0.035789065062999725,
0.0025625666603446007,
-0.008814680390059948,
-0.0057240561582148075,
-0.04677998647093773,
0.04231778159737587,
-0.1018991693854332,
0.03407002240419388,
-0.036063384264707565,
-0.006524143740534782,
0.08061226457357407,
-0.020555397495627403,
0.013990105129778385,
0.0238471869379282,
0.0920238047838211,
-0.003326078876852989,
0.07461389154195786,
-0.020829712972044945,
0.08302624523639679,
-0.0012927132192999125,
-0.020171353593468666,
-0.05113246291875839,
0.0175013467669487,
-0.010167972184717655,
0.024999313056468964,
-0.04838930442929268,
0.06568948924541473,
0.001985360635444522,
-0.011201228015124798,
0.042134907096624374,
-0.011036639101803303,
0.07146840542554855,
-0.044109977781772614,
0.022164715453982353,
-0.03631941229104996,
0.022804785519838333,
0.04835272952914238,
0.02295108698308468,
0.07241936773061752,
-0.004745663143694401,
-0.004846245516091585,
-0.059910569339990616,
0.04297614097595215,
-0.049779172986745834,
-0.00865466333925724,
-0.026261165738105774,
-0.01848888397216797,
-0.0699688121676445,
0.06568948924541473,
-0.03339337557554245,
0.0046907998621463776,
-0.0065652914345264435,
-0.024889586493372917,
-0.03844078630208969,
0.020610259845852852,
-0.019567860290408134,
0.002578568411991,
0.04604847729206085,
0.02285964973270893,
-0.07775938510894775,
0.051973696798086166,
-0.0006366412271745503,
0.05983741953969002,
0.04429285600781441,
-0.019275255501270294,
0.0009040991426445544,
0.018562035635113716,
-0.004240464884787798,
0.04699943959712982,
-0.0182785764336586,
-0.0026151437778025866,
-0.007342519238591194,
-0.004677084274590015,
0.048499032855033875,
-0.06195879355072975,
-0.005623473785817623,
0.019275255501270294,
-0.022676771506667137,
-0.05127876624464989,
-0.023444855585694313,
-0.032314401119947433,
-0.02196355164051056,
0.02284136228263378,
0.0016653254861012101,
0.007648838683962822,
-0.02483472228050232,
0.0073150875978171825,
0.03428947553038597,
-0.03401515632867813,
-0.015544561669230461,
-0.011905305087566376,
0.03902599215507507,
-0.016751550137996674,
-0.01033256109803915,
-0.07022484391927719,
0.02167094685137272,
0.0032483560498803854,
-0.0032346404623240232,
-0.001296142116189003,
-0.007113922853022814,
-0.01115550845861435,
0.0009098140290006995,
-0.02609657496213913,
-0.0285654179751873,
0.0761500671505928,
0.013487192802131176,
-0.004601647611707449,
-0.0476212203502655,
-0.01127437874674797,
-0.011960168369114399,
-0.02446896769106388,
-0.0025579947978258133,
0.06301948428153992,
-0.007182501722127199,
0.035112421959638596,
-0.013386610895395279,
-0.008650091476738453,
0.03494783118367195,
-0.018534604460000992,
-0.060568924993276596,
0.058008644729852676,
-0.005161708686500788,
-0.0035295297857373953,
0.039574623107910156,
0.014931922778487206,
-0.022969376295804977,
-0.005838354583829641,
0.002663149032741785,
0.024030063301324844,
0.003168347291648388,
0.015764014795422554,
0.00034175175824202597,
0.05497288331389427,
-0.003998152446001768,
0.011603557504713535,
-0.035478174686431885,
-0.010881192982196808,
-0.048499032855033875,
-0.004969687666743994,
-0.0027683035004884005,
0.0007235078956000507,
0.03781900554895401,
-0.014081544242799282,
0.014813052490353584,
0.010396568104624748,
0.01637665182352066,
-0.010707459412515163,
0.02167094685137272,
0.007946014404296875,
-0.003824419341981411,
0.007680842187255621,
-0.024688420817255974,
0.024066638201475143,
-0.01938498206436634,
0.009628484025597572,
0.021360056474804878,
0.006926473695784807,
-0.05983741953969002,
-0.044073402881622314,
0.060861531645059586,
-0.026901235803961754
] |
719,726
|
ibm_platform_services.iam_identity_v1
|
list_account_settings_templates
|
List account settings templates.
List account settings templates in an enterprise account.
:param str account_id: (optional) Account ID of the account settings
templates to query. This parameter is required unless using a pagetoken.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property. If specified, the
returned templated are sorted according to this property.
:param str order: (optional) Optional sort order.
:param str include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateList` object
|
def list_account_settings_templates(
self,
*,
account_id: Optional[str] = None,
limit: Optional[str] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
List account settings templates.
List account settings templates in an enterprise account.
:param str account_id: (optional) Account ID of the account settings
templates to query. This parameter is required unless using a pagetoken.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property. If specified, the
returned templated are sorted according to this property.
:param str order: (optional) Optional sort order.
:param str include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateList` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_account_settings_templates',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'limit': limit,
'pagetoken': pagetoken,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/account_settings_templates'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, limit: Optional[str] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.01761789806187153,
-0.03204084187746048,
-0.006727663800120354,
-0.06397213786840439,
-0.0014092036290094256,
0.07602168619632721,
-0.0687919557094574,
-0.05696149542927742,
-0.05447855591773987,
-0.020630285143852234,
0.03532708063721657,
-0.0010765859624370933,
-0.04359745234251022,
-0.055062778294086456,
-0.05104626342654228,
0.0038407931569963694,
0.01047032605856657,
0.02203606441617012,
0.051228832453489304,
-0.016805466264486313,
0.04998736456036568,
0.01008693128824234,
-0.016750695183873177,
0.03459680452942848,
0.03466983139514923,
-0.04772350937128067,
-0.022784598171710968,
-0.0244094617664814,
0.005714406259357929,
0.02220037765800953,
-0.017234504222869873,
0.02566918544471264,
0.015563998371362686,
0.0476139672100544,
-0.0539308525621891,
-0.08420076966285706,
0.018859365954995155,
0.036659833043813705,
-0.04020167142152786,
0.018183860927820206,
-0.023460103198885918,
-0.013163217343389988,
0.05477066710591316,
-0.00009285339911002666,
0.022583771497011185,
-0.01822037622332573,
0.020904138684272766,
-0.0073529621586203575,
0.01216821651905775,
-0.009164958260953426,
0.027476618066430092,
0.029722215607762337,
-0.04863635450601578,
-0.002891434822231531,
-0.020411202684044838,
-0.010159959085285664,
-0.0364224947988987,
-0.07174957543611526,
-0.020392945036292076,
-0.01780046708881855,
0.0037358158733695745,
-0.0029370770789682865,
-0.027823498472571373,
-0.03220515325665474,
-0.01521711703389883,
-0.02871808595955372,
-0.02526753395795822,
0.030050840228796005,
-0.01763615570962429,
-0.015554869547486305,
-0.0036559421569108963,
0.005367525387555361,
0.02101367898285389,
-0.04451029747724533,
-0.05433250218629837,
-0.032771117985248566,
0.061160579323768616,
-0.020447716116905212,
-0.07835856825113297,
-0.027257535606622696,
-0.06010168045759201,
0.011739179491996765,
-0.025833498686552048,
0.08478499203920364,
0.03288065642118454,
0.007384911645203829,
0.025048451498150826,
-0.048599839210510254,
0.05601213499903679,
0.022693313658237457,
0.006499452516436577,
-0.021305790171027184,
-0.0008010210003703833,
0.0010007057571783662,
-0.0007936041802167892,
0.011492711491882801,
0.014888493344187737,
-0.002797868335619569,
-0.03684240207076073,
-0.017234504222869873,
-0.044364240020513535,
-0.10727748274803162,
0.029211021959781647,
-0.014322529546916485,
0.04074937850236893,
-0.019388817250728607,
-0.02340533211827278,
-0.006627250928431749,
0.004778740927577019,
0.06181782856583595,
-0.004463809542357922,
0.0141947316005826,
0.028845885768532753,
-0.0131449606269598,
0.07529141008853912,
0.03804735839366913,
-0.061233606189489365,
0.012268629856407642,
-0.008138008415699005,
-0.046920206397771835,
0.046737637370824814,
-0.009776564314961433,
0.01372918114066124,
0.008366219699382782,
0.011364913545548916,
0.03016038052737713,
0.03162093088030815,
-0.017480971291661263,
-0.009822206571698189,
0.047175802290439606,
-0.09997472912073135,
-0.00042104950989596546,
-0.01567353866994381,
-0.004596171900629997,
0.04253855347633362,
0.015490970574319363,
-0.005814819131046534,
-0.003959462977945805,
-0.011164087802171707,
0.034377723932266235,
-0.023953039199113846,
0.06043030321598053,
0.03583827242255211,
0.027257535606622696,
-0.016129961237311363,
-0.030835885554552078,
0.04253855347633362,
0.0017583665903657675,
0.011775693856179714,
0.00915583036839962,
0.00718408590182662,
-0.04155268147587776,
-0.0542229600250721,
-0.0384490080177784,
-0.06557874381542206,
0.05805690959095955,
0.029959555715322495,
0.05279892310500145,
-0.00240306300111115,
-0.0350714847445488,
-0.02524927817285061,
0.0515209399163723,
0.0262899212539196,
-0.01924276165664196,
-0.015892622992396355,
-0.014322529546916485,
-0.01390262134373188,
-0.018457714468240738,
0.018192989751696587,
-0.0635339766740799,
0.0032520084641873837,
0.0096122520044446,
0.04126057028770447,
-0.018676796928048134,
-0.029375335201621056,
0.020484229549765587,
0.0243364330381155,
-0.03702497109770775,
-0.047504425048828125,
-0.00489284610375762,
-0.047686994075775146,
-0.04633598402142525,
-0.005230598617345095,
0.009803949855268002,
-0.002736251335591078,
-0.030781114473938942,
0.025157993659377098,
0.08909361809492111,
-0.0768980160355568,
-0.01889588125050068,
-0.006193649489432573,
-0.05619470402598381,
-0.000053700929129263386,
0.005769176874309778,
-0.07499930262565613,
-0.052762411534786224,
0.01199477631598711,
-0.08741398900747299,
-0.0410049743950367,
0.00550901610404253,
-0.0383029542863369,
-0.0349254310131073,
0.03863157704472542,
-0.02033817395567894,
0.08295930176973343,
0.01635817252099514,
0.04969525337219238,
-0.07499930262565613,
0.020885881036520004,
0.03731708228588104,
0.012159088626503944,
-0.023660928010940552,
-0.024975424632430077,
0.016330787912011147,
-0.04516754299402237,
0.05612167716026306,
0.01525363139808178,
0.0042036487720906734,
0.024610286578536034,
-0.0656517744064331,
-0.021159734576940536,
-0.031328823417425156,
-0.018603770062327385,
-0.031566161662340164,
0.022784598171710968,
0.022675056010484695,
-0.002581067616119981,
-0.01567353866994381,
-0.03556441888213158,
-0.009575738571584225,
0.03881414607167244,
-0.012405556626617908,
-0.016239503398537636,
0.023460103198885918,
0.028681572526693344,
-0.04991433396935463,
0.04604387655854225,
-0.07258938997983932,
0.043962590396404266,
0.0052260346710681915,
-0.002473808592185378,
0.06955874711275101,
0.02450074627995491,
0.022839369252324104,
-0.07397691160440445,
0.043962590396404266,
-0.06017470732331276,
-0.007143008057028055,
0.028243407607078552,
-0.07602168619632721,
0.039361853152513504,
-0.018101705238223076,
0.023533130064606667,
-0.0006937618018127978,
-0.010223858058452606,
-0.058531586080789566,
0.04524056985974312,
-0.004128339234739542,
-0.01504367683082819,
-0.031566161662340164,
-0.031748730689287186,
0.017079319804906845,
-0.028918912634253502,
-0.00971266534179449,
0.04608038812875748,
-0.011164087802171707,
-0.01882285252213478,
0.03556441888213158,
0.014934135600924492,
0.08325141668319702,
0.001005269936285913,
0.037426624447107315,
-0.002546836156398058,
0.029649188742041588,
-0.011574868112802505,
0.043086256831884384,
0.05864112824201584,
0.015920007601380348,
-0.04155268147587776,
0.00979482103139162,
-0.0683537945151329,
-0.02711148001253605,
0.010315142571926117,
0.00015689514111727476,
0.06364351511001587,
-0.015198860317468643,
-0.019553128629922867,
0.048526812344789505,
0.016376430168747902,
0.05414993315935135,
-0.001955769257619977,
0.035381849855184555,
-0.00817452184855938,
-0.0817178338766098,
-0.04118754342198372,
-0.027239277958869934,
0.02194478176534176,
-0.061233606189489365,
0.05535488948225975,
0.02094065211713314,
0.023277534171938896,
0.00809693057090044,
-0.023715699091553688,
0.025157993659377098,
0.008758742362260818,
0.012861978262662888,
0.028772857040166855,
-0.008334269747138023,
0.08872848004102707,
0.01991826668381691,
-0.012807208113372326,
-0.012159088626503944,
0.058531586080789566,
-0.0017515203217044473,
-0.028754601255059242,
-0.04805213212966919,
0.019023679196834564,
-0.028334692120552063,
-0.03490717336535454,
0.007768306415528059,
-0.07616773992776871,
0.039361853152513504,
-0.018877623602747917,
-0.02119624800980091,
0.07726315408945084,
0.035728733986616135,
0.008279499597847462,
0.023587901145219803,
0.022583771497011185,
-0.031401850283145905,
-0.0036262746434658766,
-0.04553268104791641,
-0.03362919017672539,
0.003309061285108328,
-0.04173525050282478,
-0.018932394683361053,
0.031894784420728683,
0.02687414176762104,
-0.006330576259642839,
0.043853048235177994,
0.027823498472571373,
-0.052506811916828156,
-0.00818365067243576,
-0.013163217343389988,
0.00042076423414982855,
-0.009803949855268002,
0.10976041853427887,
-0.0023756776936352253,
-0.022328175604343414,
0.030835885554552078,
0.03655029088258743,
-0.016650283709168434,
0.06382608413696289,
0.05345617234706879,
0.06561525911092758,
-0.03443249315023422,
-0.01933404617011547,
0.04969525337219238,
-0.001251737936399877,
0.0036331210285425186,
-0.07609471678733826,
-0.03430469334125519,
-0.013738309033215046,
-0.01940707303583622,
0.021378817036747932,
-0.03720754012465477,
-0.011072803288698196,
-0.027020195499062538,
0.005025208927690983,
-0.004833511542528868,
0.00409182533621788,
-0.011976519599556923,
0.022255148738622665,
-0.028754601255059242,
0.026728086173534393,
-0.010013903491199017,
-0.06192736700177193,
0.03990956023335457,
-0.04418167099356651,
0.05159397050738335,
0.07266242057085037,
-0.009858720004558563,
0.05130185931921005,
0.02678285725414753,
-0.017334915697574615,
-0.0033227538224309683,
0.006198213901370764,
-0.026673315092921257,
0.004242444410920143,
0.0024395768996328115,
-0.0105524817481637,
0.018165605142712593,
-0.030233409255743027,
0.010570738464593887,
-0.013391428627073765,
0.036331210285425186,
-0.0096122520044446,
0.010114316828548908,
0.0197539534419775,
-0.018968908116221428,
0.06437379121780396,
-0.011465326882898808,
0.038777634501457214,
0.01821124739944935,
-0.013327528722584248,
-0.03684240207076073,
0.02052074298262596,
-0.04545965418219566,
-0.016230374574661255,
0.013099318370223045,
-0.025723956525325775,
-0.011072803288698196,
0.010570738464593887,
-0.058787181973457336,
-0.03541836515069008,
0.018713312223553658,
-0.08420076966285706,
0.05396736413240433,
-0.027147993445396423,
-0.01169353723526001,
-0.009402298368513584,
-0.049038004130125046,
0.016504228115081787,
-0.016549870371818542,
0.010032160207629204,
0.01915147714316845,
-0.02017386257648468,
-0.028462490066885948,
-0.05082717910408974,
-0.008808949030935764,
0.03571047633886337,
-0.014998034574091434,
0.014149089343845844,
-0.007905232720077038,
0.06506755203008652,
0.05363874137401581,
0.021488359197974205,
-0.028626801446080208,
-0.0581299364566803,
-0.03534533828496933,
0.02762267366051674,
0.033775243908166885,
0.04443726688623428,
-0.028937170282006264,
-0.009950004518032074,
0.04257506504654884,
-0.0283164344727993,
-0.05959048494696617,
0.008375347591936588,
0.02247423119843006,
-0.027440104633569717,
0.020283404737710953,
0.03516276925802231,
-0.036659833043813705,
0.0013544330140575767,
-0.03395781293511391,
-0.040968459099531174,
0.03339185193181038,
-0.022930653765797615,
-0.005248855799436569,
0.03746313601732254,
-0.025139736011624336,
0.028407718986272812,
-0.0447658933699131,
0.06901104003190994,
-0.011602252721786499,
-0.011538353748619556,
0.0618908554315567,
0.00914670154452324,
0.002339164027944207,
-0.023003680631518364,
0.03994607552886009,
-0.05718057602643967,
0.057253602892160416,
0.051922593265771866,
0.003457398386672139,
0.014623768627643585,
0.02627166360616684,
-0.003530425950884819,
-0.026052581146359444,
0.0022478795144706964,
-0.009091930463910103,
0.00855791661888361,
0.014486841857433319,
0.01831166073679924,
-0.07061764597892761,
0.0211779922246933,
0.012478583492338657,
-0.051411401480436325,
-0.007850462570786476,
0.000005143664566276129,
-0.027659187093377113,
-0.02932056412100792,
0.039873044937849045,
-0.06152571737766266,
-0.040822405368089676,
-0.025322305038571358,
0.010205601342022419,
0.03540010750293732,
0.006558787543326616,
0.05371176823973656,
-0.0740499421954155,
0.02015560492873192,
-0.004742227029055357,
0.03892368823289871,
0.04688369110226631,
-0.008955004625022411,
0.014121703803539276,
-0.004210494924336672,
-0.031840015202760696,
-0.002583349822089076,
0.05290846526622772,
-0.02764092944562435,
-0.03103671222925186,
0.03753616288304329,
0.031493134796619415,
-0.02236468903720379,
-0.007069980259984732,
0.01797390729188919,
-0.0015267323469743133,
-0.026125608012080193,
0.011209730058908463,
0.010452069342136383,
0.04786956310272217,
0.05498975142836571,
0.03822992742061615,
-0.017572255805134773,
-0.021981295198202133,
-0.040822405368089676,
0.06572480499744415,
0.03760919347405434,
-0.010598124004900455,
-0.0067641776986420155,
-0.054369017481803894,
0.008694843389093876,
-0.06287672370672226,
-0.08646462857723236,
0.02136056125164032,
0.02084936760365963,
0.07981912046670914,
-0.009438811801373959,
0.02263854257762432,
0.00020039788796566427,
-0.07616773992776871,
-0.0035874787718057632,
-0.027750471606850624,
-0.02880937047302723,
0.0033661138731986284,
-0.026089094579219818,
0.00036627883673645556,
0.07434204965829849,
-0.055464427918195724,
0.050644610077142715,
0.011556610465049744,
-0.0698508620262146,
0.031091483309864998,
-0.02220037765800953,
-0.033191025257110596,
-0.004456962924450636,
-0.0025673750787973404,
0.017818724736571312,
0.02550487406551838,
-0.04261158034205437,
0.002166864462196827,
0.02552313171327114,
0.01696065068244934,
-0.005331011489033699,
0.036988455802202225,
-0.010506839491426945,
-0.000848945346660912,
0.008845462463796139,
0.0337204746901989,
-0.03667809069156647,
-0.01592913642525673,
-0.02526753395795822,
-0.0023893704637885094,
0.051740024238824844,
-0.00042133478564210236,
0.028973683714866638,
0.02119624800980091,
0.012788950465619564,
-0.015883494168519974,
0.03534533828496933,
-0.01687849499285221,
0.05469764024019241,
0.05466112494468689,
0.029302306473255157,
-0.024537259712815285,
0.006531402003020048,
0.051228832453489304,
0.006339704617857933,
0.10209252685308456,
-0.027020195499062538,
-0.0009567750967107713,
-0.0060567231848835945,
0.08580738306045532,
-0.0211779922246933,
-0.0148337222635746,
-0.009950004518032074,
-0.059955623000860214,
-0.03350139036774635,
0.02289413847029209,
0.028937170282006264,
0.02024688944220543,
0.032168637961149216,
-0.025815241038799286,
0.040895432233810425,
0.0158469807356596,
0.017900880426168442,
0.007257113698869944,
0.0178734939545393,
-0.045569196343421936,
0.04045726731419563,
-0.055135805159807205,
0.0488189235329628,
0.01662289723753929,
0.03337359428405762,
0.0017458150396123528,
0.032150380313396454,
-0.05484369397163391,
0.008813513442873955,
0.07960003614425659,
-0.02331404760479927,
0.04608038812875748,
-0.015655282884836197,
0.04440075531601906,
0.044291213154792786,
0.004733098670840263,
-0.07112883776426315,
-0.005527273286134005,
-0.03947139531373978,
0.034870658069849014,
-0.06010168045759201,
0.05743617191910744,
-0.020374689251184464,
0.024299919605255127,
0.004425013437867165,
-0.028535518795251846,
0.0020961191039532423,
-0.03059854730963707,
0.0645928755402565,
-0.009110188111662865,
0.014432070776820183,
0.06221947818994522,
-0.014103447087109089,
0.04023818299174309,
-0.002343728207051754,
-0.016148218885064125,
-0.05805690959095955,
0.026399461552500725,
-0.04330534115433693,
0.02866331674158573,
-0.07350223511457443,
-0.022346433252096176,
-0.03888717293739319,
0.03914276883006096,
0.031310565769672394,
0.02492065355181694,
0.022602029144763947,
-0.012551611289381981,
0.012770693749189377,
-0.00894131138920784,
-0.058093421161174774,
-0.0422099269926548,
0.008717664517462254,
-0.022656800225377083,
-0.08266719430685043,
0.06316883862018585,
0.010945005342364311,
0.002950769616290927,
0.0370979979634285,
-0.00642186077311635,
-0.01729840226471424,
-0.016650283709168434,
0.02880937047302723,
0.10464848577976227,
-0.050462041050195694,
-0.011958262883126736,
-0.022839369252324104,
0.018950650468468666,
0.051740024238824844,
-0.023880010470747948,
0.03260680288076401,
0.04177176207304001,
-0.04348791018128395,
-0.04527708515524864,
0.016568126156926155,
-0.023332305252552032,
-0.0356009341776371,
0.04644552618265152,
-0.01037904154509306,
0.005372089799493551,
-0.027184508740901947,
0.0016887622186914086,
0.03494368493556976,
-0.01644945703446865,
0.01813821867108345,
-0.016166474670171738,
0.0283164344727993,
-0.0161847323179245,
0.01569179631769657,
-0.05119231715798378,
0.006426425185054541,
0.03525405377149582,
-0.012268629856407642,
-0.004299497231841087,
0.015700925141572952,
-0.03969047591090202,
0.013026290573179722,
0.06287672370672226,
-0.008991518057882786,
0.055135805159807205,
0.06784260272979736,
-0.0037244053091853857,
-0.06937617808580399,
0.03350139036774635,
0.013647024519741535,
0.019114963710308075,
0.05440552905201912,
0.062438562512397766,
0.010881106369197369,
0.02745836228132248,
-0.05444204434752464,
0.03676937520503998,
0.028499003499746323,
0.011328400112688541,
-0.04279414936900139,
0.09164958447217941,
-0.0841277465224266,
-0.02033817395567894,
0.010607252828776836,
0.00022107952099759132,
-0.04925708845257759,
0.023460103198885918,
0.016558999195694923,
-0.0008985812892206013,
-0.004027926363050938,
0.03812038525938988,
-0.01973569765686989,
0.013756565749645233,
0.005883282516151667,
0.016586383804678917,
-0.024281661957502365,
-0.010360784828662872,
-0.019133219495415688,
0.018622027710080147,
0.07711710035800934,
0.00864920113235712,
0.05729011818766594,
0.0085624810308218,
-0.02722102217376232,
0.0026404026430100203,
-0.013747437857091427,
-0.01496152114123106,
-0.026052581146359444,
0.03534533828496933,
-0.044875435531139374,
0.012177345342934132,
-0.052506811916828156,
0.01654074154794216,
-0.016120832413434982,
-0.02890065498650074,
0.007581173442304134,
0.03899671509861946,
-0.02296716719865799,
-0.03434120863676071,
0.05531837418675423,
-0.026308177039027214
] |
719,727
|
ibm_platform_services.iam_identity_v1
|
list_api_keys
|
Get API keys for a given service or user IAM ID and account ID.
Returns the list of API key details for a given service or user IAM ID and account
ID. Users can manage user API keys for themself, or service ID API keys for
service IDs that are bound to an entity they have access to. In case of service
IDs and their API keys, a user must be either an account owner, a IBM Cloud org
manager or IBM Cloud space developer in order to manage service IDs of the entity.
:param str account_id: (optional) Account ID of the API keys to query. If a
service IAM ID is specified in iam_id then account_id must match the
account of the IAM ID. If a user IAM ID is specified in iam_id then then
account_id must match the account of the Authorization token.
:param str iam_id: (optional) IAM ID of the API keys to be queried. The IAM
ID may be that of a user or a service. For a user IAM ID iam_id must match
the Authorization token.
:param int pagesize: (optional) Optional size of a single page. Default is
20 items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str scope: (optional) Optional parameter to define the scope of the
queried API keys. Can be 'entity' (default) or 'account'.
:param str type: (optional) Optional parameter to filter the type of the
queried API keys. Can be 'user' or 'serviceid'.
:param str sort: (optional) Optional sort property, valid values are name,
description, created_at and created_by. If specified, the items are sorted
by the value of this property.
:param str order: (optional) Optional sort order, valid values are asc and
desc. Default: asc.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKeyList` object
|
def list_api_keys(
self,
*,
account_id: Optional[str] = None,
iam_id: Optional[str] = None,
pagesize: Optional[int] = None,
pagetoken: Optional[str] = None,
scope: Optional[str] = None,
type: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get API keys for a given service or user IAM ID and account ID.
Returns the list of API key details for a given service or user IAM ID and account
ID. Users can manage user API keys for themself, or service ID API keys for
service IDs that are bound to an entity they have access to. In case of service
IDs and their API keys, a user must be either an account owner, a IBM Cloud org
manager or IBM Cloud space developer in order to manage service IDs of the entity.
:param str account_id: (optional) Account ID of the API keys to query. If a
service IAM ID is specified in iam_id then account_id must match the
account of the IAM ID. If a user IAM ID is specified in iam_id then then
account_id must match the account of the Authorization token.
:param str iam_id: (optional) IAM ID of the API keys to be queried. The IAM
ID may be that of a user or a service. For a user IAM ID iam_id must match
the Authorization token.
:param int pagesize: (optional) Optional size of a single page. Default is
20 items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str scope: (optional) Optional parameter to define the scope of the
queried API keys. Can be 'entity' (default) or 'account'.
:param str type: (optional) Optional parameter to filter the type of the
queried API keys. Can be 'user' or 'serviceid'.
:param str sort: (optional) Optional sort property, valid values are name,
description, created_at and created_by. If specified, the items are sorted
by the value of this property.
:param str order: (optional) Optional sort order, valid values are asc and
desc. Default: asc.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKeyList` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_api_keys',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'iam_id': iam_id,
'pagesize': pagesize,
'pagetoken': pagetoken,
'scope': scope,
'type': type,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/apikeys'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, iam_id: Optional[str] = None, pagesize: Optional[int] = None, pagetoken: Optional[str] = None, scope: Optional[str] = None, type: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.05618280544877052,
-0.0767781212925911,
-0.09434471279382706,
-0.035057466477155685,
0.013004577718675137,
0.02867821790277958,
-0.000443660537712276,
-0.05909794941544533,
-0.028034614399075508,
0.013591392897069454,
0.0007808425580151379,
-0.052737634629011154,
0.027163855731487274,
-0.02829962782561779,
-0.013686040416359901,
0.013193872757256031,
0.05587993189692497,
0.016165807843208313,
-0.002077514538541436,
-0.05213188752532005,
0.04577157273888588,
0.056523535400629044,
0.010108361952006817,
-0.03055224008858204,
0.022734349593520164,
0.044938672333955765,
0.03600393980741501,
-0.005872882436960936,
0.023302234709262848,
0.027220644056797028,
0.014395897276699543,
0.018361631780862808,
0.028905371204018593,
0.019667766988277435,
-0.03590929135680199,
-0.03933553397655487,
0.045620135962963104,
0.0016527833649888635,
-0.008258001878857613,
0.03182051703333855,
-0.009919066913425922,
0.024684090167284012,
0.07988256216049194,
-0.05281335115432739,
0.012635452672839165,
0.024021556600928307,
0.013364238664507866,
0.005674122832715511,
-0.007122230716049671,
-0.004088775720447302,
0.039865560829639435,
-0.021977169439196587,
0.017188001424074173,
-0.05595565214753151,
0.011764694936573505,
-0.017708562314510345,
-0.03174480050802231,
-0.08306271582841873,
-0.012682775966823101,
-0.017831604927778244,
-0.02915145643055439,
-0.006180487107485533,
0.01665797457098961,
0.004715815652161837,
0.0040296209044754505,
-0.016894593834877014,
-0.03626895323395729,
0.002224218100309372,
-0.04823241010308266,
0.01998956874012947,
0.012133819982409477,
0.009852813556790352,
-0.03872979059815407,
-0.00041290008812211454,
-0.03925981745123863,
-0.01534237340092659,
-0.0022490632254630327,
-0.02152286097407341,
-0.05894651636481285,
-0.031176913529634476,
0.005683587398380041,
0.013875335454940796,
-0.014660910703241825,
0.0032677077688276768,
0.035701069980859756,
0.037177570164203644,
-0.017140677198767662,
-0.04403005540370941,
0.055501341819763184,
0.014291784726083279,
-0.04334859177470207,
-0.028261767700314522,
-0.0410013347864151,
0.043840762227773666,
0.007917270064353943,
0.008622394874691963,
-0.010884472168982029,
-0.04656660929322243,
-0.012701706029474735,
0.040547024458646774,
-0.005631531123071909,
-0.06405748426914215,
0.06754051893949509,
0.020084217190742493,
0.02087925747036934,
-0.07666454464197159,
-0.034281354397535324,
0.00024253442825283855,
0.03517104312777519,
0.03960054740309715,
-0.06689690798521042,
-0.0002975483366753906,
0.03806725889444351,
-0.022280041128396988,
0.010998048819601536,
0.0757937878370285,
0.0259145088493824,
0.021352494135499,
0.014168743044137955,
-0.005787699483335018,
0.012843676842749119,
-0.013922659680247307,
0.04031987115740776,
-0.034281354397535324,
0.021882520988583565,
-0.019156670197844505,
-0.00935591384768486,
0.042515695095062256,
-0.00036912556970492005,
0.007122230716049671,
-0.024608371779322624,
0.01768016815185547,
-0.05845434591174126,
0.026028085500001907,
0.06621544808149338,
0.0038024666719138622,
0.020122075453400612,
0.03621216490864754,
-0.03903266414999962,
0.07935253530740738,
0.003161229193210602,
0.039827704429626465,
0.036250025033950806,
0.007458229549229145,
-0.028072472661733627,
-0.034962818026542664,
0.025176256895065308,
-0.02046280726790428,
0.021617507562041283,
-0.0038971141912043095,
-0.0018373462371528149,
-0.008328987285494804,
-0.042250681668519974,
-0.00692347064614296,
-0.023245446383953094,
-0.04815668985247612,
0.011064302176237106,
-0.036723263561725616,
0.0026524984277784824,
-0.035473912954330444,
-0.010193544439971447,
0.004812829662114382,
0.0535326711833477,
-0.07219717651605606,
-0.011802553199231625,
-0.0063413879834115505,
-0.06901701539754868,
0.03306986391544342,
0.017244789749383926,
-0.03460315614938736,
-0.0060148537158966064,
0.025706283748149872,
0.0106762470677495,
-0.020614244043827057,
-0.035133183002471924,
-0.008149157278239727,
-0.007723242975771427,
-0.029719341546297073,
-0.003819030011072755,
-0.0347924530506134,
0.011158949695527554,
-0.025516988709568977,
-0.017367832362651825,
-0.02578200213611126,
-0.0012008411576971412,
0.009975855238735676,
0.01246508676558733,
0.10191651433706284,
-0.0341867059469223,
0.0038403256330639124,
-0.07295435667037964,
0.004117169883102179,
0.032710205763578415,
-0.01023140363395214,
-0.08245697617530823,
0.0003632100997492671,
-0.007571806665509939,
-0.05194259434938431,
-0.014547333121299744,
0.0002292246208526194,
-0.02118212915956974,
0.04115276783704758,
0.009881207719445229,
0.02216646447777748,
0.06610187143087387,
-0.021295705810189247,
-0.010117826983332634,
-0.06182380020618439,
0.017869463190436363,
-0.0027471461798995733,
0.016345636919140816,
-0.02748565748333931,
-0.0699634924530983,
-0.02438121661543846,
-0.051412567496299744,
0.06277027726173401,
0.03967626765370369,
0.01631724275648594,
0.043235015124082565,
-0.03004114329814911,
0.048648856580257416,
-0.022734349593520164,
-0.018248053267598152,
-0.07303007692098618,
0.044635798782110214,
0.04645303264260292,
0.06863842904567719,
0.029813988134264946,
-0.049633193761110306,
-0.046983059495687485,
0.04243997484445572,
-0.0052292789332568645,
-0.021806802600622177,
0.026823125779628754,
-0.023510459810495377,
-0.07889822870492935,
0.003977564629167318,
-0.01282474771142006,
-0.002527090488001704,
-0.019166136160492897,
0.027845319360494614,
0.09419327229261398,
0.017926251515746117,
0.03348631411790848,
-0.09154314547777176,
-0.015209866687655449,
-0.05023893713951111,
0.0030902435537427664,
0.0013203338021412492,
-0.049406036734580994,
0.002908047055825591,
-0.06523111462593079,
0.03606072813272476,
-0.023491529747843742,
0.0039870296604931355,
-0.0472102127969265,
-0.01734890230000019,
-0.094420425593853,
0.003608439117670059,
-0.013525139540433884,
-0.01687566377222538,
0.048989590257406235,
-0.05686426907777786,
0.02360510639846325,
0.0329752191901207,
0.01840895414352417,
0.04804311320185661,
0.037310078740119934,
0.02809140272438526,
0.03293735906481743,
0.035227831453084946,
0.026823125779628754,
-0.005778234917670488,
-0.002874920377507806,
0.002286922186613083,
0.06636688858270645,
0.031176913529634476,
0.014149813912808895,
-0.050011783838272095,
0.0037811710499227047,
-0.019241854548454285,
-0.05943868309259415,
-0.017027100548148155,
0.005101504735648632,
0.0375940203666687,
-0.04724807292222977,
0.014774487353861332,
0.07268934696912766,
-0.014111954718828201,
0.005276602692902088,
0.06761623173952103,
0.035398196429014206,
-0.022147534415125847,
-0.03854049742221832,
-0.028356416150927544,
0.014395897276699543,
-0.04444650560617447,
-0.05163972079753876,
0.026198450475931168,
0.01793571747839451,
-0.0219014510512352,
0.085409976541996,
0.055501341819763184,
-0.04308357834815979,
0.041266344487667084,
0.002007711911574006,
0.029813988134264946,
-0.0109507255256176,
-0.02458944171667099,
0.03363775089383125,
-0.029567904770374298,
0.02254505455493927,
-0.02097390405833721,
-0.05603136867284775,
-0.019459543749690056,
-0.09919066727161407,
0.05334337800741196,
0.03068474680185318,
-0.006909273564815521,
0.039789844304323196,
-0.043235015124082565,
0.01781267486512661,
-0.028905371204018593,
-0.06148307025432587,
0.06027157977223396,
-0.02932182140648365,
0.050693243741989136,
0.029586834833025932,
0.026274168863892555,
-0.022431477904319763,
0.03691255673766136,
-0.01615634188055992,
-0.05398698151111603,
-0.00043508311500772834,
-0.06841127574443817,
-0.05591779202222824,
0.02748565748333931,
0.012275791727006435,
0.02407834492623806,
0.039827704429626465,
-0.04232639819383621,
-0.045014388859272,
-0.010203009471297264,
0.020595313981175423,
-0.03861621394753456,
-0.03842691704630852,
0.0996449738740921,
-0.004926406778395176,
0.01593865267932415,
0.009351180866360664,
0.04539298266172409,
-0.00008740112389205024,
0.07814104110002518,
0.05364625155925751,
0.10479380190372467,
-0.019364895299077034,
-0.026482393965125084,
-0.04031987115740776,
-0.024059414863586426,
0.053456954658031464,
0.007590736262500286,
-0.02033030055463314,
-0.07957968860864639,
0.016440285369753838,
-0.025971297174692154,
-0.027239574119448662,
0.010392304509878159,
-0.10820111632347107,
0.08737865090370178,
0.011916130781173706,
-0.04315929859876633,
0.007273666560649872,
-0.03975198417901993,
0.013004577718675137,
0.03004114329814911,
0.03017365001142025,
0.007169554475694895,
0.03534140810370445,
-0.04819454997777939,
0.10456664860248566,
0.007216878235340118,
-0.037101853638887405,
0.05625852197408676,
-0.002187542151659727,
0.038294412195682526,
0.024513723328709602,
0.03310772404074669,
-0.04005485773086548,
0.02352938987314701,
-0.001806585700251162,
0.024021556600928307,
0.0022029224783182144,
0.0049737305380403996,
0.03255876898765564,
0.008546676486730576,
-0.015058430843055248,
-0.0242108516395092,
-0.01665797457098961,
0.0016196568030864,
-0.0722728967666626,
0.04774023965001106,
0.027428869158029556,
0.04948175698518753,
0.013146549463272095,
-0.005555813200771809,
-0.024324428290128708,
0.010704641230404377,
-0.07223503291606903,
-0.03498174622654915,
0.00856560654938221,
0.007623862940818071,
-0.011121091432869434,
-0.015313979238271713,
-0.011395568959414959,
0.03827548399567604,
0.0392976775765419,
-0.04414363205432892,
0.09419327229261398,
-0.016733692958950996,
0.07666454464197159,
0.024267639964818954,
-0.07072067260742188,
-0.0055463481694459915,
0.032956287264823914,
0.013345309533178806,
0.035701069980859756,
-0.020652102306485176,
-0.008745436556637287,
0.017102818936109543,
-0.05455486848950386,
0.03780224546790123,
0.03375132754445076,
-0.02046280726790428,
-0.009062506258487701,
-0.05640995875000954,
0.03341059759259224,
0.023037221282720566,
-0.011253597214818,
0.04300786182284355,
-0.02642560563981533,
-0.007964594289660454,
-0.008414169773459435,
-0.015200401656329632,
-0.0043466901406645775,
0.010619458742439747,
0.06950918585062027,
0.003684157272800803,
0.029946494847536087,
0.08677290380001068,
0.008674451150000095,
0.0416070781648159,
0.04887601360678673,
0.062202390283346176,
-0.03623109310865402,
0.004410577472299337,
-0.058151476085186005,
0.01790732331573963,
0.04274284839630127,
0.0004838857566937804,
-0.026898842304944992,
0.09994784742593765,
0.011878271587193012,
0.0035469182766973972,
-0.013610322028398514,
0.04293214529752731,
0.008759633637964725,
-0.01615634188055992,
0.05285121127963066,
0.03695041686296463,
-0.018740221858024597,
-0.0021402183920145035,
0.00720268115401268,
0.006568542215973139,
0.0363825298845768,
0.07049351930618286,
0.020178863778710365,
0.06443607807159424,
0.02945432811975479,
-0.029511116445064545,
-0.053381238132715225,
0.02438121661543846,
-0.04278070852160454,
0.02557377703487873,
-0.046604469418525696,
0.01219060830771923,
-0.01333584450185299,
-0.046945199370384216,
0.007699580863118172,
-0.07821676135063171,
-0.03286164253950119,
-0.014121419750154018,
0.016392961144447327,
-0.029511116445064545,
0.04410577192902565,
-0.002962469356134534,
-0.02301829308271408,
0.017188001424074173,
-0.031139055266976357,
-0.0123799042776227,
0.021674295887351036,
0.07034208625555038,
-0.014925924129784107,
0.04974677041172981,
-0.006502288859337568,
0.016184736043214798,
0.037821173667907715,
0.016516003757715225,
-0.03498174622654915,
-0.04917888343334198,
-0.03855942562222481,
-0.04418149217963219,
0.01866450347006321,
0.024570511654019356,
-0.057848602533340454,
-0.0076049333438277245,
0.004093507770448923,
-0.02911359630525112,
0.0060148537158966064,
0.03907052055001259,
0.01947847194969654,
-0.003880550852045417,
0.038767650723457336,
-0.0010979119688272476,
0.049330320209264755,
0.022620772942900658,
0.028735006228089333,
-0.011395568959414959,
-0.0355307012796402,
0.0021958239376544952,
0.029435398057103157,
0.0007530398434028029,
0.01003264356404543,
0.009062506258487701,
-0.022526124492287636,
-0.017462478950619698,
-0.019629908725619316,
-0.10918544977903366,
0.007548144552856684,
0.024665160104632378,
0.025346621870994568,
0.06852485239505768,
0.035473912954330444,
-0.022128604352474213,
-0.09305750578641891,
-0.009318054653704166,
0.032104458659887314,
-0.023112939670681953,
0.029075738042593002,
-0.03280485048890114,
-0.008901605382561684,
0.02578200213611126,
-0.04262927174568176,
0.036420390009880066,
0.009232872165739536,
-0.06171022355556488,
-0.0005223363405093551,
0.02057638391852379,
-0.03685576841235161,
-0.016762087121605873,
-0.02080353908240795,
-0.039184100925922394,
0.02006528712809086,
-0.06829769909381866,
-0.028791794553399086,
-0.025157326832413673,
0.007746904622763395,
0.026387745514512062,
0.07045566290616989,
0.056485679000616074,
-0.009455293416976929,
-0.01103590801358223,
-0.019724557176232338,
-0.049027446657419205,
-0.04141778126358986,
-0.02233682945370674,
0.028697147965431213,
-0.007571806665509939,
-0.03534140810370445,
0.010685712099075317,
-0.0327291339635849,
0.038029398769140244,
-0.029776129871606827,
0.061937376856803894,
-0.009947461076080799,
0.029643623158335686,
0.009426899254322052,
0.032748062163591385,
-0.03403526917099953,
0.029643623158335686,
-0.0027779066003859043,
-0.022317899391055107,
0.009777095168828964,
-0.005068378057330847,
0.005745108239352703,
-0.02033030055463314,
0.04679376631975174,
-0.02057638391852379,
-0.007141160313040018,
-0.02002742886543274,
-0.036250025033950806,
0.036628615111112595,
0.06905487924814224,
0.021068552508950233,
0.027939965948462486,
0.022961502894759178,
0.0027850051410496235,
-0.014216067269444466,
0.01585347019135952,
0.021333565935492516,
0.015323443338274956,
-0.0041786907240748405,
-0.01391319464892149,
0.04130420461297035,
-0.009881207719445229,
-0.029340751469135284,
0.0358903631567955,
0.04717235639691353,
0.011367174796760082,
0.04827026650309563,
-0.03174480050802231,
0.02411620505154133,
0.009881207719445229,
0.032501980662345886,
0.04482509568333626,
-0.0774974375963211,
-0.0013156014028936625,
0.024570511654019356,
-0.013742828741669655,
0.014320178888738155,
0.010326051153242588,
-0.0008743070648051798,
0.06704834848642349,
-0.046907342970371246,
0.0219014510512352,
0.027845319360494614,
0.02510053850710392,
0.001244615763425827,
-0.0013783053727820516,
-0.016639044508337975,
-0.005432771053165197,
-0.0058492207899689674,
0.04315929859876633,
-0.024835525080561638,
0.06307315081357956,
0.007567074149847031,
0.04649089276790619,
-0.062240250408649445,
-0.027088137343525887,
0.030495451763272285,
-0.037821173667907715,
-0.0734843835234642,
0.0012410663766786456,
-0.048648856580257416,
-0.028186049312353134,
-0.05322980135679245,
-0.02322651632130146,
-0.032066602259874344,
-0.014793417416512966,
-0.016298314556479454,
-0.023302234709262848,
0.024854455143213272,
-0.017490873113274574,
-0.0338270477950573,
-0.04982248693704605,
-0.06038515642285347,
-0.05519847199320793,
-0.019166136160492897,
-0.0233590230345726,
0.012370439246296883,
-0.005820826161652803,
0.021238917484879494,
0.01059106457978487,
0.0029790326952934265,
0.015834540128707886,
0.0007418004097416997,
0.05690212547779083,
-0.01926078274846077,
-0.0006743640406057239,
0.009247069247066975,
-0.019317571073770523,
-0.008541944436728954,
-0.024021556600928307,
-0.017973575741052628,
0.026728477329015732,
-0.0335809625685215,
-0.07303007692098618,
0.03545498475432396,
0.00287728663533926,
-0.06405748426914215,
-0.03910838067531586,
-0.0002474146895110607,
-0.0062798671424388885,
0.0278642475605011,
-0.040547024458646774,
0.02769388258457184,
-0.03401634097099304,
-0.004237845540046692,
0.014055166393518448,
-0.015919722616672516,
0.014178208075463772,
-0.005958065390586853,
-0.012758494354784489,
0.041531357914209366,
0.04247783496975899,
0.0025294567458331585,
0.038805510848760605,
0.004067480098456144,
-0.01981920376420021,
-0.04914102330803871,
0.03583357483148575,
0.024002626538276672,
0.0032984681893140078,
0.0028654555790126324,
-0.07462015748023987,
0.028034614399075508,
0.022280041128396988,
-0.0030026945751160383,
-0.025706283748149872,
0.02778853103518486,
0.04804311320185661,
0.029435398057103157,
0.0119539899751544,
-0.02676633559167385,
-0.011698441579937935,
-0.01397944800555706,
-0.010827683843672276,
-0.008788027800619602,
0.05428985506296158,
-0.0392976775765419,
-0.0010056305909529328,
0.012370439246296883,
-0.04577157273888588,
-0.06072589010000229,
0.004730012733489275,
0.0695849061012268,
-0.01981920376420021,
-0.02445693500339985,
-0.055804215371608734,
0.033429525792598724,
0.006511753890663385,
-0.014481079764664173,
0.0506175272166729,
-0.024570511654019356,
-0.018039830029010773,
-0.014159278012812138,
0.0009151237900368869,
0.05792431905865669,
-0.01794518157839775,
0.046604469418525696,
-0.019724557176232338,
-0.0007583637489005923,
0.015711499378085136,
0.01331691537052393,
-0.02663383074104786,
0.00483649130910635,
0.035568561404943466,
-0.038767650723457336,
0.0733708068728447,
0.01619420200586319,
-0.006966061890125275,
0.0026548646856099367,
-0.04509010910987854,
0.026917772367596626,
-0.0049027446657419205,
0.00013901363126933575,
0.001475319149903953,
0.013525139540433884,
-0.011982384137809277
] |
719,728
|
ibm_platform_services.iam_identity_v1
|
list_claim_rules
|
List claim rules for a trusted profile.
Get a list of all claim rules for a trusted profile. The `profile-id` query
parameter determines the profile from which to retrieve the list of claim rules.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileClaimRuleList` object
|
def list_claim_rules(
self,
profile_id: str,
**kwargs,
) -> DetailedResponse:
"""
List claim rules for a trusted profile.
Get a list of all claim rules for a trusted profile. The `profile-id` query
parameter determines the profile from which to retrieve the list of claim rules.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileClaimRuleList` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_claim_rules',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/rules'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0642705038189888,
0.03063681162893772,
-0.02231414243578911,
-0.04600035026669502,
-0.037984590977430344,
0.030402114614844322,
-0.01951584778726101,
-0.01928115077316761,
-0.012872154824435711,
0.019570007920265198,
-0.04148697108030319,
0.016446750611066818,
-0.0031413112301379442,
0.014208114705979824,
0.026015112176537514,
0.0004053577722515911,
0.030022991821169853,
-0.035420991480350494,
0.053438398987054825,
-0.038129016757011414,
0.0035181783605366945,
0.04195636510848999,
0.026574769988656044,
-0.02184475027024746,
0.029282797127962112,
0.013413759879767895,
0.03691943362355232,
-0.044086676090955734,
0.017529960721731186,
0.04094536602497101,
-0.0032699424773454666,
0.07943545281887054,
-0.009058349765837193,
0.00655342498794198,
-0.05318564921617508,
-0.028145426884293556,
0.02523881010711193,
-0.02034630812704563,
-0.08694572001695633,
0.07647468149662018,
-0.04065651074051857,
0.0717446580529213,
0.05972101911902428,
0.017403585836291313,
-0.055352069437503815,
-0.031647808849811554,
-0.044267211109399796,
-0.010543251410126686,
-0.0267733596265316,
-0.038020696491003036,
-0.05643527954816818,
0.018053513020277023,
-0.03329067677259445,
0.013928284868597984,
-0.009053836576640606,
-0.041559185832738876,
-0.09416712075471878,
-0.062429048120975494,
0.03249632194638252,
0.004865421447902918,
0.03549320623278618,
-0.04737241566181183,
-0.01709667593240738,
-0.045892030000686646,
0.01701543480157852,
-0.054882679134607315,
-0.013224197551608086,
-0.009983592666685581,
-0.013513053767383099,
-0.03870673105120659,
0.00654439814388752,
0.01739455945789814,
0.058565594255924225,
-0.003825088031589985,
0.0044073136523365974,
-0.04711966961622238,
0.05119976028800011,
-0.05333007499575615,
-0.01033563632518053,
0.04015101119875908,
0.005867391359061003,
-0.004924095701426268,
0.013594294898211956,
0.013359599746763706,
-0.01159938145428896,
0.027603819966316223,
0.039934370666742325,
-0.052644044160842896,
-0.05491878464818001,
-0.0012479490833356977,
0.03404892608523369,
0.012619405053555965,
-0.022368302568793297,
-0.04531431570649147,
0.01890202797949314,
0.01317906379699707,
-0.01790005713701248,
0.028019051998853683,
-0.07329726219177246,
0.01537256594747305,
-0.04054819047451019,
-0.013792883604764938,
0.006291649304330349,
0.0032225518953055143,
0.07741346210241318,
0.01362137496471405,
-0.007334239315241575,
0.01993107795715332,
0.0015480887377634645,
0.09423933923244476,
-0.00579969072714448,
-0.042497970163822174,
0.009076403453946114,
0.002177705056965351,
0.0642705038189888,
0.037190236151218414,
-0.008670199662446976,
-0.02986050955951214,
-0.02473331242799759,
-0.040403760969638824,
-0.0005480933468788862,
-0.01624816097319126,
0.02119482308626175,
-0.046650275588035583,
-0.04758905991911888,
0.02765798196196556,
-0.013865097425878048,
0.018477769568562508,
0.06676188856363297,
0.012195147573947906,
-0.06643692404031754,
0.0063683767803013325,
-0.013729696162045002,
-0.013115877285599709,
0.027946837246418,
-0.0013100079959258437,
0.03525850921869278,
-0.024552777409553528,
0.08015759289264679,
0.007275565527379513,
-0.010696706362068653,
0.0004936507320962846,
0.010913348756730556,
-0.020942075178027153,
-0.02496800757944584,
-0.027603819966316223,
0.015878064557909966,
0.025347132235765457,
-0.0014770029811188579,
0.02072543278336525,
0.00023413149756379426,
-0.0008028171141631901,
0.009324639104306698,
-0.008661172352731228,
0.047661274671554565,
-0.00115373230073601,
0.013314465992152691,
-0.019317258149385452,
0.00802027340978384,
0.0024056306574493647,
-0.018116699531674385,
0.03083539940416813,
-0.007641149219125509,
-0.0512358695268631,
0.014551131054759026,
-0.031124256551265717,
0.0004902657237835228,
-0.021971125155687332,
-0.008390369825065136,
-0.015056629665195942,
-0.012872154824435711,
-0.05351061001420021,
0.03711802139878273,
0.03522240370512009,
-0.028344014659523964,
-0.0502970851957798,
-0.015878064557909966,
0.0267733596265316,
-0.041920255869627,
0.00037291785702109337,
-0.035132136195898056,
-0.028055159375071526,
0.0005929450271651149,
-0.02818153239786625,
-0.02509438246488571,
0.02836206741631031,
-0.05441328510642052,
0.041378650814294815,
-0.005172331351786852,
0.002902102191001177,
-0.03870673105120659,
-0.016582151874899864,
-0.023902850225567818,
0.013377652503550053,
-0.0451698899269104,
-0.09272284060716629,
0.06466767936944962,
0.007478667423129082,
-0.05491878464818001,
-0.07921881228685379,
-0.015083709731698036,
0.05192190036177635,
0.0034437074791640043,
-0.02854260429739952,
0.0048879883252084255,
0.009157644584774971,
-0.07015594840049744,
0.006526344921439886,
0.019804703071713448,
-0.014975388534367085,
-0.007388399913907051,
0.03413919359445572,
-0.019858863204717636,
0.012772860005497932,
-0.0023717801086604595,
0.033832281827926636,
0.015282298438251019,
-0.029824402183294296,
-0.01866733282804489,
-0.037840161472558975,
0.03554736450314522,
-0.049069445580244064,
-0.040114905685186386,
0.0029246690683066845,
-0.02328903041779995,
0.05564092472195625,
0.013115877285599709,
0.007880358025431633,
0.0053302994929254055,
0.00959544163197279,
0.02491384744644165,
-0.03287544474005699,
0.000798867957200855,
-0.00029647251358255744,
0.011157071217894554,
0.015733636915683746,
0.0069867093116045,
0.02314460277557373,
-0.01777368225157261,
0.08420158177614212,
0.03688332438468933,
-0.015327432192862034,
0.03363369405269623,
0.012474977411329746,
-0.002615502569824457,
0.06513707339763641,
0.015507967211306095,
-0.006621125619858503,
-0.020093560218811035,
-0.019551953300833702,
-0.024462509900331497,
0.011797970160841942,
0.050044335424900055,
0.03628756105899811,
-0.031413111835718155,
-0.0591433085501194,
-0.052607934921979904,
-0.060334838926792145,
0.03209914639592171,
-0.022982122376561165,
0.010561305098235607,
0.01701543480157852,
0.00009908275387715548,
-0.03464468941092491,
-0.007794604171067476,
-0.011563275009393692,
-0.05398000404238701,
0.0693615972995758,
0.024534722790122032,
-0.01998523809015751,
-0.003770927432924509,
-0.028795352205634117,
-0.00900870282202959,
0.01857706531882286,
-0.007663716096431017,
0.016491884365677834,
0.021014288067817688,
0.07784674316644669,
0.0051948982290923595,
0.032893501222133636,
0.005289679393172264,
-0.00647218432277441,
-0.03599870577454567,
0.009423933923244476,
0.03794848173856735,
-0.06524539738893509,
-0.00728910556063056,
0.06914495676755905,
-0.03906780108809471,
0.041559185832738876,
0.05286068469285965,
-0.040403760969638824,
-0.05556870996952057,
-0.03670278936624527,
0.008209834806621075,
0.00987527146935463,
0.019208937883377075,
-0.050694264471530914,
0.04968326538801193,
-0.0007373731350526214,
-0.03195471689105034,
0.05477435886859894,
0.07145580649375916,
-0.05549649894237518,
-0.05286068469285965,
-0.08651243150234222,
-0.015219110995531082,
-0.0498276948928833,
0.04246186092495918,
-0.00416584825143218,
0.02119482308626175,
-0.035186294466257095,
0.0011407562997192144,
0.008394883014261723,
0.023920904844999313,
0.0024868713226169348,
-0.02379452995955944,
-0.005853851325809956,
0.029355011880397797,
0.023487620055675507,
0.0005472471239045262,
-0.023270977661013603,
0.11532583832740784,
0.02034630812704563,
0.07011984288692474,
-0.03776794672012329,
0.04914166033267975,
0.027730194851756096,
0.04047597572207451,
-0.032008878886699677,
-0.001457821112126112,
-0.041884150356054306,
0.012465950101613998,
-0.025365184992551804,
0.03255048394203186,
-0.030113259330391884,
0.018008379265666008,
0.03617924079298973,
-0.0012490773806348443,
0.06596753746271133,
0.019967185333371162,
-0.04433942586183548,
0.050549834966659546,
0.013729696162045002,
-0.004815774504095316,
0.0488889105618,
0.03729855641722679,
0.026755305007100105,
-0.00773141672834754,
0.00921180471777916,
0.054557714611291885,
-0.062429048120975494,
0.05333007499575615,
0.030799292027950287,
0.01457821112126112,
-0.01951584778726101,
-0.02216971293091774,
-0.002653866307809949,
-0.00872887298464775,
-0.00019717820396181196,
0.021501732990145683,
-0.021862803027033806,
-0.05296900495886803,
-0.008584445342421532,
0.0009196007740683854,
-0.002915642224252224,
0.02505827508866787,
-0.03587232902646065,
0.024859687313437462,
0.017800763249397278,
-0.043472860008478165,
0.003366980003193021,
0.0020016832277178764,
0.00033314371830783784,
0.016889061778783798,
0.011951425112783909,
0.0223502479493618,
0.04015101119875908,
0.022693265229463577,
0.06950602680444717,
-0.06632860749959946,
0.019010348245501518,
-0.01159938145428896,
0.017105702310800552,
-0.04387003555893898,
0.008855247870087624,
-0.06372889876365662,
-0.014162980951368809,
-0.022566890344023705,
-0.002355983480811119,
0.05015265941619873,
-0.006399970036000013,
0.004526918288320303,
-0.10239952057600021,
-0.023307085037231445,
0.05394389480352402,
0.015119817107915878,
0.04173972085118294,
0.03348926454782486,
-0.03226162865757942,
-0.028470389544963837,
-0.019353365525603294,
0.020942075178027153,
0.04448385536670685,
-0.03903169557452202,
0.016374535858631134,
0.026791412383317947,
0.007149191107600927,
-0.036775004118680954,
0.037695735692977905,
0.02910226210951805,
-0.04141475632786751,
0.013765803538262844,
0.002847941592335701,
0.03650420159101486,
0.018053513020277023,
-0.012845073826611042,
0.00401013670489192,
-0.003703226801007986,
0.013838017359375954,
0.013161011040210724,
-0.028759244829416275,
-0.010597411543130875,
0.027278857305645943,
-0.034536369144916534,
0.00001814166535041295,
-0.013657482340931892,
0.05885444954037666,
-0.025635987520217896,
-0.024318082258105278,
0.07474154233932495,
0.015661422163248062,
-0.011328578926622868,
-0.042678505182266235,
-0.03997047618031502,
0.0009167799144051969,
-0.035330723971128464,
0.01574266329407692,
-0.0034008303191512823,
-0.06390943378210068,
0.0670507475733757,
0.03540293872356415,
-0.0037776974495500326,
0.016004439443349838,
-0.0015774256316944957,
0.005316759459674358,
-0.023018227890133858,
-0.02355983480811119,
-0.02170032262802124,
-0.012754806317389011,
0.0009743255213834345,
-0.011536194942891598,
0.006955115590244532,
0.010155100375413895,
0.0111751239746809,
-0.021032342687249184,
0.008891355246305466,
0.030907614156603813,
0.0059080119244754314,
-0.0563630647957325,
0.0028569684363901615,
-0.024570830166339874,
0.011003616265952587,
0.01108485646545887,
0.003730307100340724,
0.03172001987695694,
-0.012529137544333935,
0.06441493332386017,
-0.025347132235765457,
-0.016347454860806465,
-0.019768595695495605,
0.044122785329818726,
-0.03376006707549095,
0.005018876399844885,
0.0908452719449997,
0.09618911147117615,
0.025870682671666145,
-0.04531431570649147,
-0.0021359561942517757,
0.04148697108030319,
-0.013215171173214912,
-0.04545874521136284,
-0.031882502138614655,
0.012420816347002983,
0.006287135649472475,
-0.09156741946935654,
-0.01821599341928959,
0.0244444552809,
-0.0722140520811081,
-0.015128843486309052,
0.010462010279297829,
-0.0007142421090975404,
-0.024715257808566093,
0.004138767719268799,
-0.020039398223161697,
-0.012971448712050915,
0.02608732506632805,
-0.07380276173353195,
0.01857706531882286,
0.004806747660040855,
0.0395733006298542,
-0.06275401264429092,
0.009026756510138512,
0.06268179416656494,
-0.019588060677051544,
0.08326280117034912,
-0.05094701424241066,
0.039103906601667404,
-0.025906790047883987,
0.015634341165423393,
-0.0054837544448673725,
0.058421168476343155,
-0.023902850225567818,
0.003854424925521016,
-0.035330723971128464,
0.03700970113277435,
0.019678328186273575,
0.044772710651159286,
-0.09012313187122345,
0.04372560605406761,
0.03209914639592171,
-0.0010284860618412495,
-0.0027057703118771315,
0.026755305007100105,
0.04000658541917801,
0.04968326538801193,
-0.04776959493756294,
-0.021592000499367714,
0.052644044160842896,
-0.036070916801691055,
0.03395865857601166,
0.015507967211306095,
-0.022332195192575455,
-0.025509612634778023,
-0.0465780608355999,
-0.016789766028523445,
-0.009884297847747803,
-0.042497970163822174,
0.04271461069583893,
-0.008101513609290123,
0.02523881010711193,
0.017936164513230324,
-0.00624200189486146,
0.03242410719394684,
-0.037515200674533844,
-0.02426392026245594,
-0.008074433542788029,
-0.015146897174417973,
0.02659282460808754,
0.009884297847747803,
0.04802234470844269,
-0.014298382215201855,
0.03379617631435394,
0.019389472901821136,
-0.018035458400845528,
0.0272427499294281,
0.048600055277347565,
-0.05549649894237518,
-0.03675695136189461,
-0.02621369995176792,
-0.010155100375413895,
0.007541854865849018,
0.03343510627746582,
-0.02603316493332386,
-0.005564995110034943,
0.015011495910584927,
0.0484195202589035,
0.07098641246557236,
-0.019876917824149132,
-0.043797820806503296,
0.011148043908178806,
0.04849173501133919,
-0.020743485540151596,
-0.008051866665482521,
-0.04033154621720314,
-0.053438398987054825,
0.011698676273226738,
-0.002124672755599022,
0.03794848173856735,
0.025365184992551804,
-0.07134748250246048,
-0.01478582713752985,
0.04961105436086655,
-0.024661097675561905,
-0.02184475027024746,
0.007424506824463606,
-0.0022894111461937428,
0.018441662192344666,
0.020039398223161697,
-0.0230543352663517,
-0.034121137112379074,
0.006661746185272932,
-0.011220257729291916,
-0.03226162865757942,
0.006598558742552996,
0.038634516298770905,
-0.027459392324090004,
0.0010211517801508307,
-0.04448385536670685,
0.013702616095542908,
-0.009414906613528728,
-0.010028726421296597,
0.05452160909771919,
0.03982605040073395,
-0.0018561267061159015,
-0.011148043908178806,
0.06127362325787544,
0.03823734074831009,
-0.04527821019291878,
-0.020003292709589005,
-0.0175750944763422,
0.0628984346985817,
0.05737406387925148,
-0.04383393004536629,
0.07734125107526779,
-0.04870837554335594,
-0.017168890684843063,
0.05481046438217163,
0.014036606065928936,
-0.022097500041127205,
0.08968985080718994,
0.009193751029670238,
-0.012429843656718731,
0.05813230946660042,
-0.025744309648871422,
0.0272427499294281,
0.00386570836417377,
-0.03199082612991333,
-0.03899558633565903,
-0.038634516298770905,
-0.006851308047771454,
0.029824402183294296,
-0.029589707031846046,
-0.08311837166547775,
0.03805680572986603,
0.07950767129659653,
0.043328430503606796,
-0.012935341335833073,
0.03567374125123024,
-0.06419829279184341,
-0.06170690432190895,
-0.03711802139878273,
0.010200235061347485,
0.006440590601414442,
-0.011662568897008896,
0.03459053114056587,
-0.0656786784529686,
-0.03628756105899811,
0.05394389480352402,
-0.011924345046281815,
-0.019624168053269386,
0.05394389480352402,
0.005546941887587309,
0.009103483520448208,
0.07355000823736191,
0.0160676259547472,
0.058565594255924225,
0.0024530210066586733,
-0.016825873404741287,
-0.006129167508333921,
0.03352537378668785,
-0.05979323387145996,
0.029517492279410362,
-0.03460858389735222,
-0.0042290352284908295,
-0.0666174590587616,
0.01031758263707161,
0.045892030000686646,
-0.006503778044134378,
0.03478911891579628,
0.0372624509036541,
0.06918106228113174,
0.006129167508333921,
0.04535042494535446,
0.07199741154909134,
0.010489091277122498,
-0.042353540658950806,
-0.0908452719449997,
0.04852784052491188,
0.02482357993721962,
-0.027044162154197693,
-0.04856394976377487,
0.0023627534974366426,
-0.017818816006183624,
-0.014478917233645916,
-0.013720669783651829,
0.05242739990353584,
-0.05452160909771919,
-0.10521586984395981,
0.01055227778851986,
0.006977682467550039,
-0.027369124814867973,
0.051633045077323914,
-0.04914166033267975,
0.009640575386583805,
0.0024981547612696886,
-0.022711317986249924,
0.030943719670176506,
0.0022250954061746597,
0.051633045077323914,
-0.04646974056959152,
-0.034861333668231964,
0.008561878465116024,
-0.03399476408958435,
-0.02099623531103134,
0.04921387508511543,
0.044411640614271164,
-0.010814053937792778,
0.026665037497878075,
-0.0544854998588562,
-0.05629085376858711,
0.07423604279756546,
0.056976884603500366,
-0.023812582716345787,
-0.027170537039637566,
-0.06174301356077194,
0.02901199460029602,
-0.00461492920294404,
0.01863122545182705,
-0.041848041117191315,
0.1299852877855301,
0.05722963437438011,
0.01942558027803898,
-0.03153948485851288,
0.013495001010596752,
-0.008823654614388943,
0.02393895760178566,
0.03502381592988968,
-0.03614313155412674,
-0.056832458823919296,
0.040728725492954254,
0.015327432192862034,
-0.03227968141436577,
0.0007334239198826253,
-0.002054715296253562,
0.032297734171152115,
-0.0015729123260825872,
-0.08189073204994202,
0.009107996709644794,
-0.025545720010995865,
0.012312495149672031,
-0.004906042013317347,
0.03426556661725044,
-0.02151978760957718,
-0.04405057057738304,
0.023090442642569542,
0.06268179416656494,
-0.018206967040896416,
0.05564092472195625,
0.0160676259547472,
0.01801740564405918,
-0.017818816006183624,
-0.05141640454530716,
0.004445677623152733,
-0.015661422163248062,
0.01478582713752985,
-0.01662728562951088,
-0.01278188731521368,
-0.014397676102817059,
-0.007862304337322712,
-0.04870837554335594,
0.06575088948011398,
-0.010741840116679668,
0.013702616095542908,
0.01692516729235649,
-0.013197117485105991,
0.008273022249341011,
-0.04069261625409126
] |
719,729
|
ibm_platform_services.iam_identity_v1
|
list_links
|
List links to a trusted profile.
Get a list of links to a trusted profile.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileLinkList` object
|
def list_links(
self,
profile_id: str,
**kwargs,
) -> DetailedResponse:
"""
List links to a trusted profile.
Get a list of links to a trusted profile.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileLinkList` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_links',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/links'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.06501179933547974,
0.01010944601148367,
-0.037491124123334885,
-0.021293772384524345,
-0.03122716024518013,
0.06163889169692993,
-0.03309893608093262,
-0.012166546657681465,
0.02503732591867447,
0.043588295578956604,
-0.03910344839096069,
-0.002437015762552619,
0.04225395992398262,
-0.010433763265609741,
0.01468695793300867,
0.003996057435870171,
-0.002939708298072219,
-0.0195331908762455,
0.06627200543880463,
-0.005295644514262676,
-0.004373655654489994,
0.08309945464134216,
-0.019125476479530334,
-0.009284752421081066,
0.018643634393811226,
0.013130233623087406,
0.01697571389377117,
-0.041512664407491684,
0.00834423117339611,
0.05956326052546501,
-0.04232809320092201,
0.03076384961605072,
0.0014547965256497264,
0.030226407572627068,
-0.003917294554412365,
0.001211558235809207,
0.0012231409782543778,
-0.0018497691489756107,
-0.11660610884428024,
0.06108291819691658,
-0.03832508623600006,
0.043921880424022675,
0.04899976775050163,
0.04232809320092201,
0.00017330727132502943,
0.004477900452911854,
-0.026223402470350266,
-0.015567248687148094,
-0.0837666243314743,
-0.07409269362688065,
-0.030356135219335556,
0.02833610028028488,
-0.02090459130704403,
0.007964315824210644,
-0.014714756980538368,
-0.04733185097575188,
-0.06438169628381729,
-0.01916254311800003,
0.023109951987862587,
0.052298542112112045,
0.030856510624289513,
-0.0653824433684349,
-0.0120460856705904,
-0.023962443694472313,
0.005406839307397604,
-0.05107540264725685,
-0.020367151126265526,
0.009544205851852894,
-0.026575518772006035,
-0.0074778394773602486,
0.04718359187245369,
0.021219642832875252,
0.010229906067252159,
0.02824343740940094,
0.018643634393811226,
-0.03269122168421745,
0.04110495001077652,
-0.0240921713411808,
-0.05266919359564781,
-0.029540708288550377,
-0.036805424839258194,
-0.029132993891835213,
0.0027520672883838415,
0.010507892817258835,
-0.01142524927854538,
0.030337603762745857,
0.03395142778754234,
-0.06297323107719421,
-0.03065265528857708,
0.042439285665750504,
0.015085405670106411,
0.05422591790556908,
-0.0007725710747763515,
-0.04877737909555435,
0.021738551557064056,
0.045070894062519073,
-0.02833610028028488,
-0.012898577377200127,
-0.016141755506396294,
0.03148661553859711,
-0.04180918261408806,
-0.06905186921358109,
-0.027279751375317574,
0.03005961701273918,
0.05819185823202133,
-0.010498627088963985,
0.00705622648820281,
0.017429759725928307,
0.010776613838970661,
0.07146108895540237,
-0.010396698489785194,
-0.07016381621360779,
0.07475986331701279,
-0.01568770967423916,
0.036342114210128784,
0.017939401790499687,
0.03799150139093399,
-0.00789018627256155,
-0.003565178019925952,
-0.02972603216767311,
-0.022813431918621063,
0.012212877161800861,
0.006268597673624754,
-0.04203157126903534,
-0.07190586626529694,
-0.019366398453712463,
-0.01498347707092762,
-0.003259392688050866,
0.029818695038557053,
0.01108239870518446,
-0.04073430225253105,
-0.013584277592599392,
-0.02136790193617344,
0.01843051053583622,
0.043588295578956604,
-0.00884923990815878,
-0.059526193886995316,
0.018634367734193802,
0.07479692250490189,
0.03984474390745163,
-0.034173816442489624,
-0.0016215884825214744,
0.008274734020233154,
0.03052292764186859,
0.0011721767950803041,
-0.04577512666583061,
0.06267671287059784,
0.04381068795919418,
0.03269122168421745,
-0.021664422005414963,
0.03030053898692131,
-0.02559329941868782,
0.026019545271992683,
0.04262461140751839,
-0.013130233623087406,
-0.0002939129190053791,
-0.030819445848464966,
-0.019255204126238823,
0.006106438580900431,
-0.004380605183541775,
0.008033812046051025,
-0.012277740985155106,
0.022813431918621063,
-0.02181268110871315,
-0.001377191860228777,
-0.055856771767139435,
-0.0008791325963102281,
0.005480968859046698,
-0.010813678614795208,
-0.0074732061475515366,
0.019366398453712463,
-0.03737993165850639,
0.02514852024614811,
0.028410229831933975,
0.015113203786313534,
-0.032746821641922,
0.03914051130414009,
-0.01538192480802536,
-0.03154221177101135,
-0.04455198347568512,
-0.03402555733919144,
-0.048740316182374954,
0.010980470106005669,
-0.02351766638457775,
-0.03560081496834755,
0.004772102925926447,
-0.008802908472716808,
0.010183575563132763,
-0.013334089890122414,
-0.011165794916450977,
-0.040252458304166794,
-0.026316063478589058,
-0.023554731160402298,
0.016781123355031013,
-0.04521915316581726,
-0.05203909054398537,
0.04670174792408943,
-0.0402153916656971,
-0.03359931334853172,
-0.07635364681482315,
-0.02824343740940094,
0.0072044855915009975,
0.004700290039181709,
-0.05878489837050438,
0.047702498733997345,
-0.007218385115265846,
-0.0378432422876358,
-0.004552030470222235,
0.07179466634988785,
-0.00992412120103836,
0.01280591543763876,
0.00513348588719964,
-0.012639123946428299,
0.027946919202804565,
-0.036230918020009995,
0.053558748215436935,
0.031857263296842575,
-0.013111701235175133,
0.009951920248568058,
-0.06208367273211479,
0.07931884378194809,
-0.1136409193277359,
-0.022906094789505005,
0.012611324898898602,
-0.0029072763863950968,
0.03847334533929825,
0.033914364874362946,
-0.010507892817258835,
0.018967950716614723,
-0.032654158771038055,
0.061268243938684464,
-0.019551724195480347,
-0.0436253622174263,
0.0012173495488241315,
-0.015456054359674454,
-0.04292112961411476,
0.00665777875110507,
0.0050917877815663815,
-0.021608823910355568,
0.03194992616772652,
-0.008728778921067715,
0.04032658785581589,
0.03458153083920479,
0.05404059216380119,
-0.023017289116978645,
0.041512664407491684,
-0.019014282152056694,
-0.003064802149310708,
-0.030967706814408302,
-0.04970400035381317,
0.00766316382214427,
-0.004818434361368418,
0.04325471445918083,
0.0009897480485960841,
-0.021423500031232834,
-0.04718359187245369,
-0.0018405028386041522,
-0.029225656762719154,
0.0006387900211848319,
-0.013398953713476658,
-0.0005168812931515276,
-0.026019545271992683,
-0.09014178812503815,
-0.03054145909845829,
0.009145759046077728,
-0.019811177626252174,
-0.0031134497839957476,
0.06000803783535957,
0.009942653588950634,
0.02399950847029686,
0.09392239898443222,
-0.01882895827293396,
-0.022776367142796516,
0.02537090890109539,
-0.025537701323628426,
0.044959697872400284,
0.010396698489785194,
0.02479640394449234,
-0.03109743259847164,
0.017754076048731804,
-0.016540201380848885,
-0.04544154182076454,
-0.025204118341207504,
0.028966203331947327,
0.06404811143875122,
-0.05819185823202133,
0.005156651139259338,
0.08784376084804535,
-0.0631956160068512,
-0.002061733976006508,
0.060897596180438995,
-0.008617584593594074,
-0.07020088285207748,
-0.03767644986510277,
0.0031574643217027187,
-0.00045751960715278983,
-0.0010470828274264932,
0.013676940463483334,
0.025889817625284195,
-0.01566917821764946,
-0.018773360177874565,
0.016252949833869934,
0.05715404450893402,
-0.021627357229590416,
-0.05841424688696861,
-0.056079160422086716,
0.03367344290018082,
-0.060230426490306854,
0.04992639273405075,
-0.004172115586698055,
0.01355647947639227,
0.0012046085903421044,
0.034285012632608414,
0.027631867676973343,
-0.016030559316277504,
-0.009572004899382591,
0.016123222187161446,
0.01668846234679222,
-0.015947163105010986,
0.027520671486854553,
-0.05455950275063515,
0.002770599676296115,
0.07857754081487656,
0.015400457195937634,
0.10244732350111008,
-0.01984824240207672,
0.03293214365839958,
0.03384023532271385,
0.000641106569673866,
-0.020237423479557037,
0.050556495785713196,
-0.03348811715841293,
0.002953607589006424,
-0.00986852403730154,
-0.004938894882798195,
0.02535237744450569,
0.00795504916459322,
0.0195146594196558,
0.001085885101929307,
0.031857263296842575,
0.014149517752230167,
-0.0804307833313942,
0.04121614620089531,
0.03658303618431091,
0.00044593680649995804,
0.04169799014925957,
0.0516684390604496,
-0.004795268643647432,
-0.01697571389377117,
0.01406612154096365,
0.04581218957901001,
-0.012926376424729824,
0.03250589966773987,
0.05430004745721817,
0.02661258354783058,
-0.017689213156700134,
-0.023591795936226845,
-0.005226147826761007,
-0.027261218056082726,
0.001907682977616787,
-0.020015034824609756,
-0.00556899793446064,
-0.012981973588466644,
-0.01763361506164074,
0.06389985233545303,
-0.027279751375317574,
0.027038829401135445,
-0.016957182437181473,
0.03537842631340027,
0.018513906747102737,
-0.03652743622660637,
-0.061713021248579025,
-0.010924872942268848,
0.005633861757814884,
0.05352168530225754,
-0.04651642218232155,
-0.005499501246958971,
0.03836214914917946,
0.010952671989798546,
0.05978564918041229,
-0.00850638933479786,
-0.005068622063845396,
0.0412902757525444,
0.029818695038557053,
0.00834423117339611,
-0.003037003567442298,
0.017939401790499687,
-0.03825095295906067,
0.017179571092128754,
-0.00657438300549984,
0.0258342195302248,
-0.03452593460679054,
-0.03697221726179123,
-0.009386680088937283,
0.01814325898885727,
-0.017985733225941658,
0.024370158091187477,
0.026797907426953316,
-0.012435266748070717,
-0.01497421134263277,
0.00281229754909873,
0.0206451378762722,
-0.004549713805317879,
0.039437029510736465,
-0.030244940891861916,
-0.06393691897392273,
0.04510795697569847,
-0.02214626409113407,
-0.010924872942268848,
0.0321352481842041,
0.029781630262732506,
-0.00214976305142045,
-0.03246883302927017,
-0.011712501756846905,
0.0516313761472702,
0.06471528112888336,
-0.03991887345910072,
0.01199048850685358,
-0.05867370218038559,
0.008733412250876427,
0.04192037880420685,
-0.05463363230228424,
-0.03958528861403465,
0.022535447031259537,
-0.03876986354589462,
-0.018662165850400925,
-0.004813801031559706,
0.051149532198905945,
0.006444655824452639,
-0.028873540461063385,
0.09481196105480194,
0.0022609576117247343,
0.01611395552754402,
-0.044144269078969955,
0.013537947088479996,
0.012518662959337234,
-0.02765039913356304,
-0.0027914487291127443,
0.00926158670336008,
-0.04577512666583061,
0.008585152216255665,
-0.015632113441824913,
-0.008789009414613247,
-0.02664964832365513,
-0.009738796390593052,
-0.02892913855612278,
-0.012889311648905277,
-0.019774112850427628,
-0.006704109720885754,
0.0002303524233866483,
-0.004609944298863411,
-0.010489360429346561,
0.059637390077114105,
-0.03052292764186859,
-0.017957933247089386,
-0.04525621607899666,
0.0009399421396665275,
0.04492263123393059,
-0.02994842268526554,
0.013473083265125751,
0.007431508041918278,
-0.0402153916656971,
-0.02240571938455105,
-0.015409722924232483,
0.01701277866959572,
0.010304036550223827,
-0.019477592781186104,
0.021960940212011337,
-0.05203909054398537,
-0.003185262903571129,
0.008015279658138752,
0.04088256135582924,
-0.008404461666941643,
0.06467821449041367,
0.07513050734996796,
0.06849589198827744,
-0.017717011272907257,
-0.051705505698919296,
-0.012583525851368904,
-0.014890815131366253,
-0.023851249366998672,
-0.05133485794067383,
0.03528576344251633,
0.029559241607785225,
0.016808923333883286,
-0.04158679395914078,
0.0002522149297874421,
0.06697623431682587,
-0.05581970885396004,
-0.014492367394268513,
0.01732783019542694,
0.00798748154193163,
-0.03628651797771454,
0.033228661864995956,
-0.06275083869695663,
-0.015585781075060368,
0.0022910728584975004,
-0.07431507855653763,
0.011601307429373264,
0.002759016817435622,
0.07909645140171051,
-0.047702498733997345,
0.04095669090747833,
0.006463188212364912,
0.01657726615667343,
0.10170602798461914,
-0.021145513281226158,
0.06367745995521545,
-0.05559731647372246,
-0.0020675251726061106,
-0.009419112466275692,
0.06593842059373856,
-0.0012706303969025612,
0.0038663302548229694,
0.004417670425027609,
0.01871776394546032,
-0.011907092295587063,
0.07279542088508606,
-0.032876547425985336,
-0.006301029585301876,
0.0344703383743763,
0.0448114387691021,
-0.003535062773153186,
0.021757083013653755,
0.026371661573648453,
0.042402222752571106,
-0.08235815912485123,
-0.009609069675207138,
0.05140898749232292,
0.026705244556069374,
0.03313600271940231,
0.04043778404593468,
-0.05152017995715141,
-0.08169098943471909,
-0.026723777875304222,
-0.04336590692400932,
-0.024073638021945953,
-0.037027813494205475,
0.03671276196837425,
0.020571008324623108,
0.04347710311412811,
-0.014742555096745491,
-0.0550784096121788,
0.002044359687715769,
-0.04673881083726883,
-0.017642881721258163,
0.004582145716995001,
0.025537701323628426,
0.017985733225941658,
-0.027261218056082726,
0.0585254430770874,
-0.03235764056444168,
0.02364739216864109,
0.021979473531246185,
-0.052817452698946,
0.021979473531246185,
-0.03065265528857708,
-0.0653824433684349,
-0.008534188382327557,
0.004901830106973648,
-0.05774708092212677,
0.017179571092128754,
-0.010470828041434288,
-0.029429513961076736,
0.033024806529283524,
0.02961483784019947,
0.02629753202199936,
0.039066381752491,
-0.01916254311800003,
-0.04959280788898468,
0.005897948984056711,
0.06037868559360504,
-0.09607216715812683,
0.020274488255381584,
-0.023906847462058067,
-0.01657726615667343,
0.019681449979543686,
-0.0037667183205485344,
0.0873248502612114,
0.02618633583188057,
-0.05152017995715141,
0.04166092351078987,
0.07679843157529831,
-0.01245379913598299,
0.00785775389522314,
-0.01269472111016512,
-0.02424043044447899,
-0.014038322493433952,
0.06356626749038696,
-0.008631483651697636,
-0.04203157126903534,
0.014001257717609406,
-0.05422591790556908,
-0.0825805515050888,
-0.011554975993931293,
0.04095669090747833,
-0.03962235525250435,
-0.025445038452744484,
-0.01372327096760273,
0.028410229831933975,
0.010526425205171108,
-0.0033381555695086718,
0.03239470347762108,
0.021960940212011337,
0.011332586407661438,
-0.022572511807084084,
0.029651902616024017,
0.019792644307017326,
-0.0596744529902935,
-0.014399705454707146,
-0.009243054315447807,
0.06004510447382927,
0.014093919657170773,
-0.05615328997373581,
-0.0005672663683071733,
-0.052817452698946,
-0.0013459183974191546,
0.061824217438697815,
0.021201111376285553,
0.003634674707427621,
0.08391488343477249,
-0.030504394322633743,
-0.027150023728609085,
0.0883626714348793,
-0.04877737909555435,
-0.016920117661356926,
0.020052099600434303,
0.02366592548787594,
-0.03537842631340027,
0.005128852557390928,
-0.007964315824210644,
0.013195096515119076,
0.011453047394752502,
-0.044848501682281494,
0.05448537319898605,
-0.00824230257421732,
0.061490632593631744,
-0.036008529365062714,
0.030115213245153427,
-0.012611324898898602,
-0.010609821416437626,
-0.016521669924259186,
-0.02399950847029686,
0.049555741250514984,
-0.03041173331439495,
0.06175008788704872,
-0.0361197255551815,
-0.04154972732067108,
0.050111714750528336,
0.0003547224623616785,
0.003361321287229657,
0.041401468217372894,
0.0017154088709503412,
-0.02377711981534958,
-0.011036067269742489,
-0.032190848141908646,
0.039770614355802536,
0.016030559316277504,
-0.05144605040550232,
0.010600555688142776,
0.05752469226717949,
-0.05704284831881523,
0.038510408252477646,
-0.060452815145254135,
0.011897825635969639,
-0.024258963763713837,
-0.016345610842108727,
0.04629403352737427,
-0.01755022071301937,
0.009785127826035023,
0.041512664407491684,
0.08065317571163177,
-0.009646134451031685,
0.023017289116978645,
0.038399215787649155,
-0.00620373385027051,
-0.05381820350885391,
-0.06330681592226028,
0.02433309331536293,
0.013547212816774845,
-0.03419234976172447,
-0.032542962580919266,
-0.00808941014111042,
0.052187349647283554,
-0.03895518556237221,
-0.03252442926168442,
0.060341622680425644,
-0.034136753529310226,
-0.0917726382613182,
0.03708340972661972,
-0.03144954890012741,
-0.037824708968400955,
0.04399600997567177,
-0.029763096943497658,
0.025982480496168137,
-0.0043921880424022675,
-0.020367151126265526,
-0.01774481125175953,
0.025278247892856598,
0.001965596806257963,
0.012379669584333897,
-0.03137541934847832,
0.01543752197176218,
-0.023943912237882614,
-0.005128852557390928,
0.04192037880420685,
0.00997971836477518,
-0.006324194837361574,
0.014640627428889275,
-0.0038918121717870235,
-0.026705244556069374,
0.03524870052933693,
0.03928877040743828,
-0.03693515062332153,
0.028966203331947327,
-0.06026749312877655,
0.010980470106005669,
-0.022442784160375595,
0.033339858055114746,
0.009720264002680779,
0.11067572981119156,
0.011119463481009007,
0.00783458910882473,
0.012212877161800861,
0.01683672145009041,
-0.001574099063873291,
0.04725772142410278,
0.01417731586843729,
-0.02260957658290863,
-0.048036083579063416,
0.0009665825637057424,
0.025667428970336914,
-0.03928877040743828,
0.002285281429067254,
-0.006634613499045372,
0.0006486353813670576,
0.012676188722252846,
-0.004028488881886005,
0.04566393047571182,
-0.04314351826906204,
0.024277495220303535,
0.0021764033008366823,
0.0275392048060894,
-0.062046606093645096,
-0.04718359187245369,
-0.015493119135499,
0.062046606093645096,
0.0019088411936536431,
0.06175008788704872,
0.0025389441289007664,
0.0528545156121254,
-0.0247037410736084,
-0.07509344071149826,
-0.02240571938455105,
0.03452593460679054,
-0.011666170321404934,
-0.031171562150120735,
-0.06745807826519012,
-0.02190534397959709,
-0.060452815145254135,
-0.014853750355541706,
0.04314351826906204,
0.03191285952925682,
-0.03663863241672516,
0.018995750695466995,
0.05255799740552902,
-0.022535447031259537,
0.01717030443251133
] |
719,730
|
ibm_platform_services.iam_identity_v1
|
list_profile_templates
|
List trusted profile templates.
List the trusted profile templates in an enterprise account.
:param str account_id: (optional) Account ID of the trusted profile
templates to query. This parameter is required unless using a pagetoken.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property. If specified, the
returned templates are sorted according to this property.
:param str order: (optional) Optional sort order.
:param str include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateList` object
|
def list_profile_templates(
self,
*,
account_id: Optional[str] = None,
limit: Optional[str] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
List trusted profile templates.
List the trusted profile templates in an enterprise account.
:param str account_id: (optional) Account ID of the trusted profile
templates to query. This parameter is required unless using a pagetoken.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property. If specified, the
returned templates are sorted according to this property.
:param str order: (optional) Optional sort order.
:param str include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateList` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_profile_templates',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'limit': limit,
'pagetoken': pagetoken,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/profile_templates'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, limit: Optional[str] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04268472269177437,
-0.02920822985470295,
0.007237883750349283,
-0.07495495676994324,
-0.015630895271897316,
0.07532166689634323,
-0.03938435763120651,
-0.03520389273762703,
-0.02625623717904091,
-0.02770473062992096,
0.043601490557193756,
0.009580226615071297,
-0.06146012991666794,
-0.05449269339442253,
-0.04803864657878876,
-0.0023114015348255634,
0.03144514560699463,
0.018179509788751602,
0.0336453877389431,
-0.039897747337818146,
0.03205021098256111,
0.025999542325735092,
-0.013934874907135963,
0.00579855777323246,
0.019783854484558105,
-0.06820754706859589,
-0.019050439819693565,
-0.04580173268914223,
0.011477936059236526,
0.033993758261203766,
-0.008658874779939651,
0.05159570649266243,
0.024532712996006012,
0.04191463440656662,
-0.052659157663583755,
-0.03725745528936386,
0.0032178559340536594,
0.021525714546442032,
-0.02764972485601902,
0.022295799106359482,
-0.041584599763154984,
-0.01387986820191145,
0.042134661227464676,
0.009227270260453224,
0.011322085745632648,
-0.009186016395688057,
0.002919906284660101,
-0.030363358557224274,
-0.013522328808903694,
-0.014484935440123081,
-0.01616262085735798,
0.03744080662727356,
-0.0401177704334259,
0.0015229809796437621,
-0.006944518070667982,
-0.06190017983317375,
-0.060983411967754364,
-0.0717279314994812,
-0.015575889497995377,
0.01527335587888956,
0.03747747838497162,
-0.02169073186814785,
-0.02535780519247055,
-0.00891098566353321,
-0.014411593787372112,
-0.04099786654114723,
-0.008924736641347408,
0.023615945130586624,
-0.042978085577487946,
-0.03351704031229019,
0.013439820148050785,
-0.0033599550370126963,
0.0007253927178680897,
-0.022607499733567238,
0.019105445593595505,
-0.04979884251952171,
0.05955325439572334,
-0.056546252220869064,
-0.07964880764484406,
-0.017886145040392876,
-0.03799086809158325,
0.0009860986610874534,
-0.03531390428543091,
0.07433155179023743,
0.04209798946976662,
0.031078437343239784,
0.054932743310928345,
-0.07271803915500641,
0.019802190363407135,
0.05159570649266243,
-0.0104144848883152,
-0.003884804667904973,
0.007499162573367357,
-0.008860562928020954,
0.015154176391661167,
0.01934380643069744,
0.010652844794094563,
0.022259129211306572,
-0.0202422384172678,
-0.019857196137309074,
-0.00400398438796401,
-0.07950212806463242,
0.02689797431230545,
0.006371538154780865,
0.0722779929637909,
0.02099398896098137,
0.0030574214179068804,
0.024532712996006012,
0.021434037014842033,
0.08580949157476425,
-0.021525714546442032,
-0.046718500554561615,
0.03194019943475723,
-0.0030780488159507513,
0.07033444195985794,
0.005665626842528582,
-0.001258264179341495,
0.022240793332457542,
-0.00937853753566742,
-0.024221012368798256,
0.04653514549136162,
-0.017079388722777367,
0.0071049523539841175,
-0.029538266360759735,
-0.07455158233642578,
0.006600730121135712,
0.03738580271601677,
-0.009396872483193874,
0.0054501863196492195,
0.04312476888298988,
-0.07928210496902466,
-0.00839301198720932,
-0.04041113704442978,
0.017867809161543846,
0.03813755139708519,
0.00037988575058989227,
-0.0013762980233877897,
-0.009882759302854538,
0.03938435763120651,
0.03652403876185417,
-0.03355371206998825,
0.05086229369044304,
0.02178240939974785,
0.05020222067832947,
-0.024477707222104073,
-0.022259129211306572,
0.021122336387634277,
0.022020768374204636,
0.028016431257128716,
0.011661290191113949,
0.006444879341870546,
-0.051118988543748856,
-0.04730523005127907,
-0.03795419633388519,
-0.02988663874566555,
0.036945752799510956,
0.016217626631259918,
-0.005198074970394373,
-0.0024386029690504074,
-0.033975426107645035,
-0.009855256415903568,
-0.0018873962108045816,
-0.0050101373344659805,
0.0025096526369452477,
-0.03650570288300514,
-0.047598596662282944,
0.019875532016158104,
0.028016431257128716,
-0.0073937345296144485,
-0.0420246496796608,
0.0232309028506279,
-0.006435711868107319,
0.06806086003780365,
0.02156238444149494,
0.023652615025639534,
-0.00802630465477705,
0.045251671224832535,
-0.034122105687856674,
-0.09329032152891159,
-0.009470214135944843,
-0.019912201911211014,
-0.05328255891799927,
-0.005546446889638901,
-0.005349341779947281,
-0.011798804625868797,
-0.017436929047107697,
0.02385430410504341,
0.08698295056819916,
-0.05082562193274498,
0.003838966367766261,
-0.06923432648181915,
-0.03529557213187218,
-0.02761305309832096,
0.042941417545080185,
-0.03430546075105667,
-0.03832090646028519,
0.009103506803512573,
-0.02764972485601902,
-0.05548280477523804,
-0.04426156356930733,
-0.06468715518712997,
-0.0022621252574026585,
0.040814515203237534,
-0.06472382694482803,
0.043014757335186005,
0.015612560324370861,
-0.0025898697786033154,
-0.01784030720591545,
0.011367923580110073,
-0.01839953474700451,
0.029794961214065552,
-0.019747184589505196,
-0.0013740061549469829,
0.032526928931474686,
-0.04334479570388794,
0.037624161690473557,
0.014576612040400505,
-0.006243190262466669,
0.01825285144150257,
-0.061313446611166,
0.03643236309289932,
-0.04283140227198601,
-0.018445372581481934,
-0.03890763595700264,
0.01227552443742752,
0.04393152520060539,
-0.010717018507421017,
0.0024569383822381496,
-0.00707286549732089,
-0.0074395728297531605,
0.060213327407836914,
-0.0284381452947855,
-0.04103453829884529,
0.0360473208129406,
-0.005587701220065355,
-0.051925741136074066,
0.031243454664945602,
-0.02832813374698162,
0.03736746683716774,
0.04734190180897713,
-0.0038916803896427155,
0.06817087531089783,
0.02401932328939438,
0.0025417394936084747,
-0.048368681222200394,
0.026696285232901573,
-0.03001498617231846,
-0.02755804732441902,
0.02090231142938137,
-0.027503041550517082,
0.02244248241186142,
0.014209904707968235,
0.0343237966299057,
0.009318947792053223,
-0.01088203676044941,
-0.04550836607813835,
0.036945752799510956,
-0.04264805093407631,
-0.0037472895346581936,
-0.00920893531292677,
-0.0451049879193306,
0.01646515354514122,
-0.024862749502062798,
-0.001720086089335382,
0.00636237021535635,
-0.04792863503098488,
-0.03610232472419739,
0.048955414444208145,
0.004620511084794998,
0.06358703225851059,
-0.016309304162859917,
0.012908094562590122,
-0.0008405616972595453,
0.0034012096002697945,
0.0091355936601758,
0.009910263121128082,
0.03507554531097412,
0.06571393460035324,
-0.027393030002713203,
0.011239576153457165,
-0.05174238979816437,
-0.019233793020248413,
-0.011157067492604256,
0.00036040443228557706,
0.07125121355056763,
-0.030968425795435905,
-0.03217855840921402,
0.07231466472148895,
-0.022002434358000755,
0.015355865471065044,
0.006793251261115074,
0.019600501284003258,
-0.015126672573387623,
-0.09417041391134262,
-0.05544613301753998,
-0.03338869288563728,
-0.003932935185730457,
-0.04789196327328682,
0.05955325439572334,
0.008672625757753849,
-0.006531972438097,
0.027081329375505447,
-0.014136563055217266,
-0.004439449403434992,
-0.00004257958062225953,
-0.018161175772547722,
-0.0028557325713336468,
-0.05672960728406906,
0.04499497637152672,
-0.014796636067330837,
0.0013316055992618203,
-0.014255743473768234,
0.03868761286139488,
-0.005486856680363417,
-0.028823187574744225,
-0.013898204080760479,
0.02691631019115448,
-0.04429823160171509,
-0.010982881300151348,
0.01872040331363678,
-0.044444914907217026,
0.03157349303364754,
0.026494596153497696,
0.014723295345902443,
0.09395039081573486,
0.006009414792060852,
-0.006958269514143467,
0.037844184786081314,
0.019655507057905197,
-0.031023431569337845,
-0.019160453230142593,
-0.044444914907217026,
-0.022020768374204636,
-0.0024821495171636343,
-0.034617163240909576,
-0.00009525792847853154,
0.010689515620470047,
0.035588935017585754,
-0.004260679706931114,
0.02236914075911045,
-0.005578533746302128,
-0.08969658613204956,
0.02235080488026142,
0.016923537477850914,
0.0027938506100326777,
-0.003064297139644623,
0.08698295056819916,
0.0013579627266153693,
0.015630895271897316,
0.02396431751549244,
0.02682463265955448,
-0.008585533127188683,
0.060910068452358246,
0.05969993770122528,
0.031023431569337845,
-0.051265668123960495,
-0.04719521850347519,
0.04033779352903366,
-0.0003074037958867848,
-0.003612066153436899,
-0.06824421137571335,
-0.023689286783337593,
-0.011532941833138466,
-0.016364309936761856,
0.015612560324370861,
-0.02924490161240101,
0.025614500045776367,
-0.04488496482372284,
-0.04411488026380539,
0.03417711332440376,
-0.03676239773631096,
-0.03206854686141014,
-0.03423212096095085,
-0.003288905369117856,
0.02304754965007305,
-0.04114454984664917,
-0.02766806073486805,
0.043711502104997635,
-0.04561837762594223,
0.0671074241399765,
0.028603162616491318,
0.022845860570669174,
0.05031223222613335,
0.03835757449269295,
-0.0057573034428060055,
-0.005234745796769857,
-0.02242414653301239,
-0.0010582940885797143,
0.013183124363422394,
-0.009598561562597752,
0.0071507906541228294,
-0.0009161951020359993,
-0.017941150814294815,
-0.020003879442811012,
0.018830416724085808,
0.013274801895022392,
-0.04734190180897713,
-0.005871899425983429,
0.015108337625861168,
-0.0031559739727526903,
0.04114454984664917,
0.00820507388561964,
0.035368911921978,
0.062340229749679565,
-0.03813755139708519,
-0.028823187574744225,
0.0539793036878109,
-0.05826977640390396,
-0.043088097125291824,
0.042904745787382126,
-0.004735107067972422,
0.0052714161574840546,
-0.004123164340853691,
-0.03975106403231621,
0.001740713370963931,
0.06362370401620865,
-0.10715185105800629,
0.07678849250078201,
-0.04789196327328682,
0.022754183039069176,
0.010011107660830021,
-0.048258669674396515,
0.0134031493216753,
0.002356093842536211,
-0.0017796759493649006,
0.04946880415081978,
-0.028676504269242287,
-0.03960438072681427,
-0.036927416920661926,
-0.012596393004059792,
0.02990497462451458,
-0.008498439565300941,
0.030180005356669426,
-0.002651751507073641,
0.0825091227889061,
0.040814515203237534,
-0.020755628123879433,
-0.005280584096908569,
-0.04554503783583641,
-0.03566227853298187,
0.05229245126247406,
0.0435648187994957,
0.028236456215381622,
0.0127247404307127,
0.001220447476953268,
0.03824756294488907,
-0.0713612288236618,
-0.0449216365814209,
-0.002670086920261383,
0.028621498495340347,
-0.00000796800395619357,
0.0015000617131590843,
0.04928544908761978,
-0.013073112815618515,
0.017785299569368362,
-0.020663952454924583,
-0.027301352471113205,
0.05896652117371559,
-0.003309532767161727,
-0.025064438581466675,
0.024184340611100197,
-0.017528604716062546,
0.041547928005456924,
-0.04272139072418213,
0.07722853869199753,
-0.04624178260564804,
-0.03942102566361427,
0.04547169432044029,
-0.013549831695854664,
-0.001595176407136023,
-0.012468045577406883,
0.011377091519534588,
-0.038394246250391006,
0.03832090646028519,
0.07744856923818588,
0.047598596662282944,
0.005578533746302128,
0.015850920230150223,
0.02924490161240101,
-0.028603162616491318,
-0.02469773218035698,
-0.030766736716032028,
0.012257188558578491,
0.01610761508345604,
0.030803406611084938,
-0.05599619448184967,
-0.01576841063797474,
0.016657676547765732,
-0.03289363905787468,
-0.013678179122507572,
-0.010891204699873924,
0.015236685052514076,
-0.0034974701702594757,
0.04921210929751396,
-0.08588283509016037,
-0.04114454984664917,
-0.02016889676451683,
-0.026567937806248665,
0.043601490557193756,
0.01934380643069744,
0.08038222044706345,
-0.06498052179813385,
0.08155568689107895,
-0.01122124120593071,
0.06179016828536987,
0.055592816323041916,
0.026696285232901573,
0.02020556852221489,
-0.02462439052760601,
-0.0209206473082304,
-0.007751273922622204,
0.054822731763124466,
0.022039104253053665,
-0.02466106042265892,
0.007531249430030584,
0.03645069897174835,
0.021214012056589127,
0.048185329884290695,
0.013448987156152725,
0.005294335540384054,
-0.0036006064619868994,
0.013045609928667545,
-0.012183847837150097,
0.04209798946976662,
0.07348813116550446,
0.014008215628564358,
-0.016510993242263794,
-0.007989633828401566,
-0.011707128025591373,
0.05665626749396324,
0.051229000091552734,
0.02601787820458412,
0.0017601946601644158,
-0.10370480269193649,
-0.014429929666221142,
-0.0640270784497261,
-0.08998995274305344,
-0.01761111430823803,
0.08654290437698364,
0.039971087127923965,
0.03276529163122177,
0.05005553737282753,
-0.031115107238292694,
-0.032600272446870804,
0.0021773241460323334,
-0.03232524171471596,
-0.06608064472675323,
0.017317749559879303,
-0.032435253262519836,
0.011001217179000378,
0.07337811589241028,
-0.07213131338357925,
0.024166006594896317,
0.024917755275964737,
-0.06432044506072998,
0.06138679012656212,
0.00972690898925066,
-0.02920822985470295,
-0.0539793036878109,
0.01845454052090645,
-0.000677262432873249,
-0.0007511768490076065,
-0.02158072032034397,
-0.025614500045776367,
0.01685936376452446,
0.015557553619146347,
-0.025192786008119583,
0.030803406611084938,
-0.02832813374698162,
-0.03443380817770958,
0.048882074654102325,
0.04913876950740814,
-0.06307364255189896,
0.020040549337863922,
-0.030968425795435905,
0.00234692613594234,
0.06454046815633774,
0.018463708460330963,
0.06527388840913773,
-0.002420267788693309,
0.0070270271971821785,
0.028859859332442284,
0.06002997234463692,
-0.029538266360759735,
0.03379207104444504,
0.02849315106868744,
0.0182711873203516,
-0.023762628436088562,
0.031005095690488815,
0.005674794316291809,
-0.02251582406461239,
0.07418487221002579,
-0.027062993496656418,
-0.008640538901090622,
0.006435711868107319,
0.08104229718446732,
-0.029006540775299072,
0.017867809161543846,
-0.02836480364203453,
-0.043821513652801514,
-0.02849315106868744,
0.04026445373892784,
0.049835510551929474,
0.03511221706867218,
0.005775638855993748,
-0.07928210496902466,
0.031885191798210144,
0.02528446353971958,
-0.000857178121805191,
0.0022414978593587875,
0.024074329063296318,
0.007137039210647345,
0.016923537477850914,
-0.05826977640390396,
0.044591598212718964,
0.008489272557199001,
0.018436206504702568,
0.008498439565300941,
0.03516722097992897,
-0.0464618057012558,
-0.01013945508748293,
0.02990497462451458,
-0.028658170253038406,
0.06622732430696487,
-0.0009815148077905178,
0.005500608589500189,
0.042281344532966614,
0.00422400888055563,
-0.04264805093407631,
-0.011129564605653286,
-0.04723189026117325,
0.01866539753973484,
-0.044371575117111206,
0.017207736149430275,
0.01610761508345604,
0.04506831616163254,
0.025302797555923462,
-0.03509388118982315,
-0.020718958228826523,
-0.03613899648189545,
0.0036441530101001263,
-0.01421907264739275,
0.011450433172285557,
0.057169657200574875,
-0.027264682576060295,
0.04642513394355774,
-0.01684102974832058,
-0.0088422279804945,
0.0014198445715010166,
0.03201353922486305,
-0.02238747663795948,
0.043748170137405396,
-0.043601490557193756,
-0.007920876145362854,
-0.052769169211387634,
0.028529822826385498,
0.02387263998389244,
0.017528604716062546,
0.03155515715479851,
-0.005395180080085993,
0.05027556046843529,
-0.03219689428806305,
-0.014255743473768234,
-0.030876748263835907,
0.025266127660870552,
-0.03386541083455086,
-0.06545723974704742,
0.03129846230149269,
-0.017757797613739967,
-0.020462263375520706,
0.014631617814302444,
0.0418412946164608,
-0.0029817880131304264,
-0.026402920484542847,
0.05614287778735161,
0.05203575640916824,
-0.05526277795433998,
-0.04858870804309845,
-0.023414256051182747,
0.029648279771208763,
0.045178331434726715,
-0.028969870880246162,
0.016235962510108948,
0.023524267598986626,
-0.05848980322480202,
-0.012871423736214638,
0.04261137917637825,
-0.015970099717378616,
-0.05991996079683304,
0.011496271938085556,
-0.01350399386137724,
0.011532941833138466,
-0.01642848365008831,
-0.0019297967664897442,
0.00030367940780706704,
-0.01823451742529869,
-0.006829922087490559,
-0.043821513652801514,
0.010056945495307446,
0.0007190899341367185,
0.0025188203435391188,
-0.03736746683716774,
-0.006531972438097,
0.03300365060567856,
-0.02753971330821514,
0.04638846218585968,
0.017262741923332214,
-0.034855522215366364,
0.028071438893675804,
0.0195638295263052,
0.007159958593547344,
0.017711959779262543,
0.09651733934879303,
-0.003838966367766261,
-0.04191463440656662,
0.005537278950214386,
0.008003384806215763,
0.02994164451956749,
0.0736348107457161,
0.014200737699866295,
0.06490717828273773,
0.03139013797044754,
-0.05753636360168457,
0.03362705186009407,
0.015502547845244408,
0.019875532016158104,
-0.009653567336499691,
0.02013222686946392,
-0.07642178237438202,
-0.013348142616450787,
0.03441547229886055,
0.017721125856041908,
-0.05815976485610008,
0.007457908242940903,
0.017785299569368362,
-0.028988206759095192,
-0.0007110682199709117,
0.031078437343239784,
-0.0033255761954933405,
-0.020040549337863922,
-0.012266356498003006,
0.034122105687856674,
-0.01564006321132183,
-0.03437880054116249,
-0.02981329709291458,
0.02478940784931183,
0.1056850254535675,
-0.026366248726844788,
0.09505051374435425,
0.012843920849263668,
0.004881789907813072,
0.016025105491280556,
-0.03967772051692009,
-0.051962412893772125,
-0.020682288333773613,
0.03443380817770958,
-0.01830785907804966,
-0.00975441187620163,
-0.09233687818050385,
-0.03956770896911621,
-0.014796636067330837,
-0.021140672266483307,
0.021342361345887184,
-0.004945963621139526,
-0.017473598942160606,
-0.011294582858681679,
0.03679906949400902,
-0.005156820174306631
] |
719,731
|
ibm_platform_services.iam_identity_v1
|
list_profiles
|
List trusted profiles.
List the trusted profiles in an account. The `account_id` query parameter
determines the account from which to retrieve the list of trusted profiles.
:param str account_id: Account ID to query for trusted profiles.
:param str name: (optional) Name of the trusted profile to query.
:param int pagesize: (optional) Optional size of a single page. Default is
20 items per page. Valid range is 1 to 100.
:param str sort: (optional) Optional sort property, valid values are name,
description, created_at and modified_at. If specified, the items are sorted
by the value of this property.
:param str order: (optional) Optional sort order, valid values are asc and
desc. Default: asc.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfilesList` object
|
def list_profiles(
self,
account_id: str,
*,
name: Optional[str] = None,
pagesize: Optional[int] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[bool] = None,
pagetoken: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
List trusted profiles.
List the trusted profiles in an account. The `account_id` query parameter
determines the account from which to retrieve the list of trusted profiles.
:param str account_id: Account ID to query for trusted profiles.
:param str name: (optional) Name of the trusted profile to query.
:param int pagesize: (optional) Optional size of a single page. Default is
20 items per page. Valid range is 1 to 100.
:param str sort: (optional) Optional sort property, valid values are name,
description, created_at and modified_at. If specified, the items are sorted
by the value of this property.
:param str order: (optional) Optional sort order, valid values are asc and
desc. Default: asc.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfilesList` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_profiles',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'name': name,
'pagesize': pagesize,
'sort': sort,
'order': order,
'include_history': include_history,
'pagetoken': pagetoken,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/profiles'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, name: Optional[str] = None, pagesize: Optional[int] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[bool] = None, pagetoken: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.09856131672859192,
-0.03550667688250542,
-0.04100508615374565,
-0.038507506251335144,
-0.027790267020463943,
0.04622391611337662,
-0.01808883436024189,
-0.07347366213798523,
-0.01842433214187622,
0.00856913160532713,
-0.0023438134230673313,
0.019831551238894463,
-0.017995642498135567,
-0.006267254706472158,
-0.008606408722698689,
0.004897312261164188,
0.03681138530373573,
0.01754831336438656,
0.05211373791098595,
-0.008364105597138405,
0.029150890186429024,
0.07030508667230606,
0.02065165340900421,
-0.03271087631583214,
0.03824656456708908,
-0.043651778250932693,
0.059569209814071655,
-0.028796754777431488,
-0.000570809468626976,
0.08842188119888306,
0.0009662988595664501,
0.07444287091493607,
0.006421023979783058,
0.03576761856675148,
-0.022944210097193718,
-0.009626876562833786,
-0.0068077766336500645,
0.023764312267303467,
-0.04230979457497597,
0.015535336919128895,
-0.033158205449581146,
0.010363103821873665,
0.05751895532011986,
0.017212817445397377,
-0.011938071809709072,
-0.004976526368409395,
-0.015609891153872013,
-0.008494576439261436,
-0.050585366785526276,
-0.003664829768240452,
-0.0059503973461687565,
0.03610311448574066,
-0.034425634890794754,
-0.011695769615471363,
0.021658141165971756,
-0.09110584855079651,
-0.07962442189455032,
-0.08238294720649719,
-0.01734328828752041,
0.0502871498465538,
0.054163992404937744,
-0.06169401854276657,
0.01998066157102585,
-0.027622519060969353,
-0.009738707914948463,
-0.037855152040719986,
0.021415838971734047,
-0.015246436931192875,
-0.07324999570846558,
-0.033736005425453186,
0.03757557272911072,
0.005395896732807159,
0.005852544214576483,
0.0061647421680390835,
0.009887817315757275,
-0.00871824100613594,
0.04208613187074661,
-0.05230012536048889,
-0.06695012748241425,
0.02279510162770748,
-0.01242267806082964,
0.00015566207002848387,
-0.022851016372442245,
0.013168225064873695,
-0.0039211115799844265,
0.051405470818281174,
0.025367237627506256,
-0.10415292531251907,
-0.013895133510231972,
0.03341914713382721,
-0.011956710368394852,
0.03366144746541977,
-0.0014712904812768102,
-0.0031452765688300133,
0.042831677943468094,
0.012199013493955135,
0.01330801472067833,
-0.010810432024300098,
-0.044658269733190536,
0.010046246461570263,
-0.04484465345740318,
-0.03943943977355957,
-0.037724681198596954,
-0.0251435749232769,
0.07093880325555801,
-0.0002763766096904874,
0.020819401368498802,
0.03677411004900932,
0.03144344687461853,
0.08424681425094604,
-0.011136609129607677,
-0.03984948992729187,
0.028871309012174606,
0.008979182690382004,
0.051032695919275284,
-0.013335973024368286,
0.03804153949022293,
0.013177543878555298,
0.0066493479534983635,
-0.022645991295576096,
0.023354262113571167,
0.008289551362395287,
0.010158078745007515,
-0.03287862613797188,
-0.0844704806804657,
0.0020712229888886213,
0.02311195805668831,
-0.0070361001417040825,
0.005885161925107241,
0.009673473425209522,
-0.038880277425050735,
-0.005722073372453451,
-0.03177894279360771,
-0.021583586931228638,
0.08111552149057388,
0.016625698655843735,
-0.018023600801825523,
0.017688103020191193,
0.042347073554992676,
0.03515254333615303,
-0.05464860051870346,
0.016392715275287628,
0.03614039346575737,
0.01973835751414299,
-0.03429516404867172,
-0.043204452842473984,
0.04536653682589531,
-0.027137912809848785,
-0.0036019242834299803,
0.011583937332034111,
-0.011751685291528702,
0.0011346293613314629,
-0.01694255694746971,
-0.02406253106892109,
-0.05628880113363266,
0.00010608027514535934,
0.029411831870675087,
-0.029635494574904442,
-0.009487085975706577,
0.0056335399858653545,
-0.012189694680273533,
-0.004641030449420214,
0.023522010073065758,
-0.05949465557932854,
-0.028647644445300102,
-0.08096641302108765,
-0.00404692254960537,
0.034146055579185486,
-0.014314503408968449,
-0.028032569214701653,
0.03228218853473663,
-0.04223524034023285,
0.06053841859102249,
0.04387544468045235,
-0.017278052866458893,
-0.017790615558624268,
0.020055215805768967,
-0.05211373791098595,
-0.06549631059169769,
-0.00939855258911848,
-0.01820998638868332,
-0.07634402066469193,
0.016868002712726593,
-0.034928880631923676,
-0.009132951498031616,
-0.006215998437255621,
0.017324648797512054,
0.06404249370098114,
0.03386647626757622,
0.02538587711751461,
-0.03066062182188034,
-0.0391412191092968,
-0.008867350406944752,
-0.016327479854226112,
-0.03310228884220123,
-0.03446291387081146,
0.020297518000006676,
-0.01932830736041069,
-0.018070196732878685,
-0.06795661151409149,
-0.037855152040719986,
-0.004501240327954292,
0.0362708643078804,
-0.04957887902855873,
0.016252925619482994,
0.012804770842194557,
-0.035954006016254425,
-0.03505935147404671,
0.0675838366150856,
-0.012767492793500423,
0.014044242911040783,
-0.01936558447778225,
-0.005768670234829187,
0.05587875097990036,
-0.030884286388754845,
0.0337919183075428,
-0.0016064209630712867,
-0.026150062680244446,
0.0618058517575264,
-0.031872134655714035,
0.0725417286157608,
-0.05517048016190529,
-0.03328867629170418,
-0.03491023927927017,
-0.008308189921081066,
0.05751895532011986,
-0.010726558044552803,
-0.030641984194517136,
0.0185454823076725,
-0.03032512590289116,
0.05505865067243576,
-0.04152696952223778,
-0.057258013635873795,
0.006341809406876564,
-0.014500889927148819,
0.008252274245023727,
0.007138613145798445,
-0.020167047157883644,
-0.003741714172065258,
0.038432952016592026,
0.013242779299616814,
0.054536767303943634,
0.00035675591789186,
0.022534159943461418,
-0.05986742675304413,
-0.02221730165183544,
-0.019458778202533722,
-0.025889120995998383,
-0.02456577494740486,
-0.03753829374909401,
-0.006640028208494186,
0.015526017174124718,
0.0306978989392519,
0.031667109578847885,
0.008140441961586475,
-0.0062346369959414005,
-0.015246436931192875,
-0.06791933625936508,
-0.01046561636030674,
0.005395896732807159,
-0.014901621267199516,
-0.02847989648580551,
-0.013335973024368286,
-0.012618383392691612,
-0.012273568660020828,
-0.03062334470450878,
-0.028796754777431488,
0.03196533024311066,
0.005018463358283043,
0.025031741708517075,
0.029001779854297638,
-0.0050231232307851315,
-0.01784653216600418,
0.011481424793601036,
-0.020502543076872826,
0.0048926523886621,
0.0234847329556942,
0.07261627912521362,
-0.052188292145729065,
0.03779923543334007,
-0.012199013493955135,
-0.04134058207273483,
-0.0449192114174366,
-0.016961194574832916,
0.04417366161942482,
-0.04309261962771416,
-0.01444497425109148,
0.06892582774162292,
-0.0638561025261879,
0.0224596057087183,
0.05073447525501251,
0.008653005585074425,
-0.03161119669675827,
-0.08305393904447556,
-0.022068193182349205,
-0.006733221933245659,
-0.02311195805668831,
0.013382569886744022,
0.026671946048736572,
-0.00066982745192945,
-0.02624325640499592,
0.05587875097990036,
0.030940202996134758,
-0.023428816348314285,
-0.0022983818780630827,
-0.0696340948343277,
-0.010838390327990055,
-0.05345572158694267,
-0.007744370028376579,
0.01260906457901001,
-0.015507378615438938,
-0.010829070582985878,
0.003084701020270586,
0.032617684453725815,
-0.012357442639768124,
-0.050585366785526276,
0.04503104090690613,
-0.039290331304073334,
0.0008521369891241193,
0.04559020325541496,
-0.01977563463151455,
-0.016989152878522873,
0.0383211188018322,
-0.012180374935269356,
0.10966996848583221,
-0.011183205991983414,
-0.006677305791527033,
0.07280267030000687,
0.003205852350220084,
-0.00941719114780426,
-0.05781717225909233,
-0.01425858773291111,
-0.02150903269648552,
-0.0022611042950302362,
-0.029206804931163788,
-0.008187038823962212,
-0.0003325838770251721,
0.06900037825107574,
0.013587594963610172,
0.04335356131196022,
-0.0011381241492927074,
-0.06557086110115051,
0.009361275471746922,
0.01077315490692854,
0.02331698313355446,
0.031294338405132294,
0.09647379070520401,
0.029188167303800583,
0.025646818801760674,
-0.0037347248289734125,
0.03325139731168747,
-0.03977493569254875,
0.03977493569254875,
0.058078113943338394,
0.035954006016254425,
-0.03662499785423279,
-0.030586067587137222,
0.02208683080971241,
-0.00656081410124898,
-0.010586768388748169,
-0.05662429705262184,
-0.015665806829929352,
-0.004680637735873461,
-0.010624045506119728,
0.043651778250932693,
-0.05196462944149971,
0.016122454777359962,
-0.035786259919404984,
-0.046298470348119736,
0.024342110380530357,
-0.04189974442124367,
-0.04264529049396515,
-0.0597555972635746,
-0.020782124251127243,
0.03386647626757622,
-0.02810712344944477,
0.0171009860932827,
0.05990470573306084,
-0.007311020977795124,
0.07283994555473328,
0.010763835161924362,
0.04760317876935005,
0.030772455036640167,
0.03869389370083809,
-0.0013070371933281422,
0.010521532967686653,
-0.03217035531997681,
-0.007297041825950146,
0.003790640737861395,
-0.025702735409140587,
-0.012487913481891155,
0.02501310408115387,
-0.029654134064912796,
-0.025441793724894524,
0.015470101498067379,
0.02044662833213806,
-0.018843701109290123,
-0.006360448431223631,
-0.048572391271591187,
-0.02204955369234085,
-0.0032943859696388245,
-0.0052933841943740845,
0.028200317174196243,
0.07481564581394196,
-0.054536767303943634,
-0.04726768285036087,
0.038134731352329254,
-0.009971692226827145,
-0.05118180438876152,
0.04622391611337662,
0.002310030860826373,
-0.034593384712934494,
-0.014221309684216976,
0.009710750542581081,
0.03766876459121704,
0.07298905402421951,
-0.024901270866394043,
0.025889120995998383,
-0.04447188228368759,
0.010987499728798866,
0.0032617682591080666,
-0.04600025340914726,
-0.04380089044570923,
0.03703504800796509,
-0.018200667575001717,
0.04782684147357941,
0.010614725761115551,
0.040073152631521225,
0.019384223967790604,
-0.04443460330367088,
0.09296971559524536,
-0.0016436983132734895,
0.043614502996206284,
-0.019962022081017494,
0.03800426051020622,
0.033158205449581146,
-0.018405692651867867,
0.003166245063766837,
-0.025702735409140587,
-0.04503104090690613,
0.013401208445429802,
0.033978305757045746,
-0.0011422013631090522,
0.016299521550536156,
0.036531805992126465,
0.0232797060161829,
-0.032617684453725815,
-0.03640133515000343,
-0.005582283716648817,
-0.011984668672084808,
-0.002283237874507904,
0.001004741177894175,
0.028461258858442307,
-0.04413638636469841,
0.029001779854297638,
-0.011528021655976772,
-0.013811259530484676,
0.053716663271188736,
-0.004128466825932264,
-0.01623428612947464,
0.020372072234749794,
-0.041974298655986786,
0.04309261962771416,
-0.013354611583054066,
0.08998753130435944,
0.0032990456093102694,
-0.010745196603238583,
0.03811609372496605,
-0.03491023927927017,
-0.05986742675304413,
0.009296040050685406,
0.038134731352329254,
-0.024081170558929443,
0.03828383982181549,
0.07563574612140656,
0.06012836843729019,
-0.01693323813378811,
-0.021453116089105606,
0.0028284192085266113,
-0.028610367327928543,
-0.024901270866394043,
-0.013671468943357468,
0.02868492342531681,
-0.0026466920971870422,
0.04797595366835594,
-0.06143307685852051,
0.000982607714831829,
0.03004554659128189,
-0.018163390457630157,
0.002165581099689007,
-0.00025060283951461315,
-0.016327479854226112,
-0.03008282370865345,
0.03589808940887451,
-0.08596157282590866,
-0.03779923543334007,
0.011695769615471363,
-0.04607480764389038,
0.031219782307744026,
-0.0023904102854430676,
0.04797595366835594,
-0.0877508893609047,
0.11220482736825943,
0.0006249780999496579,
0.022944210097193718,
0.08320304751396179,
-0.020129770040512085,
0.07537480443716049,
-0.02415572479367256,
0.007837563753128052,
-0.022366411983966827,
0.03313956782221794,
-0.014417015947401524,
-0.05859999731183052,
0.022161386907100677,
0.005414535291492939,
0.0032291505485773087,
0.054462213069200516,
-0.047528624534606934,
-0.03138753026723862,
-0.017483077943325043,
0.024901270866394043,
0.02538587711751461,
0.06340877711772919,
0.05703435093164444,
0.04145241528749466,
-0.035133905708789825,
0.008233635686337948,
0.03766876459121704,
0.002695618662983179,
0.04443460330367088,
0.024286195635795593,
-0.030548790469765663,
-0.09975419193506241,
0.0050231232307851315,
-0.0457393117249012,
-0.09647379070520401,
-0.01262770313769579,
0.045552924275398254,
0.03386647626757622,
0.06176857277750969,
0.02484535612165928,
-0.03977493569254875,
-0.010642684064805508,
-0.05379122123122215,
-0.026261894032359123,
-0.06288689374923706,
0.024118447676301003,
-0.003017135662958026,
-0.01162121444940567,
0.06575725227594376,
-0.056773409247398376,
0.029598217457532883,
0.009897137060761452,
-0.01714758202433586,
0.022347772493958473,
-0.003599594347178936,
-0.08476869761943817,
-0.06314783543348312,
-0.014910941012203693,
-0.004510559607297182,
0.02201227657496929,
-0.01283272821456194,
-0.028945865109562874,
0.019850190728902817,
0.037892427295446396,
-0.0014293534914031625,
0.0337919183075428,
0.0076232184655964375,
-0.07399554550647736,
0.05695979297161102,
0.07865521311759949,
-0.06176857277750969,
0.055282313376665115,
-0.036494527012109756,
-0.018769146874547005,
0.0766422376036644,
0.03015737794339657,
0.05185279622673988,
-0.0035110607277601957,
-0.0228696558624506,
-0.007073377724736929,
0.04853511229157448,
-0.022645991295576096,
0.007040760014206171,
-0.023801589384675026,
-0.0032780771143734455,
-0.005176892504096031,
0.043539948761463165,
-0.014603402465581894,
-0.02780890464782715,
0.012226971797645092,
-0.026895610615611076,
-0.015544655732810497,
0.005945737939327955,
0.05468587577342987,
-0.04652213677763939,
-0.005260766483843327,
-0.019020769745111465,
-0.023130597546696663,
-0.0044196960516273975,
-0.028051206842064857,
0.05502137169241905,
0.02409980818629265,
-0.022142747417092323,
-0.044770099222660065,
0.020838040858507156,
0.022534159943461418,
0.018275221809744835,
-0.006928927730768919,
0.029616856947541237,
0.042458903044462204,
0.015768319368362427,
-0.060762085020542145,
0.013960368931293488,
-0.01697983406484127,
0.0134944012388587,
0.022645991295576096,
0.03696049377322197,
0.008065886795520782,
0.04846055805683136,
0.010148759000003338,
-0.03906666487455368,
0.09513180702924728,
-0.016914598643779755,
-0.022105470299720764,
0.03880572319030762,
-0.0012627702672034502,
-0.03880572319030762,
-0.03600992262363434,
0.006225317716598511,
0.015609891153872013,
-0.03800426051020622,
-0.04178791120648384,
0.026970164850354195,
0.016327479854226112,
0.02691424824297428,
-0.015293033793568611,
-0.04439732804894447,
-0.030343765392899513,
-0.023596564307808876,
0.022515520453453064,
-0.003769672242924571,
0.07153523713350296,
-0.011956710368394852,
-0.0015819576801732183,
-0.0762321874499321,
-0.012748854234814644,
0.020744847133755684,
0.017166221514344215,
-0.030884286388754845,
0.011425508186221123,
-0.004668988287448883,
0.031182505190372467,
-0.02398797683417797,
0.021415838971734047,
0.012273568660020828,
0.006113485898822546,
-0.0097853047773242,
0.01110865082591772,
0.01643931306898594,
-0.041601523756980896,
-0.00921216607093811,
-0.0160758588463068,
0.06829211115837097,
-0.019831551238894463,
-0.04294351115822792,
0.029933713376522064,
-0.0000996004237094894,
-0.047901399433612823,
0.012357442639768124,
0.08827277272939682,
0.011267079971730709,
-0.028498535975813866,
0.04991437494754791,
0.0075719621963799,
-0.03546940162777901,
-0.0469694659113884,
0.01598266512155533,
0.007227146532386541,
0.027864821255207062,
-0.053753942251205444,
0.029691411182284355,
0.015153244137763977,
-0.014901621267199516,
-0.0010175552451983094,
0.023130597546696663,
-0.029970990493893623,
-0.06396793574094772,
0.05278472974896431,
-0.0002252658741781488,
-0.022962849587202072,
0.002490593120455742,
-0.005656838417053223,
0.008028609678149223,
0.009664153680205345,
0.0029705390334129333,
-0.059233713895082474,
0.04137786105275154,
-0.003413207596167922,
-0.003408547956496477,
-0.026560112833976746,
0.01211513951420784,
0.011844879016280174,
-0.0064489818178117275,
0.0651235356926918,
0.0306978989392519,
-0.03835839405655861,
0.0391412191092968,
0.011015458032488823,
-0.043577224016189575,
0.019850190728902817,
0.051927350461483,
-0.022739185020327568,
-0.027100635692477226,
0.0017706742510199547,
0.04424821585416794,
-0.008932585828006268,
0.021788612008094788,
0.03984948992729187,
0.08789999783039093,
0.02221730165183544,
-0.010102162137627602,
0.026765139773488045,
-0.03250585123896599,
0.03252448886632919,
0.02847989648580551,
-0.007157251704484224,
-0.03334459289908409,
0.01095954142510891,
0.0543876588344574,
0.01764150708913803,
-0.0050930180586874485,
0.03804153949022293,
0.006085527595132589,
-0.0033619513269513845,
0.026094146072864532,
-0.013792620040476322,
0.003599594347178936,
-0.028871309012174606,
0.0018999800086021423,
0.014398377388715744,
0.03246857225894928,
-0.016457950696349144,
-0.046708524227142334,
0.002457975409924984,
0.0795498713850975,
-0.01743648201227188,
0.07373460382223129,
0.04801322892308235,
0.050622645765542984,
-0.0016203998820856214,
-0.030269209295511246,
-0.04227251932024956,
0.013140266761183739,
0.03725871443748474,
-0.026802416890859604,
-0.007926097139716148,
-0.04570203274488449,
-0.045515649020671844,
-0.027641156688332558,
0.02868492342531681,
0.019999299198389053,
-0.030586067587137222,
0.0075766220688819885,
0.0007647681632079184,
0.03910394385457039,
-0.019058046862483025
] |
719,732
|
ibm_platform_services.iam_identity_v1
|
list_service_ids
|
List service IDs.
Returns a list of service IDs. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. Note: apikey details are only included in the response when creating a Service
ID with an api key.
:param str account_id: (optional) Account ID of the service ID(s) to query.
This parameter is required (unless using a pagetoken).
:param str name: (optional) Name of the service ID(s) to query. Optional.20
items per page. Valid range is 1 to 100.
:param int pagesize: (optional) Optional size of a single page. Default is
20 items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property, valid values are name,
description, created_at and modified_at. If specified, the items are sorted
by the value of this property.
:param str order: (optional) Optional sort order, valid values are asc and
desc. Default: asc.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ServiceIdList` object
|
def list_service_ids(
self,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
pagesize: Optional[int] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
List service IDs.
Returns a list of service IDs. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. Note: apikey details are only included in the response when creating a Service
ID with an api key.
:param str account_id: (optional) Account ID of the service ID(s) to query.
This parameter is required (unless using a pagetoken).
:param str name: (optional) Name of the service ID(s) to query. Optional.20
items per page. Valid range is 1 to 100.
:param int pagesize: (optional) Optional size of a single page. Default is
20 items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property, valid values are name,
description, created_at and modified_at. If specified, the items are sorted
by the value of this property.
:param str order: (optional) Optional sort order, valid values are asc and
desc. Default: asc.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ServiceIdList` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_service_ids',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'name': name,
'pagesize': pagesize,
'pagetoken': pagetoken,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/serviceids/'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, name: Optional[str] = None, pagesize: Optional[int] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0429580919444561,
-0.07613925635814667,
-0.032860297709703445,
-0.04065541923046112,
-0.017137939110398293,
0.03550271317362785,
-0.0419011265039444,
-0.04439254477620125,
-0.03363414853811264,
0.023328736424446106,
-0.002170553896576166,
-0.03716365993022919,
0.01652452163398266,
-0.07089217752218246,
0.01655283384025097,
0.054811205714941025,
0.02910429611802101,
0.01189086027443409,
-0.0007632328197360039,
-0.05613241344690323,
0.03459674119949341,
0.06953322142362595,
-0.0006889149663038552,
-0.059869538992643356,
0.056962884962558746,
0.012155101634562016,
0.029934769496321678,
-0.01959160901606083,
-0.022252896800637245,
0.019950222223997116,
-0.0018461504951119423,
0.04903564602136612,
0.006974084302783012,
0.005884088575839996,
-0.04612898826599121,
-0.02438570186495781,
0.02202640287578106,
0.01959160901606083,
-0.024668816477060318,
0.03216194733977318,
0.000379846926080063,
-0.007464818190783262,
0.09021954238414764,
0.004968680907040834,
-0.028613563627004623,
0.0165056474506855,
-0.016430148854851723,
-0.00805464293807745,
0.0027650969568639994,
0.025084054097533226,
0.0010917650070041418,
-0.003432778175920248,
-0.03227519243955612,
-0.05518869310617447,
0.02532942034304142,
-0.007950833067297935,
-0.016939757391810417,
-0.025480415672063828,
-0.019950222223997116,
-0.007776245474815369,
0.014382279478013515,
-0.005350887309759855,
0.04665747284889221,
-0.01844027079641819,
-0.007837587036192417,
0.015014571137726307,
0.0033690771088004112,
0.0020655652042478323,
-0.08493471890687943,
0.03465336561203003,
0.03397388756275177,
0.006049239542335272,
0.0001386824733344838,
0.020856192335486412,
0.009361693635582924,
0.016902009025216103,
0.07028819620609283,
-0.02795295976102352,
-0.03219969570636749,
-0.0022024044301360846,
-0.008823773823678493,
-0.00815845187753439,
0.01938399113714695,
0.016930321231484413,
0.020724071189761162,
0.07036369293928146,
0.006101144012063742,
0.00861615501344204,
0.0035884918179363012,
0.03216194733977318,
-0.003607366234064102,
0.046166736632585526,
-0.03716365993022919,
-0.004864871967583895,
-0.021497922018170357,
-0.00205022981390357,
0.0014816389884799719,
-0.010984890162944794,
-0.034143757075071335,
0.04816742241382599,
-0.04250510782003403,
-0.06058676540851593,
-0.014514399692416191,
-0.01587335579097271,
0.040504422038793564,
-0.09746731072664261,
-0.03304904326796532,
0.0012952544493600726,
0.06519211828708649,
0.01652452163398266,
0.0022389735095202923,
0.04707270860671997,
0.029217543080449104,
-0.03233181685209274,
-0.019742604345083237,
0.02666950225830078,
0.05979404225945473,
-0.011645494028925896,
-0.028896678239107132,
0.005860495381057262,
-0.035823576152324677,
-0.011032076552510262,
0.037654392421245575,
-0.016930321231484413,
-0.042580604553222656,
-0.03550271317362785,
-0.02127142809331417,
0.04208987206220627,
0.06292718648910522,
-0.007578064221888781,
-0.00954571831971407,
-0.009394723922014236,
0.04156138747930527,
-0.011560559272766113,
0.0919559895992279,
-0.01621309481561184,
0.0010746601037681103,
0.0466197244822979,
-0.01849689520895481,
0.0605112686753273,
-0.00611058110371232,
0.029274165630340576,
-0.019761478528380394,
0.04148589074611664,
-0.025386042892932892,
-0.014967384748160839,
0.047034960240125656,
0.0069363354705274105,
-0.029802648350596428,
0.023536354303359985,
-0.04046667367219925,
-0.021328052505850792,
-0.030840739607810974,
-0.015684612095355988,
-0.07357233762741089,
-0.03514409810304642,
0.029632778838276863,
-0.01431621890515089,
0.030972860753536224,
-0.037107035517692566,
0.020101217553019524,
0.026046646758913994,
0.0398249477148056,
-0.040881913155317307,
-0.03236956521868706,
-0.0353517159819603,
-0.05828409269452095,
0.012211725115776062,
-0.007936677895486355,
-0.04986611753702164,
0.033332157880067825,
0.01849689520895481,
0.04091966152191162,
-0.036408681422472,
-0.05288601666688919,
-0.03669179975986481,
0.06058676540851593,
-0.027179110795259476,
-0.03263380751013756,
0.057982102036476135,
0.008535939268767834,
-0.021573418751358986,
0.013315876945853233,
-0.04439254477620125,
0.010211040265858173,
0.0026306170038878918,
0.023139992728829384,
0.028745682910084724,
-0.008115984499454498,
-0.01626971736550331,
-0.03465336561203003,
-0.015307123772799969,
0.03412488102912903,
-0.008583125658333302,
-0.08138633519411087,
0.04597799479961395,
-0.022668132558465004,
-0.07259087264537811,
-0.027726467698812485,
-0.0710054263472557,
0.012287222780287266,
0.016156470403075218,
0.05662314593791962,
-0.0020997750107198954,
0.03119935281574726,
-0.012079604901373386,
-0.007021270226687193,
-0.07659224420785904,
0.02951953373849392,
-0.02438570186495781,
-0.009635372087359428,
-0.05956754833459854,
-0.022951249033212662,
0.038598112761974335,
0.0011825979454442859,
0.057453617453575134,
0.038541488349437714,
-0.0235741026699543,
0.06545635312795639,
-0.03971169888973236,
0.04039117693901062,
-0.03571033105254173,
-0.015552490949630737,
-0.04503427445888519,
-0.004912057891488075,
0.017949536442756653,
-0.0018142999615520239,
-0.018204340711236,
0.010494156740605831,
-0.013787736184895039,
0.014542710967361927,
-0.023328736424446106,
-0.043788567185401917,
0.016769887879490852,
-0.04627998545765877,
-0.08417974412441254,
0.020912814885377884,
-0.05065884068608284,
0.03865473344922066,
0.03129372373223305,
0.009541000239551067,
0.10207265615463257,
0.03382289409637451,
0.016099847853183746,
-0.02844369411468506,
-0.026027772575616837,
-0.051640309393405914,
0.03518184646964073,
-0.018827196210622787,
-0.023253237828612328,
-0.01559967640787363,
-0.05647215247154236,
0.017543738707900047,
-0.012711896561086178,
0.000624034262727946,
-0.06666431576013565,
-0.07379883527755737,
-0.004659613128751516,
-0.04016468673944473,
0.02802845649421215,
-0.029349664226174355,
0.0018862586002796888,
-0.03438912332057953,
-0.013278127647936344,
0.012409905903041363,
0.01932736672461033,
0.0076299686916172504,
0.01817603036761284,
0.026461884379386902,
0.02249826304614544,
0.062172215431928635,
-0.016533957794308662,
0.012164539657533169,
-0.00817260704934597,
0.0031024764757603407,
0.030821865424513817,
0.029160920530557632,
-0.017779666930437088,
-0.09965673834085464,
0.03382289409637451,
-0.006016209255903959,
-0.026178767904639244,
-0.01256090123206377,
-0.011268005706369877,
0.0919559895992279,
-0.016854822635650635,
0.02491418458521366,
0.05013035982847214,
-0.06572059541940689,
0.03093511238694191,
0.0557926744222641,
0.029349664226174355,
-0.010220478288829327,
-0.07836643606424332,
-0.06368216127157211,
0.02493305876851082,
-0.037711016833782196,
-0.047789935022592545,
0.0015264656394720078,
-0.008828491903841496,
-0.019836975261569023,
0.06953322142362595,
-0.02344198152422905,
-0.04639323055744171,
-0.038541488349437714,
-0.03922096639871597,
0.033879514783620834,
-0.005214048083871603,
0.013193192891776562,
-0.019534984603524208,
-0.014599334448575974,
0.027122486382722855,
-0.037597768008708954,
-0.07410082221031189,
-0.00036539623397402465,
-0.0471482053399086,
-0.004239657893776894,
-0.015146691352128983,
0.005695344880223274,
0.027801964432001114,
-0.043260082602500916,
0.06987296044826508,
-0.023385358974337578,
-0.050017111003398895,
0.061039749532938004,
0.02687712013721466,
0.011390689760446548,
0.058925822377204895,
0.002496137050911784,
0.001640891539864242,
0.0034823233727365732,
-0.01978035271167755,
-0.047789935022592545,
-0.012485403567552567,
0.011843674816191196,
-0.1210225373506546,
0.038541488349437714,
0.019110312685370445,
0.004584115464240313,
0.03625768795609474,
-0.00797442626208067,
-0.04952637851238251,
-0.03625768795609474,
0.03376626968383789,
0.029349664226174355,
0.013495183549821377,
0.07455381006002426,
0.007889491505920887,
0.025102928280830383,
0.008734120056033134,
0.04888464882969856,
0.0023427826818078756,
0.046846214681863785,
0.0508098378777504,
0.04578924924135208,
-0.023819470778107643,
-0.020365457981824875,
0.032860297709703445,
0.010739522986114025,
-0.002842953894287348,
-0.06492787599563599,
-0.01930849254131317,
-0.0030600090976804495,
0.009861864149570465,
-0.008715245872735977,
-0.04869590699672699,
-0.03201095014810562,
-0.08652016520500183,
0.044468045234680176,
-0.007408194709569216,
-0.0463554821908474,
0.013174318708479404,
-0.04107065498828888,
-0.0020101217087358236,
0.047374699264764786,
-0.01922355778515339,
0.01823265291750431,
0.04571375250816345,
-0.039145469665527344,
0.05707613006234169,
-0.02585790306329727,
-0.018109969794750214,
0.06749478727579117,
0.0007113282917998731,
0.07251537591218948,
0.01605266146361828,
0.025272797793149948,
-0.053867485374212265,
-0.0022094822488725185,
-0.0026306170038878918,
-0.02748109959065914,
0.015467556193470955,
-0.04499652609229088,
0.023083368316292763,
0.01587335579097271,
-0.0688914954662323,
0.01046584453433752,
-0.010616839863359928,
-0.010796146467328072,
-0.06296493858098984,
0.033747393637895584,
0.018185466527938843,
0.07036369293928146,
0.0471482053399086,
-0.03595569729804993,
-0.060473520308732986,
0.02823607623577118,
-0.05869932845234871,
-0.019610483199357986,
0.08440623432397842,
0.009541000239551067,
-0.03514409810304642,
-0.012749644927680492,
-0.04673296958208084,
0.015571365132927895,
0.047525692731142044,
-0.07791344821453094,
0.09384343028068542,
0.023272113874554634,
0.014297344721853733,
-0.011400126852095127,
-0.01860070414841175,
0.009106889367103577,
0.038541488349437714,
-0.010201603174209595,
0.059869538992643356,
-0.004239657893776894,
0.04729920253157616,
-0.005204610992223024,
-0.06794777512550354,
0.03531396761536598,
0.00371353467926383,
-0.007450662087649107,
-0.06496562063694,
0.004520414397120476,
0.05492445081472397,
0.008389662951231003,
-0.021497922018170357,
-0.004393012262880802,
-0.015863917768001556,
0.0056056915782392025,
-0.006634345278143883,
-0.00903611071407795,
-0.03418150544166565,
0.029764899984002113,
-0.021988654509186745,
0.01202298142015934,
0.007611094508320093,
0.073345847427845,
-0.03648418188095093,
0.051489315927028656,
0.04091966152191162,
0.026046646758913994,
-0.024498946964740753,
0.02559366263449192,
-0.05269727483391762,
0.009158793836832047,
0.07025045156478882,
0.0014733814168721437,
-0.008601999841630459,
0.04344882816076279,
-0.05179130285978317,
-0.013164881616830826,
0.011286880820989609,
0.012089041993021965,
-0.022724755108356476,
0.0010262945434078574,
0.012598649598658085,
0.0045133368112146854,
-0.05152706429362297,
0.024196958169341087,
0.023592976853251457,
0.033879514783620834,
0.07768695801496506,
-0.013023323379456997,
0.029217543080449104,
0.019402865320444107,
0.00048601534217596054,
-0.0372014082968235,
-0.002333345590159297,
0.0717604011297226,
-0.02297012321650982,
0.00019139802316203713,
-0.03557820990681648,
0.0196482315659523,
-0.004992274101823568,
0.01613759621977806,
-0.009314507246017456,
-0.08599168807268143,
-0.02019558846950531,
0.028670186176896095,
-0.006785340141505003,
-0.029160920530557632,
0.004824764095246792,
0.027330104261636734,
-0.0332755371928215,
0.020780693739652634,
-0.002779252827167511,
0.0327470526099205,
0.01817603036761284,
0.032728176563978195,
-0.07368558645248413,
0.06220996379852295,
0.0014568663900718093,
0.014910762198269367,
0.018695075064897537,
0.01101320143789053,
-0.01549586746841669,
-0.049337632954120636,
-0.03403051197528839,
-0.033332157880067825,
0.02297012321650982,
0.012570338323712349,
-0.030821865424513817,
0.018289275467395782,
0.031086107715964317,
-0.04775218665599823,
0.021573418751358986,
-0.006148329935967922,
-0.0361444428563118,
-0.021365800872445107,
-0.006620189640671015,
-0.01794010028243065,
0.0639086589217186,
0.0007632328197360039,
0.0028028457891196012,
-0.06281394511461258,
-0.04986611753702164,
0.032312940806150436,
0.03418150544166565,
0.025386042892932892,
0.0030836020596325397,
-0.031312599778175354,
-0.06477688252925873,
-0.014873012900352478,
-0.032256320118904114,
-0.061039749532938004,
-0.04990386590361595,
0.021894283592700958,
0.0476766899228096,
0.04310908913612366,
0.08425524085760117,
-0.026386385783553123,
-0.021913157775998116,
-0.047525692731142044,
0.03429475054144859,
-0.04631773382425308,
0.055830422788858414,
-0.003085961565375328,
-0.02336648479104042,
0.060888756066560745,
-0.06439939141273499,
0.028217200189828873,
-0.007644124794751406,
-0.01181536354124546,
-0.023592976853251457,
-0.01114532258361578,
-0.07712072134017944,
-0.04484553262591362,
-0.027858586981892586,
-0.013712238520383835,
0.0521310418844223,
-0.03331328555941582,
-0.026631753891706467,
-0.00009658375347498804,
0.02978377416729927,
0.03971169888973236,
-0.03046325221657753,
0.015892229974269867,
-0.023064494132995605,
0.014042540453374386,
-0.01978035271167755,
-0.05050784721970558,
0.022403892129659653,
-0.014882449992001057,
0.05598141625523567,
0.04560050740838051,
-0.059869538992643356,
0.03472886234521866,
0.012409905903041363,
0.04911114275455475,
-0.030444378033280373,
0.0255370382219553,
-0.006384259555488825,
0.03167121112346649,
0.037918634712696075,
0.003550743218511343,
-0.03289804607629776,
0.046770717948675156,
0.022988997399806976,
-0.007294948678463697,
0.005690626334398985,
0.00815845187753439,
0.018761135637760162,
-0.06855175644159317,
0.07602600753307343,
0.014674832113087177,
-0.012683584354817867,
-0.02857581526041031,
0.010041171684861183,
0.0052753896452486515,
0.040089186280965805,
0.026027772575616837,
0.026310889050364494,
0.007351571694016457,
-0.027990708127617836,
0.0032228007912635803,
-0.031029483303427696,
-0.003213363466784358,
-0.01631690375506878,
-0.031104981899261475,
-0.01330643892288208,
0.04571375250816345,
-0.059869538992643356,
-0.01310825813561678,
0.021252553910017014,
0.07515779137611389,
0.023385358974337578,
0.07897041738033295,
-0.016986943781375885,
0.06168147921562195,
-0.026310889050364494,
-0.0002783971431199461,
0.012277785688638687,
-0.021573418751358986,
0.0029585594311356544,
0.009559874422848225,
0.009121045470237732,
-0.04288259521126747,
-0.027273481711745262,
-0.031784459948539734,
0.05443371832370758,
-0.04031568020582199,
0.04133489727973938,
0.041297148913145065,
-0.006643782369792461,
-0.0033077355474233627,
-0.007521441206336021,
-0.024555571377277374,
-0.015807295218110085,
0.05364099517464638,
0.050696589052677155,
-0.02978377416729927,
0.0607755109667778,
-0.01684538647532463,
0.04654422774910927,
-0.06368216127157211,
-0.03499310463666916,
0.054546963423490524,
0.07006170600652695,
-0.05039459839463234,
0.02310224436223507,
-0.04507202282547951,
-0.016562270000576973,
-0.027669843286275864,
0.022988997399806976,
-0.03491760790348053,
-0.027103612199425697,
-0.01084333285689354,
0.013297001831233501,
0.027783090248703957,
0.06828751415014267,
-0.021630041301250458,
-0.0463554821908474,
-0.03289804607629776,
-0.0474124476313591,
0.00866805948317051,
0.013353625312447548,
0.030878489837050438,
0.01006004586815834,
-0.005313138477504253,
0.03348315507173538,
-0.03552158549427986,
0.03135034814476967,
0.0075875017791986465,
0.019110312685370445,
-0.015335435047745705,
0.0009218956110998988,
0.06232320889830589,
0.01959160901606083,
-0.05477345734834671,
-0.018393084406852722,
0.030501000583171844,
0.02027108706533909,
-0.04005143791437149,
-0.06749478727579117,
0.02661287784576416,
-0.033747393637895584,
-0.040013689547777176,
0.02236614190042019,
0.006563566159456968,
0.0176852960139513,
0.01770417019724846,
-0.009776930324733257,
0.003067087149247527,
0.05043235048651695,
-0.0021233679726719856,
-0.06545635312795639,
-0.01574123464524746,
0.018147718161344528,
-0.029406286776065826,
-0.024366827681660652,
0.03963620215654373,
0.04250510782003403,
-0.008531220257282257,
0.03937195986509323,
0.006535254884511232,
-0.03727690503001213,
0.027726467698812485,
0.02142242342233658,
0.011626618914306164,
0.030972860753536224,
0.056358903646469116,
-0.021894283592700958,
0.023121118545532227,
0.0053697614930570126,
0.04552501067519188,
-0.011107574217021465,
0.04790318012237549,
0.07462930679321289,
0.0148635758087039,
0.01398591697216034,
-0.0062993247993290424,
-0.0023958669044077396,
-0.05050784721970558,
-0.03155796602368355,
0.05111182481050491,
0.08236780017614365,
0.0013943449594080448,
0.0067381542176008224,
-0.00903611071407795,
-0.013938731513917446,
-0.06960871815681458,
0.008734120056033134,
0.024480072781443596,
-0.017590923234820366,
0.026424134150147438,
-0.02729235589504242,
-0.03350202739238739,
-0.03429475054144859,
0.010229915380477905,
0.010362035594880581,
-0.00410045962780714,
0.056774139404296875,
-0.024366827681660652,
0.0035884918179363012,
0.07798894494771957,
-0.0005606281338259578,
0.0035531024914234877,
-0.025782406330108643,
-0.015863917768001556,
0.021384675055742264,
-0.054811205714941025,
-0.027801964432001114,
-0.030350007116794586,
0.033124540001153946,
-0.02978377416729927,
0.021913157775998116,
0.020554201677441597,
-0.01812884397804737,
-0.01384435873478651,
0.011551122181117535,
0.006105862557888031,
-0.03342653065919876,
0.02153567038476467,
0.00021602319611702114,
0.04828066751360893,
-0.0011483881389722228
] |
719,733
|
ibm_platform_services.iam_identity_v1
|
list_trusted_profile_assignments
|
List assignments.
List trusted profile template assignments.
:param str account_id: (optional) Account ID of the Assignments to query.
This parameter is required unless using a pagetoken.
:param str template_id: (optional) Filter results by Template Id.
:param str template_version: (optional) Filter results Template Version.
:param str target: (optional) Filter results by the assignment target.
:param str target_type: (optional) Filter results by the assignment's
target type.
:param int limit: (optional) Optional size of a single page. Default is 20
items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) If specified, the items are sorted by the value
of this property.
:param str order: (optional) Sort order.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentListResponse` object
|
def list_trusted_profile_assignments(
self,
*,
account_id: Optional[str] = None,
template_id: Optional[str] = None,
template_version: Optional[str] = None,
target: Optional[str] = None,
target_type: Optional[str] = None,
limit: Optional[int] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
List assignments.
List trusted profile template assignments.
:param str account_id: (optional) Account ID of the Assignments to query.
This parameter is required unless using a pagetoken.
:param str template_id: (optional) Filter results by Template Id.
:param str template_version: (optional) Filter results Template Version.
:param str target: (optional) Filter results by the assignment target.
:param str target_type: (optional) Filter results by the assignment's
target type.
:param int limit: (optional) Optional size of a single page. Default is 20
items per page. Valid range is 1 to 100.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) If specified, the items are sorted by the value
of this property.
:param str order: (optional) Sort order.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentListResponse` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_trusted_profile_assignments',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'template_id': template_id,
'template_version': template_version,
'target': target,
'target_type': target_type,
'limit': limit,
'pagetoken': pagetoken,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/profile_assignments/'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, template_id: Optional[str] = None, template_version: Optional[str] = None, target: Optional[str] = None, target_type: Optional[str] = None, limit: Optional[int] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.022825049236416817,
0.0022502096835523844,
-0.05144929513335228,
-0.042118534445762634,
0.0065519786439836025,
0.05966482684016228,
-0.01795520819723606,
-0.05222995579242706,
-0.0371929332613945,
-0.010427404195070267,
0.014795389957726002,
-0.010074247606098652,
-0.026709767058491707,
-0.01634741947054863,
-0.017239602282643318,
-0.0021584355272352695,
0.06475771218538284,
0.017072318121790886,
0.01464669220149517,
-0.04479508846998215,
-0.00026472200988791883,
-0.008838200941681862,
-0.0027578717563301325,
0.06423726677894592,
-0.026635419577360153,
-0.09301021695137024,
0.02704433724284172,
-0.05479498580098152,
-0.024832462891936302,
0.06646773219108582,
0.010176477022469044,
0.07081712782382965,
0.015185720287263393,
0.07319628447294235,
-0.016626225784420967,
-0.007467396557331085,
-0.025390079244971275,
0.03736021742224693,
-0.03825240209698677,
-0.025780409574508667,
-0.037527501583099365,
0.00007478432962670922,
0.015780510380864143,
-0.0162173081189394,
-0.007690442726016045,
0.014079783111810684,
0.0038382511120289564,
-0.06776883453130722,
0.015353004448115826,
-0.06888405978679657,
-0.008299172855913639,
0.053010616451501846,
-0.06308486312627792,
0.021077854558825493,
-0.03591041639447212,
-0.0026277615688741207,
-0.030520137399435043,
-0.0141448387876153,
0.03449779376387596,
-0.05379127711057663,
0.048512522131204605,
-0.008210883475840092,
-0.020278606563806534,
-0.03992524743080139,
-0.021691231057047844,
-0.040743082761764526,
-0.019089026376605034,
-0.019702402874827385,
-0.03247179090976715,
-0.014999848790466785,
0.0366167314350605,
-0.004112412221729755,
-0.006050124764442444,
-0.03525986894965172,
0.05185821279883385,
-0.0324346162378788,
0.049479056149721146,
-0.00924711860716343,
-0.06051983684301376,
-0.009897669777274132,
-0.0206131748855114,
-0.00043650815496221185,
0.011273120529949665,
0.01702585071325302,
0.02505550906062126,
-0.011784267611801624,
0.006593799684196711,
-0.08371663093566895,
-0.030408615246415138,
0.014089076779782772,
0.04420029744505882,
0.017360419034957886,
0.002971624257043004,
-0.017704281955957413,
0.015232188627123833,
0.032546140253543854,
0.012230359949171543,
-0.05661652982234955,
-0.060110919177532196,
-0.0013394381385296583,
-0.030464377254247665,
-0.055575646460056305,
-0.0037058175075799227,
0.00399856548756361,
0.05854959413409233,
-0.007007364183664322,
-0.00395906763151288,
0.04170961678028107,
0.012128130532801151,
0.05267604812979698,
-0.0021630823612213135,
0.012434818781912327,
0.01567828096449375,
-0.010037073865532875,
0.0531221404671669,
0.018903154879808426,
-0.02029719203710556,
-0.02369864471256733,
-0.02193286456167698,
-0.030650248751044273,
0.027824997901916504,
0.00015987873484846205,
0.007416281849145889,
0.031226450577378273,
-0.06973907351493835,
-0.00401482917368412,
-0.023178204894065857,
-0.0323602668941021,
0.023141030222177505,
-0.03736021742224693,
-0.05267604812979698,
-0.018410595133900642,
-0.03709999844431877,
0.017323244363069534,
0.05635630711913109,
0.001006030710414052,
-0.034479204565286636,
0.0037360216956585646,
0.02598486840724945,
-0.033252451568841934,
0.018986796960234642,
0.022044386714696884,
0.02674694173038006,
0.024832462891936302,
-0.02921903505921364,
-0.05643065646290779,
0.02617073990404606,
0.07222975790500641,
0.010092834942042828,
0.024739528074860573,
0.009154182858765125,
-0.07122604548931122,
-0.028847292065620422,
0.0032179043628275394,
-0.04628206044435501,
0.034311920404434204,
0.048698391765356064,
-0.00003957035005441867,
0.023847343400120735,
-0.05315931513905525,
-0.0319327637553215,
-0.03676542639732361,
0.001512531191110611,
0.04579879343509674,
0.009618861600756645,
-0.06843797117471695,
0.028605658560991287,
-0.02392169088125229,
-0.011747092939913273,
-0.049181658774614334,
0.022248845547437668,
-0.021115029230713844,
0.0336613692343235,
-0.007146767806261778,
0.011923671700060368,
-0.019609468057751656,
0.04505530744791031,
-0.021189376711845398,
-0.019572293385863304,
0.020836221054196358,
-0.02338266372680664,
-0.04877274110913277,
-0.0015752628678455949,
-0.02267635054886341,
-0.0033666016533970833,
-0.0014207570347934961,
-0.015343711711466312,
0.08401402086019516,
-0.07286171615123749,
0.021542534232139587,
-0.01107795536518097,
-0.03295505791902542,
-0.019051851704716682,
0.045464225113391876,
-0.011561221443116665,
-0.077843077480793,
0.01469316054135561,
0.006022244226187468,
-0.035947591066360474,
-0.003478124737739563,
-0.0425274521112442,
-0.05148646980524063,
0.017165254801511765,
-0.007453456521034241,
0.04412594810128212,
0.03390300273895264,
0.004600325133651495,
-0.032806359231472015,
0.0412263497710228,
-0.022527653723955154,
0.0006993424030952156,
0.0115147540345788,
0.00684937322512269,
0.02078045904636383,
-0.05635630711913109,
0.03525986894965172,
0.06334508210420609,
-0.03895871341228485,
0.023680059239268303,
-0.053010616451501846,
-0.030055459588766098,
-0.04628206044435501,
-0.019126201048493385,
-0.03921893611550331,
0.04512965679168701,
-0.008001778274774551,
-0.027416080236434937,
0.002486034296452999,
-0.058140676468610764,
0.041635267436504364,
0.09814027696847916,
-0.03275059908628464,
-0.009274999611079693,
0.019535118713974953,
-0.00019748871272895485,
-0.04572444409132004,
-0.007416281849145889,
-0.030464377254247665,
-0.029943935573101044,
0.0647205337882042,
-0.02219308540225029,
0.07747133821249008,
0.03877284377813339,
-0.0005268302047625184,
-0.06709969788789749,
0.008907902985811234,
-0.03670966625213623,
0.024293435737490654,
0.01085490919649601,
-0.023531360551714897,
0.04620771110057831,
0.004851252306252718,
-0.036598142236471176,
0.013847444206476212,
-0.074385866522789,
-0.008893962018191814,
0.026598244905471802,
-0.02568747289478779,
-0.002537149004638195,
0.0006726233405061066,
-0.044720739126205444,
0.018457062542438507,
-0.026839878410100937,
-0.04962775111198425,
0.021319488063454628,
-0.05475781112909317,
-0.05832654982805252,
0.0531221404671669,
-0.017620639875531197,
0.04464638978242874,
-0.045241180807352066,
0.008740617893636227,
0.033029407262802124,
0.015650399029254913,
-0.000035159526305506006,
0.04345681145787239,
0.06698817014694214,
0.06538967788219452,
-0.012016607448458672,
0.0097489720210433,
0.019126201048493385,
-0.015938499942421913,
0.0011001282837241888,
0.014944086782634258,
0.0648692324757576,
-0.0021456568501889706,
-0.02938632108271122,
0.0637911781668663,
0.012741507031023502,
0.006974836811423302,
0.0036337922792881727,
0.030631661415100098,
0.03561302274465561,
-0.07880961149930954,
0.008052892982959747,
0.007281525060534477,
0.013726627454161644,
-0.016774924471974373,
0.019423596560955048,
0.029888173565268517,
0.0115147540345788,
-0.00979544036090374,
0.012128130532801151,
-0.028828704729676247,
-0.013438526540994644,
-0.01872657611966133,
-0.005724849179387093,
0.0017901770770549774,
0.028754357248544693,
0.0013882294297218323,
0.019274897873401642,
-0.013401351869106293,
0.03367995843291283,
0.05524107813835144,
0.004688614513725042,
-0.045687269419431686,
0.009014778770506382,
-0.018252603709697723,
0.040966130793094635,
-0.004795490764081478,
-0.05360540747642517,
0.002369864610955119,
0.0625644251704216,
-0.00756497960537672,
0.06951602548360825,
-0.019665228202939034,
-0.0005140515277162194,
0.06520380079746246,
0.019126201048493385,
-0.009098420850932598,
-0.07386542856693268,
-0.017351126298308372,
-0.0300926323980093,
-0.04854969680309296,
-0.02020425722002983,
-0.0012883234303444624,
-0.012444112449884415,
0.05921873450279236,
0.043345287442207336,
0.01220247894525528,
-0.018057439476251602,
-0.05843807011842728,
0.046579454094171524,
0.032100047916173935,
0.02669117972254753,
0.01538088545203209,
0.02810380607843399,
0.03241603076457977,
-0.01275080069899559,
-0.04364268109202385,
-0.016486821696162224,
0.034311920404434204,
0.04654227942228317,
0.06163506582379341,
0.0037406685296446085,
-0.023977452889084816,
0.033512674272060394,
0.02810380607843399,
-0.02788075990974903,
0.008271291851997375,
-0.047806210815906525,
-0.016263775527477264,
0.00023553433129563928,
-0.016291657462716103,
0.03035285323858261,
0.00409382488578558,
0.012564929202198982,
-0.06628186255693436,
-0.014200599864125252,
-0.023438425734639168,
-0.035408563911914825,
-0.05334518477320671,
-0.057991981506347656,
0.008173709735274315,
-0.029553605243563652,
0.00046032294631004333,
-0.07717394083738327,
0.04460921511054039,
-0.01654258370399475,
0.001412625191733241,
0.023494185879826546,
-0.011998020112514496,
0.0189217422157526,
0.03936763107776642,
-0.038847193121910095,
-0.030594486743211746,
-0.0162173081189394,
-0.030631661415100098,
-0.005283404141664505,
0.04364268109202385,
0.03371713310480118,
-0.025575950741767883,
-0.022787874564528465,
-0.04814077913761139,
0.018958916887640953,
0.025074096396565437,
-0.0708543062210083,
0.003905629739165306,
0.024497894570231438,
0.003429333446547389,
0.028828704729676247,
0.01724889688193798,
0.07739698886871338,
0.008406048640608788,
-0.02674694173038006,
-0.00799713097512722,
0.09776853024959564,
-0.03607770428061485,
-0.017834393307566643,
0.038847193121910095,
0.01458163745701313,
0.008229470811784267,
0.0013429232640191913,
-0.03159819543361664,
0.0023524390999227762,
0.07081712782382965,
-0.08520360291004181,
0.03676542639732361,
-0.019999798387289047,
-0.027601951733231544,
0.045687269419431686,
-0.0495905764400959,
0.023196792230010033,
0.013670865446329117,
0.016105785965919495,
-0.0011779620544984937,
0.005190467927604914,
-0.007578919641673565,
-0.0028879819437861443,
-0.046579454094171524,
0.02289939671754837,
-0.005037123803049326,
0.06646773219108582,
0.006886547431349754,
0.028382612392306328,
0.0696275532245636,
-0.007179295644164085,
0.04107765108346939,
-0.025204205885529518,
-0.03709999844431877,
0.04698837175965309,
0.059850696474313736,
0.014525875449180603,
0.007332639768719673,
0.01972099021077156,
0.026096390560269356,
-0.0824526995420456,
-0.05003666877746582,
-0.06442314386367798,
0.03988807275891304,
-0.010864202864468098,
0.02864283323287964,
0.07505500316619873,
0.014405058696866035,
-0.02219308540225029,
-0.022434717044234276,
0.0017808835254982114,
0.03053872473537922,
0.019665228202939034,
-0.02646813355386257,
0.02444213256239891,
-0.06765730679035187,
0.0625644251704216,
-0.002469770610332489,
0.042824845761060715,
-0.02453506924211979,
-0.017778631299734116,
0.029665127396583557,
-0.03475801274180412,
0.0018610407132655382,
-0.007044538389891386,
0.030743183568120003,
-0.033252451568841934,
0.04275049641728401,
0.002027163514867425,
0.02498115971684456,
0.03410746157169342,
0.026096390560269356,
0.035947591066360474,
0.002474417444318533,
-0.011877203360199928,
0.02104067988693714,
0.01689573936164379,
0.029720889404416084,
-0.00897760409861803,
-0.03981372341513634,
-0.007416281849145889,
0.004879132844507694,
-0.06353095918893814,
0.024237673729658127,
-0.015120665542781353,
-0.044943783432245255,
0.01868940331041813,
0.025185618549585342,
-0.1178426742553711,
-0.05739719048142433,
0.03204428777098656,
-0.024906812235713005,
0.02457224205136299,
0.0005869480664841831,
0.06951602548360825,
-0.04178396612405777,
0.12208054959774017,
-0.0189217422157526,
0.0944228395819664,
0.03144949674606323,
0.0015578374732285738,
0.03159819543361664,
-0.015808390453457832,
0.03921893611550331,
0.020817633718252182,
0.05401432514190674,
0.01056680828332901,
-0.02643096074461937,
0.036914125084877014,
0.08401402086019516,
0.03789924457669258,
0.009126301854848862,
0.009242472238838673,
-0.027062924578785896,
0.003480448154732585,
0.011217358522117138,
-0.013903205282986164,
0.024497894570231438,
0.056765224784612656,
0.008661622181534767,
-0.004600325133651495,
0.007086359895765781,
-0.03535280376672745,
0.02228602021932602,
0.0354643277823925,
0.01708161272108555,
-0.005604032892733812,
-0.08758275955915451,
-0.02674694173038006,
0.029888173565268517,
-0.03921893611550331,
-0.02739749290049076,
0.048698391765356064,
0.04085460677742958,
0.012825149111449718,
0.04371703043580055,
-0.019516531378030777,
-0.062713123857975,
-0.014507288113236427,
-0.03076177090406418,
-0.08431141823530197,
0.027248796075582504,
-0.0400739461183548,
-0.004031093325465918,
0.05222995579242706,
-0.05669087916612625,
0.02492539957165718,
0.0436798557639122,
-0.042824845761060715,
0.051783863455057144,
0.03334539011120796,
-0.03291788324713707,
-0.024033214896917343,
0.026133565232157707,
-0.0031644662376493216,
-0.04747163876891136,
-0.03057589940726757,
-0.008159768767654896,
0.005222995765507221,
0.023141030222177505,
0.017072318121790886,
0.05423736944794655,
-0.06375399976968765,
-0.04617053642868996,
0.005487862974405289,
0.019089026376605034,
-0.03340115025639534,
0.004574767779558897,
-0.03390300273895264,
-0.05219278112053871,
0.047062721103429794,
0.008104007691144943,
0.0648692324757576,
0.05260169878602028,
0.01689573936164379,
0.02960936725139618,
0.08936712890863419,
-0.037081409245729446,
0.016709867864847183,
0.048995789140462875,
0.009721091017127037,
-0.0313565619289875,
0.01464669220149517,
-0.00880102626979351,
-0.04241592809557915,
0.06721121817827225,
-0.027378905564546585,
-0.01705373078584671,
0.016747042536735535,
0.052527349442243576,
-0.04877274110913277,
0.011226652190089226,
-0.021542534232139587,
-0.05576151981949806,
0.02392169088125229,
0.04126352444291115,
-0.010390229523181915,
0.06234137713909149,
0.05468346178531647,
-0.0779174268245697,
0.05044558644294739,
0.04341963678598404,
-0.009618861600756645,
-0.015938499942421913,
0.012146717868745327,
-0.0063010514713823795,
0.038549795746803284,
-0.11040780693292618,
0.039776548743247986,
-0.025297142565250397,
-0.023141030222177505,
0.08683927357196808,
-0.012918084859848022,
0.023271139711141586,
-0.002003929577767849,
0.06040831282734871,
-0.013791682198643684,
0.09695069491863251,
-0.006463689263910055,
0.035947591066360474,
0.006788964848965406,
-0.0317840650677681,
-0.029070338234305382,
0.0012639277847483754,
-0.022657763212919235,
0.013103957287967205,
-0.02170981839299202,
0.03269483894109726,
0.031616780906915665,
0.005706262309104204,
0.06698817014694214,
-0.014795389957726002,
0.05810350179672241,
-0.044980958104133606,
-0.022378956899046898,
-0.03992524743080139,
0.012983140535652637,
0.05126342177391052,
0.026393786072731018,
0.05847524479031563,
-0.026858465746045113,
0.007248997688293457,
-0.018484944477677345,
0.05825220048427582,
-0.01972099021077156,
-0.004630529321730137,
-0.002943743485957384,
-0.011217358522117138,
-0.09144888818264008,
0.05609608814120293,
-0.018103906884789467,
0.005376339890062809,
-0.0025348258204758167,
-0.015102078206837177,
-0.008810319937765598,
0.010288000106811523,
-0.0032806359231472015,
0.01994403637945652,
0.06613316386938095,
0.017425473779439926,
-0.08438576757907867,
0.04033416509628296,
-0.02065034955739975,
0.05118907615542412,
0.02144959755241871,
0.007495277561247349,
0.004832664970308542,
0.012174597941339016,
0.017295364290475845,
0.01249057985842228,
-0.03291788324713707,
-0.05412584915757179,
-0.01493479311466217,
-0.000190373306395486,
0.05185821279883385,
-0.06918145716190338,
-0.015975674614310265,
0.0008555907988920808,
-0.04840099811553955,
-0.02739749290049076,
0.011524047702550888,
-0.02841978706419468,
-0.043085068464279175,
-0.013206186704337597,
-0.016709867864847183,
-0.002003929577767849,
-0.0206131748855114,
0.005446041468530893,
0.008215530775487423,
-0.05174668878316879,
-0.020464478060603142,
-0.022304607555270195,
0.030464377254247665,
-0.016431061550974846,
-0.024163324385881424,
-0.04985079914331436,
-0.011040780693292618,
0.004142616409808397,
-0.022527653723955154,
0.04278767108917236,
-0.00513005955144763,
-0.012397644110023975,
0.03118927590548992,
-0.05624478682875633,
-0.022602003067731857,
0.04011112079024315,
0.037917833775281906,
-0.01705373078584671,
-0.02810380607843399,
-0.015027729794383049,
-0.02245330438017845,
-0.022248845547437668,
0.02752760238945484,
0.026356611400842667,
0.04037133976817131,
0.027211621403694153,
-0.019888274371623993,
-0.0025557363405823708,
0.015473821200430393,
0.007643974851816893,
-0.026765529066324234,
0.01683068461716175,
0.0100184865295887,
0.003401452675461769,
0.06550119817256927,
0.03650520741939545,
-0.041189175099134445,
-0.02170981839299202,
0.004168173763900995,
0.0081086540594697,
0.0037127877585589886,
0.014590931124985218,
0.005092885345220566,
0.032100047916173935,
-0.0037429919466376305,
0.019758164882659912,
-0.022564828395843506,
-0.0460590161383152,
-0.04453486576676369,
0.007946016266942024,
0.024739528074860573,
-0.02408897690474987,
0.07048255950212479,
-0.012602102942764759,
0.03648662194609642,
0.025222793221473694,
-0.013996141031384468,
-0.030241331085562706,
0.03314093127846718,
0.0010763134341686964,
0.013773094862699509,
-0.0004179209645371884,
-0.06698817014694214,
-0.018103906884789467,
-0.02983241342008114,
0.019888274371623993,
0.03371713310480118,
-0.026449548080563545,
-0.0662446841597557,
-0.023772994056344032,
0.042824845761060715,
-0.01257422287017107
] |
719,734
|
ibm_platform_services.iam_identity_v1
|
list_versions_of_account_settings_template
|
List account settings template versions.
List the versions of a specific account settings template in an enterprise
account.
:param str template_id: ID of the account settings template.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property. If specified, the
returned templated are sorted according to this property.
:param str order: (optional) Optional sort order.
:param str include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateList` object
|
def list_versions_of_account_settings_template(
self,
template_id: str,
*,
limit: Optional[str] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
List account settings template versions.
List the versions of a specific account settings template in an enterprise
account.
:param str template_id: ID of the account settings template.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property. If specified, the
returned templated are sorted according to this property.
:param str order: (optional) Optional sort order.
:param str include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateList` object
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_versions_of_account_settings_template',
)
headers.update(sdk_headers)
params = {
'limit': limit,
'pagetoken': pagetoken,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_templates/{template_id}/versions'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, limit: Optional[str] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.036828573793172836,
-0.07270103693008423,
-0.0014180748257786036,
-0.03193771094083786,
-0.01048961654305458,
0.047658346593379974,
-0.043981004506349564,
-0.025741390883922577,
-0.037398561835289,
-0.004497848451137543,
0.002329366048797965,
-0.02292822301387787,
-0.05615300312638283,
-0.07428229600191116,
-0.040009476244449615,
0.0367550291121006,
0.018745247274637222,
0.02381078526377678,
0.033518966287374496,
0.023443052545189857,
0.032139964401721954,
-0.020464405417442322,
-0.032397378236055374,
0.05379950627684593,
0.06427992880344391,
-0.03294897824525833,
-0.0018248807173222303,
-0.029308412224054337,
0.038869500160217285,
0.018552187830209732,
-0.0412597693502903,
0.04137009009718895,
0.03166190907359123,
0.05626332387328148,
-0.04056107625365257,
-0.06806758791208267,
0.047658346593379974,
0.027561673894524574,
-0.0775919035077095,
0.0735100582242012,
0.033132847398519516,
0.008894569240510464,
0.07203911989927292,
0.011179118417203426,
0.023222411051392555,
-0.0005484410212375224,
0.007786770351231098,
-0.016152722761034966,
0.014507112093269825,
-0.02276274375617504,
0.03498990461230278,
0.02050117775797844,
-0.03765597566962242,
-0.04490033909678459,
-0.03215835243463516,
0.03168029710650444,
0.01343148946762085,
-0.02188018150627613,
-0.010223009623587132,
0.003001629840582609,
0.0033486790489405394,
0.006743324920535088,
-0.020317312330007553,
-0.021659541875123978,
-0.03561505302786827,
-0.015352900139987469,
-0.0033050107304006815,
0.014461144804954529,
-0.03934755176305771,
-0.005309161730110645,
-0.00896351970732212,
0.031147081404924393,
0.028959063813090324,
-0.043466176837682724,
-0.023571759462356567,
-0.0042909979820251465,
0.04133331775665283,
-0.0005694133578799665,
-0.07751835882663727,
-0.022725969552993774,
-0.028333915397524834,
-0.03298575431108475,
0.007377666421234608,
0.0494234673678875,
0.02416013367474079,
-0.0033050107304006815,
0.01663077622652054,
-0.07141397148370743,
0.054534975439310074,
0.07064172625541687,
-0.02533688209950924,
-0.01598724164068699,
-0.04795253276824951,
-0.016713516786694527,
0.0207402054220438,
-0.0033509773202240467,
0.03410734236240387,
-0.04743770509958267,
-0.04247329384088516,
0.0127879548817873,
-0.044459059834480286,
-0.10973186790943146,
0.01342229638248682,
-0.03978883475065231,
0.010802190750837326,
-0.0722229853272438,
-0.054277557879686356,
0.021291807293891907,
0.01719157211482525,
0.023185638710856438,
0.0322318971157074,
0.02658717893064022,
0.013220042921602726,
0.02250532992184162,
0.08399047702550888,
0.02471173368394375,
-0.04368681460618973,
-0.004362246487289667,
0.006449137348681688,
-0.051482781767845154,
0.049827978014945984,
-0.004720787052065134,
0.012870695441961288,
0.0444958321750164,
-0.01699851080775261,
0.007492583245038986,
0.024270454421639442,
-0.01569305546581745,
-0.013596969656646252,
0.014782913029193878,
-0.07295845448970795,
0.01601482182741165,
-0.03030129335820675,
-0.008379741571843624,
0.006214707158505917,
-0.02941873110830784,
-0.007768383715301752,
0.0010244842851534486,
-0.005295371636748314,
0.013854383490979671,
-0.0005602199817076325,
0.05563817545771599,
0.004923040978610516,
-0.003049895167350769,
-0.05817554146051407,
-0.033390261232852936,
0.07523840665817261,
0.03704921528697014,
0.032912205904722214,
-0.0021972116082906723,
0.018671700730919838,
-0.0025764373131096363,
-0.018175259232521057,
-0.04438551142811775,
-0.0552336685359478,
0.013376329094171524,
0.0371779203414917,
-0.01582176238298416,
0.031882550567388535,
-0.03068741410970688,
-0.016566423699259758,
0.042988121509552,
0.05295371636748314,
-0.015527574345469475,
0.010296556167304516,
0.006701954640448093,
-0.0131648825481534,
-0.04048752784729004,
-0.0309448279440403,
-0.018359126523137093,
0.0019294550875201821,
0.02938195876777172,
0.0020753995049744844,
0.0029694531112909317,
0.00204667029902339,
0.02583332359790802,
0.03601955994963646,
-0.012006519362330437,
0.0005737227038480341,
0.01545402780175209,
-0.03828112408518791,
-0.05151955410838127,
-0.032268669456243515,
0.03795016184449196,
-0.009643827565014362,
-0.0013732571387663484,
0.011160731315612793,
0.0689869225025177,
-0.08362274616956711,
-0.014111797325313091,
-0.00853143259882927,
-0.06917079538106918,
0.0417010523378849,
0.01341310329735279,
-0.08494658768177032,
-0.06409606337547302,
-0.002385675208643079,
-0.0943605825304985,
-0.021659541875123978,
0.02239500917494297,
-0.0003803750150837004,
-0.08913875371217728,
0.016731902956962585,
-0.04350294917821884,
0.05791812762618065,
0.04968088120222092,
0.036828573793172836,
-0.09936176240444183,
0.04721706360578537,
0.014212924987077713,
0.0004754687543027103,
-0.001315798726864159,
-0.01188700646162033,
0.021457286551594734,
-0.08457885682582855,
0.0090784365311265,
0.03931077942252159,
-0.0029050996527075768,
-0.00760290352627635,
-0.05074731260538101,
0.004729980602860451,
-0.020905686542391777,
-0.05607945844531059,
-0.01290746871381998,
-0.011804265901446342,
0.03103676252067089,
-0.0005332145374268293,
0.01356019638478756,
-0.05596913769841194,
-0.010131075978279114,
0.06365478038787842,
0.014277278445661068,
0.05100472643971443,
0.007455809973180294,
-0.031992871314287186,
-0.041553959250450134,
0.020924072712659836,
-0.031239015981554985,
0.027929408475756645,
0.02507946826517582,
0.014543885365128517,
0.04673900827765465,
0.07567968964576721,
0.03756404295563698,
-0.026918139308691025,
0.02364530600607395,
-0.0773712620139122,
-0.007653466891497374,
0.012521347962319851,
-0.08752072602510452,
-0.0019260075641795993,
-0.0472906120121479,
0.0010549373691901565,
-0.0017444388940930367,
-0.004311682656407356,
-0.06872951239347458,
0.040009476244449615,
0.015251773409545422,
0.023737238720059395,
-0.015849340707063675,
-0.054277557879686356,
0.006982352118939161,
-0.039274007081985474,
-0.07818027585744858,
0.0025166806299239397,
-0.028223594650626183,
-0.04361326992511749,
0.04262038692831993,
-0.006917998660355806,
0.10112688690423965,
-0.014672592282295227,
-0.00492763752117753,
-0.034291207790374756,
0.0361114926636219,
-0.028720036149024963,
0.02684459276497364,
0.022321462631225586,
-0.00395544059574604,
-0.04302489385008812,
-0.02239500917494297,
-0.041149452328681946,
-0.038759179413318634,
0.022560490295290947,
0.02533688209950924,
0.07626806199550629,
0.004442688077688217,
-0.01921410858631134,
0.017375437542796135,
0.013275202363729477,
0.02176986075937748,
0.018542993813753128,
0.02011505700647831,
0.0016502069775015116,
-0.0608232282102108,
-0.06144837662577629,
-0.01749495230615139,
0.0029763481579720974,
-0.03498990461230278,
0.06872951239347458,
0.014681785367429256,
0.012971822172403336,
-0.03883272409439087,
0.014461144804954529,
0.008669332601130009,
-0.011298631317913532,
0.0029717516154050827,
0.04508420452475548,
0.001584704383276403,
0.07339973747730255,
-0.02011505700647831,
-0.03127579018473625,
0.027396194636821747,
0.02267080917954445,
-0.028297143056988716,
-0.022321462631225586,
-0.017660431563854218,
-0.01923249661922455,
-0.029694532975554466,
0.005088521167635918,
0.02050117775797844,
-0.0664127841591835,
0.05718265846371651,
-0.003941650502383709,
-0.005088521167635918,
0.05089440569281578,
-0.0001646184828132391,
0.011353791691362858,
0.01012188196182251,
-0.015867728739976883,
0.016970930621027946,
0.0017294996650889516,
-0.008421111851930618,
0.0227811299264431,
0.03381315618753433,
-0.021163100376725197,
0.018607348203659058,
0.019876031205058098,
0.021567607298493385,
-0.02265242300927639,
0.034806035459041595,
0.07869510352611542,
-0.06589795649051666,
0.0002970602363348007,
-0.01624465547502041,
-0.02327757142484188,
0.03285704553127289,
0.09524314105510712,
0.013964704237878323,
-0.019637003540992737,
-0.0019260075641795993,
-0.009400203824043274,
-0.015270160511136055,
0.029712919145822525,
0.04519452527165413,
0.026440085843205452,
-0.039899155497550964,
0.00789709109812975,
0.01216280646622181,
0.007975234650075436,
0.018349934369325638,
-0.05983034521341324,
-0.007258152589201927,
-0.02877519652247429,
-0.020574726164340973,
0.03813403099775314,
-0.053137585520744324,
0.02316725067794323,
-0.04203201085329056,
-0.006086000241339207,
-0.012438607402145863,
-0.02682620659470558,
-0.006430750712752342,
0.028425849974155426,
-0.05957293137907982,
0.041296545416116714,
-0.04034043475985527,
-0.09421348571777344,
0.01595046930015087,
-0.0036267780233174562,
-0.0005156896659173071,
0.03585407882928848,
-0.023718852549791336,
0.06302963197231293,
0.0018938308348879218,
-0.029106156900525093,
0.008807232603430748,
0.024215294048190117,
-0.013845190405845642,
0.037729524075984955,
0.0412597693502903,
-0.02314886450767517,
0.017917845398187637,
-0.009763341397047043,
0.00906005036085844,
0.020519565790891647,
0.03853853791952133,
0.0010509152198210359,
0.008030394092202187,
0.06130128353834152,
-0.02403142675757408,
0.04832026734948158,
0.01177668571472168,
0.0350266769528389,
0.019011855125427246,
-0.011923779733479023,
-0.07442939281463623,
0.011868619360029697,
-0.021310193464159966,
-0.022597262635827065,
-0.045120980590581894,
-0.0006630706484429538,
-0.05207115411758423,
-0.016667550429701805,
-0.054020144045352936,
-0.0020018527284264565,
0.06273544579744339,
-0.06354445964097977,
0.07020045071840286,
-0.021861795336008072,
-0.02824198268353939,
0.0296577587723732,
-0.01266844104975462,
0.04570935294032097,
0.002879817970097065,
-0.01163878571242094,
0.025392042472958565,
-0.016924964264035225,
-0.006835258565843105,
-0.05468206852674484,
-0.004513936582952738,
0.07538549602031708,
-0.01519661396741867,
0.037490494549274445,
-0.003224568674340844,
0.03548634424805641,
0.04225265234708786,
0.044459059834480286,
0.0032291654497385025,
-0.048688001930713654,
-0.01113315112888813,
0.03839144483208656,
0.04184814542531967,
0.02239500917494297,
-0.024399161338806152,
0.006223900243639946,
0.03601955994963646,
-0.005295371636748314,
-0.07273781299591064,
0.01432324480265379,
-0.0207402054220438,
-0.05755039304494858,
0.004918443970382214,
0.020703433081507683,
-0.007478793151676655,
-0.042988121509552,
-0.014782913029193878,
-0.008223454467952251,
0.021494060754776,
-0.038244351744651794,
-0.019489910453557968,
0.0365343876183033,
0.002500592265278101,
0.006564054638147354,
-0.02963937260210514,
0.012981015257537365,
-0.05310080945491791,
0.016888190060853958,
0.017145603895187378,
0.005938906222581863,
0.006067613605409861,
0.001536439172923565,
0.0194531362503767,
-0.04401777684688568,
0.07803318649530411,
0.05622655153274536,
0.0386856310069561,
0.021475674584507942,
-0.028536168858408928,
-0.0498647503554821,
0.013569389469921589,
-0.02355337142944336,
0.016474489122629166,
-0.0006831811042502522,
0.019765710458159447,
0.00038497167406603694,
-0.059241969138383865,
0.008687718771398067,
0.0017398421186953783,
-0.04195846617221832,
-0.023130478337407112,
-0.007533953059464693,
-0.018221227452158928,
-0.036828573793172836,
0.03598278760910034,
-0.01618030294775963,
0.008044184185564518,
-0.04916605353355408,
0.02381078526377678,
0.03978883475065231,
-0.008131520822644234,
0.041553959250450134,
-0.03726985678076744,
0.022229529917240143,
0.0002837011415977031,
0.012227159924805164,
0.0681411400437355,
0.01919572241604328,
0.010002369061112404,
0.020335698500275612,
-0.002321321750059724,
-0.0017490355530753732,
0.029087770730257034,
-0.023093704134225845,
0.005833182949572802,
0.027653608471155167,
0.04865122586488724,
-0.07461325824260712,
0.006458330899477005,
0.000055267857533181086,
0.01923249661922455,
-0.01863492839038372,
0.015610313974320889,
0.011197504587471485,
-0.012328287586569786,
0.04493711143732071,
0.01850622147321701,
-0.07965121418237686,
-0.059241969138383865,
0.009441574104130268,
0.058469727635383606,
-0.005033361259847879,
-0.023590145632624626,
-0.024141747504472733,
-0.031110309064388275,
-0.023369504138827324,
-0.062404483556747437,
-0.07384101301431656,
0.031882550567388535,
-0.008085554465651512,
0.04758479818701744,
-0.07950412482023239,
0.031496427953243256,
-0.04585644602775574,
-0.07505454123020172,
0.014874845743179321,
0.004339262843132019,
-0.015509187243878841,
-0.010838964022696018,
-0.06979594379663467,
-0.04431196302175522,
0.0799454003572464,
-0.028186822310090065,
0.05574849620461464,
0.015123066492378712,
-0.07237008213996887,
0.04692287743091583,
-0.0494234673678875,
-0.03550473228096962,
0.010747030377388,
-0.009882855229079723,
0.026697499677538872,
0.032673180103302,
-0.014599045738577843,
-0.00960705429315567,
-0.016685936599969864,
0.030595481395721436,
0.012686828151345253,
0.02710200659930706,
-0.009579474106431007,
0.008260228671133518,
0.019140562042593956,
0.005823989398777485,
-0.02050117775797844,
-0.016823837533593178,
0.005074731074273586,
-0.00871529895812273,
0.0511518195271492,
0.0015732126776129007,
0.06917079538106918,
0.03756404295563698,
-0.003920965362340212,
-0.04832026734948158,
0.0911245197057724,
-0.028793582692742348,
0.044606152921915054,
0.09634634852409363,
0.05251243710517883,
0.051225367933511734,
-0.012263934127986431,
0.06795726716518402,
-0.0283706896007061,
0.05858004838228226,
-0.014148571528494358,
0.007060495670884848,
-0.03554150462150574,
0.014120991341769695,
-0.004785140510648489,
-0.02954743802547455,
-0.015141453593969345,
-0.03107353486120701,
-0.011096377857029438,
0.028940677642822266,
0.0006130817928351462,
0.0009727717260830104,
0.020170217379927635,
-0.0057274592109024525,
0.02480366826057434,
0.007749997079372406,
0.009671407751739025,
0.010553970001637936,
0.029308412224054337,
-0.0291245449334383,
0.039126913994550705,
-0.07255394756793976,
0.056189775466918945,
0.06600827723741531,
0.0004990267334505916,
0.04846736043691635,
0.006982352118939161,
-0.03311445936560631,
0.012245547026395798,
0.08935939520597458,
0.0038612084463238716,
0.03449346125125885,
-0.03909013792872429,
0.062294162809848785,
0.01588611491024494,
0.004702400416135788,
-0.037104375660419464,
0.00018559081945568323,
-0.001046893186867237,
0.04151718318462372,
-0.006095193326473236,
0.07012689858675003,
-0.035670213401317596,
-0.014553078450262547,
0.009910435415804386,
-0.03743533417582512,
0.02684459276497364,
-0.005869956221431494,
0.06273544579744339,
-0.044459059834480286,
0.010287363082170486,
0.08546141535043716,
-0.0038083468098193407,
0.05170341953635216,
-0.008637155406177044,
0.0007917775656096637,
-0.00948754046112299,
0.03883272409439087,
-0.011932972818613052,
0.0220272745937109,
-0.07321586459875107,
-0.0062744636088609695,
-0.08825619518756866,
0.011923779733479023,
0.017182378098368645,
0.017118023708462715,
0.016584809869527817,
-0.00465873209759593,
0.002137454692274332,
-0.0023109791800379753,
-0.04412809759378433,
-0.05254920944571495,
0.008549818769097328,
0.01663077622652054,
-0.038501765578985214,
0.04718029126524925,
-0.0011244621127843857,
0.019765710458159447,
0.04085526242852211,
0.008807232603430748,
-0.04894541576504707,
0.005258598364889622,
0.0049873944371938705,
0.04173782467842102,
-0.04718029126524925,
0.02938195876777172,
-0.03298575431108475,
0.014396791346371174,
0.042289428412914276,
-0.0022592665627598763,
0.008591189049184322,
0.034033793956041336,
-0.06262512505054474,
-0.0707152783870697,
-0.02621944434940815,
0.03451184928417206,
-0.020078284665942192,
0.036718253046274185,
-0.04692287743091583,
-0.0152058070525527,
-0.027175553143024445,
-0.02544720284640789,
0.036607932299375534,
-0.0012652352452278137,
-0.009974788874387741,
-0.0008228051592595875,
0.009450767189264297,
-0.03247092664241791,
0.025410428643226624,
-0.060529038310050964,
-0.029198091477155685,
0.05972002446651459,
-0.016621584072709084,
-0.023829173296689987,
0.014093411155045033,
-0.06494185328483582,
0.003941650502383709,
0.050085391849279404,
-0.005851569585502148,
0.029050996527075768,
0.054792389273643494,
-0.046518370509147644,
-0.013633743859827518,
0.05538076162338257,
-0.006040033418685198,
0.011500885710120201,
0.0554543100297451,
0.06016130745410919,
0.0040542688220739365,
0.005929713137447834,
-0.010581550188362598,
0.011206697672605515,
0.02621944434940815,
0.0008262526826001704,
0.02802134118974209,
0.11811620742082596,
-0.07123010605573654,
-0.010434456169605255,
0.005635525565594435,
0.002124813850969076,
-0.03337187319993973,
-0.058469727635383606,
0.037600815296173096,
0.027800701558589935,
-0.01622626930475235,
0.03410734236240387,
-0.02316725067794323,
0.043981004506349564,
0.02951066568493843,
-0.00659163435921073,
-0.06328704953193665,
-0.02493237517774105,
-0.0002668945526238531,
0.023498211055994034,
0.06111741438508034,
-0.00524480827152729,
0.02886713109910488,
-0.005676895845681429,
0.0009969043312594295,
0.005470045376569033,
-0.016538843512535095,
-0.03993592783808708,
-0.020666658878326416,
0.02802134118974209,
-0.011859426274895668,
0.019379589706659317,
-0.02136535383760929,
0.0043553514406085014,
-0.027157166972756386,
-0.017053671181201935,
0.004008301999419928,
0.01846025325357914,
-0.005290775094181299,
-0.004123219288885593,
0.024270454421639442,
-0.02598041668534279
] |
719,735
|
ibm_platform_services.iam_identity_v1
|
list_versions_of_profile_template
|
List trusted profile template versions.
List the versions of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property. If specified, the
returned templated are sorted according to this property.
:param str order: (optional) Optional sort order.
:param str include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateList` object
|
def list_versions_of_profile_template(
self,
template_id: str,
*,
limit: Optional[str] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
List trusted profile template versions.
List the versions of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional Prev or Next page token returned
from a previous query execution. Default is start with first page.
:param str sort: (optional) Optional sort property. If specified, the
returned templated are sorted according to this property.
:param str order: (optional) Optional sort order.
:param str include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateList` object
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_versions_of_profile_template',
)
headers.update(sdk_headers)
params = {
'limit': limit,
'pagetoken': pagetoken,
'sort': sort,
'order': order,
'include_history': include_history,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_templates/{template_id}/versions'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, limit: Optional[str] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.014971683733165264,
-0.06333187222480774,
-0.008461658842861652,
-0.03298535197973251,
-0.026369955390691757,
0.03793315216898918,
-0.024977240711450577,
0.004134621936827898,
-0.016657602041959763,
-0.006748253013938665,
0.020597519353032112,
-0.014440253376960754,
-0.07352068275213242,
-0.0748034417629242,
-0.036888618022203445,
0.023144720122218132,
0.04456687346100807,
0.014861732721328735,
0.021587079390883446,
0.00712850084528327,
0.028367402032017708,
-0.005016522016376257,
-0.03457964211702347,
0.023749452084302902,
0.055525340139865875,
-0.045556433498859406,
0.01575966738164425,
-0.05922703072428703,
0.03815305605530739,
0.023841077461838722,
-0.03269214555621147,
0.05585519224405289,
0.029925042763352394,
0.05365616828203201,
-0.04878166690468788,
-0.0236395001411438,
0.022888168692588806,
0.015466464683413506,
-0.07681921869516373,
0.0769658163189888,
0.011764775030314922,
0.005149379838258028,
0.04368726536631584,
0.019039876759052277,
0.021623728796839714,
-0.001270165084861219,
-0.010500336065888405,
-0.031922489404678345,
0.0026227934285998344,
-0.029595188796520233,
-0.001540461671538651,
0.031042879447340965,
-0.02442748472094536,
-0.03685196489095688,
-0.03069470077753067,
-0.00928629282861948,
-0.00643214350566268,
-0.021532103419303894,
-0.011627336032688618,
0.04387051612138748,
0.029045432806015015,
-0.008232593536376953,
-0.02035929076373577,
0.005025684833526611,
-0.027322866022586823,
-0.03406653553247452,
0.008127223700284958,
0.0039147199131548405,
-0.055891845375299454,
-0.011581523343920708,
0.004091099835932255,
0.024079306051135063,
0.022283436730504036,
-0.025563646107912064,
0.03457964211702347,
-0.02035929076373577,
0.03490949422121048,
-0.036980241537094116,
-0.0682796761393547,
-0.007123919203877449,
-0.0022482722997665405,
-0.04969792813062668,
0.0017030977178364992,
0.044676825404167175,
0.031189480796456337,
0.011508222669363022,
0.0573212094604969,
-0.09052646160125732,
0.024958914145827293,
0.0849556028842926,
-0.03170258551836014,
0.0027006755117326975,
-0.04779210686683655,
-0.029741790145635605,
0.03833630681037903,
0.007692000363022089,
0.03415816277265549,
-0.012442806735634804,
-0.03445136547088623,
0.005438001360744238,
-0.010821027681231499,
-0.07527989894151688,
0.0061206151731312275,
-0.021953582763671875,
0.04900157079100609,
-0.02939361147582531,
-0.029760116711258888,
0.041524890810251236,
0.03296702355146408,
0.04126833751797676,
0.022448362782597542,
-0.01739060878753662,
0.011544873006641865,
0.016886666417121887,
0.0808507576584816,
0.0039238822646439075,
0.00717431353405118,
-0.0014877767534926534,
-0.0007965732947923243,
-0.042734354734420776,
0.03283874690532684,
-0.01564055308699608,
0.006102290004491806,
0.01140743400901556,
-0.0919191762804985,
-0.007678256370127201,
0.03439639136195183,
-0.004796619527041912,
-0.002844986505806446,
0.015952082350850105,
-0.05922703072428703,
0.003543634433299303,
-0.044530224055051804,
0.011480734683573246,
0.002675478346645832,
-0.053399618715047836,
-0.01258940901607275,
-0.005117310676723719,
0.04071858152747154,
0.02063416875898838,
-0.02239338867366314,
0.04427367076277733,
-0.007261358201503754,
0.02633330412209034,
-0.05252000689506531,
-0.022594964131712914,
0.05596514418721199,
0.0464726947247982,
0.05596514418721199,
-0.007875252515077591,
0.013707245700061321,
-0.01096762903034687,
-0.01289177406579256,
-0.06362507492303848,
-0.01268103439360857,
-0.00293203117325902,
0.03815305605530739,
-0.07278767228126526,
0.023309648036956787,
-0.03720014542341232,
0.005616672337055206,
-0.0013686629245057702,
0.026131726801395416,
0.004432406276464462,
-0.008534959517419338,
-0.022979794070124626,
0.007490423507988453,
0.0006952120456844568,
-0.055745240300893784,
0.012177092023193836,
0.019626284018158913,
0.028807206079363823,
0.023401273414492607,
0.02587517537176609,
0.04716905206441879,
0.00379102467559278,
0.048708368092775345,
-0.011847238056361675,
-0.03166593611240387,
0.01467848103493452,
-0.027047988027334213,
-0.06003333628177643,
-0.03677866607904434,
0.020285990089178085,
-0.02739616669714451,
0.002922868588939309,
0.0027052569203078747,
0.06538429111242294,
-0.060253240168094635,
0.017986178398132324,
-0.06787651777267456,
-0.0602898895740509,
0.01739060878753662,
0.04973457753658295,
-0.052410054951906204,
-0.047132398933172226,
0.003300825599581003,
-0.03523935005068779,
-0.02393270470201969,
-0.018856626003980637,
-0.0242075826972723,
-0.056075096130371094,
0.020011112093925476,
-0.07014884799718857,
0.02193525806069374,
0.041195038706064224,
-0.003016785252839327,
-0.05090739205479622,
0.032014116644859314,
-0.03316860273480415,
0.020762445405125618,
0.005777017679065466,
0.004304130095988512,
0.050467584282159805,
-0.06879278272390366,
-0.0009632180444896221,
0.0414515919983387,
-0.02206353470683098,
-0.014339464716613293,
-0.039105966687202454,
0.04702245071530342,
-0.032252341508865356,
-0.06586074829101562,
-0.012552758678793907,
-0.022888168692588806,
0.04896492138504982,
-0.005680810194462538,
0.024354184046387672,
-0.03529432415962219,
-0.003085504751652479,
0.08568861335515976,
-0.00015290084411390126,
0.04588628560304642,
0.017793763428926468,
-0.06065639480948448,
-0.037859853357076645,
0.008324219845235348,
-0.004304130095988512,
0.013835522346198559,
0.053326316177845,
0.016007058322429657,
0.040865182876586914,
0.07667261362075806,
0.025526996701955795,
-0.009158016182482243,
0.014128725044429302,
-0.05772436410188675,
-0.022686591371893883,
0.006097708363085985,
-0.04390716552734375,
-0.0015484789619222283,
-0.013578969053924084,
0.01938805542886257,
0.002032951219007373,
0.002961809514090419,
-0.05699135363101959,
0.04823191091418266,
-0.011205856688320637,
0.03245392069220543,
0.0036192259285598993,
-0.0582374669611454,
-0.004906571004539728,
-0.05175035074353218,
-0.06853622943162918,
-0.04420036822557449,
-0.055708590894937515,
-0.04969792813062668,
0.06336852163076401,
-0.02197190746665001,
0.08532210439443588,
-0.03668703883886337,
-0.029980018734931946,
-0.030658051371574402,
0.012003002688288689,
-0.004824107512831688,
-0.012653547339141369,
-0.0076736751943826675,
0.03884941339492798,
-0.026718134060502052,
-0.026534881442785263,
-0.03529432415962219,
-0.025893500074744225,
0.012736010365188122,
0.03269214555621147,
0.07234787195920944,
-0.00472790002822876,
-0.027377840131521225,
0.023382948711514473,
-0.006198497023433447,
-0.015072472393512726,
0.029320310801267624,
0.017014943063259125,
-0.014935033395886421,
-0.0669236108660698,
-0.08715462684631348,
-0.015979569405317307,
-0.023804428055882454,
-0.00562125351279974,
0.07370392978191376,
0.004091099835932255,
-0.005011940840631723,
-0.01620863378047943,
0.010289596393704414,
-0.021898606792092323,
-0.011691474355757236,
-0.017280658707022667,
0.021825306117534637,
-0.042074646800756454,
0.04126833751797676,
-0.04112173616886139,
-0.010042206384241581,
0.016611788421869278,
0.009712353348731995,
-0.029888391494750977,
-0.015347350388765335,
0.019131503999233246,
-0.007023131009191275,
-0.05317971482872963,
0.014843408018350601,
0.0280925240367651,
-0.04148824140429497,
0.05809086561203003,
0.04335740953683853,
0.035074423998594284,
0.06663040816783905,
-0.03179421275854111,
-0.007316334173083305,
0.002915996592491865,
-0.01618114672601223,
0.011856401339173317,
0.005328050348907709,
-0.01602538302540779,
0.04372391477227211,
0.03256387263536453,
-0.003949079662561417,
0.034744568169116974,
0.011902214027941227,
0.026699809357523918,
-0.017793763428926468,
0.02893548272550106,
0.06179255619645119,
-0.09551091492176056,
0.028953807428479195,
0.007724069524556398,
-0.017051594331860542,
0.03826300799846649,
0.07025879621505737,
0.005089822690933943,
0.010454523377120495,
-0.013514830730855465,
-0.016199471428990364,
-0.0028724742587655783,
0.028898831456899643,
0.044530224055051804,
0.014449415728449821,
-0.05164039880037308,
-0.010197971016168594,
0.0011516239028424025,
0.004847013857215643,
0.010866840369999409,
-0.06626390665769577,
0.004675215110182762,
-0.021385502070188522,
-0.01615365967154503,
0.03468959406018257,
-0.050980690866708755,
0.05120059475302696,
-0.04497002810239792,
-0.052923161536455154,
0.022228460758924484,
-0.05776101350784302,
-0.022283436730504036,
-0.012571083381772041,
-0.04478677734732628,
0.025142166763544083,
-0.06281876564025879,
-0.06256221234798431,
0.022888168692588806,
-0.0034061954356729984,
-0.0023845660034567118,
0.020762445405125618,
0.0020524216815829277,
0.05164039880037308,
-0.00161147175822407,
-0.013432367704808712,
0.011462409049272537,
0.0012861995492130518,
-0.0032183623407036066,
0.050797440111637115,
0.009295455180108547,
-0.012900937348604202,
-0.0026708971709012985,
-0.00014316558372229338,
-0.01988283544778824,
0.050614189356565475,
0.019351406022906303,
-0.01918647810816765,
0.007403378840535879,
0.055012233555316925,
-0.020670820027589798,
0.0395091213285923,
0.026699809357523918,
0.03578910604119301,
0.04317415878176689,
-0.03014494478702545,
-0.0731908306479454,
0.041561540216207504,
-0.042074646800756454,
-0.043650612235069275,
-0.019113177433609962,
0.009235898032784462,
-0.035587526857852936,
-0.03597235679626465,
-0.03881276398897171,
0.024170931428670883,
0.09741673618555069,
-0.07975124567747116,
0.08847404271364212,
-0.03829965740442276,
0.004327036440372467,
0.043980468064546585,
-0.011828913353383541,
0.03732842206954956,
0.028349075466394424,
-0.02781764604151249,
0.040168825536966324,
-0.02869725413620472,
-0.02572857402265072,
-0.0483052134513855,
-0.0011751031270250678,
0.07945804297924042,
-0.023346297442913055,
0.041891396045684814,
0.010601124726235867,
0.05050423741340637,
0.03161096200346947,
0.008709048852324486,
0.019168153405189514,
-0.04478677734732628,
0.0018829137552529573,
0.06718016415834427,
0.04603289067745209,
0.01703326776623726,
0.009813142009079456,
0.025581970810890198,
0.030071644112467766,
-0.04379721358418465,
-0.06424812972545624,
0.0011149735655635595,
-0.01356064435094595,
-0.031171156093478203,
-0.022136835381388664,
0.029741790145635605,
0.004475928843021393,
-0.022833192721009254,
-0.02127555012702942,
-0.0034611711744219065,
0.04966127872467041,
-0.02475733868777752,
-0.03732842206954956,
0.01128831971436739,
0.006826134864240885,
0.02406098134815693,
-0.03148268535733223,
0.0027854295913130045,
-0.08913374692201614,
-0.0158146433532238,
0.007733232341706753,
-0.016410211101174355,
0.00562125351279974,
-0.0018050316721200943,
0.004123168997466564,
-0.026205027475953102,
0.06116950139403343,
0.0662272498011589,
0.07201801240444183,
-0.006070220842957497,
-0.04090183600783348,
-0.022796541452407837,
0.01377138402312994,
-0.053399618715047836,
-0.002831242512911558,
0.011911376379430294,
0.030841302126646042,
0.004869920667260885,
-0.053949374705553055,
-0.01938805542886257,
0.016804203391075134,
-0.015374838374555111,
-0.023859404027462006,
-0.011398270726203918,
0.022594964131712914,
-0.016382724046707153,
0.050650838762521744,
-0.0385928601026535,
0.0030122038442641497,
-0.041891396045684814,
-0.014705969020724297,
0.045373182743787766,
0.01145324669778347,
0.059556882828474045,
-0.020469242706894875,
0.07311752438545227,
0.017353959381580353,
0.03177588805556297,
0.07601290941238403,
0.04991782829165459,
0.012974238023161888,
0.0031336082611232996,
0.005616672337055206,
-0.0013881335034966469,
0.026278328150510788,
0.014128725044429302,
0.01641937345266342,
0.00020601527648977935,
0.04881832003593445,
-0.03348013013601303,
0.05820081755518913,
-0.002084490843117237,
0.02360285073518753,
0.0076965815387666225,
0.012607733719050884,
-0.007962296716868877,
-0.02521546743810177,
0.04614283889532089,
0.000467006117105484,
-0.07498669624328613,
-0.044860076159238815,
0.03298535197973251,
0.05757776275277138,
0.002210476668551564,
0.01553060207515955,
-0.014660155400633812,
-0.07377723604440689,
-0.048012010753154755,
-0.07960464805364609,
-0.06802312284708023,
-0.010454523377120495,
0.058164168149232864,
0.006739090196788311,
-0.03903266414999962,
0.05662485212087631,
-0.060949597507715225,
-0.02439083345234394,
0.007490423507988453,
-0.0012827636674046516,
-0.048708368092775345,
0.013899659737944603,
-0.060766346752643585,
-0.03851955756545067,
0.06890273094177246,
-0.03597235679626465,
0.027249563485383987,
0.01711573265492916,
-0.07784542441368103,
0.07304422557353973,
-0.021825306117534637,
-0.02999834343791008,
-0.020560868084430695,
0.00930003635585308,
0.005570859182626009,
0.02156875468790531,
-0.0009632180444896221,
-0.03269214555621147,
-0.017555536702275276,
0.044676825404167175,
-0.0006682969396933913,
0.013789708726108074,
-0.02560029737651348,
-0.028440702706575394,
0.06424812972545624,
0.01769297569990158,
-0.045409832149744034,
0.007247614674270153,
0.002909124596044421,
-0.013670595362782478,
0.059190377593040466,
0.023529550060629845,
0.10027546435594559,
0.02393270470201969,
-0.009084715507924557,
-0.006707021035254002,
0.11559532582759857,
-0.0404253788292408,
0.01597040705382824,
0.07894493639469147,
0.052739910781383514,
0.049587976187467575,
0.01745474711060524,
0.03840960934758186,
-0.04702245071530342,
0.03135440871119499,
-0.008928950875997543,
-0.006968155037611723,
-0.01796785369515419,
0.019552983343601227,
-0.00875944271683693,
-0.0076736751943826675,
-0.02156875468790531,
-0.02757941745221615,
-0.01409207470715046,
0.04672924801707268,
0.02466571144759655,
0.009776491671800613,
0.0041071344166994095,
-0.058494020253419876,
0.004947802517563105,
0.029173709452152252,
-0.008296731859445572,
0.0059740133583545685,
0.05050423741340637,
0.01477010641247034,
0.012873449362814426,
-0.08224347233772278,
0.052006904035806656,
0.062012460082769394,
-0.01101344171911478,
0.06483453512191772,
0.0013228500029072165,
-0.03727344423532486,
-0.00489282701164484,
0.04650934413075447,
-0.005708298180252314,
0.05486563220620155,
-0.026278328150510788,
0.029980018734931946,
0.018407657742500305,
0.010665263049304485,
-0.0105919623747468,
-0.011911376379430294,
-0.007957715541124344,
0.032527219504117966,
0.01520991139113903,
0.03796980157494545,
-0.0027808481827378273,
-0.00737130967900157,
0.02702966146171093,
-0.04599623754620552,
0.008864812552928925,
-0.006079383194446564,
0.020945698022842407,
-0.042587753385305405,
-0.00048075002268888056,
0.07762552797794342,
-0.023291321471333504,
0.05479233339428902,
-0.018490120768547058,
0.004732481669634581,
0.04760885611176491,
0.034194812178611755,
0.014229513704776764,
0.020762445405125618,
-0.030804652720689774,
-0.00006163278158055618,
-0.09353179484605789,
0.002909124596044421,
0.035917382687330246,
0.014486066065728664,
0.021825306117534637,
-0.006051895674318075,
0.04313750937581062,
-0.023346297442913055,
-0.004993615671992302,
-0.040865182876586914,
0.023108070716261864,
0.013991286046802998,
-0.02823912538588047,
0.016923317685723305,
-0.031317759305238724,
0.002641118597239256,
0.02411595545709133,
0.0494413748383522,
-0.0335167795419693,
-0.003935335669666529,
0.023108070716261864,
0.0001419486798113212,
-0.04071858152747154,
-0.01563139073550701,
-0.03630220890045166,
0.02972346544265747,
0.03763994947075844,
-0.008589934557676315,
-0.00762786203995347,
0.016950804740190506,
-0.10027546435594559,
-0.04335740953683853,
0.0017408934654667974,
0.043284110724925995,
-0.04497002810239792,
-0.005030266009271145,
-0.053069762885570526,
-0.02160540409386158,
-0.01360645703971386,
-0.02221013605594635,
0.003353510517627001,
-0.008090573363006115,
-0.026205027475953102,
-0.01219541672617197,
-0.009203828871250153,
-0.022558314725756645,
0.009125947020947933,
-0.04599623754620552,
-0.041524890810251236,
0.06322192400693893,
-0.04046202823519707,
0.015136610716581345,
0.015393163077533245,
-0.061645954847335815,
0.027945922687649727,
-0.0012896355474367738,
0.002888508839532733,
-0.004915733356028795,
0.08502890169620514,
-0.04896492138504982,
0.022411713376641273,
0.04181809350848198,
-0.009203828871250153,
0.023621175438165665,
0.07843182981014252,
0.01796785369515419,
0.03701689466834068,
0.003912428859621286,
-0.01938805542886257,
0.01031708437949419,
0.01988283544778824,
0.013487343676388264,
0.05944693088531494,
0.053399618715047836,
-0.05864062160253525,
-0.006496281363070011,
0.013780546374619007,
0.019534656777977943,
-0.0256919227540493,
-0.08297648280858994,
0.034194812178611755,
-0.0037749900948256254,
-0.009226735681295395,
0.029247010126709938,
-0.0036467136815190315,
0.00765993120148778,
0.013917985372245312,
0.005964851006865501,
-0.05981343612074852,
-0.04027877748012543,
-0.009730678051710129,
0.0261500533670187,
0.09411820024251938,
-0.03991227224469185,
0.054315876215696335,
-0.0031129925046116114,
0.027616068720817566,
0.007568305358290672,
-0.04317415878176689,
-0.05614839494228363,
-0.007609536871314049,
0.030474798753857613,
0.008589934557676315,
0.005763273686170578,
-0.052373405545949936,
-0.0395091213285923,
-0.0305480994284153,
-0.019681258127093315,
0.01597040705382824,
-0.02411595545709133,
-0.004732481669634581,
0.012653547339141369,
0.0008818999631330371,
-0.0202126894146204
] |
719,736
|
ibm_platform_services.iam_identity_v1
|
lock_api_key
|
Lock the API key.
Locks an API key by ID. Users can manage user API keys for themself, or service ID
API keys for service IDs that are bound to an entity they have access to. In case
of service IDs and their API keys, a user must be either an account owner, a IBM
Cloud org manager or IBM Cloud space developer in order to manage service IDs of
the entity.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def lock_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Lock the API key.
Locks an API key by ID. Users can manage user API keys for themself, or service ID
API keys for service IDs that are bound to an entity they have access to. In case
of service IDs and their API keys, a user must be either an account owner, a IBM
Cloud org manager or IBM Cloud space developer in order to manage service IDs of
the entity.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='lock_api_key',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/apikeys/{id}/lock'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0006202070508152246,
-0.022552983835339546,
-0.04657881334424019,
0.047020670026540756,
0.01645907573401928,
-0.029751528054475784,
-0.016265762969851494,
0.03161099925637245,
-0.0027569872327148914,
0.01251000165939331,
-0.024265168234705925,
-0.09676610678434372,
0.04878808557987213,
-0.01870516873896122,
-0.03921457380056381,
-0.0183093398809433,
0.03866225853562355,
0.0027086592745035887,
-0.012822981923818588,
-0.05118146538734436,
0.06668318808078766,
0.057882923632860184,
0.021190598607063293,
0.006305629853159189,
0.04540053755044937,
0.06929749250411987,
0.05965033918619156,
0.02293960563838482,
0.019091790542006493,
-0.029217619448900223,
0.01982821524143219,
0.03895682841539383,
0.027358150109648705,
0.01630258560180664,
-0.021632453426718712,
-0.02124583162367344,
0.019091790542006493,
0.025645963847637177,
-0.09787074476480484,
-0.013881591148674488,
-0.009987750090658665,
0.08233219385147095,
0.02166927419602871,
-0.07058623433113098,
0.006093908101320267,
0.0009170779376290739,
-0.026916295289993286,
0.019091790542006493,
0.00584076251834631,
0.029733117669820786,
0.027192454785108566,
-0.01661556586623192,
-0.012500796467065811,
-0.05442173033952713,
-0.0042045204900205135,
0.031132321804761887,
-0.013209604658186436,
-0.04529007151722908,
0.0026281129103153944,
-0.0302117932587862,
0.0043402984738349915,
0.01378953829407692,
0.016689207404851913,
0.03196080029010773,
-0.014857352711260319,
-0.01841980405151844,
-0.05935576930642128,
0.0661308690905571,
-0.008045431226491928,
0.030451130121946335,
0.013264836743474007,
-0.037502389401197433,
-0.028223447501659393,
0.0036545037291944027,
-0.005905199330300093,
0.01661556586623192,
-0.0732373595237732,
-0.013347684405744076,
-0.007709437981247902,
0.016210531815886497,
0.026548083871603012,
-0.09389404952526093,
-0.005325265694409609,
-0.0182725191116333,
-0.028186626732349396,
-0.00027831646730192006,
-0.03330477327108383,
-0.03457510471343994,
0.002536060055717826,
-0.046505171805620193,
-0.017618943005800247,
0.026953116059303284,
-0.043817225843667984,
0.03507218882441521,
0.029420137405395508,
-0.006706060376018286,
0.04160795360803604,
-0.020785566419363022,
-0.010236293077468872,
0.04853033646941185,
-0.0038961428217589855,
-0.004602649714797735,
0.0023231874220073223,
-0.01505066454410553,
0.05158649757504463,
-0.07117537409067154,
-0.0027938082348555326,
0.018889274448156357,
-0.009619537740945816,
-0.002609702292829752,
0.02152198925614357,
-0.04440636560320854,
-0.06440027058124542,
0.0224977508187294,
-0.030764110386371613,
0.05607868358492851,
0.0050951330922544,
0.014397088438272476,
0.03615841642022133,
0.017195498570799828,
-0.002908874535933137,
-0.07842914760112762,
0.014240598306059837,
0.008395233191549778,
0.03442781791090965,
-0.003953676205128431,
-0.0210801362991333,
0.06289060413837433,
0.03717099875211716,
-0.015510929748415947,
-0.04186570271849632,
-0.002287516836076975,
-0.005490961018949747,
0.04425907880067825,
0.06005537137389183,
-0.00800861045718193,
0.00006030190343153663,
0.05051868408918381,
0.014295829460024834,
0.052249278873205185,
0.0056290403008461,
-0.015400465577840805,
-0.01730596274137497,
0.004692401271313429,
0.03008291870355606,
-0.04768345132470131,
-0.05467947944998741,
-0.02281073108315468,
0.019036559388041496,
-0.008786458522081375,
0.02082238718867302,
0.01643146015703678,
0.034538283944129944,
0.045069146901369095,
-0.01605404168367386,
-0.04418543726205826,
0.01370669063180685,
-0.035237886011600494,
0.07636716216802597,
-0.016422253102064133,
0.029733117669820786,
-0.03461192548274994,
0.08682437986135483,
-0.06160186231136322,
0.018355367705225945,
-0.025369804352521896,
-0.112451933324337,
0.003157417755573988,
0.011957683600485325,
0.025664374232292175,
-0.017950333654880524,
0.027928877621889114,
-0.019239075481891632,
-0.007336623501032591,
-0.01744404248893261,
-0.037336692214012146,
-0.004625662695616484,
-0.01728755235671997,
0.008574736304581165,
0.043117623776197433,
0.016781261190772057,
0.02544344775378704,
0.013476558029651642,
0.016146095469594002,
-0.015943577513098717,
0.001843361184000969,
0.029346494004130363,
0.05600504204630852,
-0.007852120324969292,
0.015455697663128376,
-0.021264242008328438,
-0.03770490735769272,
0.043964508920907974,
0.0015602982603013515,
-0.0717645138502121,
0.009812848642468452,
0.013154372572898865,
-0.10641326010227203,
0.013412120752036572,
0.024301990866661072,
0.021724507212638855,
-0.021337883546948433,
0.03825722262263298,
0.0533907376229763,
0.08675073832273483,
-0.07205908000469208,
0.022589804604649544,
-0.047757092863321304,
-0.000003110384341198369,
0.012012915685772896,
0.013807948678731918,
-0.017213908955454826,
-0.05320663005113602,
0.010521656833589077,
-0.02444927580654621,
0.02559073269367218,
0.07776636630296707,
0.0029848183039575815,
0.039030469954013824,
-0.01786748506128788,
0.011267286725342274,
0.002618907717987895,
-0.01856708899140358,
-0.024265168234705925,
0.00786592811346054,
0.013734306208789349,
0.05965033918619156,
0.013016292825341225,
-0.028186626732349396,
-0.02546185813844204,
0.040429674088954926,
-0.0005528932670131326,
-0.05235974118113518,
-0.03667391091585159,
-0.05585775524377823,
-0.09963815659284592,
-0.030985036864876747,
-0.06211736053228378,
0.005108941346406937,
-0.021742917597293854,
0.0786500796675682,
0.0274133812636137,
0.06539444625377655,
0.037889011204242706,
-0.06638862192630768,
-0.023878546431660652,
-0.0716172307729721,
0.012150995433330536,
0.013135962188243866,
-0.04978225752711296,
0.00643910700455308,
-0.02503841370344162,
-0.002858245512470603,
0.025682784616947174,
0.027744771912693977,
-0.03757603093981743,
0.00042862174450419843,
-0.042970336973667145,
0.009444637224078178,
0.02518569864332676,
-0.04440636560320854,
0.03700530156493187,
-0.08513060957193375,
0.015336028300225735,
0.003527930937707424,
0.00516877556219697,
0.006075497716665268,
0.047020670026540756,
0.0661676898598671,
0.011294902302324772,
0.038883183151483536,
0.03472238779067993,
0.00200330326333642,
0.005564603488892317,
0.006526557262986898,
0.028775766491889954,
0.0001937427878146991,
0.019036559388041496,
-0.0015211757272481918,
0.004356408026069403,
-0.0004890315467491746,
-0.04087153077125549,
0.032991793006658554,
-0.013605432584881783,
0.006646226160228252,
-0.05987126752734184,
-0.00046831960207782686,
0.057588353753089905,
0.0017190896905958652,
-0.00906721968203783,
0.005716491024941206,
0.03954596444964409,
-0.0005402360111474991,
-0.007474703248590231,
-0.027045169845223427,
0.015474108047783375,
-0.06686729192733765,
-0.04175523668527603,
0.037060536444187164,
-0.03183192387223244,
-0.001453286618925631,
0.05825113505125046,
-0.008321590721607208,
-0.04543735831975937,
0.005776325240731239,
-0.02404424175620079,
0.007009835448116064,
0.02224000357091427,
-0.0422339141368866,
0.023031659424304962,
-0.00749311363324523,
-0.01914702169597149,
-0.04208662733435631,
-0.10140557587146759,
-0.005642848554998636,
-0.03405960649251938,
0.030985036864876747,
0.0026948514860123396,
0.009039604105055332,
0.04889855161309242,
-0.017950333654880524,
0.0032264573965221643,
-0.00281452015042305,
-0.024854307994246483,
0.052396561950445175,
-0.0225161612033844,
0.0956614688038826,
-0.02770795114338398,
0.009582716971635818,
0.03807311877608299,
0.0030929804779589176,
0.02800252102315426,
-0.00021474238019436598,
-0.044921860098838806,
-0.05320663005113602,
-0.06653590500354767,
0.04333854839205742,
-0.04882490634918213,
0.014369471929967403,
0.07235365360975266,
0.02152198925614357,
-0.07437881827354431,
0.010181060992181301,
0.022847553715109825,
-0.02446768619120121,
0.014949406497180462,
0.05600504204630852,
0.007065067067742348,
0.04724159464240074,
0.009996955282986164,
0.004386324901133776,
-0.028370732441544533,
0.017950333654880524,
0.0021471360232681036,
0.08800265938043594,
-0.05129192769527435,
-0.003155116457492113,
0.0006599049083888531,
-0.043522655963897705,
-0.018346160650253296,
-0.0064897360280156136,
-0.03560609742999077,
-0.05571047216653824,
0.029199209064245224,
-0.04348583519458771,
0.00621817959472537,
-0.020840797573328018,
-0.04911947622895241,
0.04484821856021881,
-0.0140656977891922,
-0.06248557195067406,
0.010392783209681511,
-0.023455101996660233,
0.04981907829642296,
0.03151894360780716,
0.06937113404273987,
-0.052101995795965195,
0.0033714408054947853,
-0.04768345132470131,
0.03984053432941437,
0.03617682680487633,
-0.06377431005239487,
0.06436344981193542,
0.013025498948991299,
0.03980371356010437,
0.018594704568386078,
0.018116028979420662,
-0.07680901885032654,
0.04764663055539131,
0.02897828258574009,
0.0732373595237732,
-0.041828881949186325,
0.00830318033695221,
0.04529007151722908,
-0.011957683600485325,
0.0014463826082646847,
-0.0050905304960906506,
-0.007410265970975161,
0.03612159565091133,
-0.05733060464262962,
0.017830664291977882,
0.045363716781139374,
0.014093313366174698,
-0.005615232512354851,
0.015409670770168304,
0.023731261491775513,
-0.015013842843472958,
-0.0802702084183693,
-0.03304702416062355,
-0.016762850806117058,
-0.011994505301117897,
-0.005421921145170927,
-0.0059972526505589485,
0.011644703336060047,
0.04304397851228714,
0.028904639184474945,
-0.05710967630147934,
0.050850074738264084,
-0.05869298800826073,
0.036784376949071884,
0.031979210674762726,
0.000876229431014508,
-0.04179205745458603,
-0.025148877874016762,
-0.06771418452262878,
0.02559073269367218,
-0.021190598607063293,
-0.04300715774297714,
0.019202254712581635,
-0.03641616553068161,
0.03906729072332382,
0.034961726516485214,
0.03400437533855438,
0.025425037369132042,
-0.003362235613167286,
0.003028543433174491,
0.020711923018097878,
0.012114173732697964,
0.02938331477344036,
-0.03954596444964409,
0.023142121732234955,
-0.028720533475279808,
-0.0140656977891922,
-0.019588876515626907,
-0.021337883546948433,
0.022387288510799408,
0.012187816202640533,
0.03696848079562187,
0.0816694125533104,
0.027505435049533844,
0.06410570442676544,
0.05725696310400963,
0.022129539400339127,
0.013135962188243866,
-0.03286292031407356,
-0.07540981471538544,
0.0013900002231821418,
-0.013587022200226784,
-0.0034059607423841953,
-0.006379272323101759,
0.025682784616947174,
-0.016090862452983856,
-0.043228086084127426,
0.08225855231285095,
0.0017800747882574797,
0.02181655913591385,
0.014111723750829697,
0.041681595146656036,
0.04414861649274826,
-0.01925748586654663,
0.0151151018217206,
-0.03348887711763382,
0.010714968666434288,
0.024375632405281067,
0.023270996287465096,
0.0506291463971138,
0.02770795114338398,
0.01912861131131649,
-0.02798411063849926,
0.01482973713427782,
-0.026271924376487732,
-0.024651791900396347,
0.029217619448900223,
-0.008445861749351025,
0.029420137405395508,
-0.032329011708498,
0.017066624015569687,
0.008409040980041027,
-0.039030469954013824,
-0.03181351348757744,
0.02334463968873024,
0.0023864738177508116,
-0.022387288510799408,
0.04805166274309158,
-0.02827867865562439,
-0.03249470517039299,
-0.03337841480970383,
-0.014461524784564972,
-0.03582702577114105,
0.0006748635205440223,
0.003907649777829647,
-0.011083180084824562,
0.04046649485826492,
0.004878808744251728,
0.02938331477344036,
0.018355367705225945,
-0.06377431005239487,
-0.029199209064245224,
0.008593146689236164,
0.014875764027237892,
-0.041166096925735474,
-0.04808848351240158,
-0.013200399465858936,
-0.027505435049533844,
0.01032834593206644,
-0.014093313366174698,
-0.06428980827331543,
0.0013900002231821418,
-0.020840797573328018,
-0.02995404414832592,
0.015925167128443718,
0.03689483925700188,
0.06263285875320435,
0.0014855051413178444,
0.012252253480255604,
0.008768047206103802,
0.0012266060803085566,
-0.0843941867351532,
0.011368544772267342,
0.01871437393128872,
-0.05291206017136574,
-0.00042373142787255347,
-0.0006046731141395867,
-0.019993910565972328,
0.007028245832771063,
-0.023455101996660233,
-0.09175842255353928,
0.009329570457339287,
-0.039472322911024094,
-0.04473775625228882,
0.045363716781139374,
0.05655735731124878,
-0.023436691612005234,
-0.0548635832965374,
-0.023970600217580795,
0.02783682569861412,
-0.041681595146656036,
0.043117623776197433,
-0.015363644808530807,
-0.04484821856021881,
0.03532993793487549,
-0.02205589786171913,
0.02965947426855564,
-0.0231789443641901,
-0.0772508755326271,
-0.05004000663757324,
-0.005108941346406937,
-0.031887155026197433,
0.0004346627392806113,
-0.0070374514907598495,
-0.008316988125443459,
0.04963497444987297,
0.048456694930791855,
-0.019754571840167046,
-0.021043313667178154,
-0.0436331182718277,
0.05987126752734184,
0.02768954075872898,
0.03304702416062355,
-0.01784907467663288,
-0.018870864063501358,
-0.04948768764734268,
0.0042206295765936375,
-0.009794438257813454,
-0.04094517230987549,
0.02332622930407524,
0.018208082765340805,
0.011009537614881992,
-0.041718415915966034,
-0.018097618594765663,
-0.0013750415528193116,
-0.009545895271003246,
0.011626292951405048,
-0.03877272084355354,
-0.005951226223260164,
0.02139311470091343,
0.007074272725731134,
0.010972716845571995,
0.051807425916194916,
0.034777622669935226,
-0.058987557888031006,
0.013550200499594212,
0.030874574556946754,
-0.03696848079562187,
-0.008878511376678944,
0.06786146759986877,
0.014452319592237473,
-0.03402278572320938,
0.0295121893286705,
-0.007074272725731134,
0.031187554821372032,
0.041166096925735474,
-0.005334470886737108,
0.03124278597533703,
0.00013462750939652324,
0.02305006980895996,
-0.03205285221338272,
-0.032144904136657715,
-0.005053709261119366,
-0.05147603526711464,
0.014259008690714836,
-0.050445038825273514,
0.038183581084012985,
0.03210808336734772,
-0.0204173531383276,
0.03851497173309326,
-0.0013382204342633486,
-0.008395233191549778,
0.013301657512784004,
-0.07102809101343155,
0.0023231874220073223,
-0.020896028727293015,
-0.025148877874016762,
-0.0007381499162875116,
-0.05961351841688156,
0.0245965588837862,
0.06351656466722488,
-0.0151243070140481,
-0.01898132637143135,
-0.008685199543833733,
-0.0337282158434391,
0.06627815216779709,
0.012767749838531017,
0.0048880139365792274,
0.03991417959332466,
0.019772982224822044,
0.019496824592351913,
0.0005425373092293739,
0.023031659424304962,
-0.0005710162222385406,
0.025830069556832314,
0.019736161455512047,
-0.02660331502556801,
0.039177753031253815,
-0.01363304816186428,
0.06878199428319931,
-0.0231973547488451,
-0.05261749029159546,
-0.02277391031384468,
-0.050297755748033524,
-0.08100663125514984,
0.019202254712581635,
-0.01671682298183441,
-0.05092371627688408,
0.007244570646435022,
-0.022865964099764824,
0.01145139243453741,
0.0183001346886158,
-0.024081062525510788,
-0.02518569864332676,
0.03343364596366882,
0.0112488754093647,
-0.02165086381137371,
-0.04617378115653992,
-0.023878546431660652,
-0.052249278873205185,
-0.03345205634832382,
-0.0365266278386116,
0.058582525700330734,
0.06226464360952377,
-0.006457517389208078,
-0.02560914307832718,
0.00576251745223999,
0.061086367815732956,
0.009923312813043594,
-0.02757907658815384,
0.02222159318625927,
-0.05987126752734184,
0.008652981370687485,
0.0030331460293382406,
-0.02224000357091427,
-0.04101881384849548,
-0.011718345806002617,
-0.02630874514579773,
-0.05177060514688492,
0.0020332203712314367,
0.016505101695656776,
0.005362086929380894,
-0.053685303777456284,
-0.027763182297348976,
0.014130134135484695,
-0.03385709226131439,
0.0064759282395243645,
-0.024854307994246483,
-0.03383868187665939,
-0.05177060514688492,
-0.0073964581824839115,
0.06579948216676712,
-0.030727289617061615,
0.034501463174819946,
0.0003216101322323084,
-0.011736756190657616,
-0.0025981958024203777,
0.011377749964594841,
0.003863924415782094,
-0.00043495040154084563,
0.027487024664878845,
0.008413643576204777,
0.022295234724879265,
-0.0183093398809433,
0.04864080250263214,
0.03328636288642883,
0.05571047216653824,
-0.032678812742233276,
0.044664110988378525,
0.017885897308588028,
-0.054237622767686844,
-0.07747180014848709,
0.04245483875274658,
0.06826649606227875,
-0.023804904893040657,
0.05832477658987045,
-0.03148212283849716,
-0.045216429978609085,
-0.025240931659936905,
0.007783080451190472,
0.013329273089766502,
0.06962888687849045,
0.0020389738492667675,
0.021466758102178574,
0.04753616452217102,
0.04249166324734688,
-0.10228928923606873,
-0.0035831627901643515,
0.05839841812849045,
0.007520729675889015,
-0.03726305067539215,
-0.02262662537395954,
0.03499854728579521,
0.06797192990779877,
-0.016146095469594002,
0.020472586154937744,
0.029051924124360085,
-0.02420993708074093,
-0.030009275302290916,
-0.00003638969792518765,
0.07121219485998154,
0.02980675920844078,
0.013301657512784004,
-0.004425447434186935,
0.005288444459438324,
0.04031921178102493,
-0.003969785291701555,
0.007373444736003876,
0.07051259279251099,
-0.04558464139699936,
-0.03345205634832382,
0.07680901885032654,
0.07997564226388931,
0.03713417798280716,
-0.010972716845571995,
-0.05158649757504463,
-0.009628742933273315,
-0.011304107494652271,
-0.01966251991689205,
0.0035808614920824766,
-0.0006996027659624815,
0.06988663226366043
] |
719,737
|
ibm_platform_services.iam_identity_v1
|
lock_service_id
|
Lock the service ID.
Locks a service ID by ID. Users can manage user API keys for themself, or service
ID API keys for service IDs that are bound to an entity they have access to. In
case of service IDs and their API keys, a user must be either an account owner, a
IBM Cloud org manager or IBM Cloud space developer in order to manage service IDs
of the entity.
:param str id: Unique ID of the service ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def lock_service_id(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Lock the service ID.
Locks a service ID by ID. Users can manage user API keys for themself, or service
ID API keys for service IDs that are bound to an entity they have access to. In
case of service IDs and their API keys, a user must be either an account owner, a
IBM Cloud org manager or IBM Cloud space developer in order to manage service IDs
of the entity.
:param str id: Unique ID of the service ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='lock_service_id',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/serviceids/{id}/lock'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.002468059305101633,
0.003767282934859395,
0.0022480294574052095,
0.02771677076816559,
0.02456883154809475,
-0.042431991547346115,
-0.014407877810299397,
0.054539453238248825,
-0.016866624355316162,
0.023674743250012398,
-0.029132412746548653,
-0.07070756703615189,
0.00495940214022994,
-0.035633187741041183,
-0.009713908657431602,
0.04287903755903244,
0.0023714324925094843,
0.014370624907314777,
-0.0038674024399369955,
-0.05286303535103798,
0.048988647758960724,
0.05811581015586853,
0.032447993755340576,
-0.008358804509043694,
0.053272828459739685,
0.047125961631536484,
0.025220772251486778,
-0.007222565822303295,
-0.011530027724802494,
-0.03697432205080986,
0.020359160378575325,
0.03669491782784462,
0.00011663617624435574,
0.013215758837759495,
-0.016950445249676704,
-0.035893965512514114,
0.004503043834120035,
0.040904588997364044,
-0.10587508976459503,
-0.002689253306016326,
-0.022463995963335037,
0.06750375032424927,
0.01136238593608141,
-0.03691844269633293,
-0.03770076856017113,
-0.007716177962720394,
-0.028182443231344223,
0.02145814523100853,
0.02265026420354843,
0.049212172627449036,
-0.004198029171675444,
0.0017835220787674189,
-0.0342734269797802,
-0.08091509342193604,
-0.0024238205514848232,
0.0286294873803854,
0.012386864051222801,
0.0010791938984766603,
0.009732536040246487,
0.007935043424367905,
0.028182443231344223,
0.010775639675557613,
0.009355342015624046,
0.028368711471557617,
-0.0459710955619812,
-0.029616711661219597,
-0.02419629506766796,
0.045226022601127625,
-0.030082382261753082,
0.03263426199555397,
0.014901489950716496,
-0.03658315911889076,
-0.0196140855550766,
-0.01147414743900299,
0.0053505664691329,
0.010170266963541508,
-0.027455994859337807,
-0.04250650107860565,
-0.0005125297466292977,
0.03302542865276337,
0.006146864499896765,
-0.08367186784744263,
0.014305430464446545,
-0.028983397409319878,
-0.04660440981388092,
0.01709946058690548,
-0.012163341045379639,
0.002426148857921362,
-0.03974972665309906,
-0.040830083191394806,
0.008228416554629803,
0.04392214119434357,
-0.022463995963335037,
-0.007520595565438271,
0.005071163177490234,
0.00006333860801532865,
0.03105098009109497,
-0.010822206735610962,
-0.05025527626276016,
0.06750375032424927,
-0.03786841034889221,
0.01636369898915291,
-0.028815755620598793,
-0.01540441531687975,
0.07178793102502823,
-0.08605610579252243,
-0.02015426568686962,
0.013159878551959991,
0.011269251815974712,
-0.014351997524499893,
0.03786841034889221,
-0.016317130997776985,
-0.02760501019656658,
0.01817050389945507,
-0.01804943010210991,
0.02641289122402668,
0.034645963460206985,
-0.012023639865219593,
0.005704476498067379,
0.03755175322294235,
-0.04619462043046951,
-0.07972297072410583,
0.0030920591671019793,
-0.0002245410141767934,
0.003560059005394578,
-0.0428045317530632,
-0.04652990400791168,
0.055508051067590714,
0.0546884685754776,
0.00295235775411129,
-0.009210983291268349,
-0.01924154907464981,
0.036527276039123535,
0.017667578533291817,
0.07264476269483566,
-0.013318207114934921,
-0.034627337008714676,
0.07204870134592056,
0.01804943010210991,
0.06646064668893814,
0.0322989784181118,
-0.008312237448990345,
-0.08017001301050186,
0.0054250736720860004,
0.044853486120700836,
-0.01620537042617798,
-0.025351159274578094,
0.007422804832458496,
-0.004612477030605078,
0.006496118381619453,
-0.008018864318728447,
-0.009890863671898842,
0.037123337388038635,
0.04228297993540764,
-0.05383163318037987,
-0.05006900802254677,
0.011269251815974712,
-0.05282578244805336,
0.06746649742126465,
-0.027865786105394363,
0.041202619671821594,
-0.023153189569711685,
0.07581133395433426,
-0.03552142530679703,
0.012349610216915607,
-0.013197132386267185,
-0.09142064303159714,
0.009024715051054955,
0.011194744147360325,
-0.01569313183426857,
0.03971247002482414,
0.04999449849128723,
-0.021234624087810516,
-0.02022877335548401,
0.011911878362298012,
-0.04187318682670593,
0.0260589811950922,
-0.0006787162856198847,
-0.019371937960386276,
0.05658840760588646,
0.01524608675390482,
0.04347509890794754,
0.025909965857863426,
0.009113192558288574,
0.003937253262847662,
-0.024065906181931496,
0.027865786105394363,
0.03732823207974434,
0.0007968804566189647,
0.010151640512049198,
-0.02203557826578617,
-0.0459710955619812,
0.0364527702331543,
0.018990086391568184,
-0.06862135976552963,
0.03812918812036514,
0.039637964218854904,
-0.1256195604801178,
0.0030338503420352936,
-0.022780653089284897,
0.021253250539302826,
-0.014771101996302605,
0.05658840760588646,
0.04634363576769829,
0.06355485320091248,
-0.0626235157251358,
0.012172654271125793,
-0.018300892785191536,
0.014808355830609798,
-0.009350685402750969,
-0.046827930957078934,
-0.061617661267519,
-0.01581420563161373,
0.018412653356790543,
0.0113437594845891,
0.011483460664749146,
0.06575282663106918,
-0.01505050528794527,
0.04287903755903244,
-0.006486804690212011,
-0.006724297534674406,
-0.03736548498272896,
-0.0307156965136528,
0.0022503577638417482,
-0.014165729284286499,
-0.0013655818765982985,
0.02613348886370659,
-0.011101610027253628,
0.006938506383448839,
0.02672954834997654,
0.028405966237187386,
0.028703995048999786,
-0.024047279730439186,
-0.019818982109427452,
-0.03542829304933548,
-0.11764726787805557,
0.00318519352003932,
-0.08456595987081528,
0.002617074176669121,
0.01195844542235136,
0.06705670803785324,
0.009387938305735588,
0.07465646415948868,
0.02890889160335064,
-0.04187318682670593,
-0.0428045317530632,
-0.058227572590112686,
0.03757038339972496,
-0.009518327191472054,
-0.0000772723724367097,
-0.02142089232802391,
-0.005518208257853985,
-0.003944238182157278,
0.01844990812242031,
-0.002873193472623825,
-0.044257424771785736,
-0.005574088543653488,
0.028145190328359604,
-0.007045610807836056,
0.04448094964027405,
-0.04075557366013527,
0.0006100297323428094,
-0.06355485320091248,
-0.024978622794151306,
-0.027735399082303047,
0.00007981901580933481,
-0.007799998857080936,
0.024661965668201447,
0.06251174956560135,
-0.0009697610512375832,
0.07696619629859924,
0.01071975938975811,
0.0196140855550766,
0.017900414764881134,
0.010812893509864807,
0.006267939228564501,
0.0034576114267110825,
0.004801074042916298,
-0.012032953090965748,
0.02389826439321041,
-0.002498327987268567,
-0.002819641260430217,
0.01571175828576088,
-0.00443784985691309,
-0.007110804785043001,
-0.012237848713994026,
0.02641289122402668,
0.03010101057589054,
0.01880381815135479,
0.0011513729114085436,
0.0015448654303327203,
0.048280827701091766,
0.008382088504731655,
-0.04749849811196327,
-0.03634100779891014,
0.023767877370119095,
-0.053272828459739685,
-0.05722172185778618,
0.01775139942765236,
-0.01829157955944538,
-0.003969850018620491,
0.028405966237187386,
-0.0175371915102005,
-0.066572405397892,
-0.044592708349227905,
-0.05219246819615364,
0.004107223358005285,
0.024382563307881355,
-0.010477609932422638,
0.0013492833822965622,
-0.005867461673915386,
-0.013066744431853294,
-0.08493849635124207,
-0.10907890647649765,
0.022128712385892868,
0.05591784045100212,
-0.004135163500905037,
-0.021979697048664093,
0.02052680216729641,
0.04004775360226631,
-0.05036703497171402,
0.016726922243833542,
0.032447993755340576,
-0.024047279730439186,
0.04168691858649254,
-0.0035740293096750975,
0.05658840760588646,
0.003834805451333523,
0.006701014004647732,
0.03732823207974434,
0.006347103510051966,
0.0325038768351078,
-0.010328595526516438,
-0.035204771906137466,
0.011455520056188107,
-0.08605610579252243,
0.06847234815359116,
-0.04321432113647461,
-0.01759307086467743,
0.06731747835874557,
0.045263275504112244,
-0.06802530586719513,
-0.0037905664648860693,
0.021234624087810516,
0.021029727533459663,
0.04068106785416603,
0.030603935942053795,
0.0011903729755431414,
0.056364886462688446,
0.022277727723121643,
0.007865192368626595,
-0.021663041785359383,
-0.007972297258675098,
-0.010263401083648205,
0.028443219140172005,
-0.034347936511039734,
-0.017453370615839958,
0.0521179623901844,
-0.01103641651570797,
-0.02950495108962059,
-0.03654590621590614,
-0.03634100779891014,
-0.004936118610203266,
0.024978622794151306,
-0.01275940053164959,
0.010114386677742004,
-0.026245249435305595,
-0.02233360894024372,
0.037402741611003876,
-0.030827457085251808,
-0.05342184379696846,
0.004810387268662453,
-0.02173754945397377,
0.0238796379417181,
0.03477635234594345,
0.06128237769007683,
-0.04842984303832054,
0.0012235520407557487,
-0.0552845299243927,
0.006947819609194994,
0.028834383934736252,
-0.038054678589105606,
0.04258100688457489,
0.004104895051568747,
0.05066506564617157,
0.020042503252625465,
0.007334327325224876,
-0.06921742111444473,
0.019763100892305374,
0.011725610122084618,
0.03416166454553604,
-0.05278852954506874,
0.012479998171329498,
0.048653364181518555,
-0.006696356926113367,
-0.026804056018590927,
0.005234148353338242,
0.0035670441575348377,
0.035893965512514114,
-0.05222972109913826,
0.023525727912783623,
0.03075294941663742,
-0.007557849399745464,
0.019669966772198677,
-0.021961070597171783,
0.023823756724596024,
-0.012135401368141174,
-0.06765276193618774,
-0.006077013909816742,
0.029635338112711906,
0.0038487755227833986,
-0.0098070427775383,
-0.015283340588212013,
-0.005276058800518513,
0.014407877810299397,
0.053012050688266754,
-0.09939293563365936,
0.05710995942354202,
-0.045859336853027344,
0.037775278091430664,
0.01885969750583172,
0.023413965478539467,
-0.03017551824450493,
-0.0119863860309124,
-0.032783277332782745,
0.019427817314863205,
-0.01993074268102646,
-0.006253968924283981,
0.03257838264107704,
-0.03477635234594345,
0.03475772589445114,
0.03971247002482414,
0.03840859234333038,
-0.004263223148882389,
0.02455020509660244,
0.04470447078347206,
0.003583342768251896,
0.026915816590189934,
0.011855998076498508,
-0.05591784045100212,
0.04779652878642082,
-0.03287641331553459,
-0.034012652933597565,
-0.06057455763220787,
-0.015925968065857887,
-0.017304355278611183,
0.01692250557243824,
0.019409190863370895,
0.06929192692041397,
0.017946982756257057,
0.05029252916574478,
0.04321432113647461,
0.0042073423974215984,
0.0348694883286953,
-0.011585908941924572,
-0.05442769080400467,
0.014715221710503101,
0.009956058114767075,
-0.016754863783717155,
-0.005303998943418264,
-0.03043629415333271,
-0.06791353970766068,
-0.052378736436367035,
0.11712571233510971,
0.003392417449504137,
-0.009378625079989433,
0.0196140855550766,
0.022203220054507256,
0.007958327420055866,
-0.03600572422146797,
0.024140413850545883,
-0.05595509707927704,
0.02764226496219635,
0.036471396684646606,
-0.007907102815806866,
0.06605085730552673,
0.004889551550149918,
0.008293610997498035,
-0.009881550446152687,
0.05908440798521042,
0.018086683005094528,
-0.009038684889674187,
0.03354698047041893,
-0.01860823482275009,
0.015329907648265362,
-0.013746624812483788,
0.056774675846099854,
0.009401909075677395,
-0.025258025154471397,
-0.012312356382608414,
0.03134901076555252,
0.0001309701328864321,
-0.04258100688457489,
0.03445969521999359,
0.016373012214899063,
-0.03786841034889221,
-0.034683216363191605,
0.017313668504357338,
0.009546266868710518,
0.008670804090797901,
-0.009518327191472054,
-0.05073957517743111,
0.010645251721143723,
0.01009575929492712,
0.023488473147153854,
-0.005713790189474821,
-0.0558805875480175,
-0.017350923269987106,
0.015190206468105316,
0.014771101996302605,
-0.007357610855251551,
-0.02676680125296116,
-0.0372537262737751,
-0.017173968255519867,
-0.005415760446339846,
-0.017267102375626564,
-0.06385288387537003,
0.009583520703017712,
-0.016773490235209465,
-0.05122387036681175,
-0.011883938685059547,
0.010524176992475986,
0.03514888882637024,
0.03377050161361694,
-0.01817050389945507,
-0.045263275504112244,
-0.02518351748585701,
-0.10200069844722748,
0.03967521712183952,
0.01505050528794527,
-0.02114148996770382,
-0.013308892957866192,
-0.04433193430304527,
-0.04019676893949509,
-0.004605491645634174,
-0.02456883154809475,
-0.06377837806940079,
-0.06310781091451645,
-0.053272828459739685,
-0.0540924072265625,
0.05968046933412552,
0.05681193247437477,
-0.011744236573576927,
-0.018673429265618324,
-0.03323032334446907,
0.04079283028841019,
-0.013718684203922749,
0.04321432113647461,
-0.0050804768688976765,
-0.03602435067296028,
0.07175067812204361,
-0.03203820437192917,
0.008838445879518986,
-0.015292653813958168,
-0.052937544882297516,
-0.045151516795158386,
-0.0447789765894413,
-0.058264825493097305,
0.0017416116315871477,
-0.018095996230840683,
-0.01506913173943758,
0.06821157038211823,
0.06701945513486862,
0.01411916222423315,
0.007869849912822247,
-0.034999873489141464,
0.0650077536702156,
-0.021998325362801552,
-0.014193668961524963,
-0.009467102587223053,
0.005271402187645435,
-0.02795892022550106,
-0.00004070988143212162,
0.038091935217380524,
-0.034627337008714676,
0.021048353984951973,
0.014240236021578312,
-0.019045967608690262,
-0.030007876455783844,
0.05383163318037987,
-0.03166566789150238,
-0.03347247093915939,
0.005066506564617157,
-0.023060055449604988,
-0.022762026637792587,
0.05342184379696846,
-0.03475772589445114,
0.023060055449604988,
0.045263275504112244,
0.049845483154058456,
-0.0485416054725647,
0.023469846695661545,
0.05036703497171402,
-0.0378497838973999,
-0.0362665019929409,
0.07100559771060944,
0.07674267143011093,
-0.04559855908155441,
0.02024739980697632,
0.04816906526684761,
0.03948894888162613,
0.06254900246858597,
0.0008917610393837094,
0.042096707969903946,
-0.013010863214731216,
0.012023639865219593,
-0.025984473526477814,
-0.012684893794357777,
-0.019707221537828445,
-0.06392738968133926,
-0.010133013129234314,
-0.041128113865852356,
0.03978697955608368,
0.012796654365956783,
-0.0019849250093102455,
0.018896952271461487,
0.016615161672234535,
-0.029113786295056343,
0.014528952538967133,
-0.0745074525475502,
0.015478922985494137,
-0.019148414954543114,
-0.03729097917675972,
-0.024792354553937912,
-0.036229249089956284,
0.008414684794843197,
0.048318080604076385,
-0.024680592119693756,
-0.03956345468759537,
-0.04876512661576271,
-0.08180917799472809,
0.03608023375272751,
0.007245849352329969,
0.01868274249136448,
0.023823756724596024,
0.01739748939871788,
0.011101610027253628,
-0.007017670664936304,
-0.019390564411878586,
-0.009522983804345131,
0.03449694812297821,
0.007758088409900665,
-0.019390564411878586,
0.012656953185796738,
-0.009872237220406532,
0.09998899698257446,
-0.010021251626312733,
-0.044555455446243286,
0.005099103786051273,
0.007646326906979084,
-0.06850960105657578,
0.05442769080400467,
-0.010477609932422638,
-0.05137288570404053,
0.03177742660045624,
0.006021133158355951,
0.040234021842479706,
-0.0031525965314358473,
-0.011641789227724075,
0.00894555076956749,
0.03283916041254997,
0.04287903755903244,
0.015152952633798122,
-0.03727235272526741,
-0.013141251169145107,
-0.07316631823778152,
-0.004898864775896072,
0.0029733129777014256,
0.07465646415948868,
0.08858935534954071,
-0.03699294850230217,
-0.009583520703017712,
-0.03110686130821705,
0.05316106602549553,
0.004193372558802366,
-0.060164764523506165,
0.02015426568686962,
-0.03915366530418396,
0.03825957700610161,
0.024363936856389046,
-0.02265026420354843,
-0.03485085815191269,
0.021886562928557396,
-0.03142351657152176,
-0.05472572147846222,
-0.0158514603972435,
0.007916416972875595,
-0.03673217445611954,
-0.04947294667363167,
0.002663641469553113,
-0.0004755670961458236,
-0.035223398357629776,
0.02514626458287239,
0.0019127459963783622,
-0.031274501234292984,
0.028089309111237526,
-0.01706220582127571,
0.0010128356516361237,
-0.02889026328921318,
0.034627337008714676,
-0.02171892113983631,
-0.01522746030241251,
-0.024457070976495743,
0.011697669513523579,
-0.0038324769120663404,
-0.023097310215234756,
0.03840859234333038,
-0.016717609018087387,
0.070148766040802,
-0.04422017186880112,
0.026338383555412292,
0.02956083044409752,
0.07793479412794113,
0.0185244157910347,
0.043363336473703384,
0.0038208351470530033,
-0.05040429159998894,
-0.07406040281057358,
0.05591784045100212,
0.06482148170471191,
-0.02889026328921318,
0.038091935217380524,
-0.02117874287068844,
-0.048951394855976105,
-0.027791278436779976,
-0.010682505555450916,
0.018887639045715332,
0.06880763173103333,
0.0025076414458453655,
0.03470184653997421,
0.01478041522204876,
0.057370737195014954,
-0.07204870134592056,
0.020657191053032875,
0.03418029472231865,
0.014594146981835365,
-0.02015426568686962,
0.0032736710272729397,
0.008531102910637856,
0.05573157221078873,
-0.011669729836285114,
0.018878325819969177,
0.046418141573667526,
0.030678443610668182,
-0.036173366010189056,
-0.000531447702087462,
0.06754100322723389,
0.03160978481173515,
-0.008111998438835144,
-0.009713908657431602,
0.006486804690212011,
-0.016494086012244225,
-0.06239999085664749,
-0.0028079994954168797,
0.04574757441878319,
-0.04045754671096802,
-0.057370737195014954,
0.029411816969513893,
0.06120787188410759,
0.03885563462972641,
-0.019800355657935143,
-0.032801903784275055,
-0.013718684203922749,
-0.00023094398784451187,
-0.008423998951911926,
0.0005308655672706664,
-0.00637038704007864,
0.057668767869472504
] |
719,745
|
ibm_platform_services.iam_identity_v1
|
set_profile_identities
|
Update the list of identities that can assume the trusted profile.
Update the list of identities that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str if_match: Entity tag of the Identities to be updated. Specify
the tag that you retrieved when reading the Profile Identities. This value
helps identify parallel usage of this API. Pass * to indicate updating any
available version, which may result in stale updates.
:param List[ProfileIdentityRequest] identities: (optional) List of
identities that can assume the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileIdentitiesResponse` object
|
def set_profile_identities(
self,
profile_id: str,
if_match: str,
*,
identities: Optional[List['ProfileIdentityRequest']] = None,
**kwargs,
) -> DetailedResponse:
"""
Update the list of identities that can assume the trusted profile.
Update the list of identities that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str if_match: Entity tag of the Identities to be updated. Specify
the tag that you retrieved when reading the Profile Identities. This value
helps identify parallel usage of this API. Pass * to indicate updating any
available version, which may result in stale updates.
:param List[ProfileIdentityRequest] identities: (optional) List of
identities that can assume the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileIdentitiesResponse` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
if identities is not None:
identities = [convert_model(x) for x in identities]
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='set_profile_identities',
)
headers.update(sdk_headers)
data = {
'identities': identities,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/identities'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, if_match: str, *, identities: Optional[List[ibm_platform_services.iam_identity_v1.ProfileIdentityRequest]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04061341658234596,
-0.030136706307530403,
-0.04072428122162819,
-0.004203618038445711,
-0.049963001161813736,
-0.014356971718370914,
-0.009395779110491276,
-0.028529169037938118,
-0.020325185731053352,
0.003979579079896212,
-0.02230227179825306,
-0.012075007893145084,
-0.02516627497971058,
0.010144115425646305,
0.006125271786004305,
-0.019493700936436653,
0.01725793071091175,
-0.023725034669041634,
0.06322980672121048,
-0.019530655816197395,
0.006605685222893953,
0.042867664247751236,
-0.0022912027779966593,
-0.015345514751970768,
0.0026930870953947306,
-0.03532886877655983,
0.05798221006989479,
-0.024464132264256477,
0.05092382803559303,
0.051071647554636,
-0.007973016239702702,
0.03107905574142933,
-0.0058065359480679035,
0.01962304301559925,
0.043348077684640884,
-0.03276050463318825,
-0.025997759774327278,
0.08004427701234818,
-0.05495190992951393,
0.044198039919137955,
-0.10916472226381302,
-0.00481799291446805,
0.02097189612686634,
0.02740204520523548,
-0.0185051579028368,
0.08285284787416458,
-0.01667589135468006,
0.01879155822098255,
0.045380596071481705,
-0.042350295931100845,
-0.009691418148577213,
0.0077235703356564045,
-0.015558005310595036,
0.026792289689183235,
0.0031711908522993326,
0.007455647457391024,
-0.02904653735458851,
-0.030469300225377083,
0.01667589135468006,
0.01605689711868763,
0.00015099534357432276,
-0.07723570615053177,
-0.0025960805360227823,
-0.010661483742296696,
-0.03497779741883278,
-0.03665924444794655,
-0.005732626188546419,
-0.002236925298348069,
-0.02132296748459339,
-0.0013003499479964375,
-0.0016225503059104085,
-0.039319995790719986,
0.001888163504190743,
0.003746301168575883,
0.05986690893769264,
0.05336285009980202,
-0.010966361500322819,
0.008130074478685856,
0.013488532043993473,
0.043348077684640884,
0.022209884598851204,
-0.020177366212010384,
0.006564110983163118,
0.017719866707921028,
0.009012372232973576,
0.04120469465851784,
0.02891719527542591,
-0.08632660657167435,
-0.027827026322484016,
-0.012546182610094547,
-0.008518100716173649,
0.06156683340668678,
0.01428306195884943,
-0.035421255975961685,
0.0697338655591011,
0.06688833981752396,
0.0007760525331832469,
-0.018976332619786263,
-0.027272703126072884,
0.007876009680330753,
-0.023022891953587532,
-0.03128230944275856,
-0.030210616067051888,
-0.016943814232945442,
0.058906082063913345,
-0.038617853075265884,
0.024039151147007942,
0.05406499281525612,
0.024574996903538704,
0.0034437330905348063,
0.0006010942743159831,
-0.0536954440176487,
-0.04072428122162819,
0.006471723783761263,
0.035606030374765396,
-0.011123419739305973,
0.0392460860311985,
-0.029841067269444466,
0.009672940708696842,
-0.00382483028806746,
-0.03935695067048073,
0.0016779826255515218,
-0.019715430215001106,
0.022228362038731575,
-0.016297103837132454,
-0.050443414598703384,
-0.0032243134919553995,
0.046341422945261,
0.012232066132128239,
-0.04264593496918678,
-0.06496668606996536,
-0.06189942732453346,
-0.02466738410294056,
-0.008518100716173649,
0.03669619932770729,
-0.017313363030552864,
-0.02468586154282093,
-0.026810767129063606,
0.040502551943063736,
0.015059114433825016,
-0.019715430215001106,
-0.0006490201340056956,
-0.014292300678789616,
0.01554876659065485,
-0.0598299540579319,
-0.0049704317934811115,
0.025092365220189095,
0.013774932362139225,
0.00021999703312758356,
-0.029028059914708138,
-0.007603466976433992,
0.00718310521915555,
-0.02684772200882435,
0.007136911619454622,
-0.053658489137887955,
-0.04737615957856178,
0.037453774362802505,
-0.04497409239411354,
0.05750179663300514,
-0.0052568321116268635,
0.023373963311314583,
-0.015151501633226871,
0.037620071321725845,
0.037453774362802505,
0.015927555039525032,
-0.023798944428563118,
-0.020916463807225227,
0.048595670610666275,
0.009543598629534245,
-0.020879508927464485,
0.01587212271988392,
-0.027512909844517708,
0.06814480572938919,
0.014975965954363346,
0.02854764647781849,
0.006189942825585604,
0.03252029791474342,
-0.057021383196115494,
-0.02788245864212513,
0.05166292563080788,
0.02111971564590931,
-0.010966361500322819,
0.031540993601083755,
0.022099019959568977,
0.008947701193392277,
0.02819657512009144,
0.00010227552411379293,
0.044863227754831314,
-0.001067649689503014,
0.020029546692967415,
0.02973020263016224,
-0.05291939154267311,
-0.0295639056712389,
0.012213588692247868,
-0.015622676350176334,
0.027124883607029915,
0.05849957838654518,
-0.041685108095407486,
-0.018597545102238655,
-0.05295634642243385,
-0.022560955956578255,
-0.03665924444794655,
0.006808937061578035,
-0.01663893647491932,
0.004914999473839998,
0.05757570639252663,
0.013405383564531803,
-0.011104942299425602,
0.033943060785532,
-0.02808571048080921,
-0.013109744526445866,
-0.01038432214409113,
-0.001967847580090165,
-0.004490018356591463,
0.029988886788487434,
0.03192901983857155,
0.00027846082230098546,
-0.00045587311615236104,
-0.007686615455895662,
0.00996857974678278,
0.03279745951294899,
-0.07524014264345169,
-0.0231707114726305,
-0.020066501572728157,
0.0176090020686388,
0.040169958025217056,
-0.027254225686192513,
-0.014005900360643864,
-0.020842554047703743,
0.033943060785532,
0.03327787294983864,
0.02618253417313099,
0.010458231903612614,
0.024242402985692024,
-0.04881739988923073,
0.019345881417393684,
-0.007113814819604158,
-0.015964509919285774,
-0.037804845720529556,
0.08396149426698685,
0.016814472153782845,
0.0007038750336505473,
0.055358413606882095,
0.013885797001421452,
-0.07039905339479446,
0.015345514751970768,
-0.026810767129063606,
-0.02974868007004261,
0.004443824756890535,
0.0002894318022299558,
0.03165185824036598,
0.024722816422581673,
-0.01738727279007435,
0.02584994025528431,
0.009478927589952946,
0.019678475335240364,
0.0527346171438694,
-0.04242420569062233,
0.03640056028962135,
-0.021064283326268196,
-0.03957867994904518,
-0.01663893647491932,
-0.009894669987261295,
-0.039467815309762955,
-0.04345894232392311,
-0.03176272287964821,
-0.023096801713109016,
0.0669252946972847,
-0.006818175781518221,
0.010412038303911686,
0.003222003811970353,
-0.015354753471910954,
0.0033143910113722086,
0.006106794346123934,
0.023189188912510872,
0.000579729734454304,
-0.03462672606110573,
0.035569075495004654,
0.007543415296822786,
0.016795994713902473,
0.03902435675263405,
-0.0010058657499030232,
-0.029951931908726692,
-0.017932357266545296,
0.04534364119172096,
-0.04356980696320534,
0.020565392449498177,
0.10088682919740677,
-0.029637815430760384,
-0.04179597273468971,
-0.007686615455895662,
0.049926046282052994,
-0.07974863797426224,
-0.013719500042498112,
-0.04830003157258034,
0.01707315631210804,
-0.031892064958810806,
0.04567623510956764,
0.044900182634592056,
-0.008615107275545597,
-0.017535092309117317,
0.04611969366669655,
0.025905372574925423,
-0.06910563260316849,
0.0011248142691329122,
-0.04441976919770241,
0.030173661187291145,
-0.03935695067048073,
-0.005843490827828646,
0.02924978919327259,
0.011326671577990055,
0.02026975341141224,
-0.06422758847475052,
-0.006328523624688387,
-0.0034806879702955484,
-0.00971913430839777,
0.005339980591088533,
-0.005931258667260408,
0.03876567259430885,
0.046378377825021744,
0.0013257564278319478,
-0.03276050463318825,
0.04907608404755592,
0.021045805886387825,
0.09453058987855911,
-0.0375831164419651,
0.03022909350693226,
0.056023601442575455,
-0.02572059817612171,
-0.040465597063302994,
-0.05813002958893776,
-0.026293398812413216,
0.022450091317296028,
0.008615107275545597,
0.016149284318089485,
0.0012033433886244893,
-0.0010699593694880605,
0.025277139618992805,
0.03414631262421608,
0.10066509991884232,
-0.02603471465408802,
-0.05336285009980202,
0.023743512108922005,
0.0303953904658556,
-0.0016167761059477925,
-0.005681813228875399,
0.05920172110199928,
0.030007364228367805,
0.02182185836136341,
0.002439022297039628,
-0.021193625405430794,
-0.01428306195884943,
0.10125637799501419,
0.006670356262475252,
0.023891331627964973,
-0.02973020263016224,
-0.008550436235964298,
-0.03263116255402565,
-0.010873974300920963,
-0.011696220375597477,
-0.055025819689035416,
-0.044715408235788345,
0.03684401884675026,
0.014846623875200748,
-0.007363260257989168,
0.013636351563036442,
-0.01895785517990589,
-0.010670722462236881,
-0.016481878235936165,
-0.023632647469639778,
-0.030820371583104134,
-0.013571680523455143,
-0.06489277631044388,
-0.03148556128144264,
0.0473022498190403,
0.030506255105137825,
-0.04626751318573952,
0.05118251219391823,
-0.05406499281525612,
0.025277139618992805,
-0.02348482795059681,
0.020731689408421516,
-0.012546182610094547,
0.03179967775940895,
-0.011890233494341373,
0.036751631647348404,
0.010910929180681705,
-0.05059123411774635,
0.007229298818856478,
0.017849208787083626,
0.0016826019855216146,
0.015077591873705387,
-0.001180824008770287,
-0.10022164136171341,
-0.014162958599627018,
-0.0176090020686388,
-0.024464132264256477,
0.004203618038445711,
0.06577969342470169,
-0.024593474343419075,
-0.020158888772130013,
0.010097921825945377,
0.0917220190167427,
0.06714702397584915,
-0.009405017830431461,
-0.007945300079882145,
0.02026975341141224,
0.0019135699840262532,
-0.013118983246386051,
-0.03398001566529274,
-0.02605319209396839,
-0.032224658876657486,
0.007885248400270939,
0.010171831585466862,
0.003656223649159074,
0.05388021841645241,
-0.012370646931231022,
0.016860665753483772,
-0.036437515169382095,
0.05728006735444069,
0.0425720252096653,
0.009506643749773502,
-0.0371396578848362,
0.03987431898713112,
-0.05591273680329323,
-0.03398001566529274,
0.02178490348160267,
-0.03263116255402565,
0.035920146852731705,
-0.023189188912510872,
0.0016941503854468465,
0.004961193073540926,
0.04733920469880104,
-0.0017772988649085164,
0.0077836220152676105,
0.00613451050594449,
-0.014042855240404606,
0.021507741883397102,
-0.031226875260472298,
-0.006079078186303377,
0.04427194967865944,
0.021045805886387825,
-0.036622289568185806,
0.019327403977513313,
0.0016248599858954549,
0.029804112389683723,
-0.021082760766148567,
-0.025960804894566536,
0.0032959135714918375,
0.03832221403717995,
0.023577215149998665,
-0.019308926537632942,
-0.019179584458470345,
0.03229856863617897,
0.02871394343674183,
-0.03983736410737038,
0.021082760766148567,
0.054360631853342056,
0.024796726182103157,
-0.03665924444794655,
-0.01910567469894886,
-0.03972649946808815,
0.02549886889755726,
0.03468215838074684,
0.019678475335240364,
-0.002288893098011613,
0.04545450583100319,
-0.033887628465890884,
-0.04530668631196022,
-0.01226902101188898,
0.009571314789354801,
0.007742047775536776,
-0.0014597178669646382,
0.03133774176239967,
0.03640056028962135,
0.06840348988771439,
0.010190309025347233,
-0.00740021513774991,
-0.018135609105229378,
0.01980781741440296,
-0.012823344208300114,
0.014255345799028873,
0.04567623510956764,
-0.023447873070836067,
0.0363081730902195,
-0.08440495282411575,
0.035901669412851334,
-0.04076123610138893,
-0.02248704619705677,
0.032705072313547134,
0.03242791071534157,
-0.04796743765473366,
-0.043680671602487564,
0.006014407146722078,
-0.03335178270936012,
-0.039135221391916275,
0.06230593100190163,
-0.06341458112001419,
-0.0069890921004116535,
-0.03248334303498268,
0.0010497496696189046,
-0.025147797539830208,
0.09475231915712357,
-0.0331115759909153,
0.04053950682282448,
0.06271243840456009,
-0.02891719527542591,
0.0466001071035862,
-0.027087928727269173,
0.05875826254487038,
0.003903359407559037,
0.029841067269444466,
0.01480043027549982,
-0.08130074292421341,
0.01595527119934559,
0.030303003266453743,
0.06603837758302689,
0.05646705999970436,
-0.05558014288544655,
-0.04349589720368385,
0.020417572930455208,
-0.024242402985692024,
0.036954883486032486,
0.04323721304535866,
0.054323676973581314,
0.04408717527985573,
-0.016962291672825813,
-0.028621556237339973,
0.028011800721287727,
-0.035254959017038345,
-0.05210638418793678,
-0.009709895588457584,
-0.06803394109010696,
-0.03682554140686989,
0.0092525789514184,
-0.048928264528512955,
0.027512909844517708,
-0.09874344617128372,
0.06740570813417435,
0.007076859939843416,
0.01258313748985529,
0.025812985375523567,
-0.08854389935731888,
0.033222440630197525,
-0.008772165514528751,
-0.024427177384495735,
-0.0720989778637886,
0.013285280205309391,
0.00613451050594449,
-0.03292680159211159,
0.004702508915215731,
-0.01249998901039362,
0.047080520540475845,
0.011372865177690983,
-0.027642251923680305,
0.03902435675263405,
-0.004286766517907381,
-0.0399482287466526,
-0.06341458112001419,
0.06611228734254837,
0.00041660855640657246,
-0.02182185836136341,
0.028011800721287727,
-0.03821134939789772,
0.011225045658648014,
-0.00025998338242061436,
-0.019567610695958138,
0.003482997650280595,
-0.026995541527867317,
-0.037786368280649185,
0.05879521742463112,
0.053510669618844986,
-0.0740206316113472,
0.022265316918492317,
-0.11034727841615677,
-0.05728006735444069,
0.023189188912510872,
0.009317249990999699,
0.1078343465924263,
0.005386174190789461,
-0.07287503033876419,
0.032354000955820084,
0.07365108281373978,
-0.04652619734406471,
0.04719138517975807,
0.0017414988251402974,
-0.06559491902589798,
0.044050220400094986,
0.0354766882956028,
0.021914245560765266,
-0.0685882642865181,
0.018810035660862923,
-0.028640033677220345,
-0.0324094332754612,
-0.005658716429024935,
0.04061341658234596,
0.00971913430839777,
-0.04567623510956764,
0.010855496861040592,
-0.03564298525452614,
0.002635345095768571,
-0.005972832906991243,
0.003944933880120516,
-0.020048024132847786,
0.010772348381578922,
-0.05240202322602272,
-0.026459695771336555,
0.02315223403275013,
-0.04464149847626686,
-0.014440120197832584,
0.0496673621237278,
0.08285284787416458,
0.050628188997507095,
-0.01925349421799183,
0.015798212960362434,
-0.005612522829324007,
-0.0216370839625597,
0.05136728659272194,
-0.013636351563036442,
-0.029120447114109993,
0.02195120044052601,
-0.05897999182343483,
-0.03379524126648903,
0.000961981771979481,
-0.00996857974678278,
-0.017960073426365852,
0.005279928911477327,
-0.0313192643225193,
-0.04364371672272682,
0.010837019421160221,
0.007658899296075106,
-0.0047071282751858234,
0.03503322973847389,
-0.04209161177277565,
0.06714702397584915,
-0.009405017830431461,
0.03865480795502663,
-0.02431631274521351,
-0.022450091317296028,
-0.01258313748985529,
-0.022062065079808235,
-0.01699000783264637,
0.010356605984270573,
0.0028409066144376993,
0.016029180958867073,
0.025757553055882454,
-0.06740570813417435,
-0.005681813228875399,
0.01612156815826893,
0.016250910237431526,
0.006822795141488314,
-0.006162226665765047,
-0.004021153319627047,
0.0377124585211277,
0.01293420884758234,
0.0006998330936767161,
0.0054185097105801105,
0.04331112280488014,
-0.0015151501866057515,
0.014578700996935368,
-0.02889871783554554,
0.014929772354662418,
0.023022891953587532,
-0.006753504741936922,
0.08433104306459427,
-0.010060966946184635,
-0.01274943444877863,
-0.02097189612686634,
0.014689565636217594,
0.03449738398194313,
0.025277139618992805,
0.02300441451370716,
-0.030266048386693,
0.04907608404755592,
0.027660729363560677,
-0.0917220190167427,
-0.024039151147007942,
-0.04970431700348854,
-0.017627479508519173,
0.05513668432831764,
0.030192138627171516,
-0.04575014486908913,
0.051810745149850845,
-0.01978933997452259,
-0.0030580165330320597,
-0.0162047166377306,
0.03647447004914284,
-0.026478173211216927,
-0.0699925497174263,
0.0423133410513401,
0.0030002745334059,
-0.11330366879701614,
-0.01521617267280817,
-0.0169068593531847,
-0.01115113589912653,
-0.04456758871674538,
-0.07671833783388138,
0.017294885590672493,
0.0008470751927234232,
0.030155183747410774,
-0.028344394639134407,
0.04002213850617409,
-0.03159642592072487,
-0.017368795350193977,
-0.0018500537844374776,
0.03401697054505348,
0.004219785798341036,
-0.005497038830071688,
0.06629706174135208,
-0.08913517743349075,
-0.04903912916779518,
0.032058361917734146,
0.006494820583611727,
-0.05221724882721901,
0.04146337881684303,
0.06459713727235794,
-0.023429395630955696,
-0.01081854198127985,
0.03909826651215553,
0.004180521238595247,
0.0751662328839302,
-0.0019690024200826883,
-0.020029546692967415,
-0.03817439451813698,
-0.0669252946972847,
-0.054508451372385025,
0.06511450558900833,
0.02889871783554554,
0.03749072924256325,
0.0029263647738844156,
0.015899838879704475,
0.03634512796998024,
-0.04970431700348854,
-0.05007386580109596,
-0.06182551756501198,
-0.03416479006409645,
-0.0363081730902195,
-0.06034732237458229,
0.016084613278508186,
-0.04294157400727272,
-0.015521050430834293,
-0.02904653735458851,
0.042682889848947525,
0.02352178283035755,
-0.03318548575043678,
0.017036201432347298,
0.0704360082745552,
-0.050776008516550064,
0.04560232535004616,
0.001709163305349648,
0.014652610756456852,
0.029711725190281868,
-0.01977086253464222,
-0.058056119829416275,
0.07287503033876419,
-0.0013465435476973653,
0.0024829062167555094,
0.016435684636235237,
0.0012760983081534505,
0.017165543511509895,
-0.023410918191075325,
0.0543975867331028,
0.01977086253464222,
-0.04970431700348854,
0.021359922364354134,
0.06067991629242897,
0.0044623021967709064,
0.005880445707589388
] |
719,746
|
ibm_platform_services.iam_identity_v1
|
set_profile_identity
|
Add a specific identity that can assume the trusted profile.
Add a specific identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier: Identifier of the identity that can assume the
trusted profiles. This can be a user identifier (IAM id), serviceid or crn.
Internally it uses account id of the service id for the identifier
'serviceid' and for the identifier 'crn' it uses account id contained in
the CRN.
:param str type: Type of the identity.
:param List[str] accounts: (optional) Only valid for the type user.
Accounts from which a user can assume the trusted profile.
:param str description: (optional) Description of the identity that can
assume the trusted profile. This is optional field for all the types of
identities. When this field is not set for the identity type 'serviceid'
then the description of the service id is used. Description is recommended
for the identity type 'crn' E.g. 'Instance 1234 of IBM Cloud Service
project'.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileIdentityResponse` object
|
def set_profile_identity(
self,
profile_id: str,
identity_type: str,
identifier: str,
type: str,
*,
accounts: Optional[List[str]] = None,
description: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Add a specific identity that can assume the trusted profile.
Add a specific identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier: Identifier of the identity that can assume the
trusted profiles. This can be a user identifier (IAM id), serviceid or crn.
Internally it uses account id of the service id for the identifier
'serviceid' and for the identifier 'crn' it uses account id contained in
the CRN.
:param str type: Type of the identity.
:param List[str] accounts: (optional) Only valid for the type user.
Accounts from which a user can assume the trusted profile.
:param str description: (optional) Description of the identity that can
assume the trusted profile. This is optional field for all the types of
identities. When this field is not set for the identity type 'serviceid'
then the description of the service id is used. Description is recommended
for the identity type 'crn' E.g. 'Instance 1234 of IBM Cloud Service
project'.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileIdentityResponse` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not identity_type:
raise ValueError('identity_type must be provided')
if identifier is None:
raise ValueError('identifier must be provided')
if type is None:
raise ValueError('type must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='set_profile_identity',
)
headers.update(sdk_headers)
data = {
'identifier': identifier,
'type': type,
'accounts': accounts,
'description': description,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id', 'identity-type']
path_param_values = self.encode_path_vars(profile_id, identity_type)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/identities/{identity-type}'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, identity_type: str, identifier: str, type: str, *, accounts: Optional[List[str]] = None, description: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.07945236563682556,
-0.011370491236448288,
0.034139689058065414,
0.008027059026062489,
0.008586648851633072,
-0.016336264088749886,
-0.008995761163532734,
-0.02208264172077179,
-0.03165680170059204,
-0.013345514424145222,
0.0015576820587739348,
0.03773235157132149,
-0.029117485508322716,
0.01894141361117363,
0.022063830867409706,
-0.010166667401790619,
0.029700588434934616,
0.0009569458197802305,
0.04852914437651634,
-0.033518966287374496,
0.025600064545869827,
0.034873269498348236,
0.02371908910572529,
-0.011586803011596203,
0.02765032649040222,
-0.007048952393233776,
0.041870493441820145,
-0.018809745088219643,
0.025543633848428726,
0.04886772111058235,
0.00041028758278116584,
0.009367253631353378,
-0.03282300755381584,
0.02165001817047596,
0.021330252289772034,
-0.01927998848259449,
-0.05582732707262039,
0.10285168886184692,
-0.007349908351898193,
0.05575208738446236,
-0.09954117238521576,
0.025355536490678787,
-0.0009040433797053993,
0.009564755484461784,
-0.04886772111058235,
0.04352575168013573,
-0.014859698712825775,
-0.010627506300807,
-0.011445729993283749,
-0.035493988543748856,
-0.005130358040332794,
-0.022345978766679764,
-0.004029987845569849,
0.009494218975305557,
0.0020455599296838045,
-0.016674838960170746,
-0.011897164396941662,
-0.06662411987781525,
-0.01869688741862774,
0.04623435437679291,
0.01860283873975277,
-0.051877278834581375,
-0.030904412269592285,
-0.006630435585975647,
-0.016956984996795654,
-0.014492909424006939,
-0.021687636151909828,
-0.002073774579912424,
-0.014032070524990559,
0.00676680589094758,
0.07249276340007782,
-0.06587173044681549,
0.006216621026396751,
-0.023643851280212402,
0.07644280791282654,
0.0002994864189531654,
-0.005849830806255341,
-0.01328908558934927,
0.015358157455921173,
0.05744496360421181,
0.0018315990455448627,
0.00031006691278889775,
-0.04615911468863487,
0.029982734471559525,
0.004058202728629112,
0.05981499329209328,
0.021048106253147125,
-0.07832378149032593,
-0.05894974246621132,
0.011699661612510681,
-0.0009146239026449621,
0.006052035838365555,
-0.00022263097343966365,
-0.026314834132790565,
0.04807770997285843,
0.028101760894060135,
0.022985508665442467,
-0.03724329546093941,
-0.000037160269130254164,
0.0027438716497272253,
-0.03212704509496689,
-0.05571446567773819,
-0.017812829464673996,
-0.026691028848290443,
0.05247918888926506,
-0.01401326060295105,
0.04239716753363609,
0.06903176754713058,
-0.01164323277771473,
0.00188802822958678,
-0.006432933267205954,
-0.10307740420103073,
-0.09134012460708618,
-0.020465003326535225,
0.042510025203228,
0.004424992483109236,
0.04469195753335953,
0.010307740420103073,
-0.0012778871459886432,
0.015094821341335773,
-0.023756708949804306,
-0.007279371377080679,
-0.062260258942842484,
0.008586648851633072,
-0.04582054167985916,
-0.026446502655744553,
-0.013477182947099209,
0.01971261389553547,
0.0005739911575801671,
-0.04909343644976616,
-0.07384706288576126,
-0.02657817117869854,
-0.05300586298108101,
0.031976569443941116,
0.027800804004073143,
0.02328646555542946,
-0.04442862048745155,
0.0033881054259836674,
0.026540551334619522,
0.05225347355008125,
-0.05097441002726555,
0.013401944190263748,
-0.022026212885975838,
0.019449276849627495,
-0.039312370121479034,
-0.01865926757454872,
0.019486896693706512,
-0.016552576795220375,
-0.018979033455252647,
-0.01675007864832878,
0.019167130813002586,
-0.005628816317766905,
-0.01918593980371952,
-0.0013672333443537354,
-0.02149953879415989,
-0.041531920433044434,
0.038146164268255234,
-0.007175918202847242,
0.006865557283163071,
-0.013477182947099209,
-0.05157632380723953,
0.017417823895812035,
0.044767193496227264,
0.014577552676200867,
-0.011991213075816631,
-0.046798646450042725,
0.009292013943195343,
0.02629602514207363,
0.03603947162628174,
-0.029362013563513756,
0.0006019118591211736,
-0.04913105443120003,
0.024810055270791054,
0.03128060698509216,
-0.0007171215838752687,
-0.022063830867409706,
0.02990749664604664,
-0.07256799936294556,
-0.06605982780456543,
0.02541196718811989,
0.042848601937294006,
-0.02266574278473854,
0.005158572923392057,
0.029587730765342712,
0.008586648851633072,
-0.023568611592054367,
0.02343694306910038,
0.03543756157159805,
0.04702436551451683,
0.020860008895397186,
0.012122880667448044,
0.0010027945972979069,
-0.05846069008111954,
0.013082178309559822,
0.013251465745270252,
-0.008906414732336998,
0.047475799918174744,
-0.05447302386164665,
-0.010326550342142582,
-0.05469873920083046,
-0.03760068118572235,
0.00195503793656826,
0.018452361226081848,
-0.034139689058065414,
0.014558742754161358,
-0.010542862117290497,
0.00568054337054491,
-0.022364787757396698,
0.00047288875794038177,
-0.022872650995850563,
-0.013467777520418167,
-0.009301419369876385,
-0.00034122055512852967,
0.043224796652793884,
0.012000617571175098,
0.0000698385265422985,
-0.0027673838194459677,
-0.019580945372581482,
0.03654733672738075,
0.005172680132091045,
0.059664513915777206,
-0.024038854986429214,
-0.00423454400151968,
-0.0103641701862216,
0.03410206735134125,
0.0505605973303318,
0.00449552945792675,
-0.030358929187059402,
-0.007298181299120188,
0.0179256871342659,
0.030076783150434494,
0.027236511930823326,
-0.042510025203228,
0.018029142171144485,
-0.059702131897211075,
0.0017093356000259519,
0.00013534199388232082,
-0.03208942711353302,
-0.014427075162529945,
0.05217823386192322,
0.016712458804249763,
0.035004936158657074,
0.017455443739891052,
-0.011774900369346142,
-0.09322109818458557,
0.0008822946110740304,
-0.03739377483725548,
-0.0011156530817970634,
-0.02977582812309265,
-0.03476041182875633,
0.051049649715423584,
-0.012574315071105957,
0.002287735231220722,
0.03419611603021622,
0.013270275667309761,
0.034873269498348236,
0.04988344386219978,
-0.059514034539461136,
0.01995714008808136,
-0.009371955879032612,
-0.0274998489767313,
-0.03681067377328873,
0.003030720166862011,
-0.050673454999923706,
-0.04518100991845131,
-0.05025964230298996,
-0.0437890887260437,
0.058836884796619415,
0.026126736775040627,
0.008849984966218472,
0.06613506376743317,
0.06910700350999832,
0.0060990601778030396,
0.012762412428855896,
0.0027532766107469797,
-0.00831390731036663,
-0.030810363590717316,
0.05436016619205475,
-0.016223406419157982,
-0.0103641701862216,
-0.011596208438277245,
-0.009277907200157642,
-0.0029931007884442806,
-0.03137465566396713,
0.009263799525797367,
-0.07249276340007782,
0.0011379895731806755,
0.07362134754657745,
-0.02947487123310566,
0.0008646604837849736,
-0.019844282418489456,
0.06143262982368469,
-0.06406599283218384,
-0.021010486409068108,
-0.05894974246621132,
0.016185786575078964,
-0.031337037682533264,
0.029343202710151672,
0.013618255965411663,
0.008821770548820496,
-0.019261179491877556,
0.055601608008146286,
-0.00705365464091301,
-0.07249276340007782,
0.0325784794986248,
-0.0492815338075161,
-0.0007036020397208631,
-0.038785696029663086,
0.0052432166412472725,
0.04070429131388664,
-0.02315479703247547,
0.019656185060739517,
-0.060379285365343094,
0.04638483375310898,
-0.0057792942970991135,
-0.010806199163198471,
0.02851557545363903,
0.0024123499169945717,
0.03645328804850578,
0.06974653899669647,
-0.002823813119903207,
-0.08140858262777328,
0.037092819809913635,
0.01879093609750271,
0.08043047040700912,
0.002835569204762578,
0.006738591473549604,
0.06289979070425034,
0.0014671601820737123,
-0.027725564315915108,
-0.07802282273769379,
-0.0035809052642434835,
-0.008770043961703777,
0.005205597262829542,
0.008718317374587059,
-0.016712458804249763,
-0.014709221199154854,
0.01595066487789154,
0.042209070175886154,
0.07249276340007782,
-0.05029726028442383,
-0.055451128631830215,
0.010288930498063564,
-0.013270275667309761,
0.015160654671490192,
-0.040328096598386765,
0.0704236850142479,
-0.031205367296934128,
0.03556922823190689,
0.02618316560983658,
-0.05992785096168518,
-0.008059975691139698,
0.06786556541919708,
-0.00831390731036663,
0.020954057574272156,
-0.052403952926397324,
-0.029418442398309708,
-0.021574778482317924,
-0.018884984776377678,
-0.011417515575885773,
-0.025299107655882835,
-0.04567006230354309,
0.035155415534973145,
0.03342491760849953,
0.025769351050257683,
-0.007143001072108746,
-0.008003546856343746,
0.0027015497907996178,
-0.0053137531504035,
-0.010721554979681969,
0.0007529776194132864,
-0.05530065298080444,
-0.09389825165271759,
0.001498901634477079,
0.023493371903896332,
0.027086034417152405,
-0.03097965195775032,
0.03511779382824898,
-0.03222109377384186,
0.007443957030773163,
-0.006371801253408194,
-0.0013319650897756219,
-0.035155415534973145,
0.05360777676105499,
-0.030810363590717316,
0.023549800738692284,
0.043901946395635605,
-0.02488529309630394,
-0.009033380076289177,
-0.007095976732671261,
0.011078940704464912,
0.002835569204762578,
0.031732041388750076,
-0.07313229143619537,
0.05334443971514702,
0.021725255995988846,
-0.052742525935173035,
-0.013514801859855652,
-0.012884675525128841,
-0.003298759227618575,
-0.012301573529839516,
-0.0023194768000394106,
0.10277645289897919,
0.07234228402376175,
-0.0011203554458916187,
-0.016609005630016327,
0.0018551112152636051,
-0.019167130813002586,
-0.01401326060295105,
-0.036904722452163696,
0.005671138409525156,
-0.030133211985230446,
0.004615441430360079,
-0.010947272181510925,
0.04736293852329254,
0.025863399729132652,
-0.015941260382533073,
0.021687636151909828,
-0.03968856483697891,
0.029550110921263695,
0.06489362567663193,
-0.0014518772950395942,
-0.051538702100515366,
0.05082393437623978,
-0.03632161766290665,
0.019938331097364426,
0.007265264168381691,
0.003035422647371888,
0.017888067290186882,
-0.004006475675851107,
0.015837805345654488,
0.008454980328679085,
0.026596980169415474,
-0.008154024370014668,
0.010185477323830128,
0.024396240711212158,
-0.011840734630823135,
0.009875116869807243,
-0.003442183369770646,
0.009042785502970219,
0.029117485508322716,
0.0235874205827713,
-0.05973975360393524,
0.014633982442319393,
0.013890997506678104,
0.03720567747950554,
-0.032446812838315964,
0.0012120530009269714,
0.007462766487151384,
0.0571063868701458,
0.04623435437679291,
-0.015282918699085712,
0.03451588377356529,
-0.00732169346883893,
0.009865711443126202,
-0.022026212885975838,
-0.026691028848290443,
0.061056435108184814,
0.03859759867191315,
-0.018461765721440315,
-0.024471478536725044,
-0.059702131897211075,
-0.00791420042514801,
0.041005246341228485,
0.04243478551506996,
0.01273419801145792,
0.02309836819767952,
0.006893771700561047,
-0.035983044654130936,
0.009103916585445404,
-0.010627506300807,
0.0002440858370391652,
-0.007307586260139942,
0.03729972615838051,
0.04465433582663536,
0.06180882453918457,
0.01510422583669424,
0.006917283870279789,
-0.0027086033951491117,
-0.026803888380527496,
-0.004356807563453913,
0.023380514234304428,
0.007721400819718838,
-0.0006653947639279068,
0.03477922081947327,
-0.028985818848013878,
0.018809745088219643,
-0.0025910425465554,
0.004876426421105862,
0.04115572199225426,
0.00029419618658721447,
-0.0031811981461942196,
-0.04130620136857033,
0.03492969647049904,
-0.06444218754768372,
-0.03624638170003891,
0.027029603719711304,
-0.08456861972808838,
0.0022665744181722403,
-0.016007093712687492,
0.041005246341228485,
-0.037374965846538544,
0.09367253631353378,
-0.011605612933635712,
0.04548196494579315,
0.0875781774520874,
-0.07369658350944519,
0.05627875775098801,
-0.03953808546066284,
0.035776134580373764,
0.006141381803900003,
0.04954487085342407,
0.012461456470191479,
-0.06508172303438187,
-0.007265264168381691,
0.048002470284700394,
0.09081345051527023,
0.07644280791282654,
-0.04420290142297745,
-0.0786999762058258,
-0.0053137531504035,
-0.0067244842648506165,
-0.000014327735698316246,
0.05940117686986923,
0.07711995393037796,
0.053231582045555115,
-0.03344372659921646,
-0.013928616419434547,
0.005798104219138622,
-0.01227335911244154,
0.008976951241493225,
0.035794947296381,
-0.006696269381791353,
-0.03788282722234726,
0.01611054688692093,
-0.07632994651794434,
0.0009916262933984399,
-0.06790318340063095,
0.12211287021636963,
-0.036415666341781616,
0.015837805345654488,
-0.0034069151151925325,
-0.08705150336027145,
0.028835339471697807,
-0.006019118707627058,
-0.039801422506570816,
-0.022534076124429703,
0.024245761334896088,
-0.011596208438277245,
-0.012818841263651848,
0.017982117831707,
-0.04190811514854431,
0.05074869468808174,
0.015066605992615223,
-0.04563244432210922,
0.0650440976023674,
0.0252802986651659,
-0.04653530940413475,
-0.046610549092292786,
0.032747767865657806,
-0.014210762456059456,
-0.02488529309630394,
0.00498928502202034,
-0.015696732327342033,
0.01872510276734829,
0.005224406719207764,
-0.015499230474233627,
0.0235874205827713,
-0.00873242411762476,
-0.07113845646381378,
0.03131822496652603,
0.05639161914587021,
-0.02827104739844799,
-0.01464338693767786,
-0.07271847873926163,
-0.008553732186555862,
0.02793247252702713,
0.035888995975255966,
0.052027758210897446,
0.05503731593489647,
-0.06135739013552666,
0.034139689058065414,
0.08103238791227341,
-0.050673454999923706,
0.0006301265093497932,
-0.023737899959087372,
-0.03449707478284836,
0.004189870785921812,
0.02454671822488308,
-0.005492445547133684,
-0.08359050750732422,
0.01817021518945694,
-0.04258526489138603,
-0.024471478536725044,
0.026879126206040382,
0.0560530424118042,
0.05752020329236984,
-0.058874502778053284,
0.012555505149066448,
-0.03850354999303818,
0.008328014984726906,
-0.01555565930902958,
0.0017246186034753919,
0.01632685959339142,
-0.014539933763444424,
-0.04010237753391266,
-0.0031506323721259832,
0.033951591700315475,
-0.041042864322662354,
-0.05601542443037033,
0.05515017360448837,
0.05755782127380371,
0.015358157455921173,
-0.0404033325612545,
-0.0026709837839007378,
-0.025487205013632774,
-0.042735740542411804,
0.04224668815732002,
-0.01316682156175375,
-0.020653100684285164,
-0.028158189728856087,
-0.04988344386219978,
-0.03359420597553253,
0.03842831030488014,
-0.0045166900381445885,
-0.004829402081668377,
0.015217084437608719,
-0.04683626815676689,
-0.007702590897679329,
-0.04837866500020027,
0.001480091828852892,
0.05338205769658089,
-0.04604625701904297,
-0.07136417180299759,
0.07362134754657745,
0.023399323225021362,
0.04521862789988518,
0.024753624573349953,
-0.009489516727626324,
0.004241597838699818,
-0.038823314011096954,
-0.02146192081272602,
0.003197656711563468,
0.005986201576888561,
0.019468087702989578,
0.042359545826911926,
-0.04634721204638481,
-0.04047857224941254,
-0.003888914827257395,
-0.009658804163336754,
-0.041005246341228485,
0.027518657967448235,
-0.0034492372069507837,
0.03097965195775032,
0.012687173672020435,
0.02734936960041523,
0.0038512954488396645,
0.018283072859048843,
-0.007110083941370249,
-0.0058545335195958614,
0.04442862048745155,
0.01447409950196743,
0.03180728107690811,
0.006108465138822794,
0.05563922971487045,
-0.0035291784442961216,
-0.013505397364497185,
-0.018828555941581726,
0.023907186463475227,
0.01316682156175375,
0.033951591700315475,
0.0031083105131983757,
0.01401326060295105,
0.00886879488825798,
0.0705365464091301,
-0.05642923712730408,
-0.03950046747922897,
-0.031976569443941116,
-0.010392384603619576,
0.04314955696463585,
0.03871045634150505,
-0.0638778954744339,
0.036359239369630814,
0.004500231705605984,
-0.010862627997994423,
-0.04709960147738457,
0.08893247693777084,
-0.032503239810466766,
-0.09382300823926926,
-0.016091737896203995,
0.012602529488503933,
-0.08238668739795685,
-0.021856924518942833,
-0.012470860965549946,
0.009677614085376263,
-0.045105770230293274,
-0.04540672525763512,
-0.01604471355676651,
-0.001910364837385714,
0.03116774931550026,
-0.03451588377356529,
0.0036138223949819803,
-0.03208942711353302,
-0.020465003326535225,
0.007603839505463839,
0.04683626815676689,
-0.01210407167673111,
-0.004462612327188253,
0.10924700647592545,
-0.053081102669239044,
-0.020935246720910072,
0.02986987680196762,
0.02701079472899437,
-0.008233966305851936,
-0.0019832525867968798,
0.002080828184261918,
-0.04115572199225426,
0.0137217091396451,
-0.0028214617632329464,
0.02885415032505989,
0.06869319081306458,
-0.00004202802665531635,
0.0011485700961202383,
-0.04653530940413475,
-0.03775116056203842,
0.023399323225021362,
0.014257787726819515,
-0.0010345360497012734,
0.03754425421357155,
-0.0019374038092792034,
0.03543756157159805,
0.017784614115953445,
-0.009456600062549114,
0.030340120196342468,
-0.031242987141013145,
-0.02291027083992958,
-0.009169750846922398,
-0.04010237753391266,
0.026220785453915596,
-0.07294419407844543,
-0.03816497325897217,
-0.0038254321552813053,
0.03064107522368431,
0.02956891991198063,
-0.07365896552801132,
0.02140549011528492,
0.10164786875247955,
-0.02990749664604664,
0.052930623292922974,
0.015301728621125221,
0.010806199163198471,
0.01619519107043743,
-0.033180393278598785,
-0.005483041051775217,
0.04341289401054382,
0.024621957913041115,
-0.0028073545545339584,
0.018283072859048843,
0.0006501118186861277,
0.017812829464673996,
0.0011615017428994179,
0.0054030995815992355,
0.03961332514882088,
-0.06350170075893402,
0.018772127106785774,
0.04074190929532051,
-0.037525441497564316,
0.008859390392899513
] |
719,748
|
ibm_platform_services.iam_identity_v1
|
unlock_api_key
|
Unlock the API key.
Unlocks an API key by ID. Users can manage user API keys for themself, or service
ID API keys for service IDs that are bound to an entity they have access to. In
case of service IDs and their API keys, a user must be either an account owner, a
IBM Cloud org manager or IBM Cloud space developer in order to manage service IDs
of the entity.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def unlock_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Unlock the API key.
Unlocks an API key by ID. Users can manage user API keys for themself, or service
ID API keys for service IDs that are bound to an entity they have access to. In
case of service IDs and their API keys, a user must be either an account owner, a
IBM Cloud org manager or IBM Cloud space developer in order to manage service IDs
of the entity.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='unlock_api_key',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/apikeys/{id}/lock'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.014716836623847485,
-0.007090240716934204,
-0.023053867742419243,
0.026140263304114342,
-0.014255759306252003,
-0.0436612032353878,
-0.032934099435806274,
0.037130843847990036,
-0.025443943217396736,
0.02361845225095749,
-0.016448229551315308,
-0.06729847937822342,
0.03837293013930321,
-0.031597916036844254,
-0.02647901512682438,
0.03511715680360794,
0.04053717106580734,
-0.004130877088755369,
0.017266876995563507,
-0.06902986764907837,
0.07986989617347717,
0.08528990298509598,
0.006017530336976051,
0.004973048809915781,
0.007908888161182404,
0.050436217337846756,
0.057851094752550125,
0.035869937390089035,
0.024295954033732414,
-0.0465594045817852,
-0.0065444759093225,
0.0376766063272953,
0.025669777765870094,
0.0294524934142828,
-0.0434730090200901,
-0.015046178363263607,
0.02809748984873295,
0.05118899792432785,
-0.0826551765203476,
0.013079541735351086,
0.00032698854920454323,
0.0635722205042839,
0.041929811239242554,
-0.06421208381652832,
0.03044992685317993,
0.0038368224631994963,
-0.03052520379424095,
-0.010689467191696167,
-0.014481593854725361,
0.023938383907079697,
0.018480733036994934,
0.012703152373433113,
-0.012100928463041782,
-0.03381861373782158,
0.016420001164078712,
0.031635552644729614,
-0.026893043890595436,
-0.0438493974506855,
0.019289972260594368,
-0.02651665359735489,
-0.021510671824216843,
0.005010687746107578,
-0.015930693596601486,
0.013051312416791916,
0.007786561734974384,
-0.021002544090151787,
-0.04509148374199867,
0.04783913120627403,
-0.015196734108030796,
0.026836585253477097,
-0.00590931810438633,
-0.017238648608326912,
-0.05679720640182495,
0.009470905177295208,
0.02480407990515232,
-0.014302807860076427,
-0.04806496202945709,
-0.02367491088807583,
-0.018038475885987282,
-0.026704847812652588,
0.01915823481976986,
-0.07599307596683502,
-0.004667232278734446,
-0.008671077899634838,
-0.013484160415828228,
-0.011922143399715424,
0.025443943217396736,
-0.04358592629432678,
0.002228932688012719,
-0.024559427052736282,
-0.019478166475892067,
0.012176206335425377,
-0.05243108421564102,
0.03558764606714249,
0.02501109428703785,
-0.002279510023072362,
0.024088939651846886,
-0.006930275354534388,
-0.0029970030300319195,
-0.0030652235727757215,
0.0306193009018898,
-0.02941485494375229,
0.0013502980582416058,
-0.01239263080060482,
0.050436217337846756,
-0.03654743731021881,
0.018904171884059906,
0.0043190717697143555,
-0.013747633434832096,
-0.01326773688197136,
0.015591942705214024,
-0.03240715339779854,
-0.05145246908068657,
0.007287845481187105,
-0.03363041952252388,
0.07362182438373566,
0.001167984213680029,
-0.006022234912961721,
0.03538063168525696,
0.004152048844844103,
-0.00907569658011198,
-0.06933098286390305,
0.006742080207914114,
-0.006723260972648859,
0.04889301955699921,
-0.016495278105139732,
-0.03925744444131851,
0.04591954126954079,
0.03276472166180611,
0.00017099265824072063,
-0.083031564950943,
0.001179746468551457,
-0.025820333510637283,
0.020042750984430313,
0.052280526608228683,
-0.0018219613702967763,
0.027118876576423645,
0.03208722174167633,
0.018612470477819443,
0.056157343089580536,
0.008558160625398159,
0.02630963921546936,
0.0028817334678024054,
0.019402889534831047,
0.01610947959125042,
-0.044790372252464294,
-0.04437634348869324,
-0.02621554210782051,
0.01672111265361309,
0.002437123330309987,
-0.041816893965005875,
0.024220677092671394,
0.018603060394525528,
0.03088277392089367,
0.009278005920350552,
-0.041628699749708176,
-0.009381513111293316,
0.017925558611750603,
0.0469357930123806,
-0.021604768931865692,
0.05156538635492325,
0.006360985804349184,
0.07659529894590378,
-0.06153971329331398,
0.014820343814790249,
-0.04791440814733505,
-0.07381001859903336,
0.003973263781517744,
0.014970899559557438,
0.019261742010712624,
-0.06880403310060501,
0.02166122756898403,
0.0029875931795686483,
-0.026629570871591568,
-0.00622924929484725,
-0.011348148807883263,
0.013070131652057171,
-0.012505547143518925,
-0.0206637941300869,
0.028153948485851288,
0.028925547376275063,
0.004634297918528318,
0.004893065895885229,
-0.008115902543067932,
-0.0033475158270448446,
0.0055282237008214,
-0.003041699295863509,
0.04840371385216713,
-0.040311336517333984,
-0.024183038622140884,
-0.045881904661655426,
-0.03970911353826523,
0.02804103121161461,
0.006967914290726185,
-0.03959619626402855,
0.022564562037587166,
0.01817021146416664,
-0.06504014134407043,
0.03092041239142418,
-0.01097175944596529,
0.0018890057690441608,
-0.01824549026787281,
0.030017077922821045,
0.047575656324625015,
0.05691011995077133,
-0.062367770820856094,
0.04110175371170044,
-0.07234209775924683,
0.011978602036833763,
0.018556011840701103,
0.022225812077522278,
0.010520092211663723,
-0.025538040325045586,
-0.010567140765488148,
-0.010614189319312572,
0.037431955337524414,
0.054839979857206345,
0.0034557278268039227,
0.04814024269580841,
0.02467234432697296,
-0.023731369525194168,
-0.016354132443666458,
0.008991008624434471,
-0.013258326798677444,
0.016307083889842033,
0.03632160648703575,
0.02792811580002308,
0.04226856306195259,
-0.016391770914196968,
-0.022715117782354355,
0.05371081084012985,
0.01618475653231144,
-0.037300217896699905,
-0.026817765086889267,
-0.05736178904771805,
-0.07557904720306396,
-0.07046014815568924,
-0.06007179617881775,
-0.00365333235822618,
-0.005424716509878635,
0.06921806186437607,
0.02653547376394272,
0.042908426374197006,
0.050662051886320114,
-0.04979635775089264,
0.0029334870632737875,
-0.06037290766835213,
0.014255759306252003,
0.029659507796168327,
-0.07313251495361328,
0.016429409384727478,
-0.038843415677547455,
0.03312229365110397,
0.03052520379424095,
0.05717359483242035,
-0.04716162756085396,
0.0013326547341421247,
-0.05675956606864929,
0.0018913581734523177,
0.03182374686002731,
-0.023994842544198036,
0.01811375468969345,
-0.07731044292449951,
0.03937036171555519,
0.021021364256739616,
-0.0053259143605828285,
0.02615908347070217,
0.05265691876411438,
0.05954485014081001,
0.004695461597293615,
0.06327110528945923,
0.0074101719073951244,
-0.011865684762597084,
-0.02653547376394272,
0.001313835266046226,
0.08747296780347824,
0.02166122756898403,
-0.021284837275743484,
0.02918902039527893,
0.01394523773342371,
0.016118887811899185,
-0.06304527074098587,
0.05856623500585556,
0.01030366774648428,
0.0173892043530941,
-0.029960619285702705,
0.0019348782952874899,
0.046145375818014145,
0.020023930817842484,
0.03899397328495979,
0.04140286520123482,
0.01109408587217331,
-0.02647901512682438,
0.034458477050065994,
0.0027688166592270136,
0.01624121516942978,
-0.056496091187000275,
-0.02920784056186676,
0.03319757059216499,
-0.02181178331375122,
-0.01400169637054205,
0.06417444348335266,
0.017793823033571243,
-0.03349868208169937,
-0.006036349572241306,
-0.022922132164239883,
0.02651665359735489,
0.019816916435956955,
-0.016354132443666458,
0.04591954126954079,
0.004290842451155186,
-0.010435404255986214,
-0.037488412111997604,
-0.09756020456552505,
-0.02218817174434662,
-0.04065008834004402,
0.033084653317928314,
-0.014923851005733013,
-0.0026041462551802397,
0.02504873462021351,
-0.007951232604682446,
-0.030337009578943253,
0.014679198153316975,
-0.030224092304706573,
0.06259360909461975,
-0.037300217896699905,
0.050473857671022415,
-0.01385114062577486,
0.02949013188481331,
-0.0027170630637556314,
-0.006563295144587755,
0.0017607980407774448,
-0.007066716440021992,
-0.056609008461236954,
-0.03498542308807373,
-0.0873224064707756,
0.04783913120627403,
-0.03989730775356293,
0.014933261089026928,
0.0853651836514473,
-0.009028648026287556,
-0.07444988191127777,
0.017972607165575027,
0.026704847812652588,
-0.03504187986254692,
0.019186465069651604,
0.028455059975385666,
-0.005227111745625734,
0.050662051886320114,
0.02930193766951561,
0.05322150141000748,
0.014378086663782597,
0.022583382204174995,
0.011263461783528328,
0.07177751511335373,
-0.042005088180303574,
0.006887931376695633,
0.03989730775356293,
-0.043021343648433685,
-0.004528438672423363,
-0.02024976536631584,
-0.012712561525404453,
-0.08468768000602722,
0.005796401295810938,
-0.05081260949373245,
-0.024164218455553055,
-0.03214367851614952,
-0.0554422028362751,
0.05231816694140434,
-0.01243026927113533,
-0.05547983944416046,
0.02337379939854145,
-0.0005292979767546058,
0.06089985370635986,
0.03970911353826523,
0.06511541455984116,
-0.026629570871591568,
-0.005241226404905319,
-0.03229423612356186,
0.015789547935128212,
0.017530350014567375,
-0.07874072343111038,
0.04716162756085396,
-0.0006857349653728306,
0.02482290007174015,
0.03359277918934822,
-0.018537191674113274,
-0.09048408269882202,
0.01679638959467411,
0.04719926789402962,
0.07889127731323242,
-0.03899397328495979,
-0.006784424185752869,
0.03826001286506653,
-0.005834040232002735,
0.010454223491251469,
-0.03914452716708183,
-0.01765267737209797,
0.02216935344040394,
-0.05088788643479347,
0.012966624461114407,
0.08506406843662262,
-0.0026770716067403555,
0.005053031723946333,
0.02615908347070217,
0.02770228125154972,
-0.02203761599957943,
-0.07636947184801102,
-0.032934099435806274,
-0.02318560518324375,
0.01236440148204565,
0.0035380630288273096,
-0.016118887811899185,
0.01687166839838028,
0.05822748690843582,
0.03395035117864609,
-0.05382372438907623,
0.041929811239242554,
-0.017850281670689583,
0.014076974242925644,
0.044677454978227615,
0.021341295912861824,
-0.05118899792432785,
-0.0612386018037796,
-0.05427539348602295,
0.013484160415828228,
-0.04569371044635773,
-0.04362356662750244,
0.0007263144943863153,
-0.025914430618286133,
0.026836585253477097,
0.006488017272204161,
0.01088707149028778,
0.01927115209400654,
-0.026930682361125946,
0.007763037458062172,
0.0054294210858643055,
0.025443943217396736,
0.033047016710042953,
-0.031729649752378464,
0.012891346588730812,
-0.03393153101205826,
-0.025914430618286133,
-0.016561146825551987,
-0.03327284753322601,
0.028549158945679665,
0.025989707559347153,
0.04287078604102135,
0.0811496153473854,
0.02040032111108303,
0.06729847937822342,
0.04881774261593819,
0.00800769031047821,
-0.013719404116272926,
-0.00945679098367691,
-0.092742420732975,
0.012797249481081963,
0.01774677447974682,
-0.014886212535202503,
-0.032632987946271896,
0.02062615565955639,
-0.014792114496231079,
-0.011254051700234413,
0.04957052320241928,
0.006149266380816698,
0.04866718873381615,
0.0353429913520813,
0.017379794269800186,
0.06195374205708504,
-0.008633438497781754,
-0.0011462242109701037,
-0.03788362070918083,
0.013004263862967491,
0.044715095311403275,
0.018273718655109406,
0.05574331432580948,
0.06556708365678787,
0.008671077899634838,
-0.04881774261593819,
0.009503839537501335,
-0.010313077829778194,
-0.024032481014728546,
0.03253888711333275,
-0.01379468198865652,
0.03210604190826416,
-0.024559427052736282,
0.007165518589317799,
-0.0159401036798954,
-0.05137719213962555,
-0.028379783034324646,
0.026629570871591568,
0.003594521665945649,
-0.025406304746866226,
0.015676630660891533,
-0.02070143260061741,
-0.057851094752550125,
-0.0066668023355305195,
-0.009249776601791382,
-0.0206637941300869,
-0.04415051266551018,
0.02196233905851841,
-0.0011191712692379951,
0.047387462109327316,
-0.044526901096105576,
0.007353713735938072,
0.006092808209359646,
-0.009433266706764698,
-0.04802732542157173,
0.005340028554201126,
0.005349438637495041,
-0.04716162756085396,
-0.03933272138237953,
-0.01018134132027626,
-0.02630963921546936,
-0.0019913366995751858,
-0.013418292626738548,
-0.049194131046533585,
0.00023862518719397485,
0.026761306449770927,
0.01247731875628233,
0.019054727628827095,
0.05133955553174019,
0.030412286520004272,
0.024540608748793602,
0.014970899559557438,
-0.02354317530989647,
-0.01463214959949255,
-0.05371081084012985,
0.0364157035946846,
-0.0009744964190758765,
-0.06014707311987877,
0.0023124441504478455,
0.0019184112315997481,
-0.043058980256319046,
0.017219828441739082,
-0.038730498403310776,
-0.10471161454916,
-0.0013632364571094513,
-0.05559275671839714,
-0.019515804946422577,
0.0366038978099823,
0.07173987478017807,
-0.02032504417002201,
-0.05954485014081001,
-0.056533731520175934,
0.025782693177461624,
-0.04516676440834999,
0.046070098876953125,
0.01160221267491579,
-0.03342340514063835,
0.02350553683936596,
-0.014999128878116608,
0.05547983944416046,
-0.027401169762015343,
-0.07708460837602615,
-0.020023930817842484,
-0.04418814927339554,
0.001690224977210164,
-0.006831472739577293,
-0.01841486617922783,
-0.04061244800686836,
0.05126427486538887,
0.05962012708187103,
-0.005885793827474117,
0.014076974242925644,
0.0012914871331304312,
0.03963383287191391,
0.022545741870999336,
0.03541826829314232,
-0.02326088212430477,
-0.043096620589494705,
-0.06541652977466583,
0.007047897204756737,
-0.023656092584133148,
-0.041478145867586136,
0.027401169762015343,
0.02905728481709957,
-0.0012961920583620667,
-0.018941810354590416,
-0.011856275610625744,
-0.011037628166377544,
-0.02502991445362568,
0.01393582858145237,
-0.048968300223350525,
-0.026591932401061058,
0.020908446982502937,
0.03948327898979187,
-0.004288489930331707,
0.03833528980612755,
0.0405748076736927,
-0.023881925269961357,
0.009230957366526127,
0.023769009858369827,
-0.04851663112640381,
-0.024521788582205772,
0.07207862287759781,
0.016457639634609222,
-0.018612470477819443,
0.0027688166592270136,
0.022696297615766525,
0.05977068468928337,
0.034270282834768295,
0.02333616092801094,
0.030242912471294403,
0.0051283095963299274,
0.0320684015750885,
-0.03402562811970711,
-0.026855405420064926,
-0.018198441714048386,
-0.04501620680093765,
0.005038917064666748,
-0.04866718873381615,
0.025575678795576096,
0.04866718873381615,
-0.025331025943160057,
0.017934968695044518,
0.024465329945087433,
-0.015968332067131996,
-0.015206143260002136,
-0.05762526020407677,
-0.01326773688197136,
-0.0025829742662608624,
-0.025142831727862358,
0.024352412670850754,
-0.05589386820793152,
0.04369884356856346,
0.06184082478284836,
0.013832321390509605,
-0.03359277918934822,
0.0309015940874815,
-0.05246872454881668,
0.05875442922115326,
-0.010538911446928978,
0.01763385720551014,
0.025594498962163925,
0.006553885526955128,
0.02192469872534275,
-0.012439679354429245,
0.02179296314716339,
0.0005166536429896951,
0.043360091745853424,
0.0102377999573946,
-0.010548321530222893,
0.06808889657258987,
-0.046220652759075165,
0.06718555837869644,
-0.006295117549598217,
-0.0035498254001140594,
-0.054877616465091705,
-0.05529164522886276,
-0.05886734649538994,
0.0036298080813139677,
0.009880229830741882,
-0.07520265877246857,
-0.00200662761926651,
-0.041553422808647156,
0.043171897530555725,
0.0467475987970829,
-0.040160778909921646,
-0.011809226125478745,
0.021059002727270126,
-0.02184942178428173,
-0.01744566299021244,
-0.03076985664665699,
0.003314581699669361,
-0.07023431360721588,
-0.02629082091152668,
-0.02348671667277813,
0.0554422028362751,
0.04110175371170044,
0.015676630660891533,
-0.03253888711333275,
0.018725387752056122,
0.05570567399263382,
-0.027269432321190834,
-0.04080064222216606,
0.02506755292415619,
-0.06854056566953659,
0.010981169529259205,
0.00940033234655857,
0.0018913581734523177,
-0.0065350658260285854,
-0.0280033927410841,
-0.04354828596115112,
-0.023919565603137016,
0.019666360691189766,
0.013634716160595417,
0.03364923968911171,
-0.06726083904504776,
-0.0766705796122551,
0.010642418637871742,
-0.06680916994810104,
-0.007640710566192865,
-0.047650933265686035,
-0.029885342344641685,
-0.04433870688080788,
-0.006709146313369274,
0.04211800545454025,
-0.012759611010551453,
0.048930659890174866,
-0.01601538062095642,
-0.02653547376394272,
-0.002846447052434087,
0.022583382204174995,
0.024540608748793602,
0.026930682361125946,
0.0353429913520813,
0.0018631289713084698,
0.014114613644778728,
-0.02502991445362568,
0.02757054567337036,
0.037337858229875565,
0.031428538262844086,
-0.0438493974506855,
0.08017100393772125,
0.025820333510637283,
-0.08935490995645523,
-0.07475098967552185,
0.0206637941300869,
0.06519069522619247,
-0.01833958737552166,
0.059394292533397675,
-0.015911873430013657,
-0.03696146607398987,
-0.03221895918250084,
-0.008878092281520367,
-0.002317148959264159,
0.08401017636060715,
0.02199997752904892,
0.03549354895949364,
0.03395035117864609,
-0.018198441714048386,
-0.08250462263822556,
0.0027123582549393177,
0.03511715680360794,
-0.013390063308179379,
-0.04561842978000641,
-0.0347784087061882,
0.059582486748695374,
0.04716162756085396,
-0.023844286799430847,
0.03810945525765419,
0.028473880141973495,
-0.014999128878116608,
-0.05382372438907623,
0.013390063308179379,
0.03970911353826523,
0.04546787589788437,
0.01666465401649475,
-0.024653524160385132,
0.00802651047706604,
0.013230097480118275,
0.010463633574545383,
0.024183038622140884,
0.07173987478017807,
-0.04870482534170151,
-0.04234384000301361,
0.05721123144030571,
0.030958052724599838,
0.03826001286506653,
-0.010981169529259205,
-0.017229238525032997,
-0.008967484347522259,
-0.04968344047665596,
-0.024164218455553055,
0.021322475746273994,
-0.021585948765277863,
0.04399995505809784
] |
719,749
|
ibm_platform_services.iam_identity_v1
|
unlock_service_id
|
Unlock the service ID.
Unlocks a service ID by ID. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. In case of service IDs and their API keys, a user must be either an account
owner, a IBM Cloud org manager or IBM Cloud space developer in order to manage
service IDs of the entity.
:param str id: Unique ID of the service ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def unlock_service_id(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Unlock the service ID.
Unlocks a service ID by ID. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. In case of service IDs and their API keys, a user must be either an account
owner, a IBM Cloud org manager or IBM Cloud space developer in order to manage
service IDs of the entity.
:param str id: Unique ID of the service ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='unlock_service_id',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/serviceids/{id}/lock'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.013528636656701565,
0.004608162213116884,
0.0172871183604002,
0.008700362406671047,
-0.00386025314219296,
-0.06327880173921585,
-0.03637300431728363,
0.06036290153861046,
-0.03430915251374245,
0.0449124239385128,
-0.02667858637869358,
-0.038607265800237656,
-0.0032780198380351067,
-0.0477147176861763,
0.0015762897673994303,
0.08588648587465286,
0.005585651379078627,
0.010319254361093044,
0.01978646032512188,
-0.06282437592744827,
0.06403617560863495,
0.08149370551109314,
0.026564979925751686,
-0.00530163524672389,
0.007498026825487614,
0.0352180041372776,
0.031450055539608,
0.0012141690822318196,
-0.009987901896238327,
-0.060817327350378036,
-0.0018733233446255326,
0.03889128193259239,
-0.0005141876172274351,
0.033835794776678085,
-0.03228317201137543,
-0.03332456201314926,
0.005921737290918827,
0.0678609311580658,
-0.10148844122886658,
0.014778307639062405,
-0.004444852937012911,
0.057447005063295364,
0.024671537801623344,
-0.030919892713427544,
-0.011824539862573147,
-0.0019372269744053483,
-0.03892914950847626,
-0.0013336925767362118,
0.0007650685729458928,
0.04816914349794388,
-0.009211591444909573,
0.03237784281373024,
-0.03824751079082489,
-0.061196018010377884,
0.017959289252758026,
0.023213587701320648,
-0.001640193397179246,
-0.0066412449814379215,
0.032018087804317474,
0.007995055057108402,
0.0033395567443221807,
0.007005732040852308,
-0.011606793850660324,
0.010754745453596115,
-0.027568502351641655,
-0.025940142571926117,
-0.017419658601284027,
0.02783358469605446,
-0.03283226862549782,
0.024520061910152435,
-0.0076873707585036755,
-0.022778097540140152,
-0.05381159856915474,
-0.004960815887898207,
0.03190448135137558,
-0.011549990624189377,
-0.00039614338311366737,
-0.04744963347911835,
-0.004577394109219313,
-0.000953820941504091,
-0.014162939973175526,
-0.06865617632865906,
0.014380685053765774,
-0.03182874619960785,
-0.043359801173210144,
0.0025372111704200506,
0.0483584851026535,
-0.013859989121556282,
-0.04994897544384003,
-0.03080628626048565,
0.004406984429806471,
0.03536948189139366,
-0.033286694437265396,
-0.005372639279812574,
0.006352494936436415,
0.0035762370098382235,
0.014030398800969124,
0.004667332395911217,
-0.055477824062108994,
0.02330826036632061,
-0.0059643397107720375,
-0.006428232416510582,
-0.02790932171046734,
-0.00041981140384450555,
0.05782569199800491,
-0.04991110786795616,
0.002776258159428835,
0.008742964826524258,
0.008146530017256737,
-0.020297689363360405,
0.0290832556784153,
0.000360937207005918,
-0.013822120614349842,
-0.0005322344950400293,
-0.02995423786342144,
0.04074685275554657,
0.028174404054880142,
-0.03934570774435997,
0.01149318739771843,
0.023592276498675346,
-0.04964602738618851,
-0.07619207352399826,
-0.001715930993668735,
-0.01792141981422901,
0.012013884261250496,
-0.04699520766735077,
-0.06070372089743614,
0.034138742834329605,
0.057219792157411575,
0.00557145057246089,
-0.042110130190849304,
-0.013784251175820827,
0.015772365033626556,
-0.0023727184161543846,
0.057598479092121124,
-0.013973595574498177,
-0.005126491654664278,
0.05434175953269005,
0.023686949163675308,
0.07312469929456711,
0.04267816245555878,
0.023592276498675346,
-0.05797716602683067,
0.012894334271550179,
0.03760373964905739,
-0.015687160193920135,
-0.01282806321978569,
-0.0032732863910496235,
-0.009940565563738346,
0.022323671728372574,
-0.06782305985689163,
-0.010508597828447819,
0.026318831369280815,
0.03622153028845787,
-0.04044390097260475,
-0.03896701708436012,
0.001653210842050612,
-0.004343080800026655,
0.04309472069144249,
-0.02683006040751934,
0.062445688992738724,
0.013093145564198494,
0.06471781432628632,
-0.03654341399669647,
0.012231629341840744,
-0.027587438002228737,
-0.051577337086200714,
0.008383210748434067,
0.028647763654589653,
-0.025447849184274673,
-0.011739335022866726,
0.04021668806672096,
-0.0015041022561490536,
-0.02932940237224102,
0.026792192831635475,
-0.026792192831635475,
0.04396570473909378,
0.023497603833675385,
-0.04449586570262909,
0.03639193996787071,
0.02071424573659897,
0.019900066778063774,
0.006437699776142836,
-0.013007940724492073,
0.015147528611123562,
-0.024917684495449066,
-0.02018408291041851,
0.03972439467906952,
-0.03137432038784027,
-0.031563661992549896,
-0.05968126282095909,
-0.0483584851026535,
0.021471621468663216,
0.022323671728372574,
-0.044230785220861435,
0.04919160157442093,
0.04582127556204796,
-0.0864923894405365,
0.020865721628069878,
-0.04267816245555878,
-0.0012828063918277621,
-0.01274285838007927,
0.04513963684439659,
0.040784720331430435,
0.028799239546060562,
-0.06040077283978462,
0.015478881075978279,
-0.04858569800853729,
0.023895226418972015,
-0.004051963798701763,
-0.04411717876791954,
-0.04142849147319794,
0.0070625352673232555,
0.011247040703892708,
0.021869245916604996,
0.02221006527543068,
0.05206963047385216,
-0.012989006005227566,
0.030446533113718033,
0.03536948189139366,
-0.03529374301433563,
-0.053849466145038605,
-0.0029466678388416767,
0.00592647073790431,
-0.006669646594673395,
0.027568502351641655,
-0.005098090041428804,
0.013348760083317757,
0.015147528611123562,
0.03324882686138153,
0.04703307896852493,
0.0362972654402256,
-0.004757270682603121,
-0.010480196215212345,
-0.038683000952005386,
-0.09588386118412018,
-0.03987586870789528,
-0.0885373055934906,
-0.0054436433129012585,
0.022626621648669243,
0.057144053280353546,
0.005959605798125267,
0.054606843739748,
0.06157470494508743,
-0.0334949716925621,
-0.01282806321978569,
-0.04388996586203575,
0.03889128193259239,
0.005680323578417301,
-0.022815965116024017,
-0.009557143785059452,
-0.016993634402751923,
0.031620465219020844,
0.020373426377773285,
0.025447849184274673,
-0.06142323091626167,
-0.003578603733330965,
0.02078998275101185,
-0.008667226880788803,
0.0463135689496994,
-0.013585439883172512,
-0.021774573251605034,
-0.05335717275738716,
0.010565401054918766,
-0.01172986812889576,
-0.018423182889819145,
0.009022247046232224,
0.03949718177318573,
0.052978482097387314,
-0.010546467266976833,
0.09611107409000397,
-0.008520484901964664,
0.006437699776142836,
-0.004861410241574049,
0.007843580096960068,
0.060249295085668564,
0.030219320207834244,
-0.03480144962668419,
0.01454162783920765,
0.029840631410479546,
0.013433964923024178,
-0.024917684495449066,
0.047601111233234406,
0.02470940724015236,
0.012061219662427902,
0.014797242358326912,
0.027719978243112564,
0.0069725969806313515,
0.0387776754796505,
0.04597274959087372,
0.044457998126745224,
0.019502444192767143,
-0.01775101013481617,
-0.007053068373352289,
-0.0024449059274047613,
0.012799661606550217,
-0.03714931383728981,
-0.04513963684439659,
0.02018408291041851,
-0.015781830996274948,
-0.022550884634256363,
0.032889071851968765,
0.010461262427270412,
-0.05328143388032913,
-0.054000940173864365,
-0.05305422097444534,
0.012610318139195442,
0.028269076719880104,
0.009410402737557888,
0.024690471589565277,
0.013348760083317757,
-0.009192656725645065,
-0.07085257023572922,
-0.10088254511356354,
0.006636511068791151,
0.050479140132665634,
-0.006300425156950951,
-0.032737597823143005,
0.012032818049192429,
0.02478514425456524,
-0.03830431401729584,
-0.021225474774837494,
0.05990847572684288,
-0.03410087525844574,
0.0539630725979805,
-0.023099981248378754,
0.018120231106877327,
0.005519380792975426,
0.021395884454250336,
-0.0010999710066244006,
-0.0025466782972216606,
0.0016354597173631191,
-0.010735810734331608,
-0.04828274995088577,
0.017817281186580658,
-0.0974743515253067,
0.07051175087690353,
-0.033135220408439636,
-0.014323881827294827,
0.07876715064048767,
0.008757165633141994,
-0.06456634402275085,
0.009524009190499783,
0.02862882986664772,
0.014428021386265755,
0.03544521704316139,
0.002989270258694887,
0.0011283726198598742,
0.0594540499150753,
0.043359801173210144,
0.044609472155570984,
0.021490557119250298,
-0.0071098715998232365,
-0.0048566763289272785,
0.012411506846547127,
-0.02533424273133278,
-0.004889811854809523,
0.08793140947818756,
-0.016169987618923187,
-0.02048703283071518,
-0.04328406602144241,
-0.017798347398638725,
-0.038531526923179626,
0.000012305517884669825,
-0.0287045668810606,
-0.01954031176865101,
-0.02900751866400242,
-0.03258612006902695,
0.06252142786979675,
-0.025637192651629448,
-0.04544258862733841,
0.01955924741923809,
-0.0041963388212025166,
0.04184504970908165,
0.047676846385002136,
0.061915524303913116,
-0.026337765157222748,
-0.008544153533875942,
-0.03618365898728371,
-0.02478514425456524,
0.012572448700666428,
-0.06297585368156433,
0.03790669143199921,
0.0031857145950198174,
0.03675169125199318,
0.028269076719880104,
-0.02370588295161724,
-0.07997895032167435,
-0.008908640593290329,
0.040633246302604675,
0.0483584851026535,
-0.05335717275738716,
0.005235364660620689,
0.04233734309673309,
-0.005793930031359196,
-0.01847051829099655,
-0.023914162069559097,
-0.0058081308379769325,
0.02190711349248886,
-0.04245094954967499,
0.018413715064525604,
0.05797716602683067,
-0.0353316105902195,
0.023989899083971977,
-0.0035502021200954914,
0.028799239546060562,
-0.014342816546559334,
-0.062142737209796906,
-0.015583020634949207,
0.004880344495177269,
0.019275231286883354,
0.0023431333247572184,
-0.025069160386919975,
-0.007237678859382868,
0.028136534616351128,
0.05888601765036583,
-0.09194549918174744,
0.04392783343791962,
-0.009505074471235275,
0.015242201276123524,
0.03697890415787697,
0.037584807723760605,
-0.039686527103185654,
-0.047601111233234406,
-0.024520061910152435,
0.0010141744278371334,
-0.04142849147319794,
-0.002492241794243455,
0.011682531796395779,
-0.033835794776678085,
0.019805394113063812,
0.022740228101611137,
0.015838634222745895,
-0.010669540613889694,
0.009808025322854519,
0.047904059290885925,
-0.006262556649744511,
0.034896120429039,
0.022948507219552994,
-0.052978482097387314,
0.03510439768433571,
-0.03245358169078827,
-0.04779045283794403,
-0.04733602702617645,
-0.01853678934276104,
-0.005935938097536564,
0.027795715257525444,
0.019748590886592865,
0.07073896378278732,
0.011625728569924831,
0.049380943179130554,
0.03082522191107273,
0.0001516232150606811,
0.011976014822721481,
0.009244726039469242,
-0.06721716374158859,
0.023043178021907806,
0.02915899269282818,
-0.030863089486956596,
-0.021717770025134087,
-0.03474464640021324,
-0.061991263180971146,
-0.02440645545721054,
0.08603796362876892,
0.013831587508320808,
0.01917109079658985,
0.049002256244421005,
-0.003943091258406639,
0.022569818422198296,
-0.019350968301296234,
0.011663597077131271,
-0.06028716638684273,
0.02760637179017067,
0.05706831440329552,
-0.004421185236424208,
0.07251879572868347,
0.03542628511786461,
-0.0018330876482650638,
-0.02893177978694439,
0.04748750478029251,
0.025296373292803764,
-0.007379686925560236,
0.04434439167380333,
-0.029234731569886208,
0.01270498987287283,
-0.009026980958878994,
0.05013832077383995,
-0.018745066598057747,
-0.01971072144806385,
-0.02010834403336048,
0.0384557880461216,
0.0038886547554284334,
-0.034063007682561874,
-0.001898174756206572,
0.02737915888428688,
-0.05873454362154007,
-0.01846105046570301,
0.02056276984512806,
0.02455793134868145,
-0.02840161696076393,
0.01924682967364788,
-0.03998947516083717,
0.01986219733953476,
-0.04366275295615196,
0.004056697711348534,
-0.013746382668614388,
-0.006248355843126774,
-0.03447956219315529,
0.00903644785284996,
0.001595224137417972,
-0.004908746108412743,
-0.023402933031320572,
-0.03881554305553436,
-0.017192445695400238,
-0.012951137498021126,
-0.02126334421336651,
-0.048623569309711456,
0.004193971864879131,
0.030219320207834244,
-0.014380685053765774,
-0.013386628590524197,
0.03160153329372406,
-0.0034957656171172857,
0.046881601214408875,
-0.02010834403336048,
-0.06918633729219437,
-0.03957292065024376,
-0.06411191821098328,
0.05559143051505089,
0.005221163854002953,
-0.02955661527812481,
-0.0027170879766345024,
-0.04328406602144241,
-0.05725765973329544,
-0.005221163854002953,
-0.03682743012905121,
-0.08134222775697708,
-0.06297585368156433,
-0.0808878019452095,
-0.03540734946727753,
0.046730127185583115,
0.061915524303913116,
-0.012099089100956917,
-0.03514226898550987,
-0.06282437592744827,
0.04578340798616409,
-0.023270390927791595,
0.05426602438092232,
0.013509702868759632,
-0.032188497483730316,
0.06475568562746048,
-0.018006624653935432,
0.03459316864609718,
-0.010991426184773445,
-0.04945668205618858,
-0.016217323020100594,
-0.07975173741579056,
-0.034990791231393814,
-0.001943143899552524,
-0.02385735884308815,
-0.045556195080280304,
0.07187502831220627,
0.07232945412397385,
0.030863089486956596,
0.036410871893167496,
0.008776099421083927,
0.046275701373815536,
-0.019748590886592865,
-0.02597801201045513,
-0.018319042399525642,
-0.023819489404559135,
-0.03957292065024376,
0.013348760083317757,
0.019190026447176933,
-0.0287045668810606,
0.029594484716653824,
0.01963498443365097,
-0.02783358469605446,
-0.0033584912307560444,
0.057522740215063095,
-0.034138742834329605,
-0.031147105619311333,
0.005879134871065617,
-0.03243464604020119,
-0.04472307860851288,
0.04896438866853714,
-0.002473307540640235,
0.0017762844217941165,
0.008813968859612942,
0.05415241792798042,
-0.01963498443365097,
0.011389048770070076,
0.044230785220861435,
-0.04991110786795616,
-0.04888864979147911,
0.06683847308158875,
0.0686183050274849,
-0.03192341700196266,
0.0017987691098824143,
0.08058485388755798,
0.06676273047924042,
0.055742908269166946,
0.017561666667461395,
0.03752800449728966,
-0.0016543942037969828,
0.02597801201045513,
-0.03540734946727753,
-0.011161835864186287,
-0.024823013693094254,
-0.050024714320898056,
-0.01729658432304859,
-0.03591857850551605,
0.031109238043427467,
0.04021668806672096,
-0.004203439224511385,
-0.003214116208255291,
0.04059537872672081,
-0.02862882986664772,
-0.014361751265823841,
-0.062445688992738724,
0.00872403010725975,
0.011739335022866726,
-0.025750799104571342,
0.00496554933488369,
-0.02917792834341526,
0.027890387922525406,
0.04722242057323456,
0.008851837366819382,
-0.057522740215063095,
0.0005325303063727915,
-0.096716970205307,
0.03595644608139992,
-0.007583231665194035,
0.03497185930609703,
-0.006787986494600773,
0.005708725191652775,
0.015175930224359035,
-0.012761793099343777,
-0.011057696305215359,
-0.0060022082179784775,
0.04506389796733856,
-0.007573764305561781,
-0.009495607577264309,
0.040936198085546494,
-0.042905375361442566,
0.10625991970300674,
-0.0015041022561490536,
0.006769052240997553,
-0.024141374975442886,
0.00033312730374746025,
-0.04472307860851288,
0.02972702495753765,
0.005841265898197889,
-0.07785829901695251,
0.026015881448984146,
-0.015317938290536404,
0.06638404726982117,
0.02463366836309433,
-0.0204112958163023,
0.017561666667461395,
0.014011464081704617,
0.005036553367972374,
0.008861304260790348,
-0.016009043902158737,
-0.0013952294830232859,
-0.08884026110172272,
-0.008260136470198631,
0.015857569873332977,
0.06388470530509949,
0.06805027276277542,
-0.013149948790669441,
-0.02196391671895981,
-0.010120443068444729,
0.04854783043265343,
-0.02417924255132675,
-0.06975436955690384,
0.019975803792476654,
-0.04843422397971153,
0.034233417361974716,
0.02775784768164158,
0.0043336134403944016,
0.005557249765843153,
0.003228317014873028,
-0.04112553969025612,
-0.027587438002228737,
0.006357228383421898,
0.017088307067751884,
-0.004641297738999128,
-0.06873191148042679,
-0.055477824062108994,
-0.0025561454240232706,
-0.06596748530864716,
0.012951137498021126,
-0.017817281186580658,
-0.016917897388339043,
0.03394940122961998,
-0.015185398049652576,
-0.021055065095424652,
-0.008799768052995205,
0.04873717576265335,
-0.04131488502025604,
-0.030522270128130913,
-0.016217323020100594,
0.017798347398638725,
0.015327406115829945,
0.0037821487057954073,
0.055477824062108994,
-0.024917684495449066,
0.06873191148042679,
-0.047904059290885925,
0.019900066778063774,
0.02190711349248886,
0.0574091337621212,
0.005741860251873732,
0.0816451832652092,
0.009566611610352993,
-0.08066058903932571,
-0.07823698967695236,
0.03535054624080658,
0.059491921216249466,
-0.0224562119692564,
0.03654341399669647,
-0.005879134871065617,
-0.04434439167380333,
-0.03692210093140602,
-0.02478514425456524,
0.0007260163547471166,
0.09224845468997955,
0.029537681490182877,
0.04654078185558319,
-0.004579760599881411,
-0.003306421684101224,
-0.04824487864971161,
0.03160153329372406,
0.008544153533875942,
-0.00965654943138361,
-0.026848996058106422,
-0.002184557728469372,
0.03557775914669037,
0.05206963047385216,
-0.0204112958163023,
0.03309734910726547,
0.04559406265616417,
0.032889071851968765,
-0.051274385303258896,
0.008946509100496769,
0.04112553969025612,
0.037433329969644547,
-0.002603481523692608,
-0.0366191528737545,
0.01454162783920765,
-0.04358701407909393,
-0.05006258189678192,
0.013320358470082283,
0.05926470831036568,
-0.04449586570262909,
-0.061991263180971146,
0.009732287377119064,
0.014020931906998158,
0.02652711048722267,
-0.021452687680721283,
-0.00494661508128047,
-0.019919000566005707,
-0.041807178407907486,
-0.016302527859807014,
0.02518276683986187,
-0.026867929846048355,
0.036410871893167496
] |
719,750
|
ibm_platform_services.iam_identity_v1
|
update_account_settings
|
Update account configurations.
Allows a user to configure settings on their account with regards to MFA, MFA
excemption list, session lifetimes, access control for creating new identities,
and enforcing IP restrictions on token creation.
:param str if_match: Version of the account settings to be updated. Specify
the version that you retrieved as entity_tag (ETag header) when reading the
account. This value helps identifying parallel usage of this API. Pass * to
indicate to update any version available. This might result in stale
updates.
:param str account_id: The id of the account to update the settings for.
:param str restrict_create_service_id: (optional) Defines whether or not
creating a service ID is access controlled. Valid values:
* RESTRICTED - only users assigned the 'Service ID creator' role on the
IAM Identity Service can create service IDs, including the account owner
* NOT_RESTRICTED - all members of an account can create service IDs
* NOT_SET - to 'unset' a previous set value.
:param str restrict_create_platform_apikey: (optional) Defines whether or
not creating platform API keys is access controlled. Valid values:
* RESTRICTED - only users assigned the 'User API key creator' role on the
IAM Identity Service can create API keys, including the account owner
* NOT_RESTRICTED - all members of an account can create platform API keys
* NOT_SET - to 'unset' a previous set value.
:param str allowed_ip_addresses: (optional) Defines the IP addresses and
subnets from which IAM tokens can be created for the account.
:param str mfa: (optional) Defines the MFA trait for the account. Valid
values:
* NONE - No MFA trait set
* NONE_NO_ROPC- No MFA, disable CLI logins with only a password
* TOTP - For all non-federated IBMId users
* TOTP4ALL - For all users
* LEVEL1 - Email-based MFA for all users
* LEVEL2 - TOTP-based MFA for all users
* LEVEL3 - U2F MFA for all users.
:param List[AccountSettingsUserMFA] user_mfa: (optional) List of users that
are exempted from the MFA requirement of the account.
:param str session_expiration_in_seconds: (optional) Defines the session
expiration in seconds for the account. Valid values:
* Any whole number between between '900' and '86400'
* NOT_SET - To unset account setting and use service default.
:param str session_invalidation_in_seconds: (optional) Defines the period
of time in seconds in which a session will be invalidated due to
inactivity. Valid values:
* Any whole number between '900' and '7200'
* NOT_SET - To unset account setting and use service default.
:param str max_sessions_per_identity: (optional) Defines the max allowed
sessions per identity required by the account. Value values:
* Any whole number greater than 0
* NOT_SET - To unset account setting and use service default.
:param str system_access_token_expiration_in_seconds: (optional) Defines
the access token expiration in seconds. Valid values:
* Any whole number between '900' and '3600'
* NOT_SET - To unset account setting and use service default.
:param str system_refresh_token_expiration_in_seconds: (optional) Defines
the refresh token expiration in seconds. Valid values:
* Any whole number between '900' and '259200'
* NOT_SET - To unset account setting and use service default.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsResponse` object
|
def update_account_settings(
self,
if_match: str,
account_id: str,
*,
restrict_create_service_id: Optional[str] = None,
restrict_create_platform_apikey: Optional[str] = None,
allowed_ip_addresses: Optional[str] = None,
mfa: Optional[str] = None,
user_mfa: Optional[List['AccountSettingsUserMFA']] = None,
session_expiration_in_seconds: Optional[str] = None,
session_invalidation_in_seconds: Optional[str] = None,
max_sessions_per_identity: Optional[str] = None,
system_access_token_expiration_in_seconds: Optional[str] = None,
system_refresh_token_expiration_in_seconds: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Update account configurations.
Allows a user to configure settings on their account with regards to MFA, MFA
excemption list, session lifetimes, access control for creating new identities,
and enforcing IP restrictions on token creation.
:param str if_match: Version of the account settings to be updated. Specify
the version that you retrieved as entity_tag (ETag header) when reading the
account. This value helps identifying parallel usage of this API. Pass * to
indicate to update any version available. This might result in stale
updates.
:param str account_id: The id of the account to update the settings for.
:param str restrict_create_service_id: (optional) Defines whether or not
creating a service ID is access controlled. Valid values:
* RESTRICTED - only users assigned the 'Service ID creator' role on the
IAM Identity Service can create service IDs, including the account owner
* NOT_RESTRICTED - all members of an account can create service IDs
* NOT_SET - to 'unset' a previous set value.
:param str restrict_create_platform_apikey: (optional) Defines whether or
not creating platform API keys is access controlled. Valid values:
* RESTRICTED - only users assigned the 'User API key creator' role on the
IAM Identity Service can create API keys, including the account owner
* NOT_RESTRICTED - all members of an account can create platform API keys
* NOT_SET - to 'unset' a previous set value.
:param str allowed_ip_addresses: (optional) Defines the IP addresses and
subnets from which IAM tokens can be created for the account.
:param str mfa: (optional) Defines the MFA trait for the account. Valid
values:
* NONE - No MFA trait set
* NONE_NO_ROPC- No MFA, disable CLI logins with only a password
* TOTP - For all non-federated IBMId users
* TOTP4ALL - For all users
* LEVEL1 - Email-based MFA for all users
* LEVEL2 - TOTP-based MFA for all users
* LEVEL3 - U2F MFA for all users.
:param List[AccountSettingsUserMFA] user_mfa: (optional) List of users that
are exempted from the MFA requirement of the account.
:param str session_expiration_in_seconds: (optional) Defines the session
expiration in seconds for the account. Valid values:
* Any whole number between between '900' and '86400'
* NOT_SET - To unset account setting and use service default.
:param str session_invalidation_in_seconds: (optional) Defines the period
of time in seconds in which a session will be invalidated due to
inactivity. Valid values:
* Any whole number between '900' and '7200'
* NOT_SET - To unset account setting and use service default.
:param str max_sessions_per_identity: (optional) Defines the max allowed
sessions per identity required by the account. Value values:
* Any whole number greater than 0
* NOT_SET - To unset account setting and use service default.
:param str system_access_token_expiration_in_seconds: (optional) Defines
the access token expiration in seconds. Valid values:
* Any whole number between '900' and '3600'
* NOT_SET - To unset account setting and use service default.
:param str system_refresh_token_expiration_in_seconds: (optional) Defines
the refresh token expiration in seconds. Valid values:
* Any whole number between '900' and '259200'
* NOT_SET - To unset account setting and use service default.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsResponse` object
"""
if not if_match:
raise ValueError('if_match must be provided')
if not account_id:
raise ValueError('account_id must be provided')
if user_mfa is not None:
user_mfa = [convert_model(x) for x in user_mfa]
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_account_settings',
)
headers.update(sdk_headers)
data = {
'restrict_create_service_id': restrict_create_service_id,
'restrict_create_platform_apikey': restrict_create_platform_apikey,
'allowed_ip_addresses': allowed_ip_addresses,
'mfa': mfa,
'user_mfa': user_mfa,
'session_expiration_in_seconds': session_expiration_in_seconds,
'session_invalidation_in_seconds': session_invalidation_in_seconds,
'max_sessions_per_identity': max_sessions_per_identity,
'system_access_token_expiration_in_seconds': system_access_token_expiration_in_seconds,
'system_refresh_token_expiration_in_seconds': system_refresh_token_expiration_in_seconds,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_id']
path_param_values = self.encode_path_vars(account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/accounts/{account_id}/settings/identity'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, if_match: str, account_id: str, *, restrict_create_service_id: Optional[str] = None, restrict_create_platform_apikey: Optional[str] = None, allowed_ip_addresses: Optional[str] = None, mfa: Optional[str] = None, user_mfa: Optional[List[ibm_platform_services.iam_identity_v1.AccountSettingsUserMFA]] = None, session_expiration_in_seconds: Optional[str] = None, session_invalidation_in_seconds: Optional[str] = None, max_sessions_per_identity: Optional[str] = None, system_access_token_expiration_in_seconds: Optional[str] = None, system_refresh_token_expiration_in_seconds: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.022826995700597763,
-0.022089282050728798,
-0.010928714647889137,
0.010270040482282639,
-0.033724095672369,
-0.018063468858599663,
-0.04750881716609001,
-0.04776174947619438,
-0.06875500082969666,
0.016661809757351875,
0.005322083830833435,
-0.0116875059902668,
0.017810536548495293,
0.017610300332307816,
0.0029271459206938744,
0.0380660705268383,
0.003675399348139763,
0.0019523089285939932,
0.08169661462306976,
0.014648903161287308,
0.022194668650627136,
0.002898164326325059,
-0.01129757147282362,
0.05117631331086159,
0.03699111565947533,
-0.019001418724656105,
0.02647341415286064,
0.031279098242521286,
0.025377381592988968,
0.04957441985607147,
-0.0043656895868480206,
0.009600828401744366,
-0.008178092539310455,
0.050754763185977936,
-0.0052588507533073425,
-0.0762164518237114,
0.0023066753055900335,
0.0658041387796402,
-0.10201538354158401,
0.004481615964323282,
-0.0814015343785286,
0.026072939857840538,
0.07419300824403763,
-0.007814505137503147,
-0.01826370507478714,
0.03688572719693184,
0.006001834757626057,
0.0770173966884613,
0.00015462365990970284,
0.004494789522141218,
0.042450204491615295,
-0.025735698640346527,
-0.0683334469795227,
0.033618707209825516,
-0.023944107815623283,
0.01722036488354206,
-0.050586141645908356,
-0.07351852208375931,
0.005996565334498882,
-0.05029105395078659,
-0.02891841158270836,
-0.04198649898171425,
-0.00198919465765357,
-0.00834671314805746,
-0.011613734997808933,
-0.024428891018033028,
-0.04051106795668602,
-0.009716754779219627,
0.02076139487326145,
-0.026241561397910118,
-0.014743752777576447,
-0.004036352504044771,
0.001995781436562538,
-0.04464226961135864,
-0.030962934717535973,
0.0036701299250125885,
0.03347116336226463,
0.013068086467683315,
-0.06078768149018288,
0.02189958281815052,
0.03387163579463959,
0.04293498769402504,
-0.024428891018033028,
0.0046476018615067005,
0.010053995996713638,
0.029382117092609406,
-0.0015426138415932655,
-0.052567433565855026,
-0.02371225319802761,
-0.04683433473110199,
0.0037834218237549067,
-0.04266097769141197,
0.011360804550349712,
0.02735867165029049,
0.02457643300294876,
-0.017420602962374687,
-0.004281379282474518,
-0.04965873062610626,
-0.08835712820291519,
0.00688182283192873,
-0.03532598912715912,
-0.04653925076127052,
-0.009210892952978611,
-0.007572113070636988,
0.07305482029914856,
-0.06626784801483154,
-0.05062829703092575,
-0.03313392400741577,
0.06529827415943146,
-0.009332088753581047,
-0.02432350255548954,
-0.007666962221264839,
-0.02839147113263607,
-0.020476847887039185,
0.03869839757680893,
0.04021598398685455,
-0.03488336130976677,
-0.017789458855986595,
0.029824746772646904,
0.009174007922410965,
0.016377262771129608,
0.01886441558599472,
0.010991946794092655,
-0.002207874320447445,
0.07722817361354828,
-0.0006810686318203807,
-0.01998152583837509,
0.041080161929130554,
0.02613617293536663,
-0.02225790172815323,
-0.08995901793241501,
-0.04143847897648811,
0.0027822377160191536,
-0.0272743608802557,
0.014828062616288662,
-0.010528240352869034,
0.012361988425254822,
-0.010275309905409813,
-0.05045967549085617,
0.014206274412572384,
-0.01202474720776081,
0.04986950382590294,
-0.022047126665711403,
-0.0639914721250534,
-0.025208760052919388,
-0.027653757482767105,
0.05598199740052223,
-0.012920543551445007,
-0.053874239325523376,
-0.03332361951470375,
0.005369508173316717,
-0.007635345682501793,
-0.0623052641749382,
0.03020414151251316,
-0.09459608793258667,
0.014417050406336784,
0.03039384074509144,
0.015976790338754654,
0.014343278482556343,
-0.0015149496030062437,
-0.03861408680677414,
0.03134233132004738,
0.022700531408190727,
-0.010443930514156818,
0.049827348440885544,
-0.020497925579547882,
-0.02872871235013008,
-0.022110359743237495,
0.023417167365550995,
-0.027674835175275803,
-0.014301124028861523,
-0.012182828970253468,
-0.005743634887039661,
-0.012182828970253468,
-0.04906855896115303,
0.030688926577568054,
0.023164236918091774,
-0.08869437128305435,
0.00394150335341692,
0.028539014980196953,
-0.03195358067750931,
0.014996683225035667,
0.02060331404209137,
0.01792646385729313,
0.011571579612791538,
-0.0005839142249897122,
-0.01817939430475235,
0.06820698082447052,
-0.0168620478361845,
-0.0008549584890715778,
0.07950454950332642,
-0.032754525542259216,
0.03574753925204277,
-0.04839407652616501,
-0.05298898369073868,
-0.022363290190696716,
0.022384367883205414,
-0.07259111106395721,
0.041670333594083786,
-0.014901834540069103,
-0.0031142092775553465,
-0.04251343756914139,
0.01844286359846592,
0.003211693139746785,
0.027653757482767105,
-0.04927933216094971,
0.03401917964220047,
-0.04447364807128906,
0.00006306800787569955,
0.043757013976573944,
-0.08300342410802841,
0.0010011839913204312,
-0.019918292760849,
-0.009990762919187546,
-0.009089697152376175,
0.04771959409117699,
0.04662356153130531,
0.0346093513071537,
-0.0013595025520771742,
0.018453402444720268,
-0.014174658805131912,
-0.03669603168964386,
-0.04379916563630104,
-0.05045967549085617,
0.02579893171787262,
0.045822612941265106,
-0.005970218684524298,
-0.00614410825073719,
-0.00834671314805746,
-0.015397156588733196,
0.030941857025027275,
0.0475931279361248,
0.020814089104533195,
0.016050560399889946,
0.006502426695078611,
-0.01436435617506504,
0.023606866598129272,
-0.03956257924437523,
-0.0059069860726594925,
0.001849555759690702,
0.006254765670746565,
0.008330904878675938,
0.03382948040962219,
0.0796310156583786,
-0.06546689569950104,
0.013489637523889542,
-0.038972407579422,
-0.006876553408801556,
-0.009200354106724262,
-0.06449732929468155,
0.026157250627875328,
-0.022089282050728798,
-0.04131201654672623,
0.0519351065158844,
0.0015070454683154821,
-0.03888809680938721,
0.039162103086709976,
-0.006238957401365042,
0.04535890743136406,
-0.014733213931322098,
0.03956257924437523,
-0.03945719078183174,
-0.012857310473918915,
-0.052145879715681076,
-0.006022912450134754,
0.01390064973384142,
-0.009553403593599796,
0.05252527818083763,
-0.012488453648984432,
0.027843454852700233,
0.09830573201179504,
0.02242652326822281,
-0.011023563332855701,
0.02891841158270836,
-0.02242652326822281,
0.024175960570573807,
0.016324568539857864,
-0.0028217581566423178,
-0.009110774844884872,
-0.03802391514182091,
-0.016830431297421455,
-0.05463303253054619,
0.002321166219189763,
0.05227234587073326,
0.031637415289878845,
0.007614267989993095,
0.0011849539587274194,
0.06643646210432053,
0.016124332323670387,
0.03488336130976677,
-0.03142664209008217,
-0.003082592971622944,
-0.04653925076127052,
-0.013953343965113163,
-0.015639549121260643,
0.013436944223940372,
-0.014954527840018272,
-0.008942154236137867,
0.04641278460621834,
0.004832030273973942,
0.013869034126400948,
0.049743037670850754,
-0.01913842372596264,
-0.006623622961342335,
0.04578045755624771,
0.013837417587637901,
0.07077844440937042,
0.021330488845705986,
0.06504534929990768,
0.09274125844240189,
-0.006481349468231201,
-0.023164236918091774,
-0.030056599527597427,
0.0029666663613170385,
-0.01432220172137022,
-0.06108276546001434,
0.022173592820763588,
0.030667848885059357,
0.05783682316541672,
0.023311780765652657,
-0.0536634661257267,
0.00012391299242153764,
0.0009162151254713535,
-0.04700295627117157,
0.057246651500463486,
-0.03174280375242233,
0.03427211195230484,
0.04734019562602043,
-0.028517937287688255,
-0.02761160209774971,
-0.0363587886095047,
-0.019528359174728394,
0.007145292591303587,
0.02908703126013279,
-0.0407007671892643,
0.0022118263877928257,
-0.005632977467030287,
-0.013415866531431675,
0.017157133668661118,
0.07145292311906815,
0.013068086467683315,
-0.006597275845706463,
0.01567116566002369,
-0.004252397455275059,
-0.058469150215387344,
-0.03401917964220047,
0.06213664263486862,
0.034756895154714584,
-0.03429318964481354,
0.016566962003707886,
0.000928071269299835,
-0.0036358789075165987,
0.06205233186483383,
0.023754408583045006,
0.06268466264009476,
-0.04139632731676102,
-0.00822024792432785,
-0.005538128782063723,
-0.013141858391463757,
-0.015376078896224499,
-0.05922793969511986,
-0.02476613223552704,
0.012193367816507816,
0.019254349172115326,
0.01129757147282362,
-0.017726227641105652,
-0.07558412849903107,
-0.012973237782716751,
0.0995703861117363,
-0.058553457260131836,
0.04856269434094429,
-0.009474363178014755,
0.03922533616423607,
-0.06049259379506111,
0.052314501255750656,
0.08995901793241501,
-0.10100366175174713,
0.03650633245706558,
-0.06226310878992081,
0.024028416723012924,
0.07301266491413116,
-0.02708466351032257,
-0.03446180745959282,
0.01739952526986599,
0.019285965710878372,
-0.012467375956475735,
0.018074005842208862,
-0.07200094312429428,
0.03749697655439377,
0.03239620849490166,
0.0034145645331591368,
0.035515688359737396,
-0.0020155415404587984,
-0.007709117140620947,
-0.05357915535569191,
0.03688572719693184,
-0.045991234481334686,
0.019486203789711,
0.00900538731366396,
-0.05956518277525902,
-0.008504794910550117,
-0.04544321820139885,
0.07326559722423553,
0.005701479502022266,
0.008378329686820507,
-0.02881302312016487,
0.0011348947882652283,
0.024787209928035736,
-0.002616252051666379,
-0.0021657191682606936,
-0.036042626947164536,
-0.030098754912614822,
-0.022616220638155937,
0.0016374628758057952,
-0.0657619833946228,
-0.006344345398247242,
-0.037686675786972046,
0.03524167835712433,
-0.01376364566385746,
0.01237252727150917,
0.022278979420661926,
-0.0002344878448639065,
-0.06196802482008934,
0.0058437529951334,
-0.0528203621506691,
-0.0019852425903081894,
0.016588039696216583,
0.02657880261540413,
-0.025567078962922096,
-0.0467500239610672,
0.04215511679649353,
0.0432933047413826,
0.023944107815623283,
0.0053326222114264965,
-0.0031510950066149235,
0.005232504103332758,
-0.009837950579822063,
-0.03429318964481354,
-0.040911540389060974,
-0.028707634657621384,
0.055433981120586395,
0.008109590969979763,
-0.021836351603269577,
-0.02390195243060589,
0.011244877241551876,
0.04371485859155655,
-0.02622048370540142,
-0.029487505555152893,
0.027253283187747,
0.009916991926729679,
-0.04215511679649353,
0.01972859539091587,
-0.03151094913482666,
-0.011181645095348358,
-0.010248962789773941,
-0.00015223596710711718,
-0.009758910164237022,
0.0013660893309861422,
0.005306275561451912,
-0.012562225572764874,
0.022194668650627136,
-0.02638910338282585,
-0.03477797284722328,
0.028707634657621384,
0.025756776332855225,
0.06976672261953354,
0.11550502479076385,
0.022447600960731506,
-0.02240544557571411,
0.015734396874904633,
-0.015049377456307411,
-0.03153202682733536,
-0.03867731988430023,
0.030309529975056648,
0.06559336185455322,
0.010328004136681557,
0.00036194120184518397,
0.022574065253138542,
-0.05265174061059952,
0.019528359174728394,
0.031384486705064774,
0.013869034126400948,
0.013668796978890896,
-0.015776552259922028,
0.028412548825144768,
-0.08759833127260208,
0.05142924189567566,
-0.02579893171787262,
-0.03323930874466896,
-0.0021222466602921486,
0.02018176205456257,
-0.06765896081924438,
-0.04430503025650978,
0.034503962844610214,
-0.04700295627117157,
-0.02674742229282856,
-0.001038728398270905,
-0.013426405377686024,
0.007566843647509813,
-0.04919502139091492,
0.008230786770582199,
-0.04148063436150551,
-0.035452455282211304,
-0.0018008139450103045,
0.011466192081570625,
0.05749958008527756,
-0.08726109564304352,
0.011413497850298882,
0.02474505454301834,
0.014638364315032959,
-0.002081408863887191,
0.034503962844610214,
-0.03939395770430565,
-0.056572169065475464,
0.00900538731366396,
0.02579893171787262,
0.0015268056886270642,
-0.030140908434987068,
-0.0054485490545630455,
-0.06268466264009476,
-0.019338659942150116,
0.010227885097265244,
0.02113025262951851,
0.019285965710878372,
0.02560923434793949,
0.05589768663048744,
-0.003267021616920829,
-0.03165849298238754,
-0.0011665110941976309,
-0.04485304653644562,
-0.015681704506278038,
-0.012066902592778206,
-0.007867198437452316,
-0.007940970361232758,
0.042028650641441345,
-0.07845067232847214,
-0.01957051269710064,
-0.04059537872672081,
-0.024702899158000946,
0.04957441985607147,
-0.021488571539521217,
0.012193367816507816,
-0.0814015343785286,
-0.03880378603935242,
-0.033112846314907074,
-0.030752157792448997,
0.010333273559808731,
-0.01730467565357685,
-0.007429839577525854,
-0.040995851159095764,
0.011993130668997765,
0.021962815895676613,
0.09425884485244751,
0.05964949354529381,
-0.05560259893536568,
0.016145410016179085,
-0.01982344500720501,
-0.04261882230639458,
0.010449199937283993,
-0.020297689363360405,
0.003728093346580863,
-0.03195358067750931,
-0.026094017550349236,
-0.012014208361506462,
-0.024112727493047714,
-0.04830976575613022,
0.008330904878675938,
0.061841558665037155,
-0.014417050406336784,
0.05235665664076805,
-0.02510337345302105,
0.04114339500665665,
-0.035347066819667816,
-0.02000260353088379,
-0.04873131588101387,
-0.06099845468997955,
0.0320589654147625,
-0.021435877308249474,
0.05497027188539505,
0.04042675718665123,
-0.012087980285286903,
0.016893664374947548,
0.03825576975941658,
-0.01660911552608013,
0.04251343756914139,
0.005174540914595127,
0.011445114389061928,
0.04544321820139885,
-0.008162284269928932,
0.03583185002207756,
-0.06445517390966415,
0.06285328418016434,
-0.035094134509563446,
-0.007071521133184433,
-0.04053214564919472,
0.09813711792230606,
0.016503728926181793,
-0.055518291890621185,
0.03798175975680351,
0.00577525096014142,
-0.017009589821100235,
0.012804617173969746,
0.005880638957023621,
-0.022004971280694008,
0.0018482384039089084,
0.048689160495996475,
-0.004478981252759695,
-0.012593841180205345,
0.013837417587637901,
0.002747986698523164,
0.031026165932416916,
-0.013342094607651234,
0.03576861694455147,
-0.01903303526341915,
0.014153581112623215,
-0.0024067936465144157,
-0.03235405310988426,
0.06782758235931396,
0.0031484602950513363,
-0.025208760052919388,
-0.007735464256256819,
0.037222970277071,
-0.06702663749456406,
0.021330488845705986,
-0.011655890382826328,
0.06112492084503174,
-0.004984842613339424,
-0.011497808620333672,
-0.079673171043396,
0.03399810194969177,
-0.026262639090418816,
0.08443669974803925,
-0.03888809680938721,
0.013647719286382198,
-0.013173473998904228,
0.017367908731102943,
0.006159916520118713,
-0.0010644167196005583,
0.03298638015985489,
0.0030167256481945515,
0.08106429129838943,
0.0216466523706913,
0.03271237015724182,
0.035030901432037354,
0.017336292192339897,
0.060197509825229645,
-0.0320589654147625,
-0.056825097650289536,
-0.022805918008089066,
0.021878506988286972,
-0.08443669974803925,
0.011972053907811642,
-0.05842699483036995,
-0.0024239192716777325,
0.03056246042251587,
-0.02440781332552433,
-0.022531909868121147,
0.03758128732442856,
0.014596209861338139,
-0.014532976783812046,
-0.053199756890535355,
-0.008863113820552826,
-0.021182946860790253,
-0.03694896027445793,
0.011371343396604061,
-0.005954410415142775,
0.004476346541196108,
0.03338685259222984,
0.058384839445352554,
0.02318531461060047,
0.041080161929130554,
-0.024281347170472145,
-0.021077558398246765,
0.050248902291059494,
0.010038187727332115,
0.03123694285750389,
0.01250953134149313,
0.005743634887039661,
-0.0005187055794522166,
0.035536766052246094,
0.06525611877441406,
-0.015881940722465515,
0.00761953741312027,
0.03382948040962219,
0.017336292192339897,
-0.06361207365989685,
0.058005440980196,
-0.022574065253138542,
-0.05037536472082138,
0.06635215878486633,
-0.024386735633015633,
-0.0839308425784111,
-0.04217619448900223,
0.0033618705347180367,
0.06243173032999039,
-0.02883410081267357,
-0.039267491549253464,
0.043419770896434784,
0.017673533409833908,
0.034061335027217865,
-0.009716754779219627,
-0.04388347640633583,
0.013215629383921623,
0.003285464597865939,
0.02320639230310917,
-0.021256718784570694,
-0.011265954934060574,
-0.04287175461649895,
0.028201773762702942,
-0.006934517063200474,
-0.017273059114813805,
0.0692187026143074,
0.03905671834945679,
0.009938068687915802,
-0.021140791475772858,
0.01723090372979641,
-0.039246413856744766,
0.004078507423400879,
0.011213261634111404,
0.05598199740052223,
-0.0018311128951609135,
0.024281347170472145,
0.027232205495238304,
-0.0012626774841919541,
0.008473178371787071,
-0.02320639230310917,
-0.04388347640633583,
0.09813711792230606,
0.012098519131541252,
0.007471994496881962,
0.005664594005793333,
0.026283716782927513,
-0.05589768663048744,
0.032164353877305984,
-0.009073888882994652,
-0.0147121362388134,
-0.013415866531431675,
-0.011803433299064636,
-0.06289543211460114,
0.04793036729097366,
0.004505328368395567,
-0.0008371743024326861,
-0.03106832131743431,
0.03621124476194382,
-0.036759261041879654,
0.03819253668189049,
-0.0007120262598618865,
-0.01324724592268467,
0.02476613223552704,
-0.004178625997155905,
0.007608998566865921,
-0.04944795370101929,
0.02006583660840988,
0.032944224774837494,
0.016419418156147003,
0.034314267337322235,
-0.03779206424951553,
0.0320589654147625,
0.03410349041223526,
0.04143847897648811,
0.010090881027281284,
0.04034244641661644,
0.03629555553197861,
0.023227469995617867,
0.013458020985126495,
0.01592409610748291,
-0.0036701299250125885,
-0.008536411449313164
] |
719,751
|
ibm_platform_services.iam_identity_v1
|
update_account_settings_assignment
|
Update assignment.
Update an account settings assignment. Call this method to retry failed
assignments or migrate the settings in child accounts to a new version.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the assignment to be updated. Specify the
version that you retrieved when reading the assignment. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param int template_version: Template version to be applied to the
assignment. To retry all failed assignments, provide the existing version.
To migrate to a different version, provide the new version number.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
|
def update_account_settings_assignment(
self,
assignment_id: str,
if_match: str,
template_version: int,
**kwargs,
) -> DetailedResponse:
"""
Update assignment.
Update an account settings assignment. Call this method to retry failed
assignments or migrate the settings in child accounts to a new version.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the assignment to be updated. Specify the
version that you retrieved when reading the assignment. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param int template_version: Template version to be applied to the
assignment. To retry all failed assignments, provide the existing version.
To migrate to a different version, provide the new version number.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
if template_version is None:
raise ValueError('template_version must be provided')
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_account_settings_assignment',
)
headers.update(sdk_headers)
data = {
'template_version': template_version,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PATCH',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, if_match: str, template_version: int, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.02596675418317318,
0.019611254334449768,
-0.05215141177177429,
-0.022680053487420082,
0.0018124522175639868,
-0.003466016845777631,
-0.04517852142453194,
-0.018022380769252777,
-0.031032994389533997,
-0.02518593519926071,
0.016869310289621353,
-0.047539133578538895,
0.013718798756599426,
0.020065218210220337,
-0.01509885024279356,
-0.02193555235862732,
0.011866625398397446,
0.0048211002722382545,
0.04521483927965164,
-0.009111061692237854,
0.0072815860621631145,
-0.011240154504776001,
0.00789897795766592,
0.08483683317899704,
0.010304988361895084,
-0.03662583604454994,
0.058180056512355804,
0.002070076996460557,
0.036044761538505554,
0.043253712356090546,
-0.012928901240229607,
0.0383145809173584,
-0.027964197099208832,
0.07495857030153275,
0.0026761190965771675,
-0.04372583329677582,
-0.025803327560424805,
0.03706163913011551,
-0.105682872235775,
0.004162852186709642,
-0.02331560291349888,
0.04968184605240822,
0.03751560300588608,
-0.0072225709445774555,
-0.026348084211349487,
0.025276727974414825,
0.022916113957762718,
-0.005256905686110258,
0.04441586136817932,
-0.03530025854706764,
0.0396583154797554,
-0.028690539300441742,
-0.04103836789727211,
0.038350898772478104,
-0.016696805134415627,
0.06780409812927246,
0.01529859472066164,
-0.015616369433701038,
0.00024854543153196573,
-0.08868645131587982,
-0.028436319902539253,
-0.030887726694345474,
-0.0548388808965683,
-0.03691637143492699,
-0.05226036161184311,
-0.01705997623503208,
-0.026747573167085648,
-0.0013267104513943195,
-0.015525576658546925,
-0.0194841455668211,
-0.03215882554650307,
0.01578887552022934,
-0.0051207165233790874,
-0.04910077154636383,
-0.0033411767799407244,
0.04329003021121025,
-0.01084066554903984,
0.0058742971159517765,
0.005157033447176218,
-0.002424169098958373,
0.00803062692284584,
-0.008775128982961178,
0.011884783394634724,
-0.03157775104045868,
0.013355627655982971,
-0.03933146223425865,
-0.008375640027225018,
-0.06184808537364006,
-0.03666215017437935,
-0.022298723459243774,
0.02484092302620411,
-0.030215859413146973,
0.019919950515031815,
-0.005656394176185131,
0.058579545468091965,
0.008107800967991352,
0.012901663780212402,
-0.07880818843841553,
-0.07405064254999161,
0.014708440750837326,
-0.052042458206415176,
-0.05694527179002762,
-0.006419054232537746,
-0.026384402066469193,
0.049463942646980286,
-0.09362558275461197,
-0.01910281553864479,
0.009696676395833492,
0.020337598398327827,
-0.055674172937870026,
0.039404094219207764,
0.00974207278341055,
-0.042854223400354385,
0.011285550892353058,
0.04071151092648506,
0.017232481390237808,
-0.07147213071584702,
-0.09740256518125534,
0.03878670558333397,
-0.018866753205657005,
0.021663174033164978,
0.0066278777085244656,
0.004146963357925415,
0.07321535050868988,
0.06362763047218323,
-0.0158705897629261,
-0.05440307408571243,
-0.017168927937746048,
-0.005615537520498037,
-0.05436675623059273,
-0.02048286609351635,
-0.01258388813585043,
-0.051170848309993744,
-0.026130180805921555,
-0.008411956951022148,
0.0280913058668375,
0.0009601343772374094,
0.004766624420881271,
-0.008643479086458683,
-0.031813815236091614,
0.03364782780408859,
-0.006827622186392546,
0.004934591241180897,
-0.033738620579242706,
-0.01870332658290863,
-0.038895655423402786,
0.05865217745304108,
0.05120716616511345,
-0.010087084956467152,
-0.005801662802696228,
0.003193638287484646,
0.008638938888907433,
-0.01797698438167572,
0.02260741963982582,
-0.06431765109300613,
0.021645015105605125,
0.020991306751966476,
-0.01284718792885542,
0.0442705936729908,
-0.039876218885183334,
-0.006936573423445225,
-0.024931715801358223,
0.045614324510097504,
0.02894475869834423,
0.08948542922735214,
-0.019974425435066223,
-0.036571357399225235,
-0.027473915368318558,
0.017877111211419106,
-0.053095657378435135,
-0.012474937364459038,
0.01783171482384205,
-0.03470102697610855,
-0.027873404324054718,
-0.04263631999492645,
0.007358760107308626,
0.02741944044828415,
-0.028363686054944992,
0.043980054557323456,
0.03893197327852249,
0.0036589517258107662,
-0.01645166426897049,
-0.015843352302908897,
0.07357852160930634,
0.02656598761677742,
0.008806905709207058,
-0.0032276855781674385,
0.0865800604224205,
-0.03486445173621178,
-0.0370071642100811,
0.06555243581533432,
-0.08825064450502396,
0.0383145809173584,
-0.009533248841762543,
-0.01783171482384205,
-0.044234275817871094,
0.044779032468795776,
-0.07539437711238861,
0.04644962027668953,
0.02068261057138443,
0.01232966873794794,
-0.09427928924560547,
0.02829105034470558,
0.05305933952331543,
0.027110744267702103,
0.04862864688038826,
0.09282660484313965,
-0.026929158717393875,
0.011639642529189587,
0.01377327460795641,
-0.026130180805921555,
0.0075993612408638,
-0.0019736094400286674,
0.0036839197855442762,
-0.039876218885183334,
0.03112378716468811,
0.039876218885183334,
-0.03377493843436241,
0.015888748690485954,
-0.016497060656547546,
-0.10430282354354858,
0.02068261057138443,
-0.03411995247006416,
-0.022516625002026558,
0.033938366919755936,
-0.03853248432278633,
-0.008938555605709553,
0.035046037286520004,
-0.06508031487464905,
0.019574938341975212,
0.05796215310692787,
0.027582867071032524,
0.06842149049043655,
-0.008189515210688114,
0.013074169866740704,
-0.02952583320438862,
-0.057853203266859055,
-0.03787877410650253,
-0.04176471009850502,
0.002015601145103574,
0.009732993319630623,
0.01738682948052883,
0.03628082200884819,
0.02761918306350708,
-0.06493504345417023,
-0.012284272350370884,
-0.03619002923369408,
-0.01308324933052063,
0.015970461070537567,
-0.07924399524927139,
0.035391051322221756,
-0.052768804132938385,
-0.061085425317287445,
0.0462317168712616,
-0.03813299536705017,
0.027800770476460457,
0.010713555850088596,
-0.02115473337471485,
0.034337855875492096,
-0.015752559527754784,
-0.016687724739313126,
-0.004675831645727158,
-0.027310488745570183,
-0.07873555272817612,
0.012956139631569386,
-0.04815652593970299,
-0.04263631999492645,
0.03885933756828308,
0.013292072340846062,
0.04034833982586861,
0.050190284848213196,
-0.004641784355044365,
0.04198261350393295,
0.048737600445747375,
-0.02947135828435421,
0.02689284086227417,
0.028981076553463936,
0.03508235514163971,
-0.005492967087775469,
-0.040275707840919495,
0.039222508668899536,
-0.02153606340289116,
0.020119694992899895,
0.04056624323129654,
0.040602561086416245,
0.004121995065361261,
-0.007612979970872402,
0.08011560887098312,
0.037025321274995804,
0.01357353013008833,
-0.020101536065340042,
0.042926859110593796,
-0.026148339733481407,
-0.009433376602828503,
-0.029162662103772163,
0.05734476074576378,
-0.0015627718530595303,
-0.002151790540665388,
0.06878466159105301,
0.007948913611471653,
0.03813299536705017,
-0.02623913250863552,
0.003236765041947365,
-0.013854987919330597,
0.0011814419412985444,
0.046086449176073074,
0.0409657321870327,
0.06271969527006149,
0.016015857458114624,
0.04844706133008003,
0.0234608706086874,
-0.026202814653515816,
-0.01367340236902237,
0.021663174033164978,
-0.010168799199163914,
-0.016869310289621353,
0.007195333018898964,
0.03212250769138336,
0.032285936176776886,
0.005247826687991619,
-0.060831207782030106,
0.013301151804625988,
0.06486240774393082,
0.011176599189639091,
0.013246675953269005,
-0.022316882386803627,
0.05727212876081467,
0.05295038968324661,
0.023805884644389153,
0.027673659846186638,
-0.042854223400354385,
0.02206266112625599,
0.008716112934052944,
-0.035845015197992325,
-0.004920972045511007,
0.0010293639497831464,
0.00013845908688381314,
0.0009028213680721819,
0.02689284086227417,
0.050662409514188766,
0.037697188556194305,
-0.0022811703383922577,
0.05146138370037079,
-0.0037066179793328047,
-0.03936777636408806,
-0.016606012359261513,
-0.013664323836565018,
0.045360106974840164,
-0.03134169057011604,
-0.003522762330248952,
-0.039621997624635696,
0.009823786094784737,
0.0343560129404068,
0.000696835108101368,
0.009823786094784737,
0.0013857258018106222,
0.023224810138344765,
0.007322443183511496,
0.0013505435781553388,
-0.016497060656547546,
-0.07107263803482056,
-0.04005780443549156,
-0.000005005133061786182,
-0.013010614551603794,
-0.019048338755965233,
-0.030633507296442986,
-0.04644962027668953,
0.015897827222943306,
0.029126344248652458,
-0.04118363559246063,
-0.011458056978881359,
-0.009487852454185486,
0.031813815236091614,
-0.07016471028327942,
-0.005188811104744673,
0.05788951739668846,
-0.09042967855930328,
0.05469360947608948,
-0.020119694992899895,
-0.04851969704031944,
0.07096368819475174,
-0.05803478881716728,
-0.04147417098283768,
0.03284885361790657,
-0.04579591006040573,
-0.009705754928290844,
0.006764066871255636,
-0.04670384153723717,
0.025930436328053474,
0.06903888285160065,
0.02591227926313877,
0.03190460801124573,
0.004943670704960823,
-0.049863431602716446,
-0.04372583329677582,
0.03936777636408806,
-0.06439028680324554,
0.015906907618045807,
0.009551407769322395,
-0.010985934175550938,
-0.009969054721295834,
-0.011058568954467773,
0.05476624518632889,
0.009015729650855064,
0.03315754607319832,
0.010477494448423386,
0.05774424970149994,
0.008107800967991352,
0.024677496403455734,
-0.035391051322221756,
-0.010659079998731613,
0.005016304552555084,
-0.032340411096811295,
-0.016233760863542557,
-0.03455575555562973,
0.045759595930576324,
0.0053749363869428635,
-0.0297255776822567,
0.003273082198575139,
-0.024096421897411346,
0.01863069273531437,
0.02108209952712059,
0.012338748201727867,
0.0010282290168106556,
-0.018331075087189674,
-0.039404094219207764,
0.019720206037163734,
-0.017477622255682945,
0.003545460756868124,
-0.036571357399225235,
-0.024804605171084404,
0.0012427270412445068,
-0.0011156171094626188,
0.024495910853147507,
0.02676573023200035,
0.03404731675982475,
0.049064453691244125,
0.019266242161393166,
-0.046885427087545395,
-0.026021229103207588,
0.031813815236091614,
0.01357353013008833,
0.009306266903877258,
-0.025004349648952484,
-0.03461023420095444,
0.050843995064496994,
-0.045432738959789276,
-0.06954731792211533,
-0.0793166309595108,
0.01962941326200962,
0.008411956951022148,
0.037624556571245193,
-0.013174042105674744,
0.02827289327979088,
-0.06199335679411888,
-0.04830179363489151,
-0.005029923748224974,
-0.014935423620045185,
0.006795844528824091,
-0.02569437585771084,
0.0024922636803239584,
-0.018349234014749527,
0.045432738959789276,
0.017759080976247787,
-0.01466304436326027,
0.005951471161097288,
0.06569770723581314,
0.03052455559372902,
-0.03259463235735893,
0.012602047063410282,
-0.006886637303978205,
-0.012747315689921379,
-0.008838683366775513,
0.08483683317899704,
0.02351534739136696,
0.023025065660476685,
0.02068261057138443,
-0.01278363261371851,
-0.021645015105605125,
0.0343560129404068,
-0.004146963357925415,
0.06311918795108795,
0.020101536065340042,
0.021100256592035294,
0.009387980215251446,
-0.09602251648902893,
0.03787877410650253,
-0.0307243000715971,
-0.048338111490011215,
0.029435040429234505,
0.005701790563762188,
-0.05291407182812691,
-0.04220051318407059,
-0.0020678071305155754,
-0.04158312454819679,
-0.037025321274995804,
-0.000006773997483833227,
0.010622763074934483,
-0.016215601935982704,
-0.02894475869834423,
0.01539846695959568,
-0.01783171482384205,
0.033865731209516525,
-0.0277462936937809,
0.04655857011675835,
0.03813299536705017,
-0.03461023420095444,
0.008675256744027138,
0.05516573414206505,
0.052187729626894,
0.0024173595011234283,
0.03203171491622925,
-0.023678774014115334,
-0.030542712658643723,
0.05396726727485657,
0.07430486381053925,
0.017940666526556015,
-0.023206651210784912,
-0.00720441248267889,
-0.031214579939842224,
-0.007558504585176706,
-0.005751726683229208,
0.04143785685300827,
-0.00670959148555994,
0.018721485510468483,
0.0237877257168293,
0.006437212694436312,
-0.03263095021247864,
-0.0013596229255199432,
-0.0028781332075595856,
-0.06595192104578018,
0.010595525614917278,
-0.03312123194336891,
-0.002331106225028634,
0.032540157437324524,
0.017877111211419106,
-0.03535473346710205,
-0.010205116122961044,
-0.05393094941973686,
0.0303974449634552,
-0.04666752368211746,
0.027528390288352966,
-0.028581587597727776,
-0.06569770723581314,
-0.03628082200884819,
-0.023242969065904617,
-0.013391944579780102,
0.03125089779496193,
-0.043253712356090546,
-0.062283892184495926,
-0.005996867548674345,
-0.02326112799346447,
0.07281586527824402,
0.0416194424033165,
-0.03713427484035492,
0.045360106974840164,
-0.03773350641131401,
-0.02075524441897869,
0.011212916113436222,
0.012974297627806664,
-0.011349106207489967,
-0.03878670558333397,
0.020991306751966476,
-0.020628133788704872,
-0.004589578602463007,
-0.009560486301779747,
0.04884655028581619,
0.023642458021640778,
-0.05364041402935982,
0.024132737889885902,
-0.02741944044828415,
0.046740155667066574,
-0.024423275142908096,
-0.04401637241244316,
-0.03640793263912201,
-0.0780092105269432,
0.00293941842392087,
-0.004848338197916746,
0.06330077350139618,
0.0707094669342041,
-0.019411509856581688,
0.0037315860390663147,
0.03824194520711899,
-0.019411509856581688,
0.00013739510904997587,
0.017922507598996162,
0.002305003348737955,
0.03838721662759781,
0.0067731463350355625,
0.04862864688038826,
-0.03317570686340332,
0.023406395688652992,
0.00487557565793395,
-0.02135447785258293,
0.0073678395710885525,
0.03758823871612549,
-0.04452481120824814,
-0.039948850870132446,
0.014426982961595058,
-0.05847059190273285,
-0.0031822891905903816,
0.028490794822573662,
-0.03787877410650253,
0.011884783394634724,
0.07946190237998962,
0.027473915368318558,
0.014299873262643814,
0.01665140874683857,
-0.017550257965922356,
-0.014817392453551292,
0.01883043721318245,
-0.023678774014115334,
0.03224961832165718,
-0.06482609361410141,
0.03958567976951599,
-0.012247955426573753,
-0.031686704605817795,
0.06032276898622513,
-0.0495728924870491,
-0.007140857167541981,
-0.003992615267634392,
0.09471509605646133,
-0.003615825204178691,
0.0601411797106266,
-0.007354220375418663,
0.08229463547468185,
0.018721485510468483,
-0.04750281572341919,
-0.029780054464936256,
0.016360871493816376,
0.0016115730395540595,
0.026003072038292885,
-0.012157161720097065,
0.03513683006167412,
0.007681075017899275,
-0.026257291436195374,
-0.0025444694329053164,
-0.0060195657424628735,
0.06529821455478668,
-0.010722635313868523,
0.055746808648109436,
-0.05182455852627754,
0.027637341991066933,
0.026384402066469193,
0.049463942646980286,
0.08766957372426987,
-0.001266560168005526,
-0.05127979815006256,
-0.06025013327598572,
0.008080563507974148,
-0.05807110294699669,
-0.0076220594346523285,
-0.020392073318362236,
-0.019901791587471962,
-0.03488261252641678,
0.013128645718097687,
0.006005947012454271,
0.004124265164136887,
-0.038024045526981354,
0.010314066894352436,
-0.08164092898368835,
0.002192647196352482,
-0.008234911598265171,
0.022371357306838036,
0.09042967855930328,
0.06271969527006149,
-0.013101407326757908,
0.017868032678961754,
-0.003779252292588353,
0.05396726727485657,
0.01572532020509243,
0.006405435502529144,
-0.006891177035868168,
0.04376215115189552,
-0.010259591974318027,
-0.008498210459947586,
-0.022825321182608604,
-0.02153606340289116,
-0.005992327816784382,
0.00023322412744164467,
0.07121790945529938,
-0.06885729730129242,
-0.01776815950870514,
-0.009669438004493713,
-0.0097511513158679,
-0.030288493260741234,
-0.002081426093354821,
-0.017368672415614128,
-0.036317139863967896,
0.024731971323490143,
0.006282865069806576,
-0.014390666037797928,
-0.03573606535792351,
-0.04169207438826561,
0.04521483927965164,
-0.07612071931362152,
-0.055347319692373276,
0.04147417098283768,
0.03297596052289009,
-0.003211796982213855,
0.024949874728918076,
-0.044052690267562866,
0.03411995247006416,
-0.02055549994111061,
0.006033184472471476,
-0.014699362218379974,
-0.04260000213980675,
-0.0019577208440750837,
0.0009890745859593153,
-0.038750387728214264,
-0.03442864865064621,
0.07888082414865494,
-0.038024045526981354,
-0.020664451643824577,
0.0031141946092247963,
0.03264910727739334,
-0.042926859110593796,
-0.025385679677128792,
-0.025095142424106598,
0.06885729730129242,
-0.01489910576492548,
0.03824194520711899,
0.0025603582616895437,
-0.04819284379482269,
0.01414552517235279,
-0.049936067312955856,
-0.0047212280333042145,
0.06526190042495728,
-0.005597379058599472,
0.04151048883795738,
0.025458313524723053,
0.05803478881716728,
-0.03542736917734146,
-0.05643683299422264,
0.023624299094080925,
0.010822507552802563,
-0.006677813827991486,
-0.011621484532952309,
0.010041688568890095,
0.04111099988222122,
0.0416194424033165,
-0.0191572904586792,
-0.01291982177644968,
-0.029126344248652458,
-0.00789443776011467,
0.006877558305859566,
-0.024822764098644257,
0.026184657588601112,
0.028890283778309822,
-0.010450256988406181,
0.01539846695959568,
-0.007522187195718288,
0.016669565811753273,
0.009360742755234241,
0.0614486001431942,
-0.030560871586203575,
-0.005338619463145733,
0.042454734444618225,
0.016297316178679466,
0.05200614407658577,
-0.02258926071226597,
0.05429412052035332,
0.02115473337471485,
0.04474271461367607,
-0.05055345594882965,
0.01086790394037962,
0.01149437390267849,
0.010976854711771011
] |
719,752
|
ibm_platform_services.iam_identity_v1
|
update_account_settings_template_version
|
Update version of an account settings template.
Update a specific version of an account settings template in an Enterprise
Account.
:param str if_match: Entity tag of the Template to be updated. Specify the
tag that you retrieved when reading the account settings template. This
value helps identifying parallel usage of this API. Pass * to indicate to
update any version available. This might result in stale updates.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param AccountSettingsComponent account_settings: (optional)
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
|
def update_account_settings_template_version(
self,
if_match: str,
template_id: str,
version: str,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
account_settings: Optional['AccountSettingsComponent'] = None,
**kwargs,
) -> DetailedResponse:
"""
Update version of an account settings template.
Update a specific version of an account settings template in an Enterprise
Account.
:param str if_match: Entity tag of the Template to be updated. Specify the
tag that you retrieved when reading the account settings template. This
value helps identifying parallel usage of this API. Pass * to indicate to
update any version available. This might result in stale updates.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param AccountSettingsComponent account_settings: (optional)
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `AccountSettingsTemplateResponse` object
"""
if not if_match:
raise ValueError('if_match must be provided')
if not template_id:
raise ValueError('template_id must be provided')
if not version:
raise ValueError('version must be provided')
if account_settings is not None:
account_settings = convert_model(account_settings)
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_account_settings_template_version',
)
headers.update(sdk_headers)
data = {
'account_id': account_id,
'name': name,
'description': description,
'account_settings': account_settings,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id', 'version']
path_param_values = self.encode_path_vars(template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/account_settings_templates/{template_id}/versions/{version}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, if_match: str, template_id: str, version: str, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, account_settings: Optional[ibm_platform_services.iam_identity_v1.AccountSettingsComponent] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.06696847081184387,
-0.06636717915534973,
-0.02876788191497326,
-0.0077697704546153545,
-0.012317012064158916,
-0.021740324795246124,
-0.036377932876348495,
-0.025028619915246964,
-0.059038981795310974,
-0.006449755281209946,
0.020875973626971245,
-0.030289892107248306,
-0.03722349554300308,
-0.0211014561355114,
-0.05249997228384018,
0.005951813422143459,
0.0596778504550457,
0.0027198893949389458,
0.05317642167210579,
0.01687365025281906,
0.02594934217631817,
-0.016234781593084335,
-0.018489612266421318,
0.05629560351371765,
0.05543125420808792,
-0.04284178093075752,
0.02510378137230873,
-0.011180201545357704,
0.05727269873023033,
-0.012363987974822521,
-0.038820669054985046,
0.008084507659077644,
0.04348064959049225,
0.08365421742200851,
-0.018527191132307053,
-0.05077126994729042,
-0.005092159379273653,
0.022228872403502464,
-0.08470647037029266,
0.03410431370139122,
0.029575861990451813,
0.04487112909555435,
0.021139036864042282,
-0.0002824410330504179,
-0.010588308796286583,
0.008812629617750645,
0.011978788301348686,
0.022642258554697037,
0.0006746876169927418,
0.0054068961180746555,
0.06381170451641083,
-0.0287866722792387,
-0.029726184904575348,
-0.008173760958015919,
-0.03694164380431175,
0.04885466396808624,
0.016732722520828247,
-0.028730301186442375,
-0.01580260507762432,
-0.03032747283577919,
-0.029331589117646217,
-0.030083198100328445,
-0.05607012286782265,
0.013651120476424694,
-0.04765208810567856,
0.0049324422143399715,
0.014261803589761257,
0.008751561865210533,
-0.02277378924190998,
-0.020556539297103882,
0.007234248332679272,
0.03712954372167587,
0.01371688675135374,
-0.043255168944597244,
-0.015530145727097988,
0.045284517109394073,
0.018668118864297867,
0.008450916968286037,
-0.004359339363873005,
-0.012664631940424442,
0.0024356867652386427,
-0.04502145200967789,
-0.009103878401219845,
-0.04396919906139374,
0.02063170075416565,
-0.01619720086455345,
0.013378662057220936,
-0.08959193527698517,
0.0060316720046103,
0.042090173810720444,
-0.0245964452624321,
-0.04318000748753548,
-0.0391588918864727,
-0.007478521671146154,
0.05674657225608826,
-0.0024779648520052433,
0.05813705176115036,
-0.09117031842470169,
-0.027640465646982193,
0.021683955565094948,
-0.009958835318684578,
-0.05858801677823067,
-0.014327569864690304,
-0.006581286899745464,
0.03690406307578087,
-0.059452369809150696,
-0.061857521533966064,
0.03175553306937218,
0.027734417468309402,
-0.02102629654109478,
0.03664099797606468,
-0.020969925448298454,
-0.04971901699900627,
0.03344665467739105,
0.055280931293964386,
0.008084507659077644,
-0.06715637445449829,
-0.01790711283683777,
0.004441546741873026,
-0.009089785628020763,
0.05520576983690262,
-0.01725884899497032,
-0.002459174720570445,
0.0269264355301857,
0.023957576602697372,
-0.009846094064414501,
-0.004004673101007938,
0.001572509529069066,
-0.01588716171681881,
-0.003891931613907218,
-0.05911414325237274,
-0.003976488020271063,
-0.009921254590153694,
-0.023995155468583107,
-0.020556539297103882,
-0.00574512081220746,
-0.009493776597082615,
-0.023901205509901047,
-0.008784444071352482,
0.0336909294128418,
0.02044379711151123,
0.022623468190431595,
-0.013153178617358208,
-0.059151723980903625,
-0.035419631749391556,
-0.05016998201608658,
0.06772007793188095,
0.030365053564310074,
-0.0069852774031460285,
-0.02314959466457367,
-0.002258353866636753,
0.01278676837682724,
-0.013021646998822689,
-0.0057404232211411,
-0.05422867834568024,
-0.004824398085474968,
0.03459285944700241,
-0.05020756274461746,
0.021947018802165985,
-0.05956510826945305,
0.0036711462307721376,
0.011978788301348686,
0.04318000748753548,
0.005162622779607773,
0.06095558777451515,
0.006496730726212263,
-0.03613366186618805,
-0.0025437308941036463,
0.017409171909093857,
-0.0310039222240448,
-0.01355716958642006,
0.03365334868431091,
-0.04314242675900459,
0.011903626844286919,
-0.039760179817676544,
0.025592327117919922,
0.03040263243019581,
-0.044232260435819626,
0.04021114483475685,
0.02033105678856373,
-0.014365150593221188,
-0.021007506176829338,
-0.028241753578186035,
0.08605936914682388,
-0.004857281222939491,
0.00699937017634511,
0.013190759345889091,
0.05005723983049393,
-0.06306009739637375,
-0.043856456875801086,
0.041902270168066025,
-0.0869612991809845,
0.04953111335635185,
-0.011058065108954906,
-0.04697563871741295,
-0.03833211958408356,
-0.006477940361946821,
-0.08711162209510803,
0.054003193974494934,
0.032112546265125275,
0.032901737838983536,
-0.1077057421207428,
0.007680516690015793,
0.012119715102016926,
0.03960985690355301,
0.034724391996860504,
0.06959910690784454,
-0.09049387276172638,
0.02314959466457367,
0.0017780279740691185,
-0.03513777628540993,
-0.002174972090870142,
0.006351106334477663,
0.0032695045229047537,
-0.051598042249679565,
0.02333749644458294,
0.004866675939410925,
-0.016103249043226242,
-0.03617124259471893,
-0.018527191132307053,
-0.03885824978351593,
0.012373383156955242,
-0.0235441904515028,
0.003480894723907113,
0.003711075522005558,
0.011743909679353237,
-0.0038895828183740377,
0.025629907846450806,
-0.07309409230947495,
-0.00828180555254221,
0.046449512243270874,
0.03466802090406418,
0.10124189406633377,
-0.013190759345889091,
-0.04971901699900627,
-0.04254113882780075,
-0.029594652354717255,
-0.012467334046959877,
0.014778535813093185,
-0.00574512081220746,
0.01744675263762474,
0.013397452421486378,
0.06523976475000381,
0.0251789428293705,
-0.0561828650534153,
-0.011274153366684914,
-0.07989616692066193,
-0.03786236420273781,
0.015595912002027035,
-0.08605936914682388,
-0.007492614444345236,
-0.023130804300308228,
-0.02510378137230873,
0.05655866861343384,
0.019203640520572662,
-0.03930921480059624,
0.06944878399372101,
-0.01628175564110279,
0.05783640593290329,
-0.0007721620495431125,
-0.03972259908914566,
0.006388687063008547,
-0.050508204847574234,
-0.070876844227314,
-0.024671604856848717,
-0.04892982542514801,
-0.030252311378717422,
0.05065852776169777,
0.021571213379502296,
0.06531492620706558,
0.045096613466739655,
0.030440213158726692,
-0.012382778339087963,
0.02888062223792076,
-0.01723066344857216,
0.007422151044011116,
0.028993364423513412,
0.006196086760610342,
-0.0213269405066967,
-0.06354864686727524,
-0.004568380769342184,
-0.023487819358706474,
0.018912391737103462,
0.048779502511024475,
0.03261988237500191,
-0.013782652094960213,
-0.03673494979739189,
0.04596096649765968,
-0.007924790494143963,
0.005731028039008379,
-0.005965906195342541,
0.02752772346138954,
0.0017322266940027475,
-0.007253038696944714,
-0.09620610624551773,
0.005547822918742895,
-0.03897098824381828,
-0.018179571256041527,
0.10109157115221024,
-0.03912131115794182,
0.0391588918864727,
-0.0000448103564849589,
0.004441546741873026,
-0.015060389414429665,
0.003999975509941578,
0.031079081818461418,
0.05715995654463768,
0.014778535813093185,
0.044983871281147,
0.04667499288916588,
0.005378710571676493,
0.007375175133347511,
-0.006844350602477789,
-0.03573906421661377,
-0.029481910169124603,
-0.019804928451776505,
-0.0013763862662017345,
-0.0247091855853796,
0.03494987636804581,
-0.005125042051076889,
-0.05603254213929176,
0.03461164981126785,
0.004904256667941809,
0.01453426294028759,
0.03534447029232979,
-0.026118455454707146,
0.030778437852859497,
0.018527191132307053,
-0.008671702817082405,
0.00699937017634511,
-0.016122039407491684,
0.00954545009881258,
0.03128577396273613,
0.01526708249002695,
-0.04314242675900459,
0.025911761447787285,
-0.0025625210255384445,
0.0003024056786671281,
-0.007572473026812077,
0.06606654077768326,
0.0916212871670723,
-0.020706862211227417,
0.00024221814237535,
-0.015915347263216972,
-0.055280931293964386,
-0.01444031111896038,
0.041338562965393066,
0.039760179817676544,
0.008892488665878773,
0.00039254018338397145,
-0.049568694084882736,
-0.050620947033166885,
0.05095917358994484,
0.023581771180033684,
0.024089107289910316,
-0.040436629205942154,
0.027358612045645714,
-0.006388687063008547,
0.027358612045645714,
-0.012476729229092598,
-0.08538292348384857,
-0.007445638533681631,
-0.003152065444737673,
-0.005984696559607983,
0.013519588857889175,
-0.04885466396808624,
-0.0014139667619019747,
0.011255363002419472,
0.001809736480936408,
0.007520799525082111,
-0.005928325466811657,
0.0030393237248063087,
0.04212775453925133,
-0.06366138905286789,
0.06054220348596573,
-0.017860136926174164,
-0.10191834717988968,
0.025592327117919922,
-0.010165528394281864,
-0.07057619839906693,
0.03964743763208389,
-0.021345730870962143,
0.01205394882708788,
-0.008291199803352356,
-0.01907210983335972,
-0.007398663088679314,
0.0049653248861432076,
-0.027189498767256737,
0.028561187908053398,
0.05486754700541496,
-0.004671727307140827,
0.04272904247045517,
0.012721003033220768,
-0.024652814492583275,
-0.02732103131711483,
0.04983175918459892,
-0.043255168944597244,
-0.0037697949446737766,
0.036077290773391724,
-0.02655063010752201,
-0.003600682597607374,
0.008154970593750477,
0.05870075896382332,
0.005538427736610174,
-0.0007069833809509873,
-0.03617124259471893,
0.02142089046537876,
0.005167320370674133,
-0.003534916788339615,
-0.046148866415023804,
-0.04389403760433197,
-0.012580076232552528,
-0.05167320370674133,
-0.0389334075152874,
-0.02267983742058277,
0.053439486771821976,
0.0054585691541433334,
0.0561828650534153,
-0.027170710265636444,
0.005651169456541538,
0.01965460740029812,
0.047313861548900604,
0.021383311599493027,
-0.0006746876169927418,
-0.049568694084882736,
-0.004676424898207188,
0.008140877820551395,
-0.01715550385415554,
-0.029857715591788292,
-0.007830838672816753,
0.014318174682557583,
-0.04276662319898605,
-0.0023088527377694845,
0.013679306022822857,
0.02837328612804413,
0.02993287704885006,
0.043555811047554016,
0.007854326628148556,
-0.0412634015083313,
0.01095471903681755,
0.05253755301237106,
0.023224756121635437,
0.012580076232552528,
0.0074597313068807125,
-0.0194667037576437,
0.047915153205394745,
-0.027790788561105728,
-0.10417317599058151,
-0.009705167263746262,
-0.01849900558590889,
-0.011067460291087627,
0.02217250131070614,
-0.012260641902685165,
-0.010757421143352985,
-0.06418751180171967,
-0.011903626844286919,
-0.02256709709763527,
-0.011292943730950356,
-0.027151919901371002,
-0.02839207649230957,
0.0010164353298023343,
0.029124895110726357,
0.05445415899157524,
0.008948858827352524,
-0.005397500935941935,
-0.0529133602976799,
0.06298493593931198,
-0.017512518912553787,
-0.013275315053761005,
-0.0025836601853370667,
0.0007445638766512275,
-0.018743280321359634,
-0.01137749943882227,
0.1083821952342987,
0.062233325093984604,
0.021627584472298622,
0.015962321311235428,
-0.002236040309071541,
-0.05543125420808792,
0.019598236307501793,
-0.007379872724413872,
0.057986728847026825,
-0.0031825995538383722,
0.023187175393104553,
0.01599990203976631,
-0.06065494567155838,
0.02771562710404396,
-0.005801491439342499,
-0.031079081818461418,
-0.01428998913615942,
-0.0060363695956766605,
-0.02732103131711483,
-0.02373209223151207,
-0.000676449213642627,
-0.050433047115802765,
-0.011349313892424107,
-0.011790885590016842,
0.021815486252307892,
0.017991669476032257,
-0.023525400087237358,
-0.01109564583748579,
-0.03722349554300308,
0.035795435309410095,
-0.029688604176044464,
0.03671615943312645,
0.037355028092861176,
0.011696933768689632,
0.007765072863548994,
0.0633983239531517,
0.03679132089018822,
-0.03964743763208389,
0.037261076271533966,
-0.010334640741348267,
-0.014957043342292309,
0.0673818588256836,
0.05054578557610512,
-0.04727628454566002,
-0.005388105753809214,
-0.008220736868679523,
-0.03643430396914482,
-0.00039488894981332123,
0.012091529555618763,
0.058663178235292435,
-0.003560753306373954,
0.03594575822353363,
0.04550999775528908,
-0.01458123791962862,
-0.05167320370674133,
0.025348054245114326,
0.01822654716670513,
-0.056445926427841187,
0.0037322144489735365,
-0.029801344498991966,
-0.011058065108954906,
-0.010174923576414585,
-0.04156404361128807,
-0.05824979022145271,
0.02538563497364521,
-0.10011447966098785,
0.009254200384020805,
-0.0680583044886589,
0.033578187227249146,
-0.043856456875801086,
-0.07959552109241486,
0.004608310293406248,
-0.030646907165646553,
0.006759794428944588,
-0.00973335187882185,
-0.07061377912759781,
-0.058475274592638016,
0.0028537700418382883,
-0.0022783183958381414,
0.06914813816547394,
0.04633677005767822,
-0.04291694238781929,
0.06512702256441116,
-0.06828378885984421,
-0.0356639064848423,
0.014214828610420227,
-0.010748025961220264,
0.012937091290950775,
-0.03867034614086151,
0.010193713940680027,
-0.004667029716074467,
-0.0011761524947360158,
-0.0001840857876231894,
0.02643788978457451,
0.008521380834281445,
-0.011048669926822186,
0.07418392598628998,
-0.0060880426317453384,
0.03885824978351593,
0.0055619156919419765,
-0.06073010712862015,
-0.011819071136415005,
-0.04543483629822731,
0.035212937742471695,
0.02286774106323719,
0.08327841013669968,
0.042278073728084564,
-0.004507312551140785,
-0.03489350527524948,
0.08282744884490967,
-0.04581064358353615,
0.016629375517368317,
0.03942195698618889,
0.021853066980838776,
0.06907297670841217,
0.01626296527683735,
0.06253396719694138,
-0.0426538810133934,
0.013829628005623817,
-0.012035158462822437,
0.009352849796414375,
-0.007238945923745632,
0.05009482055902481,
0.0005340542993508279,
-0.050921592861413956,
0.022266453132033348,
-0.05261271446943283,
-0.02895578369498253,
0.009085088968276978,
-0.02130815014243126,
0.01163116842508316,
0.022266453132033348,
0.015671072527766228,
-0.015483170747756958,
0.00290779210627079,
0.0003438029671087861,
-0.00982730370014906,
0.0762132778763771,
-0.04986933618783951,
0.017888322472572327,
-0.0379938967525959,
0.04753934592008591,
0.058475274592638016,
-0.020951135084033012,
0.05783640593290329,
-0.021458471193909645,
-0.011217782273888588,
-0.020274685695767403,
0.08884032815694809,
0.005538427736610174,
0.013735677115619183,
-0.03720470517873764,
0.07444699108600616,
0.012523705139756203,
-0.021571213379502296,
-0.036077290773391724,
0.027302240952849388,
0.0019154316978529096,
0.05422867834568024,
0.0054162913002073765,
0.04753934592008591,
-0.020951135084033012,
-0.0032201800495386124,
-0.0013493752339854836,
-0.009042810648679733,
0.04652467370033264,
0.006186691578477621,
0.06903539597988129,
-0.023525400087237358,
0.03429221734404564,
0.08583388477563858,
0.013190759345889091,
0.05761092156171799,
-0.0033939899876713753,
-0.03897098824381828,
-0.029012154787778854,
0.025460796430706978,
-0.04892982542514801,
0.026870064437389374,
-0.05550641566514969,
-0.009808513335883617,
-0.03126698359847069,
0.01443091593682766,
0.016046877950429916,
0.01725884899497032,
0.012044553644955158,
0.042879361659288406,
-0.051184654235839844,
0.0009371640044264495,
-0.02149605192244053,
-0.04284178093075752,
0.024821927770972252,
0.038219381123781204,
0.013942369259893894,
-0.013961159624159336,
-0.007854326628148556,
0.013444427400827408,
0.033578187227249146,
0.0022055061999708414,
-0.03930921480059624,
0.024821927770972252,
-0.0062336670234799385,
-0.001844968181103468,
-0.04051179066300392,
0.008948858827352524,
-0.04396919906139374,
0.004340548999607563,
0.10251963138580322,
-0.013040437363088131,
0.011847255751490593,
0.0005960034322924912,
-0.026794904842972755,
-0.06809588521718979,
0.008540171198546886,
0.03352181613445282,
-0.0054068961180746555,
0.034931086003780365,
-0.030966341495513916,
-0.06490154564380646,
-0.05434142053127289,
-0.04821579530835152,
0.05065852776169777,
-0.03818180039525032,
-0.02848602645099163,
0.028993364423513412,
-0.0034198265057057142,
-0.0045002661645412445,
0.03090997040271759,
-0.04629918932914734,
-0.01438394095748663,
0.05404077470302582,
-0.0275089330971241,
0.0071402969770133495,
-0.02237919345498085,
-0.059527527540922165,
0.010569518432021141,
0.02219129167497158,
0.011950602754950523,
0.012561285868287086,
0.04787757247686386,
-0.020218314602971077,
-0.004436849150806665,
0.08575872331857681,
-0.039572276175022125,
0.02547958679497242,
0.05561915785074234,
0.06696847081184387,
-0.014355755411088467,
0.03930921480059624,
-0.01694880984723568,
-0.03805026784539223,
0.0019353963434696198,
-0.01510736532509327,
-0.008925371803343296,
0.07944519817829132,
-0.025535957887768745,
0.04472080618143082,
-0.004885466303676367,
0.006590682081878185,
-0.03912131115794182,
-0.06095558777451515,
0.0391588918864727,
0.02219129167497158,
-0.02857997827231884,
-0.009667586535215378,
-0.015361033380031586,
0.03536326065659523,
0.010785606689751148,
0.017305824905633926,
-0.019504284486174583,
-0.019748559221625328,
0.016347521916031837,
0.03523172810673714,
0.013406847603619099,
0.007168482523411512,
0.020462587475776672,
-0.0013411544496193528,
0.013660515658557415,
-0.017587678506970406,
0.00789190735667944,
-0.013378662057220936,
0.0608428455889225,
-0.0010258305119350553,
-0.00036435481160879135,
0.03141730651259422,
-0.003473848570138216,
0.04532209783792496,
0.03538205102086067,
0.009287083521485329,
0.03175553306937218,
0.03979776054620743,
-0.008070414885878563,
0.004467383027076721,
0.006440360099077225,
-0.014402730390429497
] |
719,753
|
ibm_platform_services.iam_identity_v1
|
update_api_key
|
Updates an API key.
Updates properties of an API key. This does NOT affect existing access tokens.
Their token content will stay unchanged until the access token is refreshed. To
update an API key, pass the property to be modified. To delete one property's
value, pass the property with an empty value "".Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str id: Unique ID of the API key to be updated.
:param str if_match: Version of the API key to be updated. Specify the
version that you retrieved when reading the API key. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param str name: (optional) The name of the API key to update. If specified
in the request the parameter must not be empty. The name is not checked for
uniqueness. Failure to this will result in an Error condition.
:param str description: (optional) The description of the API key to
update. If specified an empty description will clear the description of the
API key. If a non empty value is provided the API key will be updated.
:param bool support_sessions: (optional) Defines if the API key supports
sessions. Sessions are only supported for user apikeys.
:param str action_when_leaked: (optional) Defines the action to take when
API key is leaked, valid values are 'none', 'disable' and 'delete'.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
|
def update_api_key(
self,
id: str,
if_match: str,
*,
name: Optional[str] = None,
description: Optional[str] = None,
support_sessions: Optional[bool] = None,
action_when_leaked: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Updates an API key.
Updates properties of an API key. This does NOT affect existing access tokens.
Their token content will stay unchanged until the access token is refreshed. To
update an API key, pass the property to be modified. To delete one property's
value, pass the property with an empty value "".Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str id: Unique ID of the API key to be updated.
:param str if_match: Version of the API key to be updated. Specify the
version that you retrieved when reading the API key. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param str name: (optional) The name of the API key to update. If specified
in the request the parameter must not be empty. The name is not checked for
uniqueness. Failure to this will result in an Error condition.
:param str description: (optional) The description of the API key to
update. If specified an empty description will clear the description of the
API key. If a non empty value is provided the API key will be updated.
:param bool support_sessions: (optional) Defines if the API key supports
sessions. Sessions are only supported for user apikeys.
:param str action_when_leaked: (optional) Defines the action to take when
API key is leaked, valid values are 'none', 'disable' and 'delete'.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ApiKey` object
"""
if not id:
raise ValueError('id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_api_key',
)
headers.update(sdk_headers)
data = {
'name': name,
'description': description,
'support_sessions': support_sessions,
'action_when_leaked': action_when_leaked,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/apikeys/{id}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, support_sessions: Optional[bool] = None, action_when_leaked: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.011901467107236385,
-0.06543856114149094,
-0.08046172559261322,
0.00013154413318261504,
0.004280138295143843,
-0.034299638122320175,
-0.0017303465865552425,
0.027178268879652023,
-0.029675627127289772,
0.0026631972286850214,
-0.015754811465740204,
-0.06071699410676956,
0.06781885772943497,
0.03225102648139,
-0.010311353020370007,
0.000982846599072218,
0.08092997968196869,
-0.0007017719908617437,
0.023783424869179726,
-0.05794648826122284,
0.0712527185678482,
0.025714974850416183,
0.007931060157716274,
-0.002257132902741432,
0.024388253688812256,
0.06454107165336609,
0.09630433470010757,
0.008813914842903614,
0.04725467786192894,
-0.0203105378895998,
-0.009062674827873707,
0.0010304036550223827,
0.04401591792702675,
0.05384926125407219,
-0.05146896839141846,
-0.024466294795274734,
0.017569297924637794,
0.015101206488907337,
-0.10980567336082458,
0.021578725427389145,
0.0013230626937001944,
0.060209717601537704,
0.008730994537472725,
-0.062199801206588745,
0.034299638122320175,
0.04245506972074509,
-0.04323549568653107,
0.05248352140188217,
0.0030387763399630785,
0.014681728556752205,
0.032914385199546814,
-0.04967399314045906,
-0.006911630742251873,
-0.017140064388513565,
-0.0004755709378514439,
0.024505317211151123,
-0.010662544518709183,
-0.037753015756607056,
0.025149166584014893,
-0.04194779694080353,
-0.013286720030009747,
-0.018174126744270325,
0.005258107557892799,
0.02807575650513172,
-0.011823425069451332,
-0.0014608564088121057,
-0.04073813930153847,
0.037401825189590454,
-0.02918786182999611,
0.015481662936508656,
-0.00022833501861896366,
-0.00448256079107523,
-0.03558734059333801,
-0.009428498335182667,
-0.00035972672048956156,
0.03605559468269348,
-0.042533114552497864,
-0.02505161426961422,
-0.0017096165101975203,
-0.025597911328077316,
0.06497030705213547,
-0.04928378015756607,
-0.01386228296905756,
-0.023432234302163124,
0.013413539156317711,
0.007145758252590895,
-0.0012755056377500296,
-0.06454107165336609,
-0.006916508544236422,
-0.0331290028989315,
-0.01888626255095005,
-0.014086655341088772,
-0.030163390561938286,
0.03096332587301731,
0.042142901569604874,
-0.017266882583498955,
-0.00007305043982341886,
-0.07043327391147614,
0.031451091170310974,
0.0374213345348835,
0.003202177584171295,
0.0006365334265865386,
0.023939508944749832,
0.012623359449207783,
0.060560908168554306,
-0.0905291959643364,
-0.011979510076344013,
0.021071450784802437,
0.017744893208146095,
-0.02932443469762802,
-0.0074140289798378944,
-0.050298333168029785,
-0.05466870963573456,
0.017520520836114883,
-0.010506459511816502,
0.029246393591165543,
0.00632631266489625,
-0.0020681237801909447,
0.0050532459281384945,
0.007721320725977421,
0.0005801355582661927,
-0.051937222480773926,
0.01142345741391182,
-0.009477275423705578,
0.06633605062961578,
-0.03827980160713196,
-0.023783424869179726,
0.06212175637483597,
0.03543125465512276,
-0.03613363578915596,
-0.03685552626848221,
0.004477683454751968,
-0.03548978641629219,
0.021968938410282135,
0.039391905069351196,
-0.0007511582225561142,
0.04756684973835945,
0.02540280483663082,
-0.00665311561897397,
0.05435653775930405,
-0.003472887212410569,
0.003838710952550173,
0.012672136537730694,
-0.020973898470401764,
-0.03178277239203453,
-0.05829767882823944,
-0.0027436784002929926,
-0.05103973671793938,
-0.0024741883389651775,
-0.004582552704960108,
0.0032338823657482862,
0.02754897065460682,
0.008282250724732876,
0.025500357151031494,
-0.001738882390782237,
-0.06454107165336609,
0.008394436910748482,
-0.04136247560381889,
0.04307940974831581,
-0.01872042380273342,
0.03361676633358002,
-0.01655474677681923,
0.05049343779683113,
-0.03946994990110397,
0.03806518390774727,
-0.022495724260807037,
-0.06356554478406906,
0.037011612206697464,
0.028251351788640022,
0.02918786182999611,
-0.03584097698330879,
0.042103879153728485,
-0.029461009427905083,
-0.017705870792269707,
-0.03634825348854065,
0.003477764781564474,
-0.013413539156317711,
-0.04069911688566208,
0.02811477892100811,
0.012106329202651978,
0.025461336597800255,
0.011043000966310501,
-0.009408988058567047,
0.012242903001606464,
-0.007623767945915461,
0.022690830752253532,
0.00035728790680877864,
0.08210061490535736,
-0.032621726393699646,
-0.008877323940396309,
-0.0027436784002929926,
-0.05139092728495598,
0.046240128576755524,
-0.01457441970705986,
-0.058961041271686554,
0.00040545471711084247,
0.008779770694673061,
-0.05505891889333725,
0.05127386376261711,
0.0064872754737734795,
-0.0010669861221686006,
-0.01690593734383583,
0.007004306185990572,
0.05006420612335205,
0.042142901569604874,
-0.023529786616563797,
0.05751725658774376,
-0.03952848166227341,
-0.02419314719736576,
0.01595967262983322,
0.01810583844780922,
0.014818302355706692,
-0.04385983571410179,
-0.03351921588182449,
-0.009555317461490631,
0.03129500523209572,
0.0395675003528595,
0.015725545585155487,
0.00991626363247633,
-0.006272658705711365,
-0.011325905099511147,
0.014320782385766506,
0.01321843359619379,
-0.04050401225686073,
0.033226557075977325,
0.010828384198248386,
0.04752782732248306,
0.03874805569648743,
-0.05373219773173332,
-0.04323549568653107,
0.035080064088106155,
-0.023081041872501373,
0.016505969688296318,
-0.012242903001606464,
-0.06621898710727692,
-0.07238433510065079,
-0.041752688586711884,
-0.029695136472582817,
0.0032899752259254456,
-0.0354507640004158,
0.07351595163345337,
0.014359802938997746,
0.035801954567432404,
0.03892365097999573,
-0.08904638886451721,
-0.00958946067839861,
-0.05993657186627388,
-0.027607502415776253,
0.013725709170103073,
-0.06036580353975296,
0.02354929782450199,
-0.03913826867938042,
0.0008633441757410765,
0.03338263928890228,
0.023471254855394363,
-0.009287047199904919,
0.01742296852171421,
-0.06578975170850754,
0.032407112419605255,
-0.009906508028507233,
-0.053146880120038986,
0.07328182458877563,
-0.07749611139297485,
0.047879017889499664,
-0.043703749775886536,
-0.005004469305276871,
0.03428012877702713,
0.03824077919125557,
0.04054303094744682,
-0.006965285167098045,
0.052327435463666916,
0.023178596049547195,
-0.022144533693790436,
0.004267944488674402,
0.008882202208042145,
0.05002518370747566,
-0.004094787873327732,
0.01699373498558998,
-0.0009169983095489442,
-0.0434696227312088,
0.029695136472582817,
-0.05513696372509003,
0.02466140128672123,
0.0229834895581007,
0.021012919023633003,
-0.027822118252515793,
-0.026163717731833458,
0.0880318358540535,
-0.025032103061676025,
-0.022905446588993073,
0.04830825328826904,
0.02027151547372341,
-0.028875691816210747,
0.053615134209394455,
-0.03987967222929001,
0.0381237156689167,
-0.09458740055561066,
-0.004248433746397495,
0.06376064568758011,
-0.03730427101254463,
-0.009165105409920216,
0.08826596289873123,
0.02522720955312252,
-0.06212175637483597,
0.020837323740124702,
0.007389640901237726,
0.030104858800768852,
-0.015393865294754505,
-0.018730178475379944,
0.045771874487400055,
-0.005409314297139645,
-0.006945774424821138,
-0.028641564771533012,
-0.07211118936538696,
-0.02152019366621971,
-0.0837395042181015,
0.029675627127289772,
0.006389722228050232,
0.014330537058413029,
0.03824077919125557,
0.0006048287032172084,
-0.005697095766663551,
-0.03418257459998131,
-0.00857978779822588,
0.05626857653260231,
-0.06996501982212067,
0.1001284122467041,
-0.02868058532476425,
0.041245412081480026,
-0.016798628494143486,
0.01017477922141552,
-0.005984877236187458,
0.0073945182375609875,
-0.02936345711350441,
-0.05919516831636429,
-0.04194779694080353,
0.011442968621850014,
-0.02733435481786728,
0.007409151177853346,
0.09521173685789108,
0.0033777731005102396,
-0.006004387978464365,
-0.008204208686947823,
0.028036735951900482,
-0.06009265407919884,
-0.021071450784802437,
0.06598486006259918,
-0.018008286133408546,
0.05658074840903282,
-0.018983816727995872,
0.02116900309920311,
-0.040425967425107956,
0.06196567416191101,
0.010545480996370316,
0.11792208254337311,
-0.03463131934404373,
-0.00860417541116476,
-0.03150962293148041,
-0.02569546364247799,
-0.006492152810096741,
-0.02983171120285988,
-0.012194126844406128,
-0.05993657186627388,
0.014613441191613674,
-0.052405476570129395,
-0.024739444255828857,
-0.0017401018412783742,
-0.03338263928890228,
0.029695136472582817,
-0.016866914927959442,
-0.043742772191762924,
0.0320754311978817,
-0.01840825378894806,
0.0013376956339925528,
0.037655461579561234,
0.04725467786192894,
-0.03437768295407295,
0.027275823056697845,
-0.04838629439473152,
0.03195836767554283,
0.03215347230434418,
-0.027783097699284554,
0.016457192599773407,
0.013833017088472843,
0.024329721927642822,
0.0115795424208045,
-0.011121043004095554,
-0.05244449898600578,
0.04432808980345726,
0.02836841531097889,
0.05287373438477516,
-0.010038205422461033,
0.02604665420949459,
0.02294446900486946,
-0.01502316351979971,
-0.00006638177728746086,
-0.01220388151705265,
-0.00946751981973648,
0.011647829785943031,
-0.060990143567323685,
0.029343945905566216,
0.04709859564900398,
0.06071699410676956,
0.008018857799470425,
0.03453376516699791,
0.020115431398153305,
0.02725631184875965,
-0.03307047113776207,
-0.045303620398044586,
-0.006399477832019329,
0.0009688233258202672,
-0.01917892135679722,
-0.055293045938014984,
0.003368017729371786,
0.008852935396134853,
0.019383784383535385,
-0.006062919739633799,
0.07788632810115814,
-0.0370701439678669,
0.07008208334445953,
0.028563521802425385,
0.017861956730484962,
-0.024037063121795654,
0.024524826556444168,
-0.03845539689064026,
0.025344273075461388,
-0.008872446604073048,
-0.04034792631864548,
0.01017477922141552,
-0.03217298164963722,
0.02583203837275505,
0.002882691565901041,
-0.028778139501810074,
0.027919672429561615,
-0.025344273075461388,
0.013569624163210392,
0.041752688586711884,
0.0005060562398284674,
0.015501173213124275,
0.00544345797970891,
0.006979918107390404,
-0.03966505452990532,
-0.0212080255150795,
0.026066165417432785,
-0.04694250971078873,
0.05611249431967735,
0.025188187137246132,
-0.010613767430186272,
0.045849915593862534,
0.019237453117966652,
0.09006094187498093,
0.023783424869179726,
-0.012516051530838013,
0.00015928577340673655,
-0.026202738285064697,
-0.0887342169880867,
0.020817812532186508,
0.03535320982336998,
0.0024107787758111954,
-0.05322492495179176,
0.04604502022266388,
0.04194779694080353,
0.013979346491396427,
0.06403379887342453,
-0.018096083775162697,
0.03954799100756645,
0.034475233405828476,
0.013891548849642277,
0.010252821259200573,
-0.034943487495183945,
0.013706197962164879,
-0.03230955824255943,
0.008984632790088654,
0.04971301555633545,
0.04425004497170448,
0.03178277239203453,
0.0345727875828743,
0.009677259251475334,
-0.05548815429210663,
-0.009179738350212574,
0.02241768129169941,
0.01673034206032753,
0.006121451500803232,
-0.03406551107764244,
0.03806518390774727,
-0.04592795670032501,
-0.010057715699076653,
0.00544345797970891,
-0.0637996718287468,
-0.02070074900984764,
-0.001547434600070119,
-0.007970080710947514,
-0.028387926518917084,
-0.021403130143880844,
-0.05045441910624504,
-0.031373050063848495,
0.017920488491654396,
-0.038962673395872116,
-0.036289721727371216,
-0.0245833583176136,
0.015452397055923939,
-0.02397852949798107,
0.05053246021270752,
0.0005033125635236502,
0.00012857181718572974,
-0.01489634532481432,
-0.015345089137554169,
-0.03147060051560402,
0.014818302355706692,
0.03127549588680267,
-0.06602387875318527,
-0.019520357251167297,
0.001904722535982728,
-0.05064952373504639,
0.047488804906606674,
0.004277699626982212,
-0.028348905965685844,
0.008023735135793686,
-0.019891059026122093,
-0.010028449818491936,
0.009628482162952423,
0.03500201925635338,
0.05127386376261711,
0.023159084841609,
0.00983334332704544,
0.04850335791707039,
0.005023980047553778,
-0.03623118996620178,
0.04940084367990494,
0.003441182430833578,
-0.08748554438352585,
0.018476540222764015,
-0.008096899837255478,
0.020817812532186508,
0.00044447591062635183,
-0.01560848206281662,
-0.07211118936538696,
0.011199085973203182,
-0.07570113986730576,
-0.027744077146053314,
0.04218192398548126,
0.0905291959643364,
-0.0541614331305027,
-0.08280299603939056,
-0.04877650737762451,
0.011101532727479935,
0.007345741614699364,
0.023822445422410965,
0.007140880450606346,
-0.05080560967326164,
-0.057751383632421494,
-0.013208677992224693,
0.044132981449365616,
0.035548318177461624,
-0.07854968309402466,
-0.01437931414693594,
0.013111124746501446,
-0.023393211886286736,
-0.001011502812616527,
0.013813506811857224,
-0.04897161200642586,
0.015452397055923939,
0.02750995010137558,
-0.04358668625354767,
-0.0122916791588068,
0.01656450144946575,
0.04229898750782013,
0.026397844776511192,
0.02272985130548477,
0.032875366508960724,
-0.04608404263854027,
-0.004763025790452957,
-0.004902038723230362,
-0.034124042838811874,
-0.06216077879071236,
-0.01656450144946575,
0.000013794605365546886,
0.029734158888459206,
0.03595804050564766,
-0.021188514307141304,
0.004858139902353287,
-0.001200511702336371,
0.048659443855285645,
-0.034728873521089554,
0.0018108277581632137,
-0.020759280771017075,
0.051937222480773926,
0.004689861088991165,
0.015754811465740204,
0.007165268529206514,
-0.05513696372509003,
-0.00411673728376627,
0.004841068293899298,
-0.030690178275108337,
-0.0251296553760767,
0.07534994930028915,
0.006682381499558687,
-0.024524826556444168,
0.03441670164465904,
-0.039684563875198364,
0.022222576662898064,
0.04147953912615776,
-0.0010950325522571802,
0.00403137831017375,
0.02501259185373783,
0.02272985130548477,
-0.04643523320555687,
0.0038509052246809006,
-0.005516622681170702,
-0.02647588774561882,
0.022261597216129303,
-0.03467034175992012,
0.033694811165332794,
0.03039751946926117,
-0.03872854635119438,
0.02665148302912712,
0.018749689683318138,
0.01935451850295067,
0.002391268266364932,
-0.04967399314045906,
-0.0033143635373562574,
-0.007862772792577744,
-0.01502316351979971,
0.018476540222764015,
-0.06251197308301926,
0.028739117085933685,
0.015852363780140877,
-0.01944231614470482,
-0.024895528331398964,
0.020505642518401146,
0.00914071686565876,
0.06828711181879044,
0.015296312049031258,
0.006901875603944063,
0.04838629439473152,
0.011130798608064651,
0.0022888374514877796,
0.010721076279878616,
0.010233310982584953,
0.014437845908105373,
0.024329721927642822,
0.03591901808977127,
-0.013452560640871525,
0.08100802451372147,
-0.013159900903701782,
0.08046172559261322,
-0.04233800619840622,
-0.05993657186627388,
-0.0203105378895998,
-0.07398420572280884,
-0.07753513753414154,
0.01836923137307167,
-0.017647339031100273,
-0.023685870692133904,
-0.014135431498289108,
-0.04011379927396774,
0.014018367975950241,
-0.014028123579919338,
-0.027451418340206146,
-0.030280454084277153,
-0.003533857874572277,
-0.020408090204000473,
0.011881956830620766,
-0.04245506972074509,
-0.027744077146053314,
-0.03521663695573807,
0.013286720030009747,
-0.05170309543609619,
0.02005689963698387,
0.012759934179484844,
0.00956995040178299,
-0.003019265830516815,
0.018466785550117493,
0.06403379887342453,
-0.02358831837773323,
-0.031548645347356796,
0.01810583844780922,
-0.03656286746263504,
0.020759280771017075,
-0.008053001016378403,
0.03966505452990532,
-0.023120064288377762,
-0.014272005297243595,
-0.012223392724990845,
-0.019217943772673607,
-0.02944149821996689,
0.019256964325904846,
0.024915039539337158,
-0.04108932986855507,
-0.04233800619840622,
-0.006887242663651705,
-0.05127386376261711,
-0.005063001532107592,
-0.05658074840903282,
0.0007444514194503427,
-0.07148684561252594,
-0.04506949335336685,
0.06106818467378616,
-0.03699210286140442,
0.010301598347723484,
-0.00196813209913671,
0.021110471338033676,
0.0219104066491127,
-0.010008938610553741,
0.007887161336839199,
0.026846589520573616,
-0.011530766263604164,
0.007345741614699364,
-0.005428825039416552,
-0.01060401275753975,
0.021012919023633003,
0.038962673395872116,
-0.01077960804104805,
-0.08163236081600189,
0.06828711181879044,
0.0452645979821682,
-0.02448580600321293,
-0.044172003865242004,
0.015228025615215302,
0.06118524819612503,
0.005111777689307928,
0.056424662470817566,
-0.031138921156525612,
-0.04772293195128441,
-0.04686446860432625,
-0.03820176050066948,
0.006399477832019329,
0.060990143567323685,
0.0009054138790816069,
0.020837323740124702,
0.028622053563594818,
0.011764893308281898,
-0.08436384797096252,
-0.0666482150554657,
0.039255332201719284,
-0.03418257459998131,
-0.017910733819007874,
-0.07808142900466919,
0.03835784271359444,
0.04834727197885513,
-0.009687013924121857,
0.031802281737327576,
0.009643115103244781,
-0.017140064388513565,
0.0062287598848342896,
-0.0016693759243935347,
0.06075601652264595,
0.005394681356847286,
0.021071450784802437,
0.015627993270754814,
0.006282413844019175,
0.0438208132982254,
0.027061205357313156,
-0.012916019186377525,
0.04553774744272232,
-0.006784812081605196,
-0.05045441910624504,
0.09404110163450241,
0.06746765971183777,
0.04674740508198738,
-0.00037283540586940944,
-0.0245833583176136,
0.0212080255150795,
-0.012935529462993145,
-0.01507194060832262,
0.03716769814491272,
-0.011842935346066952,
0.037538398057222366
] |
719,754
|
ibm_platform_services.iam_identity_v1
|
update_claim_rule
|
Update claim rule for a trusted profile.
Update a specific claim rule for a given trusted profile ID and rule ID.
:param str profile_id: ID of the trusted profile.
:param str rule_id: ID of the claim rule to update.
:param str if_match: Version of the claim rule to be updated. Specify the
version that you retrived when reading list of claim rules. This value
helps to identify any parallel usage of claim rule. Pass * to indicate to
update any version available. This might result in stale updates.
:param str type: Type of the claim rule, either 'Profile-SAML' or
'Profile-CR'.
:param List[ProfileClaimRuleConditions] conditions: Conditions of this
claim rule.
:param ResponseContext context: (optional) Context with key properties for
problem determination.
:param str name: (optional) Name of the claim rule to be created or
updated.
:param str realm_name: (optional) The realm name of the Idp this claim rule
applies to. This field is required only if the type is specified as
'Profile-SAML'.
:param str cr_type: (optional) The compute resource type the rule applies
to, required only if type is specified as 'Profile-CR'. Valid values are
VSI, IKS_SA, ROKS_SA.
:param int expiration: (optional) Session expiration in seconds, only
required if type is 'Profile-SAML'.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileClaimRule` object
|
def update_claim_rule(
self,
profile_id: str,
rule_id: str,
if_match: str,
type: str,
conditions: List['ProfileClaimRuleConditions'],
*,
context: Optional['ResponseContext'] = None,
name: Optional[str] = None,
realm_name: Optional[str] = None,
cr_type: Optional[str] = None,
expiration: Optional[int] = None,
**kwargs,
) -> DetailedResponse:
"""
Update claim rule for a trusted profile.
Update a specific claim rule for a given trusted profile ID and rule ID.
:param str profile_id: ID of the trusted profile.
:param str rule_id: ID of the claim rule to update.
:param str if_match: Version of the claim rule to be updated. Specify the
version that you retrived when reading list of claim rules. This value
helps to identify any parallel usage of claim rule. Pass * to indicate to
update any version available. This might result in stale updates.
:param str type: Type of the claim rule, either 'Profile-SAML' or
'Profile-CR'.
:param List[ProfileClaimRuleConditions] conditions: Conditions of this
claim rule.
:param ResponseContext context: (optional) Context with key properties for
problem determination.
:param str name: (optional) Name of the claim rule to be created or
updated.
:param str realm_name: (optional) The realm name of the Idp this claim rule
applies to. This field is required only if the type is specified as
'Profile-SAML'.
:param str cr_type: (optional) The compute resource type the rule applies
to, required only if type is specified as 'Profile-CR'. Valid values are
VSI, IKS_SA, ROKS_SA.
:param int expiration: (optional) Session expiration in seconds, only
required if type is 'Profile-SAML'.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ProfileClaimRule` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not rule_id:
raise ValueError('rule_id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
if type is None:
raise ValueError('type must be provided')
if conditions is None:
raise ValueError('conditions must be provided')
conditions = [convert_model(x) for x in conditions]
if context is not None:
context = convert_model(context)
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_claim_rule',
)
headers.update(sdk_headers)
data = {
'type': type,
'conditions': conditions,
'context': context,
'name': name,
'realm_name': realm_name,
'cr_type': cr_type,
'expiration': expiration,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id', 'rule-id']
path_param_values = self.encode_path_vars(profile_id, rule_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}/rules/{rule-id}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, rule_id: str, if_match: str, type: str, conditions: List[ibm_platform_services.iam_identity_v1.ProfileClaimRuleConditions], *, context: Optional[ibm_platform_services.iam_identity_v1.ResponseContext] = None, name: Optional[str] = None, realm_name: Optional[str] = None, cr_type: Optional[str] = None, expiration: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0289164986461401,
0.04084359481930733,
-0.05549359694123268,
-0.006538810208439827,
-0.03574293851852417,
-0.028552165254950523,
-0.022262634709477425,
-0.03507180139422417,
-0.027900202199816704,
-0.01089162565767765,
-0.01587722823023796,
-0.010738221928477287,
0.029856093227863312,
0.03652913123369217,
-0.003187909722328186,
0.02446780540049076,
0.0545731782913208,
-0.011035440489649773,
0.0296451635658741,
-0.014889695681631565,
0.03140930086374283,
0.0012871484505012631,
0.0035067007411271334,
0.01927127316594124,
0.03179280832409859,
0.013432364910840988,
0.0638924241065979,
-0.017986521124839783,
0.010383477434515953,
0.051313359290361404,
0.030642284080386162,
0.049817681312561035,
0.020364271476864815,
0.02381584234535694,
-0.025407399982213974,
-0.02872474491596222,
-0.03484169393777847,
0.010814923793077469,
-0.09641389548778534,
0.05254058539867401,
-0.059980642050504684,
0.06719058752059937,
0.00462366733700037,
0.02046014741063118,
-0.04774673655629158,
-0.0017725257202982903,
-0.027957728132605553,
0.04118875041604042,
0.02446780540049076,
-0.03888770565390587,
-0.0264428723603487,
-0.019117869436740875,
-0.0209970586001873,
0.04947252199053764,
-0.006433345377445221,
-0.02972186543047428,
-0.09495656192302704,
-0.0514284148812294,
0.0069558750838041306,
-0.0050335414707660675,
0.0404217354953289,
-0.06488954275846481,
-0.033154260367155075,
-0.033211786299943924,
-0.005124624818563461,
-0.04958757385611534,
-0.006653862539678812,
-0.01744002290070057,
-0.011783281341195107,
-0.047056421637535095,
-0.014045977964997292,
0.010162959806621075,
0.055186789482831955,
-0.027363291010260582,
0.03175445646047592,
-0.020114991813898087,
0.043259695172309875,
-0.052425533533096313,
0.048168595880270004,
0.024812962859869003,
0.055455245077610016,
0.02609771490097046,
-0.012425657361745834,
-0.009530171751976013,
-0.010047907941043377,
0.039002757519483566,
0.043259695172309875,
-0.0683794617652893,
-0.0890505388379097,
-0.031639404594898224,
0.02682637982070446,
-0.03852337226271629,
-0.002452053828164935,
-0.05349935591220856,
0.07440053671598434,
0.02845628932118416,
-0.008283771574497223,
-0.03852337226271629,
-0.020498499274253845,
0.01738249696791172,
-0.03723862022161484,
-0.02302965149283409,
-0.03687428683042526,
-0.018082398921251297,
0.12793824076652527,
-0.013163909316062927,
-0.005580040160566568,
0.03325013816356659,
-0.00839882344007492,
0.002201575320214033,
0.012425657361745834,
-0.046404458582401276,
-0.09058457612991333,
-0.011696991510689259,
0.07654818147420883,
0.03595386818051338,
-0.03384457528591156,
-0.025138944387435913,
0.00209970586001873,
0.01281875278800726,
-0.010383477434515953,
-0.041879065334796906,
-0.023432334885001183,
-0.029606811702251434,
0.012454420328140259,
-0.016970226541161537,
-0.025407399982213974,
0.03980812430381775,
0.06707553565502167,
-0.025925135239958763,
-0.09089137613773346,
-0.025618329644203186,
-0.025196470320224762,
-0.022780371829867363,
-0.00659154262393713,
-0.009333624504506588,
0.034151382744312286,
-0.013192673213779926,
0.02859051711857319,
0.001175092300400138,
0.023202229291200638,
0.03858089819550514,
-0.005762206856161356,
-0.060517553240060806,
-0.030316302552819252,
-0.04464032128453255,
0.011303896084427834,
0.028053605929017067,
-0.018878178671002388,
0.012789989821612835,
0.004511012230068445,
-0.0002317526377737522,
-0.021553145721554756,
0.04464032128453255,
0.045100532472133636,
-0.01862889714539051,
0.013998039066791534,
-0.02092035673558712,
-0.02157232165336609,
-0.02237768843770027,
-0.053422655910253525,
-0.015301966108381748,
0.005882052704691887,
-0.007061339914798737,
0.039769772440195084,
-0.033556945621967316,
-0.017670128494501114,
-0.006634687073528767,
0.03881100192666054,
-0.017928995192050934,
-0.021533969789743423,
-0.05330760404467583,
0.025752557441592216,
0.029625987634062767,
-0.04832199960947037,
0.008374853990972042,
0.011764105409383774,
-0.038983579725027084,
-0.03601139411330223,
-0.011466886848211288,
0.01961643062531948,
-0.014707528986036777,
0.011601114645600319,
0.005162975285202265,
-0.025023892521858215,
0.05096820369362831,
-0.04663456603884697,
0.04395001009106636,
0.003758377628400922,
0.00040747717139311135,
0.0005671722465194762,
-0.020095815882086754,
-0.022876247763633728,
-0.006802471820265055,
-0.03273240104317665,
-0.05100655555725098,
0.07397867739200592,
0.018801476806402206,
0.0015388255706056952,
-0.04306793957948685,
0.004827406257390976,
0.009678781032562256,
-0.019597254693508148,
0.020901182666420937,
-0.003372472943738103,
0.003482731292024255,
0.0016706563765183091,
0.038389142602682114,
-0.008811094798147678,
-0.015762176364660263,
-0.02118881233036518,
0.03647160530090332,
0.005100655369460583,
-0.00921377819031477,
0.004398356657475233,
0.009952031075954437,
-0.030853213742375374,
0.0029458203352987766,
-0.03378704935312271,
0.008480318821966648,
-0.021610671654343605,
-0.03340354189276695,
-0.022262634709477425,
-0.001957088941708207,
0.015503307804465294,
0.03996152803301811,
0.011112142354249954,
0.04245432838797569,
0.004093947354704142,
0.021687373518943787,
0.025138944387435913,
0.012358543463051319,
0.04824529588222504,
0.005254058632999659,
0.0013722393196076155,
0.016088157892227173,
-0.03633737564086914,
0.04337474703788757,
-0.03668253496289253,
0.07397867739200592,
0.01823580265045166,
-0.0209970586001873,
0.014812993817031384,
0.04464032128453255,
-0.03664418309926987,
0.039194509387016296,
0.019041169434785843,
-0.024237701669335365,
-0.00934321153908968,
-0.0514284148812294,
-0.001391414669342339,
0.04644281044602394,
-0.00579096982255578,
0.08667279034852982,
-0.030642284080386162,
0.009630843065679073,
0.011562763713300228,
-0.06926152855157852,
0.05790969729423523,
-0.016116920858621597,
0.01026842463761568,
0.01758383773267269,
0.04329804703593254,
-0.07033535093069077,
-0.05012448504567146,
-0.024889664724469185,
-0.04395001009106636,
0.0827610120177269,
0.011562763713300228,
0.009352799504995346,
0.011744930408895016,
-0.0019870505202561617,
0.0156087726354599,
0.02354738675057888,
0.01551289577037096,
0.03257899731397629,
-0.012559885159134865,
0.08230080455541611,
0.028245359659194946,
-0.03647160530090332,
0.04072854295372963,
0.013911750167608261,
0.0037296146620064974,
0.0009677583002485335,
-0.02682637982070446,
-0.06972174346446991,
-0.007195567712187767,
0.11428536474704742,
-0.03766047954559326,
0.03029712662100792,
-0.0068216472864151,
-0.009175427258014679,
-0.051850270479917526,
0.018926115706562996,
-0.003895002417266369,
0.061092812567949295,
-0.015704650431871414,
-0.021265514194965363,
0.07167763262987137,
-0.02316387929022312,
-0.02826453372836113,
0.0781589150428772,
0.04793849214911461,
-0.05672082304954529,
-0.013058445416390896,
-0.06669203191995621,
0.01013419684022665,
-0.04912736639380455,
0.020977884531021118,
0.028935672715306282,
0.035436131060123444,
-0.020805304870009422,
-0.02609771490097046,
0.03915616124868393,
0.036433253437280655,
0.002134461421519518,
-0.012444832362234592,
-0.0024388707242906094,
0.06588666141033173,
0.03165857866406441,
-0.010373889468610287,
-0.03942461684346199,
0.05384451523423195,
0.03307756036520004,
0.019434263929724693,
-0.05376781150698662,
0.05403626710176468,
0.06906978040933609,
0.029932793229818344,
-0.013135146349668503,
-0.042262572795152664,
0.0050335414707660675,
0.023758316412568092,
0.004419928882271051,
-0.014017214998602867,
0.00583890825510025,
0.0020841259974986315,
-0.011246370151638985,
0.03432396054267883,
0.0871330052614212,
0.01850425824522972,
0.010047907941043377,
0.05108325555920601,
0.0048633599653840065,
-0.023509036749601364,
-0.01666341908276081,
0.03697016462683678,
0.014621240086853504,
0.010278012603521347,
0.016289498656988144,
-0.01154358871281147,
-0.059136923402547836,
0.060517553240060806,
0.01304885745048523,
0.02747834287583828,
-0.06251179426908493,
-0.030124548822641373,
-0.041150402277708054,
0.005973136052489281,
-0.04360485076904297,
-0.029261654242873192,
-0.03229136765003204,
0.012559885159134865,
0.01986571028828621,
0.0077852108515799046,
0.0016155272023752332,
-0.035436131060123444,
-0.0035977838560938835,
-0.012885866686701775,
0.00021931859373580664,
-0.03825491666793823,
-0.01659630611538887,
-0.015311554074287415,
-0.04241597652435303,
0.020095815882086754,
0.03135177493095398,
-0.0030416972003877163,
0.052962444722652435,
-0.002883500186726451,
0.013557005673646927,
-0.003142368048429489,
0.007655777037143707,
-0.08751650899648666,
0.014707528986036777,
-0.023643264546990395,
-0.0009671590523794293,
-0.030277950689196587,
-0.0013794300612062216,
0.0016910303384065628,
0.011092967353761196,
0.053997915238142014,
0.02820700779557228,
0.06393077224493027,
-0.11075709015130997,
-0.026672976091504097,
0.04924241825938225,
-0.05672082304954529,
0.01921374723315239,
0.000153028653585352,
-0.05330760404467583,
-0.03392127528786659,
-0.007200361229479313,
0.08199399709701538,
0.04897396266460419,
-0.027765974402427673,
0.025349874049425125,
0.007847530767321587,
0.04728652909398079,
-0.042531028389930725,
0.018408380448818207,
-0.006792884320020676,
-0.03886852785944939,
-0.002238727640360594,
0.0006831234786659479,
0.005014366004616022,
0.02742081694304943,
0.042799483984708786,
-0.021227164193987846,
-0.0061265393160283566,
0.04644281044602394,
0.04341309890151024,
-0.025349874049425125,
-0.00401724549010396,
0.03192703425884247,
-0.04533063620328903,
-0.010824511758983135,
0.0136432945728302,
0.05948207899928093,
-0.05150511488318443,
0.0019594859331846237,
0.051121607422828674,
0.02268449403345585,
-0.017852293327450752,
0.00021302666573319584,
-0.027727622538805008,
0.037085216492414474,
-0.0005102453287690878,
0.00042006102739833295,
0.0032142759300768375,
-0.006481283809989691,
0.03796728327870369,
0.027114011347293854,
-0.04176401346921921,
0.02977939136326313,
-0.029549285769462585,
0.04859045520424843,
-0.044563621282577515,
-0.0640074759721756,
-0.05438142269849777,
0.022722844034433365,
0.03627984970808029,
0.016107333824038506,
0.009156252257525921,
0.02617441676557064,
-0.018906941637396812,
-0.0453689880669117,
-0.02281872183084488,
0.0025119769852608442,
0.0005012568435631692,
-0.051773570477962494,
-0.02590596117079258,
0.004285701084882021,
0.018341267481446266,
0.034534890204668045,
-0.026001837104558945,
0.017142804339528084,
0.04590589925646782,
0.006812059786170721,
-0.0499710850417614,
-0.020421797409653664,
-0.024429455399513245,
-0.023643264546990395,
0.017670128494501114,
0.03677840903401375,
0.05660577118396759,
0.06373901665210724,
0.02395007014274597,
-0.011208019219338894,
-0.02400759607553482,
0.045867547392845154,
0.004333639517426491,
0.021802425384521484,
-0.03221466764807701,
0.005651948042213917,
0.020383447408676147,
-0.07144752889871597,
0.003003346500918269,
0.02197500504553318,
-0.06442933529615402,
0.024717086926102638,
-0.011255958117544651,
-0.021629847586154938,
-0.01692228764295578,
-0.01631826162338257,
-0.02701813355088234,
-0.013518654741346836,
0.03179280832409859,
-0.03881100192666054,
-0.00005108445475343615,
-0.03988482430577278,
0.0004832799022551626,
-0.07440053671598434,
0.044371869415044785,
0.028763094916939735,
0.0007682143477723002,
0.04387330636382103,
-0.07325001806020737,
0.020977884531021118,
-0.007603044621646404,
0.03591551631689072,
-0.01505268644541502,
0.06343220919370651,
-0.002127270447090268,
-0.03384457528591156,
0.0132789621129632,
0.04824529588222504,
0.06818771362304688,
0.03980812430381775,
-0.07604962587356567,
-0.06906978040933609,
0.024410279467701912,
-0.049357470124959946,
0.019827360287308693,
0.01236813049763441,
0.04046008735895157,
0.06803430616855621,
0.0033053590450435877,
-0.03069981001317501,
0.04912736639380455,
-0.11221442371606827,
-0.001042662188410759,
0.03668253496289253,
-0.02557997964322567,
-0.03231054171919823,
0.011754518374800682,
-0.006390200927853584,
-0.0014141855062916875,
-0.03056558221578598,
0.00957811065018177,
-0.016088157892227173,
0.011792869307100773,
0.0406518392264843,
-0.06830276548862457,
0.0289164986461401,
-0.026596274226903915,
-0.013259787112474442,
-0.011831219308078289,
-0.009846566244959831,
-0.002806798554956913,
-0.020230043679475784,
-0.046212706714868546,
-0.017334558069705963,
0.045944251120090485,
0.04007657989859581,
-0.046787966042757034,
0.03752624988555908,
0.06607841700315475,
-0.07666323333978653,
-0.005095861852169037,
-0.019328799098730087,
-0.020690253004431725,
-0.03340354189276695,
0.012205139733850956,
-0.022262634709477425,
0.01013419684022665,
0.0022471167612820864,
0.03950131684541702,
0.050277888774871826,
-0.02348986081779003,
-0.007847530767321587,
0.024045947939157486,
0.0793861448764801,
0.0006184065132401884,
-0.04717147722840309,
-0.040575139224529266,
-0.06500459462404251,
0.028628867119550705,
0.004010054748505354,
0.03798646107316017,
0.053614407777786255,
-0.03336519002914429,
0.009923268109560013,
0.03996152803301811,
-0.039654720574617386,
-0.02065190114080906,
-0.035723764449357986,
0.0040987408719956875,
0.0545731782913208,
0.0010756199480965734,
-0.004458279814571142,
-0.08199399709701538,
0.047516632825136185,
-0.011610702611505985,
-0.04203246906399727,
0.009458264335989952,
0.06354726105928421,
0.011601114645600319,
-0.029472583904862404,
-0.017018163576722145,
0.016605893149971962,
0.0017485565040260553,
-0.04951087385416031,
0.007459229324012995,
0.03934791311621666,
-0.011236782185733318,
-0.019904062151908875,
-0.0033700759522616863,
0.005215707700699568,
-0.014084328897297382,
-0.03441983833909035,
0.01816868782043457,
0.04230092465877533,
0.058216504752635956,
-0.020172517746686935,
0.06627017259597778,
-0.07470734417438507,
-0.055186789482831955,
0.05284739285707474,
0.008772743865847588,
-0.02316387929022312,
0.004666812252253294,
-0.005445812828838825,
-0.028552165254950523,
0.04820694774389267,
-0.0077324784360826015,
0.03796728327870369,
-0.005896434653550386,
-0.07654818147420883,
-0.05100655555725098,
-0.04790014028549194,
-0.0033173435367643833,
0.0609777607023716,
-0.013020094484090805,
-0.04544568806886673,
0.04644281044602394,
0.04306793957948685,
0.01980818435549736,
0.025464925915002823,
0.023048827424645424,
-0.0175742506980896,
0.021399741992354393,
-0.034208908677101135,
0.03858089819550514,
0.028513815253973007,
0.008106399327516556,
0.04912736639380455,
-0.039194509387016296,
-0.048168595880270004,
0.02479378692805767,
0.0014201777521520853,
-0.05081479996442795,
0.03244477137923241,
-0.014602064155042171,
0.05035459250211716,
0.05764124169945717,
0.020364271476864815,
0.048705507069826126,
-0.025158120319247246,
-0.006025868467986584,
-0.003847063984721899,
-0.021629847586154938,
-0.015110212378203869,
0.024084297940135002,
-0.037487901747226715,
0.005359523463994265,
-0.02676885388791561,
0.01940550096333027,
-0.004000467248260975,
0.009415119886398315,
0.011332659050822258,
-0.000980342156253755,
0.03595386818051338,
-0.006102569866925478,
0.06151467189192772,
0.04632775858044624,
-0.04111205041408539,
0.006692213471978903,
-0.07570446282625198,
0.008964497596025467,
0.01537866797298193,
0.03257899731397629,
-0.05403626710176468,
-0.013518654741346836,
-0.04218587279319763,
0.004995191004127264,
0.007061339914798737,
0.08575237542390823,
-0.045675795525312424,
-0.09618379175662994,
-0.006327881012111902,
-0.002981774276122451,
-0.03758377581834793,
-0.004832199774682522,
-0.044103413820266724,
0.025790907442569733,
-0.0686095654964447,
-0.06347056478261948,
0.06170642748475075,
-0.004515805747359991,
0.042799483984708786,
-0.028552165254950523,
-0.025810083374381065,
0.0028403555043041706,
-0.05503338947892189,
-0.005565658677369356,
0.051773570477962494,
-0.02151479572057724,
-0.009846566244959831,
0.05384451523423195,
-0.050392940640449524,
-0.04375825449824333,
0.07789046317338943,
0.03501427546143532,
-0.051390063017606735,
0.009199396707117558,
-0.01640455238521099,
-0.05349935591220856,
-0.0006921119638718665,
-0.010124609805643559,
0.003027315717190504,
0.07555106282234192,
0.05035459250211716,
0.01098750252276659,
-0.07106401771306992,
-0.01486093271523714,
-0.01619362272322178,
0.013231023214757442,
0.015963517129421234,
-0.009069962427020073,
-0.0010696275858208537,
0.05146676301956177,
0.046711266040802,
-0.03317343443632126,
-0.023317283019423485,
0.01750713773071766,
0.0001948999270098284,
-0.020747778937220573,
-0.08429504185914993,
0.004165854770690203,
-0.012751638889312744,
0.00047279338468797505,
-0.0028739124536514282,
0.01173534244298935,
-0.009654812514781952,
-0.026404520496726036,
0.024755436927080154,
0.04425681382417679,
-0.030680634081363678,
0.059251975268125534,
0.007320207543671131,
0.025349874049425125,
-0.012157201766967773,
-0.029300006106495857,
0.016251148656010628,
0.045560743659734726,
-0.009961618110537529,
0.011783281341195107,
0.047133125364780426,
0.003871033200994134,
0.03973142057657242,
-0.01272287592291832,
0.05487998574972153,
0.032099612057209015,
0.025004716590046883,
-0.010556056164205074,
-0.02078612893819809,
-0.014707528986036777,
-0.03484169393777847
] |
719,755
|
ibm_platform_services.iam_identity_v1
|
update_profile
|
Update a trusted profile.
Update the name or description of an existing trusted profile.
:param str profile_id: ID of the trusted profile to be updated.
:param str if_match: Version of the trusted profile to be updated. Specify
the version that you retrived when reading list of trusted profiles. This
value helps to identify any parallel usage of trusted profile. Pass * to
indicate to update any version available. This might result in stale
updates.
:param str name: (optional) The name of the trusted profile to update. If
specified in the request the parameter must not be empty. The name is
checked for uniqueness. Failure to this will result in an Error condition.
:param str description: (optional) The description of the trusted profile
to update. If specified an empty description will clear the description of
the trusted profile. If a non empty value is provided the trusted profile
will be updated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfile` object
|
def update_profile(
self,
profile_id: str,
if_match: str,
*,
name: Optional[str] = None,
description: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Update a trusted profile.
Update the name or description of an existing trusted profile.
:param str profile_id: ID of the trusted profile to be updated.
:param str if_match: Version of the trusted profile to be updated. Specify
the version that you retrived when reading list of trusted profiles. This
value helps to identify any parallel usage of trusted profile. Pass * to
indicate to update any version available. This might result in stale
updates.
:param str name: (optional) The name of the trusted profile to update. If
specified in the request the parameter must not be empty. The name is
checked for uniqueness. Failure to this will result in an Error condition.
:param str description: (optional) The description of the trusted profile
to update. If specified an empty description will clear the description of
the trusted profile. If a non empty value is provided the trusted profile
will be updated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfile` object
"""
if not profile_id:
raise ValueError('profile_id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_profile',
)
headers.update(sdk_headers)
data = {
'name': name,
'description': description,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['profile-id']
path_param_values = self.encode_path_vars(profile_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profiles/{profile-id}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, profile_id: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04249176010489464,
-0.011072985827922821,
-0.0640939250588417,
-0.010107263922691345,
-0.03750376030802727,
-0.032534513622522354,
0.008546169847249985,
-0.027546511963009834,
0.005213022697716951,
-0.004575458820909262,
-0.030003009364008904,
-0.007997676730155945,
-0.00926342885941267,
0.02182718925178051,
-0.009014966897666454,
-0.0006668637506663799,
0.03791630268096924,
-0.025821339339017868,
0.06885690242052078,
-0.03941645473241806,
0.035834845155477524,
0.01718609780073166,
0.00598184997215867,
0.0246962271630764,
0.029384197667241096,
-0.0031010922975838184,
0.106960728764534,
-0.015845339745283127,
0.02876538410782814,
0.03662242367863655,
0.012704399414360523,
0.021377144381403923,
-0.003302674973383546,
0.03536604717373848,
-0.005841210950165987,
-0.015582812950015068,
-0.04117913171648979,
0.02546505443751812,
-0.07800782471895218,
0.03285329416394234,
-0.053592875599861145,
0.03994150459766388,
-0.022014707326889038,
0.01036978978663683,
0.007669519167393446,
0.06431894749403,
-0.04012902453541756,
0.04447945952415466,
0.0002553478698246181,
-0.00020348720136098564,
-0.012141842395067215,
-0.014317060820758343,
-0.03881639242172241,
0.02835284359753132,
-0.004941120743751526,
-0.049542468041181564,
-0.058505866676568985,
-0.04204171523451805,
0.004287148825824261,
0.032440751791000366,
0.0263838954269886,
-0.10381041467189789,
-0.03289080038666725,
-0.0005552314687520266,
-0.00990099273622036,
-0.04747976362705231,
-0.003593329107388854,
-0.008260203525424004,
-0.03979149088263512,
-0.025521310046315193,
0.022108467295765877,
-0.0030143647454679012,
0.01268564723432064,
0.007252289913594723,
0.0443294458091259,
0.013229452073574066,
-0.001953711500391364,
-0.03360337018966675,
0.019239429384469986,
0.020945850759744644,
0.06825684756040573,
-0.04440445452928543,
-0.014720226638019085,
-0.03741000220179558,
-0.009193109348416328,
0.01515151932835579,
0.049955010414123535,
-0.12428746372461319,
-0.06008102744817734,
-0.0013220076216384768,
0.009450947865843773,
0.007899229414761066,
0.024133671075105667,
-0.03409091755747795,
0.10703573375940323,
-0.007941421121358871,
-0.006806932855397463,
-0.06060607731342316,
-0.012957549653947353,
0.008410218171775341,
-0.023627368733286858,
-0.007303857710212469,
-0.025858843699097633,
-0.015142143703997135,
0.13216325640678406,
0.00825082790106535,
0.0281840767711401,
0.04646715894341469,
0.0334908589720726,
-0.0028666937723755836,
0.015479677356779575,
-0.10156018286943436,
-0.06668169051408768,
0.00964784249663353,
0.052317745983600616,
-0.007496064528822899,
0.023814888671040535,
-0.005616188049316406,
0.02358986623585224,
-0.004533267114311457,
-0.008147692307829857,
-0.007289793808013201,
-0.026271384209394455,
-0.020702077075839043,
-0.012113714590668678,
-0.039716482162475586,
-0.009399380534887314,
0.03804756700992584,
0.014617091044783592,
-0.018142445012927055,
-0.03952896595001221,
-0.019389444962143898,
-0.03105311468243599,
-0.0048098573461174965,
0.03626613691449165,
-0.013229452073574066,
0.00753356795758009,
-0.01045417319983244,
0.02175218239426613,
0.024808738380670547,
-0.03493475541472435,
-0.013810760341584682,
-0.01634226366877556,
-0.01290129404515028,
-0.033453356474637985,
-0.02158341556787491,
0.028371594846248627,
-0.005278654396533966,
-0.003260483266785741,
-0.028315339237451553,
0.008485225960612297,
0.02327108383178711,
-0.007800782565027475,
-0.009118101559579372,
-0.027190227061510086,
-0.04444195702672005,
0.03851636126637459,
-0.06566908955574036,
0.008808695711195469,
-0.021958451718091965,
0.01273252721875906,
-0.024246182292699814,
0.020870843902230263,
0.0018552641849964857,
0.013848263770341873,
-0.04875488951802254,
0.0010928830597549677,
0.053855400532484055,
0.009418131783604622,
0.008696184493601322,
0.0037878798320889473,
-0.039116423577070236,
0.014879616908729076,
0.046579670161008835,
0.022014707326889038,
0.011279256083071232,
0.02283979021012783,
-0.06060607731342316,
-0.022858543321490288,
-0.0005490785115398467,
0.02013951912522316,
-0.01776740700006485,
0.00655847042798996,
0.0016337576089426875,
-0.016614167019724846,
0.013388842344284058,
-0.01978323422372341,
0.061206139624118805,
0.016820436343550682,
0.0005232946714386344,
0.015554685145616531,
-0.050967611372470856,
-0.0027799662202596664,
-0.000647525885142386,
-0.005236462689936161,
0.004364500287920237,
0.04612962529063225,
-0.026365144178271294,
0.04155416786670685,
-0.04365437850356102,
-0.02936544455587864,
-0.021470902487635612,
0.006539718247950077,
-0.000496045860927552,
-0.01760801672935486,
0.025858843699097633,
0.03605986759066582,
0.0066756694577634335,
0.014692098833620548,
-0.01580783538520336,
0.005128639284521341,
0.0167454294860363,
0.002409616718068719,
0.017711151391267776,
-0.00031848897924646735,
0.02235224097967148,
-0.0016736052930355072,
-0.03289080038666725,
0.002387348795309663,
0.013782632537186146,
0.003776160068809986,
-0.05126764252781868,
-0.02300855703651905,
-0.01003225613385439,
0.02503376081585884,
0.039716482162475586,
-0.006136552896350622,
-0.003180787665769458,
-0.02291479893028736,
0.0025690076872706413,
0.061468664556741714,
-0.01811431720852852,
0.013257579877972603,
0.015179647132754326,
-0.07241976261138916,
0.025858843699097633,
-0.049542468041181564,
-0.023327339440584183,
0.0037456881254911423,
0.025315038859844208,
0.042004212737083435,
-0.02030828595161438,
-0.004287148825824261,
0.03512227162718773,
-0.08018304407596588,
-0.0102385263890028,
-0.0246962271630764,
-0.050030019134283066,
-0.013763880357146263,
-0.033378347754478455,
0.033640872687101364,
0.030678076669573784,
-0.012385617010295391,
0.07620764523744583,
0.0031245320569723845,
0.02115212194621563,
0.032365746796131134,
-0.0681818351149559,
0.028990408405661583,
0.003635520813986659,
-0.053480364382267,
-0.028896648436784744,
-0.02739649824798107,
-0.021958451718091965,
-0.06030604988336563,
-0.03037804737687111,
-0.0068444362841546535,
0.05265527963638306,
0.013632616959512234,
0.013248203322291374,
0.02936544455587864,
-0.009872864931821823,
-0.0037339681293815374,
0.01817994751036167,
0.011091737076640129,
0.004104318097233772,
-0.029759233817458153,
0.08738376200199127,
0.028221581131219864,
-0.0298717450350523,
0.03596610575914383,
-0.005442733410745859,
0.005869338754564524,
0.006610037758946419,
0.031353145837783813,
-0.04459197074174881,
-0.017467377707362175,
0.07920794188976288,
-0.04642965644598007,
-0.012920046225190163,
0.022708527743816376,
0.007031955290585756,
-0.06101861968636513,
-0.0019900433253496885,
-0.05209272354841232,
0.05839335545897484,
-0.049692485481500626,
0.048267342150211334,
0.048942409455776215,
-0.023496106266975403,
-0.017739279195666313,
0.04830484464764595,
-0.009329061023890972,
-0.04946746304631233,
0.012498128227889538,
-0.052505265921354294,
0.008982150815427303,
-0.058655884116888046,
-0.01802993379533291,
0.03493475541472435,
0.004657498560845852,
-0.02623388171195984,
-0.03020928055047989,
0.028390347957611084,
-0.02250225655734539,
-0.019989505410194397,
0.027527760714292526,
-0.034634724259376526,
0.02792154997587204,
0.03195320442318916,
-0.016867317259311676,
-0.025502556934952736,
0.07935795933008194,
0.020702077075839043,
0.06510652601718903,
-0.047329746186733246,
0.01751425676047802,
0.05411792919039726,
0.01769240014255047,
-0.03527228906750679,
-0.0744449645280838,
-0.01434518862515688,
0.062293749302625656,
-0.006961635779589415,
-0.00028069221298210323,
0.019933249801397324,
0.015179647132754326,
0.017195474356412888,
0.018930023536086082,
0.09690971672534943,
0.025615068152546883,
-0.017195474356412888,
0.03851636126637459,
0.02259601652622223,
-0.02276478335261345,
-0.010838586837053299,
0.04999251291155815,
-0.005653691943734884,
0.06075609475374222,
-0.005278654396533966,
-0.038366347551345825,
-0.04507952183485031,
0.053255341947078705,
0.013670121319591999,
0.03656616806983948,
-0.038703881204128265,
-0.013482602313160896,
-0.009994752705097198,
-0.00211427453905344,
-0.04931744560599327,
-0.053855400532484055,
-0.03499101102352142,
0.01701733097434044,
0.02250225655734539,
-0.0015388261526823044,
-0.020964602008461952,
-0.022464752197265625,
0.01641727238893509,
-0.05093010887503624,
-0.0025690076872706413,
-0.017561135813593864,
-0.017289234325289726,
-0.029909249395132065,
-0.0529928132891655,
0.023908648639917374,
0.006403767038136721,
-0.015685947611927986,
0.06510652601718903,
-0.03529103845357895,
-0.006239688489586115,
0.04136664792895317,
0.021377144381403923,
-0.05966848507523537,
0.03859136998653412,
-0.00800236500799656,
0.016295384615659714,
-0.036416150629520416,
-0.042604271322488785,
0.026515159755945206,
-0.011232376098632812,
-0.0022420217283070087,
0.0318031907081604,
0.030753083527088165,
-0.0631188303232193,
-0.0012341081164777279,
0.03037804737687111,
-0.04050406068563461,
-0.00024113745894283056,
-0.007060083094984293,
-0.022295985370874405,
-0.028484106063842773,
-0.011982452124357224,
0.05644316226243973,
0.06589411199092865,
-0.018236203119158745,
-0.027865294367074966,
0.04185419902205467,
0.028146572411060333,
-0.022989805787801743,
0.014101414009928703,
-0.027865294367074966,
-0.03746625781059265,
-0.03199070692062378,
0.021170873194932938,
0.006825684569776058,
0.06521904468536377,
-0.007289793808013201,
0.014401444233953953,
-0.04027903825044632,
0.0756450891494751,
0.05336785316467285,
0.01868624985218048,
-0.058243341743946075,
0.052917808294296265,
-0.0657816007733345,
0.0004951668670400977,
0.014729602262377739,
-0.017242353409528732,
0.01775803044438362,
-0.003811319824308157,
0.030528061091899872,
-0.0053771017119288445,
0.008447722531855106,
0.002845597919076681,
0.010182270780205727,
0.014823361299932003,
0.0033659625332802534,
0.012235602363944054,
-0.03544105589389801,
-0.007913293316960335,
0.0609436109662056,
0.010041631758213043,
-0.03866637870669365,
0.0443294458091259,
0.0035300415474921465,
0.03979149088263512,
-0.03206571564078331,
-0.05869338661432266,
-0.01726110652089119,
0.022295985370874405,
0.03274078294634819,
-0.026627670973539352,
-0.01944570057094097,
-0.0019326156470924616,
0.011232376098632812,
-0.03941645473241806,
-0.014626466669142246,
0.05093010887503624,
0.014926496893167496,
-0.04807982221245766,
-0.048942409455776215,
0.001302083721384406,
0.039378948509693146,
0.05153016746044159,
0.005944346077740192,
0.01011663954705,
0.0725322738289833,
-0.027452753856778145,
-0.051042620092630386,
-0.004702033940702677,
-0.004458259791135788,
-0.021133368834853172,
0.009666594676673412,
0.051230136305093765,
0.06398141384124756,
0.06536905467510223,
-0.023458601906895638,
0.005133327562361956,
-0.021695926785469055,
0.012807534076273441,
-0.018067436292767525,
0.04447945952415466,
0.03309706971049309,
0.024077415466308594,
0.05745576322078705,
-0.07815784215927124,
0.01320132426917553,
0.0033987783826887608,
-0.020664572715759277,
0.025090016424655914,
0.00817113183438778,
-0.006910067982971668,
-0.041254136711359024,
-0.027865294367074966,
-0.08445847034454346,
-0.04642965644598007,
0.037109971046447754,
-0.046579670161008835,
0.003157347906380892,
0.004334028344601393,
0.02291479893028736,
-0.06709422916173935,
0.0920342281460762,
-0.00803518109023571,
0.03598485887050629,
0.04387940093874931,
-0.04110412299633026,
0.05659317597746849,
0.011485527269542217,
0.08355838060379028,
-0.02784654311835766,
0.03189694881439209,
0.014232677407562733,
-0.03071558102965355,
0.02784654311835766,
0.037447504699230194,
0.05479299649596214,
0.0722697451710701,
-0.06758178025484085,
-0.0624062605202198,
-0.010604188777506351,
-0.019989505410194397,
0.03665992617607117,
0.016520407050848007,
0.043616876006126404,
0.034484706819057465,
-0.0010501053184270859,
-0.024414949119091034,
0.034728482365608215,
-0.06060607731342316,
-0.014110790565609932,
0.049542468041181564,
-0.042079221457242966,
-0.0664941668510437,
0.025333790108561516,
-0.059593476355075836,
-0.0238523930311203,
-0.07628265023231506,
0.0034503459464758635,
-0.024771234020590782,
0.02623388171195984,
0.042941804975271225,
-0.05801831930875778,
0.044029414653778076,
-0.03587234765291214,
-0.04147915914654732,
-0.032609522342681885,
-0.0011286288499832153,
0.000666277774143964,
-0.05666818469762802,
-0.02816532552242279,
-0.030265536159276962,
0.05888090655207634,
0.033640872687101364,
-0.08693371713161469,
0.04924243688583374,
-0.009525955654680729,
-0.06473149359226227,
-0.03804756700992584,
0.03418467938899994,
-0.03221572935581207,
-0.025990106165409088,
0.06506902724504471,
-0.026683926582336426,
0.025521310046315193,
0.034634724259376526,
-0.01302318088710308,
0.01684856414794922,
-0.03467222675681114,
-0.03255326300859451,
0.04331684485077858,
0.0657816007733345,
-0.03737249970436096,
-0.0028479418251663446,
-0.0614311620593071,
-0.05475549027323723,
0.05479299649596214,
0.0455295667052269,
0.08678370714187622,
0.032947055995464325,
-0.07136965543031693,
0.03611612319946289,
0.07725774496793747,
-0.0326470248401165,
-0.00531147001311183,
-0.03881639242172241,
-0.023158572614192963,
0.0489049032330513,
0.03225323557853699,
0.01902378350496292,
-0.06660667806863785,
-0.006966323591768742,
-0.011054233647882938,
-0.07043206691741943,
0.023964904248714447,
0.04781729727983475,
0.007238226011395454,
-0.07489500939846039,
0.05576809495687485,
-0.02006451226770878,
-0.009188421070575714,
-0.01684856414794922,
0.02951546013355255,
0.00015118703595362604,
-0.025183776393532753,
0.004069157876074314,
-0.025521310046315193,
0.0167454294860363,
-0.01995200105011463,
-0.03459721803665161,
0.0505925752222538,
0.057905808091163635,
0.004235581029206514,
-0.0019314436940476298,
0.020964602008461952,
-0.009239989332854748,
-0.04222923517227173,
0.0238523930311203,
0.0011614445829764009,
-0.02503376081585884,
-0.005391165614128113,
-0.019408196210861206,
-0.046917203813791275,
0.05160517618060112,
-0.037109971046447754,
0.005147391464561224,
0.031259384006261826,
-0.020927099511027336,
-0.058918409049510956,
-0.013332586735486984,
0.017458001151680946,
0.02081458829343319,
0.045229535549879074,
-0.03851636126637459,
0.05441795662045479,
0.005213022697716951,
0.018508106470108032,
-0.010922970250248909,
-0.027621520683169365,
0.010857339017093182,
0.008053932338953018,
-0.011298008263111115,
0.024414949119091034,
0.05085510015487671,
-0.003183131804689765,
0.053480364382267,
-0.04661717638373375,
-0.03960397094488144,
0.006422519218176603,
-0.020964602008461952,
-0.01683918945491314,
0.021770933642983437,
0.02004576101899147,
0.04204171523451805,
0.016698550432920456,
-0.03508476912975311,
0.057418256998062134,
0.022370994091033936,
-0.023983655497431755,
0.009052470326423645,
-0.020027007907629013,
-0.0431293249130249,
0.040916603058576584,
-0.016473527997732162,
0.06926944851875305,
0.03230949118733406,
-0.003865231294184923,
0.0031550040002912283,
0.022108467295765877,
-0.015339038334786892,
0.00414416566491127,
0.06589411199092865,
-0.009657218120992184,
0.033378347754478455,
0.029459204524755478,
-0.07504502683877945,
-0.019745729863643646,
-0.06184370070695877,
-0.0012270761653780937,
0.011691797524690628,
0.0732448473572731,
-0.05558057501912117,
0.012798158451914787,
-0.009329061023890972,
-0.02437744475901127,
0.005663068033754826,
0.05483049899339676,
-0.028296587988734245,
-0.07860788702964783,
0.026590166613459587,
-0.03418467938899994,
-0.11738677322864532,
-0.017542384564876556,
-0.03572233393788338,
0.014504579827189445,
-0.058505866676568985,
-0.0426417775452137,
0.018142445012927055,
-0.015170271508395672,
0.00994787272065878,
-0.013304458931088448,
0.00825082790106535,
-0.006464710924774408,
-0.028277836740016937,
-0.008161756210029125,
0.05753076821565628,
-0.005714635830372572,
-0.00042308931006118655,
0.07935795933008194,
-0.0631188303232193,
-0.03004051372408867,
0.03712872415781021,
0.0028831015806645155,
-0.03137189522385597,
0.049880001693964005,
0.029590466991066933,
-0.027358993887901306,
-0.025746332481503487,
0.024996256455779076,
0.022295985370874405,
0.05295531079173088,
0.036753684282302856,
-0.01615474559366703,
-0.02572757937014103,
-0.02799655869603157,
-0.0015681260265409946,
0.030078016221523285,
-0.0021119306329637766,
0.006961635779589415,
0.029759233817458153,
0.034972257912158966,
0.04399191215634346,
-0.041254136711359024,
-0.044967010617256165,
-0.00020568468607962132,
-0.00714915432035923,
-0.001908003818243742,
-0.05306782200932503,
0.03459721803665161,
-0.03457846865057945,
-0.011307383887469769,
0.009089973755180836,
0.030509309843182564,
0.0026533911004662514,
-0.027696527540683746,
0.01421392522752285,
0.06983200460672379,
-0.03662242367863655,
0.06090610846877098,
0.029327942058444023,
0.04324183613061905,
0.011476150713860989,
-0.039716482162475586,
0.0006252580205909908,
0.06765678524971008,
-0.009465011768043041,
-0.016726678237318993,
0.028915399685502052,
0.004540299065411091,
0.02291479893028736,
0.004329340532422066,
0.04346685856580734,
0.04676719009876251,
-0.02192094922065735,
-0.00039671946433372796,
0.046317145228385925,
-0.04316683113574982,
0.006825684569776058
] |
719,756
|
ibm_platform_services.iam_identity_v1
|
update_profile_template_version
|
Update version of trusted profile template.
Update a specific version of a trusted profile template in an enterprise account.
:param str if_match: Entity tag of the Template to be updated. Specify the
tag that you retrieved when reading the Profile Template. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account. Required field when creating a
new template. Otherwise this field is optional. If the field is included it
will change the name value for all existing versions of the template.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param TemplateProfileComponentRequest profile: (optional) Input body
parameters for the TemplateProfileComponent.
:param List[PolicyTemplateReference] policy_template_references: (optional)
Existing policy templates that you can reference to assign access in the
trusted profile component.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
|
def update_profile_template_version(
self,
if_match: str,
template_id: str,
version: str,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
profile: Optional['TemplateProfileComponentRequest'] = None,
policy_template_references: Optional[List['PolicyTemplateReference']] = None,
**kwargs,
) -> DetailedResponse:
"""
Update version of trusted profile template.
Update a specific version of a trusted profile template in an enterprise account.
:param str if_match: Entity tag of the Template to be updated. Specify the
tag that you retrieved when reading the Profile Template. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
is visible only in the enterprise account. Required field when creating a
new template. Otherwise this field is optional. If the field is included it
will change the name value for all existing versions of the template.
:param str description: (optional) The description of the trusted profile
template. Describe the template for enterprise account users.
:param TemplateProfileComponentRequest profile: (optional) Input body
parameters for the TemplateProfileComponent.
:param List[PolicyTemplateReference] policy_template_references: (optional)
Existing policy templates that you can reference to assign access in the
trusted profile component.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TrustedProfileTemplateResponse` object
"""
if not if_match:
raise ValueError('if_match must be provided')
if not template_id:
raise ValueError('template_id must be provided')
if not version:
raise ValueError('version must be provided')
if profile is not None:
profile = convert_model(profile)
if policy_template_references is not None:
policy_template_references = [convert_model(x) for x in policy_template_references]
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_profile_template_version',
)
headers.update(sdk_headers)
data = {
'account_id': account_id,
'name': name,
'description': description,
'profile': profile,
'policy_template_references': policy_template_references,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id', 'version']
path_param_values = self.encode_path_vars(template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_templates/{template_id}/versions/{version}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, if_match: str, template_id: str, version: str, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, profile: Optional[ibm_platform_services.iam_identity_v1.TemplateProfileComponentRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_identity_v1.PolicyTemplateReference]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.04468924552202225,
-0.0614716075360775,
-0.04331301525235176,
-0.0021885880269110203,
-0.022535767406225204,
-0.025249997153878212,
-0.036775924265384674,
-0.006178699433803558,
-0.036450982093811035,
-0.006336392369121313,
0.027142314240336418,
-0.01438351534307003,
-0.06258023530244827,
-0.021713851019740105,
-0.04702119156718254,
-0.005199091043323278,
0.08379711955785751,
-0.012854370288550854,
0.04052232950925827,
-0.013695400208234787,
0.03071668930351734,
-0.0026114920619875193,
-0.029875660315155983,
0.03132834658026695,
0.04732701927423477,
-0.05344359949231148,
0.03798012435436249,
-0.03352649137377739,
0.05065291002392769,
0.006412849761545658,
-0.03719643875956535,
0.023051852360367775,
0.03559083864092827,
0.07106699049472809,
-0.015176759101450443,
-0.027180543169379234,
-0.018521761521697044,
0.015864873304963112,
-0.07779522240161896,
0.038935840129852295,
0.013599828816950321,
0.035934895277023315,
-0.022631337866187096,
0.0015375069342553616,
-0.0005068277823738754,
0.02146536484360695,
-0.023701738566160202,
0.01991710625588894,
0.013341785408556461,
-0.005581377074122429,
0.01999356411397457,
-0.004604158457368612,
-0.016113359481096268,
0.0016796695999801159,
-0.035533495247364044,
0.004025950562208891,
0.0027978564612567425,
-0.02916843071579933,
-0.015922216698527336,
0.012166256085038185,
-0.0007335114642046392,
-0.049047309905290604,
-0.055316802114248276,
0.03983421251177788,
-0.03457777947187424,
-0.026454199105501175,
0.025517597794532776,
-0.011057625524699688,
-0.024007568135857582,
-0.025613170117139816,
0.010359954088926315,
0.032532546669244766,
0.015434801578521729,
-0.03411903604865074,
0.0391843281686306,
0.027906887233257294,
0.009308666922152042,
-0.016839703544974327,
-0.000013598410077975132,
0.0025398132856935263,
0.028078915551304817,
-0.07232853025197983,
-0.014966501854360104,
-0.03302951902151108,
0.037177324295043945,
0.0038515327032655478,
0.04507153481245041,
-0.11430355161428452,
-0.013131528161466122,
0.06433875113725662,
-0.022325508296489716,
-0.01682058908045292,
-0.03245609253644943,
-0.011420797556638718,
0.08616729080677032,
0.0036914502270519733,
0.05432285740971565,
-0.0640711560845375,
-0.008028008043766022,
0.018292389810085297,
0.017088189721107483,
-0.034176379442214966,
-0.019085634499788284,
-0.013389571569859982,
0.05814571678638458,
-0.01593177393078804,
-0.040369413793087006,
0.055431485176086426,
0.043160103261470795,
-0.001631883904337883,
0.02846120111644268,
-0.07003481686115265,
-0.056884173303842545,
0.012720570899546146,
0.05826040357351303,
-0.0023773417342454195,
-0.0333162359893322,
-0.020031793043017387,
-0.0010321724694222212,
-0.015912659466266632,
0.04484216123819351,
-0.03142391890287399,
-0.011678840965032578,
-0.004582654684782028,
-0.03979598358273506,
-0.018588662147521973,
0.00896460935473442,
0.006828585639595985,
-0.008744794875383377,
-0.006948050111532211,
-0.0682763010263443,
-0.008778245188295841,
-0.03165328875184059,
-0.009781746193766594,
-0.01625671796500683,
-0.04629484936594963,
-0.02165650762617588,
-0.032245833426713943,
0.03236052021384239,
0.04086638614535332,
0.002950771013274789,
0.013609386049211025,
-0.01176485512405634,
-0.02505885437130928,
-0.031404804438352585,
-0.0429307296872139,
0.055316802114248276,
0.037788983434438705,
0.006527535617351532,
-0.031003404408693314,
0.00018516983254812658,
0.00641762837767601,
-0.00775562971830368,
-0.03113720379769802,
-0.01762338913977146,
-0.015578159131109715,
0.03807569667696953,
-0.09885919094085693,
0.015597273595631123,
-0.06208326667547226,
0.01535834465175867,
-0.019630391150712967,
0.021599166095256805,
0.02836563065648079,
0.0443451888859272,
-0.009996782056987286,
-0.011889098212122917,
0.035629067569971085,
-0.0024991955142468214,
-0.005328112747520208,
0.010015896521508694,
0.02733345702290535,
-0.0029913887847214937,
0.030506432056427002,
0.005796413403004408,
0.028193600475788116,
0.04384821653366089,
-0.037177324295043945,
0.0074784723110497,
0.00660399254411459,
-0.011984669603407383,
-0.03113720379769802,
-0.03136657550930977,
0.05004125088453293,
-0.02330033853650093,
0.013752742670476437,
0.006823807023465633,
0.05814571678638458,
-0.03549526631832123,
-0.007750851102173328,
-0.022325508296489716,
-0.08295609056949615,
0.03392789140343666,
0.02299450896680355,
-0.017566047608852386,
-0.024676568806171417,
0.006957607343792915,
-0.04572141915559769,
0.04969719424843788,
0.0021228825207799673,
0.007320778910070658,
-0.09098409861326218,
-0.007019728887826204,
-0.01609424501657486,
0.017164645716547966,
0.040484100580215454,
0.04132512956857681,
-0.05829863250255585,
0.011143640615046024,
-0.027505485340952873,
-0.01087603997439146,
0.0043747867457568645,
0.018970947712659836,
0.02526911161839962,
-0.03836240991950035,
-0.004694951232522726,
0.011564155109226704,
-0.04132512956857681,
-0.04281604662537575,
-0.0007795052952133119,
-0.000482934876345098,
0.009523702785372734,
-0.043771758675575256,
0.004666280001401901,
0.005251655355095863,
0.03341180831193924,
-0.012386070564389229,
0.033583834767341614,
-0.06009537726640701,
-0.007789079565554857,
0.0736665353178978,
0.02383553981781006,
0.08654958009719849,
0.009241767227649689,
-0.07076115906238556,
-0.03782721236348152,
-0.031404804438352585,
0.012510312721133232,
0.0195921640843153,
0.020681679248809814,
0.026052799075841904,
0.011200983077287674,
0.07473693788051605,
0.024580996483564377,
-0.03952838480472565,
-0.01728888973593712,
-0.0675881877541542,
-0.05061468109488487,
0.016648560762405396,
-0.05436108633875847,
-0.002470524050295353,
0.013695400208234787,
-0.01417325809597969,
0.04683005064725876,
0.019649505615234375,
-0.04189855977892876,
0.08999015390872955,
-0.03960484266281128,
0.05868091806769371,
0.005165641196072102,
-0.05080582574009895,
-0.0015829034382477403,
-0.044803932309150696,
-0.06785578280687332,
-0.07030241936445236,
-0.06487395614385605,
-0.024408968165516853,
0.0711052194237709,
0.006900264415889978,
0.0626566931605339,
0.008123580366373062,
0.011124526150524616,
-0.025708740577101707,
0.013246214017271996,
-0.0015482588205486536,
-0.024466311559081078,
0.002364200772717595,
0.05000302568078041,
0.004780965857207775,
-0.05917789041996002,
-0.0014706068905070424,
-0.014029900543391705,
0.021943222731351852,
0.054819829761981964,
0.027562828734517097,
-0.022344622761011124,
-0.03673769533634186,
0.04208970069885254,
-0.018168147653341293,
-0.021618280559778214,
0.000901358958799392,
0.01578841730952263,
-0.011468583717942238,
-0.007163085974752903,
-0.11415063589811325,
0.011965555138885975,
-0.05692240223288536,
0.017728518694639206,
0.08410294353961945,
-0.04166918620467186,
0.032341405749320984,
0.017718961462378502,
-0.0032135925721377134,
-0.032647233456373215,
0.004472747445106506,
-0.008687452413141727,
0.03138568997383118,
-0.034080807119607925,
0.019553935155272484,
0.02817448601126671,
0.016218489035964012,
0.0002431100729154423,
-0.008128358982503414,
-0.02454276941716671,
-0.026683570817112923,
0.012538984417915344,
0.0027524600736796856,
-0.04640953615307808,
0.03857266902923584,
0.0018994841957464814,
-0.03597312420606613,
0.023663509637117386,
0.03874469920992851,
0.058642689138650894,
0.029436031356453896,
-0.05413171276450157,
0.00469256192445755,
0.0018313893815502524,
-0.017967447638511658,
-0.001145663671195507,
-0.02618659846484661,
0.006489306688308716,
0.053061313927173615,
0.027448143810033798,
-0.029416916891932487,
0.04400113224983215,
-0.01161194033920765,
0.0013057460309937596,
-0.005853756330907345,
0.0722520723938942,
0.071793332695961,
-0.028537658974528313,
0.0191238634288311,
-0.005471469834446907,
-0.04327479004859924,
-0.006236042361706495,
0.030506432056427002,
0.04186033084988594,
0.03138568997383118,
-0.011697955429553986,
-0.06128046289086342,
-0.03597312420606613,
0.04442164674401283,
0.03704352304339409,
0.012701456435024738,
-0.06261846423149109,
0.01649564504623413,
-0.018904048949480057,
0.021885879337787628,
-0.012806585058569908,
-0.08708477765321732,
0.00016112762386910617,
-0.0024824703577905893,
0.010675339959561825,
0.0098534245043993,
-0.036603894084692,
0.02228728123009205,
0.005605270154774189,
-0.05516388639807701,
0.02412225306034088,
-0.02867145836353302,
-0.005117855500429869,
0.003242264036089182,
-0.06735881417989731,
0.03299129009246826,
-0.04920022189617157,
-0.06525623798370361,
0.0363745242357254,
-0.016390517354011536,
-0.07794813811779022,
0.03692883998155594,
-0.0022160648368299007,
-0.004730790853500366,
-0.0052851056680083275,
-0.017164645716547966,
-0.005653055850416422,
-0.015453916043043137,
-0.02486771158874035,
0.0441158190369606,
0.03461600840091705,
0.005524034146219492,
0.021885879337787628,
0.02301362343132496,
-0.06070703640580177,
0.010245268233120441,
0.03786544129252434,
-0.05891029164195061,
-0.0010303804883733392,
0.046677134931087494,
-0.025957226753234863,
-0.0036580003798007965,
0.014087243005633354,
0.057495832443237305,
0.025192655622959137,
-0.03071668930351734,
-0.034271951764822006,
0.04216615855693817,
0.004257711581885815,
-0.024064911529421806,
-0.028098030015826225,
-0.04663890600204468,
-0.0067903571762144566,
-0.05753406137228012,
-0.026760028675198555,
0.0132557712495327,
0.08524980396032333,
-0.009695732034742832,
0.06525623798370361,
-0.054399315267801285,
0.04361884668469429,
0.036565665155649185,
0.04220438748598099,
0.017164645716547966,
0.026071913540363312,
-0.059751320630311966,
0.01705951802432537,
-0.01102895475924015,
-0.022612223401665688,
-0.028002457693219185,
-0.0005256434087641537,
0.03702440857887268,
-0.04373353347182274,
0.011860426515340805,
0.019506148993968964,
0.026129256933927536,
0.031595949083566666,
0.02351059578359127,
0.023338567465543747,
-0.04537736251950264,
0.01862689107656479,
0.08180923014879227,
0.03142391890287399,
0.003089349716901779,
0.03230317682027817,
0.006613549776375294,
0.056463658809661865,
-0.06009537726640701,
-0.10543450713157654,
-0.021580051630735397,
-0.0007030480774119496,
-0.0019496591994538903,
-0.0006558595923706889,
0.002239957684651017,
-0.0028002457693219185,
-0.04637130722403526,
-0.017709404230117798,
-0.01883714832365513,
0.01294038537889719,
-0.0089168231934309,
-0.04847387969493866,
-0.019668620079755783,
0.02813625894486904,
0.06972898542881012,
0.01444085780531168,
-0.01480402983725071,
-0.0767248198390007,
0.04931490868330002,
-0.02351059578359127,
-0.03700529783964157,
0.006460635457187891,
-0.0008834393229335546,
-0.027065856382250786,
-0.004262490198016167,
0.09641256183385849,
0.05080582574009895,
0.040560558438301086,
0.000421709381043911,
-0.0069146002642810345,
-0.043886445462703705,
0.016323616728186607,
-0.044077590107917786,
0.03929901123046875,
0.005786856170743704,
0.03905052691698074,
0.016323616728186607,
-0.06957606971263885,
0.00351703236810863,
-0.005299441050738096,
-0.012797027826309204,
-0.0110862972214818,
-0.014689343981444836,
0.0038419754710048437,
-0.004162140190601349,
0.030181488022208214,
-0.0666324719786644,
-0.025746969506144524,
-0.010197482071816921,
-0.01092382613569498,
0.030812261626124382,
-0.006565764080733061,
0.0029316565487533808,
-0.01952526345849037,
0.07546328008174896,
-0.002041646745055914,
0.05753406137228012,
0.06942316144704819,
0.040178269147872925,
0.006111799273639917,
0.04373353347182274,
0.047479934990406036,
-0.03633629530668259,
0.04063701257109642,
0.019487034529447556,
0.005786856170743704,
0.03478803485631943,
0.04881793633103371,
-0.005686506163328886,
0.034271951764822006,
-0.014870929531753063,
-0.03278103470802307,
0.017977004870772362,
-0.003944715019315481,
0.03446309268474579,
-0.024179596453905106,
0.04736524820327759,
0.028308287262916565,
-0.008080572821199894,
-0.047174107283353806,
0.02773485705256462,
0.02414136752486229,
-0.044306959956884384,
0.02144625037908554,
-0.030582889914512634,
-0.04908553883433342,
-0.03505563735961914,
-0.061318691819906235,
-0.044383417814970016,
-0.015119415707886219,
-0.04124867171049118,
-0.021694736555218697,
-0.028728801757097244,
0.03679503872990608,
-0.061318691819906235,
-0.030869603157043457,
-0.0014909158926457167,
-0.026377741247415543,
-0.03906964138150215,
-0.0012143556959927082,
-0.07611316442489624,
-0.057190004736185074,
-0.00033420170075260103,
-0.00546191306784749,
0.043657075613737106,
0.03991067036986351,
-0.059751320630311966,
0.07687773555517197,
-0.030812261626124382,
-0.03704352304339409,
-0.0017310393741354346,
0.010761354118585587,
0.012357398867607117,
-0.0593690350651741,
0.019515706226229668,
-0.01736534759402275,
-0.0021396076772361994,
0.025135312229394913,
0.0059302132576704025,
-0.00013745874457526952,
-0.02041407860815525,
0.0382477268576622,
0.04503330588340759,
0.04510976001620293,
-0.0029674959369003773,
-0.045644961297512054,
-0.02259310893714428,
-0.04216615855693817,
0.05363474041223526,
0.04835919290781021,
0.10444056987762451,
0.02972274459898472,
-0.010197482071816921,
-0.0021192985586822033,
0.11055714637041092,
-0.05940726399421692,
0.006819028407335281,
0.036240722984075546,
0.02546025440096855,
0.07676304876804352,
0.03591578081250191,
0.0410575270652771,
-0.07328424602746964,
-0.009050623513758183,
-0.0132557712495327,
-0.010579768568277359,
-0.0015900713624432683,
0.05271725356578827,
0.005017505493015051,
-0.03318243473768234,
0.02979920245707035,
-0.03786544129252434,
-0.023873768746852875,
0.01623760350048542,
0.0014013175386935472,
0.011411240324378014,
0.006164363585412502,
-0.02981831692159176,
-0.03453955054283142,
0.02301362343132496,
-0.005313776899129152,
-0.006169142201542854,
0.0959538146853447,
-0.0016581660602241755,
-0.006049677729606628,
-0.06250377744436264,
0.045339133590459824,
0.06426229327917099,
-0.04044587165117264,
0.07294019311666489,
-0.026263056322932243,
-0.01675368845462799,
-0.03000945970416069,
0.046256620436906815,
-0.0029292674735188484,
0.031175432726740837,
-0.028747916221618652,
0.0429307296872139,
0.018779804930090904,
-0.016247160732746124,
-0.020375849679112434,
0.00951414555311203,
0.010713567957282066,
0.043045416474342346,
0.02517354115843773,
0.033048633486032486,
0.011994226835668087,
0.0017728519160300493,
0.020070021972060204,
-0.021369794383645058,
0.026263056322932243,
0.0195921640843153,
0.03211203217506409,
-0.03436752036213875,
0.025708740577101707,
0.07374299317598343,
-0.010168810375034809,
0.05806926265358925,
-0.005868091713637114,
-0.025402912870049477,
0.020089134573936462,
0.02484859712421894,
-0.028518544510006905,
0.017824091017246246,
-0.025861656293272972,
0.008534537628293037,
-0.03406169265508652,
-0.0005053344648331404,
0.02930223010480404,
0.023778196424245834,
0.007368565071374178,
0.04770930856466293,
-0.021083079278469086,
-0.021790308877825737,
0.00734945060685277,
-0.017460918053984642,
0.04770930856466293,
0.039451926946640015,
0.007124857511371374,
-0.016218489035964012,
-0.03536146506667137,
0.00745457923039794,
0.023988453671336174,
0.021713851019740105,
-0.0358966663479805,
0.018999619409441948,
0.020184706896543503,
-0.048741478472948074,
-0.02628217078745365,
-0.02031850628554821,
-0.04847387969493866,
0.014326171949505806,
0.11124525964260101,
-0.009600159712135792,
0.0031729748006910086,
-0.009714845567941666,
-0.05527857318520546,
-0.04897085204720497,
0.04335124418139458,
0.04782399162650108,
-0.03310597687959671,
0.0034023465123027563,
-0.03545703738927841,
-0.07844511419534683,
-0.03033440373837948,
-0.03505563735961914,
0.011678840965032578,
-0.04143981635570526,
-0.0335456058382988,
0.023797310888767242,
-0.016954388469457626,
-0.008061458356678486,
0.019228991121053696,
-0.019467920064926147,
-0.04602724686264992,
0.056654803454875946,
-0.04679182171821594,
0.046562448143959045,
-0.012223598547279835,
-0.056884173303842545,
0.03746403753757477,
-0.024523654952645302,
0.00628860667347908,
-0.013274885714054108,
0.07844511419534683,
-0.02721877209842205,
0.034195493906736374,
0.0711052194237709,
-0.05122634023427963,
0.029837431386113167,
0.07982134073972702,
0.03064023144543171,
0.010465082712471485,
0.03991067036986351,
-0.026740914210677147,
-0.03538057953119278,
-0.013121970929205418,
0.00168325356207788,
0.018598219379782677,
0.02454276941716671,
-0.024504540488123894,
0.04396290332078934,
0.012969056144356728,
0.015262773260474205,
-0.043160103261470795,
-0.08853746205568314,
0.03805658221244812,
0.003079792484641075,
-0.01736534759402275,
-0.019085634499788284,
-0.0025637063663452864,
0.001569762360304594,
-0.011363455094397068,
0.018760690465569496,
-0.03765518218278885,
-0.028614114969968796,
0.0021384130232036114,
0.04136335849761963,
0.049238450825214386,
-0.031175432726740837,
0.04342770203948021,
-0.008625330403447151,
0.027448143810033798,
0.00018890309729613364,
-0.03031528927385807,
-0.03457777947187424,
0.07041710615158081,
0.009939438663423061,
0.021790308877825737,
0.017231546342372894,
-0.040178269147872925,
0.009805639274418354,
0.0333162359893322,
0.005366341210901737,
0.035934895277023315,
0.00626471359282732,
-0.007057957351207733,
0.01851220428943634,
-0.019534820690751076,
-0.010866482742130756
] |
719,757
|
ibm_platform_services.iam_identity_v1
|
update_service_id
|
Update service ID.
Updates properties of a service ID. This does NOT affect existing access tokens.
Their token content will stay unchanged until the access token is refreshed. To
update a service ID, pass the property to be modified. To delete one property's
value, pass the property with an empty value "".Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to. Note: apikey details are only included in the response when
creating a Service ID with an apikey.
:param str id: Unique ID of the service ID to be updated.
:param str if_match: Version of the service ID to be updated. Specify the
version that you retrieved as entity_tag (ETag header) when reading the
service ID. This value helps identifying parallel usage of this API. Pass *
to indicate to update any version available. This might result in stale
updates.
:param str name: (optional) The name of the service ID to update. If
specified in the request the parameter must not be empty. The name is not
checked for uniqueness. Failure to this will result in an Error condition.
:param str description: (optional) The description of the service ID to
update. If specified an empty description will clear the description of the
service ID. If an non empty value is provided the service ID will be
updated.
:param List[str] unique_instance_crns: (optional) List of CRNs which point
to the services connected to this service ID. If specified an empty list
will clear all existing unique instance crns of the service ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ServiceId` object
|
def update_service_id(
self,
id: str,
if_match: str,
*,
name: Optional[str] = None,
description: Optional[str] = None,
unique_instance_crns: Optional[List[str]] = None,
**kwargs,
) -> DetailedResponse:
"""
Update service ID.
Updates properties of a service ID. This does NOT affect existing access tokens.
Their token content will stay unchanged until the access token is refreshed. To
update a service ID, pass the property to be modified. To delete one property's
value, pass the property with an empty value "".Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to. Note: apikey details are only included in the response when
creating a Service ID with an apikey.
:param str id: Unique ID of the service ID to be updated.
:param str if_match: Version of the service ID to be updated. Specify the
version that you retrieved as entity_tag (ETag header) when reading the
service ID. This value helps identifying parallel usage of this API. Pass *
to indicate to update any version available. This might result in stale
updates.
:param str name: (optional) The name of the service ID to update. If
specified in the request the parameter must not be empty. The name is not
checked for uniqueness. Failure to this will result in an Error condition.
:param str description: (optional) The description of the service ID to
update. If specified an empty description will clear the description of the
service ID. If an non empty value is provided the service ID will be
updated.
:param List[str] unique_instance_crns: (optional) List of CRNs which point
to the services connected to this service ID. If specified an empty list
will clear all existing unique instance crns of the service ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `ServiceId` object
"""
if not id:
raise ValueError('id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_service_id',
)
headers.update(sdk_headers)
data = {
'name': name,
'description': description,
'unique_instance_crns': unique_instance_crns,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/serviceids/{id}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, unique_instance_crns: Optional[List[str]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.008536743000149727,
-0.04405159130692482,
-0.025680121034383774,
-0.0067195650190114975,
0.007049053441733122,
-0.04696706682443619,
-0.0069891465827822685,
0.032589390873909,
-0.04944321885704994,
0.03380750119686127,
-0.04728657007217407,
-0.03716229274868965,
0.03017314523458481,
-0.005641239695250988,
0.02240520715713501,
0.05239862948656082,
0.030472679063677788,
0.00501221651211381,
0.0204682145267725,
-0.060306351631879807,
0.050441671162843704,
0.03895949944853783,
-0.009804774075746536,
-0.01124254148453474,
0.0617840550839901,
0.05667199566960335,
0.06637692451477051,
-0.011392309330403805,
-0.007643131073564291,
-0.012800122611224651,
0.01679392158985138,
0.007463410031050444,
0.003032790496945381,
0.04087652266025543,
-0.04313302040100098,
-0.045329608023166656,
-0.020028896629810333,
0.03937884792685509,
-0.12500588595867157,
0.06282244622707367,
-0.01831156387925148,
0.037282105535268784,
0.016434479504823685,
-0.028375934809446335,
-0.02210567146539688,
0.04097636789083481,
-0.042973268777132034,
0.04269370064139366,
0.008446882478892803,
0.021786168217658997,
-0.002685829298570752,
-0.02362331561744213,
-0.036603160202503204,
-0.0291946642100811,
0.001779736252501607,
0.03063243068754673,
0.004210961051285267,
0.04125593230128288,
0.025180896744132042,
-0.003759162500500679,
0.008322076871991158,
-0.029434291645884514,
0.0027657051105052233,
0.026978105306625366,
-0.03131137788295746,
0.0031001856550574303,
-0.0013379224110394716,
0.02619931474328041,
-0.057151250541210175,
0.01461730059236288,
0.00847683660686016,
-0.003921410534530878,
-0.005201921798288822,
-0.025340648368000984,
0.03256942331790924,
0.041535500437021255,
0.01899050921201706,
-0.038480244576931,
0.015875346958637238,
0.006400061305612326,
0.043013203889131546,
-0.0316508486866951,
0.03446647897362709,
-0.03346802666783333,
0.004011271055787802,
0.035464927554130554,
0.01894058659672737,
-0.020647935569286346,
-0.0697317123413086,
-0.029374385252594948,
0.00709897605702281,
0.01598517596721649,
-0.025799935683608055,
0.00035132942139171064,
0.019679440185427666,
-0.008536743000149727,
0.004745131358504295,
-0.0617840550839901,
0.009470293298363686,
0.038580089807510376,
-0.014048184268176556,
0.011512123048305511,
-0.03033289685845375,
-0.01835150271654129,
0.07763943076133728,
-0.10943006724119186,
-0.04481041431427002,
0.029034912586212158,
0.039259035140275955,
-0.02953413687646389,
0.02548043243587017,
0.0018933098763227463,
-0.04401165619492531,
-0.0064200302585959435,
-0.003504557767882943,
-0.0068144178949296474,
0.04137574881315231,
-0.024961238726973534,
-0.022684773430228233,
0.03105177916586399,
-0.051320306956768036,
-0.07108960300683975,
0.005089596379548311,
0.001336674322374165,
0.02536061778664589,
-0.0758422240614891,
-0.06394070386886597,
0.06713574379682541,
0.06394070386886597,
-0.03029295802116394,
-0.008886200375854969,
-0.033687688410282135,
0.02388291247189045,
-0.005731100216507912,
0.059347838163375854,
-0.0009298060904257,
0.01806195266544819,
0.06713574379682541,
-0.016634168103337288,
0.06853357702493668,
0.030872059985995293,
0.025759996846318245,
-0.0637010782957077,
-0.007937673479318619,
-0.024541888386011124,
-0.015406075865030289,
0.006499906536191702,
0.01398827787488699,
-0.03131137788295746,
-0.003190046176314354,
-0.03354790434241295,
0.0003216879558749497,
0.007992587983608246,
0.03606399521231651,
-0.0530775748193264,
-0.0883428156375885,
0.021127192303538322,
-0.056472305208444595,
0.04924352839589119,
-0.042174506932497025,
0.03139125183224678,
-0.01177171990275383,
0.055553730577230453,
-0.03300873935222626,
0.024282291531562805,
-0.008277146145701408,
-0.0416952520608902,
0.0329887717962265,
0.020238570868968964,
0.013089673593640327,
0.0162946954369545,
0.05167974531650543,
-0.022604897618293762,
-0.02615937776863575,
-0.04620824381709099,
-0.0061454568058252335,
0.057071372866630554,
-0.027097919955849648,
0.018341517075896263,
0.08043508976697922,
0.014367688447237015,
0.02118709869682789,
0.024102570489048958,
0.01270027831196785,
0.016144929453730583,
-0.001239949488081038,
0.00241000740788877,
0.05395621061325073,
0.0020068835001438856,
-0.025280741974711418,
0.018631067126989365,
-0.05319739133119583,
0.018131842836737633,
0.00907091423869133,
-0.042174506932497025,
0.04357233643531799,
0.02130691334605217,
-0.08019546419382095,
0.03236973285675049,
-0.061584364622831345,
0.017652587965130806,
-0.015216371044516563,
0.030472679063677788,
0.037322044372558594,
0.010094325058162212,
-0.01514647901058197,
0.03682281821966171,
0.0003812829090747982,
0.01332930102944374,
0.0045629143714904785,
-0.05331720411777496,
-0.04936334490776062,
-0.014946789480745792,
0.0007744224276393652,
0.028335997834801674,
0.019210169091820717,
0.02460179664194584,
-0.03344805911183357,
0.024322230368852615,
0.0041136122308671474,
-0.006834386847913265,
-0.04277357831597328,
0.009904619306325912,
-0.027537237852811813,
-0.011532091535627842,
-0.0002454001805745065,
0.008846262469887733,
0.026279190555214882,
-0.029773764312267303,
-0.010343937203288078,
0.019389890134334564,
0.00515699153766036,
0.03135131299495697,
0.005406604148447514,
-0.05211906507611275,
-0.09872668981552124,
-0.010933022014796734,
-0.04067683219909668,
0.025660153478384018,
-0.0002859621890820563,
0.029134757816791534,
0.020358385518193245,
0.05008222907781601,
0.03167081996798515,
-0.05451534315943718,
-0.03270920738577843,
-0.05974721908569336,
-0.000017775131709640846,
-0.02080768719315529,
-0.021826107054948807,
0.004909875337034464,
-0.01878083497285843,
-0.030272988602519035,
0.039718322455883026,
0.002046821406111121,
-0.0042633796110749245,
-0.01387844793498516,
0.0013104650424793363,
0.017962107434868813,
0.011202603578567505,
-0.047526195645332336,
0.026978105306625366,
-0.05088098719716072,
-0.002823116024956107,
-0.07759949564933777,
-0.01143224723637104,
0.008926138281822205,
0.028975004330277443,
0.04916365444660187,
-0.009500247426331043,
0.0940140038728714,
0.005516433622688055,
-0.002840588800609112,
0.016134943813085556,
0.008916154503822327,
0.026978105306625366,
-0.00608554994687438,
-0.008117394521832466,
-0.03219001367688179,
-0.04429122060537338,
0.028575625270605087,
0.002338868100196123,
0.019609548151493073,
0.002253999700769782,
0.02953413687646389,
-0.0032824028749018908,
0.013828526251018047,
0.05814969912171364,
-0.04584880173206329,
0.003479596460238099,
0.024142509326338768,
0.029693888500332832,
-0.01999894343316555,
0.006190387066453695,
-0.0674951896071434,
0.057910073548555374,
-0.0868251696228981,
-0.017962107434868813,
0.024701641872525215,
-0.046807315200567245,
-0.04317295551300049,
0.06134473904967308,
0.000212014521821402,
-0.07604191452264786,
-0.04628811776638031,
-0.009525208733975887,
0.03564464673399925,
-0.012480619363486767,
0.013389208354055882,
-0.004420635290443897,
0.0033947282936424017,
0.01692372001707554,
-0.08562703430652618,
-0.07116948068141937,
0.004046216607093811,
0.0027906664181500673,
-0.020008929073810577,
-0.031371284276247025,
0.02793661691248417,
0.03426678851246834,
-0.04041723534464836,
0.009979503229260445,
0.003384743817150593,
-0.0004923604428768158,
0.062383126467466354,
-0.010933022014796734,
0.057151250541210175,
0.011761735193431377,
0.015795471146702766,
0.003517038421705365,
0.0115620456635952,
0.010683409869670868,
-0.00393638713285327,
-0.02324390411376953,
0.04087652266025543,
-0.09824743121862411,
0.02699807472527027,
-0.02683832310140133,
0.0007588216103613377,
0.1004839614033699,
0.012161115184426308,
-0.015495936386287212,
-0.007039069198071957,
0.021486634388566017,
0.0010577325010672212,
0.0069342320784926414,
0.03197035193443298,
-0.003342309733852744,
0.05311751365661621,
-0.0050821080803871155,
0.00033167246147058904,
-0.029474230483174324,
0.0337475948035717,
0.01898052543401718,
0.06034629046916962,
-0.029294509440660477,
-0.022005828097462654,
0.0386599637567997,
0.011192618869245052,
-0.010199162177741528,
-0.057870134711265564,
-0.030991872772574425,
-0.005057146772742271,
-0.0039064339362084866,
-0.02953413687646389,
-0.019300028681755066,
-0.03788117319345474,
-0.02328384295105934,
0.017542757093906403,
-0.03899943828582764,
-0.06114504858851433,
0.03274914249777794,
0.008611626923084259,
-0.046687498688697815,
0.0454893596470356,
0.014118076302111149,
-0.021167129278182983,
0.02733754739165306,
-0.05966734141111374,
-0.0017959610559046268,
-0.002511100610718131,
-0.009769828990101814,
-0.010713363066315651,
-0.0020355889573693275,
0.044371098279953,
0.025959687307476997,
-0.00030249901465140283,
-0.039718322455883026,
0.006260278634727001,
0.014986727386713028,
0.002870542462915182,
-0.009375440888106823,
0.018131842836737633,
-0.001868348685093224,
-0.00042340499931015074,
-0.05767044425010681,
-0.020528122782707214,
0.002375061856582761,
0.016604214906692505,
-0.060306351631879807,
0.0188607107847929,
0.04948315769433975,
0.05731100216507912,
0.06354133039712906,
0.012161115184426308,
0.005536402575671673,
0.025999626144766808,
-0.026698540896177292,
-0.022724710404872894,
0.028755346313118935,
0.005276805721223354,
-0.027357516810297966,
-0.05295776203274727,
-0.03155100345611572,
-0.027736928313970566,
0.04636799544095993,
-0.051320306956768036,
0.08594653755426407,
-0.024242354556918144,
0.0701310932636261,
-0.0017784881638363004,
0.06270262598991394,
-0.01198139414191246,
0.03931894153356552,
-0.03358784317970276,
0.03059249371290207,
0.02214561030268669,
-0.00666465051472187,
0.04161537438631058,
-0.034366633743047714,
0.013129611499607563,
0.017452897503972054,
-0.02380303665995598,
-0.013019781559705734,
0.012240990996360779,
0.03860005736351013,
0.011462200433015823,
0.010713363066315651,
0.005416588857769966,
0.0012661587679758668,
0.011232556775212288,
-0.04640793427824974,
-0.05008222907781601,
-0.011871565133333206,
-0.0667363628745079,
0.005805984139442444,
0.023982757702469826,
-0.0367828793823719,
0.029973454773426056,
-0.02198585867881775,
0.07799887657165527,
0.005691162310540676,
-0.04856458306312561,
0.02438213676214218,
0.006210356019437313,
-0.07232768088579178,
0.0028979997150599957,
0.06601747870445251,
-0.015475967898964882,
-0.053357142955064774,
-0.026279190555214882,
-0.005321735981851816,
0.009520215913653374,
0.08826293796300888,
-0.030133206397294998,
-0.007488371338695288,
0.05635249242186546,
-0.013079688884317875,
-0.023323779925704002,
-0.04071677103638649,
0.013538975268602371,
-0.05020204186439514,
0.039558570832014084,
0.07851807028055191,
-0.0031975344754755497,
0.05735094100236893,
0.0049573020078241825,
-0.01219106838107109,
-0.04868439957499504,
0.022724710404872894,
0.06957196444272995,
0.05008222907781601,
0.005860898643732071,
-0.04181506484746933,
0.01704353280365467,
-0.024921299889683723,
0.046088431030511856,
-0.008192278444766998,
-0.05894846096634865,
-0.013429146260023117,
0.023303812369704247,
-0.01527627743780613,
-0.047526195645332336,
-0.03304867818951607,
0.00033947284100577235,
-0.04357233643531799,
0.03191044554114342,
-0.011292464099824429,
0.010713363066315651,
-0.023223936557769775,
-0.018241671845316887,
-0.0788375735282898,
0.057790257036685944,
-0.007548278197646141,
0.012440680526196957,
-0.03211013600230217,
-0.018760865554213524,
-0.0016162401298061013,
0.008252184838056564,
0.034446507692337036,
-0.043851904571056366,
-0.009450324811041355,
0.004343255423009396,
-0.02603956311941147,
0.043851904571056366,
0.015795471146702766,
-0.02603956311941147,
0.008177301846444607,
-0.027357516810297966,
-0.04656768590211868,
-0.01527627743780613,
-0.0010670928750187159,
0.01251057256013155,
0.04804538935422897,
-0.011542076244950294,
0.0048374878242611885,
-0.04632805660367012,
-0.07312644273042679,
0.06569797545671463,
-0.029633982107043266,
-0.05759056657552719,
0.006619720254093409,
-0.04552929848432541,
-0.02683832310140133,
-0.008197270333766937,
-0.021286943927407265,
-0.03426678851246834,
-0.08055491000413895,
-0.07140910625457764,
-0.029134757816791534,
0.051280368119478226,
0.10583564639091492,
-0.055673543363809586,
-0.025600245222449303,
-0.05894846096634865,
-0.0019170230953022838,
0.02062796615064144,
0.03780129924416542,
0.010144246742129326,
-0.02679838426411152,
0.00011575774260563776,
-0.02025854028761387,
0.045169856399297714,
0.01645444892346859,
-0.05894846096634865,
0.004218449350446463,
-0.034366633743047714,
-0.045129917562007904,
-0.0173430684953928,
-0.009440340101718903,
-0.036223746836185455,
0.019599564373493195,
0.050601422786712646,
-0.01793215423822403,
0.017143378034234047,
0.00987466610968113,
0.05447540432214737,
-0.05367664620280266,
-0.03712235391139984,
0.03530517593026161,
-0.030492648482322693,
0.0035419997293502092,
-0.026279190555214882,
0.005052154418081045,
-0.05547385662794113,
-0.004939828999340534,
-0.014497486874461174,
0.0012592944549396634,
0.08251186460256577,
0.03097190335392952,
-0.015935255214571953,
-0.02138678915798664,
0.04405159130692482,
-0.02028849348425865,
0.0050945887342095375,
0.012001363560557365,
-0.008347038179636002,
0.01969940960407257,
0.021965889260172844,
0.02007881924510002,
-0.051160551607608795,
0.023783067241311073,
0.02232533134520054,
-0.02248508296906948,
-0.052678197622299194,
0.0951322689652443,
0.08506789803504944,
-0.03370765596628189,
0.014886882156133652,
0.01196142565459013,
0.026898229494690895,
0.07272706180810928,
0.016304681077599525,
0.02442207559943199,
0.008052495308220387,
-0.008471843786537647,
-0.0331684947013855,
-0.00962006114423275,
-0.03860005736351013,
-0.04389183968305588,
0.004572898615151644,
-0.030692338943481445,
0.04317295551300049,
0.007513332646340132,
-0.02172626182436943,
0.02096744067966938,
0.027876710519194603,
0.017183316871523857,
0.006649673916399479,
-0.05587323382496834,
0.018161796033382416,
-0.025260772556066513,
-0.03167081996798515,
-0.019649486988782883,
-0.032170042395591736,
0.03822064772248268,
0.004313301760703325,
-0.025041114538908005,
-0.06118498742580414,
-0.01789221540093422,
-0.024162478744983673,
0.0413358099758625,
-0.00018533719412516803,
0.017193300649523735,
0.05810976028442383,
-0.0014627286000177264,
0.013279378414154053,
0.010044402442872524,
-0.027776865288615227,
0.02392285130918026,
0.06677630543708801,
0.023223936557769775,
-0.014347719959914684,
0.06210355833172798,
0.004001286346465349,
0.10543626546859741,
-0.040936429053545,
-0.07652117311954498,
0.01303975097835064,
0.01514647901058197,
-0.07364563643932343,
0.06134473904967308,
-0.01658424735069275,
-0.02126697450876236,
0.01257047988474369,
-0.024741578847169876,
0.046687498688697815,
-0.028076400980353355,
-0.027657052502036095,
0.017752433195710182,
0.008826293982565403,
0.06046610325574875,
0.021965889260172844,
-0.047366444021463394,
-0.016943687573075294,
-0.0545952208340168,
0.06577785313129425,
-0.019988959655165672,
0.03939881920814514,
0.05359676852822304,
-0.024521920830011368,
0.022165579721331596,
-0.01823168806731701,
0.08103416115045547,
-0.028955036774277687,
-0.06390076875686646,
0.008386976085603237,
-0.019849175587296486,
0.06390076875686646,
0.026279190555214882,
0.017223253846168518,
-0.02210567146539688,
0.03059249371290207,
-0.026099469512701035,
-0.021546540781855583,
-0.04988253861665726,
0.022345300763845444,
-0.03650331497192383,
-0.02570009045302868,
-0.007143906317651272,
-0.02456185780465603,
-0.04908377677202225,
-0.008501797914505005,
-0.028935067355632782,
-0.0008299611508846283,
-0.00002962196958833374,
-0.040856555104255676,
-0.0022752168588340282,
-0.03500564023852348,
0.03290889784693718,
-0.05375652015209198,
0.01461730059236288,
-0.0015925270272418857,
-0.017153361812233925,
0.0013791084056720138,
0.023942818865180016,
0.00693922396749258,
-0.019759315997362137,
0.04465066269040108,
-0.028994973748922348,
0.036383502185344696,
0.03750176355242729,
0.015805454924702644,
-0.02725767157971859,
0.0697317123413086,
0.03798101842403412,
-0.029034912586212158,
-0.02733754739165306,
0.04125593230128288,
0.06390076875686646,
-0.005022201221436262,
0.03758164122700691,
-0.02282455563545227,
-0.04425128176808357,
-0.05826951563358307,
-0.03266926854848862,
0.030872059985995293,
0.0739252045750618,
0.017323099076747894,
0.05531410500407219,
0.004460573196411133,
0.04485035315155983,
-0.08626604080200195,
-0.05287788808345795,
0.014177982695400715,
-0.015725579112768173,
0.010583564639091492,
-0.06054597720503807,
-0.018451347947120667,
-0.006534852087497711,
-0.0008087441092357039,
0.02544049359858036,
0.043093081563711166,
0.05407602712512016,
-0.0036942632868885994,
0.013578913174569607,
0.05311751365661621,
0.009130820631980896,
-0.0056562162935733795,
-0.01789221540093422,
0.01339919213205576,
0.013369238935410976,
-0.043851904571056366,
-0.020568059757351875,
0.03658318892121315,
-0.022964339703321457,
-0.053357142955064774,
0.07252737134695053,
0.06118498742580414,
0.03780129924416542,
0.00026958136004395783,
-0.0077779218554496765,
0.03346802666783333,
-0.005646232049912214,
0.01789221540093422,
0.040936429053545,
-0.008197270333766937,
0.03640346974134445
] |
719,758
|
ibm_platform_services.iam_identity_v1
|
update_trusted_profile_assignment
|
Update assignment.
Update a trusted profile assignment. Call this method to retry failed assignments
or migrate the trusted profile in child accounts to a new version.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the Assignment to be updated. Specify the
version that you retrieved when reading the Assignment. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param int template_version: Template version to be applied to the
assignment. To retry all failed assignments, provide the existing version.
To migrate to a different version, provide the new version number.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
|
def update_trusted_profile_assignment(
self,
assignment_id: str,
if_match: str,
template_version: int,
**kwargs,
) -> DetailedResponse:
"""
Update assignment.
Update a trusted profile assignment. Call this method to retry failed assignments
or migrate the trusted profile in child accounts to a new version.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the Assignment to be updated. Specify the
version that you retrieved when reading the Assignment. This value helps
identifying parallel usage of this API. Pass * to indicate to update any
version available. This might result in stale updates.
:param int template_version: Template version to be applied to the
assignment. To retry all failed assignments, provide the existing version.
To migrate to a different version, provide the new version number.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `TemplateAssignmentResponse` object
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
if not if_match:
raise ValueError('if_match must be provided')
if template_version is None:
raise ValueError('template_version must be provided')
headers = {
'If-Match': if_match,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_trusted_profile_assignment',
)
headers.update(sdk_headers)
data = {
'template_version': template_version,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/profile_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PATCH',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, if_match: str, template_version: int, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.011230102740228176,
0.024206100031733513,
-0.06030610576272011,
-0.009338716976344585,
-0.002482443815097213,
-0.007901990786194801,
-0.0345359742641449,
-0.013885317370295525,
-0.013603427447378635,
-0.029752951115369797,
0.000006065093657525722,
-0.03931899741292,
-0.010275316424667835,
0.017395293340086937,
-0.017468038946390152,
-0.02113259769976139,
0.013721639290452003,
-0.01143015269190073,
0.03593632951378822,
-0.03997370973229408,
0.003678199602290988,
0.006983577739447355,
-0.0032371794804930687,
0.08045663684606552,
-0.00928870402276516,
-0.03690020740032196,
0.0661621242761612,
-0.013185140676796436,
0.015958566218614578,
0.06005149707198143,
-0.0004987051943317056,
0.05146751552820206,
-0.025933807715773582,
0.07601915299892426,
0.010802722536027431,
-0.022660255432128906,
-0.04673904925584793,
0.029825696721673012,
-0.1004616767168045,
0.006628943141549826,
-0.05816011130809784,
0.04641169682145119,
0.013894409872591496,
0.006428892724215984,
-0.026697637513279915,
0.03631824254989624,
-0.010238943621516228,
-0.016986098140478134,
0.06208837404847145,
-0.04357461631298065,
0.005624144338071346,
-0.004053294192999601,
-0.03171708434820175,
0.05525028705596924,
-0.014676425606012344,
0.03906438872218132,
-0.0077837794087827206,
-0.0012298553483560681,
0.015694864094257355,
-0.06045159697532654,
0.008752205409109592,
-0.050449077039957047,
-0.06619849801063538,
-0.01416720636188984,
-0.038264188915491104,
-0.045211393386125565,
-0.022623883560299873,
-0.002889364492148161,
-0.01832279935479164,
-0.021059852093458176,
-0.023114915937185287,
0.006474358960986137,
-0.017031565308570862,
-0.03906438872218132,
0.04848494380712509,
0.039719101041555405,
-0.018986603245139122,
-0.019623126834630966,
0.017468038946390152,
0.017113402485847473,
0.04081028327345848,
-0.02475169114768505,
0.019568568095564842,
-0.015885820612311363,
0.012657735496759415,
-0.029862070456147194,
0.011175543069839478,
-0.07943820208311081,
-0.0578327551484108,
0.0015844901790842414,
0.03895527124404907,
-0.002303989604115486,
0.029461968690156937,
-0.009720630943775177,
0.07285472005605698,
0.0240242350846529,
0.006415253039449453,
-0.06401613354682922,
-0.0503399595618248,
0.00011558310507098213,
-0.018313705921173096,
-0.02664307691156864,
-0.006365240551531315,
-0.026224790140986443,
0.07871074229478836,
-0.047830235213041306,
0.009297797456383705,
0.03844605013728142,
0.026279348880052567,
-0.028316225856542587,
0.04124675691127777,
-0.011993931606411934,
-0.07038137316703796,
0.014139926992356777,
0.02546096220612526,
0.008743111975491047,
-0.050849176943302155,
-0.09958872944116592,
0.030553152784705162,
-0.01628592237830162,
0.005915126763284206,
-0.00882949773222208,
-0.007797419559210539,
0.06016061455011368,
0.009920681826770306,
-0.018695620819926262,
-0.049248773604631424,
-0.01626773551106453,
0.008624901063740253,
-0.07056323438882828,
-0.013203327544033527,
-0.023078542202711105,
-0.05412272736430168,
-0.010248037055134773,
-0.012612269259989262,
-0.013594334945082664,
-0.005583225283771753,
0.0013435203582048416,
0.03628186881542206,
-0.04495678469538689,
0.020441515371203423,
-0.009775190614163876,
0.0002629923983477056,
-0.00955695379525423,
-0.012284914031624794,
-0.03822781518101692,
0.03779134154319763,
0.059542275965213776,
0.0035804477520287037,
-0.005324068944901228,
0.0005185966147109866,
0.012548617087304592,
-0.01564030535519123,
0.011875719763338566,
-0.043210890144109726,
0.009747911244630814,
0.023624135181307793,
-0.049867112189531326,
0.05019446834921837,
-0.04171960428357124,
-0.006365240551531315,
-0.07038137316703796,
0.024278845638036728,
0.0459752231836319,
0.07863799482584,
-0.03731849417090416,
-0.005483199842274189,
-0.0013548869173973799,
0.00737458560615778,
-0.0289163775742054,
-0.00220737443305552,
-0.00354180159047246,
-0.011539271101355553,
-0.0015401608543470502,
-0.00013234869402367622,
0.01583126187324524,
0.05834197252988815,
-0.023333152756094933,
0.02604292705655098,
0.040301065891981125,
0.0024960834998637438,
-0.012675921432673931,
-0.00928870402276516,
0.04241068661212921,
0.016113150864839554,
0.01714068278670311,
-0.015422067604959011,
0.09507850557565689,
-0.028097989037632942,
-0.010475367307662964,
0.03322655335068703,
-0.0713634341955185,
0.012566803023219109,
0.019041161984205246,
-0.0027165936771780252,
-0.022678442299365997,
0.05310429260134697,
-0.03655466437339783,
0.03217174485325813,
0.005455920472741127,
-0.014212672598659992,
-0.08067487180233002,
0.006929018534719944,
0.031771641224622726,
0.0022096477914601564,
0.05437733978033066,
0.06274308264255524,
-0.00939327571541071,
0.010475367307662964,
-0.009029547683894634,
-0.009338716976344585,
0.01562211848795414,
0.011502898298203945,
0.01243949867784977,
-0.03142610192298889,
0.002094845985993743,
0.04215607792139053,
-0.04066479206085205,
0.0036668330430984497,
-0.008861323818564415,
-0.08234802633523941,
-0.006447079125791788,
-0.03844605013728142,
-0.012475871481001377,
0.0336994007229805,
-0.023351339623332024,
-0.01672239601612091,
0.02606111206114292,
-0.06248847395181656,
0.023533202707767487,
0.08191154897212982,
0.013730732724070549,
0.055759504437446594,
0.008483955636620522,
-0.00676534092053771,
-0.019859550520777702,
-0.06659860163927078,
-0.016376854851841927,
-0.04488403722643852,
0.0384824238717556,
0.0085794348269701,
0.0033622109331190586,
0.03506338223814964,
0.01659509167075157,
-0.05208585411310196,
-0.011648389510810375,
-0.030262170359492302,
0.002047106856480241,
0.0085794348269701,
-0.05161300674080849,
0.04470217227935791,
-0.026861313730478287,
-0.05528665706515312,
0.05703255161643028,
-0.03304469212889671,
0.02822529338300228,
0.031771641224622726,
-0.03690020740032196,
0.043901972472667694,
-0.0061788298189640045,
-0.027988871559500694,
0.007742860354483128,
-0.03222630172967911,
-0.055032048374414444,
-0.025151792913675308,
-0.06794439256191254,
-0.058523837476968765,
0.05277693644165993,
0.0006024245521984994,
0.03038947656750679,
0.014430909417569637,
-0.016758767887949944,
0.04048292711377144,
0.03142610192298889,
0.0035258885473012924,
0.017749927937984467,
0.003741852007806301,
0.07776504755020142,
0.02127808891236782,
-0.039282627403736115,
0.05495930463075638,
-0.0012912345118820667,
0.010293503291904926,
0.043938346207141876,
0.022314714267849922,
-0.017113402485847473,
-0.02084161527454853,
0.0827844962477684,
0.020805243402719498,
-0.009502394124865532,
-0.03731849417090416,
0.03760947659611702,
-0.023642322048544884,
-0.005915126763284206,
-0.03837330639362335,
0.06507094204425812,
-0.018713805824518204,
0.01846829056739807,
0.06383426487445831,
0.008242986164987087,
0.03553622588515282,
-0.02038695476949215,
0.0021232622675597668,
-0.02300579659640789,
0.0020982560236006975,
0.015103805810213089,
0.018295519053936005,
0.018050003796815872,
-0.02071431092917919,
0.029298292472958565,
0.0495033822953701,
-0.02835259959101677,
-0.016085872426629066,
0.025060860440135002,
0.0055650388821959496,
-0.006247028708457947,
0.0013901230413466692,
-0.00010052249126601964,
0.0459752231836319,
0.009638792835175991,
-0.041464995592832565,
-0.01568577066063881,
0.08751296252012253,
0.03888252377510071,
0.038700662553310394,
-0.04863043501973152,
0.054886557161808014,
0.048375826328992844,
0.02269662916660309,
0.01859559491276741,
-0.06688958406448364,
0.01995048113167286,
0.025697384029626846,
-0.03631824254989624,
0.010229850187897682,
0.016895165666937828,
-0.004723917692899704,
0.0225693229585886,
0.0324445404112339,
0.04168323054909706,
0.023333152756094933,
-0.002943923696875572,
0.05863295495510101,
0.014803729951381683,
-0.02387874387204647,
-0.010238943621516228,
-0.028880003839731216,
0.039282627403736115,
-0.01063904445618391,
-0.016131337732076645,
-0.058378346264362335,
0.021932799369096756,
0.019495822489261627,
0.011157357133924961,
0.0019413982518017292,
-0.005906033795326948,
0.025951994583010674,
0.010857281275093555,
-0.007206361275166273,
-0.03144428879022598,
-0.06103356182575226,
-0.03844605013728142,
0.015904007479548454,
-0.014849196188151836,
-0.017177056521177292,
-0.011593830771744251,
-0.02733416110277176,
0.00007381121395155787,
-0.01599493995308876,
-0.022332901135087013,
-0.03409950062632561,
-0.01641322672367096,
0.01151199173182249,
-0.08045663684606552,
-0.01323060691356659,
0.030462222173810005,
-0.07740132510662079,
0.06194288283586502,
-0.025370029732584953,
-0.04186509549617767,
0.07711034268140793,
-0.03866428881883621,
-0.059687767177820206,
0.04193783923983574,
-0.029261918738484383,
-0.016613276675343513,
-0.026697637513279915,
-0.04299265146255493,
0.03895527124404907,
0.056632451713085175,
0.022332901135087013,
0.013585241511464119,
0.03475421294569969,
-0.08744021505117416,
-0.010666323825716972,
0.026570331305265427,
-0.09136848151683807,
0.017549876123666763,
0.017395293340086937,
-0.011484712362289429,
0.0001940829970408231,
0.0016435959842056036,
0.053613509982824326,
0.019004788249731064,
0.007183628156781197,
0.0069517516531050205,
0.08874963968992233,
0.006374333519488573,
0.0018947956850752234,
-0.016876980662345886,
-0.006465265527367592,
0.011939371936023235,
-0.03509975224733353,
-0.011130077764391899,
-0.0085794348269701,
0.07118157297372818,
-0.013657987117767334,
-0.00841575674712658,
-0.009984333999454975,
-0.0029643834568560123,
0.029461968690156937,
0.02273300103843212,
-0.006615303456783295,
0.019459448754787445,
-0.03322655335068703,
-0.023533202707767487,
0.020077787339687347,
-0.023515015840530396,
-0.0054922932758927345,
-0.028989123180508614,
-0.010393528267741203,
-0.0014196758856996894,
0.021787308156490326,
0.030862322077155113,
0.02255113795399666,
0.029025495052337646,
0.026806754991412163,
0.041610486805438995,
-0.05485018342733383,
-0.030207611620426178,
0.05423184856772423,
0.0240242350846529,
-0.006888099480420351,
0.008347557857632637,
-0.024678945541381836,
0.054304592311382294,
-0.08678550273180008,
-0.07325482368469238,
-0.09638792276382446,
0.034499604254961014,
0.01938670314848423,
0.012184889055788517,
-0.007388225290924311,
0.02733416110277176,
-0.047393761575222015,
-0.025060860440135002,
-0.011912092566490173,
0.0008513508946634829,
0.01998685486614704,
-0.04281078651547432,
-0.029134614393115044,
-0.025279097259044647,
0.06390701234340668,
0.030043933540582657,
-0.013003276661038399,
-0.015258390456438065,
0.05630509555339813,
0.010966399684548378,
-0.053613509982824326,
0.021223530173301697,
-0.005542305763810873,
-0.02649758569896221,
-0.0012514516711235046,
0.07118157297372818,
0.01753169111907482,
0.03317199647426605,
0.002982569858431816,
-0.013276073150336742,
-0.015194738283753395,
0.03549985587596893,
-0.03186257556080818,
0.059651393443346024,
0.02966202050447464,
0.033481165766716,
0.017986349761486053,
-0.0990067645907402,
0.029716579243540764,
-0.03297194465994835,
-0.048957791179418564,
0.046811796724796295,
-0.005042179487645626,
-0.042738042771816254,
-0.02142358012497425,
0.018877483904361725,
-0.06328867375850677,
-0.052740562707185745,
0.02647940069437027,
-0.01615861803293228,
-0.011484712362289429,
-0.02171456255018711,
0.014958314597606659,
-0.0048466757871210575,
0.06939930468797684,
-0.014158112928271294,
0.08853139728307724,
0.04313814267516136,
-0.023678693920373917,
0.01396715547889471,
0.0289163775742054,
0.09333261102437973,
0.016613276675343513,
0.03462690860033035,
0.005424093920737505,
-0.019586753100156784,
0.04557511955499649,
0.07514620572328568,
0.06317956000566483,
0.0049330610781908035,
-0.013448843732476234,
-0.03220811486244202,
0.0040873936377465725,
-0.024515269324183464,
0.030262170359492302,
-0.018250053748488426,
0.03650010749697685,
0.011093704961240292,
0.004660265054553747,
-0.022496577352285385,
0.0013969428837299347,
-0.01880473829805851,
-0.05655970796942711,
0.02647940069437027,
-0.03633642941713333,
-0.037827715277671814,
0.027552397921681404,
0.012266727164387703,
-0.03304469212889671,
-0.041464995592832565,
-0.013367004692554474,
-0.009084107354283333,
-0.021078038960695267,
0.04372010752558708,
-0.03888252377510071,
-0.014630959369242191,
-0.03646373376250267,
-0.044483937323093414,
-0.060960814356803894,
0.04168323054909706,
-0.048994164913892746,
-0.05725079029798508,
-0.012021210975944996,
-0.029261918738484383,
0.06030610576272011,
0.03671834245324135,
-0.051576633006334305,
0.046375323086977005,
-0.003382670460268855,
-0.008743111975491047,
-0.012775946408510208,
0.03559078648686409,
-0.017404384911060333,
-0.05612323433160782,
0.04266529530286789,
-0.031189678236842155,
0.004066933877766132,
-0.003962362185120583,
0.024769878014922142,
0.027261415496468544,
-0.07179991155862808,
-0.0047057312913239,
0.013685266487300396,
0.052886053919792175,
-0.028752699494361877,
-0.02533365599811077,
-0.06987215578556061,
-0.08547608554363251,
0.013139674440026283,
0.02689768746495247,
0.07711034268140793,
0.07601915299892426,
-0.02820710837841034,
0.029716579243540764,
0.054741065949201584,
-0.01626773551106453,
-0.01504015363752842,
0.010047986172139645,
0.0012378118699416518,
0.04211970418691635,
0.006610756739974022,
0.024242471903562546,
-0.059942375868558884,
0.0024710772559046745,
0.003932808991521597,
-0.029461968690156937,
0.013303352519869804,
0.03693658113479614,
-0.030698643997311592,
-0.023333152756094933,
0.02171456255018711,
-0.05208585411310196,
-0.007179081905633211,
0.034808769822120667,
-0.028443530201911926,
0.011739321984350681,
0.06899920850992203,
-0.021750936284661293,
0.008843137882649899,
0.02647940069437027,
-0.02908005565404892,
-0.021168971434235573,
0.0378640852868557,
0.009857029654085636,
0.029589274898171425,
-0.08307547867298126,
0.04499315470457077,
-0.006538011133670807,
-0.05132202431559563,
0.0607425794005394,
-0.05641421675682068,
-0.011812067590653896,
-0.015922194346785545,
0.07089059054851532,
-0.011066424660384655,
0.07441875338554382,
-0.002308536320924759,
0.04819396138191223,
0.03317199647426605,
-0.05121290683746338,
-0.02127808891236782,
-0.005724169779568911,
-0.00756099633872509,
0.015958566218614578,
0.01969587244093418,
0.01878655143082142,
0.04372010752558708,
-0.02400605008006096,
0.019186653196811676,
-0.0031621605157852173,
0.05812373757362366,
-0.003537254873663187,
0.023351339623332024,
-0.048848673701286316,
0.015303856693208218,
0.02255113795399666,
0.04386559873819351,
0.08751296252012253,
-0.010948213748633862,
-0.025242725387215614,
-0.030298544093966484,
0.018895670771598816,
-0.025679199025034904,
-0.002013007178902626,
0.004235158208757639,
-0.0007428008248098195,
-0.04684817045927048,
0.005160391330718994,
0.01622227020561695,
0.009420556016266346,
-0.03340841829776764,
0.01576760970056057,
-0.06441622972488403,
0.0032894653268158436,
0.007647381629794836,
0.03149884566664696,
0.1094093844294548,
0.06325230002403259,
-0.02284212037920952,
0.01995048113167286,
-0.015813075006008148,
0.056195978075265884,
-0.0037145724054425955,
0.005264963023364544,
-0.013758012093603611,
0.04386559873819351,
0.010984586551785469,
-0.059651393443346024,
-0.03300831839442253,
-0.06732605397701263,
-0.016240455210208893,
0.0005430345772765577,
0.06452535092830658,
-0.07565543055534363,
-0.019350331276655197,
-0.029443783685564995,
-0.029480155557394028,
-0.007833791896700859,
0.025279097259044647,
-0.007647381629794836,
-0.06477995961904526,
-0.0012889611534774303,
-0.0009650159045122564,
-0.030116679146885872,
-0.02602474018931389,
-0.036245498806238174,
0.016631463542580605,
-0.08205704391002655,
-0.062270235270261765,
0.03531799092888832,
0.027170483022928238,
-0.005501386243849993,
0.002539276145398617,
-0.01639503985643387,
-0.0012480417499318719,
-0.021969173103570938,
-0.0061651901341974735,
0.022060103714466095,
-0.0413922481238842,
0.004801210016012192,
0.035227060317993164,
-0.08438490331172943,
-0.032480910420417786,
0.04328363388776779,
-0.01194846536964178,
-0.03790045902132988,
0.024515269324183464,
0.028170734643936157,
-0.06357965618371964,
-0.02864358201622963,
-0.002909824252128601,
0.04372010752558708,
0.011848440393805504,
0.03357209637761116,
-0.0011315351584926248,
-0.04382922500371933,
-0.0005731558194383979,
-0.020768869668245316,
0.021078038960695267,
0.024115167558193207,
0.010529926046729088,
0.0451386459171772,
0.049685247242450714,
0.0709269642829895,
-0.05197673290967941,
-0.08554883301258087,
0.013185140676796436,
0.015312949195504189,
-0.008920429274439812,
-0.011975744739174843,
0.00976609718054533,
0.014285418204963207,
0.03964635357260704,
-0.016485972329974174,
-0.011775694787502289,
-0.049685247242450714,
-0.012212168425321579,
0.021623630076646805,
-0.007006310857832432,
-0.005887847393751144,
0.04255617782473564,
-0.013121488504111767,
0.028243480250239372,
0.011339221149682999,
-0.020023226737976074,
-0.00410330668091774,
0.07754681259393692,
-0.026824941858649254,
0.009320530109107494,
0.0451386459171772,
-0.015340229496359825,
0.02140539325773716,
-0.03491789102554321,
0.053904492408037186,
0.01955038122832775,
0.025060860440135002,
-0.06263396143913269,
0.02533365599811077,
-0.0041851457208395,
0.02431521750986576
] |
719,759
|
ibm_platform_services.iam_policy_management_v1
|
IamPolicyManagementV1
|
The iam_policy_management V1 service.
|
class IamPolicyManagementV1(BaseService):
"""The iam_policy_management V1 service."""
DEFAULT_SERVICE_URL = 'https://iam.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'iam_policy_management'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'IamPolicyManagementV1':
"""
Return a new client for the iam_policy_management service using the
specified parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the iam_policy_management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# Policies
#########################
def list_policies(
self,
account_id: str,
*,
accept_language: Optional[str] = None,
iam_id: Optional[str] = None,
access_group_id: Optional[str] = None,
type: Optional[str] = None,
service_type: Optional[str] = None,
tag_name: Optional[str] = None,
tag_value: Optional[str] = None,
sort: Optional[str] = None,
format: Optional[str] = None,
state: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Get policies by attributes.
Get policies and filter by attributes. While managing policies, you might want to
retrieve policies in the account and filter by attribute values. This can be done
through query parameters. The following attributes are supported: account_id,
iam_id, access_group_id, type, service_type, sort, format and state. account_id is
a required query parameter. Only policies that have the specified attributes and
that the caller has read access to are returned. If the caller does not have read
access to any policies an empty array is returned.
:param str account_id: The account GUID that the policies belong to.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param str iam_id: (optional) Optional IAM ID used to identify the subject.
:param str access_group_id: (optional) Optional access group id.
:param str type: (optional) Optional type of policy.
:param str service_type: (optional) Optional type of service.
:param str tag_name: (optional) Optional name of the access tag in the
policy.
:param str tag_value: (optional) Optional value of the access tag in the
policy.
:param str sort: (optional) Optional top level policy field to sort
results. Ascending sort is default. Descending sort available by prepending
'-' to field. Example '-last_modified_at'.
:param str format: (optional) Include additional data per policy returned
* `include_last_permit` - returns details of when the policy last granted a
permit decision and the number of times it has done so
* `display` - returns the list of all actions included in each of the
policy roles.
:param str state: (optional) The state of the policy.
* `active` - returns active policies
* `deleted` - returns non-active policies.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `PolicyCollection` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {
'Accept-Language': accept_language,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_policies',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'iam_id': iam_id,
'access_group_id': access_group_id,
'type': type,
'service_type': service_type,
'tag_name': tag_name,
'tag_value': tag_value,
'sort': sort,
'format': format,
'state': state,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/policies'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
def create_policy(
self,
type: str,
subjects: List['PolicySubject'],
roles: List['PolicyRole'],
resources: List['PolicyResource'],
*,
description: Optional[str] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a policy.
Creates a policy to grant access between a subject and a resource. There are two
types of policies: **access** and **authorization**. A policy administrator might
want to create an access policy which grants access to a user, service-id, or an
access group. They might also want to create an authorization policy and setup
access between services.
### Access
To create an access policy, use **`"type": "access"`** in the body. The possible
subject attributes are **`iam_id`** and **`access_group_id`**. Use the
**`iam_id`** subject attribute for assigning access for a user or service-id. Use
the **`access_group_id`** subject attribute for assigning access for an access
group. Assign roles that are supported by the service or platform roles. For more
information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). Use only the
resource attributes supported by the service. To view a service's or the
platform's supported attributes, check the [documentation](/docs?tab=all-docs).
The policy resource must include either the **`serviceType`**, **`serviceName`**,
**`resourceGroupId`** or **`service_group_id`** attribute and the **`accountId`**
attribute. The IAM Services group (`IAM`) is a subset of account management
services that includes the IAM platform services IAM Identity, IAM Access
Management, IAM Users Management, IAM Groups, and future IAM services. If the
subject is a locked service-id, the request will fail.
### Authorization
Authorization policies are supported by services on a case by case basis. Refer to
service documentation to verify their support of authorization policies. To create
an authorization policy, use **`"type": "authorization"`** in the body. The
subject attributes must match the supported authorization subjects of the
resource. Multiple subject attributes might be p
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
0.00022637101938016713,
-0.025961540639400482,
-0.054001666605472565,
-0.053045518696308136,
0.03866170346736908,
-0.019071027636528015,
-0.03687411919236183,
-0.032051797956228256,
-0.019289279356598854,
0.020442895591259003,
-0.021076863631606102,
0.04730862006545067,
-0.015849219635128975,
-0.013729061931371689,
-0.060029566287994385,
0.027395766228437424,
0.05042649805545807,
0.012274051085114479,
-0.012128550559282303,
-0.07441338151693344,
0.036312900483608246,
0.05038492754101753,
0.027083978056907654,
-0.0054666814394295216,
0.05396009609103203,
-0.023571167141199112,
0.02025582268834114,
-0.028081698343157768,
-0.008756044320762157,
0.005290001630783081,
-0.03296637535095215,
0.04543789476156235,
-0.0004576137289404869,
0.026730617508292198,
0.022781305015087128,
-0.008049325086176395,
0.04065714403986931,
0.008355916477739811,
-0.05653754249215126,
0.043400879949331284,
-0.04377502575516701,
0.013604346662759781,
0.045895181596279144,
-0.045770466327667236,
-0.024464959278702736,
0.031158005818724632,
0.005326377227902412,
0.06568332016468048,
0.03240515664219856,
-0.011983049102127552,
0.023425666615366936,
0.030991720035672188,
-0.0005196465644985437,
-0.0010652753990143538,
-0.015111321583390236,
0.024173956364393234,
-0.004775551613420248,
-0.00977455172687769,
0.021274330094456673,
-0.015973934903740883,
-0.0055550215765833855,
0.012035014107823372,
-0.03024342842400074,
-0.021679652854800224,
0.0010789161315187812,
-0.044855888932943344,
-0.034546103328466415,
-0.03427588567137718,
-0.014040849171578884,
0.006464403122663498,
0.016701439395546913,
-0.051507364958524704,
-0.015080142766237259,
-0.0029074223712086678,
0.0088339913636446,
-0.009317262098193169,
0.027416551485657692,
-0.06447774171829224,
0.015350358560681343,
0.0058148447424173355,
0.01003437489271164,
-0.051507364958524704,
0.043899741023778915,
-0.0062617408111691475,
0.05915656313300133,
0.07004835456609726,
0.017491301521658897,
-0.056703828275203705,
0.0006014908431097865,
0.0052640195935964584,
-0.011733618564903736,
0.03171922639012337,
-0.018561774864792824,
0.031740009784698486,
0.028081698343157768,
-0.011681654490530491,
-0.040989719331264496,
-0.0737898051738739,
-0.038911134004592896,
0.040574003010988235,
-0.052338797599077225,
-0.008875562809407711,
-0.010460484772920609,
0.021783582866191864,
0.0644361674785614,
-0.010569610632956028,
-0.02224087156355381,
0.040262214839458466,
0.03791341185569763,
-0.01371866837143898,
0.00041669156053103507,
0.025608181953430176,
0.011317901313304901,
-0.02338409423828125,
0.022822875529527664,
0.04789062589406967,
0.030305786058306694,
-0.02255265973508358,
-0.0009236717014573514,
0.019351636990904808,
-0.024610459804534912,
-0.03920213505625725,
0.04917934909462929,
0.012710554525256157,
0.003907741978764534,
0.005664147436618805,
-0.03714433312416077,
-0.017085978761315346,
0.006183793768286705,
-0.012326016090810299,
-0.04601989686489105,
-0.0153295723721385,
0.00018837186507880688,
0.031552936881780624,
0.00011748883116524667,
-0.0675540491938591,
-0.005290001630783081,
0.025525037199258804,
-0.03286244720220566,
0.05017707124352455,
0.01765758916735649,
0.013396487571299076,
-0.019164564087986946,
0.0069684600457549095,
-0.01954910345375538,
-0.04323459044098854,
0.04498060420155525,
0.011515366844832897,
-0.016192186623811722,
-0.036312900483608246,
-0.011983049102127552,
-0.05229722708463669,
-0.04980292543768883,
0.010652754455804825,
-0.013614739291369915,
-0.014799533411860466,
0.007233479991555214,
-0.07399766892194748,
-0.011494581587612629,
-0.04435702785849571,
-0.023134663701057434,
0.011827155016362667,
-0.01808369904756546,
-0.043276164680719376,
-0.011858333833515644,
-0.01028380449861288,
0.020110320299863815,
0.0011614100076258183,
-0.012876841239631176,
-0.03460846096277237,
-0.00027313921600580215,
0.0032971573527902365,
-0.03980492427945137,
-0.02048446610569954,
-0.03957628086209297,
0.04402445629239082,
0.053585950285196304,
-0.0000223285624088021,
-0.016971655189990997,
-0.015423108823597431,
0.001887616002932191,
-0.01755365915596485,
-0.051299504935741425,
-0.019725782796740532,
0.0009451071382500231,
0.008402684703469276,
0.0083143450319767,
0.06119357794523239,
-0.0016264936421066523,
0.04959506541490555,
-0.05757683515548706,
-0.010787862353026867,
0.039451565593481064,
0.009026260115206242,
-0.010673539713025093,
-0.007618018426001072,
0.020817039534449577,
-0.0047287833876907825,
-0.009286083281040192,
0.01623375713825226,
0.009254904463887215,
0.017730340361595154,
0.005612182430922985,
0.03481631726026535,
0.05038492754101753,
0.004837909247726202,
-0.014300672337412834,
-0.03566853702068329,
-0.017938198521733284,
-0.07187750935554504,
-0.07179436832666397,
-0.006848941557109356,
0.006448813714087009,
0.007243872620165348,
-0.012461123988032341,
0.056121826171875,
0.021700439974665642,
0.0073166233487427235,
0.03649997338652611,
-0.0334860235452652,
0.0407610759139061,
-0.00920813623815775,
-0.017616016790270805,
-0.04348402097821236,
0.034255098551511765,
0.04402445629239082,
0.0413430780172348,
0.007742733228951693,
-0.056080255657434464,
0.05221408233046532,
0.05953070893883705,
0.044648028910160065,
0.031449008733034134,
0.014529317617416382,
-0.006511170882731676,
-0.06468559801578522,
0.013105485588312149,
-0.009431584738194942,
-0.03972177952528,
0.04834791272878647,
0.007685572374612093,
0.04402445629239082,
0.03681176155805588,
0.03419274091720581,
-0.08779948204755783,
0.029370421543717384,
-0.023113878443837166,
0.03421352803707123,
0.056703828275203705,
-0.005835630465298891,
0.001075018779374659,
-0.02419474348425865,
-0.06090257316827774,
-0.019268494099378586,
-0.03346523642539978,
-0.04947035014629364,
-0.007534874603152275,
-0.051590509712696075,
0.030659144744277,
-0.0007249069167301059,
-0.014757961966097355,
0.008179236203432083,
-0.07204379886388779,
-0.011972656473517418,
0.009447174146771431,
-0.025753682479262352,
0.03246751427650452,
0.032072585076093674,
0.03315344825387001,
0.0178966261446476,
0.08397488296031952,
0.035398323088884354,
-0.0039285277016460896,
-0.021804368123412132,
-0.020920969545841217,
-0.0043130661360919476,
0.023945312947034836,
0.03602189943194389,
-0.0742470994591713,
-0.000466058001620695,
0.03377702459692955,
0.03573089465498924,
0.01786544732749462,
0.08073228597640991,
0.007150336168706417,
0.0023280165623873472,
-0.007966181263327599,
0.011951870284974575,
-0.0037128746043890715,
0.0322180837392807,
-0.011442616581916809,
0.06767876446247101,
0.009748568758368492,
-0.07665825635194778,
0.016878118738532066,
0.013760240748524666,
-0.03390173986554146,
-0.05458367243409157,
0.052338797599077225,
0.00966542586684227,
0.0018655310850590467,
0.07324937731027603,
0.06406202167272568,
-0.06589118391275406,
-0.028663702309131622,
-0.04356716573238373,
0.04726704955101013,
-0.0191126000136137,
0.0056173792108893394,
0.025171678513288498,
-0.014872283674776554,
0.008122075349092484,
-0.028829989954829216,
0.023321736603975296,
0.03331973776221275,
0.036541543900966644,
0.014612460508942604,
-0.0018785222200676799,
0.05516567453742027,
0.0457288958132267,
-0.06040371209383011,
0.055124104022979736,
0.022615017369389534,
-0.03857855871319771,
0.030679931864142418,
-0.06402045488357544,
-0.009441977366805077,
0.04227844253182411,
-0.0006248749559745193,
-0.0426110178232193,
-0.026730617508292198,
-0.0004189650062471628,
-0.025400321930646896,
-0.0027073584496974945,
-0.009436781518161297,
0.003640123875811696,
0.024257101118564606,
-0.02527560666203499,
-0.02556660957634449,
-0.020494859665632248,
-0.00156413612421602,
-0.015059356577694416,
0.005866809282451868,
0.044939033687114716,
-0.056579116731882095,
-0.024714389815926552,
0.07811326533555984,
0.005731701385229826,
-0.0007203600252978504,
-0.032072585076093674,
-0.026127828285098076,
0.03909820690751076,
0.08912977576255798,
0.08501417189836502,
0.04377502575516701,
-0.07520324736833572,
-0.009447174146771431,
0.017397766932845116,
-0.023238593712449074,
0.0024930043146014214,
0.025836825370788574,
-0.04772433638572693,
-0.011286722496151924,
0.040802646428346634,
-0.02941199392080307,
-0.035917967557907104,
0.029973212629556656,
-0.06738775968551636,
0.022220086306333542,
-0.056994833052158356,
-0.00010953174933092669,
-0.09187350422143936,
-0.050343357026576996,
-0.00014306519005913287,
0.0021344481501728296,
0.045895181596279144,
-0.022531874477863312,
0.019143778830766678,
-0.048264771699905396,
0.04518846422433853,
0.028746847063302994,
0.007857055403292179,
0.02587839774787426,
0.035273607820272446,
0.03857855871319771,
-0.015558217652142048,
0.021263936534523964,
-0.034525316208601,
0.012336408719420433,
-0.0052380370907485485,
-0.0032166121527552605,
0.00436503067612648,
-0.018582560122013092,
0.0032971573527902365,
0.017179515212774277,
-0.014685210771858692,
-0.09478352963924408,
-0.000994473579339683,
0.02005835622549057,
-0.0330287329852581,
0.0019915453158318996,
-0.005043169483542442,
0.046726617962121964,
-0.0041519757360219955,
-0.03396409749984741,
-0.05736897885799408,
0.05861612781882286,
0.03668704628944397,
-0.03783026710152626,
0.06194186583161354,
-0.030077140778303146,
-0.010268216021358967,
-0.04834791272878647,
-0.048181626945734024,
0.02743733674287796,
-0.0044169956818223,
0.011660868301987648,
0.07208536565303802,
-0.016545545309782028,
0.047973766922950745,
0.03687411919236183,
-0.008012949489057064,
0.04159250855445862,
0.021388651803135872,
-0.0038245986215770245,
0.004154574126005173,
-0.047765910625457764,
0.023820597678422928,
-0.023009948432445526,
-0.04718390479683876,
0.06314744800329208,
0.05050964280962944,
-0.01471638958901167,
-0.1054258868098259,
0.0019369825022295117,
0.009140582755208015,
-0.0386824868619442,
-0.0007236077799461782,
-0.0024683210067451,
-0.0157037191092968,
0.03930606320500374,
0.00836111232638359,
-0.04331773519515991,
-0.009249708615243435,
0.025213249027729034,
0.03136586397886276,
-0.032363586127758026,
0.008626132272183895,
0.04801534116268158,
-0.0059759351424872875,
-0.006589117925614119,
0.04011671245098114,
0.07715711742639542,
0.006734618917107582,
-0.022490302100777626,
-0.01705479994416237,
0.052962373942136765,
-0.004274092614650726,
-0.028726059943437576,
-0.05221408233046532,
0.019486745819449425,
-0.042569443583488464,
0.025608181953430176,
0.043691881000995636,
0.02475596033036709,
-0.025192463770508766,
0.026792975142598152,
0.04523003473877907,
-0.03803812712430954,
0.05059278756380081,
0.002673581475391984,
-0.008641721680760384,
0.007015228271484375,
0.017179515212774277,
0.009660229086875916,
0.005861612968146801,
0.06252387166023254,
-0.021866725757718086,
-0.0075764465145766735,
0.02733340859413147,
0.08006713539361954,
-0.015766076743602753,
-0.022822875529527664,
0.03250908851623535,
-0.016077863052487373,
-0.06747090816497803,
-0.005128911230713129,
-0.023009948432445526,
-0.02172122523188591,
-0.032987162470817566,
-0.010829433798789978,
-0.008407880552113056,
0.013302951119840145,
0.08148057758808136,
-0.04419074207544327,
-0.006641082931309938,
0.0057161119766533375,
-0.023779025301337242,
0.040366142988204956,
-0.00407662708312273,
0.012523481622338295,
-0.010533235035836697,
-0.011640082113444805,
0.0020811844151467085,
0.0929543748497963,
0.03045128658413887,
-0.05238037183880806,
-0.014893069863319397,
-0.013791418634355068,
-0.013375701382756233,
-0.021076863631606102,
0.0017044406849890947,
0.025130106136202812,
-0.030991720035672188,
-0.05944756418466568,
0.036437615752220154,
0.013178235851228237,
0.045479465276002884,
-0.02057800255715847,
-0.014560495503246784,
0.046310897916555405,
-0.05624654144048691,
-0.04955349490046501,
0.01694047637283802,
-0.015194464474916458,
0.012003835290670395,
-0.06622375547885895,
-0.08430745452642441,
0.0488467738032341,
0.02224087156355381,
0.02598232589662075,
0.004136386327445507,
-0.030368143692612648,
-0.041613295674324036,
-0.003988286945968866,
0.017948592081665993,
-0.07000678032636642,
-0.07516167312860489,
0.0046612294390797615,
0.0035985521972179413,
0.03117879293859005,
0.044315457344055176,
-0.06564175337553024,
-0.012772912159562111,
-0.045063748955726624,
0.03313266485929489,
-0.07079664617776871,
0.0005082792486064136,
0.0012919711880385876,
-0.02502617798745632,
0.07208536565303802,
-0.021035291254520416,
0.04042850062251091,
0.0007632308406755328,
0.016878118738532066,
0.007789501454681158,
0.07175279408693314,
-0.06285644322633743,
-0.004887275863438845,
0.026896905153989792,
-0.0023124271538108587,
0.007467320654541254,
-0.03876563161611557,
-0.0296198520809412,
0.0005488766473717988,
0.014529317617416382,
0.009176957421004772,
0.06402045488357544,
-0.011006114073097706,
-0.0014147376641631126,
0.05238037183880806,
-0.03128272294998169,
-0.01767837442457676,
-0.018655311316251755,
-0.09062635898590088,
0.002052603755146265,
0.018863169476389885,
0.002400767058134079,
-0.0037492497358471155,
0.06875962764024734,
0.05146579444408417,
0.0034088813699781895,
-0.008594953455030918,
-0.061983440071344376,
-0.008127272129058838,
0.0418003685772419,
-0.008283166214823723,
0.033735454082489014,
0.03473317623138428,
0.04219529777765274,
-0.10293158888816833,
0.010439698584377766,
0.0073789809830486774,
-0.018208414316177368,
-0.02442338690161705,
0.10093614459037781,
0.008033735677599907,
-0.017834268510341644,
-0.03184393793344498,
0.031012505292892456,
-0.017106764018535614,
0.06368787586688995,
0.020338965579867363,
0.0301394984126091,
0.06015428155660629,
-0.003697285195812583,
0.009519924409687519,
-0.021128827705979347,
-0.0036453204229474068,
-0.0053367698565125465,
-0.00550825335085392,
0.013687489554286003,
0.028455844148993492,
-0.0660574659705162,
0.016358472406864166,
-0.00042123848106712103,
-0.0769076868891716,
0.06597432494163513,
0.0752863883972168,
-0.08081542700529099,
0.00811687856912613,
0.00027460072305984795,
-0.04015828296542168,
0.03408881276845932,
-0.08085700124502182,
-0.017273051664233208,
0.019684210419654846,
-0.08555460721254349,
-0.008293558843433857,
-0.01610904186964035,
0.016483187675476074,
0.0023449049331247807,
-0.004492344334721565,
-0.045562610030174255,
0.07250108569860458,
0.06992363929748535,
0.025400321930646896,
0.011369866319000721,
0.03078386001288891,
-0.007082782220095396,
-0.01839548721909523,
-0.03780948370695114,
-0.004928847309201956,
-0.015215250663459301,
0.0014017465291544795,
0.07823798060417175,
-0.05861612781882286,
-0.027977770194411278,
0.0780716985464096,
0.010652754455804825,
-0.04560418054461479,
0.04344245046377182,
-0.0098732840269804,
-0.003432265482842922,
-0.011858333833515644,
-0.02369588240981102,
-0.013448452576994896,
0.013490024022758007,
-0.029910854995250702,
-0.026314901188015938,
-0.007436141837388277,
-0.03053443133831024,
0.028019340708851814,
0.020214250311255455,
-0.02035975083708763,
-0.042548660188913345,
0.008174040354788303,
-0.016659868881106377,
0.021991441026329994,
0.0852220356464386,
0.0660574659705162,
0.009088617749512196,
0.03951392322778702,
0.02943277917802334,
0.026169398799538612,
-0.008459845557808876,
0.0392644926905632,
-0.07449652999639511,
0.05021864175796509,
0.025213249027729034,
0.007077585905790329,
0.00006735106580890715,
0.01579725556075573,
-0.03315344825387001,
0.0061058467254042625,
-0.04155093804001808,
0.06185872480273247,
-0.018624132499098778,
-0.09736097604036331,
-0.08139743655920029,
-0.03365230932831764,
-0.03300794959068298,
0.01839548721909523,
-0.0023643916938453913,
-0.0033049520570784807,
0.0037804285530000925,
-0.0069632637314498425,
-0.04344245046377182,
0.000657352851703763,
0.04647718742489815,
0.007727143820375204,
-0.051798366010189056,
0.010403323918581009,
-0.0067761908285319805,
-0.0026501973625272512,
0.06921692192554474,
0.00579405901953578,
-0.057826265692710876,
0.05632968619465828,
-0.059696994721889496,
-0.0011217870051041245,
0.06273172795772552,
0.059696994721889496,
-0.05790941044688225,
0.04685133323073387,
0.025296393781900406,
-0.08904662728309631,
0.043068304657936096,
0.021783582866191864,
-0.014072027988731861,
-0.009701800532639027,
0.013801812194287777,
-0.012897627428174019,
-0.07620096951723099,
-0.004900266882032156,
0.001354978303425014,
-0.023758240044116974,
0.02610704116523266,
0.0045001390390098095,
0.025130106136202812,
-0.012762518599629402,
0.004752167500555515,
-0.07753126323223114,
-0.019611461088061333,
0.046934474259614944,
-0.04822319746017456,
0.03481631726026535,
-0.005160090047866106,
-0.006542349699884653,
0.028351914137601852,
0.02556660957634449,
0.028663702309131622,
-0.019071027636528015,
-0.009467960335314274,
-0.04888834431767464,
0.010263019241392612,
0.008397487923502922,
-0.042132940143346786,
0.025545824319124222,
-0.014789140783250332,
0.009078225120902061,
-0.007436141837388277,
-0.048056911677122116,
-0.011473795399069786,
-0.03564775362610817,
-0.0197465680539608,
0.0351073183119297,
0.042985159903764725,
-0.02868448942899704,
-0.027416551485657692,
-0.04568732529878616,
0.028497416526079178,
0.028144055977463722,
-0.008553382009267807,
0.04182115197181702,
0.010891791433095932,
-0.013323737308382988,
-0.012149335816502571
] |
719,760
|
ibm_platform_services.iam_policy_management_v1
|
__init__
|
Construct a new client for the iam_policy_management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the iam_policy_management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.0038361691404134035,
-0.05974242463707924,
0.009844955056905746,
-0.020362604409456253,
0.0069996449165046215,
-0.03661632537841797,
0.008985907770693302,
0.016571886837482452,
-0.039634354412555695,
0.031598396599292755,
-0.02034442313015461,
0.033507391810417175,
-0.04232512786984444,
-0.010363111272454262,
-0.030325734987854958,
0.05777888745069504,
0.013962928205728531,
0.0007948460406623781,
-0.025525977835059166,
-0.07577797770500183,
0.03163475915789604,
0.04399776831269264,
0.004331598524004221,
0.023507898673415184,
0.05010655149817467,
0.06134234368801117,
-0.02287156693637371,
-0.005540627986192703,
0.006963283289223909,
-0.01879904605448246,
-0.010826723650097847,
-0.00010354588448535651,
0.001036879257299006,
0.04461592063307762,
0.0629422590136528,
-0.03416190296411514,
0.023144280537962914,
-0.003999797161668539,
-0.08021411299705505,
0.013372048735618591,
0.006726931780576706,
0.00196694559417665,
0.07526890933513641,
-0.02632593736052513,
0.013944747857749462,
0.0410161018371582,
0.05785161256790161,
0.01983535848557949,
0.04007069393992424,
0.0008618881111033261,
-0.03079843893647194,
0.00862683542072773,
0.02719862014055252,
0.0028953077271580696,
-0.052870046347379684,
0.06741476058959961,
0.029234880581498146,
-0.023089738562703133,
-0.06712386757135391,
0.03378010541200638,
-0.08086862415075302,
-0.03552547097206116,
0.0028453103732317686,
-0.04388868436217308,
-0.0002123471931554377,
-0.0175627451390028,
-0.05701529234647751,
0.016344625502824783,
-0.0009476792183704674,
0.02323518507182598,
0.0694146603345871,
-0.010563100688159466,
-0.029653042554855347,
-0.017444569617509842,
0.01936265453696251,
0.004415685310959816,
-0.013872023671865463,
-0.007322356104850769,
0.0016635520150884986,
-0.004122518002986908,
0.000013316086551640183,
-0.010890357196331024,
0.007408715318888426,
0.026871364563703537,
0.03292560204863548,
0.012526637874543667,
-0.00715872785076499,
-0.05265187472105026,
0.00020169431809335947,
0.033398307859897614,
-0.024635113775730133,
-0.001312433392740786,
-0.009854045696556568,
0.025525977835059166,
-0.0029180338606238365,
-0.005813341587781906,
-0.02019897662103176,
-0.047415778040885925,
0.010890357196331024,
0.03156203404068947,
-0.024035144597291946,
-0.010699457488954067,
0.010408563539385796,
-0.0028907624073326588,
0.04821573570370674,
-0.010399472899734974,
-0.003677086206153035,
-0.02270793914794922,
0.02863491140305996,
0.01107216626405716,
0.04399776831269264,
0.036343611776828766,
-0.05007018893957138,
0.027998579666018486,
-0.0167173333466053,
0.060651469975709915,
0.07985049486160278,
-0.010944899171590805,
0.04963384568691254,
0.04843390733003616,
-0.03450734168291092,
-0.06010604277253151,
0.018326343968510628,
-0.005658803973346949,
0.039743438363075256,
-0.022744301706552505,
-0.00741780549287796,
-0.008863186463713646,
-0.021962523460388184,
-0.012017572298645973,
0.03550729155540466,
-0.05017927289009094,
0.0014317455934360623,
0.011826672591269016,
0.006190595217049122,
-0.009335890412330627,
0.03977980092167854,
0.025725968182086945,
-0.030053021386265755,
0.10079488903284073,
-0.010881266556680202,
0.027107715606689453,
-0.05083378404378891,
0.02863491140305996,
-0.011663044802844524,
0.0013601583195850253,
-0.013981109485030174,
0.023416994139552116,
0.0016590068116784096,
-0.018980855122208595,
-0.031743843108415604,
-0.028907625004649162,
-0.000406513485359028,
0.011235794052481651,
-0.0007431441335938871,
0.0053724548779428005,
0.016117364168167114,
-0.055342648178339005,
-0.0008499568793922663,
-0.037525370717048645,
-0.008722284808754921,
-0.012508456595242023,
0.018499061465263367,
-0.06694205850362778,
-0.01271753665059805,
-0.007340536918491125,
-0.0370890274643898,
-0.023780612275004387,
-0.03534366190433502,
-0.01831725239753723,
-0.049524761736392975,
-0.06312406808137894,
-0.0800686702132225,
-0.05032471939921379,
0.03321649879217148,
0.0299257542937994,
0.05032471939921379,
0.014999239705502987,
-0.0034657332580536604,
0.03281651809811592,
0.008045046590268612,
0.015999188646674156,
-0.03003484010696411,
-0.04454319551587105,
-0.005508811678737402,
0.0175627451390028,
0.054215431213378906,
0.03894348070025444,
0.01570829376578331,
0.010526739060878754,
-0.00043094405555166304,
0.032943785190582275,
0.016490072011947632,
0.041379719972610474,
-0.010499467141926289,
-0.013199330307543278,
0.015862831845879555,
-0.010263116098940372,
-0.026125947013497353,
0.04614311456680298,
-0.012163019739091396,
0.0716690942645073,
-0.007804149761795998,
0.028925806283950806,
0.08268671482801437,
-0.000822117377538234,
-0.014508355408906937,
-0.04312508553266525,
-0.033507391810417175,
-0.05279732123017311,
-0.06006968021392822,
-0.04119791090488434,
0.0006306498544290662,
0.016417348757386208,
-0.04763394966721535,
0.07163272798061371,
0.025416892021894455,
0.003372556297108531,
0.024180591106414795,
0.03018028847873211,
0.06337860226631165,
0.032580167055130005,
0.03687085583806038,
-0.04807028919458389,
0.016590068116784096,
0.06050602346658707,
0.010663095861673355,
-0.034889139235019684,
-0.07043278962373734,
0.023144280537962914,
0.011553959921002388,
0.04857935383915901,
-0.006386039778590202,
0.03807079792022705,
-0.019508101046085358,
-0.07399624586105347,
0.013772028498351574,
-0.013872023671865463,
-0.08675923943519592,
0.03212564438581467,
0.021544361487030983,
0.06930557638406754,
0.0348345972597599,
0.03548910841345787,
-0.08828642964363098,
0.0057406178675591946,
-0.03810715675354004,
0.008485933765769005,
0.039488907903432846,
0.016699153929948807,
-0.032580167055130005,
-0.023107919842004776,
-0.030834799632430077,
-0.025998681783676147,
0.01490833517163992,
-0.025362350046634674,
-0.059669703245162964,
-0.0141901895403862,
0.039016202092170715,
0.024089686572551727,
0.0014260640600696206,
0.019489921629428864,
-0.030307553708553314,
0.027180440723896027,
0.004633856005966663,
0.011235794052481651,
0.013008431531488895,
0.016390077769756317,
0.07897781580686569,
0.0009471110533922911,
0.12464822083711624,
0.005954243708401918,
0.018508153036236763,
0.007154182530939579,
-0.009381342679262161,
-0.043452341109514236,
-0.003965707961469889,
0.005086105782538652,
-0.07963232696056366,
-0.010926718823611736,
0.016499163582921028,
0.032998327165842056,
0.04810665175318718,
0.050506528466939926,
-0.03883439302444458,
0.0014681073371320963,
0.023726070299744606,
-0.007554162293672562,
-0.023671526461839676,
0.007640521507710218,
-0.007008735556155443,
0.05894246697425842,
0.0030702988151460886,
-0.0629422590136528,
-0.003972525708377361,
-0.03310741111636162,
-0.019508101046085358,
-0.047924842685461044,
-0.007022371049970388,
-0.03276197612285614,
-0.00265213823877275,
0.02663501352071762,
-0.003677086206153035,
-0.004381596110761166,
-0.01457198802381754,
-0.01545376144349575,
-0.0007414396968670189,
0.03756173327565193,
-0.024653295055031776,
0.01927175000309944,
0.007717790547758341,
0.016926415264606476,
-0.06654208153486252,
-0.035616375505924225,
0.06621482223272324,
0.0578879751265049,
0.03096206672489643,
-0.04217967763543129,
0.033307403326034546,
0.03596181422472,
-0.056069884449243546,
0.041997868567705154,
-0.01728094182908535,
-0.03379828482866287,
-0.03478005528450012,
-0.036034535616636276,
0.0061133261770009995,
0.07825057953596115,
-0.021089838817715645,
-0.012381190434098244,
-0.04727033153176308,
0.014126555994153023,
-0.02101711556315422,
-0.028144028037786484,
-0.04276146739721298,
-0.05654258653521538,
0.020835306495428085,
-0.04821573570370674,
-0.048033926635980606,
-0.010935809463262558,
0.032980144023895264,
-0.029780307784676552,
-0.020835306495428085,
0.052251894026994705,
-0.04650673270225525,
-0.015181048773229122,
0.03516185283660889,
-0.07090549170970917,
0.007504164706915617,
-0.09003179520368576,
-0.022217055782675743,
0.03861622512340546,
0.02652592770755291,
0.05636077746748924,
0.037270836532115936,
0.006354223005473614,
-0.0362527072429657,
-0.0025521432980895042,
-0.023926058784127235,
-0.02478056214749813,
0.015799198299646378,
-0.015808289870619774,
0.014308365061879158,
0.02508963644504547,
-0.05894246697425842,
-0.03583454713225365,
0.03212564438581467,
-0.03730719909071922,
0.06290590018033981,
0.02359880320727825,
0.004056612495332956,
-0.11475781351327896,
0.00002599300023575779,
0.022107969969511032,
0.012662994675338268,
0.03394373506307602,
-0.04134335741400719,
-0.00996313150972128,
-0.04603403061628342,
0.02919851988554001,
-0.020980754867196083,
0.05886974185705185,
0.029525775462388992,
0.05130648985505104,
0.027725866064429283,
-0.011735768057405949,
0.024398762732744217,
0.02287156693637371,
0.018726322799921036,
0.02894398756325245,
-0.029453052207827568,
-0.018108172342181206,
-0.013608400709927082,
-0.023307908326387405,
0.015617390163242817,
-0.019599005579948425,
-0.07181453704833984,
-0.01369930524379015,
0.0010198346571996808,
-0.04094337671995163,
0.03836169093847275,
-0.01038129162043333,
0.09184988588094711,
0.00009956881694961339,
-0.033089231699705124,
-0.003054390661418438,
0.013999289833009243,
-0.019998986274003983,
0.01596282608807087,
0.00046020394074730575,
-0.015717385336756706,
0.000025158526113955304,
-0.00816322211176157,
-0.03699812293052673,
-0.013226602226495743,
-0.02338063344359398,
-0.04527043178677559,
0.006354223005473614,
0.0023794248700141907,
0.012044843286275864,
0.021726170554757118,
0.00989040732383728,
0.018871771171689034,
0.0029953026678413153,
-0.014535626396536827,
0.018780866637825966,
-0.022435225546360016,
0.013035702519118786,
-0.006749657914042473,
-0.07752334326505661,
0.028362197801470757,
0.057815250009298325,
0.02967122197151184,
-0.06570576131343842,
-0.009054086171090603,
0.04090701788663864,
-0.0643603727221489,
-0.011172160506248474,
0.0029975753277540207,
-0.037270836532115936,
-0.02756223827600479,
-0.054615411907434464,
-0.03410736098885536,
-0.03796171024441719,
0.0015533303376287222,
-0.0010277887340635061,
-0.053597282618284225,
0.03945254534482956,
0.088213711977005,
0.00037384466850198805,
0.022907929494976997,
-0.041125185787677765,
0.03992524743080139,
-0.03148931264877319,
-0.009563151746988297,
-0.04167061299085617,
0.05494266748428345,
0.024544209241867065,
0.011863035149872303,
-0.020126251503825188,
-0.0006306498544290662,
-0.04501589760184288,
0.017262760549783707,
-0.030507544055581093,
0.0410161018371582,
0.015126505866646767,
0.025744149461388588,
0.04127063602209091,
-0.013244782574474812,
0.020726222544908524,
0.008835915476083755,
0.006990554742515087,
0.04661581665277481,
0.03607089817523956,
0.028344016522169113,
0.027725866064429283,
0.03992524743080139,
-0.016762785613536835,
-0.03023483045399189,
0.03130750358104706,
0.03734356164932251,
-0.000029934561098343693,
-0.004767939914017916,
0.03188929334282875,
-0.04043431207537651,
-0.012862984091043472,
-0.020526232197880745,
-0.039634354412555695,
0.04628856107592583,
-0.058433398604393005,
0.010235844179987907,
0.09941314160823822,
0.005204281769692898,
0.05988787114620209,
0.06145142763853073,
-0.004240693990141153,
0.040507037192583084,
-0.0011226703645661473,
0.0497429333627224,
0.04574313387274742,
-0.0010772180976346135,
-0.021853437647223473,
-0.00354754738509655,
-0.027307705953717232,
0.08326850831508636,
0.004831572994589806,
-0.11897578835487366,
-0.01545376144349575,
0.007549616973847151,
0.008385938592255116,
0.03585272654891014,
-0.007013280875980854,
-0.024544209241867065,
-0.02663501352071762,
-0.04785211756825447,
0.014617440290749073,
-0.06348768621683121,
-0.011172160506248474,
-0.04083429276943207,
-0.022653397172689438,
0.02225341647863388,
-0.023035194724798203,
-0.045924942940473557,
0.007608705200254917,
-0.012617542408406734,
-0.031398408114910126,
-0.0348345972597599,
-0.05097923427820206,
0.0161537267267704,
-0.0008323441725224257,
0.0028407650534063578,
-0.012144838459789753,
-0.0314711295068264,
-0.015871921554207802,
-0.00507246982306242,
0.024635113775730133,
-0.08843187987804413,
-0.05290640890598297,
0.042834192514419556,
-0.042361486703157425,
0.027362247928977013,
0.05134285241365433,
-0.04228876531124115,
-0.008772282861173153,
-0.011935758404433727,
0.011053984984755516,
-0.08763191848993301,
0.009572241455316544,
-0.019071759656071663,
0.0006522396579384804,
0.06606937944889069,
-0.02276248298585415,
-0.010644914582371712,
0.011735768057405949,
-0.03627088665962219,
0.00507246982306242,
0.05861520767211914,
-0.06286954134702682,
0.015253772027790546,
0.01809908263385296,
0.013408411294221878,
0.032943785190582275,
-0.04588858038187027,
0.0025544159580022097,
0.03572545945644379,
0.008208674378693104,
0.002390787936747074,
0.000490316073410213,
-0.03070753440260887,
0.020871669054031372,
0.005699710920453072,
-0.04316144809126854,
0.019635368138551712,
0.05617896839976311,
-0.10530374944210052,
0.0452340692281723,
0.012817531824111938,
0.012781170196831226,
0.027471333742141724,
-0.00963587500154972,
0.02385333552956581,
0.002924851607531309,
-0.04134335741400719,
-0.07148728519678116,
-0.018926313146948814,
0.0047952113673090935,
-0.043343257158994675,
-0.018944494426250458,
-0.020780764520168304,
0.011599412187933922,
-0.07083277404308319,
-0.05963334068655968,
-0.005886065308004618,
-0.0008925683796405792,
-0.05079742521047592,
0.047924842685461044,
0.020926211029291153,
-0.02307155728340149,
0.035925451666116714,
0.035252757370471954,
-0.01629917323589325,
0.061524152755737305,
0.016308264806866646,
0.040616121143102646,
0.05188827961683273,
0.006895104888826609,
-0.058324314653873444,
-0.024380581453442574,
-0.034325532615184784,
0.02888944372534752,
-0.014799249358475208,
0.02116256393492222,
0.010990351438522339,
-0.023726070299744606,
0.014844701625406742,
0.01781727746129036,
-0.04225240275263786,
0.04716124385595322,
0.04454319551587105,
-0.017580926418304443,
0.01795363426208496,
-0.019944442436099052,
-0.013162968680262566,
0.01298115961253643,
-0.08319578319787979,
-0.013708395883440971,
0.040761567652225494,
-0.04487045109272003,
0.0019771724473685026,
-0.023871516808867455,
-0.0038293511606752872,
0.003870258340612054,
-0.019853537902235985,
-0.032634709030389786,
0.07665065675973892,
0.040361590683460236,
0.04134335741400719,
0.013744757510721684,
0.039052564650774,
0.010535829700529575,
-0.009094993583858013,
-0.03930709883570671,
0.019998986274003983,
-0.013690214604139328,
-0.004949748981744051,
0.03528911992907524,
-0.05279732123017311,
-0.029743947088718414,
0.01298115961253643,
0.02852582558989525,
-0.034743692725896835,
0.037925347685813904,
-0.003917983267456293,
0.015208319760859013,
-0.011699406430125237,
-0.06516033411026001,
-0.026235032826662064,
0.05665167421102524,
0.0016135545447468758,
-0.01736275665462017,
-0.024853285402059555,
0.032325632870197296,
0.013281145133078098,
0.052615512162446976,
0.02205342799425125,
-0.048033926635980606,
0.0011022168910130858,
-0.027380429208278656,
0.04577949643135071,
0.05457904934883118,
0.057451631873846054,
0.05428815633058548,
-0.004704306833446026,
0.04723396897315979,
0.0006039466243237257,
-0.0037248111329972744,
0.03239835798740387,
-0.06370586156845093,
0.05327002704143524,
0.04021614417433739,
-0.057451631873846054,
-0.022107969969511032,
0.01638098806142807,
-0.0034407346975058317,
-0.010544919408857822,
-0.03145295009016991,
0.06196049600839615,
0.017290031537413597,
-0.07206907123327255,
-0.09759505093097687,
-0.030271193012595177,
-0.024853285402059555,
0.0069996449165046215,
-0.0043611424043774605,
0.0070405518636107445,
0.04650673270225525,
-0.027998579666018486,
-0.07701427489519119,
0.017544565722346306,
0.03348921239376068,
0.04105246439576149,
-0.013881114311516285,
-0.024016963317990303,
0.013681123964488506,
0.003986161667853594,
0.04708852246403694,
0.03121659904718399,
-0.04647037014365196,
0.03572545945644379,
-0.029489412903785706,
0.036598145961761475,
0.050761062651872635,
0.04156152904033661,
-0.029343966394662857,
0.04908841848373413,
0.047052159905433655,
-0.06196049600839615,
0.0432705320417881,
-0.0033611932303756475,
-0.02770768664777279,
-0.006949647795408964,
-0.01663552038371563,
0.014544717036187649,
-0.0871228575706482,
0.028253111988306046,
-0.0027794043999165297,
-0.08108679950237274,
0.016390077769756317,
0.009781322441995144,
0.059051550924777985,
-0.020417146384716034,
-0.03419826552271843,
-0.060396935790777206,
0.060651469975709915,
0.029998479411005974,
-0.01851724274456501,
0.036798134446144104,
0.023726070299744606,
0.03179838880896568,
0.023035194724798203,
-0.013644762337207794,
0.013062973506748676,
-0.008104134351015091,
0.03527094051241875,
-0.018162716180086136,
0.029162157326936722,
0.017908181995153427,
-0.05639714002609253,
0.0149628771468997,
0.03385283052921295,
-0.02776222862303257,
-0.01865359954535961,
-0.05181555449962616,
0.03550729155540466,
-0.029162157326936722,
-0.06919649243354797,
0.009681327268481255,
0.01921720802783966,
0.010344929993152618,
-0.015281043015420437,
-0.02127164788544178,
-0.005895155481994152,
0.06741476058959961,
-0.053960900753736496,
0.009176807478070259,
0.03359829634428024,
0.02559870108962059,
-0.009972221218049526
] |
719,765
|
ibm_platform_services.iam_policy_management_v1
|
commit_policy_template
|
Commit a policy template version.
Commit a policy template version. You can make no further changes to the policy
template once it's committed. If you need to make updates after committing a
version, create a new version.
:param str policy_template_id: The policy template ID.
:param str version: The policy template version.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def commit_policy_template(
self,
policy_template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Commit a policy template version.
Commit a policy template version. You can make no further changes to the policy
template once it's committed. If you need to make updates after committing a
version, create a new version.
:param str policy_template_id: The policy template ID.
:param str version: The policy template version.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not policy_template_id:
raise ValueError('policy_template_id must be provided')
if not version:
raise ValueError('version must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='commit_policy_template',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['policy_template_id', 'version']
path_param_values = self.encode_path_vars(policy_template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/policy_templates/{policy_template_id}/versions/{version}/commit'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, policy_template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.03307121619582176,
-0.045253463089466095,
-0.05575169250369072,
-0.023325419053435326,
0.006418073084205389,
-0.04794072359800339,
-0.054139334708452225,
0.06302520632743835,
-0.012504717335104942,
-0.014161861501634121,
-0.0024655612651258707,
-0.009880159981548786,
-0.031781330704689026,
-0.06850722432136536,
-0.0709078386425972,
-0.02105020545423031,
0.09867619723081589,
-0.03966395929455757,
0.006167262326925993,
-0.02024402655661106,
0.09022027999162674,
0.004675832577049732,
-0.04073886573314667,
0.03235461190342903,
0.056934088468551636,
-0.03479106351733208,
0.04156295955181122,
-0.014609738253057003,
0.013033212162554264,
-0.012477844953536987,
-0.039413150399923325,
0.037836622446775436,
0.025403566658496857,
0.04349778592586517,
0.007672127801924944,
-0.015308425761759281,
0.007475062273442745,
-0.005052049178630114,
-0.04012975096702576,
0.0264605563133955,
0.005652204155921936,
0.06445841491222382,
-0.044214386492967606,
-0.046005893498659134,
-0.020763564854860306,
0.017592597752809525,
-0.03011523000895977,
0.012737613171339035,
-0.005750736687332392,
0.036636315286159515,
0.029595691710710526,
-0.002790271770209074,
-0.0055671073496341705,
-0.046005893498659134,
-0.011653752066195011,
0.03694086894392967,
0.053924355655908585,
-0.006059771869331598,
0.01795089803636074,
-0.03016897477209568,
0.0087291169911623,
0.03348326310515404,
-0.05231199786067009,
-0.0003994500439148396,
-0.010731126181781292,
-0.02133684605360031,
-0.007228729780763388,
-0.013848347589373589,
-0.0005360524519346654,
-0.021193524822592735,
-0.0150038693100214,
-0.015362170524895191,
0.011761242523789406,
-0.042422883212566376,
0.01974240504205227,
0.01357962191104889,
-0.024042021483182907,
-0.00668232049793005,
0.017538851127028465,
-0.006409115623682737,
-0.021032290533185005,
-0.12612208724021912,
0.026442641392350197,
-0.03342951834201813,
0.02405993640422821,
0.0026290363166481256,
0.006364327855408192,
-0.053100261837244034,
-0.02902241051197052,
0.04597006365656853,
0.024901945143938065,
0.004989346489310265,
-0.038266584277153015,
-0.0062030921690166,
0.034934382885694504,
0.01658039540052414,
0.07617487013339996,
-0.04897979646921158,
-0.031333453953266144,
0.0447518415749073,
-0.017574680969119072,
0.0010122013045474887,
-0.03135136887431145,
-0.01598919741809368,
0.0327129140496254,
0.014332054182887077,
-0.004980389028787613,
0.047761570662260056,
-0.010247418656945229,
-0.03905484825372696,
0.055393390357494354,
-0.0398072823882103,
-0.04686581715941429,
-0.04396357759833336,
0.05439014732837677,
0.020924799144268036,
-0.04804821312427521,
-0.020441092550754547,
-0.028234146535396576,
-0.01033699419349432,
0.04718828946352005,
-0.06341934204101562,
0.027535459026694298,
0.01915120705962181,
-0.014215606264770031,
0.026335150003433228,
0.003995059989392757,
-0.013767729513347149,
-0.02590518817305565,
0.006991355214267969,
-0.03305330127477646,
0.001784788677468896,
-0.006892822682857513,
0.009333750233054161,
-0.022465495392680168,
-0.020906884223222733,
-0.03608094900846481,
-0.02024402655661106,
-0.004613129887729883,
0.026478471234440804,
0.04758242145180702,
-0.013875219970941544,
-0.007174985017627478,
0.03011523000895977,
0.0030589979141950607,
-0.04396357759833336,
-0.0294523723423481,
0.0010603481205180287,
0.015496534295380116,
0.01169853936880827,
0.0272667333483696,
-0.00998765043914318,
0.00790950283408165,
0.01647290587425232,
-0.012361397035419941,
-0.01815692149102688,
0.05134458467364311,
-0.052777789533138275,
0.008330506272614002,
-0.014959082007408142,
0.06245192885398865,
0.014555992558598518,
0.06832806766033173,
0.035149361938238144,
0.02062024362385273,
-0.005997069180011749,
0.0020143254660069942,
0.028610363602638245,
-0.015245722606778145,
-0.049553077667951584,
0.030903492122888565,
0.02766086533665657,
-0.012325567193329334,
0.010014522820711136,
-0.02214302495121956,
0.028825344517827034,
0.04084635525941849,
0.01652665063738823,
0.0012283019023016095,
-0.0709078386425972,
-0.006270274054259062,
-0.024686964228749275,
0.0006214289460331202,
0.0419929213821888,
-0.003074673470109701,
0.011582091450691223,
0.014117073267698288,
0.060696251690387726,
-0.010507187806069851,
0.013507961295545101,
-0.035919710993766785,
-0.08556236326694489,
0.04686581715941429,
0.015621939674019814,
-0.001621313625946641,
-0.043067824095487595,
-0.010372824035584927,
-0.06632158160209656,
0.05919138342142105,
0.004098071716725826,
0.004299616441130638,
-0.07868298143148422,
0.002875368343666196,
-0.02230425924062729,
0.05650412663817406,
0.031279709190130234,
0.04217207059264183,
-0.05969300866127014,
-0.023164182901382446,
-0.04887230694293976,
0.029541946947574615,
-0.006547957193106413,
-0.05195369943976402,
0.0370841920375824,
-0.04281701147556305,
-0.031279709190130234,
0.03416403383016586,
-0.04489516094326973,
-0.01817483641207218,
-0.014323096722364426,
0.013875219970941544,
0.046507518738508224,
0.026550130918622017,
0.03973562270402908,
0.03640341758728027,
-0.00700927060097456,
0.026872601360082626,
0.05331524461507797,
-0.029147816821932793,
-0.022734221071004868,
0.04439353942871094,
0.0419929213821888,
0.07624652981758118,
-0.02475862391293049,
-0.04761825129389763,
-0.09072190523147583,
-0.026335150003433228,
-0.009566646069288254,
-0.017601555213332176,
0.0490872859954834,
0.042136240750551224,
0.0068166833370924,
0.06538999825716019,
0.02379121072590351,
-0.05134458467364311,
-0.0034755233209580183,
-0.06678737699985504,
-0.019760319963097572,
0.041383806616067886,
-0.021318931132555008,
-0.016240010038018227,
-0.03376990184187889,
-0.03787245228886604,
0.00042324347305111587,
0.0403805635869503,
0.007819927297532558,
0.0736667588353157,
-0.01941993460059166,
0.03894735872745514,
0.009781626984477043,
-0.03443276137113571,
0.015630897134542465,
-0.07345177978277206,
-0.023755380883812904,
-0.018846651539206505,
-0.06614243239164352,
-0.003983863163739443,
0.03851739689707756,
0.016956612467765808,
0.0671098455786705,
0.008111047558486462,
0.049445588141679764,
-0.0056029376573860645,
-0.035597238689661026,
-0.03726334124803543,
-0.04704497009515762,
0.019133292138576508,
0.029667353257536888,
-0.000706525519490242,
-0.030957236886024475,
0.015792133286595345,
-0.003321005729958415,
0.0572923868894577,
0.07302181422710419,
0.019563253968954086,
0.03808743506669998,
-0.06424343585968018,
0.024131596088409424,
0.03808743506669998,
0.021695148199796677,
-0.02024402655661106,
0.08699557185173035,
0.02814457193017006,
-0.017718002200126648,
-0.06485254317522049,
-0.022931287065148354,
0.0018698852509260178,
-0.034289442002773285,
0.04708079993724823,
-0.02019028179347515,
0.012854061089456081,
0.020691903308033943,
-0.015550279058516026,
-0.0403805635869503,
-0.030133144930005074,
-0.006274752784520388,
0.027857931330800056,
0.0011801550863310695,
0.04446519911289215,
0.009566646069288254,
0.014968039467930794,
0.02963152341544628,
-0.014108115807175636,
-0.020494837313890457,
0.007658691611140966,
0.05410350486636162,
0.016732674092054367,
-0.07509996742010117,
0.03419986367225647,
-0.00129212427418679,
-0.06650073081254959,
0.05220450833439827,
0.04267369210720062,
0.029989823698997498,
-0.010453442111611366,
-0.057364046573638916,
-0.03595554083585739,
-0.027750439941883087,
0.0027365267742425203,
0.048478174954652786,
-0.010677380487322807,
0.049445588141679764,
0.038589056581258774,
0.028879089280962944,
-0.007309347856789827,
0.012952594086527824,
0.03301747143268585,
-0.005903014913201332,
-0.014099158346652985,
0.03661840036511421,
0.040667206048965454,
-0.000543050526175648,
0.055070918053388596,
0.03283831849694252,
-0.05722072720527649,
0.021641401574015617,
-0.018076304346323013,
0.041383806616067886,
0.011259620077908039,
-0.04367693513631821,
-0.09265673160552979,
-0.006194134708493948,
0.02990024909377098,
0.01364232413470745,
-0.01859584078192711,
-0.09215511381626129,
0.04102550446987152,
0.015908580273389816,
-0.03059893660247326,
-0.032318782061338425,
-0.02955986186861992,
-0.013355683535337448,
-0.0316380113363266,
0.012746570631861687,
-0.027947505936026573,
0.01006826851516962,
0.00802147202193737,
0.00549544719979167,
-0.08434414118528366,
-0.009539773687720299,
-0.004626566544175148,
-0.01920495368540287,
0.004725099075585604,
0.031082643195986748,
0.0026559089310467243,
0.0029358319006860256,
-0.05911972373723984,
-0.003074673470109701,
-0.05252698063850403,
-0.08979032188653946,
0.03086766228079796,
-0.054748449474573135,
0.03823075443506241,
-0.025923103094100952,
-0.02345082350075245,
-0.0038181489799171686,
0.0030097314156591892,
-0.04611338675022125,
0.013006339780986309,
0.0431036539375782,
0.005262551363557577,
-0.038051605224609375,
-0.04521763324737549,
-0.038266584277153015,
-0.01437684241682291,
0.028825344517827034,
-0.003970426972955465,
0.014636610634624958,
0.032211292535066605,
-0.021784722805023193,
0.04095384478569031,
0.024669049307703972,
0.035167280584573746,
0.004675832577049732,
0.0017567963805049658,
-0.035865966230630875,
0.031727585941553116,
-0.003094827989116311,
0.0017859083600342274,
-0.06879386305809021,
-0.010211588814854622,
0.04012975096702576,
-0.04048805311322212,
-0.010802785865962505,
0.013525876216590405,
0.0523836575448513,
-0.04360527545213699,
0.055895011872053146,
-0.059334706515073776,
-0.026657622307538986,
0.04926643893122673,
0.08527572453022003,
0.04152712970972061,
0.011393982917070389,
-0.04761825129389763,
0.015012826770544052,
0.023880785331130028,
-0.026281405240297318,
0.007461626082658768,
-0.032211292535066605,
0.005517840851098299,
-0.04313948377966881,
-0.000799459929112345,
0.04485933110117912,
0.005083400756120682,
0.028395382687449455,
0.013713984750211239,
0.07244853675365448,
-0.004917686339467764,
0.06478088349103928,
0.02984650433063507,
0.015998156741261482,
-0.04392774775624275,
-0.016759546473622322,
0.010059311054646969,
0.04407106712460518,
-0.029864419251680374,
-0.12390061467885971,
-0.011716454289853573,
0.025493141263723373,
0.00984433013945818,
0.047976553440093994,
0.0109102763235569,
-0.0013570664450526237,
-0.022787965834140778,
-0.04751076176762581,
-0.06105455383658409,
-0.016652055084705353,
-0.04539678245782852,
-0.043891917914152145,
0.006991355214267969,
-0.02715924382209778,
0.07574490457773209,
0.009665179066359997,
-0.024257002398371696,
-0.1019725650548935,
0.03683337941765785,
0.033913224935531616,
-0.01006826851516962,
0.012477844953536987,
0.01208371389657259,
-0.033142875880002975,
-0.053207751363515854,
0.12777025997638702,
0.030742257833480835,
0.02923739142715931,
0.023307504132390022,
-0.03153052181005478,
-0.030366040766239166,
-0.015039700083434582,
-0.015487576834857464,
0.031243879348039627,
-0.03110055811703205,
0.04052388295531273,
-0.005683555267751217,
-0.05804482102394104,
0.025027349591255188,
-0.03316079080104828,
0.023880785331130028,
0.0011056956136599183,
0.03416403383016586,
-0.010480314493179321,
0.01625792495906353,
0.05363771319389343,
-0.032748743891716,
-0.024077851325273514,
-0.011671666987240314,
-0.02237592078745365,
0.026155998930335045,
-0.06850722432136536,
0.024866115301847458,
0.005240157246589661,
0.021175609901547432,
0.010247418656945229,
0.06531833857297897,
0.03179924562573433,
0.02019028179347515,
-0.011420856229960918,
0.010247418656945229,
0.0015104642370715737,
-0.031440943479537964,
-0.03043770045042038,
-0.017870280891656876,
0.025081096217036247,
0.028843259438872337,
0.049015626311302185,
0.015281553380191326,
0.012549505569040775,
-0.01990364119410515,
-0.0018161400221288204,
0.007806491106748581,
0.01877499185502529,
0.009826415218412876,
-0.020494837313890457,
-0.01323027815669775,
-0.017538851127028465,
-0.028126657009124756,
-0.06324019283056259,
0.04339029639959335,
0.05503508821129799,
-0.04521763324737549,
0.025134840980172157,
-0.030366040766239166,
-0.010981936939060688,
-0.00700927060097456,
-0.004272743593901396,
-0.06141285225749016,
-0.012235991656780243,
-0.050162192434072495,
-0.021856382489204407,
-0.026335150003433228,
-0.006059771869331598,
-0.0452892929315567,
-0.03333994001150131,
0.006762938108295202,
-0.00033898669062182307,
-0.0045414697378873825,
-0.022949201986193657,
-0.04346195608377457,
-0.05087879300117493,
0.020871054381132126,
-0.0023177620023489,
0.038051605224609375,
0.049445588141679764,
-0.03905484825372696,
0.06782644987106323,
0.037012532353401184,
-0.018076304346323013,
0.01984989643096924,
0.004998303949832916,
-0.012379311956465244,
-0.023862870410084724,
0.022160939872264862,
-0.01142981369048357,
-0.0016022789059206843,
0.04425022006034851,
0.06281022727489471,
-0.01995738595724106,
0.025726037099957466,
0.012074755504727364,
0.028771599754691124,
0.03876820579171181,
0.007412359584122896,
-0.05804482102394104,
-0.02715924382209778,
-0.02760712057352066,
0.01931244321167469,
0.0425662025809288,
0.0174582339823246,
0.0463641956448555,
0.009674136526882648,
-0.005835833493620157,
0.05847478285431862,
-0.05077130347490311,
-0.019169123843312263,
0.09158182889223099,
0.014573908410966396,
0.049732230603694916,
0.0665723904967308,
0.06789810955524445,
-0.06094706058502197,
0.00738996546715498,
0.025546887889504433,
-0.006924173794686794,
0.026066424325108528,
0.03541808947920799,
-0.033304110169410706,
0.005002782680094242,
-0.029309051111340523,
-0.02384495548903942,
-0.0036031680647283792,
0.01598919741809368,
0.002707414561882615,
0.06427926570177078,
0.019455764442682266,
-0.034934382885694504,
-0.018228581175208092,
0.03719168156385422,
-0.00832154881209135,
-0.020441092550754547,
0.04987554997205734,
-0.0038920484948903322,
-0.005652204155921936,
-0.05718489736318588,
0.014278309419751167,
0.05367354303598404,
-0.0360092855989933,
0.07717811316251755,
-0.04485933110117912,
-0.04980389028787613,
0.0031037854496389627,
0.00268054218031466,
-0.033250365406274796,
0.01625792495906353,
-0.02203553356230259,
0.04439353942871094,
0.02269839122891426,
-0.03697670251131058,
-0.009862245060503483,
0.004810195881873369,
-0.02291337214410305,
0.03948481008410454,
-0.013346726074814796,
0.01712680608034134,
0.06212945654988289,
0.03729917109012604,
-0.013758772052824497,
-0.011501473374664783,
0.051523737609386444,
0.020584413781762123,
0.05607416480779648,
-0.04614921659231186,
0.021623486652970314,
0.019652830436825752,
0.006462860852479935,
0.08828545361757278,
-0.023432908579707146,
-0.012424100190401077,
-0.001282047014683485,
-0.021211441606283188,
-0.025170670822262764,
0.003094827989116311,
-0.015550279058516026,
-0.015048657543957233,
0.01366919744759798,
-0.020817309617996216,
0.02579769864678383,
0.02493777498602867,
-0.01728804036974907,
0.051523737609386444,
0.014260394498705864,
-0.040882185101509094,
0.04643585532903671,
-0.00769452191889286,
-0.045360952615737915,
-0.005562628619372845,
-0.034934382885694504,
-0.04611338675022125,
-0.06184281408786774,
0.020387347787618637,
0.061950307339429855,
-0.03321453556418419,
-0.028610363602638245,
0.03136928379535675,
0.05417516455054283,
-0.05087879300117493,
0.0031642490066587925,
0.0014096918748691678,
-0.03267708420753479,
0.0030679553747177124,
0.08448746055364609,
-0.0022393835242837667,
0.021892214193940163,
-0.05367354303598404,
-0.004274982959032059,
-0.04708079993724823,
0.018318157643079758,
0.06718150526285172,
-0.04385608807206154,
-0.044106896966695786,
-0.002523785224184394,
-0.03844573721289635,
-0.03289206698536873,
-0.019670745357871056,
-0.007484019733965397,
0.00004412285488797352,
-0.012907806783914566,
-0.017538851127028465,
-0.03359075263142586,
-0.0036613920237869024,
0.006762938108295202,
-0.00700927060097456,
-0.03740666061639786,
0.04496682062745094,
-0.05876142531633377,
0.029362795874476433,
0.028520788997411728,
-0.024722794070839882,
0.049553077667951584,
-0.057149067521095276,
-0.0002453524502925575,
0.016114603728055954,
0.05077130347490311,
0.0023177620023489,
0.038983188569545746,
0.07004791498184204,
-0.10340577363967896,
0.038696546107530594,
0.054139334708452225,
-0.015639854595065117,
-0.06947463750839233,
0.017305955290794373,
-0.033250365406274796,
-0.05198952928185463,
0.038696546107530594,
-0.031888820230960846,
0.040344733744859695,
0.01543383114039898,
-0.014027498662471771,
0.02269839122891426,
-0.02710549719631672,
0.014305181801319122,
-0.035812221467494965,
-0.0747416615486145,
0.038159094750881195,
0.009871202521026134,
0.011501473374664783,
-0.015666726976633072,
0.04217207059264183,
0.011814987286925316,
-0.01437684241682291,
0.014744101092219353,
-0.039520639926195145,
-0.08025950193405151,
-0.008231974206864834,
0.010157844051718712,
-0.0011723173083737493,
-0.00237374659627676,
-0.01648186333477497,
-0.02253715507686138,
0.02139059081673622,
0.05252698063850403,
-0.00011203915346413851,
-0.03276665881276131,
0.07280683517456055,
-0.01767321489751339,
0.02352248504757881,
0.03348326310515404,
-0.028467044234275818,
0.013758772052824497,
0.0013716224348172545,
0.004711662884801626,
0.005983632989227772,
-0.028162486851215363,
-0.007273517549037933,
0.0021184568759053946,
-0.006731586996465921,
0.03480897843837738
] |
719,767
|
ibm_platform_services.iam_policy_management_v1
|
create_policy
|
Create a policy.
Creates a policy to grant access between a subject and a resource. There are two
types of policies: **access** and **authorization**. A policy administrator might
want to create an access policy which grants access to a user, service-id, or an
access group. They might also want to create an authorization policy and setup
access between services.
### Access
To create an access policy, use **`"type": "access"`** in the body. The possible
subject attributes are **`iam_id`** and **`access_group_id`**. Use the
**`iam_id`** subject attribute for assigning access for a user or service-id. Use
the **`access_group_id`** subject attribute for assigning access for an access
group. Assign roles that are supported by the service or platform roles. For more
information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). Use only the
resource attributes supported by the service. To view a service's or the
platform's supported attributes, check the [documentation](/docs?tab=all-docs).
The policy resource must include either the **`serviceType`**, **`serviceName`**,
**`resourceGroupId`** or **`service_group_id`** attribute and the **`accountId`**
attribute. The IAM Services group (`IAM`) is a subset of account management
services that includes the IAM platform services IAM Identity, IAM Access
Management, IAM Users Management, IAM Groups, and future IAM services. If the
subject is a locked service-id, the request will fail.
### Authorization
Authorization policies are supported by services on a case by case basis. Refer to
service documentation to verify their support of authorization policies. To create
an authorization policy, use **`"type": "authorization"`** in the body. The
subject attributes must match the supported authorization subjects of the
resource. Multiple subject attributes might be provided. The following attributes
are supported:
serviceName, serviceInstance, region, resourceType, resource, accountId,
resourceGroupId Assign roles that are supported by the service or platform roles.
For more information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). The user must
also have the same level of access or greater to the target resource in order to
grant the role. Use only the resource attributes supported by the service. To view
a service's or the platform's supported attributes, check the
[documentation](/docs?tab=all-docs). Both the policy subject and the policy
resource must include the **`accountId`** attributes. The policy subject must
include either **`serviceName`** or **`resourceGroupId`** (or both) attributes.
### Attribute Operators
Currently, only the `stringEquals` and the `stringMatch` operators are available.
Resource attributes may support one or both operators. For more information, see
[Assigning access by using wildcard
policies](https://cloud.ibm.com/docs/account?topic=account-wildcard).
### Attribute Validations
Policy attribute values must be between 1 and 1,000 characters in length. If
location related attributes like geography, country, metro, region, satellite, and
locationvalues are supported by the service, they are validated against Global
Catalog locations.
:param str type: The policy type; either 'access' or 'authorization'.
:param List[PolicySubject] subjects: The subjects associated with a policy.
:param List[PolicyRole] roles: A set of role cloud resource names (CRNs)
granted by the policy.
:param List[PolicyResource] resources: The resources associated with a
policy.
:param str description: (optional) Customer-defined description.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `Policy` object
|
def create_policy(
self,
type: str,
subjects: List['PolicySubject'],
roles: List['PolicyRole'],
resources: List['PolicyResource'],
*,
description: Optional[str] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a policy.
Creates a policy to grant access between a subject and a resource. There are two
types of policies: **access** and **authorization**. A policy administrator might
want to create an access policy which grants access to a user, service-id, or an
access group. They might also want to create an authorization policy and setup
access between services.
### Access
To create an access policy, use **`"type": "access"`** in the body. The possible
subject attributes are **`iam_id`** and **`access_group_id`**. Use the
**`iam_id`** subject attribute for assigning access for a user or service-id. Use
the **`access_group_id`** subject attribute for assigning access for an access
group. Assign roles that are supported by the service or platform roles. For more
information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). Use only the
resource attributes supported by the service. To view a service's or the
platform's supported attributes, check the [documentation](/docs?tab=all-docs).
The policy resource must include either the **`serviceType`**, **`serviceName`**,
**`resourceGroupId`** or **`service_group_id`** attribute and the **`accountId`**
attribute. The IAM Services group (`IAM`) is a subset of account management
services that includes the IAM platform services IAM Identity, IAM Access
Management, IAM Users Management, IAM Groups, and future IAM services. If the
subject is a locked service-id, the request will fail.
### Authorization
Authorization policies are supported by services on a case by case basis. Refer to
service documentation to verify their support of authorization policies. To create
an authorization policy, use **`"type": "authorization"`** in the body. The
subject attributes must match the supported authorization subjects of the
resource. Multiple subject attributes might be provided. The following attributes
are supported:
serviceName, serviceInstance, region, resourceType, resource, accountId,
resourceGroupId Assign roles that are supported by the service or platform roles.
For more information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). The user must
also have the same level of access or greater to the target resource in order to
grant the role. Use only the resource attributes supported by the service. To view
a service's or the platform's supported attributes, check the
[documentation](/docs?tab=all-docs). Both the policy subject and the policy
resource must include the **`accountId`** attributes. The policy subject must
include either **`serviceName`** or **`resourceGroupId`** (or both) attributes.
### Attribute Operators
Currently, only the `stringEquals` and the `stringMatch` operators are available.
Resource attributes may support one or both operators. For more information, see
[Assigning access by using wildcard
policies](https://cloud.ibm.com/docs/account?topic=account-wildcard).
### Attribute Validations
Policy attribute values must be between 1 and 1,000 characters in length. If
location related attributes like geography, country, metro, region, satellite, and
locationvalues are supported by the service, they are validated against Global
Catalog locations.
:param str type: The policy type; either 'access' or 'authorization'.
:param List[PolicySubject] subjects: The subjects associated with a policy.
:param List[PolicyRole] roles: A set of role cloud resource names (CRNs)
granted by the policy.
:param List[PolicyResource] resources: The resources associated with a
policy.
:param str description: (optional) Customer-defined description.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `Policy` object
"""
if type is None:
raise ValueError('type must be provided')
if subjects is None:
raise ValueError('subjects must be provided')
if roles is None:
raise ValueError('roles must be provided')
if resources is None:
raise ValueError('resources must be provided')
subjects = [convert_model(x) for x in subjects]
roles = [convert_model(x) for x in roles]
resources = [convert_model(x) for x in resources]
headers = {
'Accept-Language': accept_language,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_policy',
)
headers.update(sdk_headers)
data = {
'type': type,
'subjects': subjects,
'roles': roles,
'resources': resources,
'description': description,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/policies'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, type: str, subjects: List[ibm_platform_services.iam_policy_management_v1.PolicySubject], roles: List[ibm_platform_services.iam_policy_management_v1.PolicyRole], resources: List[ibm_platform_services.iam_policy_management_v1.PolicyResource], *, description: Optional[str] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.030324386432766914,
0.016776040196418762,
-0.006634704768657684,
-0.06750264018774033,
0.03255587816238403,
-0.01824045740067959,
-0.0403461754322052,
-0.03295435756444931,
-0.014823484234511852,
0.03757673501968384,
0.0006525122444145381,
0.08750637620687485,
0.011257081292569637,
-0.007596039678901434,
-0.05419338494539261,
-0.005787933245301247,
0.02285287156701088,
-0.001445738016627729,
-0.02801319770514965,
-0.0722445622086525,
0.02749517187476158,
0.01241267565637827,
0.01662660948932171,
-0.010300727561116219,
0.05929393693804741,
-0.037297800183296204,
0.010988106951117516,
-0.04040594771504402,
-0.0197148360311985,
0.051722802221775055,
-0.008836311288177967,
0.050686754286289215,
-0.0005672124680131674,
0.0054143574088811874,
0.027096692472696304,
0.025602389127016068,
-0.028351906687021255,
0.016965318471193314,
-0.044271212071180344,
0.028411678969860077,
-0.03976837918162346,
0.012701574712991714,
-0.003556440817192197,
-0.04929206892848015,
-0.017742356285452843,
0.013209637254476547,
0.001983687048777938,
0.027574868872761726,
0.020701074972748756,
-0.055468522012233734,
-0.001763277337886393,
0.02001369558274746,
0.015949193388223648,
-0.021936366334557533,
-0.01752319186925888,
0.024546414613723755,
-0.001125085516832769,
0.04347424954175949,
0.031041651964187622,
-0.006769191939383745,
0.0339505597949028,
0.03040408156812191,
-0.04419151693582535,
0.008741672150790691,
-0.0082784378901124,
-0.03159952536225319,
-0.015730027109384537,
-0.04550650343298912,
0.010156278498470783,
-0.011685448698699474,
0.013867130503058434,
-0.058377429842948914,
-0.032097626477479935,
0.004291139543056488,
0.049531158059835434,
-0.01920677348971367,
0.010380423627793789,
-0.07451590150594711,
0.029587196186184883,
0.03014506958425045,
0.02410808578133583,
-0.057500772178173065,
-0.006774173118174076,
-0.009234791621565819,
0.05208143591880798,
0.055309128016233444,
-0.007755431812256575,
-0.08750637620687485,
-0.013797396793961525,
0.00718261580914259,
-0.024964820593595505,
-0.0068986983969807625,
-0.02592117339372635,
-0.0049884808249771595,
-0.0029462671373039484,
-0.005573749542236328,
-0.004156652372330427,
-0.07929766923189163,
0.01171533390879631,
0.03472759947180748,
-0.026638438925147057,
0.007371894083917141,
-0.015610483475029469,
0.02685760334134102,
0.05263930931687355,
-0.0031430169474333525,
-0.013657928444445133,
0.050726599991321564,
-0.004378307145088911,
-0.011924536898732185,
0.021099556237459183,
-0.002261378336697817,
0.015730027109384537,
-0.020541682839393616,
0.03229686617851257,
0.02107963152229786,
-0.0008125271997414529,
-0.028830083087086678,
-0.019196810200810432,
0.015759913250803947,
-0.01155594177544117,
-0.01374758593738079,
0.010046696290373802,
0.013986675068736076,
0.005294813308864832,
0.03223709389567375,
-0.03564410284161568,
-0.03564410284161568,
-0.006863831076771021,
-0.017313988879323006,
-0.08017432689666748,
-0.0029612102080136538,
0.002521635964512825,
0.050168726593256,
-0.033811092376708984,
-0.046263616532087326,
-0.024486642330884933,
0.03456820547580719,
0.003999750595539808,
0.009673120453953743,
-0.0068488880060613155,
0.0467417947947979,
0.00003463358007138595,
0.025741856545209885,
-0.03681962192058563,
-0.0772654190659523,
0.03253595530986786,
-0.015012762509286404,
-0.013339143246412277,
0.0044156648218631744,
-0.0004622999404091388,
-0.06483282148838043,
-0.04002739116549492,
0.01158582791686058,
0.014106218703091145,
-0.04638316109776497,
0.001526679378002882,
-0.04642300680279732,
-0.01623809151351452,
0.010061639361083508,
-0.02046198770403862,
0.008886121213436127,
0.009359316900372505,
-0.011705372482538223,
-0.0055886926129460335,
-0.007391818333417177,
0.042039718478918076,
0.01444492768496275,
0.002140588825568557,
-0.03393063694238663,
-0.0014033993938937783,
-0.012253283523023129,
-0.01878836750984192,
-0.023052111268043518,
-0.08407943695783615,
0.014534586109220982,
0.07591058313846588,
-0.006027021445333958,
-0.036540687084198,
-0.04801693186163902,
0.022354770451784134,
-0.03628167510032654,
-0.034906916320323944,
0.0006375692319124937,
0.019475746899843216,
-0.013727662153542042,
0.009742854163050652,
0.057859405875205994,
-0.01358819380402565,
0.042039718478918076,
-0.06829959899187088,
-0.021737124770879745,
0.0028018178418278694,
-0.006853869184851646,
-0.015112383291125298,
-0.03520577400922775,
0.01861901395022869,
-0.023350972682237625,
0.0013573251198977232,
0.036540687084198,
-0.001983687048777938,
0.011017993092536926,
0.009872361086308956,
0.02753502130508423,
0.05658426880836487,
0.002521635964512825,
-0.011316853575408459,
0.011117612943053246,
-0.04010709002614021,
-0.1121324896812439,
-0.03534524515271187,
0.012083929032087326,
0.014225763268768787,
0.0027769128791987896,
-0.026259882375597954,
0.01234294194728136,
-0.001358570298179984,
-0.00007358663424383849,
0.017483344301581383,
-0.04054541885852814,
-0.00031178005156107247,
0.025841478258371353,
-0.044071972370147705,
-0.03301412984728813,
0.042398352175951004,
0.012880890630185604,
0.031161194667220116,
0.013129941187798977,
-0.057700015604496,
0.011336777359247208,
0.04088412597775459,
0.04419151693582535,
0.012811156921088696,
-0.008866196498274803,
-0.040425874292850494,
-0.042039718478918076,
-0.009817569516599178,
0.02629972994327545,
-0.017383722588419914,
0.06598841398954391,
0.03992777317762375,
0.019256582483649254,
0.01704501546919346,
0.010828714817762375,
-0.024406947195529938,
0.05040781572461128,
-0.01891787350177765,
0.016317786648869514,
0.051563411951065063,
-0.03831392526626587,
-0.0024070728104561567,
-0.004824107512831688,
-0.07045140117406845,
-0.01580972410738468,
-0.007456571329385042,
0.006510179489850998,
0.024088162928819656,
-0.1036049947142601,
0.04010709002614021,
-0.0331137515604496,
-0.023131808266043663,
0.003317352384328842,
-0.05993150547146797,
-0.01241267565637827,
-0.0037108520045876503,
-0.07220471650362015,
0.012372828088700771,
0.03685947135090828,
0.027036920189857483,
-0.007625925354659557,
0.05116492882370949,
0.08200734108686447,
0.008746652863919735,
-0.03986800089478493,
-0.009259697049856186,
-0.00017464664415456355,
0.029846208170056343,
0.020860467106103897,
-0.033193446695804596,
0.01955544389784336,
0.021278873085975647,
0.04267729073762894,
0.03444866091012955,
0.03323329612612724,
0.031838614493608475,
0.0007963388925418258,
-0.018051179125905037,
0.0254629198461771,
-0.016148433089256287,
0.01160575170069933,
0.012183548882603645,
0.07096942514181137,
0.02400846593081951,
-0.050168726593256,
0.022673554718494415,
-0.0036610420793294907,
-0.0004949878202751279,
-0.05423323065042496,
0.0722445622086525,
0.019575366750359535,
-0.017194444313645363,
0.061724670231342316,
0.09372267127037048,
-0.07945706695318222,
-0.032934434711933136,
-0.0637170746922493,
0.0201730877161026,
-0.03494676202535629,
0.0208206195384264,
0.03082248754799366,
-0.016208205372095108,
0.02149803750216961,
0.002455637790262699,
0.03805491328239441,
0.012193511240184307,
0.05335657298564911,
0.04140214994549751,
-0.0011107651516795158,
0.029806360602378845,
0.0369989387691021,
-0.008412925526499748,
0.02936803176999092,
0.027993272989988327,
-0.038712404668331146,
0.032257016748189926,
-0.07591058313846588,
-0.015929268673062325,
0.025542616844177246,
0.008656994439661503,
-0.056823357939720154,
-0.030842410400509834,
0.01260195393115282,
-0.012761346064507961,
-0.011924536898732185,
-0.04184047877788544,
0.0484154112637043,
0.036879394203424454,
-0.010838676244020462,
-0.003210260532796383,
-0.0051902118138968945,
-0.026259882375597954,
-0.03673992678523064,
0.010196126066148281,
0.03177884221076965,
-0.03452835977077484,
-0.024705806747078896,
0.07351969927549362,
0.015999002382159233,
0.036102358251810074,
-0.01817072182893753,
-0.06969428807497025,
0.059373632073402405,
0.09157087653875351,
0.04801693186163902,
0.012532220222055912,
-0.10057654231786728,
-0.014375193044543266,
-0.01580972410738468,
-0.04251789674162865,
-0.01366788987070322,
0.023609984666109085,
-0.00852250773459673,
-0.022255150601267815,
0.0369192436337471,
-0.03697901591658592,
-0.009897265583276749,
0.04343440383672714,
-0.03707863390445709,
-0.03050370141863823,
-0.06523130089044571,
0.031161194667220116,
-0.06013074517250061,
-0.07029200345277786,
0.06025028973817825,
-0.015082497149705887,
0.02894962765276432,
-0.019645102322101593,
0.01262187771499157,
-0.04211941733956337,
0.02098001167178154,
0.015451091341674328,
-0.022195378318428993,
-0.007506381254643202,
0.000029360715416260064,
0.04801693186163902,
-0.015391319058835506,
0.03628167510032654,
-0.01470393966883421,
-0.024287402629852295,
0.015251850709319115,
0.01436523161828518,
-0.01985430344939232,
0.002976153278723359,
-0.026877528056502342,
0.038971416652202606,
0.006853869184851646,
-0.10551770776510239,
0.03191830962896347,
0.012173587456345558,
0.002956229029223323,
-0.006819001864641905,
0.016277939081192017,
0.018180685117840767,
-0.005947325378656387,
-0.03827407583594322,
-0.01546105369925499,
0.07678724080324173,
0.022892719134688377,
-0.01049000583589077,
0.04451030120253563,
0.0007901126518845558,
0.009603386744856834,
-0.031041651964187622,
-0.03020484186708927,
0.04383288323879242,
-0.0005749952979385853,
0.026957223191857338,
0.058855608105659485,
-0.025502769276499748,
0.010908410884439945,
0.04670194536447525,
-0.004032127093523741,
0.07730526477098465,
0.011177385225892067,
0.012332979589700699,
0.015829648822546005,
-0.05514973774552345,
0.02155780978500843,
0.0015017744153738022,
-0.0518423467874527,
0.014823484234511852,
0.015929268673062325,
0.00026430480647832155,
-0.07881949096918106,
0.0038727349601686,
0.00992715172469616,
-0.026060642674565315,
0.008572317659854889,
-0.006111698690801859,
0.008422886952757835,
0.051882196217775345,
-0.02384907379746437,
-0.05542867258191109,
-0.006928584072738886,
-0.009678101167082787,
0.022354770451784134,
-0.015600522048771381,
-0.033452458679676056,
0.00677915383130312,
0.017672622576355934,
0.012253283523023129,
0.08384035527706146,
0.100337453186512,
0.029128944501280785,
-0.013169788755476475,
-0.0056982748210430145,
0.03452835977077484,
-0.021677352488040924,
-0.03128074109554291,
-0.061405885964632034,
0.040784504264593124,
-0.06256148219108582,
0.020960088819265366,
0.04996948689222336,
0.006540065631270409,
0.006365729961544275,
-0.0007832637638784945,
0.024546414613723755,
-0.009045513346791267,
0.05574745684862137,
-0.02359006181359291,
0.0005040158866904676,
-0.022573934867978096,
0.023410744965076447,
0.011934499256312847,
0.005005914717912674,
0.05431292951107025,
-0.027375629171729088,
-0.005867629311978817,
0.012801194563508034,
0.08304338902235031,
-0.0018355019856244326,
-0.009453956037759781,
0.038194380700588226,
-0.008696842938661575,
-0.07332046329975128,
-0.025602389127016068,
-0.0036734945606440306,
-0.0028690614271909,
0.039330050349235535,
0.010350537486374378,
-0.03191830962896347,
0.02805304527282715,
0.07969614863395691,
-0.07120851427316666,
0.0084876399487257,
-0.006604818627238274,
-0.02482535131275654,
-0.0014781145146116614,
-0.02468588389456272,
0.037297800183296204,
-0.01881825365126133,
0.003832886926829815,
0.006036983337253332,
0.07340015470981598,
0.03263557329773903,
-0.027355704456567764,
-0.02337089739739895,
-0.0035514598712325096,
-0.0029612102080136538,
-0.026419274508953094,
0.01833011582493782,
0.024387022480368614,
-0.03666023164987564,
-0.0407247319817543,
0.05726168677210808,
0.06551023572683334,
0.05889545753598213,
-0.02384907379746437,
-0.027256084606051445,
0.03885187581181526,
-0.02159765735268593,
-0.011516094207763672,
0.020960088819265366,
-0.002428242238238454,
0.041362304240465164,
-0.04383288323879242,
-0.07706617563962936,
0.0720851719379425,
0.043872732669115067,
0.026777906343340874,
0.0008567336481064558,
-0.03510615602135658,
-0.027256084606051445,
0.00630097696557641,
0.014494737610220909,
-0.06766203045845032,
-0.04773799702525139,
0.04686133563518524,
0.010679284110665321,
0.0197148360311985,
0.006191394757479429,
-0.09260693192481995,
-0.014952990226447582,
-0.005093082319945097,
0.014494737610220909,
-0.026060642674565315,
-0.0207807719707489,
0.015969116240739822,
-0.02769441343843937,
0.06786127388477325,
-0.03369154781103134,
0.009837494231760502,
0.022573934867978096,
0.01795155741274357,
0.05829773470759392,
0.07192577421665192,
-0.044390756636857986,
0.016178319230675697,
0.047140274196863174,
-0.006495236419141293,
-0.026797831058502197,
-0.020681152120232582,
-0.012223397381603718,
-0.025602389127016068,
0.01658676192164421,
0.024247555062174797,
0.04622376710176468,
-0.021776974201202393,
-0.0038054913748055696,
0.0433148592710495,
-0.011286967433989048,
-0.0169752798974514,
-0.03470767289400101,
-0.049849942326545715,
-0.01958533003926277,
0.02217545360326767,
-0.009792665019631386,
-0.031898386776447296,
0.08862212300300598,
0.026379426941275597,
0.01649710349738598,
-0.025702008977532387,
-0.05606624484062195,
-0.0011020483216270804,
0.030543550848960876,
0.022773174569010735,
0.02914886735379696,
0.04379303380846977,
0.03418964892625809,
-0.07830146700143814,
0.07196562737226486,
-0.0028541183564811945,
0.007551210466772318,
0.02155780978500843,
0.0781819224357605,
-0.002839175518602133,
-0.024426870048046112,
-0.03634144365787506,
0.037516962736845016,
-0.027216235175728798,
0.02572193369269371,
-0.025761781260371208,
0.030025525018572807,
0.038652632385492325,
-0.027933500707149506,
0.00863208994269371,
0.0045700762420892715,
0.006380673032253981,
-0.03857293725013733,
0.029168792068958282,
0.007217482663691044,
0.02608056552708149,
-0.06292010843753815,
0.0344088152050972,
-0.034129876643419266,
-0.09093330800533295,
0.03679969906806946,
0.05789925530552864,
-0.06941534578800201,
-0.0267181359231472,
0.00078077323269099,
-0.00837805774062872,
0.04845526069402695,
-0.05905484780669212,
0.012701574712991714,
-0.00523005984723568,
-0.09260693192481995,
0.007187596522271633,
-0.03076271526515484,
0.015261813066899776,
-0.000317383703077212,
-0.010998069308698177,
-0.04789738729596138,
0.05216113105416298,
0.06634704768657684,
0.03323329612612724,
0.0229524914175272,
0.08854242414236069,
-0.004537699744105339,
-0.04654255136847496,
-0.011685448698699474,
0.010400347411632538,
-0.02811281755566597,
-0.012083929032087326,
0.09882322698831558,
-0.05048751085996628,
-0.04470954090356827,
0.03889172151684761,
-0.011954423040151596,
-0.026897450909018517,
0.05144386738538742,
-0.014873294159770012,
-0.0014432475436478853,
0.0377560518682003,
0.016536951065063477,
0.008617146871984005,
0.0026922356337308884,
-0.019963886588811874,
-0.011874726973474026,
0.020541682839393616,
-0.05040781572461128,
0.08360126614570618,
0.0006855114479549229,
-0.01457443367689848,
-0.018250418826937675,
-0.020312556996941566,
-0.057142142206430435,
0.0067193820141255856,
0.054950498044490814,
0.05112508311867714,
-0.015829648822546005,
0.06076831743121147,
0.04335470497608185,
0.05622563511133194,
0.022374695166945457,
-0.0021605128422379494,
-0.08790485560894012,
0.01562044583261013,
-0.007516343146562576,
0.03369154781103134,
-0.00043957409798167646,
0.021677352488040924,
-0.048335716128349304,
0.0020696094725281,
-0.011974346823990345,
0.05216113105416298,
0.00871178600937128,
-0.12591992318630219,
-0.07587073743343353,
-0.01423572562634945,
-0.02817258983850479,
-0.013090092688798904,
-0.030902182683348656,
0.005289832130074501,
-0.01140651199966669,
-0.014972914941608906,
-0.039907846599817276,
0.001072784885764122,
0.05040781572461128,
0.00022897077724337578,
-0.029666893184185028,
-0.012860966846346855,
0.012123777531087399,
-0.03644106537103653,
0.05128447338938713,
0.014833446592092514,
-0.021836746484041214,
0.07555194944143295,
-0.0705709457397461,
-0.005220097955316305,
0.0688176304101944,
0.07272274047136307,
-0.05112508311867714,
0.022215303033590317,
0.006355768069624901,
-0.073081374168396,
0.07045140117406845,
0.019665025174617767,
-0.03159952536225319,
0.008960836566984653,
0.017094824463129044,
-0.025502769276499748,
-0.06411555409431458,
-0.005802875850349665,
-0.0233310479670763,
-0.022135606035590172,
0.0036386274732649326,
0.02733577974140644,
-0.04148184880614281,
0.012920739129185677,
0.0072025395929813385,
-0.0518423467874527,
-0.03970860689878464,
0.016467217355966568,
-0.049531158059835434,
0.028451526537537575,
0.0005342132644727826,
0.005578730721026659,
0.03040408156812191,
0.024705806747078896,
0.06395616382360458,
0.017513228580355644,
-0.03592304140329361,
-0.05132432281970978,
0.0034418776631355286,
0.007730526849627495,
-0.028571071103215218,
0.034329116344451904,
-0.042039718478918076,
0.0068986983969807625,
-0.01262187771499157,
-0.033711470663547516,
-0.0034568205010145903,
-0.03279496729373932,
-0.02681775577366352,
0.060887861996889114,
0.03540501743555069,
-0.043075770139694214,
-0.021876594051718712,
-0.0561060905456543,
0.0028142703231424093,
0.0250445157289505,
-0.006305958144366741,
-0.005399414338171482,
0.0091351717710495,
0.00019799513393081725,
-0.010420272126793861
] |
719,768
|
ibm_platform_services.iam_policy_management_v1
|
create_policy_template
|
Create a policy template.
Create a policy template. Policy templates define a policy without requiring a
subject, and you can use them to grant access to multiple subjects.
:param str name: Required field when creating a new template. Otherwise
this field is optional. If the field is included it will change the name
value for all existing versions of the template.
:param str account_id: Enterprise account ID where this template will be
created.
:param TemplatePolicy policy: The core set of properties associated with
the template's policy objet.
:param str description: (optional) Description of the policy template. This
is shown to users in the enterprise account. Use this to describe the
purpose or context of the policy for enterprise users managing IAM
templates.
:param bool committed: (optional) Committed status of the template.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `PolicyTemplateLimitData` object
|
def create_policy_template(
self,
name: str,
account_id: str,
policy: 'TemplatePolicy',
*,
description: Optional[str] = None,
committed: Optional[bool] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a policy template.
Create a policy template. Policy templates define a policy without requiring a
subject, and you can use them to grant access to multiple subjects.
:param str name: Required field when creating a new template. Otherwise
this field is optional. If the field is included it will change the name
value for all existing versions of the template.
:param str account_id: Enterprise account ID where this template will be
created.
:param TemplatePolicy policy: The core set of properties associated with
the template's policy objet.
:param str description: (optional) Description of the policy template. This
is shown to users in the enterprise account. Use this to describe the
purpose or context of the policy for enterprise users managing IAM
templates.
:param bool committed: (optional) Committed status of the template.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `PolicyTemplateLimitData` object
"""
if name is None:
raise ValueError('name must be provided')
if account_id is None:
raise ValueError('account_id must be provided')
if policy is None:
raise ValueError('policy must be provided')
policy = convert_model(policy)
headers = {
'Accept-Language': accept_language,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_policy_template',
)
headers.update(sdk_headers)
data = {
'name': name,
'account_id': account_id,
'policy': policy,
'description': description,
'committed': committed,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/policy_templates'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, name: str, account_id: str, policy: ibm_platform_services.iam_policy_management_v1.TemplatePolicy, *, description: Optional[str] = None, committed: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.017952391877770424,
-0.013613187707960606,
-0.01373608410358429,
-0.02240503765642643,
-0.019285349175333977,
-0.03828708827495575,
-0.05702412873506546,
0.008394799195230007,
0.009756118059158325,
-0.03149940446019173,
0.05290235951542854,
0.012053343467414379,
-0.05970895290374756,
-0.03291744366288185,
-0.10739292204380035,
-0.037228286266326904,
0.08704876899719238,
0.009278710931539536,
-0.0059794033877551556,
-0.008201000280678272,
0.07430531829595566,
-0.011637385003268719,
-0.06458701193332672,
-0.007076021283864975,
0.04216306656599045,
-0.04099082201719284,
-0.03352247551083565,
0.004003600683063269,
-0.014189857058227062,
-0.005695795640349388,
-0.06591051816940308,
0.053998976945877075,
0.029457425698637962,
0.05290235951542854,
-0.026167571544647217,
-0.001923808129504323,
-0.04216306656599045,
-0.02079792506992817,
-0.05562499538064003,
0.014766527339816093,
-0.017054298892617226,
0.020098358392715454,
-0.04942343384027481,
-0.028738951310515404,
-0.012166786007583141,
-0.031858641654253006,
-0.02386089228093624,
-0.01433166116476059,
-0.013253950513899326,
0.020665574818849564,
-0.0016023856587707996,
0.01859523542225361,
-0.02374744974076748,
-0.0017512798076495528,
-0.02266973815858364,
0.017508070915937424,
0.03441111370921135,
-0.07078857719898224,
-0.04129333421587944,
-0.038627419620752335,
-0.0018883571028709412,
0.04053704813122749,
-0.052751101553440094,
-0.028020476922392845,
-0.03700140118598938,
-0.04567980766296387,
-0.025392375886440277,
0.0051569403149187565,
-0.016695061698555946,
-0.03388171270489693,
0.023047883063554764,
-0.03401406109333038,
0.025241117924451828,
-0.03632074221968651,
-0.011769735254347324,
-0.022291595116257668,
0.014019692316651344,
-0.01719610206782818,
0.006990938913077116,
0.042616840451955795,
-0.053734276443719864,
-0.07759516686201096,
-0.04363783076405525,
0.029778847470879555,
0.013641548343002796,
0.03643418475985527,
0.02240503765642643,
-0.05305361747741699,
0.02940070442855358,
0.043032798916101456,
0.01850070059299469,
-0.03193426877260208,
-0.025543633848428726,
0.03711484372615814,
0.017583699896931648,
0.028587693348526955,
0.033295586705207825,
-0.020192895084619522,
0.012960889376699924,
0.03775768727064133,
-0.0512385256588459,
0.025902871042490005,
-0.03089437261223793,
-0.010928364470601082,
0.031140167266130447,
0.010720385238528252,
-0.0012455121614038944,
0.0022901352494955063,
-0.0003722356050275266,
0.008536603301763535,
0.019209720194339752,
-0.008186819963157177,
-0.031064538285136223,
-0.005090764723718166,
0.06647773087024689,
0.026867138221859932,
-0.03700140118598938,
-0.03830599784851074,
-0.047797415405511856,
0.01665724813938141,
0.012923074886202812,
-0.02841752953827381,
0.033862803131341934,
-0.03611276298761368,
0.013027064502239227,
0.03441111370921135,
0.008361711166799068,
-0.0024295758921653032,
-0.04042360559105873,
0.02446592226624489,
-0.0610702708363533,
-0.025486912578344345,
-0.024541551247239113,
0.05725101754069328,
0.021610934287309647,
-0.002080974169075489,
-0.012091157957911491,
-0.00013973606110084802,
0.03537537902593613,
0.053923349827528,
0.021762192249298096,
0.0007586515857838094,
0.06069212779402733,
0.0759691521525383,
-0.008144278079271317,
-0.027661241590976715,
-0.0006948398076929152,
-0.02365291304886341,
-0.03599931672215462,
0.016184566542506218,
0.0190679170191288,
-0.03590478375554085,
-0.0682171955704689,
-0.02520330436527729,
0.0102760661393404,
0.007284000515937805,
0.04953687638044357,
-0.02204580046236515,
-0.01719610206782818,
0.004313206300139427,
0.008739855140447617,
0.010966178961098194,
0.05675942823290825,
0.011731920763850212,
-0.0005438775406219065,
-0.02618647925555706,
0.018462885171175003,
-0.0016023856587707996,
0.011552302166819572,
-0.07063731551170349,
0.02618647925555706,
0.05407460778951645,
0.023463841527700424,
0.007406897377222776,
-0.058082934468984604,
0.030497321859002113,
0.03310651704668999,
-0.007822856307029724,
-0.04533947631716728,
-0.06069212779402733,
0.002292498480528593,
0.0008596869884058833,
-0.030364971607923508,
0.031121259555220604,
0.004062685649842024,
-0.02246175892651081,
0.01885993778705597,
0.10209890455007553,
-0.0417092926800251,
0.04787304252386093,
-0.016874680295586586,
-0.06027616932988167,
0.026318829506635666,
-0.0007580607198178768,
0.012847445905208588,
-0.03891102597117424,
-0.01032333355396986,
-0.008186819963157177,
0.009765570983290672,
0.035469915717840195,
0.013584827072918415,
-0.03199099004268646,
-0.003252039197832346,
-0.00002666211366886273,
0.07294399291276932,
0.0342598557472229,
-0.004551909398287535,
-0.03556445240974426,
-0.020098358392715454,
-0.06844408065080643,
0.007274547126144171,
-0.02318023331463337,
-0.04874277487397194,
0.02136514149606228,
-0.026054129004478455,
0.03494051471352577,
0.030289342626929283,
-0.005289290565997362,
0.026375550776720047,
-0.0437890850007534,
0.0036727245897054672,
0.03539428859949112,
0.009240896441042423,
0.016572164371609688,
0.008248267695307732,
0.023161325603723526,
0.03679342195391655,
0.03416531905531883,
-0.0015173031715676188,
0.0461713932454586,
-0.011684652417898178,
0.01909627765417099,
-0.01689358800649643,
-0.014605815522372723,
-0.031007815152406693,
-0.07199863344430923,
0.020571038126945496,
-0.08720003068447113,
0.005279837176203728,
-0.0023173142690211535,
0.033503565937280655,
0.06383072584867477,
0.020060544833540916,
0.0437890850007534,
-0.0688222274184227,
0.009973550215363503,
-0.042200881987810135,
-0.00959067977964878,
0.06787686794996262,
-0.039818573743104935,
-0.013651002198457718,
-0.0157875157892704,
-0.017375720664858818,
0.008290809579193592,
-0.014549094252288342,
-0.04012108966708183,
0.06352820992469788,
-0.08795631676912308,
0.022858811542391777,
0.020816832780838013,
-0.009099092334508896,
0.035413194447755814,
-0.06356602162122726,
-0.016014402732253075,
-0.006400088779628277,
-0.04390253126621246,
-0.009198355488479137,
0.02111934870481491,
0.027869220823049545,
0.04310842603445053,
0.05562499538064003,
0.06662899255752563,
0.03250148519873619,
-0.03460018336772919,
-0.05025535076856613,
-0.04723019897937775,
0.057515718042850494,
0.04999065026640892,
-0.038835398852825165,
-0.016789598390460014,
-0.028833488002419472,
0.013027064502239227,
0.033824991434812546,
0.04099082201719284,
0.029325075447559357,
-0.012592198327183723,
-0.06178874522447586,
-0.021875636652112007,
0.013357940129935741,
0.06042742729187012,
-0.07286836951971054,
0.07759516686201096,
0.00910381879657507,
-0.01903955452144146,
-0.058498892933130264,
-0.07078857719898224,
0.015825331211090088,
-0.0542258620262146,
0.049234360456466675,
0.01919081248342991,
0.0515410415828228,
0.056948501616716385,
-0.016732877120375633,
-0.03155612573027611,
-0.05577625334262848,
-0.05532248318195343,
0.007581789046525955,
-0.013225589878857136,
0.07048606127500534,
0.010975632816553116,
0.016392545774579048,
0.01707320660352707,
0.035677894949913025,
0.011297054588794708,
-0.023501655086874962,
0.06829282641410828,
0.06069212779402733,
-0.04269246757030487,
0.0037459898740053177,
0.010606941767036915,
-0.06258285045623779,
0.07880523055791855,
-0.03978075832128525,
0.005204208195209503,
0.04817555844783783,
-0.02991119772195816,
-0.016723422333598137,
-0.0002502250426914543,
0.049763765186071396,
-0.008021381683647633,
-0.010001911781728268,
-0.010805467143654823,
-0.0007125652628019452,
0.02779359184205532,
-0.058990478515625,
0.018217092379927635,
0.041368965059518814,
-0.03017589822411537,
-0.0245793666690588,
0.040650490671396255,
0.005960496142506599,
-0.05127634108066559,
0.0026328281965106726,
-0.016439814120531082,
-0.014435650780797005,
-0.008735128678381443,
0.0563056580722332,
0.015570083633065224,
0.058612335473299026,
-0.005260929930955172,
-0.05955769494175911,
-0.03838162496685982,
0.049234360456466675,
0.024900788441300392,
0.003311124164611101,
-0.09067895263433456,
-0.009160540997982025,
-0.0018682682421058416,
-0.06685587763786316,
-0.037852223962545395,
-0.050217535346746445,
-0.04076393321156502,
-0.04034797474741936,
0.02013617381453514,
-0.02743435464799404,
-0.01045568473637104,
0.01987147144973278,
0.005643800832331181,
-0.07574225962162018,
-0.005572898779064417,
-0.015796970576047897,
-0.07857834547758102,
-0.03373045474290848,
0.06258285045623779,
-0.007165830582380295,
-0.002199144335463643,
-0.004315569531172514,
0.01490833144634962,
-0.08228415250778198,
-0.01314050704240799,
0.022537387907505035,
-0.03894884139299393,
0.03524303063750267,
-0.024976417422294617,
0.013282311148941517,
-0.013149960897862911,
0.009765570983290672,
-0.024295758455991745,
0.033711545169353485,
-0.021724378690123558,
0.030402785167098045,
-0.023577284067869186,
-0.0023811261635273695,
0.00534128537401557,
0.003240222344174981,
-0.0010582125978544354,
-0.05517122521996498,
0.04269246757030487,
0.01066366396844387,
0.03970513120293617,
0.044847890734672546,
0.0242768507450819,
0.010493498295545578,
-0.01492723822593689,
-0.025902871042490005,
0.029570868238806725,
0.051767926663160324,
0.029381796717643738,
0.0027320911176502705,
0.03828708827495575,
-0.027907034382224083,
0.03828708827495575,
-0.03083765134215355,
-0.05607876926660538,
-0.019947100430727005,
0.050066277384757996,
-0.04900747537612915,
0.047835227102041245,
-0.05271328613162041,
0.004027234856039286,
0.01629801094532013,
0.022480666637420654,
0.05566281080245972,
-0.007335995323956013,
-0.028228456154465675,
0.025694891810417175,
-0.04367564246058464,
-0.016628887504339218,
0.00545945530757308,
-0.023407120257616043,
-0.006934217177331448,
-0.0166856087744236,
0.01233695074915886,
-0.051049452275037766,
0.07007010281085968,
0.06549455970525742,
0.007241459563374519,
0.05271328613162041,
-0.03700140118598938,
0.0434865728020668,
0.04250339791178703,
-0.010380055755376816,
-0.015617351047694683,
0.022726459428668022,
-0.0074730729684233665,
0.03155612573027611,
-0.02794484794139862,
-0.09468728303909302,
-0.008404252119362354,
0.02722637541592121,
0.0006174384034238756,
0.08500679582357407,
0.07948588579893112,
-0.02353947050869465,
-0.03509177267551422,
-0.030440600588917732,
-0.023274770006537437,
-0.0038996110670268536,
-0.00020975180086679757,
-0.005620166659355164,
0.00399178359657526,
-0.012166786007583141,
0.06920036673545837,
0.029173817485570908,
0.034959420561790466,
-0.04605795070528984,
-0.0037010854575783014,
0.04223869740962982,
-0.016156205907464027,
0.02841752953827381,
-0.016014402732253075,
0.007529794238507748,
0.0016449268441647291,
0.07857834547758102,
-0.008380618877708912,
-0.017886215820908546,
0.026564622297883034,
0.003857069881632924,
0.04590669274330139,
0.0033843896817415953,
0.05229732766747475,
-0.02013617381453514,
-0.009793932549655437,
0.044318489730358124,
0.03626401722431183,
-0.07767079770565033,
-0.014085867442190647,
-0.0010150806047022343,
-0.013244496658444405,
0.025846149772405624,
0.002099881414324045,
-0.00026647342019714415,
0.023463841527700424,
0.041066449135541916,
-0.07978840172290802,
-0.018160371109843254,
0.005171120632439852,
-0.022802088409662247,
0.056683801114559174,
-0.039402615278959274,
0.027245283126831055,
-0.029306167736649513,
-0.0033843896817415953,
0.014454558491706848,
0.043448757380247116,
0.05437711998820305,
0.01557953655719757,
-0.018339987844228745,
0.01679905131459236,
-0.016430361196398735,
-0.07025917619466782,
0.008777669630944729,
-0.010937818326056004,
0.011117436923086643,
-0.0198147501796484,
0.041633665561676025,
0.034335482865571976,
0.03136705234646797,
-0.02556254155933857,
-0.030799835920333862,
0.0283040851354599,
0.01373608410358429,
-0.006456810515373945,
0.013282311148941517,
-0.018784308806061745,
0.032217878848314285,
-0.029835568740963936,
-0.041784923523664474,
0.011117436923086643,
0.06757435202598572,
0.04590669274330139,
-0.03318214416503906,
0.02323695458471775,
-0.027604518458247185,
-0.031291425228118896,
-0.003504923079162836,
-0.08145223557949066,
-0.01764042302966118,
-0.03560226783156395,
0.04995283484458923,
0.02737763337790966,
-0.0030393332708626986,
-0.03870304673910141,
-0.024182315915822983,
0.010701477527618408,
-0.02768014743924141,
-0.03331449627876282,
0.010342241264879704,
-0.0031055083964020014,
-0.010266612283885479,
0.09362848103046417,
-0.03212334215641022,
0.016855772584676743,
-0.006901129614561796,
-0.010200437158346176,
0.062129076570272446,
0.0470789410173893,
-0.04511259123682976,
0.020325245335698128,
-0.000501336355227977,
0.005331831984221935,
-0.03756861761212349,
-0.035167399793863297,
-0.023615099489688873,
0.001702830195426941,
0.018897751346230507,
0.007184737827628851,
-0.000887456932105124,
-0.009945189580321312,
0.02302897535264492,
0.05169229954481125,
0.04091519117355347,
-0.022310500964522362,
-0.034222040325403214,
-0.049385618418455124,
0.03295525908470154,
0.06341476738452911,
0.0018233635928481817,
-0.01193044614046812,
-0.004570816643536091,
0.016609979793429375,
-0.022310500964522362,
-0.033465754240751266,
-0.027358725666999817,
-0.029892291873693466,
0.06844408065080643,
0.0015515724662691355,
-0.015324289910495281,
0.06844408065080643,
0.052751101553440094,
-0.05460400879383087,
0.05558718368411064,
0.007543974556028843,
0.025675984099507332,
0.01531483605504036,
0.11450203508138657,
0.00041211798088625073,
-0.004570816643536091,
-0.022915532812476158,
-0.05532248318195343,
-0.016732877120375633,
0.015144671313464642,
0.007279274053871632,
0.07453220337629318,
-0.001025125035084784,
-0.003077147528529167,
-0.025846149772405624,
0.00373889971524477,
0.043032798916101456,
-0.006036125123500824,
0.037908945232629776,
-0.020476503297686577,
-0.02017398737370968,
-0.05853670462965965,
0.030988909304142,
0.04284372553229332,
-0.02764233388006687,
0.044621001929044724,
-0.011211972683668137,
-0.041368965059518814,
0.002680096309632063,
0.00536964600905776,
-0.010616395622491837,
0.04310842603445053,
-0.04367564246058464,
0.017025938257575035,
0.025486912578344345,
-0.046133581548929214,
-0.04159585013985634,
-0.01208170410245657,
-0.04057486355304718,
0.018822122365236282,
-0.05536029487848282,
0.03062967211008072,
0.08258666843175888,
0.08046906441450119,
0.0019249897450208664,
-0.009524504654109478,
0.05256202816963196,
0.039251357316970825,
-0.017621515318751335,
-0.0071752844378352165,
0.018784308806061745,
0.01312160026282072,
-0.04900747537612915,
0.06447356939315796,
-0.026791509240865707,
-0.016789598390460014,
0.013698269613087177,
-0.008130097761750221,
-0.061145901679992676,
0.03250148519873619,
-0.0046653528697788715,
-0.024484829977154732,
0.03828708827495575,
0.014435650780797005,
0.019134091213345528,
0.011750827543437481,
0.015210846439003944,
0.007189464755356312,
0.01412368193268776,
-0.029930105432868004,
0.01760260760784149,
-0.016137300059199333,
-0.014766527339816093,
-0.004225760232657194,
-0.0715070515871048,
-0.023161325603723526,
-0.03223678469657898,
0.006135387811809778,
0.020665574818849564,
0.011939899995923042,
-0.0037672605831176043,
0.014965052716434002,
0.048251185566186905,
0.016969216987490654,
0.0015113947447389364,
-0.05464182049036026,
0.02323695458471775,
0.034959420561790466,
0.09135961532592773,
0.005171120632439852,
0.046398282051086426,
-0.022688645869493484,
0.014530186541378498,
-0.002138877520337701,
0.07018354535102844,
0.008125371299684048,
-0.05494433641433716,
-0.03887321427464485,
-0.014549094252288342,
0.002859714673832059,
-0.008536603301763535,
0.0016153843607753515,
-0.001689831493422389,
-0.002833717269822955,
0.004837880842387676,
-0.03303088620305061,
-0.017224464565515518,
-0.009160540997982025,
0.004287208896130323,
-0.03416531905531883,
-0.014530186541378498,
0.041066449135541916,
-0.08992266654968262,
0.05607876926660538,
0.01617511361837387,
-0.017054298892617226,
0.06931381672620773,
-0.04995283484458923,
-0.019134091213345528,
0.025486912578344345,
0.07653636485338211,
0.004183219280093908,
0.009155813604593277,
0.10141824930906296,
-0.044167231768369675,
0.056381285190582275,
0.04953687638044357,
0.0049158730544149876,
-0.0198147501796484,
0.028909116983413696,
-0.07407842576503754,
-0.010796014219522476,
-0.042465582489967346,
-0.02111934870481491,
-0.06591051816940308,
-0.0357535257935524,
0.0021436044480651617,
-0.01371717732399702,
-0.040650490671396255,
0.002044341526925564,
-0.06863315403461456,
-0.02282099612057209,
0.026224292814731598,
-0.06152404472231865,
0.01754588633775711,
-0.01073929201811552,
0.019550049677491188,
0.02318023331463337,
0.008040288463234901,
0.04367564246058464,
-0.03849506750702858,
-0.008021381683647633,
-0.04465881735086441,
0.04322186857461929,
0.029306167736649513,
0.01748916506767273,
0.05142759904265404,
-0.023709634318947792,
-0.011533395387232304,
0.028946930542588234,
-0.010606941767036915,
-0.008177366107702255,
-0.012450394220650196,
0.01073929201811552,
0.052864544093608856,
0.01611839234828949,
-0.027075117453932762,
-0.01492723822593689,
-0.025524726137518883,
-0.005828145891427994,
0.0390244722366333,
-0.0053460123017430305,
-0.04265465587377548,
-0.047532714903354645,
0.011174158193171024,
0.009718303568661213
] |
719,769
|
ibm_platform_services.iam_policy_management_v1
|
create_policy_template_assignment
|
Create a policy authorization template assignment.
Assign a policy template to child accounts and account groups. This creates the
policy in the accounts and account groups that you specify.
:param str version: specify version of response body format.
:param AssignmentTargetDetails target: assignment target account and type.
:param PolicyAssignmentV1Options options: The set of properties required
for a policy assignment.
:param List[AssignmentTemplateDetails] templates: List of template details
for policy assignment.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `PolicyAssignmentV1Collection` object
|
def create_policy_template_assignment(
self,
version: str,
target: 'AssignmentTargetDetails',
options: 'PolicyAssignmentV1Options',
templates: List['AssignmentTemplateDetails'],
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a policy authorization template assignment.
Assign a policy template to child accounts and account groups. This creates the
policy in the accounts and account groups that you specify.
:param str version: specify version of response body format.
:param AssignmentTargetDetails target: assignment target account and type.
:param PolicyAssignmentV1Options options: The set of properties required
for a policy assignment.
:param List[AssignmentTemplateDetails] templates: List of template details
for policy assignment.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `PolicyAssignmentV1Collection` object
"""
if not version:
raise ValueError('version must be provided')
if target is None:
raise ValueError('target must be provided')
if options is None:
raise ValueError('options must be provided')
if templates is None:
raise ValueError('templates must be provided')
target = convert_model(target)
options = convert_model(options)
templates = [convert_model(x) for x in templates]
headers = {
'Accept-Language': accept_language,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_policy_template_assignment',
)
headers.update(sdk_headers)
params = {
'version': version,
}
data = {
'target': target,
'options': options,
'templates': templates,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/policy_assignments'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, version: str, target: ibm_platform_services.iam_policy_management_v1.AssignmentTargetDetails, options: ibm_platform_services.iam_policy_management_v1.PolicyAssignmentV1Options, templates: List[ibm_platform_services.iam_policy_management_v1.AssignmentTemplateDetails], *, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.01954019069671631,
0.026987655088305473,
-0.037895556539297104,
-0.04047207906842232,
-0.0047910138964653015,
0.006149800028651953,
-0.06578593701124191,
-0.005881804041564465,
-0.01112417969852686,
0.010240263305604458,
0.04231513664126396,
0.002687011146917939,
-0.007696653250604868,
-0.02294420823454857,
-0.04066014662384987,
-0.020706206560134888,
0.07989098131656647,
-0.029300881549715996,
-0.003105460898950696,
-0.019126441329717636,
0.06563547998666763,
-0.008176225237548351,
-0.020630979910492897,
0.06142277270555496,
0.0006629371782764792,
-0.057811882346868515,
0.009210594929754734,
-0.010804465040564537,
-0.009685465134680271,
0.041374802589416504,
-0.055216554552316666,
0.05532939359545708,
-0.002199211623519659,
0.076317697763443,
0.017161138355731964,
0.00622972846031189,
-0.05126713961362839,
0.018581047654151917,
-0.0784616693854332,
-0.016973072662949562,
-0.01637125574052334,
0.003972921054810286,
-0.045549895614385605,
-0.01984109729528427,
-0.01767832413315773,
0.03323148936033249,
-0.00698199775069952,
-0.04118673503398895,
0.03590204194188118,
-0.042954567819833755,
0.01624901220202446,
0.0017043596599251032,
-0.017856987193226814,
0.007325220387428999,
-0.07026193290948868,
0.07913871109485626,
0.04333069920539856,
0.006784527096897364,
-0.00962904468178749,
-0.068719781935215,
0.002069915411993861,
0.03590204194188118,
-0.046866364777088165,
-0.044120583683252335,
-0.023771703243255615,
-0.0015550813404843211,
-0.04855897277593613,
-0.03103110007941723,
0.010277876630425453,
0.012045709416270256,
-0.005453951191157103,
-0.018825534731149673,
-0.031388428062200546,
-0.04069775715470314,
0.041450027376413345,
0.042954567819833755,
-0.019897518679499626,
0.007616724818944931,
0.007038417737931013,
-0.021138761192560196,
-0.08493117988109589,
-0.03462318703532219,
0.008655796758830547,
-0.0002486014273017645,
0.05980539321899414,
0.018505821004509926,
-0.015195836313068867,
-0.03357001021504402,
0.010879691690206528,
0.023489603772759438,
0.02730736881494522,
0.0055855982936918736,
-0.018693886697292328,
0.046791139990091324,
0.011904658749699593,
0.01087028905749321,
0.026197772473096848,
-0.056194502860307693,
-0.04611409828066826,
0.014170869253575802,
-0.03845975920557976,
-0.004605297464877367,
-0.0204993337392807,
0.004649963229894638,
0.026950040832161903,
-0.028868326917290688,
-0.015318079851567745,
0.02847338654100895,
-0.0021568965166807175,
-0.027608277276158333,
0.0005985829047858715,
0.001974706305190921,
-0.01156613789498806,
-0.007029014639556408,
0.045399442315101624,
0.03121916763484478,
-0.04630216211080551,
-0.04739295318722725,
-0.012468860484659672,
-0.008655796758830547,
0.059165965765714645,
-0.022624492645263672,
0.03071138635277748,
0.03323148936033249,
-0.006930279079824686,
0.012995448894798756,
-0.01907002180814743,
-0.010550574399530888,
-0.01483850833028555,
-0.050740551203489304,
-0.05446428433060646,
-0.008312573656439781,
-0.04649022966623306,
0.014452970586717129,
-0.0010890270350500941,
-0.031275589019060135,
-0.04912317171692848,
0.03071138635277748,
0.026818394660949707,
-0.03221592307090759,
0.04476001113653183,
-0.014650440774857998,
0.04400774464011192,
0.04739295318722725,
-0.015506147406995296,
-0.06330344825983047,
0.022812560200691223,
0.052094634622335434,
-0.029150428250432014,
0.03704925253987312,
-0.006563547998666763,
-0.02708168886601925,
0.009398662485182285,
-0.03640982508659363,
-0.01452819723635912,
0.015543760731816292,
0.01903240941464901,
-0.0043114423751831055,
0.027570663020014763,
-0.03071138635277748,
-0.006840947084128857,
-0.028962360695004463,
0.03834691643714905,
0.056382570415735245,
0.050815779715776443,
-0.032892968505620956,
0.02811605855822563,
-0.041713323444128036,
0.013757121749222279,
-0.04577557370066643,
0.022831367328763008,
0.02166534960269928,
0.01709531620144844,
-0.030542125925421715,
-0.05322303995490074,
-0.00854765810072422,
0.08041756600141525,
-0.0030890051275491714,
-0.0015256957849487662,
-0.007616724818944931,
-0.012703944928944111,
-0.009097754955291748,
-0.01560958381742239,
0.013183516450226307,
0.01811087876558304,
0.007541497703641653,
0.02159012295305729,
0.1066717579960823,
-0.04983782768249512,
0.019464964047074318,
-0.012656928040087223,
-0.07748372107744217,
0.03221592307090759,
0.018825534731149673,
0.020104391500353813,
-0.07876257598400116,
0.00893319584429264,
-0.022812560200691223,
0.003237108001485467,
0.03509335592389107,
-0.013747718185186386,
-0.05721006542444229,
0.023151081055402756,
0.014086239039897919,
0.06638775020837784,
0.039907876402139664,
0.0340401791036129,
-0.030391672626137733,
0.0031712844502180815,
-0.03971980884671211,
0.03975742310285568,
0.0029432529117912054,
-0.01402041595429182,
0.030147185549139977,
-0.04893510416150093,
0.0027975006960332394,
0.04622693732380867,
-0.04498569294810295,
-0.0018195508746430278,
-0.0291692353785038,
-0.060407210141420364,
0.016719181090593338,
-0.018675081431865692,
-0.010071002878248692,
0.015487340278923512,
-0.02646106667816639,
-0.025972090661525726,
0.026272999122738838,
-0.04633977636694908,
0.041525255888700485,
0.057623814791440964,
-0.006873859092593193,
-0.0015221695648506284,
-0.01717994548380375,
-0.014556406997144222,
-0.06488320976495743,
-0.0006682265666313469,
-0.03667311742901802,
0.007014909293502569,
0.0368235744535923,
0.03174575790762901,
0.04761863499879837,
0.050740551203489304,
0.01919226534664631,
-0.02053694613277912,
0.0118952551856637,
-0.05687154456973076,
-0.000788119446951896,
0.06902068853378296,
-0.035337843000888824,
0.029112813994288445,
-0.03618414327502251,
-0.056495409458875656,
0.008867371827363968,
-0.02057456038892269,
-0.0070713297463953495,
0.03806481882929802,
-0.040020715445280075,
0.05262122303247452,
-0.011801221407949924,
-0.013258743099868298,
0.023959770798683167,
-0.04938646778464317,
-0.020160812884569168,
-0.00018057397392112762,
-0.056194502860307693,
-0.030278831720352173,
0.03170814365148544,
-0.018477609381079674,
0.03360762074589729,
0.020630979910492897,
0.057699039578437805,
0.049574535340070724,
-0.01749025657773018,
-0.025934478268027306,
0.0074427626095712185,
0.050702936947345734,
0.01560958381742239,
-0.045474667102098465,
-0.009238804690539837,
0.04103628173470497,
0.0009579677134752274,
0.04472239688038826,
0.05705961212515831,
0.03355120122432709,
0.03345716744661331,
-0.05743574723601341,
-0.006681090220808983,
0.060331981629133224,
0.02397857792675495,
-0.06243833526968956,
0.0888429805636406,
0.028341738507151604,
-0.0028938851319253445,
-0.013493827544152737,
-0.009163578040897846,
0.009177682921290398,
-0.04208945855498314,
0.0263858400285244,
0.0011730697005987167,
0.05709722638130188,
0.019201669842004776,
0.004342003259807825,
-0.01282618846744299,
-0.04107389226555824,
-0.03330671414732933,
0.0155343571677804,
0.016493501141667366,
0.05860176309943199,
0.012252583168447018,
0.006474216002970934,
0.007941140793263912,
0.014923138543963432,
0.029846277087926865,
0.022135518491268158,
0.018675081431865692,
0.040321625769138336,
-0.009929952211678028,
0.02510698139667511,
-0.007804791908711195,
-0.08154597133398056,
0.06981057673692703,
0.008952002041041851,
-0.013136499561369419,
0.021477283909916878,
-0.019897518679499626,
0.020442912355065346,
0.009271716699004173,
0.04363160952925682,
0.0035662257578223944,
-0.04050969332456589,
-0.022135518491268158,
-0.011603751219809055,
0.01560958381742239,
-0.027514243498444557,
0.02038649283349514,
0.02177819050848484,
0.0003922965843230486,
0.018910164013504982,
0.03183979168534279,
-0.0006805684533901513,
-0.023470796644687653,
-0.0023849280551075935,
-0.006864455528557301,
0.004064604174345732,
0.008510044775903225,
-0.0032324064522981644,
0.035920850932598114,
-0.002938551129773259,
-0.06405571848154068,
-0.10260950773954391,
0.03417182341217995,
0.04366922378540039,
0.0055902996100485325,
0.014800895005464554,
-0.07703235745429993,
0.022850174456834793,
0.013531440868973732,
-0.03300580754876137,
-0.013080079108476639,
-0.050702936947345734,
-0.03451034426689148,
-0.034491539001464844,
0.006464812904596329,
0.003836572403088212,
-0.01725517213344574,
0.011744801886379719,
-0.030222412198781967,
-0.057849496603012085,
-0.048182837665081024,
0.00016073875303845853,
-0.07093897461891174,
-0.02053694613277912,
0.023301536217331886,
-0.04483523964881897,
0.0077389683574438095,
-0.07612963765859604,
0.03657908737659454,
-0.06127231940627098,
-0.05160566046833992,
0.05623211711645126,
-0.05047725886106491,
0.004654665011912584,
0.0011630785884335637,
-0.003836572403088212,
-0.051079072058200836,
0.04592603072524071,
-0.026047317311167717,
0.03360762074589729,
0.03855379298329353,
0.04208945855498314,
-0.020668594166636467,
-0.03274251148104668,
-0.01813908852636814,
-0.010155633091926575,
0.01756548322737217,
-0.09809589385986328,
0.04603886976838112,
-0.0018994795391336083,
0.02031126618385315,
0.0371432863175869,
0.027363788336515427,
0.002865675138309598,
-0.03370165452361107,
-0.009177682921290398,
-0.004708734340965748,
0.10900379717350006,
-0.01864686980843544,
0.030297638848423958,
0.01282618846744299,
-0.0020405298564583063,
0.023188695311546326,
-0.02521982230246067,
-0.05326065421104431,
-0.027138108387589455,
0.05390008166432381,
-0.06089618429541588,
0.04250320419669151,
-0.00645070755854249,
-0.04596364125609398,
0.0326484777033329,
0.022530460730195045,
0.050928618758916855,
0.008834460750222206,
-0.008900283835828304,
-0.023508409038186073,
-0.02023603953421116,
-0.02243642695248127,
0.010588187724351883,
-0.061535611748695374,
-0.018082669004797935,
0.00131294468883425,
0.03941890224814415,
-0.012318406254053116,
0.041713323444128036,
0.03528141975402832,
0.026761973276734352,
0.0451737605035305,
-0.047129660844802856,
0.0150265758857131,
0.021477283909916878,
-0.02196625806391239,
-0.0020370036363601685,
0.00012099484592908993,
-0.011349860578775406,
0.02127040922641754,
-0.10456540435552597,
-0.09907384216785431,
-0.0649208277463913,
0.02580283023416996,
0.002044056309387088,
0.07755894213914871,
0.0875641256570816,
0.013766524381935596,
-0.04494807869195938,
-0.030730193480849266,
-0.022737333551049232,
-0.0026752569247037172,
-0.005806577391922474,
-0.0447976253926754,
0.017311593517661095,
-0.06115948036313057,
0.10291041433811188,
0.04118673503398895,
-0.006869157310575247,
0.0008645217749290168,
0.0326484777033329,
0.044233422726392746,
-0.008082191459834576,
0.030203605070710182,
0.013935785740613937,
-0.017001282423734665,
-0.010625801049172878,
0.06078334525227547,
-0.04366922378540039,
0.0013082430232316256,
0.04118673503398895,
0.003845975734293461,
0.03059854544699192,
-0.010766851715743542,
0.02019842527806759,
0.009986372664570808,
0.0026540993712842464,
0.04743056744337082,
-0.025483116507530212,
-0.05608166381716728,
-0.00616860669106245,
-0.03121916763484478,
-0.057699039578437805,
0.036654312163591385,
0.0033993159886449575,
-0.08658617734909058,
-0.010296683758497238,
0.07056283950805664,
-0.05841369554400444,
-0.022774947807192802,
0.010672817938029766,
-0.018891358748078346,
0.02696884796023369,
-0.06525934487581253,
0.03140723705291748,
0.026216577738523483,
0.04848374426364899,
-0.02595328353345394,
0.09862247854471207,
0.06277685612440109,
0.001203042920678854,
-0.005646720062941313,
-0.024975335225462914,
0.031463656574487686,
-0.02437352016568184,
0.01535569317638874,
0.0024025593884289265,
0.03362642973661423,
0.02715691551566124,
0.12698303163051605,
0.03494289889931679,
0.0052141654305160046,
0.008138611912727356,
-0.01359726395457983,
0.019991552457213402,
0.03597727045416832,
-0.004885047674179077,
0.013456213288009167,
-0.010212053544819355,
0.010127423331141472,
-0.039832647889852524,
-0.0300531517714262,
0.011265230365097523,
0.06759137660264969,
0.020160812884569168,
-0.00792703591287136,
-0.001965302973985672,
-0.026141351088881493,
-0.0246744267642498,
0.052545998245477676,
-0.04329308867454529,
0.007278203498572111,
-0.00875923316925764,
0.019370930269360542,
0.0007522691157646477,
0.020085586234927177,
-0.05292213335633278,
-0.06337866932153702,
-0.011801221407949924,
-0.024129031226038933,
-0.0073675354942679405,
-0.010409523732960224,
0.022154325619339943,
-0.01782877743244171,
0.05544223263859749,
-0.0095538180321455,
0.019859904423356056,
0.05698438361287117,
-0.0009785376023501158,
0.031783368438482285,
0.03509335592389107,
-0.003152477787807584,
0.017772357910871506,
0.007790687028318644,
-0.000241255052969791,
-0.04389490187168121,
-0.04769386351108551,
-0.02631061151623726,
-0.022060291841626167,
0.02320750243961811,
-0.01828954368829727,
0.033870916813611984,
-0.01628662645816803,
0.0059570311568677425,
0.003862431738525629,
0.01609855890274048,
0.0177159383893013,
-0.048258062452077866,
-0.028868326917290688,
-0.011773011647164822,
0.02642345242202282,
0.012365423142910004,
-0.004426633473485708,
0.040095943957567215,
0.012309003621339798,
0.007386342156678438,
0.024392325431108475,
-0.03941890224814415,
0.004010534845292568,
0.06578593701124191,
0.022229552268981934,
-0.007785985246300697,
0.06243833526968956,
0.03635340556502342,
-0.07060045748949051,
0.05040203034877777,
0.008604077622294426,
0.022699721157550812,
0.012581700459122658,
0.07259397208690643,
-0.03430347144603729,
-0.0013458564644679427,
-0.002710519591346383,
-0.03133200854063034,
0.013380986638367176,
0.04904794692993164,
-0.0351121611893177,
0.062024589627981186,
0.052395544946193695,
-0.06330344825983047,
-0.0051060267724096775,
0.017546677961945534,
0.006243833806365728,
-0.014547004364430904,
0.036108918488025665,
-0.006295552011579275,
0.005040203221142292,
-0.11374308913946152,
0.021477283909916878,
0.023734090849757195,
-0.061798907816410065,
0.07785985618829727,
-0.040171172469854355,
-0.024166645482182503,
-0.020725013688206673,
0.045512281358242035,
-0.007621426600962877,
0.050740551203489304,
-0.027062881737947464,
0.04374444857239723,
0.008411308750510216,
-0.036466244608163834,
-0.036541473120450974,
-0.0020099689718335867,
0.005275287199765444,
-0.026084931567311287,
-0.033250294625759125,
0.032009050250053406,
0.04257843270897865,
0.029921503737568855,
0.04483523964881897,
-0.020142005756497383,
0.09328137338161469,
0.004823925904929638,
-0.029037587344646454,
-0.06913353502750397,
0.011603751219809055,
-0.008542955853044987,
-0.000057558871048968285,
0.09358227998018265,
-0.023188695311546326,
-0.014556406997144222,
-0.016803810372948647,
0.014612827450037003,
-0.032817739993333817,
0.016850827261805534,
-0.0016749742208048701,
-0.044233422726392746,
-0.01670977845788002,
0.04660307243466377,
-0.034058984369039536,
-0.005820682272315025,
-0.05574314296245575,
0.00371432863175869,
-0.03953174129128456,
-0.005204761866480112,
0.03422824293375015,
0.019154652953147888,
0.03048570640385151,
0.034566767513751984,
-0.055141326040029526,
-0.027476629242300987,
-0.060595277696847916,
0.11171196401119232,
0.0065682497806847095,
-0.059053126722574234,
-0.0013975749025121331,
0.02811605855822563,
0.022756140679121017,
-0.0007634356152266264,
-0.016032734885811806,
-0.055216554552316666,
-0.009948759339749813,
0.016615744680166245,
0.0784616693854332,
-0.02181580476462841,
0.01663454994559288,
-0.03516858071088791,
-0.017085911706089973,
-0.030880646780133247,
0.006083976477384567,
0.03246041387319565,
-0.042804110795259476,
-0.045700348913669586,
0.009760691784322262,
0.022793754935264587,
-0.03422824293375015,
0.01226198673248291,
-0.01922987960278988,
-0.02642345242202282,
0.002592977602034807,
-0.01606094464659691,
-0.00006901922461111099,
0.003512156428769231,
0.007743670139461756,
-0.04054730385541916,
-0.03357001021504402,
0.027645889669656754,
-0.05472757667303085,
0.03524380922317505,
-0.01452819723635912,
0.013277550227940083,
0.01987871155142784,
-0.07421135157346725,
-0.002468382939696312,
0.04438387602567673,
0.05397531017661095,
-0.0159763153642416,
-0.0016091506695374846,
0.024185452610254288,
-0.06800512969493866,
0.057548586279153824,
0.01352203730493784,
0.02843577228486538,
-0.033363133668899536,
0.05980539321899414,
-0.011716591194272041,
-0.05878983065485954,
0.011932868510484695,
-0.010992532595992088,
-0.022699721157550812,
-0.029338495805859566,
0.017546677961945534,
0.008843863382935524,
0.015195836313068867,
0.05292213335633278,
-0.05002589523792267,
-0.060444824397563934,
-0.009285821579396725,
-0.031783368438482285,
0.02042410708963871,
0.04114912077784538,
0.026893621310591698,
0.05747336149215698,
0.009215296246111393,
0.015289870090782642,
-0.02089427411556244,
-0.05484041944146156,
-0.048370905220508575,
0.013644280843436718,
-0.022154325619339943,
0.015600181184709072,
0.02437352016568184,
-0.02459920011460781,
-0.013691297732293606,
0.02426067925989628,
0.007790687028318644,
0.0013164709089323878,
0.008843863382935524,
-0.0296770166605711,
0.056495409458875656,
-0.01321172621101141,
-0.023395569995045662,
-0.02738259546458721,
-0.05547984689474106,
0.014208482578396797,
0.024843687191605568,
0.013409197330474854,
-0.06537218391895294,
-0.011067759245634079,
0.038196463137865067,
0.028793100267648697
] |
719,770
|
ibm_platform_services.iam_policy_management_v1
|
create_policy_template_version
|
Create a new policy template version.
Create a new version of a policy template. Use this if you need to make updates to
a policy template that is committed.
:param str policy_template_id: The policy template ID.
:param TemplatePolicy policy: The core set of properties associated with
the template's policy objet.
:param str name: (optional) Required field when creating a new template.
Otherwise this field is optional. If the field is included it will change
the name value for all existing versions of the template.
:param str description: (optional) Description of the policy template. This
is shown to users in the enterprise account. Use this to describe the
purpose or context of the policy for enterprise users managing IAM
templates.
:param bool committed: (optional) Committed status of the template version.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `PolicyTemplateLimitData` object
|
def create_policy_template_version(
self,
policy_template_id: str,
policy: 'TemplatePolicy',
*,
name: Optional[str] = None,
description: Optional[str] = None,
committed: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a new policy template version.
Create a new version of a policy template. Use this if you need to make updates to
a policy template that is committed.
:param str policy_template_id: The policy template ID.
:param TemplatePolicy policy: The core set of properties associated with
the template's policy objet.
:param str name: (optional) Required field when creating a new template.
Otherwise this field is optional. If the field is included it will change
the name value for all existing versions of the template.
:param str description: (optional) Description of the policy template. This
is shown to users in the enterprise account. Use this to describe the
purpose or context of the policy for enterprise users managing IAM
templates.
:param bool committed: (optional) Committed status of the template version.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `PolicyTemplateLimitData` object
"""
if not policy_template_id:
raise ValueError('policy_template_id must be provided')
if policy is None:
raise ValueError('policy must be provided')
policy = convert_model(policy)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_policy_template_version',
)
headers.update(sdk_headers)
data = {
'policy': policy,
'name': name,
'description': description,
'committed': committed,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['policy_template_id']
path_param_values = self.encode_path_vars(policy_template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/policy_templates/{policy_template_id}/versions'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, policy_template_id: str, policy: ibm_platform_services.iam_policy_management_v1.TemplatePolicy, *, name: Optional[str] = None, description: Optional[str] = None, committed: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.04397023096680641,
-0.034545306116342545,
-0.02051306888461113,
-0.005156943574547768,
-0.026458607986569405,
-0.059570103883743286,
-0.04217318817973137,
0.04978194832801819,
0.0015353735070675611,
-0.019069697707891464,
0.014137385413050652,
0.006428256630897522,
-0.05039370805025101,
-0.04852019250392914,
-0.08121110498905182,
-0.02389686554670334,
0.10560502111911774,
-0.0074988361448049545,
-0.03523353859782219,
0.013563860207796097,
0.07348763942718506,
-0.011202850379049778,
-0.05391132831573486,
0.002815050771459937,
0.05884363874793053,
-0.030798278748989105,
0.010294768959283829,
-0.02045571617782116,
0.03131445124745369,
-0.014663116075098515,
-0.05096723139286041,
0.04538492485880852,
0.04549963027238846,
0.055287785828113556,
-0.0284085925668478,
-0.009611318819224834,
0.001138088176958263,
-0.007790377829223871,
-0.0492466576397419,
0.05551719665527344,
0.025923319160938263,
0.035329125821590424,
-0.07467292249202728,
-0.018534408882260323,
0.008378241211175919,
-0.02359098568558693,
-0.02919241040945053,
-0.01799911819398403,
-0.027949772775173187,
0.02076159603893757,
0.007828612811863422,
-0.0045236763544380665,
-0.008770149201154709,
-0.030454164370894432,
0.004215406719595194,
0.04469669610261917,
0.07811406999826431,
-0.022118937224149704,
-0.02733801305294037,
0.006041127257049084,
-0.000899716978892684,
0.04335847124457359,
-0.05865246430039406,
-0.007451042532920837,
-0.035386476665735245,
-0.040873195976018906,
-0.0030086152255535126,
-0.011107263155281544,
-0.01779838465154171,
0.0026836178731173277,
0.013535183854401112,
-0.007212073542177677,
0.012302106246352196,
-0.0338570773601532,
0.004913195502012968,
0.01997777819633484,
-0.004793711006641388,
-0.022520406171679497,
0.008607651107013226,
0.032920319586992264,
-0.040146734565496445,
-0.11761081218719482,
-0.01603957638144493,
-0.0013896026648581028,
-0.010074918158352375,
0.013563860207796097,
0.009037794545292854,
-0.08258756250143051,
0.02963211201131344,
0.0705053061246872,
-0.002953652525320649,
-0.001548516796901822,
-0.06209361180663109,
0.011690346524119377,
0.02498656138777733,
0.018763817846775055,
0.057467181235551834,
-0.03823498263955116,
0.010763147845864296,
0.051005467772483826,
-0.040567316114902496,
-0.004913195502012968,
-0.041790835559368134,
-0.006657666526734829,
0.013726359233260155,
-0.019490282982587814,
-0.019748369231820107,
0.037011463195085526,
-0.005687453784048557,
-0.023877747356891632,
0.06350830942392349,
-0.0040648565627634525,
-0.03999379277229309,
0.003942982759326696,
0.06094656512141228,
0.018066029995679855,
-0.03733646124601364,
-0.03431589901447296,
-0.040452614426612854,
0.006839282810688019,
0.02762477472424507,
-0.050776056945323944,
0.03184974193572998,
0.00007759013533359393,
-0.03244238346815109,
0.03207915276288986,
0.002053935546427965,
-0.0059455400332808495,
-0.02510126680135727,
0.01807558909058571,
-0.044429052621126175,
0.011747698299586773,
-0.03475559875369072,
0.05532602220773697,
-0.002951262751594186,
-0.03534824401140213,
-0.03867468610405922,
0.019232196733355522,
0.023265987634658813,
0.04496433958411217,
0.022042468190193176,
-0.0028628443833440542,
0.03286296874284744,
0.04687609151005745,
-0.028523297980427742,
-0.04068202152848244,
0.010505061596632004,
-0.007398469373583794,
0.0045045590959489346,
0.026879193261265755,
0.023935100063681602,
-0.014366795308887959,
-0.007914641872048378,
-0.020073367282748222,
0.007895523682236671,
-0.025024795904755592,
0.049858417361974716,
-0.06209361180663109,
0.005682674236595631,
0.004590587690472603,
0.029460055753588676,
-0.024049805477261543,
0.08992867916822433,
0.0016214022180065513,
0.019127050414681435,
-0.003866512794047594,
0.0098646255210042,
-0.02255864068865776,
-0.025732144713401794,
-0.02846594527363777,
0.036590877920389175,
0.06331713497638702,
-0.018687348812818527,
0.013506507501006126,
-0.02647772617638111,
0.01396532729268074,
0.03271002694964409,
0.0014134995872154832,
0.01925131492316723,
-0.03251885250210762,
-0.007900303229689598,
-0.011728581041097641,
-0.04324376583099365,
0.05394956097006798,
-0.008631547912955284,
0.00874625239521265,
-0.00038742792094126344,
0.07092589139938354,
-0.03401001915335655,
0.051731932908296585,
-0.02468068152666092,
-0.08839928358793259,
0.04913195222616196,
0.020780714228749275,
0.006882296875119209,
-0.02980417013168335,
-0.015714578330516815,
-0.04144672304391861,
0.05735247582197189,
0.04186730831861496,
0.050470177084207535,
-0.0797581747174263,
-0.00899477954953909,
-0.006390021648257971,
0.051502522081136703,
0.05521131679415703,
0.00840691663324833,
-0.06362301111221313,
-0.007470159791409969,
-0.05941716581583023,
0.012780043296515942,
-0.012378576211631298,
-0.03938203305006027,
0.04377905651926994,
-0.06171126291155815,
-0.01427120715379715,
0.027739480137825012,
-0.03125710040330887,
-0.013477832078933716,
-0.02944093756377697,
0.011441818438470364,
0.040873195976018906,
-0.00857897475361824,
0.05387309193611145,
-0.014462382532656193,
0.012263870798051357,
0.03850262984633446,
0.04867313429713249,
-0.02582773193717003,
0.032786499708890915,
-0.008631547912955284,
0.039726149290800095,
0.06423477083444595,
-0.045576099306344986,
-0.061443619430065155,
-0.07348763942718506,
0.010505061596632004,
-0.03401001915335655,
0.004772203974425793,
0.005610983818769455,
0.048902545124292374,
0.025024795904755592,
0.059875983744859695,
0.03244238346815109,
-0.025732144713401794,
-0.00034082902129739523,
-0.07593467831611633,
-0.012120489962399006,
0.044123172760009766,
-0.05196134373545647,
-0.02569390833377838,
-0.009721244685351849,
-0.013602095656096935,
0.007541850674897432,
0.035921767354011536,
-0.02244393527507782,
0.05677894875407219,
-0.05031723901629448,
0.03922909125685692,
0.01127932034432888,
-0.022940989583730698,
0.0292497631162405,
-0.06641416996717453,
-0.03934379667043686,
-0.047679025679826736,
-0.06369948387145996,
-0.0025808613281697035,
0.017807943746447563,
0.0464555062353611,
0.06002892553806305,
0.024508625268936157,
0.045576099306344986,
-0.010705795139074326,
-0.013085923157632351,
-0.0604495108127594,
-0.05272604152560234,
0.01863955520093441,
0.014701351523399353,
-0.0008268314995802939,
-0.02588508464396,
-0.019805721938610077,
-0.017301330342888832,
0.049323130398988724,
0.05739070847630501,
0.038579098880290985,
0.010686677880585194,
-0.0861816555261612,
-0.005386353470385075,
0.012627103365957737,
0.027051251381635666,
-0.03406736999750137,
0.07100236415863037,
0.006356566213071346,
-0.010237417183816433,
-0.10254622250795364,
-0.04488787055015564,
-0.020608656108379364,
-0.0333026722073555,
0.04542316123843193,
-0.01164255291223526,
0.012961659580469131,
0.021201297640800476,
-0.032193854451179504,
-0.043587882071733475,
-0.04722020402550697,
-0.030568869784474373,
0.024890974164009094,
-0.014863849617540836,
0.06889943778514862,
-0.010333004407584667,
0.00041461060754954815,
0.02456597611308098,
-0.02448950707912445,
-0.015580755658447742,
-0.008234859444200993,
0.08625812083482742,
0.02817918360233307,
-0.07551409304141998,
0.024279214441776276,
0.030664457008242607,
-0.0623994916677475,
0.0848051905632019,
-0.02835123986005783,
0.02448950707912445,
0.01606825180351734,
-0.055593665689229965,
-0.015360904857516289,
-0.01799911819398403,
0.014118267223238945,
0.022654227912425995,
0.004222576040774584,
0.0197292510420084,
0.0498201847076416,
0.05154075846076012,
-0.007116486318409443,
0.027051251381635666,
0.04018496721982956,
-0.04083496332168579,
-0.02919241040945053,
0.04496433958411217,
0.07119353860616684,
-0.03873203694820404,
-0.0035749708767980337,
-0.0016249867621809244,
-0.03047328256070614,
0.0335894338786602,
0.03213650360703468,
0.01961454562842846,
0.04863489791750908,
-0.034851185977458954,
-0.09031102806329727,
-0.05219075083732605,
-0.014347677119076252,
0.007551409304141998,
-0.004310994409024715,
-0.08319932222366333,
0.02751007117331028,
-0.024107156321406364,
-0.050279002636671066,
-0.020302776247262955,
-0.06909061223268509,
-0.014643998816609383,
-0.047564320266246796,
-0.0026071479078382254,
-0.025254206731915474,
-0.018716024234890938,
0.04699079319834709,
-0.01598222367465496,
-0.0870228260755539,
-0.006997001823037863,
-0.02227187715470791,
-0.05291721597313881,
-0.016383690759539604,
0.021335121244192123,
-0.0028700134716928005,
-0.021143946796655655,
-0.05333780124783516,
-0.0036872862838208675,
-0.059875983744859695,
-0.07884053885936737,
0.02339980937540531,
-0.04687609151005745,
0.04121731221675873,
-0.04072025790810585,
-0.003715962404385209,
0.006327889859676361,
0.016221191734075546,
-0.027605658397078514,
0.0302247554063797,
0.017750591039657593,
-0.011307996697723866,
-0.01920352131128311,
0.002365789609029889,
0.010658001527190208,
0.02980417013168335,
0.011212408542633057,
-0.015313111245632172,
0.03475559875369072,
0.04335847124457359,
-0.0008770149433985353,
0.042211420834064484,
0.048405490815639496,
0.010715354233980179,
0.0044328682124614716,
-0.02068512700498104,
-0.01673736423254013,
0.044008467346429825,
0.025311559438705444,
-0.014462382532656193,
-0.011470494791865349,
0.0025402368046343327,
0.010571973398327827,
-0.050470177084207535,
-0.04989665374159813,
0.02334245666861534,
0.07104060053825378,
-0.021813057363033295,
0.06916708499193192,
-0.044008467346429825,
-0.005352897569537163,
0.04102613776922226,
0.06373772025108337,
0.08381108194589615,
0.001695482525974512,
-0.04970547929406166,
0.035921767354011536,
-0.025139501318335533,
0.011432260274887085,
-0.00793375913053751,
-0.011069027706980705,
0.0386173315346241,
-0.03332178667187691,
0.02093365415930748,
-0.022960107773542404,
0.042134951800107956,
0.04481140151619911,
0.029937991872429848,
0.07188177108764648,
-0.03305414319038391,
0.060717154294252396,
0.050470177084207535,
0.009749921038746834,
-0.0011010480811819434,
0.010638884268701077,
0.0017504453426226974,
0.026573313400149345,
-0.01605869270861149,
-0.08319932222366333,
0.009009118191897869,
0.011814610101282597,
-0.02039836347103119,
0.05199957638978958,
0.04855842888355255,
-0.01798955909907818,
-0.06499946862459183,
-0.026152728125452995,
-0.02684095874428749,
-0.01432855986058712,
-0.014491058886051178,
-0.01234034076333046,
-0.004612094722688198,
-0.01152784749865532,
0.041179075837135315,
0.026936545968055725,
-0.02642037346959114,
-0.06943473219871521,
0.029402703046798706,
0.010524178855121136,
-0.015207964926958084,
0.024661565199494362,
-0.004614484496414661,
-0.01067711878567934,
-0.0006780735566280782,
0.09681098163127899,
0.019882190972566605,
-0.003775704652070999,
0.011632993817329407,
-0.03792910277843475,
-0.0054962788708508015,
0.016842510551214218,
-0.0022331620566546917,
0.006643328350037336,
-0.025674792006611824,
0.05918775498867035,
0.01067711878567934,
-0.0758199691772461,
-0.010868294164538383,
0.013496949337422848,
-0.0014338118489831686,
0.017272653058171272,
0.008449931629002094,
-0.003438758896663785,
0.01363077200949192,
0.05838482081890106,
-0.03645705804228783,
0.007083030883222818,
-0.01676603965461254,
-0.030989455059170723,
0.04549963027238846,
-0.036476172506809235,
0.01643148437142372,
0.001838863710872829,
-0.0017946545267477632,
0.012999894097447395,
0.046417269855737686,
0.061328914016485214,
0.017693238332867622,
-0.029670346528291702,
0.01746382936835289,
0.000036312034353613853,
-0.061023034155368805,
-0.007575306110084057,
-0.0016273765359073877,
0.027242425829172134,
0.007149941753596067,
0.06159655749797821,
-0.0079767731949687,
0.03790998458862305,
-0.0335894338786602,
-0.01866823062300682,
0.020914535969495773,
0.019260872155427933,
0.01263666246086359,
-0.04267024248838425,
-0.028313005343079567,
-0.0008853788604028523,
-0.06530535221099854,
-0.0621318481862545,
0.042020246386528015,
0.0789170041680336,
-0.013535183854401112,
-0.027682127431035042,
0.0033073259983211756,
-0.008526401594281197,
-0.04462022706866264,
-0.022405700758099556,
-0.05995245277881622,
0.006767591927200556,
-0.04920842498540878,
-0.002893910277634859,
-0.018429262563586235,
0.002642993349581957,
-0.04760255292057991,
-0.04335847124457359,
0.007871626876294613,
0.012827836908400059,
-0.033990900963544846,
0.018534408882260323,
-0.02932623215019703,
-0.05115840956568718,
0.06553476303815842,
-0.004941871855407953,
0.03137180581688881,
-0.006299213506281376,
-0.024336567148566246,
0.06534358859062195,
0.03636147081851959,
-0.03867468610405922,
0.02473803423345089,
-0.01807558909058571,
0.014357236213982105,
-0.0029440936632454395,
0.013114599511027336,
-0.021335121244192123,
0.0013955768663436174,
0.05719953402876854,
0.029593877494335175,
-0.014643998816609383,
0.000679268385283649,
0.02003513090312481,
0.04293788596987724,
0.021641001105308533,
-0.009267204441130161,
-0.045461393892765045,
-0.023361574858427048,
0.02051306888461113,
0.040987901389598846,
0.006418698001652956,
0.003969269338995218,
0.011833727359771729,
0.013793270103633404,
-0.031582094728946686,
0.023361574858427048,
-0.051196642220020294,
-0.02418362721800804,
0.101322703063488,
-0.00231919065117836,
0.044429052621126175,
0.07784642279148102,
0.07463468611240387,
-0.05647306889295578,
0.015905752778053284,
0.02370568923652172,
0.0026764487847685814,
-0.004258421249687672,
0.06844062358140945,
-0.00799111183732748,
-0.01073447149246931,
0.0035200081765651703,
-0.043167296797037125,
-0.03378060832619667,
0.014586646109819412,
-0.00235384120605886,
0.04771725833415985,
-0.009267204441130161,
-0.018907198682427406,
-0.02624831534922123,
0.03588353097438812,
0.02051306888461113,
-0.017597651109099388,
0.06209361180663109,
-0.03112327679991722,
-0.00405768770724535,
-0.07390822470188141,
0.040146734565496445,
0.07199647277593613,
-0.025235088542103767,
0.05991422012448311,
-0.02745271846652031,
-0.050584882497787476,
0.011078586801886559,
0.020493950694799423,
0.0068297237157821655,
0.030454164370894432,
-0.05991422012448311,
0.02689831145107746,
0.011833727359771729,
-0.028446827083826065,
0.0021053138189017773,
-0.02334245666861534,
-0.0095157315954566,
0.03366590291261673,
-0.009128602221608162,
0.03374237194657326,
0.05647306889295578,
0.03552030026912689,
-0.006839282810688019,
-0.018152058124542236,
0.06522887945175171,
0.055899545550346375,
0.01710059680044651,
-0.04572904109954834,
0.008196624927222729,
0.03529088944196701,
-0.03353207930922508,
0.08113463222980499,
-0.02208070270717144,
0.0003214128373656422,
0.03336002305150032,
0.007068692706525326,
-0.044008467346429825,
0.011632993817329407,
-0.025904200971126556,
-0.011757257394492626,
0.015284434892237186,
-0.00862198881804943,
0.00803412590175867,
0.012072696350514889,
-0.0034029134549200535,
0.038999684154987335,
0.033264435827732086,
-0.050699587911367416,
0.04278494790196419,
-0.03179238736629486,
-0.006767591927200556,
0.02762477472424507,
-0.03949673846364021,
-0.03186886012554169,
-0.04175260290503502,
0.010180064477026463,
0.04133201763033867,
0.013659447431564331,
-0.03710705041885376,
0.02208070270717144,
0.01911749131977558,
-0.03160121291875839,
-0.0012067916104570031,
0.01016094721853733,
-0.009969771839678288,
0.02865711972117424,
0.07876406610012054,
0.01034256350249052,
0.03318796679377556,
-0.021163063123822212,
-0.015064583159983158,
-0.026860075071454048,
0.026018906384706497,
0.043473176658153534,
-0.0346982479095459,
-0.04783196374773979,
-0.019155725836753845,
-0.042211420834064484,
-0.003374237334355712,
-0.01116461493074894,
-0.011929314583539963,
0.0031161510851234198,
-0.012694014236330986,
-0.019289549440145493,
-0.026688018813729286,
-0.012206518091261387,
0.00905213225632906,
-0.02395421639084816,
-0.04010849818587303,
0.08289344608783722,
-0.06446418166160583,
0.027968890964984894,
0.006208405364304781,
-0.038884978741407394,
0.04205848276615143,
-0.054867200553417206,
-0.007613541092723608,
0.002963211154565215,
0.06304948776960373,
-0.03271002694964409,
0.05693189054727554,
0.09451688081026077,
-0.053184863179922104,
0.03964967653155327,
0.05880540609359741,
0.015685902908444405,
-0.03934379667043686,
0.004927533678710461,
-0.041179075837135315,
-0.0162307508289814,
-0.0047578657977283,
-0.021277768537402153,
0.004793711006641388,
-0.022214526310563087,
-0.013229303993284702,
-0.0017456659115850925,
-0.04416140541434288,
0.0048080491833388805,
-0.043931994587183,
-0.09405805915594101,
0.04469669610261917,
-0.03142915666103363,
0.019356461241841316,
-0.009912419132888317,
0.029995344579219818,
0.0349850095808506,
0.0028580650687217712,
0.03529088944196701,
-0.04905548319220543,
-0.023915981873869896,
-0.028504179790616035,
0.03980261832475662,
0.01788441278040409,
-0.001890241983346641,
0.010839617811143398,
-0.02382039465010166,
0.010313887149095535,
0.0215454138815403,
-0.022004233673214912,
-0.02177482284605503,
0.014720468781888485,
0.005400691647082567,
0.046417269855737686,
0.029421819373965263,
-0.020723361521959305,
-0.013047687709331512,
-0.013420479372143745,
-0.0032332458067685366,
0.021793941035866737,
-0.021258650347590446,
-0.018094705417752266,
-0.010820500552654266,
-0.00728376442566514,
-0.0069205318577587605
] |
719,771
|
ibm_platform_services.iam_policy_management_v1
|
create_role
|
Create a role.
Creates a custom role for a specific service within the account. An account owner
or a user assigned the Administrator role on the Role management service can
create a custom role. Any number of actions for a single service can be mapped to
the new role, but there must be at least one service-defined action to
successfully create the new role.
:param str display_name: The display name of the role that is shown in the
console.
:param List[str] actions: The actions of the role. For more information,
see [IAM roles and
actions](https://cloud.ibm.com/docs/account?topic=account-iam-service-roles-actions).
:param str name: The name of the role that is used in the CRN. Can only be
alphanumeric and has to be capitalized.
:param str account_id: The account GUID.
:param str service_name: The service name.
:param str description: (optional) The description of the role.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `CustomRole` object
|
def create_role(
self,
display_name: str,
actions: List[str],
name: str,
account_id: str,
service_name: str,
*,
description: Optional[str] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a role.
Creates a custom role for a specific service within the account. An account owner
or a user assigned the Administrator role on the Role management service can
create a custom role. Any number of actions for a single service can be mapped to
the new role, but there must be at least one service-defined action to
successfully create the new role.
:param str display_name: The display name of the role that is shown in the
console.
:param List[str] actions: The actions of the role. For more information,
see [IAM roles and
actions](https://cloud.ibm.com/docs/account?topic=account-iam-service-roles-actions).
:param str name: The name of the role that is used in the CRN. Can only be
alphanumeric and has to be capitalized.
:param str account_id: The account GUID.
:param str service_name: The service name.
:param str description: (optional) The description of the role.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `CustomRole` object
"""
if display_name is None:
raise ValueError('display_name must be provided')
if actions is None:
raise ValueError('actions must be provided')
if name is None:
raise ValueError('name must be provided')
if account_id is None:
raise ValueError('account_id must be provided')
if service_name is None:
raise ValueError('service_name must be provided')
headers = {
'Accept-Language': accept_language,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_role',
)
headers.update(sdk_headers)
data = {
'display_name': display_name,
'actions': actions,
'name': name,
'account_id': account_id,
'service_name': service_name,
'description': description,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v2/roles'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, display_name: str, actions: List[str], name: str, account_id: str, service_name: str, *, description: Optional[str] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04288686439394951,
-0.026158640161156654,
0.03214558586478233,
-0.06640420854091644,
0.03488470986485481,
-0.043239038437604904,
-0.05814770236611366,
0.04546947032213211,
-0.027430377900600433,
0.004182056523859501,
0.03621514141559601,
0.08021721988916397,
-0.012472799979150295,
-0.018586916849017143,
0.01222823467105627,
0.018596699461340904,
0.05959552526473999,
-0.019584741443395615,
-0.024182558059692383,
-0.043630342930555344,
0.027743419632315636,
0.04265208542346954,
0.05439119040966034,
-0.0003185455279890448,
0.06980855017900467,
0.0036586879286915064,
-0.01640539988875389,
-0.00009056536509888247,
-0.015524967573583126,
0.04769989848136902,
-0.0017205126350745559,
-0.010565195232629776,
-0.018606482073664665,
0.06178682669997215,
-0.0016605943674221635,
0.015446706674993038,
-0.0491085909307003,
0.03191080316901207,
-0.06902594119310379,
-0.024417340755462646,
0.003345645032823086,
0.012942364439368248,
0.03826948627829552,
-0.031265150755643845,
-0.004695642273873091,
-0.049343373626470566,
-0.0042505343444645405,
0.002314804820343852,
-0.030208632349967957,
-0.05869552865624428,
0.020289087668061256,
-0.008667373098433018,
-0.0003521731705404818,
-0.02856515720486641,
0.01173910591751337,
0.01535866316407919,
-0.016131488606333733,
0.0009140605689026415,
0.0036122207529842854,
0.0051652067340910435,
-0.011181497946381569,
0.023341255262494087,
-0.0653868168592453,
0.01965321972966194,
-0.03232167288661003,
0.029778197407722473,
-0.04139991104602814,
0.005942922085523605,
0.03329993039369583,
0.031969498842954636,
0.028310809284448624,
-0.0032576017547398806,
0.05137815326452255,
-0.020641261711716652,
0.05673900991678238,
0.028917331248521805,
0.012189105153083801,
-0.06519116461277008,
-0.0040059699676930904,
0.023732557892799377,
-0.017559746280312538,
-0.039893392473459244,
-0.010144543834030628,
-0.008070635609328747,
0.021815171465277672,
0.0416346937417984,
-0.006940746214240789,
-0.052082497626543045,
-0.05333467200398445,
-0.004135589115321636,
-0.015926053747534752,
-0.032536886632442474,
-0.05834335461258888,
0.04042165353894234,
-0.031754281371831894,
-0.04957815632224083,
0.042182520031929016,
-0.000018562079276307486,
0.034219492226839066,
0.04073469713330269,
-0.01424344815313816,
-0.006270639132708311,
0.023928210139274597,
0.020680392161011696,
0.04769989848136902,
0.0031622215174138546,
-0.08639981597661972,
0.043552082031965256,
-0.02433907985687256,
0.0032576017547398806,
0.007669548969715834,
0.02345864661037922,
0.01757931150496006,
0.0025972770527005196,
-0.02142386883497238,
-0.013372797518968582,
0.03308471292257309,
0.01777496188879013,
-0.04265208542346954,
0.015094533562660217,
0.044921644032001495,
-0.03376949578523636,
0.060847699642181396,
-0.018205396831035614,
-0.019017351791262627,
0.006867376621812582,
-0.052669454365968704,
0.0396781787276268,
-0.015652140602469444,
-0.03003254532814026,
-0.04703468456864357,
-0.04104774072766304,
0.03821079060435295,
0.04214338958263397,
0.01798039674758911,
0.010017369873821735,
0.010012478567659855,
0.03418036177754402,
-0.0017278495943173766,
0.057678140699863434,
0.02817385457456112,
0.03437601402401924,
-0.02357603795826435,
0.006231508683413267,
-0.06585638225078583,
-0.05505640432238579,
0.024671686813235283,
0.022128215059638023,
-0.025356467813253403,
-0.017354311421513557,
-0.024515165016055107,
-0.0539998859167099,
-0.011680410243570805,
-0.015945618972182274,
0.009645631536841393,
0.01638583466410637,
0.0475042462348938,
-0.03271297365427017,
-0.013666275888681412,
0.017686918377876282,
-0.004607598762959242,
0.015104316174983978,
-0.011474975384771824,
-0.0009385170415043831,
0.011856496334075928,
-0.026921682059764862,
0.02435864508152008,
-0.027821680530905724,
-0.04390425607562065,
-0.003644014010205865,
-0.018332570791244507,
-0.010242369957268238,
0.027254290878772736,
-0.0009641963406465948,
-0.08960850536823273,
-0.015603228472173214,
0.017608659341931343,
-0.07196071743965149,
-0.03249775618314743,
-0.018391266465187073,
-0.018479308113455772,
-0.03408253565430641,
0.0014893990010023117,
-0.027762984856963158,
0.038641221821308136,
-0.022441256791353226,
0.013519536703824997,
0.06883028894662857,
-0.0077869403176009655,
0.047269467264413834,
-0.004578251391649246,
0.01409670989960432,
0.014566273428499699,
-0.0034410252701491117,
-0.01629779115319252,
-0.03760426864027977,
-0.01424344815313816,
-0.026178205385804176,
0.030091241002082825,
-0.02338038571178913,
0.02189343236386776,
0.05313901975750923,
0.03169558569788933,
0.07368245720863342,
0.08397373557090759,
-0.039834700524806976,
-0.01836191862821579,
-0.036176010966300964,
-0.03504123166203499,
-0.12482582777738571,
-0.024319514632225037,
-0.012609755620360374,
0.009205415844917297,
0.014644534327089787,
-0.0004145371785853058,
0.053060758858919144,
0.028154289349913597,
-0.022852126508951187,
0.03459123149514198,
-0.005889118183404207,
0.03425862267613411,
0.015485837124288082,
0.00790433119982481,
-0.01581844501197338,
-0.01944778487086296,
0.0165032260119915,
0.012639103457331657,
-0.05118250101804733,
-0.02809559367597103,
0.030012980103492737,
-0.012492365203797817,
-0.008139112964272499,
0.013186928816139698,
0.007865200750529766,
-0.07732157409191132,
-0.01477170828729868,
0.028604287654161453,
-0.021756475791335106,
-0.04061730578541756,
0.05118250101804733,
-0.000440522184362635,
0.06789115816354752,
0.05274771526455879,
0.029602112248539925,
0.013411927968263626,
-0.004820370115339756,
0.016767356544733047,
0.02592385932803154,
-0.007923896424472332,
-0.009141828864812851,
-0.024299949407577515,
-0.0031353195663541555,
-0.003059504320845008,
0.006691290065646172,
0.01719778962433338,
-0.03817166015505791,
0.00020084876450709999,
-0.051808588206768036,
0.01817604899406433,
0.0027293420862406492,
-0.016718443483114243,
-0.062295522540807724,
0.016561921685934067,
-0.024769512936472893,
-0.007283136714249849,
-0.07278245687484741,
-0.02561081573367119,
0.029680373147130013,
0.018997786566615105,
0.015847792848944664,
0.06679551303386688,
0.04965641722083092,
0.013519536703824997,
-0.02817385457456112,
0.013343450613319874,
-0.036567315459251404,
0.040695566684007645,
-0.0484825074672699,
-0.06628681719303131,
-0.023693427443504333,
-0.004793468397110701,
0.006916289683431387,
0.020993433892726898,
0.04190860688686371,
0.01864561252295971,
0.001139671541750431,
-0.005938030779361725,
0.013499971479177475,
-0.03257601708173752,
0.021756475791335106,
0.0084961773827672,
0.027821680530905724,
-0.01816626638174057,
-0.02130647748708725,
0.03603905439376831,
0.011161932721734047,
-0.05568249151110649,
0.01795104891061783,
0.05486075580120087,
0.004905967973172665,
-0.037741225212812424,
0.010486934334039688,
0.059947699308395386,
-0.08538243174552917,
-0.03750644251704216,
-0.07458245009183884,
0.007772266399115324,
-0.014957576990127563,
-0.04949989542365074,
0.04104774072766304,
0.01434127427637577,
0.025591250509023666,
-0.05349119007587433,
-0.018313005566596985,
-0.005346184596419334,
0.03179341182112694,
0.057286836206912994,
-0.017051050439476967,
0.0361173152923584,
0.017657572403550148,
-0.007102158851921558,
-0.07106071710586548,
-0.028623852878808975,
-0.07841722667217255,
0.07235202193260193,
-0.053569450974464417,
-0.02453473024070263,
0.028721679002046585,
0.03793687745928764,
-0.020543435588479042,
-0.02079778164625168,
-0.03599992394447327,
0.005263032391667366,
0.012101061642169952,
-0.032556451857089996,
-0.07966940104961395,
-0.004614935722202063,
-0.02365429885685444,
0.016336921602487564,
0.01222823467105627,
-0.035002101212739944,
-0.032047759741544724,
-0.009435306303203106,
0.017696700990200043,
0.010907585732638836,
0.010839107446372509,
0.09078241884708405,
0.0003176284080836922,
-0.005825531203299761,
-0.02003473974764347,
0.01757931150496006,
0.018929308280348778,
0.05450858175754547,
0.015730401501059532,
-0.021580388769507408,
-0.045899901539087296,
-0.02934776432812214,
-0.01736409403383732,
0.02079778164625168,
-0.04269121587276459,
-0.06327378004789352,
-0.015730401501059532,
0.038426004350185394,
0.029876023530960083,
-0.007840744219720364,
-0.03214558586478233,
-0.026784725487232208,
-0.03699774667620659,
0.05020424351096153,
-0.07047376781702042,
0.04586077481508255,
-0.04445207864046097,
-0.05219988897442818,
0.04417816922068596,
0.0010626335861161351,
0.006544551346451044,
-0.0021961911115795374,
-0.020954303443431854,
-0.038934700191020966,
-0.011797801591455936,
-0.005766835529357195,
-0.0012216006871312857,
-0.02809559367597103,
-0.051808588206768036,
0.03449340537190437,
0.005673901177942753,
0.04249556362628937,
0.003626894438639283,
-0.07395636290311813,
-0.009944001212716103,
-0.053765103220939636,
-0.007019007112830877,
0.0036195574793964624,
-0.022949950769543648,
0.028897766023874283,
-0.017442354932427406,
-0.07818244397640228,
0.0341607965528965,
0.006999441888183355,
0.010653238743543625,
-0.0048448266461491585,
0.032341234385967255,
0.08530417084693909,
-0.019408654421567917,
-0.02062169648706913,
0.031069500371813774,
0.023732557892799377,
-0.011807584203779697,
-0.017002137377858162,
0.06041726469993591,
-0.009180959314107895,
0.010085848160088062,
-0.03590209782123566,
-0.061004217714071274,
-0.02563038095831871,
-0.009220088832080364,
-0.026354292407631874,
0.03621514141559601,
-0.00632933434098959,
0.013323885388672352,
0.026862986385822296,
-0.010349977761507034,
0.06433030217885971,
0.027860810980200768,
-0.0017657571006566286,
0.02600211836397648,
0.0066472687758505344,
0.032849930226802826,
0.02690211683511734,
-0.07524766772985458,
0.006794007495045662,
0.01413583941757679,
0.0033358626533299685,
-0.05509553477168083,
0.00704835494980216,
0.0010180005338042974,
-0.025258641690015793,
-0.060925956815481186,
-0.05536944791674614,
0.04288686439394951,
0.032439060509204865,
-0.05321728065609932,
-0.03570644557476044,
-0.0013499971246346831,
-0.026158640161156654,
0.0037540681660175323,
-0.03151949867606163,
-0.01172932330518961,
0.09539979696273804,
-0.0005970436031930149,
0.06937811523675919,
0.11598236113786697,
0.010291283018887043,
0.02494559995830059,
0.0038421114441007376,
-0.027039073407649994,
-0.011259758844971657,
0.0031597758643329144,
0.00756194069981575,
-0.08428677916526794,
-0.00704346364364028,
-0.05419553816318512,
0.003739394247531891,
0.0559564046561718,
0.045704253017902374,
-0.0008137890254147351,
-0.0005848153377883136,
-0.03590209782123566,
-0.012042365968227386,
0.001732740900479257,
0.013519536703824997,
-0.03644992411136627,
0.03664557635784149,
-0.023712992668151855,
0.032262977212667465,
0.028623852878808975,
0.017051050439476967,
-0.03742818161845207,
-0.007625527214258909,
0.034512970596551895,
0.08350417017936707,
0.011944539844989777,
-0.004382599610835314,
-0.010692369192838669,
0.009298349730670452,
0.006104335188865662,
0.0011378373019397259,
0.02445646934211254,
0.015955401584506035,
0.010438021272420883,
0.020171696320176125,
-0.030658630654215813,
-0.004905967973172665,
0.040108609944581985,
-0.05176945775747299,
-0.05443032085895538,
0.025199946016073227,
0.0067304205149412155,
-0.003120645647868514,
0.00537553196772933,
0.02248038724064827,
-0.016552139073610306,
0.027449941262602806,
-0.020582566037774086,
0.01296192966401577,
-0.02885863557457924,
-0.03993252292275429,
-0.013861927203834057,
-0.016855400055646896,
-0.004539120942354202,
-0.027039073407649994,
0.02367386408150196,
0.03713470324873924,
-0.09422589093446732,
-0.018528221175074577,
0.07779113948345184,
-0.01492822915315628,
0.06863463670015335,
0.005796183366328478,
-0.014624969102442265,
-0.005038032773882151,
-0.015534750185906887,
0.03083471767604351,
0.057599879801273346,
-0.030560804530978203,
0.04636946693062782,
-0.010144543834030628,
-0.04754337668418884,
0.04613468423485756,
0.055017273873090744,
-0.02878037467598915,
-0.00407200213521719,
-0.049225982278585434,
-0.03472818806767464,
-0.04406077787280083,
0.02257821336388588,
-0.06659986078739166,
0.037741225212812424,
0.022304300218820572,
-0.007694005500525236,
0.04578251391649246,
0.05223901942372322,
-0.059360746294260025,
-0.02954341657459736,
-0.09798239916563034,
-0.018635829910635948,
-0.008373895660042763,
0.00032863381784409285,
0.01787278801202774,
0.015955401584506035,
0.05814770236611366,
0.010633673518896103,
-0.023106472566723824,
0.058069441467523575,
0.03554992377758026,
0.04132165387272835,
0.025571685284376144,
-0.0653868168592453,
0.021776041015982628,
0.0429651252925396,
-0.008192917332053185,
0.05458684265613556,
-0.018919525668025017,
-0.024476034566760063,
0.010012478567659855,
0.04014774039387703,
0.005654335953295231,
0.00554672721773386,
0.0037345029413700104,
0.0009079464362002909,
0.011269541457295418,
-0.025180382654070854,
-0.007522810250520706,
-0.011514105834066868,
-0.03672383725643158,
0.0180586576461792,
0.08053026348352432,
-0.01413583941757679,
0.0230869073420763,
0.01913474313914776,
-0.026862986385822296,
-0.034219492226839066,
0.0049964566715061665,
-0.09508675336837769,
-0.03361297398805618,
0.003015482798218727,
-0.03022819757461548,
0.018821699544787407,
0.0471520759165287,
0.020504305139183998,
-0.02993471920490265,
0.07149115204811096,
0.0010014924919232726,
-0.007522810250520706,
0.008955959230661392,
0.05086945742368698,
0.02101299911737442,
-0.004888848401606083,
-0.018097788095474243,
0.03374993056058884,
-0.017686918377876282,
-0.009347262792289257,
-0.007821178995072842,
0.05083032697439194,
0.00003481225576251745,
-0.021228216588497162,
0.0018868166953325272,
-0.04503903537988663,
-0.01747170276939869,
0.00632933434098959,
-0.006686398759484291,
-0.0284673310816288,
0.013157580979168415,
-0.03457166627049446,
0.04061730578541756,
-0.06554333865642548,
-0.04139991104602814,
0.013832579366862774,
0.08201722055673599,
-0.033123843371868134,
-0.03543253242969513,
-0.047778159379959106,
-0.004455968737602234,
0.012981493957340717,
-0.07880853116512299,
0.03269340842962265,
0.011680410243570805,
0.009645631536841393,
-0.01796083152294159,
-0.02858472242951393,
-0.046995554119348526,
0.03345645219087601,
-0.024026036262512207,
-0.07462158054113388,
0.06519116461277008,
0.008515742607414722,
0.029817327857017517,
0.03130428120493889,
0.08146939426660538,
-0.041086871176958084,
-0.0010968727292492986,
0.03404340520501137,
0.008672264404594898,
0.011934757232666016,
-0.02848689630627632,
0.10659108310937881,
0.0029543417040258646,
-0.061121609061956406,
0.04366947337985039,
-0.011504323221743107,
-0.0565824881196022,
0.036567315459251404,
-0.02944559045135975,
-0.011660845018923283,
0.023439081385731697,
0.01015432644635439,
-0.04042165353894234,
0.014791273511946201,
0.01785322278738022,
0.009234762750566006,
0.020582566037774086,
-0.018626047298312187,
0.06816507130861282,
-0.03650861978530884,
-0.01629779115319252,
-0.0282912440598011,
0.07176506519317627,
-0.03296732157468796,
0.05235641077160835,
0.02306734211742878,
0.04468686133623123,
-0.03525644913315773,
0.018518438562750816,
0.02357603795826435,
0.05489988252520561,
0.05372597277164459,
-0.0255325548350811,
-0.07454331964254379,
0.06444769352674484,
0.0007489793933928013,
-0.0010742504382506013,
-0.009205415844917297,
0.01413583941757679,
0.0025018968153744936,
0.011210845783352852,
0.012795625254511833,
0.052982497960329056,
-0.006955420132726431,
-0.05705205351114273,
-0.05098684877157211,
0.004727435763925314,
-0.0160140972584486,
-0.06683464348316193,
0.010389108210802078,
-0.0333586260676384,
0.09438241273164749,
-0.04022600129246712,
-0.05028250440955162,
0.006510312203317881,
0.055721621960401535,
0.019711915403604507,
-0.012854320928454399,
-0.02002495713531971,
0.08773025125265121,
-0.019379306584596634,
0.031362976878881454,
0.006119008641690016,
-0.027528202161192894,
0.06914333254098892,
-0.025571685284376144,
0.016336921602487564,
0.066012904047966,
0.08968676626682281,
0.0018012190703302622,
-0.03457166627049446,
-0.02670646458864212,
0.0013891274575144053,
0.033026017248630524,
0.02347821183502674,
-0.00007340762385865673,
0.03860209137201309,
0.04046078398823738,
-0.032341234385967255,
-0.0669911652803421,
0.007033681031316519,
-0.05000859126448631,
-0.06350856274366379,
0.02377168834209442,
0.035373836755752563,
-0.003577981609851122,
-0.0017718712333589792,
0.009459762834012508,
-0.012785842642188072,
0.04390425607562065,
-0.014947794377803802,
-0.046995554119348526,
-0.009454871527850628,
0.02541516348719597,
-0.029230372980237007,
0.02964124269783497,
-0.02298908121883869,
0.08311286568641663,
0.08115635067224503,
0.013920622877776623,
-0.02985645830631256,
0.05822596326470375,
0.002526353346183896,
0.013186928816139698,
0.05482162535190582,
-0.002670646645128727,
0.012463017366826534,
-0.03682166337966919,
-0.01153367105871439,
0.04859989881515503,
-0.029817327857017517,
-0.06264769285917282,
0.02396734058856964,
0.014253230765461922,
0.005576075054705143,
-0.018811916932463646,
0.01109345443546772,
-0.05697379261255264,
0.02042604424059391,
-0.009489110670983791,
0.02954341657459736,
0.017990179359912872,
0.03682166337966919,
-0.003771187737584114
] |
719,772
|
ibm_platform_services.iam_policy_management_v1
|
create_v2_policy
|
Create a policy.
Creates a policy to grant access between a subject and a resource. Currently,
there is one type of a v2/policy: **access**. A policy administrator might want to
create an access policy that grants access to a user, service-id, or an access
group.
### Access
To create an access policy, use **`"type": "access"`** in the body. The supported
subject attributes are **`iam_id`** and **`access_group_id`**. Use the
**`iam_id`** subject attribute to assign access to a user or service-id. Use the
**`access_group_id`** subject attribute to assign access to an access group.
Assign roles that are supported by the service or platform roles. For more
information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). Use only the
resource attributes supported by the service. To view a service's or the
platform's supported attributes, check the [documentation](/docs?tab=all-docs).
The policy resource must include either the **`serviceType`**, **`serviceName`**,
**`resourceGroupId`** or **`service_group_id`** attribute and the **`accountId`**
attribute. In the rule field, you can specify a single condition by using
**`key`**, **`value`**, and condition **`operator`**, or a set of **`conditions`**
with a combination **`operator`**. The possible combination operators are
**`and`** and **`or`**.
Currently, we support two types of patterns:
1. `time-based`: Used to specify a time-based restriction
Combine conditions to specify a time-based restriction (e.g., access only during
business hours, during the Monday-Friday work week). For example, a policy can
grant access Monday-Friday, 9:00am-5:00pm using the following rule:
```json
"rule": {
"operator": "and",
"conditions": [{
"key": "{{environment.attributes.day_of_week}}",
"operator": "dayOfWeekAnyOf",
"value": ["1+00:00", "2+00:00", "3+00:00", "4+00:00", "5+00:00"]
},
"key": "{{environment.attributes.current_time}}",
"operator": "timeGreaterThanOrEquals",
"value": "09:00:00+00:00"
},
"key": "{{environment.attributes.current_time}}",
"operator": "timeLessThanOrEquals",
"value": "17:00:00+00:00"
}]
}
``` You can use the following operators in the **`key`** and **`value`** pair:
```
'timeLessThan', 'timeLessThanOrEquals', 'timeGreaterThan',
'timeGreaterThanOrEquals',
'dateLessThan', 'dateLessThanOrEquals', 'dateGreaterThan',
'dateGreaterThanOrEquals',
'dateTimeLessThan', 'dateTimeLessThanOrEquals', 'dateTimeGreaterThan',
'dateTimeGreaterThanOrEquals',
'dayOfWeekEquals', 'dayOfWeekAnyOf'
``` The pattern field that matches the rule is required when rule is provided. For
the business hour rule example above, the **`pattern`** is
**`"time-based-conditions:weekly"`**. For more information, see [Time-based
conditions
operators](/docs/account?topic=account-iam-condition-properties&interface=ui#policy-condition-properties)
and
[Limiting access with time-based
conditions](/docs/account?topic=account-iam-time-based&interface=ui). If the
subject is a locked service-id, the request will fail.
2. `attribute-based`: Used to specify a combination of OR/AND based conditions
applied on resource attributes.
Combine conditions to specify an attribute-based condition using AND/OR-based
operators.
For example, a policy can grant access based on multiple conditions applied on the
resource attributes below:
```json
"pattern": "attribute-based-condition:resource:literal-and-wildcard"
"rule": {
"operator": "or",
"conditions": [
{
"operator": "and",
"conditions": [
{
"key": "{{resource.attributes.prefix}}",
"operator": "stringEquals",
"value": "home/test"
},
{
"key": "{{environment.attributes.delimiter}}",
"operator": "stringEquals",
"value": "/"
}
]
},
{
"key": "{{resource.attributes.path}}",
"operator": "stringMatch",
"value": "home/David/*"
}
]
}
```
In addition to satisfying the `resources` section, the policy grants permission
only if either the `path` begins with `home/David/` **OR** the `prefix` is
`home/test` and the `delimiter` is `/`. This mechanism helps you consolidate
multiple policies in to a single policy, making policies easier to administer and
stay within the policy limit for an account. View the list of operators that can
be used in the condition
[here](/docs/account?topic=account-wildcard#string-comparisons).
### Authorization
Authorization policies are supported by services on a case by case basis. Refer to
service documentation to verify their support of authorization policies. To create
an authorization policy, use **`"type": "authorization"`** in the body. The
subject attributes must match the supported authorization subjects of the
resource. Multiple subject attributes might be provided. The following attributes
are supported:
serviceName, serviceInstance, region, resourceType, resource, accountId,
resourceGroupId Assign roles that are supported by the service or platform roles.
For more information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). The user must
also have the same level of access or greater to the target resource in order to
grant the role. Use only the resource attributes supported by the service. To view
a service's or the platform's supported attributes, check the
[documentation](/docs?tab=all-docs). Both the policy subject and the policy
resource must include the **`accountId`** attributes. The policy subject must
include either **`serviceName`** or **`resourceGroupId`** (or both) attributes.
### Attribute Operators
Currently, only the `stringEquals`, `stringMatch`, and `stringEquals` operators
are available. For more information, see [Assigning access by using wildcard
policies](https://cloud.ibm.com/docs/account?topic=account-wildcard).
### Attribute Validations
Policy attribute values must be between 1 and 1,000 characters in length. If
location related attributes like geography, country, metro, region, satellite, and
locationvalues are supported by the service, they are validated against Global
Catalog locations.
:param Control control: Specifies the type of access granted by the policy.
:param str type: The policy type; either 'access' or 'authorization'.
:param str description: (optional) Description of the policy.
:param V2PolicySubject subject: (optional) The subject attributes for whom
the policy grants access.
:param V2PolicyResource resource: (optional) The resource attributes to
which the policy grants access.
:param str pattern: (optional) Indicates pattern of rule, either
'time-based-conditions:once', 'time-based-conditions:weekly:all-day', or
'time-based-conditions:weekly:custom-hours'.
:param V2PolicyRule rule: (optional) Additional access conditions
associated with the policy.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - French (Standard)
* `it` - Italian (Standard)
* `ja` - Japanese
* `ko` - Korean
* `pt-br` - Portuguese (Brazil)
* `zh-cn` - Chinese (Simplified, PRC)
* `zh-tw` - (Chinese, Taiwan).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result representing a `V2Policy` object
|
def create_v2_policy(
self,
control: 'Control',
type: str,
*,
description: Optional[str] = None,
subject: Optional['V2PolicySubject'] = None,
resource: Optional['V2PolicyResource'] = None,
pattern: Optional[str] = None,
rule: Optional['V2PolicyRule'] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a policy.
Creates a policy to grant access between a subject and a resource. Currently,
there is one type of a v2/policy: **access**. A policy administrator might want to
create an access policy that grants access to a user, service-id, or an access
group.
### Access
To create an access policy, use **`"type": "access"`** in the body. The supported
subject attributes are **`iam_id`** and **`access_group_id`**. Use the
**`iam_id`** subject attribute to assign access to a user or service-id. Use the
**`access_group_id`** subject attribute to assign access to an access group.
Assign roles that are supported by the service or platform roles. For more
information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). Use only the
resource attributes supported by the service. To view a service's or the
platform's supported attributes, check the [documentation](/docs?tab=all-docs).
The policy resource must include either the **`serviceType`**, **`serviceName`**,
**`resourceGroupId`** or **`service_group_id`** attribute and the **`accountId`**
attribute. In the rule field, you can specify a single condition by using
**`key`**, **`value`**, and condition **`operator`**, or a set of **`conditions`**
with a combination **`operator`**. The possible combination operators are
**`and`** and **`or`**.
Currently, we support two types of patterns:
1. `time-based`: Used to specify a time-based restriction
Combine conditions to specify a time-based restriction (e.g., access only during
business hours, during the Monday-Friday work week). For example, a policy can
grant access Monday-Friday, 9:00am-5:00pm using the following rule:
```json
"rule": {
"operator": "and",
"conditions": [{
"key": "{{environment.attributes.day_of_week}}",
"operator": "dayOfWeekAnyOf",
"value": ["1+00:00", "2+00:00", "3+00:00", "4+00:00", "5+00:00"]
},
"key": "{{environment.attributes.current_time}}",
"operator": "timeGreaterThanOrEquals",
"value": "09:00:00+00:00"
},
"key": "{{environment.attributes.current_time}}",
"operator": "timeLessThanOrEquals",
"value": "17:00:00+00:00"
}]
}
``` You can use the following operators in the **`key`** and **`value`** pair:
```
'timeLessThan', 'timeLessThanOrEquals', 'timeGreaterThan',
'timeGreaterThanOrEquals',
'dateLessThan', 'dateLessThanOrEquals', 'dateGreaterThan',
'dateGreaterThanOrEquals',
'dateTimeLessThan', 'dateTimeLessThanOrEquals', 'dateTimeGreaterThan',
'dateTimeGreaterThanOrEquals',
'dayOfWeekEquals', 'dayOfWeekAnyOf'
``` The pattern field that matches the rule is required when rule is provided. For
the business hour rule example above, the **`pattern`** is
**`"time-based-conditions:weekly"`**. For more information, see [Time-based
conditions
operators](/docs/account?topic=account-iam-condition-properties&interface=ui#policy-condition-properties)
and
[Limiting access with time-based
conditions](/docs/account?topic=account-iam-time-based&interface=ui). If the
subject is a locked service-id, the request will fail.
2. `attribute-based`: Used to specify a combination of OR/AND based conditions
applied on resource attributes.
Combine conditions to specify an attribute-based condition using AND/OR-based
operators.
For example, a policy can grant access based on multiple conditions applied on the
resource attributes below:
```json
"pattern": "attribute-based-condition:resource:literal-and-wildcard"
"rule": {
"operator": "or",
"conditions": [
{
"operator": "and",
"conditions": [
{
"key": "{{resource.attributes.prefix}}",
"operator": "stringEquals",
"value": "home/test"
},
{
"key": "{{environment.attributes.delimiter}}",
"operator": "stringEquals",
"value": "/"
}
]
},
{
"key": "{{resource.attributes.path}}",
"operator": "stringMatch",
"value": "home/David/*"
}
]
}
```
In addition to satisfying the `resources` section, the policy grants permission
only if either the `path` begins with `home/David/` **OR** the `prefix` is
`home/test` and the `delimiter` is `/`. This mechanism helps you consolidate
multiple policies in to a single policy, making policies easier to administer and
stay within the policy limit for an account. View the list of operators that can
be used in the condition
[here](/docs/account?topic=account-wildcard#string-comparisons).
### Authorization
Authorization policies are supported by services on a case by case basis. Refer to
service documentation to verify their support of authorization policies. To create
an authorization policy, use **`"type": "authorization"`** in the body. The
subject attributes must match the supported authorization subjects of the
resource. Multiple subject attributes might be provided. The following attributes
are supported:
serviceName, serviceInstance, region, resourceType, resource, accountId,
resourceGroupId Assign roles that are supported by the service or platform roles.
For more information, see [IAM roles and
actions](/docs/account?topic=account-iam-service-roles-actions). The user must
also have the same level of access or greater to the target resource in order to
grant the role. Use only the resource attributes supported by the service. To view
a service's or the platform's supported attributes, check the
[documentation](/docs?tab=all-docs). Both the policy subject and the policy
resource must include the **`accountId`** attributes. The policy subject must
include either **`serviceName`** or **`resourceGroupId`** (or both) attributes.
### Attribute Operators
Currently, only the `stringEquals`, `stringMatch`, and `stringEquals` operators
are available. For more information, see [Assigning access by using wildcard
policies](https://cloud.ibm.com/docs/account?topic=account-wildcard).
### Attribute Validations
Policy attribute values must be between 1 and 1,000 characters in length. If
location related attributes like geography, country, metro, region, satellite, and
locationvalues are supported by the service, they are validated against Global
Catalog locations.
:param Control control: Specifies the type of access granted by the policy.
:param str type: The policy type; either 'access' or 'authorization'.
:param str description: (optional) Description of the policy.
:param V2PolicySubject subject: (optional) The subject attributes for whom
the policy grants access.
:param V2PolicyResource resource: (optional) The resource attributes to
which the policy grants access.
:param str pattern: (optional) Indicates pattern of rule, either
'time-based-conditions:once', 'time-based-conditions:weekly:all-day', or
'time-based-conditions:weekly:custom-hours'.
:param V2PolicyRule rule: (optional) Additional access conditions
associated with the policy.
:param str accept_language: (optional) Language code for translations
* `default` - English
* `de` - German (Standard)
* `en` - English
* `es` - Spanish (Spain)
* `fr` - F
|
(self, control: ibm_platform_services.iam_policy_management_v1.Control, type: str, *, description: Optional[str] = None, subject: Optional[ibm_platform_services.iam_policy_management_v1.V2PolicySubject] = None, resource: Optional[ibm_platform_services.iam_policy_management_v1.V2PolicyResource] = None, pattern: Optional[str] = None, rule: Optional[ibm_platform_services.iam_policy_management_v1.V2PolicyRule] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.014843957498669624,
0.013586344197392464,
-0.009627955965697765,
-0.040614716708660126,
0.04407830536365509,
-0.04166616499423981,
-0.017379799857735634,
-0.03688311204314232,
-0.03719235956668854,
0.0068601761013269424,
0.012174106203019619,
0.0714571624994278,
0.01564800553023815,
-0.021668054163455963,
-0.04255267605185509,
0.03267732262611389,
0.037893325090408325,
0.002483012620359659,
-0.02325553260743618,
-0.04964479058980942,
0.012916304171085358,
-0.013225553557276726,
0.020513523370027542,
-0.006520002149045467,
0.047047097235918045,
0.005151574965566397,
-0.01786429062485695,
-0.020595990121364594,
-0.01288537960499525,
0.0020333128049969673,
-0.039851900190114975,
0.016720067709684372,
0.0023773524444550276,
0.015349064022302628,
0.03748099133372307,
-0.025049177929759026,
-0.014287308789789677,
0.024595612660050392,
-0.08691961318254471,
0.042758844792842865,
-0.03482145071029663,
0.029811613261699677,
-0.03987251967191696,
-0.03826442360877991,
-0.004922214895486832,
0.010916493833065033,
0.015977870672941208,
0.03455343469977379,
0.04486173763871193,
-0.0678698718547821,
0.017256099730730057,
0.001686696195974946,
-0.014173917472362518,
-0.0236472487449646,
0.0011996288085356355,
0.007787923328578472,
-0.010313457809388638,
0.06147872284054756,
0.06436504423618317,
-0.02412142977118492,
0.02187422104179859,
0.013998676091432571,
-0.06989029794931412,
0.008189947344362736,
-0.025543976575136185,
-0.027110839262604713,
-0.01624588668346405,
-0.04671723395586014,
-0.007452903315424919,
-0.004625851288437843,
-0.03890353813767433,
-0.04137752950191498,
0.003958388697355986,
0.0006184981903061271,
-0.002346427645534277,
-0.04502667114138603,
0.03393493592739105,
-0.03939833492040634,
0.019709477201104164,
0.013947134837508202,
0.018853887915611267,
-0.04671723395586014,
0.011885474435985088,
-0.02267826721072197,
0.028368450701236725,
0.06370531767606735,
-0.015472764149308205,
-0.08308492600917816,
-0.018451863899827003,
0.005592254921793938,
-0.011967940255999565,
-0.02618309110403061,
-0.04601626843214035,
0.02443067915737629,
0.03768715634942055,
-0.011318517848849297,
-0.025956308469176292,
-0.06589067727327347,
-0.01430792547762394,
0.03787270933389664,
-0.036429546773433685,
-0.013308020308613777,
-0.00627775676548481,
0.029502365738153458,
0.07211688905954361,
-0.032450538128614426,
-0.04952109232544899,
0.06168488785624504,
-0.015977870672941208,
-0.017926139757037163,
0.010488699190318584,
0.007751844357699156,
0.007947701960802078,
-0.035563647747039795,
0.023214299231767654,
0.07574541866779327,
-0.01907036267220974,
-0.02898694947361946,
-0.011009268462657928,
0.0020603721495717764,
0.005115495529025793,
-0.013689427636563778,
0.03607906401157379,
0.005375780165195465,
0.015276906080543995,
0.03055381216108799,
-0.0529022142291069,
-0.02074030600488186,
-0.026038775220513344,
0.016936542466282845,
-0.0840332880616188,
-0.017750898376107216,
-0.008674437180161476,
0.04717079922556877,
-0.04642859846353531,
-0.049562323838472366,
0.045109137892723083,
0.032450538128614426,
-0.015245981514453888,
0.03465651720762253,
0.0012563244672492146,
0.038676753640174866,
-0.029461132362484932,
-0.035254400223493576,
-0.033316437155008316,
-0.08254889398813248,
0.03506884723901749,
0.021358804777264595,
0.020626915618777275,
0.0009947513462975621,
0.0030692974105477333,
-0.03247115761041641,
-0.0216886717826128,
0.027069605886936188,
0.039439570158720016,
-0.013978059403598309,
0.008365188725292683,
-0.07937394082546234,
-0.029419898986816406,
-0.016184037551283836,
-0.026100624352693558,
-0.01624588668346405,
-0.031110459938645363,
-0.000153094413690269,
0.03910970315337181,
0.0057211085222661495,
0.047253262251615524,
-0.002166032325476408,
0.012246265076100826,
-0.02519349381327629,
-0.015946945175528526,
-0.023606015369296074,
-0.0028193211182951927,
-0.001053379732184112,
-0.04044978320598602,
0.04914999008178711,
0.04288254305720329,
-0.008942453190684319,
0.00170988985337317,
-0.05079932138323784,
0.03412048518657684,
-0.013308020308613777,
-0.03275978937745094,
0.010029979050159454,
-0.012679213657975197,
-0.02129695564508438,
0.012658596970140934,
0.04902629181742668,
-0.02315245009958744,
0.06683903932571411,
-0.040429167449474335,
-0.026389257982373238,
0.03447096794843674,
0.010297995060682297,
-0.0027677796315401793,
-0.05071685463190079,
0.041212599724531174,
0.0061592115089297295,
0.0311310775578022,
0.03253300487995148,
-0.0029069415759295225,
0.005195384845137596,
-0.007236429024487734,
0.027090221643447876,
0.045274071395397186,
0.017823057249188423,
0.03115169331431389,
0.043047476559877396,
-0.02480177767574787,
-0.07269416004419327,
-0.06535464525222778,
0.01512228138744831,
0.009731038473546505,
0.005654104519635439,
-0.009014611132442951,
0.01873018778860569,
-0.024059580639004707,
0.015946945175528526,
0.0025010521057993174,
0.001707312767393887,
-0.0007518618949688971,
0.008236334659159184,
-0.047253262251615524,
-0.05855116620659828,
0.06572574377059937,
0.012957537546753883,
0.0364089272916317,
0.012710138224065304,
-0.05368564650416374,
0.013936826959252357,
0.04449063912034035,
0.032347455620765686,
0.07619898021221161,
-0.010720635764300823,
-0.0019985223188996315,
-0.006973567418754101,
0.001956000691279769,
0.018379705026745796,
-0.032842256128787994,
0.05558237433433533,
0.01653451845049858,
-0.0050974562764167786,
0.020018726587295532,
-0.004656776320189238,
-0.05743786692619324,
0.04164554551243782,
-0.03366691991686821,
0.011205125600099564,
0.08485795557498932,
-0.06337545067071915,
-0.01626650243997574,
-0.006731322500854731,
-0.08432192355394363,
-0.013916210271418095,
-0.06857083737850189,
-0.018194155767560005,
0.026719123125076294,
-0.08865141123533249,
0.05916966125369072,
-0.007777614984661341,
-0.021832987666130066,
0.04613996669650078,
-0.061726123094558716,
-0.024760546162724495,
0.007968318648636341,
-0.05310837924480438,
0.005561329890042543,
0.03319273889064789,
0.026822205632925034,
-0.0008691188413649797,
0.021039247512817383,
0.04205787926912308,
-0.015256289392709732,
-0.013091545552015305,
-0.03218252211809158,
-0.0054891714826226234,
0.0433773435652256,
0.02744070440530777,
-0.007916777394711971,
-0.032945338636636734,
0.03084244392812252,
0.0699315294623375,
0.010885568335652351,
0.03667694330215454,
0.0005492392810992897,
-0.004277945961803198,
-0.012380273081362247,
0.02333799935877323,
-0.015194439329206944,
0.007602374069392681,
-0.01577170379459858,
0.03539871424436569,
0.0199053343385458,
-0.040511634200811386,
0.040511634200811386,
0.04980972409248352,
0.004352681338787079,
-0.09071306884288788,
0.05653073638677597,
0.006824097130447626,
-0.005813883151859045,
0.05945829674601555,
0.08127066493034363,
-0.0420166440308094,
-0.034306034445762634,
-0.01697777584195137,
0.06708644330501556,
-0.010813410393893719,
0.03257424011826515,
0.008973378688097,
-0.0199053343385458,
-0.014462550170719624,
-0.032924722880125046,
0.007329204119741917,
0.004746973980218172,
0.04552146792411804,
0.01655513606965542,
0.021956685930490494,
0.041996028274297714,
0.03797579184174538,
-0.024533763527870178,
0.03311027213931084,
0.023606015369296074,
-0.057932667434215546,
0.018142614513635635,
-0.060654059052467346,
0.012792604975402355,
0.02403896488249302,
0.01881265453994274,
-0.01941053569316864,
-0.015307830646634102,
0.01575108803808689,
-0.018771421164274216,
0.0032496927306056023,
-0.03651200979948044,
0.02443067915737629,
0.015658313408493996,
-0.020595990121364594,
-0.01367911882698536,
0.013606960885226727,
0.020709382370114326,
0.030388878658413887,
0.026348024606704712,
-0.004216096363961697,
-0.0045279222540557384,
-0.043253641575574875,
0.050345756113529205,
0.01157622504979372,
0.007994089275598526,
-0.004829440265893936,
-0.04370720684528351,
0.05195385217666626,
0.06366408616304398,
0.037316057831048965,
0.037212975323200226,
-0.08366218954324722,
-0.004739242605865002,
0.003912001382559538,
-0.017173632979393005,
-0.01381312683224678,
0.060571592301130295,
-0.01493673212826252,
-0.021936070173978806,
0.010406232438981533,
0.0010604667477309704,
-0.011988556943833828,
0.03426480293273926,
-0.0008884469280019403,
-0.02832721918821335,
-0.06349915266036987,
-0.002597692422568798,
-0.06424134969711304,
-0.003435242222622037,
-0.0028657084330916405,
0.004066625609993935,
0.022719500586390495,
0.004177439957857132,
-0.0028270522598177195,
-0.049191225320100784,
0.04280007630586624,
0.04502667114138603,
0.03950142115354538,
-0.017276717349886894,
0.02113202214241028,
0.026533573865890503,
0.011132967658340931,
-0.007746690418571234,
-0.010669094510376453,
-0.01037015300244093,
0.014287308789789677,
0.03210005909204483,
-0.013689427636563778,
0.02589445933699608,
-0.03842935711145401,
0.025543976575136185,
0.026306791231036186,
-0.08551768958568573,
0.02498732879757881,
0.027481937780976295,
-0.0034713211935013533,
-0.006442689802497625,
0.01941053569316864,
0.018822962418198586,
-0.021255722269415855,
-0.013122470118105412,
-0.0460987351834774,
0.06745754182338715,
0.0386149063706398,
-0.05714923515915871,
0.03979005292057991,
-0.05995309352874756,
-0.04271760955452919,
-0.046758465468883514,
-0.007138500455766916,
0.0433773435652256,
-0.02333799935877323,
0.0891462117433548,
0.06551957875490189,
-0.04174862802028656,
0.035955362021923065,
0.046469833701848984,
-0.032079439610242844,
0.06457121670246124,
0.0022510758135467768,
0.028945716097950935,
-0.01020006649196148,
-0.03762530907988548,
0.02034859172999859,
-0.012277189642190933,
-0.03426480293273926,
0.03350198641419411,
0.03007962927222252,
-0.03253300487995148,
-0.0757041797041893,
-0.01993625983595848,
-0.011885474435985088,
-0.020802156999707222,
-0.009849583730101585,
0.052696049213409424,
-0.004007352981716394,
0.03494514897465706,
0.003672333201393485,
-0.007787923328578472,
0.008870295248925686,
-0.028780784457921982,
0.02131757140159607,
-0.016565443947911263,
-0.010834027081727982,
0.027378855273127556,
-0.02997654676437378,
-0.005478863604366779,
0.05916966125369072,
0.06848836690187454,
0.03377000242471695,
-0.050758086144924164,
0.0010185892460867763,
0.023606015369296074,
-0.02354416623711586,
-0.05129411816596985,
-0.05261358246207237,
0.006777709815651178,
-0.02170928753912449,
-0.015792321413755417,
0.022822584956884384,
-0.004082088358700275,
-0.001627423451282084,
0.03601721301674843,
0.021585587412118912,
0.00023080936807673424,
0.04741819575428963,
-0.0622621551156044,
-0.04030546545982361,
-0.037027426064014435,
0.04407830536365509,
0.04259391129016876,
0.01542122196406126,
0.060654059052467346,
-0.013874976895749569,
-0.005679875146597624,
0.04807792976498604,
0.061726123094558716,
-0.009236239828169346,
-0.031007377430796623,
0.028863249346613884,
-0.02979099750518799,
-0.08807414770126343,
-0.018348781391978264,
-0.004850056953728199,
-0.037707775831222534,
0.016338661313056946,
-0.012823529541492462,
-0.01804983988404274,
0.023234916850924492,
0.02966729737818241,
-0.04162492975592613,
0.017740590497851372,
-0.011091734282672405,
-0.019420843571424484,
0.013246170245110989,
0.00118352216668427,
-0.01611187867820263,
-0.0007615259382873774,
-0.04242897778749466,
0.002458530478179455,
0.05554113909602165,
0.03603782877326012,
-0.04255267605185509,
-0.05281974747776985,
0.03599659726023674,
0.00654061883687973,
0.0005627689533866942,
0.02801796980202198,
0.0554586723446846,
-0.004061471670866013,
-0.039460185915231705,
0.04395460709929466,
0.028389068320393562,
0.059210896492004395,
-0.056984301656484604,
-0.0345328189432621,
0.011215434409677982,
-0.06815850734710693,
-0.0013826012145727873,
-0.009014611132442951,
0.034099869430065155,
-0.017750898376107216,
-0.06432381272315979,
-0.11034008115530014,
0.05607717111706734,
-0.004455764312297106,
0.0418517142534256,
0.005076839588582516,
-0.010478390380740166,
-0.020049650222063065,
-0.004247020930051804,
0.05467524379491806,
-0.057932667434215546,
-0.031378477811813354,
-0.027791187167167664,
0.03131662681698799,
0.01619434542953968,
0.004899021238088608,
-0.06638547778129578,
-0.004978910554200411,
-0.010050595737993717,
0.031192926689982414,
-0.02498732879757881,
-0.04824285954236984,
-0.023008134216070175,
-0.025317193940281868,
0.05397427827119827,
-0.042841311544179916,
0.030883677303791046,
0.007679686415940523,
0.010457773692905903,
0.0418517142534256,
0.08180669695138931,
-0.017091168090701103,
0.013204936869442463,
0.04449063912034035,
-0.03729544207453728,
-0.01781274937093258,
-0.03480083495378494,
-0.0021196450106799603,
-0.021544354036450386,
0.0013181742979213595,
0.0257707592099905,
0.042965009808540344,
-0.02414204739034176,
0.020781539380550385,
0.024781161919236183,
-0.022554568946361542,
0.045480236411094666,
-0.04026423394680023,
-0.06741630285978317,
0.0015230518765747547,
0.0312960110604763,
-0.0017433918546885252,
-0.031192926689982414,
0.0704263299703598,
0.024265747517347336,
0.02129695564508438,
0.00926201045513153,
-0.06551957875490189,
-0.013277094811201096,
0.04444940388202667,
0.05195385217666626,
0.08452808856964111,
0.004110435955226421,
0.035955362021923065,
-0.07652884721755981,
0.051129184663295746,
0.0025100719649344683,
-0.011318517848849297,
-0.02762625366449356,
0.050015889108181,
0.005417013540863991,
-0.04259391129016876,
0.017379799857735634,
0.054345376789569855,
-0.022059770300984383,
0.029605448246002197,
0.0017884906847029924,
0.031584642827510834,
0.032264988869428635,
0.010550548322498798,
0.01177208311855793,
-0.06382901966571808,
-0.013277094811201096,
-0.03898600488901138,
0.02869831770658493,
0.008854832500219345,
0.01493673212826252,
-0.05038698762655258,
0.04613996669650078,
0.016833459958434105,
-0.0729827880859375,
0.059004731476306915,
0.04214034602046013,
-0.05607717111706734,
-0.026141857728362083,
0.03774900734424591,
-0.013153395615518093,
0.04176924750208855,
-0.06053036078810692,
0.012864762917160988,
-0.004739242605865002,
-0.08015736937522888,
-0.007581757381558418,
-0.027028372511267662,
0.00038656138349324465,
0.01606033742427826,
-0.052489880472421646,
-0.029852846637368202,
0.01844155602157116,
0.040429167449474335,
0.017039626836776733,
0.01920436881482601,
0.054139211773872375,
0.013771893456578255,
-0.031110459938645363,
-0.007736382074654102,
0.02861585095524788,
0.02218346856534481,
-0.040717799216508865,
0.10341290384531021,
-0.03647077828645706,
-0.04651106521487236,
0.03686249256134033,
0.0029919850639998913,
-0.0379345566034317,
0.06968413293361664,
-0.01726640947163105,
0.026595422998070717,
0.012349347583949566,
0.006530310492962599,
0.01770966500043869,
-0.00491706095635891,
-0.03560487926006317,
-0.015833554789423943,
-0.00410785898566246,
-0.018750803545117378,
0.04997465759515762,
0.01896727830171585,
-0.032079439610242844,
-0.003278040559962392,
0.02480177767574787,
-0.04469680413603783,
0.0028270522598177195,
0.08395082503557205,
0.06502477824687958,
-0.015967562794685364,
0.06655041128396988,
0.06902439892292023,
0.05517004057765007,
-0.013534802943468094,
0.02579137496650219,
-0.06448874622583389,
0.013596652075648308,
-0.0015758819645270705,
0.03873860463500023,
-0.015895403921604156,
0.0216886717826128,
-0.08415699005126953,
0.011792699806392193,
0.00245595327578485,
0.03296595439314842,
-0.012318423017859459,
-0.08774428069591522,
-0.07426101714372635,
-0.024698695167899132,
-0.026512956246733665,
-0.02490486204624176,
0.002293597673997283,
0.01723548397421837,
-0.017307640984654427,
-0.033048421144485474,
0.000576942868065089,
0.01212256494909525,
0.05504634231328964,
-0.016493285074830055,
-0.027688102796673775,
0.012844146229326725,
-0.024554379284381866,
-0.0012150913244113326,
0.03269793838262558,
-0.002150569809600711,
-0.08807414770126343,
0.10473236441612244,
-0.06725136935710907,
-0.00683955941349268,
0.07215812802314758,
0.04828409478068352,
-0.07240552455186844,
0.02628617361187935,
-0.01951361820101738,
-0.12353470921516418,
0.040511634200811386,
0.023028749972581863,
-0.009158927947282791,
-0.01645205169916153,
0.0031182619277387857,
-0.01876111328601837,
-0.08279629796743393,
0.002503629308193922,
0.030677512288093567,
-0.05517004057765007,
0.02871893346309662,
-0.013586344197392464,
-0.014142992906272411,
-0.03484206646680832,
0.023131832480430603,
-0.03865613788366318,
-0.009916587732732296,
0.04618120193481445,
-0.019039437174797058,
-0.004651621915400028,
-0.025853225961327553,
0.011988556943833828,
0.05310837924480438,
0.04436693713068962,
0.06605561077594757,
-0.011555608361959457,
-0.05088178813457489,
-0.024657461792230606,
0.01716332510113716,
-0.035893514752388,
-0.0303682629019022,
0.03871798887848854,
-0.010251607745885849,
0.004370720591396093,
-0.03236807510256767,
0.0010044153314083815,
-0.017307640984654427,
-0.03513069823384285,
-0.006004586815834045,
0.025708910077810287,
0.043459806591272354,
-0.036841876804828644,
0.023977113887667656,
-0.04449063912034035,
0.025152260437607765,
0.02939928136765957,
0.003875922178849578,
0.034017402678728104,
-0.021358804777264595,
-0.005999432876706123,
0.0018980164313688874
] |
719,773
|
ibm_platform_services.iam_policy_management_v1
|
delete_policy
|
Delete a policy by ID.
Delete a policy by providing a policy ID. A policy cannot be deleted if the
subject ID contains a locked service ID. If the subject of the policy is a locked
service-id, the request will fail.
:param str policy_id: The policy ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_policy(
self,
policy_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a policy by ID.
Delete a policy by providing a policy ID. A policy cannot be deleted if the
subject ID contains a locked service ID. If the subject of the policy is a locked
service-id, the request will fail.
:param str policy_id: The policy ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not policy_id:
raise ValueError('policy_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_policy',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['policy_id']
path_param_values = self.encode_path_vars(policy_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/policies/{policy_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, policy_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.016687702387571335,
0.02566048689186573,
0.015550963580608368,
-0.05046376213431358,
0.026424525305628777,
-0.0548616386950016,
-0.03257409855723381,
0.09831861406564713,
-0.007957173511385918,
0.047370340675115585,
-0.04233887419104576,
0.05210364609956741,
0.012895466759800911,
-0.011311485432088375,
-0.03251819312572479,
0.015345977619290352,
0.020125873386859894,
0.045171402394771576,
-0.016687702387571335,
-0.07185681909322739,
0.0641418993473053,
0.06615448743104935,
-0.03879820927977562,
-0.0202935878187418,
0.02705811709165573,
0.014516717754304409,
0.011563058942556381,
0.006033102981746197,
-0.01166555192321539,
-0.015588234178721905,
-0.00802705530077219,
0.0570233054459095,
-0.012839561328291893,
0.05996764451265335,
-0.04192890226840973,
0.028288032859563828,
0.022119825705885887,
0.0011501330882310867,
-0.09168452769517899,
0.044239651411771774,
-0.05266270041465759,
0.03508983179926872,
-0.0011466389987617731,
-0.03272317722439766,
-0.01810396835207939,
0.006801799405366182,
-0.02659224160015583,
0.022213000804185867,
-0.008488273248076439,
0.03289089351892471,
0.0009387414902448654,
0.06164480373263359,
0.022511161863803864,
-0.027542630210518837,
0.06138391047716141,
0.03991631418466568,
0.017628774046897888,
0.0025483453646302223,
0.03210822120308876,
0.01810396835207939,
0.04770577326416969,
0.005571885034441948,
-0.04636404663324356,
-0.02402060106396675,
0.017740584909915924,
-0.08393234014511108,
-0.013612916693091393,
-0.0035336746368557215,
-0.023480184376239777,
-0.020107237622141838,
-0.017712632194161415,
-0.05441439524292946,
-0.018485987558960915,
-0.013594281859695911,
0.04636404663324356,
-0.0368787981569767,
0.004020515829324722,
-0.0709623396396637,
0.02761716954410076,
0.0015210873680189252,
-0.007877974770963192,
-0.11598465591669083,
0.03628247603774071,
-0.037512391805648804,
-0.004665754735469818,
0.007085984107106924,
-0.0013626893050968647,
-0.05843957141041756,
0.017125627025961876,
0.019566820934414864,
0.03046833537518978,
0.0340835377573967,
-0.04334516450762749,
-0.025325056165456772,
-0.00438622897490859,
0.046811290085315704,
0.017097674310207367,
-0.03693470358848572,
-0.038108713924884796,
0.017917616292834282,
-0.030934210866689682,
0.02472873404622078,
-0.02047993801534176,
0.012895466759800911,
0.06052669882774353,
-0.006047079339623451,
0.03883548080921173,
-0.011814632453024387,
0.017004499211907387,
-0.03514573723077774,
0.04673674702644348,
0.013044547289609909,
-0.007803434506058693,
-0.017032451927661896,
0.03805280849337578,
0.030356524512171745,
-0.010985372588038445,
-0.05255088955163956,
-0.023573359474539757,
0.0051293023861944675,
-0.037642836570739746,
-0.056911494582891464,
-0.000005523186246136902,
-0.007304946426302195,
0.014199920929968357,
-0.015457788482308388,
-0.03538799285888672,
-0.04192890226840973,
0.023051578551530838,
0.023032942786812782,
-0.00768696516752243,
0.04181709140539169,
0.009005396626889706,
0.00312603241764009,
0.01685541868209839,
-0.013948347419500351,
0.03324496001005173,
0.0455441027879715,
0.004488721955567598,
0.027039483189582825,
0.04725852981209755,
0.02916388027369976,
0.008655988611280918,
0.05780597776174545,
0.019753171131014824,
-0.059147704392671585,
-0.03786645829677582,
0.003547650994732976,
-0.023871520534157753,
0.0015828160103410482,
-0.04051263630390167,
0.010472907684743404,
0.038537319749593735,
-0.01629636622965336,
0.011339438147842884,
-0.04491051286458969,
-0.007249040994793177,
0.01698586344718933,
-0.01086424384266138,
-0.012597305700182915,
0.0805780291557312,
0.022473890334367752,
0.05046376213431358,
-0.011469883844256401,
-0.0012112794211134315,
-0.03177278861403465,
0.03294679895043373,
0.009680917486548424,
0.009597059339284897,
-0.05504798889160156,
0.019455010071396828,
0.013221580535173416,
0.0014838172355666757,
0.0130165945738554,
-0.035127103328704834,
0.031474627554416656,
0.037046514451503754,
0.059110432863235474,
-0.048823874443769455,
-0.03898455947637558,
0.03898455947637558,
-0.02182166464626789,
-0.00023060895910020918,
-0.029741566628217697,
0.005446098279207945,
0.001627074321731925,
-0.016659749671816826,
0.047743041068315506,
0.009121865034103394,
0.013221580535173416,
-0.10062935948371887,
-0.0523645393550396,
0.005795505829155445,
0.03894729167222977,
-0.004155620001256466,
-0.01692064106464386,
0.04759396240115166,
-0.09570970386266708,
0.02392742596566677,
-0.015383248217403889,
-0.010202699340879917,
-0.02949931100010872,
0.02042403444647789,
0.01145124901086092,
0.01803874596953392,
0.019883615896105766,
0.01881209947168827,
-0.02225027047097683,
0.0017435434274375439,
-0.015429835766553879,
-0.008311240002512932,
-0.007705600466579199,
0.013352025300264359,
0.008842339739203453,
-0.006377851590514183,
0.017591504380106926,
-0.024691464379429817,
-0.03195913881063461,
0.03387855365872383,
-0.009331509470939636,
-0.017311977222561836,
0.0021919498685747385,
0.01738651841878891,
0.043494246900081635,
0.04438873007893562,
0.025865472853183746,
0.007137230597436428,
0.034195348620414734,
-0.019045038148760796,
0.003934328444302082,
0.07737279683351517,
0.06436552107334137,
0.05243907868862152,
-0.02705811709165573,
0.020461304113268852,
-0.09347349405288696,
-0.06399282068014145,
-0.016659749671816826,
-0.04334516450762749,
0.033263593912124634,
0.05337083339691162,
-0.025120070204138756,
0.008786434307694435,
0.03257409855723381,
-0.052327267825603485,
0.05009106174111366,
-0.030263349413871765,
0.0654090866446495,
0.07435391843318939,
-0.03883548080921173,
-0.020256318151950836,
-0.033263593912124634,
-0.018821418285369873,
-0.010379732586443424,
0.029107974842190742,
0.025772297754883766,
0.008828363381326199,
-0.01222460437566042,
-0.0058141411282122135,
0.04289792478084564,
-0.026349985972046852,
0.011898490600287914,
-0.06000491604208946,
-0.0560915507376194,
0.013603598810732365,
-0.04062444716691971,
0.011563058942556381,
0.035872504115104675,
0.10279103368520737,
0.003689743345603347,
-0.03861185908317566,
-0.00855349563062191,
0.027188563719391823,
-0.008087619207799435,
-0.04159346967935562,
0.01638954132795334,
-0.028809813782572746,
0.0046610962599515915,
0.04107168689370155,
0.01899845153093338,
0.0049243164248764515,
-0.03743784874677658,
0.06451459974050522,
0.03555570915341377,
-0.02333110384643078,
0.03637565299868584,
-0.010435638017952442,
0.005832775961607695,
0.05590520054101944,
0.06302379816770554,
0.011870537884533405,
0.03637565299868584,
-0.011059912852942944,
-0.004451451823115349,
-0.02528778649866581,
-0.015783902257680893,
-0.0013405601494014263,
-0.05616609379649162,
0.03604022040963173,
0.04513413459062576,
0.029555216431617737,
0.048302095383405685,
0.05799232795834541,
-0.06007945537567139,
-0.052886322140693665,
-0.0024831227492541075,
0.014544669538736343,
0.025492772459983826,
0.04543229565024376,
0.00005674232306773774,
-0.010202699340879917,
0.001552534056827426,
-0.05530887842178345,
0.046065885573625565,
0.06827888637781143,
0.05493617802858353,
0.008595424704253674,
-0.0560915507376194,
0.02333110384643078,
0.001197303063236177,
-0.03453078120946884,
0.06913609802722931,
0.056203361600637436,
0.057470548897981644,
-0.0016876382287591696,
-0.08013078570365906,
-0.0065735201351344585,
0.0289775300770998,
0.008921538479626179,
-0.005651084240525961,
-0.008982102386653423,
0.05292358994483948,
-0.02454238384962082,
-0.03080376610159874,
0.011535106226801872,
0.007691624108701944,
0.10130022466182709,
0.007379486691206694,
-0.02191483974456787,
0.06317287683486938,
0.008446344174444675,
-0.013296120800077915,
0.07420483976602554,
0.07137230783700943,
-0.04815301299095154,
0.0007669494953006506,
0.014041523449122906,
-0.023442914709448814,
0.07457754015922546,
-0.022939767688512802,
0.005697671789675951,
0.011572376824915409,
0.005800164770334959,
0.0023748064413666725,
0.006741235498338938,
-0.07017966359853745,
0.03207094967365265,
0.05855138227343559,
-0.09347349405288696,
-0.01535529550164938,
-0.004183572717010975,
-0.055457960814237595,
-0.0529981330037117,
0.026722686365246773,
-0.02457965351641178,
-0.02327519841492176,
0.022473890334367752,
-0.04949473962187767,
-0.059520404785871506,
0.004064774140715599,
-0.022548431530594826,
0.0027323667891323566,
-0.00909391324967146,
0.021374421194195747,
0.00564176682382822,
0.06712350994348526,
-0.017610138282179832,
0.005152596160769463,
-0.0012380672851577401,
-0.015103721991181374,
-0.016594527289271355,
-0.03145599365234375,
0.012942054308950901,
0.017805807292461395,
-0.022026648744940758,
0.03663654252886772,
-0.01528075523674488,
-0.053072672337293625,
-0.0443141907453537,
0.024989625439047813,
0.03337540477514267,
-0.02683449722826481,
-0.024188317358493805,
0.0016305684112012386,
0.007454026956111193,
-0.018821418285369873,
-0.06458914279937744,
0.0316050723195076,
-0.009364121593534946,
-0.01093878410756588,
0.03212685510516167,
0.011386025696992874,
-0.037270136177539825,
0.022548431530594826,
-0.020349493250250816,
-0.023051578551530838,
-0.001552534056827426,
0.009652964770793915,
0.0064989798702299595,
-0.0016328977653756738,
0.035965681076049805,
0.017964204773306847,
-0.02206392027437687,
0.031567804515361786,
0.08393234014511108,
0.0455441027879715,
0.007514590863138437,
0.055271610617637634,
0.004139314405620098,
-0.006284676492214203,
0.02504553087055683,
0.0152621204033494,
0.010249286890029907,
-0.05258816108107567,
-0.006154230795800686,
0.00191009440459311,
-0.02711402252316475,
0.025604581460356712,
-0.011339438147842884,
-0.032182760536670685,
0.008786434307694435,
-0.022865228354930878,
-0.031474627554416656,
-0.02748672477900982,
-0.0026718026492744684,
0.06034034863114357,
-0.007332899142056704,
0.09690234810113907,
0.009783410467207432,
-0.042935196310281754,
0.019604090601205826,
-0.014376954175531864,
-0.07767096161842346,
-0.051209162920713425,
-0.029275691136717796,
0.030636049807071686,
0.05009106174111366,
-0.028958894312381744,
-0.0050780558958649635,
0.012830243445932865,
0.034568049013614655,
0.04170528054237366,
0.04666220769286156,
-0.01621250808238983,
-0.00909391324967146,
-0.044761430472135544,
0.008744505234062672,
0.017992157489061356,
-0.0455441027879715,
-0.044985052198171616,
-0.0043466296046972275,
-0.0049755629152059555,
0.019436374306678772,
-0.014246508479118347,
-0.04271157458424568,
0.022231634706258774,
0.04051263630390167,
0.0827396959066391,
-0.0378105528652668,
-0.012438907288014889,
0.017898982390761375,
-0.030412429943680763,
-0.010948101989924908,
0.03913364186882973,
0.012643893249332905,
0.07077598571777344,
0.05739600583910942,
-0.015467105433344841,
0.035071197897195816,
0.03609612584114075,
0.04539502412080765,
-0.03117646835744381,
-0.02061038464307785,
-0.003743319073691964,
0.028250761330127716,
-0.053221751004457474,
-0.017237437888979912,
0.0013999594375491142,
-0.012746386229991913,
0.0019974461756646633,
0.059520404785871506,
0.02234344556927681,
-0.0028441771864891052,
-0.017237437888979912,
0.040028125047683716,
-0.03361766040325165,
0.009424685500562191,
-0.045357752591371536,
0.033487215638160706,
-0.04692310094833374,
0.02962975762784481,
-0.05188002809882164,
-0.024281492456793785,
-0.002585615497082472,
0.03864913061261177,
0.0005817635101266205,
-0.02649906650185585,
0.02457965351641178,
-0.027542630210518837,
-0.005870046094059944,
-0.04997925087809563,
0.0175076462328434,
-0.04953200742602348,
0.0010907338000833988,
-0.025865472853183746,
0.016063427552580833,
0.005455416161566973,
0.034791670739650726,
-0.008218064904212952,
0.0007791787502355874,
0.04584226384758949,
-0.014963959343731403,
-0.057135116308927536,
-0.000886912748683244,
-0.05687422677874565,
-0.011013324372470379,
-0.07640377432107925,
-0.07394395023584366,
0.0821433737874031,
0.019417740404605865,
0.0038504707626998425,
0.03943180292844772,
0.001601451076567173,
-0.029294325038790703,
-0.01648271642625332,
-0.01462852768599987,
-0.1041327565908432,
-0.03628247603774071,
-0.01741447113454342,
0.020368129014968872,
0.021560773253440857,
0.037512391805648804,
-0.03917090967297554,
0.02612636424601078,
-0.030934210866689682,
0.02426285669207573,
-0.03762419894337654,
0.06812980771064758,
0.009145159274339676,
-0.008642012253403664,
0.05501071736216545,
-0.057470548897981644,
0.056203361600637436,
0.010696528479456902,
-0.05135824531316757,
0.04636404663324356,
0.008516225963830948,
-0.06794345378875732,
0.018020110204815865,
-0.02590274251997471,
-0.040363553911447525,
-0.005571885034441948,
0.07804366201162338,
-0.0013044547522440553,
0.03991631418466568,
0.024057872593402863,
0.05773143842816353,
0.009904538281261921,
-0.02869800291955471,
-0.044053297489881516,
-0.0031446674838662148,
0.01072448119521141,
-0.011134453117847443,
-0.020368129014968872,
-0.08184521645307541,
0.021430326625704765,
0.003636167384684086,
-0.03240638226270676,
-0.014274461194872856,
0.09600786864757538,
-0.014255826361477375,
-0.014516717754304409,
-0.004088067915290594,
-0.029462041333317757,
-0.04837663471698761,
0.025790933519601822,
0.004297712352126837,
-0.0021511856466531754,
0.04181709140539169,
0.03421398252248764,
-0.042786113917827606,
0.022138459607958794,
0.041481658816337585,
-0.07208044081926346,
-0.002262996044009924,
0.06555816531181335,
0.028567558154463768,
-0.0024994283448904753,
-0.016436129808425903,
0.01633363589644432,
0.033487215638160706,
0.02739354968070984,
0.047183990478515625,
0.01958545483648777,
0.035872504115104675,
0.02318202331662178,
0.008455662056803703,
-0.013491788879036903,
-0.01075243391096592,
-0.08497590571641922,
-0.014255826361477375,
0.004845117684453726,
0.031046021729707718,
-0.03650609776377678,
0.009084595367312431,
-0.018308954313397408,
0.0015641809441149235,
0.008255334571003914,
-0.01149783656001091,
-0.07394395023584366,
-0.008432367816567421,
-0.040400825440883636,
-0.031996410340070724,
0.020368129014968872,
-0.028288032859563828,
0.03136281669139862,
-0.009848632849752903,
-0.05262542888522148,
-0.042376141995191574,
-0.00870723556727171,
-0.03548116981983185,
0.0044794040732085705,
0.002709072781726718,
-0.0390591025352478,
0.021001720800995827,
0.00988590344786644,
-0.0047635892406105995,
-0.028288032859563828,
0.02088990993797779,
-0.029107974842190742,
0.0685025081038475,
-0.025884108617901802,
-0.03235047683119774,
0.028623463585972786,
-0.03950634226202965,
0.07878906279802322,
-0.030505605041980743,
0.009424685500562191,
0.030859671533107758,
-0.03592840954661369,
-0.0020405398681759834,
0.001503617037087679,
-0.011656234972178936,
-0.03520164266228676,
0.013873807154595852,
-0.013845855370163918,
0.04382967948913574,
-0.008357827551662922,
-0.025492772459983826,
-0.02398333139717579,
0.04491051286458969,
-0.05538342148065567,
0.036524731665849686,
-0.020107237622141838,
0.005087373312562704,
-0.06235293671488762,
-0.02649906650185585,
-0.007714917883276939,
0.014283779077231884,
-0.0018856358947232366,
0.031567804515361786,
0.029331596568226814,
0.01694859378039837,
0.03482894226908684,
0.01638954132795334,
-0.06682535260915756,
0.015224849805235863,
-0.04382967948913574,
0.014069476164877415,
0.011954396031796932,
0.024896450340747833,
0.03894729167222977,
0.02739354968070984,
-0.08885200321674347,
-0.0038528002332895994,
-0.014852148480713367,
0.021672582253813744,
0.005884022451937199,
-0.11233218759298325,
-0.05128370597958565,
-0.046438585966825485,
-0.038686398416757584,
0.029611121863126755,
-0.03950634226202965,
0.030039727687835693,
-0.03359902650117874,
0.014349001459777355,
-0.02066629007458687,
-0.004088067915290594,
0.03544389829039574,
-0.05184275656938553,
-0.04319608584046364,
-0.01815987378358841,
-0.021709853783249855,
-0.01458194013684988,
0.02200801484286785,
0.07998170703649521,
-0.0006365040317177773,
0.058775000274181366,
-0.0632101446390152,
-0.004525992088019848,
0.044798702001571655,
0.00884699821472168,
-0.05001651868224144,
0.04345697537064552,
0.07029147446155548,
-0.07886360585689545,
-0.04013993591070175,
0.01701381616294384,
-0.0013685127487406135,
-0.02798987179994583,
-0.002979281358420849,
-0.008996078744530678,
-0.01818782649934292,
-0.011078547686338425,
-0.01236436702311039,
0.03527618199586868,
0.041668009012937546,
-0.004914999008178711,
-0.000023803386284271255,
-0.00577221205458045,
0.006093666888773441,
-0.06317287683486938,
-0.03177278861403465,
0.0195295512676239,
0.00993249099701643,
0.033300865441560745,
-0.02513870596885681,
0.08713757246732712,
0.015606869012117386,
-0.030393794178962708,
0.062464743852615356,
0.0029722931794822216,
-0.05210364609956741,
0.006694647949188948,
0.0002802539383992553,
-0.014451494440436363,
0.024057872593402863,
0.012848879210650921,
-0.010212017223238945,
-0.005525297485291958,
-0.018215777352452278,
-0.04934565722942352,
-0.010407685302197933,
-0.0077335527166724205,
-0.027896694839000702,
-0.044053297489881516,
0.0064943209290504456,
-0.03557434305548668,
-0.002118574222549796,
-0.0715959295630455,
0.06365738809108734,
-0.025082800537347794,
-0.019455010071396828,
-0.008665306493639946,
0.00529235927388072,
0.03387855365872383,
0.03462395444512367
] |
719,774
|
ibm_platform_services.iam_policy_management_v1
|
delete_policy_assignment
|
Remove a policy assignment.
Remove a policy template assignment by providing a policy assignment ID. You can't
delete a policy assignment if the status is "in_progress".
:param str assignment_id: The policy template assignment ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_policy_assignment(
self,
assignment_id: str,
**kwargs,
) -> DetailedResponse:
"""
Remove a policy assignment.
Remove a policy template assignment by providing a policy assignment ID. You can't
delete a policy assignment if the status is "in_progress".
:param str assignment_id: The policy template assignment ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_policy_assignment',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/policy_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.0028768822085112333,
0.05590888857841492,
-0.022979650646448135,
-0.07796793431043625,
0.02685680240392685,
0.009630916640162468,
-0.06224688142538071,
0.06511490792036057,
-0.023510767146945,
-0.033088572323322296,
-0.005528039764612913,
-0.0031977652106434107,
0.008382792584598064,
0.0021820045076310635,
-0.0014340152265504003,
-0.01381788682192564,
-0.0031468665692955256,
0.03030906245112419,
-0.00598834129050374,
-0.06575225293636322,
0.03471732884645462,
0.03218567371368408,
-0.005625411402434111,
0.0499957874417305,
0.0003731648321263492,
-0.02464381605386734,
0.04787132143974304,
-0.03799255192279816,
0.009568952955305576,
0.04025864973664284,
-0.007909213192760944,
0.070249043405056,
-0.059201810508966446,
0.08044648170471191,
0.0025626381393522024,
0.026024719700217247,
-0.013083175756037235,
0.012959248386323452,
-0.11365897953510284,
0.0011927996529266238,
-0.04932304099202156,
0.03321249783039093,
-0.006935499142855406,
-0.014915527775883675,
-0.02756495773792267,
0.004629567731171846,
0.0033836562652140856,
-0.04213526099920273,
0.039338044822216034,
-0.015358125790953636,
0.018836939707398415,
0.017987152561545372,
-0.004899551626294851,
0.04489706829190254,
0.029406163841485977,
0.07343573868274689,
0.02320980094373226,
-0.009232578799128532,
0.03912559896707535,
-0.04171036556363106,
0.04514492303133011,
-0.0006174232112243772,
-0.07216106355190277,
-0.03482355549931526,
-0.005173962097615004,
-0.06964711099863052,
-0.029600905254483223,
0.010666594840586185,
-0.02246623858809471,
-0.013844442553818226,
-0.04861488565802574,
-0.026750579476356506,
-0.00542181683704257,
-0.036788687109947205,
0.04811917617917061,
0.003742160042747855,
-0.017217034474015236,
-0.04953548684716225,
0.03841744363307953,
-0.01767733506858349,
-0.03774469718337059,
-0.056192148476839066,
0.05070394277572632,
-0.015588276088237762,
0.020660441368818283,
0.011365897953510284,
-0.019297242164611816,
-0.03947967663407326,
0.0012348464224487543,
0.012605170719325542,
0.07092178612947464,
0.020996814593672752,
-0.019173314794898033,
-0.016145948320627213,
0.0290874931961298,
0.033796727657318115,
0.009657472372055054,
-0.03202633932232857,
-0.05109342932701111,
-0.009834511205554008,
-0.03503600135445595,
-0.015340421348810196,
-0.012870728969573975,
0.006298159249126911,
0.025334268808364868,
-0.037567656487226486,
0.04755265265703201,
-0.003206617198884487,
0.008068548515439034,
-0.024130403995513916,
0.03746143355965614,
0.02092599868774414,
-0.03703654184937477,
-0.011684567667543888,
0.040117017924785614,
0.04716316610574722,
-0.07343573868274689,
-0.11118043959140778,
0.01860678941011429,
-0.044224318116903305,
-0.016889512538909912,
-0.022271495312452316,
-0.01724359020590782,
0.01719047874212265,
0.029760241508483887,
0.003171209478750825,
-0.04656123369932175,
-0.054350946098566055,
0.01360544003546238,
-0.04705694317817688,
-0.007794138044118881,
0.017650779336690903,
-0.026591245085000992,
0.0014406541595235467,
-0.004638419486582279,
0.019191017374396324,
0.0017903059488162398,
0.06490246206521988,
0.006815997883677483,
-0.03399147093296051,
0.0633799284696579,
0.020784368738532066,
0.017703890800476074,
0.04882733151316643,
0.013357586227357388,
-0.04100221022963524,
0.012162573635578156,
0.03629297763109207,
-0.005944081582129002,
-0.0013034489238634706,
-0.03546089306473732,
-0.019350353628396988,
-0.02090829610824585,
-0.02354617603123188,
0.0033283315133303404,
0.021173853427171707,
-0.009232578799128532,
0.007081556599587202,
0.016659362241625786,
-0.00495266355574131,
0.023634694516658783,
-0.008701462298631668,
0.03356657922267914,
0.035992011427879333,
0.06996577978134155,
-0.054386354982852936,
0.03682409226894379,
0.0010058023035526276,
-0.013924110680818558,
-0.07251513749361038,
-0.01943887211382389,
0.02498019114136696,
0.010923300869762897,
-0.0004049765120726079,
-0.03618675470352173,
0.009480433538556099,
0.049889564514160156,
0.04592389240860939,
-0.018801532685756683,
-0.022483941167593002,
0.009799103252589703,
-0.022891130298376083,
-0.005930803716182709,
-0.00633799284696579,
0.03298234939575195,
0.008028714917600155,
-0.024165811017155647,
0.07570184022188187,
-0.013286770321428776,
0.008484589867293835,
-0.04188740625977516,
-0.07113423198461533,
0.0013986073900014162,
0.06171576306223869,
0.009418469853699207,
-0.04153332859277725,
0.04192281514406204,
-0.082146055996418,
0.02800755575299263,
-0.005691801197826862,
-0.036399200558662415,
-0.02310357801616192,
0.04631337895989418,
0.049075186252593994,
0.014003777876496315,
0.04599471017718315,
0.054280128329992294,
-0.020023100078105927,
-0.015579423867166042,
0.023811733350157738,
-0.024360554292798042,
-0.0161725040525198,
0.05481124669313431,
0.016004318371415138,
-0.018589084967970848,
0.014995195902884007,
0.03572645038366318,
-0.0336373932659626,
0.0687619149684906,
-0.03425702825188637,
-0.06607092171907425,
0.032008636742830276,
0.006205213721841574,
-0.017491444945335388,
0.03448718041181564,
-0.05307626724243164,
-0.030397580936551094,
0.04252474755048752,
-0.04992497339844704,
0.009887623600661755,
0.08143790066242218,
0.03202633932232857,
0.07435633987188339,
-0.023829437792301178,
0.05934344232082367,
-0.05682948976755142,
-0.07456878572702408,
-0.057997945696115494,
-0.07226728647947311,
0.03128277510404587,
-0.005846709944307804,
0.003908134065568447,
0.031176552176475525,
0.03514222428202629,
-0.02726399153470993,
0.02650272473692894,
-0.019881470128893852,
0.04818999022245407,
0.04663204774260521,
-0.09418470412492752,
0.024873966351151466,
-0.05367819592356682,
-0.03965671733021736,
-0.024750038981437683,
-0.015048307366669178,
0.061821985989809036,
-0.013844442553818226,
-0.007311706896871328,
0.043905649334192276,
0.009852215647697449,
0.0023524046409875154,
0.003936902619898319,
-0.053182490170001984,
-0.06153872609138489,
0.049889564514160156,
-0.05077476054430008,
-0.031158847734332085,
0.05006660521030426,
0.03806336596608162,
0.018836939707398415,
0.015694499015808105,
-0.013968369923532009,
0.0970173254609108,
0.0027950017247349024,
-0.046525824815034866,
0.007754304446280003,
0.013021212071180344,
-0.004155988339334726,
0.03544319048523903,
0.019987693056464195,
0.02358158305287361,
-0.05856447294354439,
0.02352847158908844,
0.05077476054430008,
-0.0021897500846534967,
0.039692122489213943,
0.010170885361731052,
0.03770928829908371,
0.09786710888147354,
0.04978334158658981,
-0.02274950034916401,
0.03351346403360367,
-0.02012932486832142,
-0.003540778299793601,
0.009365358389914036,
0.031229663640260696,
0.007882657460868359,
-0.029972687363624573,
0.036717869341373444,
0.08738640695810318,
0.04914600029587746,
-0.010560370981693268,
0.0347527377307415,
-0.023280616849660873,
-0.05158913880586624,
0.0077277482487261295,
0.014101149514317513,
0.041958220303058624,
0.021510228514671326,
-0.011950126849114895,
0.02166956290602684,
-0.021882008761167526,
-0.04036487266421318,
0.04266637936234474,
0.05339493602514267,
0.027476439252495766,
0.03583267703652382,
-0.010932153090834618,
0.02273179590702057,
0.0002728888939600438,
-0.0186776053160429,
-0.001378690474666655,
0.035992011427879333,
0.05813957750797272,
0.012153721414506435,
-0.06638959050178528,
0.02204134501516819,
0.03629297763109207,
0.04280800744891167,
0.03838203474879265,
-0.019704431295394897,
0.05123506113886833,
-0.036717869341373444,
-0.046490419656038284,
0.047942135483026505,
-0.03923182189464569,
0.04549900069832802,
0.025883087888360023,
0.009719436056911945,
0.017641928046941757,
-0.02012932486832142,
-0.008108382113277912,
0.08228768408298492,
0.03760306537151337,
-0.011312786489725113,
0.0037089651450514793,
-0.024732336401939392,
0.0032464510295540094,
0.030132021754980087,
-0.03618675470352173,
-0.016544286161661148,
0.07733059674501419,
0.006152102258056402,
0.030185135081410408,
-0.0007324984762817621,
-0.0018710800213739276,
0.02731710486114025,
0.042029038071632385,
-0.07301084697246552,
-0.012870728969573975,
-0.03629297763109207,
-0.051730770617723465,
-0.03310627490282059,
0.0033969341311603785,
-0.001775921555235982,
-0.04815458506345749,
-0.011436713859438896,
-0.011684567667543888,
-0.031123440712690353,
-0.035124521702528,
-0.025192636996507645,
-0.013100879266858101,
-0.008705888874828815,
-0.02274950034916401,
-0.02386484481394291,
0.05038527399301529,
-0.031973227858543396,
0.02391795627772808,
-0.013162842951714993,
-0.0334603525698185,
0.022501645609736443,
-0.06638959050178528,
-0.03358428180217743,
0.031105736270546913,
-0.0747104212641716,
0.013844442553818226,
-0.013295622542500496,
-0.054280128329992294,
0.0038129754830151796,
0.057679276913404465,
0.0418165922164917,
-0.0604056753218174,
0.014446374960243702,
-0.017482591792941093,
-0.0008442543330602348,
0.007108112331479788,
-0.07506449520587921,
0.03351346403360367,
-0.012091757729649544,
0.04142710566520691,
0.04397646710276604,
0.039338044822216034,
-0.03298234939575195,
0.023634694516658783,
0.032008636742830276,
0.0018168617971241474,
0.05516532436013222,
-0.0030981809832155704,
0.01418081670999527,
-0.025298859924077988,
0.06157413497567177,
0.021191557869315147,
-0.027777405455708504,
0.019704431295394897,
0.028910454362630844,
0.08051729947328568,
-0.005297889467328787,
-0.017084255814552307,
0.01759766787290573,
-0.07131127268075943,
-0.008590812794864178,
0.0006716413772664964,
0.02581227384507656,
-0.05597970262169838,
0.013295622542500496,
-0.04224148392677307,
-0.007493171840906143,
-0.015393533743917942,
0.0014992982614785433,
-0.02501559816300869,
-0.02535197138786316,
-0.034221623092889786,
-0.001661952817812562,
-0.0269453227519989,
0.0018057968700304627,
0.046136341989040375,
0.006815997883677483,
0.08823619037866592,
-0.0037487989757210016,
-0.02572375349700451,
0.034221623092889786,
-0.006315863225609064,
-0.03099951334297657,
-0.04284341633319855,
-0.07881772518157959,
0.05987456068396568,
-0.031920116394758224,
-0.04298504814505577,
-0.07803875207901001,
0.04641960188746452,
0.06090138480067253,
0.05070394277572632,
0.03099951334297657,
0.005930803716182709,
-0.038311220705509186,
-0.06695611774921417,
-0.002972040791064501,
-0.0017869864823296666,
-0.031973227858543396,
-0.021828897297382355,
0.014773896895349026,
-0.017464889213442802,
0.02609553560614586,
0.011888163164258003,
-0.013295622542500496,
0.018465157598257065,
0.02469692751765251,
0.07279840111732483,
-0.03625756874680519,
-0.0030295783653855324,
-0.016420358791947365,
-0.03425702825188637,
-0.027458734810352325,
0.045357368886470795,
-0.024873966351151466,
0.05449257791042328,
0.042418524622917175,
-0.02729940041899681,
0.05750223994255066,
0.040541909635066986,
0.02763577364385128,
0.015154531225562096,
0.006727478466928005,
0.03539007902145386,
0.0048729958944022655,
-0.057608462870121,
0.013994925655424595,
-0.02798985131084919,
-0.04939385503530502,
0.049889564514160156,
0.006218491587787867,
-0.042312297970056534,
-0.006714200600981712,
-0.011817347258329391,
0.016889512538909912,
-0.054280128329992294,
0.027795109897851944,
-0.02467922493815422,
-0.005134128499776125,
-0.046844497323036194,
0.032238785177469254,
-0.0024829707108438015,
0.01324251014739275,
-0.01231305580586195,
0.07329411059617996,
-0.004642845597118139,
0.001991687808185816,
-0.007121390197426081,
-0.03176078200340271,
0.02092599868774414,
-0.008887353353202343,
0.005696226842701435,
-0.04369320347905159,
-0.006944351363927126,
-0.013782478868961334,
0.06812456995248795,
0.010144329629838467,
0.003967884462326765,
0.031495220959186554,
0.016119392588734627,
0.022165272384881973,
0.006970907095819712,
0.004423759877681732,
-0.010392184369266033,
-0.007037296891212463,
-0.017668483778834343,
-0.056192148476839066,
-0.05084557458758354,
0.02050110511481762,
0.03802795708179474,
-0.024059588089585304,
0.023369135335087776,
-0.008210179395973682,
-0.02758266218006611,
0.028538672253489494,
0.03245123103260994,
-0.09071473777294159,
-0.03523074463009834,
-0.000756288121920079,
0.024466777220368385,
-0.006298159249126911,
0.015074863098561764,
-0.01668591797351837,
0.008311976678669453,
-0.061786580830812454,
0.024006476625800133,
-0.022678684443235397,
0.07428552955389023,
-0.0030295783653855324,
0.018412046134471893,
0.0373552106320858,
-0.05902477353811264,
0.04369320347905159,
0.005532465875148773,
-0.034150805324316025,
0.0589185506105423,
-0.003253089962527156,
-0.00024301356461364776,
0.029760241508483887,
0.0072807250544428825,
-0.0440472811460495,
-0.01832352764904499,
0.039692122489213943,
-0.001328898360952735,
0.03540778160095215,
0.03650542348623276,
0.061821985989809036,
0.005381982773542404,
-0.03168996423482895,
-0.029229125007987022,
-0.04666745662689209,
0.01496864017099142,
-0.009984994307160378,
-0.038346629589796066,
-0.04340993985533714,
-0.03393835946917534,
-0.002489609643816948,
-0.016544286161661148,
0.022891130298376083,
0.07888853549957275,
-0.01548205316066742,
-0.021970529109239578,
0.015791870653629303,
-0.010347924195230007,
-0.0553777702152729,
0.042383115738630295,
0.026007015258073807,
-0.035708747804164886,
0.016792140901088715,
0.011684567667543888,
-0.02273179590702057,
0.01732325740158558,
0.08710314333438873,
-0.04595930129289627,
-0.02129778079688549,
0.06844324618577957,
-0.001961812376976013,
0.022236086428165436,
-0.030521508306264877,
-0.030397580936551094,
0.008608517237007618,
0.03055691532790661,
0.01695147529244423,
0.03668246045708656,
0.08993576467037201,
0.022289199754595757,
0.010507259517908096,
0.005855562165379524,
-0.0166328065097332,
-0.06918680667877197,
-0.031158847734332085,
-0.023050466552376747,
0.006581421475857496,
-0.07449797540903091,
0.021828897297382355,
-0.03838203474879265,
-0.0027706590481102467,
0.03739061951637268,
-0.07343573868274689,
-0.03848825767636299,
0.0046118637546896935,
0.004988071508705616,
-0.035283856093883514,
0.07803875207901001,
0.00805527064949274,
0.04638419300317764,
0.012304204516112804,
-0.04716316610574722,
-0.04259556159377098,
0.0008569789933972061,
-0.0561213344335556,
-0.0023324876092374325,
-0.03138899803161621,
0.009241431020200253,
0.013738219626247883,
-0.004403843078762293,
0.01025055255740881,
-0.021846601739525795,
0.0568648986518383,
-0.024431370198726654,
0.027476439252495766,
-0.043126679956912994,
-0.01908479444682598,
0.033088572323322296,
-0.005399686750024557,
0.07591428607702255,
0.0001604415156180039,
-0.011693419888615608,
-0.005696226842701435,
-0.007156798150390387,
-0.011153451167047024,
0.008847519755363464,
0.016491174697875977,
-0.07513531297445297,
-0.052084848284721375,
0.00913520809262991,
-0.004195822402834892,
0.004877422004938126,
-0.05187240242958069,
-0.021882008761167526,
0.010560370981693268,
-0.03962130844593048,
0.04489706829190254,
0.0299195758998394,
0.0747104212641716,
0.00690451730042696,
-0.043941058218479156,
0.031530629843473434,
-0.009595508687198162,
0.04489706829190254,
0.0031512926798313856,
-0.024785447865724564,
0.02352847158908844,
0.007294002920389175,
-0.005244777537882328,
-0.029016677290201187,
0.001995007274672389,
-0.05070394277572632,
0.01683640107512474,
0.026237167418003082,
-0.0025205914862453938,
0.00040940247708931565,
0.0007247530156746507,
-0.06621254980564117,
-0.0014495060313493013,
0.0032663678284734488,
0.006094564683735371,
-0.0015634748851880431,
-0.05651082098484039,
-0.03238041698932648,
-0.026715172454714775,
0.010790521278977394,
0.003303988603875041,
-0.038346629589796066,
-0.010356776416301727,
-0.06005159765481949,
-0.011144599877297878,
-0.007949046790599823,
0.03137129545211792,
0.013428401201963425,
-0.032681383192539215,
-0.03806336596608162,
0.019669022411108017,
-0.03816958889365196,
-0.013074323534965515,
0.019120201468467712,
-0.0004199141694698483,
0.011737680062651634,
0.006537161767482758,
-0.06327370554208755,
-0.03029135800898075,
0.04514492303133011,
-0.04698612540960312,
-0.022643277421593666,
0.028998972848057747,
0.046844497323036194,
-0.07867608964443207,
-0.03990457206964493,
-0.030733954161405563,
0.05105802044272423,
-0.020713552832603455,
0.02087288722395897,
0.017482591792941093,
-0.017278997227549553,
0.004625141620635986,
-0.03955049440264702,
0.022926539182662964,
0.009480433538556099,
-0.011613752692937851,
0.019297242164611816,
0.0177481509745121,
0.06401727348566055,
-0.043870240449905396,
-0.040860582143068314,
0.011525233276188374,
0.0005537998513318598,
0.021846601739525795,
0.012189129367470741,
0.048012953251600266,
0.006178657989948988,
0.04171036556363106,
0.014827008359134197,
0.009276838973164558,
-0.052828412503004074,
-0.004437037743628025,
0.015411237254738808,
-0.019208721816539764,
0.05718356743454933,
-0.004797754343599081,
-0.035336967557668686,
0.01210946124047041,
-0.01668591797351837,
-0.01439326349645853,
0.009462730027735233,
0.007227613590657711,
-0.07605591416358948,
-0.034912072122097015,
0.012091757729649544,
-0.06277799606323242,
-0.01678328961133957,
-0.0866074338555336,
0.055767256766557693,
0.005541318096220493,
0.010454148054122925,
-0.05215566232800484,
0.014428671449422836,
0.03581497073173523,
0.03507140651345253
] |
719,775
|
ibm_platform_services.iam_policy_management_v1
|
delete_policy_template
|
Delete a policy template.
Delete a policy template by providing the policy template ID. This deletes all
versions of this template. A policy template can't be deleted if any version of
the template is assigned to one or more child accounts. You must remove the policy
assignments first.
:param str policy_template_id: The policy template ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_policy_template(
self,
policy_template_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a policy template.
Delete a policy template by providing the policy template ID. This deletes all
versions of this template. A policy template can't be deleted if any version of
the template is assigned to one or more child accounts. You must remove the policy
assignments first.
:param str policy_template_id: The policy template ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not policy_template_id:
raise ValueError('policy_template_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_policy_template',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['policy_template_id']
path_param_values = self.encode_path_vars(policy_template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/policy_templates/{policy_template_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, policy_template_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.04556669667363167,
-0.015463434159755707,
0.021691376343369484,
-0.07440216094255447,
0.0030653877183794975,
-0.035405803471803665,
-0.052266594022512436,
0.07151491194963455,
0.001019675168208778,
-0.0008236060384660959,
0.0008178222924470901,
-0.005816139280796051,
-0.03435084968805313,
-0.048527978360652924,
-0.0783998891711235,
0.0027276165783405304,
0.03707152605056763,
0.027169745415449142,
0.01068837009370327,
-0.039644137024879456,
0.07721538096666336,
0.002101814839988947,
-0.06166865676641464,
0.0006709150038659573,
0.03435084968805313,
-0.03584999591112137,
-0.01662943884730339,
0.0015280668158084154,
0.012400360777974129,
-0.020932549610733986,
-0.07662311941385269,
0.06407469511032104,
-0.0007131363963708282,
0.07195910811424255,
-0.05267376825213432,
0.01226155087351799,
0.012622456066310406,
-0.015102528966963291,
-0.06970112770795822,
0.043678879737854004,
-0.04034744203090668,
0.02476370520889759,
-0.02343112975358963,
-0.022172585129737854,
0.028853973373770714,
0.00886995904147625,
-0.02637390047311783,
-0.030871344730257988,
-0.007356930058449507,
0.01328874472528696,
0.027632445096969604,
0.02208004519343376,
-0.014991480857133865,
0.0005928343744017184,
0.014898940920829773,
0.04664016142487526,
0.04308662563562393,
-0.04264243319630623,
-0.006389887072145939,
-0.04186509922146797,
0.03723809868097305,
0.018739350140094757,
-0.08484067767858505,
-0.03257407993078232,
-0.01098449807614088,
-0.08617325127124786,
-0.020377308130264282,
0.03398068994283676,
-0.022505728527903557,
-0.05826318636536598,
-0.06229792907834053,
-0.012779774144291878,
0.023005444556474686,
-0.051563289016485214,
0.036386728286743164,
-0.02113613672554493,
0.011697056703269482,
-0.03871873766183853,
-0.008217552676796913,
-0.014593558385968208,
-0.06640670448541641,
-0.10164593905210495,
-0.012243042699992657,
-0.008259194903075695,
-0.014426986686885357,
0.009485349990427494,
0.03475802391767502,
-0.041494935750961304,
0.05500577762722969,
0.035146694630384445,
0.027854541316628456,
-0.009837002493441105,
-0.03462846949696541,
-0.008532187901437283,
0.031148964539170265,
0.059188585728406906,
0.038200512528419495,
-0.013177696615457535,
0.001121469191275537,
0.004326245281845331,
-0.008546069264411926,
-0.006001219153404236,
0.01075314823538065,
-0.008411886170506477,
0.03061223216354847,
0.01603718288242817,
0.00928638968616724,
0.005011041183024645,
0.026744060218334198,
-0.0038496642373502254,
0.01256693247705698,
-0.023283064365386963,
-0.014917448163032532,
-0.005274780094623566,
0.06581445038318634,
0.0388668030500412,
-0.038311559706926346,
-0.05681956186890602,
-0.027373332530260086,
-0.024338020011782646,
0.002579552587121725,
-0.043641865253448486,
0.02317201718688011,
-0.022376172244548798,
0.017193932086229324,
0.004812079947441816,
0.0021781602408736944,
-0.015852103009819984,
-0.03505415469408035,
0.04156896844506264,
-0.051193129271268845,
-0.009170714765787125,
-0.03270363807678223,
0.03923696279525757,
0.0038126481231302023,
0.014778638258576393,
0.027354825288057327,
-0.02148778922855854,
0.01141943596303463,
0.02707720547914505,
0.033332910388708115,
0.0408286489546299,
0.018915176391601562,
0.08987484872341156,
0.012853806838393211,
-0.010586576536297798,
-0.009175341576337814,
0.03994026407599449,
-0.027373332530260086,
-0.0003762329579330981,
-0.02585567720234394,
-0.005205375142395496,
-0.03170420601963997,
-0.05889245867729187,
-0.010854942724108696,
-0.0004939322825521231,
0.020192228257656097,
-0.00020720285829156637,
0.003060760674998164,
-0.002660525031387806,
0.05911455303430557,
0.025448501110076904,
0.07269942760467529,
0.022154076024889946,
0.0010913936421275139,
-0.025929708033800125,
0.019155779853463173,
0.020728960633277893,
-0.03975518420338631,
-0.052895866334438324,
0.009846256114542484,
0.056523434817790985,
0.03968115523457527,
0.012761266902089119,
-0.01039224211126566,
0.027762001380324364,
0.04763959348201752,
0.049342330545186996,
-0.06996024399995804,
-0.0779557004570961,
0.017915744334459305,
-0.006787809077650309,
-0.025707613676786423,
0.009170714765787125,
-0.00512671610340476,
0.029076069593429565,
-0.01044776663184166,
0.09298419207334518,
-0.03507266193628311,
0.021062104031443596,
-0.05619028955698013,
-0.08091697841882706,
0.018776366487145424,
0.045492663979530334,
0.02135823294520378,
-0.05904052034020424,
0.006135402247309685,
-0.07802972942590714,
0.0042684078216552734,
0.01627778634428978,
-0.02222810871899128,
-0.04253138601779938,
0.0033036780077964067,
-0.0051498510874807835,
0.02430100552737713,
0.03512818366289139,
0.0035165201406925917,
-0.024560116231441498,
0.0038751126267015934,
-0.001160798710770905,
0.005390455015003681,
-0.020747467875480652,
-0.00634824438020587,
0.02572612091898918,
-0.019470416009426117,
-0.013186950236558914,
-0.0005422265967354178,
-0.036627333611249924,
0.01221527997404337,
-0.04334573820233345,
-0.009790732525289059,
0.045122504234313965,
0.007125580217689276,
0.03327738493680954,
-0.01688855141401291,
0.02792857214808464,
-0.02489326149225235,
0.08728373050689697,
0.007467978168278933,
0.006709150038659573,
0.07640102505683899,
0.029834896326065063,
0.07151491194963455,
-0.012724250555038452,
0.0067646740935742855,
-0.09690789133310318,
-0.02622583694756031,
-0.062371961772441864,
-0.010096114128828049,
0.005251645110547543,
0.02428249642252922,
0.0272993016988039,
0.06514815986156464,
0.041087761521339417,
-0.051045067608356476,
0.04641806706786156,
-0.07269942760467529,
0.00515910517424345,
0.08469261229038239,
-0.04412307217717171,
-0.016351819038391113,
-0.05552400276064873,
0.0073893191292881966,
-0.01603718288242817,
0.00018247732077725232,
-0.004946263041347265,
0.04882410541176796,
-0.01414936687797308,
0.010494036599993706,
0.023023953661322594,
-0.0325370654463768,
0.031500618904829025,
-0.04175404831767082,
-0.03627568110823631,
0.00023988104658201337,
-0.026151804253458977,
0.005293288268148899,
0.04893515259027481,
0.04612193629145622,
0.04678822681307793,
0.04456726461648941,
-0.014935956336557865,
0.05426545813679695,
-0.013501586392521858,
-0.047047339379787445,
-0.008962498977780342,
-0.0009439080604352057,
-0.00042944346205331385,
0.02513386495411396,
-0.0005144645692780614,
-0.02620732970535755,
-0.02635539323091507,
0.03757124021649361,
0.035146694630384445,
0.04193912819027901,
0.027632445096969604,
-0.03949607163667679,
-0.028132161125540733,
0.07647506147623062,
0.0860251858830452,
-0.025948217138648033,
0.008740403689444065,
-0.015852103009819984,
0.008226806297898293,
-0.0783998891711235,
-0.06525921076536179,
0.0146860983222723,
-0.04930531233549118,
0.03483205661177635,
0.04393799230456352,
0.03725660592317581,
0.021321216598153114,
-0.02269080840051174,
-0.030279088765382767,
-0.05211852863430977,
0.005205375142395496,
0.016814518719911575,
0.008245314471423626,
0.06970112770795822,
0.008092623203992844,
0.007181104272603989,
-0.006537951063364744,
-0.02100658044219017,
0.001157328370027244,
0.011734072118997574,
0.08402632176876068,
0.04190211370587349,
-0.061742689460515976,
0.00813889317214489,
-0.009369675070047379,
-0.06351945549249649,
0.09009695053100586,
-0.01894293911755085,
0.05789302662014961,
0.010355226695537567,
-0.05989189073443413,
-0.029335180297493935,
-0.008680252358317375,
0.05781899392604828,
0.033573511987924576,
0.036978986114263535,
0.011132562533020973,
-0.017212441191077232,
-0.012474392540752888,
0.017804697155952454,
-0.02707720547914505,
0.06744315475225449,
-0.024375036358833313,
-0.04445621743798256,
0.07647506147623062,
-0.00042221377952955663,
-0.023708749562501907,
0.071403868496418,
0.03094537742435932,
-0.02404189296066761,
0.0037224215921014547,
0.009753716178238392,
0.0035743576008826494,
0.06925693899393082,
-0.04142090678215027,
-0.021894965320825577,
0.0021423010621219873,
0.005607924424111843,
-0.005584788974374533,
-0.016425849869847298,
-0.07506845146417618,
0.008596966043114662,
0.05245167389512062,
-0.06329736113548279,
-0.01568553037941456,
-0.04552968218922615,
-0.05041579529643059,
-0.03975518420338631,
-0.0006772771594114602,
-0.020118197426199913,
-0.01908174902200699,
0.0060659972950816154,
-0.038052450865507126,
-0.06766524910926819,
0.0022117060143500566,
-0.04116179421544075,
-0.0311119481921196,
-0.01207647006958723,
0.043308719992637634,
0.027873048558831215,
0.00018638135225046426,
-0.013816222548484802,
0.0012747385771945119,
-0.0788440853357315,
-0.013853238895535469,
-0.020247751846909523,
-0.040495503693819046,
0.03353649750351906,
-0.0005890749744139612,
-0.056412387639284134,
0.024208465591073036,
-0.019229812547564507,
-0.014315938577055931,
-0.005052684340626001,
0.020247751846909523,
0.020710453391075134,
-0.044382184743881226,
-0.012298566289246082,
-0.018535763025283813,
-0.0006795906228944659,
0.0014725427608937025,
-0.028150668367743492,
0.03657180815935135,
0.04234630614519119,
0.022616777569055557,
0.04508548974990845,
0.0390888974070549,
-0.01908174902200699,
0.02915010042488575,
0.0010190968168899417,
0.025948217138648033,
0.011586008593440056,
-0.0008797083864919841,
0.0027091086376458406,
-0.03945905715227127,
0.03871873766183853,
0.04434517025947571,
-0.024856245145201683,
-0.006588848307728767,
0.005325677338987589,
0.08943066000938416,
-0.04515952244400978,
0.06696194410324097,
-0.011826612055301666,
-0.0072875251062214375,
0.018174856901168823,
0.04749152809381485,
0.03823753073811531,
-0.06822048872709274,
-0.01895219273865223,
0.008749657310545444,
-0.02670704573392868,
-0.03627568110823631,
-0.01008686050772667,
-0.006630491465330124,
-0.016684962436556816,
-0.049009185284376144,
-0.007907543331384659,
-0.009328031912446022,
0.0313340462744236,
0.08683954179286957,
-0.013603380881249905,
0.13162890076637268,
-0.009911034256219864,
-0.0008519464172422886,
0.03596104681491852,
-0.01518581435084343,
-0.044641297310590744,
-0.04589984193444252,
-0.05670851469039917,
0.0430125929415226,
-0.0013857865706086159,
-0.08039875328540802,
-0.004592297598719597,
0.028021112084388733,
-0.0019294590456411242,
0.030056992545723915,
0.014787892811000347,
-0.015139544382691383,
-0.017906490713357925,
-0.058004073798656464,
-0.010216416791081429,
0.05041579529643059,
-0.018535763025283813,
-0.05356215313076973,
-0.006005846429616213,
0.007555891294032335,
0.04952741041779518,
-0.03727511316537857,
-0.006773928180336952,
-0.04393799230456352,
0.022191092371940613,
0.055672064423561096,
-0.019470416009426117,
0.009735208004713058,
-0.0031278522219508886,
-0.03622015565633774,
0.0047843181528151035,
0.08617325127124786,
0.020728960633277893,
0.04142090678215027,
0.04508548974990845,
-0.015815086662769318,
0.0408286489546299,
0.026281360536813736,
0.031611666083335876,
-0.028835464268922806,
-0.015509704127907753,
0.016361072659492493,
0.03462846949696541,
-0.06699896603822708,
-0.030205057933926582,
-0.02356068417429924,
0.0015084020560607314,
0.009175341576337814,
0.017536330968141556,
0.02198750525712967,
0.02707720547914505,
-0.012687234207987785,
0.018656063824892044,
-0.04327170550823212,
-0.017776934430003166,
-0.041346874088048935,
0.07566070556640625,
-0.03488758206367493,
0.032351985573768616,
-0.03692346066236496,
-0.0021827872842550278,
0.005751361139118671,
0.05078595504164696,
0.027873048558831215,
0.05959576368331909,
-0.0006790122715756297,
-0.008000083267688751,
0.0029011291917413473,
-0.08491470664739609,
0.03975518420338631,
0.002320440486073494,
0.032851699739694595,
-0.01735125109553337,
0.03882978484034538,
-0.003893620567396283,
0.03801543265581131,
0.00044216771493665874,
0.021802425384521484,
0.025781644508242607,
0.01336277648806572,
-0.05670851469039917,
-0.026670029386878014,
-0.029057560488581657,
-0.021931981667876244,
-0.04808378592133522,
-0.04819483309984207,
0.02515237219631672,
0.041087761521339417,
0.011373165994882584,
0.020914040505886078,
-0.004138851538300514,
-0.03823753073811531,
-0.028095144778490067,
-0.023856813088059425,
-0.09483499825000763,
-0.02744736522436142,
-0.02224661596119404,
0.03355500474572182,
-0.016842281445860863,
0.019618481397628784,
-0.02209855243563652,
0.01821187324821949,
0.01328874472528696,
-0.014426986686885357,
-0.03414726257324219,
0.03720108047127724,
-0.019155779853463173,
0.009337286464869976,
0.08069488406181335,
-0.04312364012002945,
0.03085283748805523,
0.0003504952765069902,
-0.05060087516903877,
0.08269374817609787,
0.010197908617556095,
-0.025596564635634422,
0.014473256655037403,
-0.010993752628564835,
-0.03168569877743721,
-0.02890949696302414,
0.03572044149041176,
-0.012798282317817211,
0.021894965320825577,
0.03681241348385811,
0.021080613136291504,
-0.01256693247705698,
-0.011928406544029713,
-0.01366815809160471,
0.001915578031912446,
0.02683660015463829,
-0.010290448553860188,
-0.03250005096197128,
-0.06736912578344345,
0.027132729068398476,
0.04093969613313675,
-0.010410750284790993,
0.0311119481921196,
0.03270363807678223,
-0.003710854100063443,
-0.0062233153730630875,
0.034554436802864075,
-0.027650952339172363,
-0.013631142675876617,
0.08224955201148987,
0.03596104681491852,
-0.01062359195202589,
0.04064356908202171,
0.008981007151305676,
-0.034295324236154556,
0.032481539994478226,
0.03520221635699272,
-0.026651520282030106,
-0.011373165994882584,
0.09068920463323593,
0.044604282826185226,
-0.005214629229158163,
-0.014047572389245033,
-0.045825809240341187,
0.012974108569324017,
0.03875575214624405,
0.03718257322907448,
0.04064356908202171,
0.014778638258576393,
0.012816790491342545,
-0.026781076565384865,
0.00372010818682611,
0.0075281294994056225,
-0.04627000167965889,
0.011354658752679825,
-0.006588848307728767,
-0.007458724081516266,
-0.02828022465109825,
0.045492663979530334,
0.043419770896434784,
0.00461543258279562,
0.028095144778490067,
-0.04456726461648941,
-0.06929395347833633,
-0.019285336136817932,
-0.017397521063685417,
-0.020192228257656097,
0.018517253920435905,
-0.020969564095139503,
0.05715270712971687,
0.002706794999539852,
-0.015463434159755707,
-0.059558745473623276,
0.02574462816119194,
-0.03470250219106674,
0.016185246407985687,
-0.035627901554107666,
0.04671419411897659,
0.042938560247421265,
0.04504847526550293,
-0.007639177143573761,
-0.05134119465947151,
0.021321216598153114,
0.001115107093937695,
0.055672064423561096,
-0.029335180297493935,
0.013686666265130043,
0.04308662563562393,
-0.0622238963842392,
0.06451889127492905,
-0.002945085521787405,
0.00813889317214489,
0.0084905456751585,
-0.015204322524368763,
-0.014251160435378551,
0.013862492516636848,
-0.04434517025947571,
-0.04871305823326111,
0.0030515065882354975,
-0.031759727746248245,
0.04068058729171753,
0.012104232795536518,
-0.007190358359366655,
0.009975812397897243,
0.02950175292789936,
-0.032111380249261856,
0.03037162870168686,
-0.005334930960088968,
0.006413022056221962,
-0.049490392208099365,
-0.05511682480573654,
-0.002000020816922188,
-0.02296842820942402,
-0.04064356908202171,
0.024985801428556442,
0.006408395245671272,
-0.0031070306431502104,
0.03485056385397911,
0.03361053019762039,
-0.024708181619644165,
0.010114622302353382,
-0.028835464268922806,
-0.010790164582431316,
0.03755273297429085,
0.06759122014045715,
0.05929963290691376,
0.040014296770095825,
-0.044012024998664856,
0.006524070166051388,
-0.05108208209276199,
0.05985487252473831,
0.031870778650045395,
-0.06829452514648438,
-0.034424882382154465,
-0.04952741041779518,
0.004960144404321909,
0.04164300113916397,
-0.03144509345293045,
0.021339723840355873,
-0.018730096518993378,
0.0028109026607125998,
-0.01674048602581024,
-0.023764273151755333,
-0.008828315883874893,
-0.009096682071685791,
-0.034184277057647705,
-0.03949607163667679,
0.021321216598153114,
-0.05559803545475006,
0.05644940212368965,
0.0366828590631485,
-0.002043977379798889,
0.07429111748933792,
-0.019248319789767265,
0.006699896417558193,
-0.01560224499553442,
0.02964981645345688,
-0.01146570686250925,
0.04604790732264519,
0.09942498058080673,
-0.07714134454727173,
0.002912696683779359,
0.04800975322723389,
-0.011697056703269482,
-0.04689927399158478,
0.009688938036561012,
-0.03546132892370224,
-0.009577889926731586,
0.0008953245123848319,
-0.029427720233798027,
0.005941068287938833,
0.010873449966311455,
-0.040976714342832565,
0.012418868020176888,
-0.027984097599983215,
0.001075199106708169,
-0.07436514645814896,
-0.05404336377978325,
0.011317642405629158,
-0.028224701061844826,
0.005871663335710764,
-0.01677750237286091,
0.04989757016301155,
0.008037099614739418,
-0.03975518420338631,
0.045344602316617966,
-0.04393799230456352,
-0.020543880760669708,
-0.012798282317817211,
0.011891390196979046,
0.0078335115686059,
0.04119880869984627,
0.050341762602329254,
-0.025596564635634422,
-0.0026929141022264957,
0.02259826846420765,
-0.020210737362504005,
-0.025059832260012627,
-0.008476664312183857,
0.0012874627718701959,
-0.008694133721292019,
-0.01811007782816887,
-0.044863395392894745,
-0.006588848307728767,
-0.0258741844445467,
0.008393377996981144,
0.013177696615457535,
-0.029076069593429565,
-0.023727256804704666,
-0.016944075003266335,
-0.009365048259496689,
0.022394681349396706
] |
719,776
|
ibm_platform_services.iam_policy_management_v1
|
delete_policy_template_version
|
Delete a policy template version.
Delete a specific version of a policy template by providing a policy template ID
and version number. You can't delete a policy template version that is assigned to
one or more child accounts. You must remove the policy assignments first.
:param str policy_template_id: The policy template ID.
:param str version: The policy template version.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_policy_template_version(
self,
policy_template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a policy template version.
Delete a specific version of a policy template by providing a policy template ID
and version number. You can't delete a policy template version that is assigned to
one or more child accounts. You must remove the policy assignments first.
:param str policy_template_id: The policy template ID.
:param str version: The policy template version.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not policy_template_id:
raise ValueError('policy_template_id must be provided')
if not version:
raise ValueError('version must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_policy_template_version',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['policy_template_id', 'version']
path_param_values = self.encode_path_vars(policy_template_id, version)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/policy_templates/{policy_template_id}/versions/{version}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, policy_template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.05900535359978676,
-0.018029414117336273,
-0.016800135374069214,
-0.0570310577750206,
0.017833847552537918,
-0.040268175303936005,
-0.05334322527050972,
0.06910033524036407,
-0.01354999840259552,
0.02888803742825985,
-0.0019742953591048717,
0.01371762715280056,
-0.02778913825750351,
-0.07114913314580917,
-0.0518159382045269,
-0.018476424738764763,
0.08232438564300537,
0.016204122453927994,
0.005210463423281908,
-0.03563044220209122,
0.06869057565927505,
0.03008006513118744,
-0.05334322527050972,
0.03125346824526787,
0.0439932607114315,
-0.01264666486531496,
0.010243984870612621,
-0.00628142524510622,
0.03723222762346268,
-0.020264465361833572,
-0.04525978863239288,
0.037343982607126236,
0.004195377696305513,
0.08016383647918701,
-0.039374154061079025,
-0.00178571289870888,
0.00697987899184227,
-0.002318865619599819,
-0.11883022636175156,
0.07170789688825607,
0.014099448919296265,
0.0492083802819252,
-0.04760659113526344,
-0.02471594139933586,
0.003503908636048436,
-0.0007962370291352272,
-0.00689606461673975,
-0.01638106256723404,
-0.016707008704543114,
0.01787109673023224,
0.03723222762346268,
-0.009545531123876572,
-0.0000017916061096912017,
-0.038815390318632126,
0.0020581097342073917,
0.043136488646268845,
0.05416274443268776,
0.009582782164216042,
0.00016122635861393064,
-0.01425776444375515,
0.017954912036657333,
0.016073744744062424,
-0.09484067559242249,
0.008334878832101822,
-0.005089398007839918,
-0.05595078319311142,
0.01293535903096199,
-0.002182667376473546,
-0.01359656173735857,
-0.03292975574731827,
-0.03503442928195,
0.0014935265062376857,
0.007422233000397682,
-0.02888803742825985,
0.043136488646268845,
0.01424845214933157,
-0.011864397674798965,
-0.042801231145858765,
0.01296329777687788,
-0.043769754469394684,
-0.03043394908308983,
-0.10989002138376236,
0.0064490544609725475,
-0.038591884076595306,
0.021773124113678932,
0.0008131163194775581,
0.016930513083934784,
-0.05446074903011322,
0.03155147284269333,
0.07491146773099899,
-0.001930059865117073,
0.005848383996635675,
-0.0553547702729702,
-0.009983229450881481,
0.03516480699181557,
0.037027351558208466,
0.07059036940336227,
-0.03624508157372475,
-0.017787283286452293,
-0.0016483503859490156,
0.0307505801320076,
-0.03199848532676697,
-0.020990855991840363,
0.0017263443442061543,
0.01595267839729786,
-0.018802369013428688,
-0.02279752306640148,
0.0005535244126804173,
0.03663621470332146,
-0.008763263933360577,
0.019873330369591713,
-0.020413467660546303,
-0.019016562029719353,
-0.011193881742656231,
0.05099641904234886,
0.002770532388240099,
-0.05397648736834526,
-0.038480132818222046,
-0.035667695105075836,
-0.04853786528110504,
0.06567325443029404,
-0.039411403238773346,
0.0029195358511060476,
0.020040959119796753,
0.003913667984306812,
0.01571054756641388,
-0.013643126003444195,
-0.03134659305214882,
-0.016725633293390274,
0.01725645922124386,
-0.035853948444128036,
0.02497669868171215,
0.007082318887114525,
0.00784596148878336,
-0.03179360553622246,
-0.019538072869181633,
-0.019165564328432083,
-0.002526073483750224,
0.002917207544669509,
0.01345687173306942,
0.01479790173470974,
0.015300788916647434,
0.009852850809693336,
0.015105221420526505,
0.01325199194252491,
-0.05464700236916542,
-0.00008570606587454677,
0.03406590595841408,
-0.009461716748774052,
-0.01192958652973175,
-0.009852850809693336,
0.0314955972135067,
0.02516295202076435,
-0.04801635071635246,
-0.02356116659939289,
-0.005648160818964243,
0.013531372882425785,
-0.02389642409980297,
-0.0054945009760558605,
-0.020469345152378082,
0.07658775895833969,
0.021009482443332672,
0.06585951149463654,
0.007301167584955692,
0.02568446472287178,
-0.012283469550311565,
0.009000738151371479,
-0.010737558826804161,
-0.02788226492702961,
-0.02883216179907322,
-0.010039105080068111,
0.04671257361769676,
0.021791750565171242,
0.01764759235084057,
-0.03581669554114342,
0.0300055630505085,
0.0657850131392479,
0.03203573450446129,
-0.008004277013242245,
-0.04898487403988838,
0.0017077188240364194,
-0.03482954949140549,
-0.021884877234697342,
0.04555779695510864,
-0.003876417176797986,
0.041236694902181625,
0.007962370291352272,
0.0479045994579792,
-0.034792300313711166,
-0.00143415795173496,
-0.05785057693719864,
-0.07360769063234329,
0.041534703224897385,
0.046116556972265244,
0.017247145995497704,
-0.03315326198935509,
-0.0025167609564960003,
-0.09491518139839172,
0.03309738636016846,
-0.0007362864562310278,
-0.007776116020977497,
-0.04932013154029846,
0.0021442524157464504,
-0.02516295202076435,
0.02348666451871395,
0.03155147284269333,
0.06042088568210602,
-0.044365767389535904,
-0.015524294227361679,
-0.009545531123876572,
0.026280477643013,
-0.020823227241635323,
0.02706274576485157,
0.04965538904070854,
-0.03332088887691498,
-0.043508999049663544,
-0.007752834353595972,
-0.03523930907249451,
-0.004137173295021057,
-0.01721920818090439,
-0.019407695159316063,
0.05595078319311142,
0.010532679036259651,
0.03507167845964432,
0.010812060907483101,
0.02696961909532547,
-0.01285154465585947,
0.07375669479370117,
-0.04332274571061134,
-0.02654123492538929,
0.07614074647426605,
0.04719683155417442,
0.1148071363568306,
-0.019687077030539513,
-0.01831810735166073,
-0.0577760748565197,
-0.04965538904070854,
-0.00697987899184227,
0.009554844349622726,
0.009294087998569012,
0.0566585510969162,
-0.0035225339233875275,
0.0698826014995575,
0.02814302034676075,
-0.019314568489789963,
0.032426867634058,
-0.08590047061443329,
-0.011370823718607426,
0.05300796777009964,
-0.07431545853614807,
-0.0289811659604311,
-0.03382377699017525,
0.005522439256310463,
0.02732350118458271,
0.040603432804346085,
-0.014555771835148335,
0.04607930779457092,
-0.008316253311932087,
0.02411992847919464,
0.013615187257528305,
-0.040715184062719345,
0.02560996264219284,
-0.06686528772115707,
-0.040789686143398285,
-0.013438246212899685,
-0.05114542320370674,
-0.0012618727050721645,
0.0499533973634243,
0.06030913442373276,
0.0499533973634243,
-0.06161291524767876,
0.009526906535029411,
0.009927352890372276,
-0.02780776284635067,
-0.02780776284635067,
0.000179851776920259,
-0.015812987461686134,
-0.01768484339118004,
0.00565281743183732,
-0.0260010976344347,
-0.0115570779889822,
-0.05252370610833168,
0.05595078319311142,
0.05948961526155472,
0.03181222826242447,
0.05397648736834526,
-0.02831064909696579,
-0.005182525143027306,
0.05133167654275894,
0.062022674828767776,
0.007124226074665785,
0.014602335169911385,
0.008875016123056412,
0.014518520794808865,
-0.11339160054922104,
-0.02423168160021305,
-0.041869960725307465,
-0.009131115861237049,
0.017507901415228844,
0.0006443233578465879,
0.04805360361933708,
0.019407695159316063,
0.01459302194416523,
-0.02458556368947029,
-0.02663436159491539,
0.008698075078427792,
0.04812810570001602,
0.01339168194681406,
0.06127765774726868,
-0.0066166832111775875,
0.003464329522103071,
0.02536783181130886,
-0.010551304556429386,
-0.021214362233877182,
0.018038727343082428,
0.062357932329177856,
0.02790088951587677,
-0.062022674828767776,
0.0314955972135067,
0.0016017868183553219,
-0.05501951277256012,
0.08306940644979477,
0.011445324867963791,
0.07442720979452133,
0.00011517207894939929,
-0.05226295068860054,
-0.03050844930112362,
-0.016781510785222054,
0.0032664344180375338,
0.05542927235364914,
0.00175661058165133,
0.035723570734262466,
-0.0006181313656270504,
0.002210605423897505,
-0.0064071472734212875,
0.01114731840789318,
0.0549822635948658,
-0.019333193078637123,
-0.022052505984902382,
0.07334693521261215,
0.06030913442373276,
-0.020320340991020203,
0.05699380859732628,
0.03039669804275036,
-0.05494501069188118,
-0.002793814055621624,
0.0277705118060112,
0.040193673223257065,
0.038480132818222046,
-0.04946913570165634,
-0.03818212449550629,
0.006267456337809563,
0.0006123109487816691,
0.019333193078637123,
-0.0033898279070854187,
-0.0639224648475647,
0.03322776407003403,
0.042503226548433304,
-0.02782638929784298,
0.003063882701098919,
-0.0603836365044117,
-0.002914879471063614,
-0.04540879279375076,
0.0027402660343796015,
-0.011259070597589016,
-0.035853948444128036,
0.01604580506682396,
-0.05595078319311142,
-0.05662129819393158,
0.0006809922051616013,
-0.04693607613444328,
0.002365429187193513,
0.007627112325280905,
0.003976528532803059,
0.039336901158094406,
-0.043359994888305664,
-0.0471595823764801,
0.00189048086758703,
-0.02486494556069374,
-0.07107463479042053,
0.0046074651181697845,
-0.04745759069919586,
0.043136488646268845,
-0.00349226756952703,
-0.047718346118927,
0.014611647464334965,
0.0037297417875379324,
-0.02326315827667713,
-0.010951750911772251,
0.05263545736670494,
0.0008538594120182097,
-0.020152712240815163,
-0.01595267839729786,
-0.015980616211891174,
-0.0028007987421005964,
0.013065737672150135,
-0.05595078319311142,
0.016204122453927994,
0.02346803806722164,
-0.0327993780374527,
0.03499717637896538,
0.04823985695838928,
-0.01354068610817194,
0.01309367548674345,
0.010383675806224346,
-0.037828244268894196,
0.021717248484492302,
-0.03142109513282776,
-0.01122182048857212,
-0.07710926979780197,
0.02682061493396759,
0.0011798044433817267,
-0.01160364132374525,
0.012628039345145226,
0.04671257361769676,
0.08306940644979477,
-0.01634381338953972,
0.08627297729253769,
-0.0053874049335718155,
-0.023058278486132622,
0.05133167654275894,
0.06306570023298264,
0.02698824368417263,
-0.02629910409450531,
-0.02482769452035427,
0.02607559785246849,
-0.01671632193028927,
-0.009592095389962196,
-0.01597130484879017,
-0.01491896715015173,
-0.009629346430301666,
-0.064853735268116,
-0.012655978091061115,
0.009014707058668137,
0.00731048034504056,
0.02873903512954712,
-0.009796975180506706,
0.09864026308059692,
-0.02657848410308361,
0.011156630702316761,
0.02520020306110382,
0.017172643914818764,
-0.02613147534430027,
-0.02974480763077736,
-0.019761579111218452,
0.038331128656864166,
-0.0024492437951266766,
-0.0898490622639656,
-0.01707020401954651,
-0.013037798926234245,
-0.021046733483672142,
0.02680199034512043,
0.0116502046585083,
-0.03563044220209122,
-0.019146939739584923,
-0.0299124363809824,
-0.03520205616950989,
0.010448864661157131,
-0.05174143612384796,
-0.06682803481817245,
-0.009335995651781559,
0.010718933306634426,
0.038331128656864166,
-0.03073195554316044,
-0.037865493446588516,
-0.05233745276927948,
0.06191091984510422,
0.0297261830419302,
-0.008809827268123627,
-0.00095571723068133,
0.01244178507477045,
-0.04589305445551872,
-0.01185508444905281,
0.11123105138540268,
0.013205427676439285,
0.04913387820124626,
0.018886184319853783,
-0.03352576866745949,
0.0015854894882068038,
0.0270254947245121,
-0.0033083416055887938,
0.012916733510792255,
-0.019444946199655533,
0.023058278486132622,
0.00788321252912283,
-0.0475320890545845,
-0.02844102680683136,
-0.01703295297920704,
-0.011501201428472996,
-0.01160364132374525,
0.010113607160747051,
0.002689046086743474,
0.013242678716778755,
0.004437508061528206,
0.0313093438744545,
-0.02307690493762493,
-0.02276027202606201,
-0.03233374282717705,
0.06731229275465012,
-0.02948405221104622,
0.0027379377279430628,
0.009205617941915989,
0.00611379649490118,
-0.02445518597960472,
0.0700688585639,
0.037567488849163055,
0.05669580027461052,
0.011128692887723446,
-0.0013817738508805633,
0.005140617955476046,
-0.07837580144405365,
0.0439932607114315,
0.004351365379989147,
0.052560955286026,
0.038927141577005386,
0.05636054277420044,
-0.041124943643808365,
0.02290927618741989,
0.02223876118659973,
0.011333572678267956,
0.017824534326791763,
0.040603432804346085,
-0.0070776622742414474,
-0.03332088887691498,
-0.02402680180966854,
-0.036058828234672546,
-0.0376419872045517,
-0.05412549152970314,
0.0596386194229126,
0.05606253817677498,
-0.014602335169911385,
0.036077454686164856,
-0.01671632193028927,
-0.01641831360757351,
-0.02367291785776615,
-0.019575323909521103,
-0.112572081387043,
0.009871476329863071,
-0.039821162819862366,
0.004202362149953842,
-0.040044669061899185,
0.01333580631762743,
-0.037604738026857376,
-0.03145834803581238,
-0.017098141834139824,
0.003736726474016905,
-0.008008933626115322,
0.03022906929254532,
-0.05040040612220764,
-0.02818027138710022,
0.02298377826809883,
-0.02378467097878456,
0.043248243629932404,
0.0017740719486027956,
-0.05956411734223366,
0.07956782728433609,
-0.010886562056839466,
-0.02467869222164154,
0.022685769945383072,
-0.038480132818222046,
-0.02622460201382637,
-0.02369154430925846,
0.05352947860956192,
-0.005066116340458393,
-0.0055131264962255955,
0.043956007808446884,
0.02741662971675396,
-0.01807597652077675,
-0.006202267482876778,
0.005894947797060013,
-0.019333193078637123,
0.01718195714056492,
0.016427626833319664,
-0.031216217204928398,
-0.05859559401869774,
0.02436205931007862,
0.03436391428112984,
0.02477181889116764,
0.04742033779621124,
0.0641087219119072,
0.004819329362362623,
-0.021773124113678932,
0.0719313994050026,
-0.05341772735118866,
-0.002386382780969143,
0.08232438564300537,
0.042726729065179825,
0.02499532327055931,
0.04794184863567352,
0.03637545928359032,
-0.037362609058618546,
-0.01580367609858513,
0.04853786528110504,
-0.014146012254059315,
-0.005587628111243248,
0.045036282390356064,
0.0028007987421005964,
-0.004495712462812662,
-0.018923433497548103,
-0.007906493730843067,
-0.009657284244894981,
0.02914879471063614,
0.01363381277769804,
0.016222747042775154,
0.03268762677907944,
-0.0025819498114287853,
-0.02847827784717083,
0.01383869256824255,
-0.03063882887363434,
-0.06191091984510422,
0.04954363778233528,
-0.01569192297756672,
-0.021009482443332672,
-0.04674982279539108,
0.044440269470214844,
0.08627297729253769,
-0.002570308977738023,
0.03455016762018204,
-0.05308246985077858,
-0.06544975191354752,
-0.01747996360063553,
-0.002670420566573739,
-0.010346424765884876,
0.018299482762813568,
-0.012413847260177135,
0.0667162835597992,
0.011072816327214241,
-0.0034224223345518112,
-0.036859720945358276,
0.012404534965753555,
0.004982301965355873,
0.017899036407470703,
-0.01554291881620884,
0.042093466967344284,
0.0037856181152164936,
-0.010467490181326866,
0.0011768941767513752,
-0.04853786528110504,
0.040789686143398285,
0.010979689657688141,
0.07591724395751953,
-0.041087694466114044,
-0.007636425085365772,
0.08143036812543869,
-0.043210990726947784,
0.05725456401705742,
-0.0054898448288440704,
-0.0011454637860879302,
0.01828085631132126,
0.0020581097342073917,
-0.02257401868700981,
0.0037041318137198687,
-0.05446074903011322,
-0.03443841636180878,
-0.01279566902667284,
-0.009484998881816864,
0.013289242051541805,
0.041832711547613144,
-0.0261873509734869,
0.0510709211230278,
0.02588934451341629,
-0.038219377398490906,
0.02713724784553051,
-0.01417395006865263,
-0.0027425941079854965,
-0.02471594139933586,
-0.013950444757938385,
-0.02357979118824005,
-0.0473458357155323,
-0.01869061589241028,
0.03520205616950989,
0.015868864953517914,
-0.039187900722026825,
0.020338967442512512,
0.01755446568131447,
-0.03084370866417885,
-0.005010239779949188,
0.01339168194681406,
-0.03622645512223244,
0.01671632193028927,
0.05803683027625084,
0.05151793360710144,
0.0335443951189518,
-0.0493946336209774,
-0.021419242024421692,
-0.0695100948214531,
0.012981923297047615,
0.0616874173283577,
-0.062357932329177856,
-0.01524491235613823,
-0.03080645762383938,
-0.03443841636180878,
0.0008596798870712519,
-0.03486679866909981,
-0.004002138506621122,
-0.017209894955158234,
-0.0013061080826446414,
-0.01654869318008423,
-0.03078783117234707,
0.0030243038199841976,
-0.010150858201086521,
-0.037623364478349686,
-0.045706797391176224,
0.06779655814170837,
-0.0466008186340332,
0.0270254947245121,
0.03022906929254532,
-0.026932368054986,
0.022108381614089012,
-0.00636523962020874,
0.02909291721880436,
-0.008455944247543812,
0.05639779567718506,
-0.018001476302742958,
0.039783913642168045,
0.09998129308223724,
-0.08783751726150513,
0.015356664545834064,
0.06027188152074814,
0.019761579111218452,
-0.07696026563644409,
0.0161203071475029,
0.0004688369226641953,
-0.009401184506714344,
0.01790834777057171,
-0.009084552526473999,
0.04835160821676254,
0.01093312632292509,
-0.03604020178318024,
0.03436391428112984,
-0.008260376751422882,
-0.001281662262044847,
-0.06060714274644852,
-0.07308617979288101,
0.02957717888057232,
0.012246218509972095,
0.01606443151831627,
-0.005014896392822266,
0.045185286551713943,
-0.00006446144107030705,
-0.04760659113526344,
0.040901437401771545,
-0.0542372465133667,
-0.05241195112466812,
0.011380136013031006,
0.02387779764831066,
-0.009703847579658031,
0.037343982607126236,
0.005541064776480198,
-0.03196123242378235,
0.005932198837399483,
0.02257401868700981,
-0.019612574949860573,
-0.015775736421346664,
0.03421491011977196,
0.004442164674401283,
0.011007627472281456,
-0.002172190463170409,
-0.02844102680683136,
-0.002670420566573739,
-0.0019871003460139036,
0.011957524344325066,
-0.012991235591471195,
-0.009242868050932884,
-0.012749104760587215,
-0.005541064776480198,
0.00305689824745059,
-0.005308246705681086
] |
719,777
|
ibm_platform_services.iam_policy_management_v1
|
delete_role
|
Delete a role by ID.
Delete a role by providing a role ID.
:param str role_id: The role ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_role(
self,
role_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a role by ID.
Delete a role by providing a role ID.
:param str role_id: The role ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not role_id:
raise ValueError('role_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_role',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['role_id']
path_param_values = self.encode_path_vars(role_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/roles/{role_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, role_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.005616876762360334,
0.014559897594153881,
0.047683894634246826,
-0.09529448300600052,
0.05706673488020897,
-0.05618709325790405,
-0.040206942707300186,
0.11098141968250275,
-0.021258000284433365,
0.04042685404419899,
-0.01086723618209362,
0.05369477719068527,
-0.027946939691901207,
-0.021349629387259483,
0.004434858914464712,
0.003014604328200221,
0.0007479242631234229,
0.020561616867780685,
-0.016759000718593597,
-0.049223266541957855,
0.003956095315515995,
0.07312019169330597,
0.030146043747663498,
-0.003949223551899195,
0.020799852907657623,
0.01114212442189455,
-0.004879260901361704,
-0.015366235747933388,
-0.013973469845950603,
0.02591276913881302,
-0.00947447121143341,
0.0030741633381694555,
-0.06282105296850204,
0.07015140354633331,
-0.05746990442276001,
-0.018875638023018837,
-0.014120076783001423,
0.02193605713546276,
-0.06857537478208542,
-0.0003708123695105314,
-0.06604640930891037,
0.046181172132492065,
0.04944317787885666,
-0.004524197429418564,
-0.0005609432118944824,
-0.036560095846652985,
-0.00429512420669198,
-0.058789364993572235,
-0.05966900661587715,
-0.005621458403766155,
0.010711466893553734,
0.010500718839466572,
0.031117314472794533,
-0.016868956387043,
0.06054864823818207,
0.02248583361506462,
-0.014733993448317051,
0.012085906229913235,
0.02596774697303772,
0.00565811013802886,
0.014569060876965523,
-0.001923070172779262,
-0.09895965456962585,
0.004345519933849573,
-0.010564859956502914,
-0.05805633217096329,
-0.05541740730404854,
0.051019199192523956,
0.013396205380558968,
-0.003990456461906433,
-0.03599199280142784,
0.005268685519695282,
0.01959034614264965,
-0.032729990780353546,
0.03764132037758827,
-0.007124179042875767,
-0.027085624635219574,
-0.01620006188750267,
0.010757281444966793,
0.02083650603890419,
-0.02028672955930233,
-0.05981561541557312,
0.02208266407251358,
-0.04570470005273819,
-0.023805296048521996,
0.018499957397580147,
-0.012296653352677822,
-0.013561137951910496,
0.021093066781759262,
-0.03877752646803856,
0.025198061019182205,
-0.010830584913492203,
-0.06560658663511276,
0.021312978118658066,
-0.024648284539580345,
0.013240435160696507,
0.030017763376235962,
0.002377780620008707,
-0.002402978716418147,
-0.002977952593937516,
-0.011380360461771488,
0.011545293033123016,
0.04621782526373863,
0.04394541680812836,
0.0159435011446476,
0.026352589949965477,
-0.03613860160112381,
-0.030146043747663498,
0.028734952211380005,
0.029596267268061638,
0.01799599640071392,
0.020964786410331726,
0.026975668966770172,
-0.0025862373877316713,
-0.03304152935743332,
0.01909554935991764,
-0.004893005359917879,
-0.06120837852358818,
-0.030237672850489616,
0.0011551020434126258,
0.03459922969341278,
0.013368716463446617,
0.013982633128762245,
-0.0338478684425354,
0.010079224593937397,
-0.01762031577527523,
-0.08209986239671707,
0.004608954302966595,
0.0034544251393526793,
-0.05915588513016701,
-0.008136683143675327,
-0.019975189119577408,
0.022357551380991936,
0.015338746830821037,
0.05981561541557312,
0.03485579043626785,
0.02208266407251358,
0.03360963240265846,
0.024208463728427887,
0.06414052098989487,
0.054354507476091385,
0.07198398560285568,
-0.022046012803912163,
0.024959824979305267,
-0.021991034969687462,
-0.049919649958610535,
-0.020268402993679047,
0.014211705885827541,
-0.02805689536035061,
-0.02153288759291172,
-0.06337083131074905,
-0.03100735880434513,
0.04515492543578148,
-0.038557615131139755,
-0.003142885398119688,
0.013020524755120277,
-0.025143083184957504,
-0.0033261440694332123,
0.0028176014311611652,
0.005923835095018148,
0.04999295249581337,
0.0033513421658426523,
0.03318813815712929,
0.0019528496777638793,
-0.008090868592262268,
-0.03251007944345474,
0.02452000416815281,
-0.007559418212622404,
-0.06762243062257767,
-0.026407567784190178,
-0.01857326179742813,
-0.0016424554632976651,
0.005726831965148449,
-0.0013836026191711426,
-0.04141644760966301,
0.00949279684573412,
0.015558657236397266,
0.013936818577349186,
-0.029119795188307762,
0.0028496715240180492,
-0.02536299265921116,
-0.04031689837574959,
0.014495757408440113,
-0.04731737822294235,
0.03280329331755638,
0.002252935664728284,
-0.04346894472837448,
0.057249993085861206,
0.004111865535378456,
-0.019278807565569878,
-0.11288731545209885,
-0.0463644303381443,
-0.0463644303381443,
0.030274324119091034,
-0.007669373415410519,
-0.016676533967256546,
0.03943725675344467,
-0.09331528842449188,
0.030640842393040657,
-0.047170769423246384,
-0.00899799820035696,
0.03494741767644882,
0.040500156581401825,
0.09881304949522018,
0.03789788484573364,
-0.023805296048521996,
-0.00094091851497069,
-0.025656206533312798,
-0.013542812317609787,
-0.03218021243810654,
0.004301995970308781,
-0.030732471495866776,
0.019058896228671074,
0.02521638572216034,
0.01721714809536934,
-0.0063453298062086105,
-0.029577942565083504,
-0.0373847596347332,
0.07740844041109085,
0.011829344555735588,
0.041049931198358536,
-0.004679967183619738,
0.006656869314610958,
0.017235472798347473,
-0.032216865569353104,
0.021642843261361122,
-0.011563618667423725,
0.00641863327473402,
-0.02457498200237751,
-0.004212657455354929,
0.05182553827762604,
0.001248449319973588,
0.06644957512617111,
-0.0008292452548630536,
-0.011838506907224655,
-0.05189884081482887,
-0.025601230561733246,
0.002625179709866643,
-0.04137979820370674,
0.062234628945589066,
-0.02023175172507763,
0.01718049682676792,
0.027543770149350166,
0.06249118968844414,
-0.030732471495866776,
0.012516563758254051,
0.03153881058096886,
0.05611379072070122,
-0.019901886582374573,
-0.06201471760869026,
-0.026700781658291817,
-0.016364995390176773,
0.013698582537472248,
0.022320900112390518,
0.05387803539633751,
0.01802348531782627,
0.01973695307970047,
0.036761678755283356,
-0.02802024409174919,
0.023951902985572815,
-0.006473610643297434,
-0.05981561541557312,
-0.03240012377500534,
-0.02646254561841488,
0.02671910636126995,
-0.02008514478802681,
-0.025637881830334663,
0.0480504110455513,
0.0569201298058033,
-0.0018073881510645151,
0.04240604490041733,
-0.002162451855838299,
0.03694493696093559,
0.021111393347382545,
-0.014294172637164593,
-0.008553596213459969,
-0.03610194846987724,
-0.0783613845705986,
0.011911810375750065,
-0.011975951492786407,
-0.02556457743048668,
-0.04028024524450302,
-0.0005048202583566308,
0.05138571932911873,
-0.006734754424542189,
0.04061011224985123,
0.009355352260172367,
0.0008613155223429203,
0.019975189119577408,
0.07718852907419205,
0.04321238398551941,
-0.006757661700248718,
-0.05398799106478691,
0.006931757554411888,
0.03414108231663704,
0.01909554935991764,
-0.07535594701766968,
0.028570018708705902,
0.0624178871512413,
0.04980969429016113,
-0.026774084195494652,
0.03144717961549759,
0.042882516980171204,
-0.07924102991819382,
-0.04515492543578148,
-0.022650765255093575,
-0.002799275564029813,
0.019077222794294357,
-0.004741816781461239,
0.032326821237802505,
0.010903888382017612,
0.02985282987356186,
-0.08884377777576447,
-0.0026778667233884335,
-0.0015325002605095506,
0.018912289291620255,
0.03595534339547157,
-0.01854577288031578,
0.013744397088885307,
-0.01732710190117359,
-0.00811377540230751,
-0.028350109234452248,
0.0321618877351284,
-0.04405537247657776,
0.05659026280045509,
-0.0762355849146843,
-0.010564859956502914,
0.005213707685470581,
0.025234712287783623,
0.024996476247906685,
0.015155487693846226,
0.0019620126113295555,
0.004171424545347691,
0.004345519933849573,
0.0426626056432724,
-0.06450703740119934,
0.062124673277139664,
0.009167512878775597,
0.03146550431847572,
0.05417124927043915,
-0.024190139025449753,
-0.03436099365353584,
0.0551241934299469,
0.04621782526373863,
0.027085624635219574,
0.017061376944184303,
0.003023767378181219,
-0.020598269999027252,
0.036908287554979324,
0.008439059369266033,
0.056993432343006134,
0.019297132268548012,
0.023365475237369537,
-0.0018623657524585724,
-0.050762638449668884,
-0.015439539216458797,
0.011398686096072197,
0.004079794976860285,
-0.02747046761214733,
-0.020763201639056206,
-0.08122022449970245,
-0.025729510933160782,
0.009382841177284718,
0.022119315341114998,
-0.01131622027605772,
-0.029321379959583282,
-0.056407004594802856,
-0.0655699372291565,
0.02552792616188526,
-0.006950083188712597,
0.02776368148624897,
-0.002510643098503351,
-0.01646578684449196,
0.005910090636461973,
0.021807776764035225,
0.021954383701086044,
0.002121218480169773,
-0.03393949568271637,
0.005204544868320227,
-0.04654768854379654,
-0.009483633562922478,
-0.0006935193669050932,
-0.0077060251496732235,
-0.015036369673907757,
-0.016135921701788902,
0.05611379072070122,
0.0022105572279542685,
-0.019407087936997414,
-0.09551439434289932,
0.053804732859134674,
0.023640362545847893,
-0.009657729417085648,
0.038557615131139755,
-0.04460514709353447,
-0.0390707366168499,
-0.031062336638569832,
-0.05277848243713379,
0.047720544040203094,
-0.01134370919317007,
0.032216865569353104,
0.003328434657305479,
0.06732922047376633,
-0.012085906229913235,
0.02054329216480255,
0.02063492126762867,
0.05230201035737991,
0.0025862373877316713,
-0.03848431259393692,
-0.022467507049441338,
-0.030530886724591255,
0.045778002589941025,
0.04511827230453491,
-0.0015164650976657867,
0.05182553827762604,
0.031062336638569832,
0.05801967903971672,
-0.011206264607608318,
0.0021693238522857428,
0.04592461138963699,
0.028698300942778587,
0.02541797049343586,
0.004838027525693178,
0.03452592343091965,
-0.01982858218252659,
0.012214187532663345,
0.02871662564575672,
-0.01924215629696846,
0.0249781496822834,
0.0052961744368076324,
-0.0481603667140007,
-0.02681073732674122,
-0.030934056267142296,
-0.04475175589323044,
-0.028185175731778145,
-0.01440412737429142,
0.02591276913881302,
-0.05732329562306404,
0.0606219507753849,
0.0014088007155805826,
-0.005090008489787579,
0.07029800862073898,
-0.06106177344918251,
-0.01490808930248022,
-0.04581465572118759,
-0.08246637880802155,
0.01609010621905327,
0.022247597575187683,
0.008869717828929424,
0.00930037535727024,
0.011032168753445148,
0.048416927456855774,
0.06234458461403847,
-0.021642843261361122,
0.01118793897330761,
-0.0076739550568163395,
-0.04933322221040726,
0.012150046415627003,
0.03619357943534851,
0.002625179709866643,
-0.11120133101940155,
-0.0028725790325552225,
-0.05329160764813423,
-0.003250549780204892,
0.01826172135770321,
-0.016823140904307365,
-0.02692069113254547,
0.06249118968844414,
-0.011911810375750065,
-0.03628520667552948,
-0.01918717846274376,
0.007651047315448523,
-0.05347486585378647,
0.011426175013184547,
-0.007907609455287457,
0.04057345911860466,
0.09346190094947815,
0.008008401840925217,
-0.028734952211380005,
0.014733993448317051,
0.06560658663511276,
0.040903326123952866,
-0.008077124133706093,
0.013002199120819569,
-0.016163410618901253,
-0.003626229939982295,
0.0014007830759510398,
-0.01747370883822441,
0.013194620609283447,
0.01689644530415535,
0.0022804245818406343,
0.024208463728427887,
-0.0028679973911494017,
-0.020946459844708443,
0.0023216577246785164,
0.030384279787540436,
-0.06644957512617111,
0.035368915647268295,
-0.011765203438699245,
-0.01246158592402935,
0.005396966356784105,
0.04500831663608551,
0.004249309189617634,
-0.010674814693629742,
-0.005946742370724678,
0.03240012377500534,
-0.05043277144432068,
0.0026939017698168755,
-0.013167131692171097,
-0.04621782526373863,
-0.00477388733997941,
-0.02686571329832077,
0.0479404553771019,
-0.027836984023451805,
-0.07733514159917831,
0.0006551495753228664,
0.03370125964283943,
-0.047170769423246384,
0.060438692569732666,
0.033518001437187195,
0.02706729806959629,
0.0031566298566758633,
0.00540612917393446,
0.002510643098503351,
0.026755759492516518,
-0.027727030217647552,
0.004542523063719273,
-0.029467986896634102,
-0.03230849653482437,
0.06417717039585114,
0.05252192169427872,
-0.021074742078781128,
0.024703262373805046,
-0.02431841939687729,
-0.02248583361506462,
-0.01609010621905327,
-0.0044417306780815125,
-0.07495277374982834,
0.025143083184957504,
-0.0034063197672367096,
0.018124278634786606,
0.026242634281516075,
0.021606191992759705,
-0.0390707366168499,
0.03841100633144379,
-0.1032845601439476,
0.027928614988923073,
-0.03450759872794151,
0.035423893481492996,
0.0302010215818882,
0.03793453425168991,
0.037861231714487076,
0.0074494630098342896,
0.018499957397580147,
0.05853280425071716,
-0.00747695192694664,
0.04654768854379654,
-0.07066452503204346,
-0.05208209902048111,
0.006675195414572954,
-0.03274831548333168,
-0.03005441464483738,
0.03327976539731026,
0.06732922047376633,
-0.005264103878289461,
0.08056049048900604,
0.04046350345015526,
0.025143083184957504,
-0.011902648024260998,
-0.01762031577527523,
-0.029321379959583282,
-0.04236939549446106,
-0.019626999273896217,
-0.014422453939914703,
-0.003924025222659111,
-0.06824550777673721,
0.05648030713200569,
0.00027932622469961643,
-0.0638839527964592,
0.038557615131139755,
0.049663085490465164,
-0.04889339953660965,
-0.042845867574214935,
0.05622374638915062,
-0.06373734772205353,
-0.05336491018533707,
0.027177253738045692,
-0.0026183074805885553,
-0.005795553792268038,
0.014147565700113773,
0.003800325794145465,
-0.016704022884368896,
0.029687896370887756,
0.05189884081482887,
-0.08100031316280365,
0.018710704520344734,
0.02596774697303772,
0.0444585420191288,
-0.01069314032793045,
-0.029541289433836937,
0.0338478684425354,
0.051459021866321564,
-0.02880825474858284,
0.022797372192144394,
0.005218289326876402,
0.0019986643455922604,
0.019755279645323753,
0.0038896643090993166,
-0.023053934797644615,
-0.019663650542497635,
-0.06087851524353027,
-0.03522230684757233,
-0.019297132268548012,
0.004819701891392469,
-0.008008401840925217,
0.01811511442065239,
-0.024611633270978928,
0.015393724665045738,
-0.01959034614264965,
-0.0012106522917747498,
-0.025637881830334663,
-0.03280329331755638,
-0.0764554962515831,
0.00022964595700614154,
-0.008700203150510788,
-0.03965716436505318,
0.037751276046037674,
0.02880825474858284,
-0.003468169365078211,
-0.05219205468893051,
0.004398207180202007,
-0.07084778696298599,
0.003944641910493374,
0.005951324012130499,
-0.09111618995666504,
0.035662129521369934,
-0.022394204512238503,
0.0062078856863081455,
-0.009263723157346249,
0.025784488767385483,
-0.05244861915707588,
0.0747695192694664,
0.01677732728421688,
-0.0409766286611557,
0.053108349442481995,
-0.034470945596694946,
0.09668724983930588,
0.037054892629384995,
-0.013451183214783669,
0.03489244356751442,
-0.07990075647830963,
-0.025289690122008324,
0.024391721934080124,
-0.05266852676868439,
-0.025601230561733246,
-0.005566480569541454,
0.012324142269790173,
0.0036651724949479103,
0.021862754598259926,
-0.018353350460529327,
0.01866489090025425,
0.08979672193527222,
-0.03459922969341278,
0.05428120493888855,
-0.05098254978656769,
0.006258281879127026,
-0.037109870463609695,
0.053658124059438705,
0.014963066205382347,
0.07682201266288757,
0.003717859275639057,
0.025802813470363617,
-0.016685698181390762,
0.00760065158829093,
-0.01707054115831852,
-0.008631480857729912,
0.024061856791377068,
-0.04137979820370674,
-0.06465364247560501,
0.05068933591246605,
0.034672532230615616,
-0.03159378841519356,
0.041343145072460175,
0.020561616867780685,
-0.04170966148376465,
0.037751276046037674,
0.01762031577527523,
0.04247934743762016,
0.031630437821149826,
-0.05292509123682976,
-0.051568977534770966,
-0.04947982728481293,
-0.034269362688064575,
-0.03623022884130478,
-0.05263187736272812,
0.00411644671112299,
0.008022146299481392,
-0.0355338454246521,
-0.035368915647268295,
-0.014184217900037766,
0.03837435692548752,
-0.002895486308261752,
-0.03874087333679199,
-0.013744397088885307,
0.03723815083503723,
-0.006001719739288092,
-0.011160450056195259,
0.031832024455070496,
-0.001877255504950881,
0.028844907879829407,
-0.03914404287934303,
-0.0028588345739990473,
0.022559136152267456,
0.043395642191171646,
-0.01959034614264965,
0.03837435692548752,
0.06941836327314377,
-0.017116354778409004,
-0.0187473576515913,
-0.0011447936994954944,
-0.019058896228671074,
-0.0007364705670624971,
0.06663283705711365,
-0.010060898028314114,
-0.009153768420219421,
0.00947447121143341,
-0.037604670971632004,
0.02607770264148712,
0.04390876740217209,
-0.005832205526530743,
0.02990780770778656,
0.018069300800561905,
0.015366235747933388,
-0.014669852331280708,
0.00959358923137188,
-0.02356705814599991,
0.006881361361593008,
-0.02193605713546276,
0.02074487693607807,
0.047280725091695786,
0.00034847771166823804,
-0.05299839377403259,
0.07770165801048279,
0.03483746573328972,
-0.01301136240363121,
0.01323127280920744,
0.040903326123952866,
0.011004680767655373,
0.02607770264148712,
0.04651103913784027,
-0.051422368735075,
0.022815698757767677,
-0.06450703740119934,
-0.006675195414572954,
0.05556401610374451,
-0.028973188251256943,
-0.08950351178646088,
-0.04999295249581337,
-0.021367955952882767,
0.007563999854028225,
0.0002106042520608753,
0.010885561816394329,
-0.01860075071454048,
-0.01968197524547577,
-0.01646578684449196,
0.02167949452996254,
0.014642364345490932,
0.04746398329734802,
0.023512082174420357
] |
719,778
|
ibm_platform_services.iam_policy_management_v1
|
delete_v2_policy
|
Delete a policy by ID.
Delete a policy by providing a policy ID. A policy cannot be deleted if the
subject ID contains a locked service ID. If the subject of the policy is a locked
service-id, the request will fail.
:param str id: The policy ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_v2_policy(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a policy by ID.
Delete a policy by providing a policy ID. A policy cannot be deleted if the
subject ID contains a locked service ID. If the subject of the policy is a locked
service-id, the request will fail.
:param str id: The policy ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not id:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_v2_policy',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/policies/{id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.015305477194488049,
0.02677282691001892,
0.00886626448482275,
-0.047336917370557785,
0.024138817563652992,
-0.03879519924521446,
-0.004825882147997618,
0.08511614054441452,
-0.010931139811873436,
0.053959570825099945,
-0.013875586912035942,
0.043461158871650696,
-0.01555947121232748,
-0.03935962915420532,
-0.0240259300917387,
0.0235555712133646,
0.05200287699699402,
0.01342404168099165,
-0.016076866537332535,
-0.04579414054751396,
0.06235077232122421,
0.06532344222068787,
-0.039472516626119614,
-0.019642185419797897,
0.020018473267555237,
0.00003389891207916662,
-0.00983049999922514,
0.012313995510339737,
-0.019736258313059807,
-0.02278418280184269,
-0.01956692896783352,
0.0452297069132328,
0.007553963456302881,
0.0713440328836441,
-0.014157801866531372,
0.0014698714949190617,
0.018616804853081703,
0.016904696822166443,
-0.11461704969406128,
0.055464718490839005,
-0.0391714870929718,
0.029181063175201416,
-0.0012135258875787258,
-0.03602948784828186,
-0.011279205791652203,
-0.0063733626157045364,
-0.020281873643398285,
0.008678121492266655,
-0.010169158689677715,
0.005752488970756531,
0.0059547433629632,
0.025662779808044434,
0.018983684480190277,
-0.03482536971569061,
0.03958540037274361,
0.034204497933387756,
0.002563455840572715,
0.025944994762539864,
0.03130708634853363,
0.017807787284255028,
0.0476379469037056,
-0.01285961177200079,
-0.046584341675043106,
-0.01613330841064453,
-0.011664899997413158,
-0.05569048970937729,
-0.013819143176078796,
-0.0054843844845891,
-0.042031269520521164,
0.023104026913642883,
-0.021391920745372772,
-0.04511682316660881,
-0.026641126722097397,
0.014383574016392231,
0.013113604858517647,
-0.01413898728787899,
0.01332997065037489,
-0.04613279923796654,
0.032304245978593826,
-0.024138817563652992,
-0.023009955883026123,
-0.10588718950748444,
0.06118427962064743,
-0.04406321793794632,
-0.007619813550263643,
0.036067117005586624,
0.00416973140090704,
-0.047901347279548645,
-0.012549174949526787,
0.010865289717912674,
-0.0028198014479130507,
0.00973642896860838,
-0.03785448148846626,
-0.015841687098145485,
0.006791981868445873,
0.022088052704930305,
0.01532429177314043,
-0.044025588780641556,
-0.030422812327742577,
-0.0010871168924495578,
-0.007723292801529169,
-0.008762785233557224,
-0.026885712519288063,
0.0113074267283082,
0.07217186689376831,
-0.050083812326192856,
0.005423237569630146,
0.005522013176232576,
-0.00633573392406106,
-0.03271816298365593,
0.049143094569444656,
0.03369650989770889,
0.016359081491827965,
-0.031909145414829254,
0.023047585040330887,
0.03008415363729,
-0.007836178876459599,
-0.035973045974969864,
-0.03958540037274361,
0.004289672710001469,
-0.03478774055838585,
-0.04876680672168732,
0.01074299681931734,
0.006349844858050346,
0.0063639553263783455,
-0.026603497564792633,
-0.04876680672168732,
-0.056217290461063385,
0.019416414201259613,
0.00860756728798151,
-0.03140115737915039,
-0.012577395886182785,
-0.003276049392297864,
0.010394930839538574,
0.007836178876459599,
-0.05061061307787895,
0.052078135311603546,
0.04842814803123474,
0.025794479995965958,
0.0209968201816082,
0.024797318503260612,
0.016105087473988533,
-0.03151404485106468,
0.014646975323557854,
-0.02769473008811474,
-0.05719563737511635,
-0.018635617569088936,
0.014440016821026802,
0.011006397195160389,
0.007624517194926739,
-0.04169261083006859,
0.00489173224195838,
0.06656518578529358,
0.010282045230269432,
0.03236069157719612,
-0.051777105778455734,
-0.01693291962146759,
0.001478102756664157,
-0.020676976069808006,
0.00012023548333672807,
0.061711084097623825,
0.03395991027355194,
0.0310248713940382,
-0.007271748036146164,
0.03386583924293518,
-0.022671297192573547,
0.03629289194941521,
0.019886773079633713,
0.00888037495315075,
-0.04338590055704117,
-0.017958302050828934,
0.03471248596906662,
0.02280299738049507,
-0.0230852123349905,
-0.05230390653014183,
0.030385183170437813,
0.04643382877111435,
0.04368693009018898,
-0.026810456067323685,
-0.03459959849715233,
0.02959498018026352,
-0.03535217419266701,
0.007840882055461407,
-0.033527180552482605,
-0.003360714064911008,
0.04214415326714516,
0.002282416447997093,
0.058587901294231415,
-0.010695960372686386,
0.0038851641584187746,
-0.07819245755672455,
-0.054411113262176514,
0.021542435511946678,
0.040714263916015625,
-0.015098519623279572,
-0.007638628128916025,
0.06694147735834122,
-0.058399755507707596,
0.02195635251700878,
-0.013574556447565556,
-0.005155133083462715,
-0.005042247008532286,
0.011175726540386677,
0.024063559249043465,
0.0675811618566513,
0.027958130463957787,
0.046170424669981,
-0.004223822616040707,
0.010451373644173145,
-0.005531420465558767,
-0.015211406163871288,
0.02839086204767227,
0.018118223175406456,
-0.00933662336319685,
-0.018419252708554268,
0.027657100930809975,
-0.035333357751369476,
-0.02270892634987831,
0.040902405977249146,
0.01219170168042183,
0.00038716415292583406,
-0.009021483361721039,
-0.018550952896475792,
0.03384702280163765,
0.03642459213733673,
0.027544215321540833,
0.027450144290924072,
0.026810456067323685,
-0.027732359245419502,
0.008047840557992458,
0.07600999623537064,
0.04101529344916344,
0.056029148399829865,
-0.03395991027355194,
0.03219136223196983,
-0.05109978839755058,
-0.051400817930698395,
-0.02031950280070305,
-0.04910546541213989,
0.042407553642988205,
0.05219101905822754,
-0.03612356260418892,
0.0064062876626849174,
0.06291519850492477,
-0.04944412410259247,
0.05173947662115097,
-0.02031950280070305,
0.017092840746045113,
0.06825847923755646,
-0.03586015850305557,
0.00856053177267313,
-0.028353232890367508,
-0.020375946536660194,
0.020451202988624573,
0.0020672271493822336,
-0.017930079251527786,
0.0010541918454691768,
-0.020771047100424767,
-0.012323401868343353,
0.01606745831668377,
-0.03044162504374981,
0.02923750691115856,
-0.10573667287826538,
-0.01839103177189827,
0.0240259300917387,
-0.02554989419877529,
-0.005112800747156143,
0.027826430276036263,
0.08632025867700577,
0.022163309156894684,
-0.09143776446580887,
-0.03307563439011574,
0.030140595510601997,
0.018786132335662842,
-0.010093901306390762,
0.025437006726861,
-0.01920945569872856,
-0.011166319251060486,
0.025098349899053574,
0.007483409717679024,
0.01930352859199047,
-0.026791641488671303,
0.059829648584127426,
0.012605617754161358,
-0.01986795850098133,
0.028315603733062744,
-0.01721513457596302,
0.006500359624624252,
0.054524000734090805,
0.07555844634771347,
0.016923511400818825,
0.03145759925246239,
-0.014515274204313755,
0.021598879247903824,
-0.006152294110506773,
0.025775665417313576,
-0.022671297192573547,
-0.03678206354379654,
0.037120722234249115,
0.027826430276036263,
-0.003732297569513321,
0.062388401478528976,
0.04425136372447014,
-0.041165806353092194,
-0.02050764672458172,
-0.02743132971227169,
0.02874833345413208,
0.004202656447887421,
0.05343276634812355,
0.018560361117124557,
-0.027073856443166733,
-0.013170048594474792,
-0.03830602765083313,
0.011053433641791344,
0.0597543902695179,
0.045342594385147095,
-0.0014898617519065738,
-0.049782782793045044,
0.016904696822166443,
0.00839590560644865,
-0.030968427658081055,
0.047788459807634354,
0.02959498018026352,
0.013000719249248505,
0.047901347279548645,
-0.06953785568475723,
0.006025297101587057,
0.029576165601611137,
0.05903944373130798,
-0.0016109790885820985,
-0.0064062876626849174,
0.06031882017850876,
-0.015455991961061954,
-0.028315603733062744,
0.012756132520735264,
-0.023875415325164795,
0.09926453232765198,
0.0028409676160663366,
0.01314182672649622,
0.0760476216673851,
0.014026101678609848,
-0.05076112970709801,
0.0853419154882431,
0.037967368960380554,
-0.04650908336043358,
0.015352513641119003,
0.017412684857845306,
-0.023574385792016983,
0.0396982878446579,
-0.007695070933550596,
0.005879485979676247,
0.003179625840857625,
0.015164369717240334,
0.03083672747015953,
0.008847449906170368,
-0.05076112970709801,
0.028146274387836456,
0.06031882017850876,
-0.06931208074092865,
-0.026697568595409393,
-0.013348784297704697,
-0.0008925059228204191,
-0.08037492632865906,
0.025399379432201385,
0.02127903513610363,
-0.027751173824071884,
0.02090274728834629,
-0.046584341675043106,
-0.07356412708759308,
-0.04594465345144272,
-0.04966989532113075,
0.0054702735505998135,
-0.0016192103503271937,
-0.001988442149013281,
-0.002753951121121645,
0.045342594385147095,
-0.01655663177371025,
0.009407177567481995,
0.021015634760260582,
-0.007963175885379314,
-0.0013722720323130488,
-0.03318852186203003,
-0.007690367288887501,
0.00962824560701847,
0.0004959346260875463,
0.03266172111034393,
-0.02176820859313011,
-0.03185270354151726,
-0.017017584294080734,
0.042896728962659836,
0.04447713494300842,
-0.005714860279113054,
-0.013358191587030888,
-0.021899908781051636,
0.02477850578725338,
0.0065144700929522514,
-0.04737454652786255,
0.024157632142305374,
-0.0024082374293357134,
-0.02658468298614025,
0.0045036859810352325,
0.052078135311603546,
-0.0071917870081961155,
0.01696114055812359,
-0.029181063175201416,
-0.036085933446884155,
0.014675196260213852,
-0.0009577682358212769,
-0.01220110896974802,
0.006166404578834772,
-0.007981989532709122,
-0.000329545175191015,
-0.008094876073300838,
0.013555742800235748,
0.10430677980184555,
0.04436424747109413,
-0.001974331447854638,
0.07544556260108948,
-0.01073358952999115,
0.007229415699839592,
0.02107207663357258,
0.0039110342040658,
0.03192795813083649,
-0.06750590354204178,
-0.017017584294080734,
0.002254194812849164,
-0.05429822579026222,
0.030705027282238007,
0.013997879810631275,
-0.0471111424267292,
0.00014698714949190617,
0.01602042280137539,
-0.01956692896783352,
-0.03659392148256302,
-0.027092671021819115,
0.04353641718626022,
-0.006801389157772064,
0.03586015850305557,
0.04699825868010521,
-0.005550234578549862,
0.006269883830100298,
0.011269798502326012,
-0.0722847506403923,
-0.04707351699471474,
-0.02771354466676712,
0.005169244017452002,
0.050874013453722,
-0.015427771024405956,
0.00489173224195838,
-0.0031843294855207205,
0.04556836560368538,
0.05757192522287369,
0.07070434838533401,
-0.04812711849808693,
-0.01385677233338356,
-0.06088325008749962,
0.0009230792638845742,
0.02364964410662651,
-0.047336917370557785,
-0.049143094569444656,
-0.020018473267555237,
-0.02611432410776615,
-0.011326241306960583,
0.010573667474091053,
-0.02790168859064579,
-0.0035135806538164616,
0.06336674839258194,
0.0559915192425251,
-0.01570998691022396,
-0.015822872519493103,
-0.004995211027562618,
-0.042332299053668976,
-0.023593200370669365,
0.03841891139745712,
-0.003635874018073082,
0.08805117756128311,
0.05569048970937729,
-0.045154452323913574,
0.025944994762539864,
0.03147641569375992,
0.042783841490745544,
-0.030610954388976097,
-0.03345192223787308,
-0.015540656633675098,
-0.007243526633828878,
-0.07032805681228638,
-0.03288749232888222,
-0.0021953999530524015,
-0.028785962611436844,
-0.0031443489715456963,
0.055652860552072525,
0.0028644856065511703,
-0.015183184295892715,
-0.01683884672820568,
0.036932576447725296,
-0.018212296068668365,
0.0020766344387084246,
-0.01338641345500946,
0.018005337566137314,
-0.04963226616382599,
0.0026598793920129538,
-0.047412171959877014,
0.00022297950636129826,
-0.0282591599971056,
0.01686706952750683,
-0.0244962889701128,
-0.04966989532113075,
0.0006361603736877441,
-0.04101529344916344,
0.009350733831524849,
-0.03954777494072914,
0.02372490055859089,
-0.028202718123793602,
0.0073423017747700214,
0.0053526838310062885,
0.018804946914315224,
-0.021617693826556206,
0.03407279774546623,
-0.02033831737935543,
0.003718186868354678,
0.035803716629743576,
-0.034185681492090225,
-0.020112544298171997,
-0.005324462428689003,
-0.02895529195666313,
-0.05986727774143219,
-0.0737522691488266,
-0.08180481195449829,
0.10882222652435303,
-0.01006567943841219,
0.017412684857845306,
0.02865426242351532,
-0.014910375699400902,
-0.06611364334821701,
-0.024947835132479668,
-0.016152122989296913,
-0.08677180111408234,
-0.006166404578834772,
-0.05779769644141197,
-0.001870852429419756,
0.032097287476062775,
0.04274621233344078,
-0.03574727475643158,
0.028635447844862938,
-0.060205936431884766,
0.048842065036296844,
-0.03766633942723274,
0.0699893981218338,
0.016763590276241302,
-0.0033019192051142454,
0.0476379469037056,
-0.05678172409534454,
0.05049772933125496,
-0.013000719249248505,
-0.0845140814781189,
0.03619881719350815,
-0.007582184858620167,
-0.07683782279491425,
0.0312882736325264,
-0.01618034578859806,
-0.06005541980266571,
0.03785448148846626,
0.047224029898643494,
0.0007949064602144063,
0.03279342129826546,
0.04225704073905945,
0.07032805681228638,
0.023687273263931274,
-0.021598879247903824,
-0.03518284484744072,
0.009868129156529903,
0.007610406260937452,
0.0011094589717686176,
-0.025700408965349197,
-0.05986727774143219,
0.038061439990997314,
0.026791641488671303,
-0.0228782556951046,
-0.025888552889227867,
0.07789143174886703,
0.013979065231978893,
0.0013957899063825607,
0.019736258313059807,
-0.023216914385557175,
-0.03136352822184563,
0.019811514765024185,
0.002412941073998809,
-0.0006978949531912804,
0.046019911766052246,
0.05256730690598488,
-0.019322341307997704,
0.04045086354017258,
0.05204050615429878,
-0.08361098915338516,
-0.016895290464162827,
0.05482503026723862,
0.0061146654188632965,
0.011194541119039059,
-0.05298122391104698,
0.03623644635081291,
0.043273016810417175,
0.016123902052640915,
0.05836212635040283,
0.004106232896447182,
0.024571547284722328,
0.011514385230839252,
-0.002688101027160883,
-0.025211235508322716,
-0.022389082238078117,
-0.03984880447387695,
-0.024157632142305374,
0.001212349976412952,
0.03111894242465496,
-0.04304724186658859,
0.005761896260082722,
0.014910375699400902,
-0.011222762987017632,
0.0022483153734356165,
-0.006566209718585014,
-0.06494715064764023,
-0.04142921045422554,
-0.03083672747015953,
-0.007506927475333214,
0.019087161868810654,
-0.035333357751369476,
0.030498068779706955,
0.0018978980369865894,
-0.06671570241451263,
-0.046847742050886154,
0.008532309904694557,
-0.049895670264959335,
0.003221958177164197,
0.026039067655801773,
-0.06475900858640671,
0.023104026913642883,
0.01686706952750683,
-0.00047888411791063845,
-0.02118496410548687,
0.019416414201259613,
0.01975507289171219,
0.08549242466688156,
-0.03072384186089039,
-0.03648103401064873,
0.06517292559146881,
-0.050911642611026764,
0.08014915138483047,
-0.022012794390320778,
0.03529572859406471,
0.03196558728814125,
-0.037497010082006454,
-0.002549345139414072,
0.02374371513724327,
-0.017948893830180168,
-0.03236069157719612,
-0.008965039625763893,
-0.03732768073678017,
0.0732254683971405,
0.006260476540774107,
-0.03392228111624718,
-0.022821811959147453,
0.08353573828935623,
-0.05237916484475136,
0.04048849269747734,
0.014063729904592037,
-0.015305477194488049,
-0.049782782793045044,
0.01589812897145748,
-0.03441145643591881,
0.023198099806904793,
0.0007378754671663046,
0.035333357751369476,
0.008438237942755222,
0.017901858314871788,
0.052529677748680115,
-0.008739267475903034,
-0.045455481857061386,
0.01149557065218687,
-0.04560599476099014,
0.013132419437170029,
0.06043170765042305,
0.01745031401515007,
0.01928471401333809,
0.0071917870081961155,
-0.0882769525051117,
-0.010959361679852009,
0.012219923548400402,
0.018588582053780556,
0.040337976068258286,
-0.10483358055353165,
-0.06430746614933014,
-0.03924674540758133,
-0.01144853513687849,
-0.003741704858839512,
-0.031645745038986206,
0.035220470279455185,
-0.03271816298365593,
0.013922622427344322,
-0.022746555507183075,
-0.011091061867773533,
0.04218178242444992,
-0.055464718490839005,
-0.06408169120550156,
0.0005344452802091837,
-0.023198099806904793,
-0.014825711026787758,
0.043084871023893356,
0.05429822579026222,
-0.03666917607188225,
0.04218178242444992,
-0.0582868717610836,
-0.044778164476156235,
0.06814559549093246,
0.030479254201054573,
-0.03642459213733673,
0.03755345195531845,
0.07849349081516266,
-0.11213355511426926,
-0.035973045974969864,
-0.0022412599064409733,
0.037402935326099396,
-0.021222591400146484,
0.0014392981538549066,
-0.012577395886182785,
-0.018146445974707603,
-0.012897239997982979,
0.015484213829040527,
0.02477850578725338,
0.05392194166779518,
0.004324949812144041,
-0.00282685668207705,
0.003913385793566704,
-0.013631000183522701,
-0.07303732633590698,
-0.021617693826556206,
0.011363870464265347,
-0.008805117569863796,
0.033508364111185074,
-0.022106867283582687,
0.08601923286914825,
0.005874782335013151,
-0.015455991961061954,
0.06735538691282272,
0.013922622427344322,
-0.025023091584444046,
-0.02959498018026352,
0.017186913639307022,
-0.00208133808337152,
0.03266172111034393,
0.023969488218426704,
0.00978346448391676,
0.0122481444850564,
-0.026321282610297203,
-0.0158793143928051,
0.0010453725699335337,
-0.007450484670698643,
-0.024477476254105568,
-0.050648242235183716,
-0.0002988248597830534,
-0.0457565113902092,
-0.005855967756360769,
-0.04379981756210327,
0.050648242235183716,
0.002584622008726001,
-0.017036398872733116,
-0.0031866813078522682,
0.005390312522649765,
0.04824000597000122,
0.031231828033924103
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.