/api/vendor/aws/aws-sdk-php/src/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php

https://gitlab.com/x33n/respond · PHP · 1159 lines · 1144 code · 1 blank · 14 comment · 0 complexity · 37fedbd4ba82f0433a4abbf8ca9f8548 MD5 · raw file

  1. <?php
  2. /**
  3. * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License").
  6. * You may not use this file except in compliance with the License.
  7. * A copy of the License is located at
  8. *
  9. * http://aws.amazon.com/apache2.0
  10. *
  11. * or in the "license" file accompanying this file. This file is distributed
  12. * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  13. * express or implied. See the License for the specific language governing
  14. * permissions and limitations under the License.
  15. */
  16. return array (
  17. 'apiVersion' => '2014-06-30',
  18. 'endpointPrefix' => 'cognito-identity',
  19. 'serviceFullName' => 'Amazon Cognito Identity',
  20. 'serviceType' => 'json',
  21. 'jsonVersion' => '1.1',
  22. 'targetPrefix' => 'AWSCognitoIdentityService.',
  23. 'signatureVersion' => 'v4',
  24. 'namespace' => 'CognitoIdentity',
  25. 'regions' => array(
  26. 'us-east-1' => array(
  27. 'http' => false,
  28. 'https' => true,
  29. 'hostname' => 'cognito-identity.us-east-1.amazonaws.com',
  30. ),
  31. ),
  32. 'operations' => array(
  33. 'CreateIdentityPool' => array(
  34. 'httpMethod' => 'POST',
  35. 'uri' => '/',
  36. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  37. 'responseClass' => 'IdentityPool',
  38. 'responseType' => 'model',
  39. 'parameters' => array(
  40. 'Content-Type' => array(
  41. 'static' => true,
  42. 'location' => 'header',
  43. 'default' => 'application/x-amz-json-1.1',
  44. ),
  45. 'command.expects' => array(
  46. 'static' => true,
  47. 'default' => 'application/json',
  48. ),
  49. 'X-Amz-Target' => array(
  50. 'static' => true,
  51. 'location' => 'header',
  52. 'default' => 'AWSCognitoIdentityService.CreateIdentityPool',
  53. ),
  54. 'IdentityPoolName' => array(
  55. 'required' => true,
  56. 'type' => 'string',
  57. 'location' => 'json',
  58. 'minLength' => 1,
  59. 'maxLength' => 128,
  60. ),
  61. 'AllowUnauthenticatedIdentities' => array(
  62. 'required' => true,
  63. 'type' => 'boolean',
  64. 'format' => 'boolean-string',
  65. 'location' => 'json',
  66. ),
  67. 'SupportedLoginProviders' => array(
  68. 'type' => 'object',
  69. 'location' => 'json',
  70. 'additionalProperties' => array(
  71. 'type' => 'string',
  72. 'minLength' => 1,
  73. 'maxLength' => 128,
  74. 'data' => array(
  75. 'shape_name' => 'IdentityProviderName',
  76. 'key_pattern' => '/[\\w._-]+/',
  77. ),
  78. ),
  79. ),
  80. 'DeveloperProviderName' => array(
  81. 'type' => 'string',
  82. 'location' => 'json',
  83. 'minLength' => 1,
  84. 'maxLength' => 128,
  85. ),
  86. 'OpenIdConnectProviderARNs' => array(
  87. 'type' => 'array',
  88. 'location' => 'json',
  89. 'items' => array(
  90. 'name' => 'OIDCProviderARN',
  91. 'type' => 'string',
  92. 'minLength' => 20,
  93. 'maxLength' => 2048,
  94. ),
  95. ),
  96. ),
  97. 'errorResponses' => array(
  98. array(
  99. 'reason' => 'Thrown for missing or bad input parameter(s).',
  100. 'class' => 'InvalidParameterException',
  101. ),
  102. array(
  103. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  104. 'class' => 'NotAuthorizedException',
  105. ),
  106. array(
  107. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  108. 'class' => 'ResourceConflictException',
  109. ),
  110. array(
  111. 'reason' => 'Thrown when a request is throttled.',
  112. 'class' => 'TooManyRequestsException',
  113. ),
  114. array(
  115. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  116. 'class' => 'InternalErrorException',
  117. ),
  118. array(
  119. 'reason' => 'Thrown when the total number of user pools has exceeded a preset limit.',
  120. 'class' => 'LimitExceededException',
  121. ),
  122. ),
  123. ),
  124. 'DeleteIdentityPool' => array(
  125. 'httpMethod' => 'POST',
  126. 'uri' => '/',
  127. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  128. 'responseClass' => 'EmptyOutput',
  129. 'responseType' => 'model',
  130. 'parameters' => array(
  131. 'Content-Type' => array(
  132. 'static' => true,
  133. 'location' => 'header',
  134. 'default' => 'application/x-amz-json-1.1',
  135. ),
  136. 'command.expects' => array(
  137. 'static' => true,
  138. 'default' => 'application/json',
  139. ),
  140. 'X-Amz-Target' => array(
  141. 'static' => true,
  142. 'location' => 'header',
  143. 'default' => 'AWSCognitoIdentityService.DeleteIdentityPool',
  144. ),
  145. 'IdentityPoolId' => array(
  146. 'required' => true,
  147. 'type' => 'string',
  148. 'location' => 'json',
  149. 'minLength' => 1,
  150. 'maxLength' => 50,
  151. ),
  152. ),
  153. 'errorResponses' => array(
  154. array(
  155. 'reason' => 'Thrown for missing or bad input parameter(s).',
  156. 'class' => 'InvalidParameterException',
  157. ),
  158. array(
  159. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  160. 'class' => 'ResourceNotFoundException',
  161. ),
  162. array(
  163. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  164. 'class' => 'NotAuthorizedException',
  165. ),
  166. array(
  167. 'reason' => 'Thrown when a request is throttled.',
  168. 'class' => 'TooManyRequestsException',
  169. ),
  170. array(
  171. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  172. 'class' => 'InternalErrorException',
  173. ),
  174. ),
  175. ),
  176. 'DescribeIdentityPool' => array(
  177. 'httpMethod' => 'POST',
  178. 'uri' => '/',
  179. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  180. 'responseClass' => 'IdentityPool',
  181. 'responseType' => 'model',
  182. 'parameters' => array(
  183. 'Content-Type' => array(
  184. 'static' => true,
  185. 'location' => 'header',
  186. 'default' => 'application/x-amz-json-1.1',
  187. ),
  188. 'command.expects' => array(
  189. 'static' => true,
  190. 'default' => 'application/json',
  191. ),
  192. 'X-Amz-Target' => array(
  193. 'static' => true,
  194. 'location' => 'header',
  195. 'default' => 'AWSCognitoIdentityService.DescribeIdentityPool',
  196. ),
  197. 'IdentityPoolId' => array(
  198. 'required' => true,
  199. 'type' => 'string',
  200. 'location' => 'json',
  201. 'minLength' => 1,
  202. 'maxLength' => 50,
  203. ),
  204. ),
  205. 'errorResponses' => array(
  206. array(
  207. 'reason' => 'Thrown for missing or bad input parameter(s).',
  208. 'class' => 'InvalidParameterException',
  209. ),
  210. array(
  211. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  212. 'class' => 'ResourceNotFoundException',
  213. ),
  214. array(
  215. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  216. 'class' => 'NotAuthorizedException',
  217. ),
  218. array(
  219. 'reason' => 'Thrown when a request is throttled.',
  220. 'class' => 'TooManyRequestsException',
  221. ),
  222. array(
  223. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  224. 'class' => 'InternalErrorException',
  225. ),
  226. ),
  227. ),
  228. 'GetId' => array(
  229. 'httpMethod' => 'POST',
  230. 'uri' => '/',
  231. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  232. 'responseClass' => 'GetIdResponse',
  233. 'responseType' => 'model',
  234. 'parameters' => array(
  235. 'Content-Type' => array(
  236. 'static' => true,
  237. 'location' => 'header',
  238. 'default' => 'application/x-amz-json-1.1',
  239. ),
  240. 'command.expects' => array(
  241. 'static' => true,
  242. 'default' => 'application/json',
  243. ),
  244. 'X-Amz-Target' => array(
  245. 'static' => true,
  246. 'location' => 'header',
  247. 'default' => 'AWSCognitoIdentityService.GetId',
  248. ),
  249. 'AccountId' => array(
  250. 'required' => true,
  251. 'type' => 'string',
  252. 'location' => 'json',
  253. 'minLength' => 1,
  254. 'maxLength' => 15,
  255. ),
  256. 'IdentityPoolId' => array(
  257. 'required' => true,
  258. 'type' => 'string',
  259. 'location' => 'json',
  260. 'minLength' => 1,
  261. 'maxLength' => 50,
  262. ),
  263. 'Logins' => array(
  264. 'type' => 'object',
  265. 'location' => 'json',
  266. 'additionalProperties' => array(
  267. 'type' => 'string',
  268. 'minLength' => 1,
  269. 'maxLength' => 2048,
  270. 'data' => array(
  271. 'shape_name' => 'IdentityProviderName',
  272. 'key_pattern' => '/[\\w._-]+/',
  273. ),
  274. ),
  275. ),
  276. ),
  277. 'errorResponses' => array(
  278. array(
  279. 'reason' => 'Thrown for missing or bad input parameter(s).',
  280. 'class' => 'InvalidParameterException',
  281. ),
  282. array(
  283. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  284. 'class' => 'ResourceNotFoundException',
  285. ),
  286. array(
  287. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  288. 'class' => 'NotAuthorizedException',
  289. ),
  290. array(
  291. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  292. 'class' => 'ResourceConflictException',
  293. ),
  294. array(
  295. 'reason' => 'Thrown when a request is throttled.',
  296. 'class' => 'TooManyRequestsException',
  297. ),
  298. array(
  299. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  300. 'class' => 'InternalErrorException',
  301. ),
  302. array(
  303. 'reason' => 'Thrown when the total number of user pools has exceeded a preset limit.',
  304. 'class' => 'LimitExceededException',
  305. ),
  306. ),
  307. ),
  308. 'GetOpenIdToken' => array(
  309. 'httpMethod' => 'POST',
  310. 'uri' => '/',
  311. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  312. 'responseClass' => 'GetOpenIdTokenResponse',
  313. 'responseType' => 'model',
  314. 'parameters' => array(
  315. 'Content-Type' => array(
  316. 'static' => true,
  317. 'location' => 'header',
  318. 'default' => 'application/x-amz-json-1.1',
  319. ),
  320. 'command.expects' => array(
  321. 'static' => true,
  322. 'default' => 'application/json',
  323. ),
  324. 'X-Amz-Target' => array(
  325. 'static' => true,
  326. 'location' => 'header',
  327. 'default' => 'AWSCognitoIdentityService.GetOpenIdToken',
  328. ),
  329. 'IdentityId' => array(
  330. 'required' => true,
  331. 'type' => 'string',
  332. 'location' => 'json',
  333. 'minLength' => 1,
  334. 'maxLength' => 50,
  335. ),
  336. 'Logins' => array(
  337. 'type' => 'object',
  338. 'location' => 'json',
  339. 'additionalProperties' => array(
  340. 'type' => 'string',
  341. 'minLength' => 1,
  342. 'maxLength' => 2048,
  343. 'data' => array(
  344. 'shape_name' => 'IdentityProviderName',
  345. 'key_pattern' => '/[\\w._-]+/',
  346. ),
  347. ),
  348. ),
  349. ),
  350. 'errorResponses' => array(
  351. array(
  352. 'reason' => 'Thrown for missing or bad input parameter(s).',
  353. 'class' => 'InvalidParameterException',
  354. ),
  355. array(
  356. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  357. 'class' => 'ResourceNotFoundException',
  358. ),
  359. array(
  360. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  361. 'class' => 'NotAuthorizedException',
  362. ),
  363. array(
  364. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  365. 'class' => 'ResourceConflictException',
  366. ),
  367. array(
  368. 'reason' => 'Thrown when a request is throttled.',
  369. 'class' => 'TooManyRequestsException',
  370. ),
  371. array(
  372. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  373. 'class' => 'InternalErrorException',
  374. ),
  375. ),
  376. ),
  377. 'GetOpenIdTokenForDeveloperIdentity' => array(
  378. 'httpMethod' => 'POST',
  379. 'uri' => '/',
  380. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  381. 'responseClass' => 'GetOpenIdTokenForDeveloperIdentityResponse',
  382. 'responseType' => 'model',
  383. 'parameters' => array(
  384. 'Content-Type' => array(
  385. 'static' => true,
  386. 'location' => 'header',
  387. 'default' => 'application/x-amz-json-1.1',
  388. ),
  389. 'command.expects' => array(
  390. 'static' => true,
  391. 'default' => 'application/json',
  392. ),
  393. 'X-Amz-Target' => array(
  394. 'static' => true,
  395. 'location' => 'header',
  396. 'default' => 'AWSCognitoIdentityService.GetOpenIdTokenForDeveloperIdentity',
  397. ),
  398. 'IdentityPoolId' => array(
  399. 'required' => true,
  400. 'type' => 'string',
  401. 'location' => 'json',
  402. 'minLength' => 1,
  403. 'maxLength' => 50,
  404. ),
  405. 'IdentityId' => array(
  406. 'type' => 'string',
  407. 'location' => 'json',
  408. 'minLength' => 1,
  409. 'maxLength' => 50,
  410. ),
  411. 'Logins' => array(
  412. 'required' => true,
  413. 'type' => 'object',
  414. 'location' => 'json',
  415. 'additionalProperties' => array(
  416. 'type' => 'string',
  417. 'minLength' => 1,
  418. 'maxLength' => 2048,
  419. 'data' => array(
  420. 'shape_name' => 'IdentityProviderName',
  421. 'key_pattern' => '/[\\w._-]+/',
  422. ),
  423. ),
  424. ),
  425. 'TokenDuration' => array(
  426. 'type' => 'numeric',
  427. 'location' => 'json',
  428. 'minimum' => 1,
  429. 'maximum' => 86400,
  430. ),
  431. ),
  432. 'errorResponses' => array(
  433. array(
  434. 'reason' => 'Thrown for missing or bad input parameter(s).',
  435. 'class' => 'InvalidParameterException',
  436. ),
  437. array(
  438. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  439. 'class' => 'ResourceNotFoundException',
  440. ),
  441. array(
  442. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  443. 'class' => 'NotAuthorizedException',
  444. ),
  445. array(
  446. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  447. 'class' => 'ResourceConflictException',
  448. ),
  449. array(
  450. 'reason' => 'Thrown when a request is throttled.',
  451. 'class' => 'TooManyRequestsException',
  452. ),
  453. array(
  454. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  455. 'class' => 'InternalErrorException',
  456. ),
  457. array(
  458. 'reason' => 'The provided developer user identifier is already registered with Cognito under a different identity ID.',
  459. 'class' => 'DeveloperUserAlreadyRegisteredException',
  460. ),
  461. ),
  462. ),
  463. 'ListIdentities' => array(
  464. 'httpMethod' => 'POST',
  465. 'uri' => '/',
  466. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  467. 'responseClass' => 'ListIdentitiesResponse',
  468. 'responseType' => 'model',
  469. 'parameters' => array(
  470. 'Content-Type' => array(
  471. 'static' => true,
  472. 'location' => 'header',
  473. 'default' => 'application/x-amz-json-1.1',
  474. ),
  475. 'command.expects' => array(
  476. 'static' => true,
  477. 'default' => 'application/json',
  478. ),
  479. 'X-Amz-Target' => array(
  480. 'static' => true,
  481. 'location' => 'header',
  482. 'default' => 'AWSCognitoIdentityService.ListIdentities',
  483. ),
  484. 'IdentityPoolId' => array(
  485. 'required' => true,
  486. 'type' => 'string',
  487. 'location' => 'json',
  488. 'minLength' => 1,
  489. 'maxLength' => 50,
  490. ),
  491. 'MaxResults' => array(
  492. 'required' => true,
  493. 'type' => 'numeric',
  494. 'location' => 'json',
  495. 'minimum' => 1,
  496. 'maximum' => 60,
  497. ),
  498. 'NextToken' => array(
  499. 'type' => 'string',
  500. 'location' => 'json',
  501. 'minLength' => 1,
  502. ),
  503. ),
  504. 'errorResponses' => array(
  505. array(
  506. 'reason' => 'Thrown for missing or bad input parameter(s).',
  507. 'class' => 'InvalidParameterException',
  508. ),
  509. array(
  510. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  511. 'class' => 'ResourceNotFoundException',
  512. ),
  513. array(
  514. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  515. 'class' => 'NotAuthorizedException',
  516. ),
  517. array(
  518. 'reason' => 'Thrown when a request is throttled.',
  519. 'class' => 'TooManyRequestsException',
  520. ),
  521. array(
  522. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  523. 'class' => 'InternalErrorException',
  524. ),
  525. ),
  526. ),
  527. 'ListIdentityPools' => array(
  528. 'httpMethod' => 'POST',
  529. 'uri' => '/',
  530. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  531. 'responseClass' => 'ListIdentityPoolsResponse',
  532. 'responseType' => 'model',
  533. 'parameters' => array(
  534. 'Content-Type' => array(
  535. 'static' => true,
  536. 'location' => 'header',
  537. 'default' => 'application/x-amz-json-1.1',
  538. ),
  539. 'command.expects' => array(
  540. 'static' => true,
  541. 'default' => 'application/json',
  542. ),
  543. 'X-Amz-Target' => array(
  544. 'static' => true,
  545. 'location' => 'header',
  546. 'default' => 'AWSCognitoIdentityService.ListIdentityPools',
  547. ),
  548. 'MaxResults' => array(
  549. 'required' => true,
  550. 'type' => 'numeric',
  551. 'location' => 'json',
  552. 'minimum' => 1,
  553. 'maximum' => 60,
  554. ),
  555. 'NextToken' => array(
  556. 'type' => 'string',
  557. 'location' => 'json',
  558. 'minLength' => 1,
  559. ),
  560. ),
  561. 'errorResponses' => array(
  562. array(
  563. 'reason' => 'Thrown for missing or bad input parameter(s).',
  564. 'class' => 'InvalidParameterException',
  565. ),
  566. array(
  567. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  568. 'class' => 'NotAuthorizedException',
  569. ),
  570. array(
  571. 'reason' => 'Thrown when a request is throttled.',
  572. 'class' => 'TooManyRequestsException',
  573. ),
  574. array(
  575. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  576. 'class' => 'InternalErrorException',
  577. ),
  578. ),
  579. ),
  580. 'LookupDeveloperIdentity' => array(
  581. 'httpMethod' => 'POST',
  582. 'uri' => '/',
  583. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  584. 'responseClass' => 'LookupDeveloperIdentityResponse',
  585. 'responseType' => 'model',
  586. 'parameters' => array(
  587. 'Content-Type' => array(
  588. 'static' => true,
  589. 'location' => 'header',
  590. 'default' => 'application/x-amz-json-1.1',
  591. ),
  592. 'command.expects' => array(
  593. 'static' => true,
  594. 'default' => 'application/json',
  595. ),
  596. 'X-Amz-Target' => array(
  597. 'static' => true,
  598. 'location' => 'header',
  599. 'default' => 'AWSCognitoIdentityService.LookupDeveloperIdentity',
  600. ),
  601. 'IdentityPoolId' => array(
  602. 'required' => true,
  603. 'type' => 'string',
  604. 'location' => 'json',
  605. 'minLength' => 1,
  606. 'maxLength' => 50,
  607. ),
  608. 'IdentityId' => array(
  609. 'type' => 'string',
  610. 'location' => 'json',
  611. 'minLength' => 1,
  612. 'maxLength' => 50,
  613. ),
  614. 'DeveloperUserIdentifier' => array(
  615. 'type' => 'string',
  616. 'location' => 'json',
  617. ),
  618. 'MaxResults' => array(
  619. 'type' => 'numeric',
  620. 'location' => 'json',
  621. 'minimum' => 1,
  622. 'maximum' => 60,
  623. ),
  624. 'NextToken' => array(
  625. 'type' => 'string',
  626. 'location' => 'json',
  627. 'minLength' => 1,
  628. ),
  629. ),
  630. 'errorResponses' => array(
  631. array(
  632. 'reason' => 'Thrown for missing or bad input parameter(s).',
  633. 'class' => 'InvalidParameterException',
  634. ),
  635. array(
  636. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  637. 'class' => 'ResourceNotFoundException',
  638. ),
  639. array(
  640. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  641. 'class' => 'NotAuthorizedException',
  642. ),
  643. array(
  644. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  645. 'class' => 'ResourceConflictException',
  646. ),
  647. array(
  648. 'reason' => 'Thrown when a request is throttled.',
  649. 'class' => 'TooManyRequestsException',
  650. ),
  651. array(
  652. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  653. 'class' => 'InternalErrorException',
  654. ),
  655. ),
  656. ),
  657. 'MergeDeveloperIdentities' => array(
  658. 'httpMethod' => 'POST',
  659. 'uri' => '/',
  660. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  661. 'responseClass' => 'MergeDeveloperIdentitiesResponse',
  662. 'responseType' => 'model',
  663. 'parameters' => array(
  664. 'Content-Type' => array(
  665. 'static' => true,
  666. 'location' => 'header',
  667. 'default' => 'application/x-amz-json-1.1',
  668. ),
  669. 'command.expects' => array(
  670. 'static' => true,
  671. 'default' => 'application/json',
  672. ),
  673. 'X-Amz-Target' => array(
  674. 'static' => true,
  675. 'location' => 'header',
  676. 'default' => 'AWSCognitoIdentityService.MergeDeveloperIdentities',
  677. ),
  678. 'SourceUserIdentifier' => array(
  679. 'required' => true,
  680. 'type' => 'string',
  681. 'location' => 'json',
  682. ),
  683. 'DestinationUserIdentifier' => array(
  684. 'required' => true,
  685. 'type' => 'string',
  686. 'location' => 'json',
  687. ),
  688. 'DeveloperProviderName' => array(
  689. 'required' => true,
  690. 'type' => 'string',
  691. 'location' => 'json',
  692. 'minLength' => 1,
  693. 'maxLength' => 128,
  694. ),
  695. 'IdentityPoolId' => array(
  696. 'required' => true,
  697. 'type' => 'string',
  698. 'location' => 'json',
  699. 'minLength' => 1,
  700. 'maxLength' => 50,
  701. ),
  702. ),
  703. 'errorResponses' => array(
  704. array(
  705. 'reason' => 'Thrown for missing or bad input parameter(s).',
  706. 'class' => 'InvalidParameterException',
  707. ),
  708. array(
  709. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  710. 'class' => 'ResourceNotFoundException',
  711. ),
  712. array(
  713. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  714. 'class' => 'NotAuthorizedException',
  715. ),
  716. array(
  717. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  718. 'class' => 'ResourceConflictException',
  719. ),
  720. array(
  721. 'reason' => 'Thrown when a request is throttled.',
  722. 'class' => 'TooManyRequestsException',
  723. ),
  724. array(
  725. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  726. 'class' => 'InternalErrorException',
  727. ),
  728. ),
  729. ),
  730. 'UnlinkDeveloperIdentity' => array(
  731. 'httpMethod' => 'POST',
  732. 'uri' => '/',
  733. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  734. 'responseClass' => 'EmptyOutput',
  735. 'responseType' => 'model',
  736. 'parameters' => array(
  737. 'Content-Type' => array(
  738. 'static' => true,
  739. 'location' => 'header',
  740. 'default' => 'application/x-amz-json-1.1',
  741. ),
  742. 'command.expects' => array(
  743. 'static' => true,
  744. 'default' => 'application/json',
  745. ),
  746. 'X-Amz-Target' => array(
  747. 'static' => true,
  748. 'location' => 'header',
  749. 'default' => 'AWSCognitoIdentityService.UnlinkDeveloperIdentity',
  750. ),
  751. 'IdentityId' => array(
  752. 'required' => true,
  753. 'type' => 'string',
  754. 'location' => 'json',
  755. 'minLength' => 1,
  756. 'maxLength' => 50,
  757. ),
  758. 'IdentityPoolId' => array(
  759. 'required' => true,
  760. 'type' => 'string',
  761. 'location' => 'json',
  762. 'minLength' => 1,
  763. 'maxLength' => 50,
  764. ),
  765. 'DeveloperProviderName' => array(
  766. 'required' => true,
  767. 'type' => 'string',
  768. 'location' => 'json',
  769. 'minLength' => 1,
  770. 'maxLength' => 128,
  771. ),
  772. 'DeveloperUserIdentifier' => array(
  773. 'required' => true,
  774. 'type' => 'string',
  775. 'location' => 'json',
  776. ),
  777. ),
  778. 'errorResponses' => array(
  779. array(
  780. 'reason' => 'Thrown for missing or bad input parameter(s).',
  781. 'class' => 'InvalidParameterException',
  782. ),
  783. array(
  784. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  785. 'class' => 'ResourceNotFoundException',
  786. ),
  787. array(
  788. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  789. 'class' => 'NotAuthorizedException',
  790. ),
  791. array(
  792. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  793. 'class' => 'ResourceConflictException',
  794. ),
  795. array(
  796. 'reason' => 'Thrown when a request is throttled.',
  797. 'class' => 'TooManyRequestsException',
  798. ),
  799. array(
  800. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  801. 'class' => 'InternalErrorException',
  802. ),
  803. ),
  804. ),
  805. 'UnlinkIdentity' => array(
  806. 'httpMethod' => 'POST',
  807. 'uri' => '/',
  808. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  809. 'responseClass' => 'EmptyOutput',
  810. 'responseType' => 'model',
  811. 'parameters' => array(
  812. 'Content-Type' => array(
  813. 'static' => true,
  814. 'location' => 'header',
  815. 'default' => 'application/x-amz-json-1.1',
  816. ),
  817. 'command.expects' => array(
  818. 'static' => true,
  819. 'default' => 'application/json',
  820. ),
  821. 'X-Amz-Target' => array(
  822. 'static' => true,
  823. 'location' => 'header',
  824. 'default' => 'AWSCognitoIdentityService.UnlinkIdentity',
  825. ),
  826. 'IdentityId' => array(
  827. 'required' => true,
  828. 'type' => 'string',
  829. 'location' => 'json',
  830. 'minLength' => 1,
  831. 'maxLength' => 50,
  832. ),
  833. 'Logins' => array(
  834. 'required' => true,
  835. 'type' => 'object',
  836. 'location' => 'json',
  837. 'additionalProperties' => array(
  838. 'type' => 'string',
  839. 'minLength' => 1,
  840. 'maxLength' => 2048,
  841. 'data' => array(
  842. 'shape_name' => 'IdentityProviderName',
  843. 'key_pattern' => '/[\\w._-]+/',
  844. ),
  845. ),
  846. ),
  847. 'LoginsToRemove' => array(
  848. 'required' => true,
  849. 'type' => 'array',
  850. 'location' => 'json',
  851. 'items' => array(
  852. 'name' => 'IdentityProviderName',
  853. 'type' => 'string',
  854. 'minLength' => 1,
  855. 'maxLength' => 128,
  856. ),
  857. ),
  858. ),
  859. 'errorResponses' => array(
  860. array(
  861. 'reason' => 'Thrown for missing or bad input parameter(s).',
  862. 'class' => 'InvalidParameterException',
  863. ),
  864. array(
  865. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  866. 'class' => 'ResourceNotFoundException',
  867. ),
  868. array(
  869. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  870. 'class' => 'NotAuthorizedException',
  871. ),
  872. array(
  873. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  874. 'class' => 'ResourceConflictException',
  875. ),
  876. array(
  877. 'reason' => 'Thrown when a request is throttled.',
  878. 'class' => 'TooManyRequestsException',
  879. ),
  880. array(
  881. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  882. 'class' => 'InternalErrorException',
  883. ),
  884. ),
  885. ),
  886. 'UpdateIdentityPool' => array(
  887. 'httpMethod' => 'POST',
  888. 'uri' => '/',
  889. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  890. 'responseClass' => 'IdentityPool',
  891. 'responseType' => 'model',
  892. 'parameters' => array(
  893. 'Content-Type' => array(
  894. 'static' => true,
  895. 'location' => 'header',
  896. 'default' => 'application/x-amz-json-1.1',
  897. ),
  898. 'command.expects' => array(
  899. 'static' => true,
  900. 'default' => 'application/json',
  901. ),
  902. 'X-Amz-Target' => array(
  903. 'static' => true,
  904. 'location' => 'header',
  905. 'default' => 'AWSCognitoIdentityService.UpdateIdentityPool',
  906. ),
  907. 'IdentityPoolId' => array(
  908. 'required' => true,
  909. 'type' => 'string',
  910. 'location' => 'json',
  911. 'minLength' => 1,
  912. 'maxLength' => 50,
  913. ),
  914. 'IdentityPoolName' => array(
  915. 'required' => true,
  916. 'type' => 'string',
  917. 'location' => 'json',
  918. 'minLength' => 1,
  919. 'maxLength' => 128,
  920. ),
  921. 'AllowUnauthenticatedIdentities' => array(
  922. 'required' => true,
  923. 'type' => 'boolean',
  924. 'format' => 'boolean-string',
  925. 'location' => 'json',
  926. ),
  927. 'SupportedLoginProviders' => array(
  928. 'type' => 'object',
  929. 'location' => 'json',
  930. 'additionalProperties' => array(
  931. 'type' => 'string',
  932. 'minLength' => 1,
  933. 'maxLength' => 128,
  934. 'data' => array(
  935. 'shape_name' => 'IdentityProviderName',
  936. 'key_pattern' => '/[\\w._-]+/',
  937. ),
  938. ),
  939. ),
  940. 'DeveloperProviderName' => array(
  941. 'type' => 'string',
  942. 'location' => 'json',
  943. 'minLength' => 1,
  944. 'maxLength' => 128,
  945. ),
  946. 'OpenIdConnectProviderARNs' => array(
  947. 'type' => 'array',
  948. 'location' => 'json',
  949. 'items' => array(
  950. 'name' => 'OIDCProviderARN',
  951. 'type' => 'string',
  952. 'minLength' => 20,
  953. 'maxLength' => 2048,
  954. ),
  955. ),
  956. ),
  957. 'errorResponses' => array(
  958. array(
  959. 'reason' => 'Thrown for missing or bad input parameter(s).',
  960. 'class' => 'InvalidParameterException',
  961. ),
  962. array(
  963. 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
  964. 'class' => 'ResourceNotFoundException',
  965. ),
  966. array(
  967. 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
  968. 'class' => 'NotAuthorizedException',
  969. ),
  970. array(
  971. 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
  972. 'class' => 'ResourceConflictException',
  973. ),
  974. array(
  975. 'reason' => 'Thrown when a request is throttled.',
  976. 'class' => 'TooManyRequestsException',
  977. ),
  978. array(
  979. 'reason' => 'Thrown when the service encounters an error during processing the request.',
  980. 'class' => 'InternalErrorException',
  981. ),
  982. ),
  983. ),
  984. ),
  985. 'models' => array(
  986. 'IdentityPool' => array(
  987. 'type' => 'object',
  988. 'additionalProperties' => true,
  989. 'properties' => array(
  990. 'IdentityPoolId' => array(
  991. 'type' => 'string',
  992. 'location' => 'json',
  993. ),
  994. 'IdentityPoolName' => array(
  995. 'type' => 'string',
  996. 'location' => 'json',
  997. ),
  998. 'AllowUnauthenticatedIdentities' => array(
  999. 'type' => 'boolean',
  1000. 'location' => 'json',
  1001. ),
  1002. 'SupportedLoginProviders' => array(
  1003. 'type' => 'object',
  1004. 'location' => 'json',
  1005. 'additionalProperties' => array(
  1006. 'type' => 'string',
  1007. ),
  1008. ),
  1009. 'DeveloperProviderName' => array(
  1010. 'type' => 'string',
  1011. 'location' => 'json',
  1012. ),
  1013. 'OpenIdConnectProviderARNs' => array(
  1014. 'type' => 'array',
  1015. 'location' => 'json',
  1016. 'items' => array(
  1017. 'name' => 'OIDCProviderARN',
  1018. 'type' => 'string',
  1019. ),
  1020. ),
  1021. ),
  1022. ),
  1023. 'EmptyOutput' => array(
  1024. 'type' => 'object',
  1025. 'additionalProperties' => true,
  1026. ),
  1027. 'GetIdResponse' => array(
  1028. 'type' => 'object',
  1029. 'additionalProperties' => true,
  1030. 'properties' => array(
  1031. 'IdentityId' => array(
  1032. 'type' => 'string',
  1033. 'location' => 'json',
  1034. ),
  1035. ),
  1036. ),
  1037. 'GetOpenIdTokenResponse' => array(
  1038. 'type' => 'object',
  1039. 'additionalProperties' => true,
  1040. 'properties' => array(
  1041. 'IdentityId' => array(
  1042. 'type' => 'string',
  1043. 'location' => 'json',
  1044. ),
  1045. 'Token' => array(
  1046. 'type' => 'string',
  1047. 'location' => 'json',
  1048. ),
  1049. ),
  1050. ),
  1051. 'GetOpenIdTokenForDeveloperIdentityResponse' => array(
  1052. 'type' => 'object',
  1053. 'additionalProperties' => true,
  1054. 'properties' => array(
  1055. 'IdentityId' => array(
  1056. 'type' => 'string',
  1057. 'location' => 'json',
  1058. ),
  1059. 'Token' => array(
  1060. 'type' => 'string',
  1061. 'location' => 'json',
  1062. ),
  1063. ),
  1064. ),
  1065. 'ListIdentitiesResponse' => array(
  1066. 'type' => 'object',
  1067. 'additionalProperties' => true,
  1068. 'properties' => array(
  1069. 'IdentityPoolId' => array(
  1070. 'type' => 'string',
  1071. 'location' => 'json',
  1072. ),
  1073. 'Identities' => array(
  1074. 'type' => 'array',
  1075. 'location' => 'json',
  1076. 'items' => array(
  1077. 'name' => 'IdentityDescription',
  1078. 'type' => 'object',
  1079. 'properties' => array(
  1080. 'IdentityId' => array(
  1081. 'type' => 'string',
  1082. ),
  1083. 'Logins' => array(
  1084. 'type' => 'array',
  1085. 'items' => array(
  1086. 'name' => 'IdentityProviderName',
  1087. 'type' => 'string',
  1088. ),
  1089. ),
  1090. ),
  1091. ),
  1092. ),
  1093. 'NextToken' => array(
  1094. 'type' => 'string',
  1095. 'location' => 'json',
  1096. ),
  1097. ),
  1098. ),
  1099. 'ListIdentityPoolsResponse' => array(
  1100. 'type' => 'object',
  1101. 'additionalProperties' => true,
  1102. 'properties' => array(
  1103. 'IdentityPools' => array(
  1104. 'type' => 'array',
  1105. 'location' => 'json',
  1106. 'items' => array(
  1107. 'name' => 'IdentityPoolShortDescription',
  1108. 'type' => 'object',
  1109. 'properties' => array(
  1110. 'IdentityPoolId' => array(
  1111. 'type' => 'string',
  1112. ),
  1113. 'IdentityPoolName' => array(
  1114. 'type' => 'string',
  1115. ),
  1116. ),
  1117. ),
  1118. ),
  1119. 'NextToken' => array(
  1120. 'type' => 'string',
  1121. 'location' => 'json',
  1122. ),
  1123. ),
  1124. ),
  1125. 'LookupDeveloperIdentityResponse' => array(
  1126. 'type' => 'object',
  1127. 'additionalProperties' => true,
  1128. 'properties' => array(
  1129. 'IdentityId' => array(
  1130. 'type' => 'string',
  1131. 'location' => 'json',
  1132. ),
  1133. 'DeveloperUserIdentifierList' => array(
  1134. 'type' => 'array',
  1135. 'location' => 'json',
  1136. 'items' => array(
  1137. 'name' => 'DeveloperUserIdentifier',
  1138. 'type' => 'string',
  1139. ),
  1140. ),
  1141. 'NextToken' => array(
  1142. 'type' => 'string',
  1143. 'location' => 'json',
  1144. ),
  1145. ),
  1146. ),
  1147. 'MergeDeveloperIdentitiesResponse' => array(
  1148. 'type' => 'object',
  1149. 'additionalProperties' => true,
  1150. 'properties' => array(
  1151. 'IdentityId' => array(
  1152. 'type' => 'string',
  1153. 'location' => 'json',
  1154. ),
  1155. ),
  1156. ),
  1157. ),
  1158. );