/api/vendor/aws/aws-sdk-php/src/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php

https://gitlab.com/x33n/respond · PHP · 1100 lines · 1099 code · 1 blank · 0 comment · 0 complexity · da18ff35a62278c92a37eb53f7508095 MD5 · raw file

  1. <?php
  2. return array (
  3. 'apiVersion' => '2014-03-28',
  4. 'endpointPrefix' => 'logs',
  5. 'serviceFullName' => 'Amazon CloudWatch Logs',
  6. 'serviceType' => 'json',
  7. 'jsonVersion' => '1.1',
  8. 'targetPrefix' => 'Logs_20140328.',
  9. 'signatureVersion' => 'v4',
  10. 'namespace' => 'CloudWatchLogs',
  11. 'regions' => array(
  12. 'us-east-1' => array(
  13. 'http' => false,
  14. 'https' => true,
  15. 'hostname' => 'logs.us-east-1.amazonaws.com',
  16. ),
  17. ),
  18. 'operations' => array(
  19. 'CreateLogGroup' => array(
  20. 'httpMethod' => 'POST',
  21. 'uri' => '/',
  22. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  23. 'responseClass' => 'EmptyOutput',
  24. 'responseType' => 'model',
  25. 'parameters' => array(
  26. 'Content-Type' => array(
  27. 'static' => true,
  28. 'location' => 'header',
  29. 'default' => 'application/x-amz-json-1.1',
  30. ),
  31. 'command.expects' => array(
  32. 'static' => true,
  33. 'default' => 'application/json',
  34. ),
  35. 'X-Amz-Target' => array(
  36. 'static' => true,
  37. 'location' => 'header',
  38. 'default' => 'Logs_20140328.CreateLogGroup',
  39. ),
  40. 'logGroupName' => array(
  41. 'required' => true,
  42. 'type' => 'string',
  43. 'location' => 'json',
  44. 'minLength' => 1,
  45. 'maxLength' => 512,
  46. ),
  47. ),
  48. 'errorResponses' => array(
  49. array(
  50. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  51. 'class' => 'InvalidParameterException',
  52. ),
  53. array(
  54. 'reason' => 'Returned if the specified resource already exists.',
  55. 'class' => 'ResourceAlreadyExistsException',
  56. ),
  57. array(
  58. 'reason' => 'Returned if you have reached the maximum number of resources that can be created.',
  59. 'class' => 'LimitExceededException',
  60. ),
  61. array(
  62. 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
  63. 'class' => 'OperationAbortedException',
  64. ),
  65. array(
  66. 'reason' => 'Returned if the service cannot complete the request.',
  67. 'class' => 'ServiceUnavailableException',
  68. ),
  69. ),
  70. ),
  71. 'CreateLogStream' => array(
  72. 'httpMethod' => 'POST',
  73. 'uri' => '/',
  74. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  75. 'responseClass' => 'EmptyOutput',
  76. 'responseType' => 'model',
  77. 'parameters' => array(
  78. 'Content-Type' => array(
  79. 'static' => true,
  80. 'location' => 'header',
  81. 'default' => 'application/x-amz-json-1.1',
  82. ),
  83. 'command.expects' => array(
  84. 'static' => true,
  85. 'default' => 'application/json',
  86. ),
  87. 'X-Amz-Target' => array(
  88. 'static' => true,
  89. 'location' => 'header',
  90. 'default' => 'Logs_20140328.CreateLogStream',
  91. ),
  92. 'logGroupName' => array(
  93. 'required' => true,
  94. 'type' => 'string',
  95. 'location' => 'json',
  96. 'minLength' => 1,
  97. 'maxLength' => 512,
  98. ),
  99. 'logStreamName' => array(
  100. 'required' => true,
  101. 'type' => 'string',
  102. 'location' => 'json',
  103. 'minLength' => 1,
  104. 'maxLength' => 512,
  105. ),
  106. ),
  107. 'errorResponses' => array(
  108. array(
  109. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  110. 'class' => 'InvalidParameterException',
  111. ),
  112. array(
  113. 'reason' => 'Returned if the specified resource already exists.',
  114. 'class' => 'ResourceAlreadyExistsException',
  115. ),
  116. array(
  117. 'reason' => 'Returned if the specified resource does not exist.',
  118. 'class' => 'ResourceNotFoundException',
  119. ),
  120. array(
  121. 'reason' => 'Returned if the service cannot complete the request.',
  122. 'class' => 'ServiceUnavailableException',
  123. ),
  124. ),
  125. ),
  126. 'DeleteLogGroup' => array(
  127. 'httpMethod' => 'POST',
  128. 'uri' => '/',
  129. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  130. 'responseClass' => 'EmptyOutput',
  131. 'responseType' => 'model',
  132. 'parameters' => array(
  133. 'Content-Type' => array(
  134. 'static' => true,
  135. 'location' => 'header',
  136. 'default' => 'application/x-amz-json-1.1',
  137. ),
  138. 'command.expects' => array(
  139. 'static' => true,
  140. 'default' => 'application/json',
  141. ),
  142. 'X-Amz-Target' => array(
  143. 'static' => true,
  144. 'location' => 'header',
  145. 'default' => 'Logs_20140328.DeleteLogGroup',
  146. ),
  147. 'logGroupName' => array(
  148. 'required' => true,
  149. 'type' => 'string',
  150. 'location' => 'json',
  151. 'minLength' => 1,
  152. 'maxLength' => 512,
  153. ),
  154. ),
  155. 'errorResponses' => array(
  156. array(
  157. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  158. 'class' => 'InvalidParameterException',
  159. ),
  160. array(
  161. 'reason' => 'Returned if the specified resource does not exist.',
  162. 'class' => 'ResourceNotFoundException',
  163. ),
  164. array(
  165. 'reason' => 'Returned if the resource cannot be deleted because other resources are still associated with it.',
  166. 'class' => 'ResourceInUseException',
  167. ),
  168. array(
  169. 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
  170. 'class' => 'OperationAbortedException',
  171. ),
  172. array(
  173. 'reason' => 'Returned if the service cannot complete the request.',
  174. 'class' => 'ServiceUnavailableException',
  175. ),
  176. ),
  177. ),
  178. 'DeleteLogStream' => array(
  179. 'httpMethod' => 'POST',
  180. 'uri' => '/',
  181. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  182. 'responseClass' => 'EmptyOutput',
  183. 'responseType' => 'model',
  184. 'parameters' => array(
  185. 'Content-Type' => array(
  186. 'static' => true,
  187. 'location' => 'header',
  188. 'default' => 'application/x-amz-json-1.1',
  189. ),
  190. 'command.expects' => array(
  191. 'static' => true,
  192. 'default' => 'application/json',
  193. ),
  194. 'X-Amz-Target' => array(
  195. 'static' => true,
  196. 'location' => 'header',
  197. 'default' => 'Logs_20140328.DeleteLogStream',
  198. ),
  199. 'logGroupName' => array(
  200. 'required' => true,
  201. 'type' => 'string',
  202. 'location' => 'json',
  203. 'minLength' => 1,
  204. 'maxLength' => 512,
  205. ),
  206. 'logStreamName' => array(
  207. 'required' => true,
  208. 'type' => 'string',
  209. 'location' => 'json',
  210. 'minLength' => 1,
  211. 'maxLength' => 512,
  212. ),
  213. ),
  214. 'errorResponses' => array(
  215. array(
  216. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  217. 'class' => 'InvalidParameterException',
  218. ),
  219. array(
  220. 'reason' => 'Returned if the specified resource does not exist.',
  221. 'class' => 'ResourceNotFoundException',
  222. ),
  223. array(
  224. 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
  225. 'class' => 'OperationAbortedException',
  226. ),
  227. array(
  228. 'reason' => 'Returned if the service cannot complete the request.',
  229. 'class' => 'ServiceUnavailableException',
  230. ),
  231. ),
  232. ),
  233. 'DeleteMetricFilter' => array(
  234. 'httpMethod' => 'POST',
  235. 'uri' => '/',
  236. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  237. 'responseClass' => 'EmptyOutput',
  238. 'responseType' => 'model',
  239. 'parameters' => array(
  240. 'Content-Type' => array(
  241. 'static' => true,
  242. 'location' => 'header',
  243. 'default' => 'application/x-amz-json-1.1',
  244. ),
  245. 'command.expects' => array(
  246. 'static' => true,
  247. 'default' => 'application/json',
  248. ),
  249. 'X-Amz-Target' => array(
  250. 'static' => true,
  251. 'location' => 'header',
  252. 'default' => 'Logs_20140328.DeleteMetricFilter',
  253. ),
  254. 'logGroupName' => array(
  255. 'required' => true,
  256. 'type' => 'string',
  257. 'location' => 'json',
  258. 'minLength' => 1,
  259. 'maxLength' => 512,
  260. ),
  261. 'filterName' => array(
  262. 'required' => true,
  263. 'type' => 'string',
  264. 'location' => 'json',
  265. 'minLength' => 1,
  266. 'maxLength' => 512,
  267. ),
  268. ),
  269. 'errorResponses' => array(
  270. array(
  271. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  272. 'class' => 'InvalidParameterException',
  273. ),
  274. array(
  275. 'reason' => 'Returned if the specified resource does not exist.',
  276. 'class' => 'ResourceNotFoundException',
  277. ),
  278. array(
  279. 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
  280. 'class' => 'OperationAbortedException',
  281. ),
  282. array(
  283. 'reason' => 'Returned if the service cannot complete the request.',
  284. 'class' => 'ServiceUnavailableException',
  285. ),
  286. ),
  287. ),
  288. 'DeleteRetentionPolicy' => array(
  289. 'httpMethod' => 'POST',
  290. 'uri' => '/',
  291. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  292. 'responseClass' => 'EmptyOutput',
  293. 'responseType' => 'model',
  294. 'parameters' => array(
  295. 'Content-Type' => array(
  296. 'static' => true,
  297. 'location' => 'header',
  298. 'default' => 'application/x-amz-json-1.1',
  299. ),
  300. 'command.expects' => array(
  301. 'static' => true,
  302. 'default' => 'application/json',
  303. ),
  304. 'X-Amz-Target' => array(
  305. 'static' => true,
  306. 'location' => 'header',
  307. 'default' => 'Logs_20140328.DeleteRetentionPolicy',
  308. ),
  309. 'logGroupName' => array(
  310. 'required' => true,
  311. 'type' => 'string',
  312. 'location' => 'json',
  313. 'minLength' => 1,
  314. 'maxLength' => 512,
  315. ),
  316. ),
  317. 'errorResponses' => array(
  318. array(
  319. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  320. 'class' => 'InvalidParameterException',
  321. ),
  322. array(
  323. 'reason' => 'Returned if the specified resource does not exist.',
  324. 'class' => 'ResourceNotFoundException',
  325. ),
  326. array(
  327. 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
  328. 'class' => 'OperationAbortedException',
  329. ),
  330. array(
  331. 'reason' => 'Returned if the service cannot complete the request.',
  332. 'class' => 'ServiceUnavailableException',
  333. ),
  334. ),
  335. ),
  336. 'DescribeLogGroups' => array(
  337. 'httpMethod' => 'POST',
  338. 'uri' => '/',
  339. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  340. 'responseClass' => 'DescribeLogGroupsResponse',
  341. 'responseType' => 'model',
  342. 'parameters' => array(
  343. 'Content-Type' => array(
  344. 'static' => true,
  345. 'location' => 'header',
  346. 'default' => 'application/x-amz-json-1.1',
  347. ),
  348. 'command.expects' => array(
  349. 'static' => true,
  350. 'default' => 'application/json',
  351. ),
  352. 'X-Amz-Target' => array(
  353. 'static' => true,
  354. 'location' => 'header',
  355. 'default' => 'Logs_20140328.DescribeLogGroups',
  356. ),
  357. 'logGroupNamePrefix' => array(
  358. 'type' => 'string',
  359. 'location' => 'json',
  360. 'minLength' => 1,
  361. 'maxLength' => 512,
  362. ),
  363. 'nextToken' => array(
  364. 'type' => 'string',
  365. 'location' => 'json',
  366. ),
  367. 'limit' => array(
  368. 'type' => 'numeric',
  369. 'location' => 'json',
  370. 'minimum' => 1,
  371. 'maximum' => 50,
  372. ),
  373. ),
  374. 'errorResponses' => array(
  375. array(
  376. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  377. 'class' => 'InvalidParameterException',
  378. ),
  379. array(
  380. 'reason' => 'Returned if the service cannot complete the request.',
  381. 'class' => 'ServiceUnavailableException',
  382. ),
  383. ),
  384. ),
  385. 'DescribeLogStreams' => array(
  386. 'httpMethod' => 'POST',
  387. 'uri' => '/',
  388. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  389. 'responseClass' => 'DescribeLogStreamsResponse',
  390. 'responseType' => 'model',
  391. 'parameters' => array(
  392. 'Content-Type' => array(
  393. 'static' => true,
  394. 'location' => 'header',
  395. 'default' => 'application/x-amz-json-1.1',
  396. ),
  397. 'command.expects' => array(
  398. 'static' => true,
  399. 'default' => 'application/json',
  400. ),
  401. 'X-Amz-Target' => array(
  402. 'static' => true,
  403. 'location' => 'header',
  404. 'default' => 'Logs_20140328.DescribeLogStreams',
  405. ),
  406. 'logGroupName' => array(
  407. 'required' => true,
  408. 'type' => 'string',
  409. 'location' => 'json',
  410. 'minLength' => 1,
  411. 'maxLength' => 512,
  412. ),
  413. 'logStreamNamePrefix' => array(
  414. 'type' => 'string',
  415. 'location' => 'json',
  416. 'minLength' => 1,
  417. 'maxLength' => 512,
  418. ),
  419. 'nextToken' => array(
  420. 'type' => 'string',
  421. 'location' => 'json',
  422. ),
  423. 'limit' => array(
  424. 'type' => 'numeric',
  425. 'location' => 'json',
  426. 'minimum' => 1,
  427. 'maximum' => 50,
  428. ),
  429. ),
  430. 'errorResponses' => array(
  431. array(
  432. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  433. 'class' => 'InvalidParameterException',
  434. ),
  435. array(
  436. 'reason' => 'Returned if the specified resource does not exist.',
  437. 'class' => 'ResourceNotFoundException',
  438. ),
  439. array(
  440. 'reason' => 'Returned if the service cannot complete the request.',
  441. 'class' => 'ServiceUnavailableException',
  442. ),
  443. ),
  444. ),
  445. 'DescribeMetricFilters' => array(
  446. 'httpMethod' => 'POST',
  447. 'uri' => '/',
  448. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  449. 'responseClass' => 'DescribeMetricFiltersResponse',
  450. 'responseType' => 'model',
  451. 'parameters' => array(
  452. 'Content-Type' => array(
  453. 'static' => true,
  454. 'location' => 'header',
  455. 'default' => 'application/x-amz-json-1.1',
  456. ),
  457. 'command.expects' => array(
  458. 'static' => true,
  459. 'default' => 'application/json',
  460. ),
  461. 'X-Amz-Target' => array(
  462. 'static' => true,
  463. 'location' => 'header',
  464. 'default' => 'Logs_20140328.DescribeMetricFilters',
  465. ),
  466. 'logGroupName' => array(
  467. 'required' => true,
  468. 'type' => 'string',
  469. 'location' => 'json',
  470. 'minLength' => 1,
  471. 'maxLength' => 512,
  472. ),
  473. 'filterNamePrefix' => array(
  474. 'type' => 'string',
  475. 'location' => 'json',
  476. 'minLength' => 1,
  477. 'maxLength' => 512,
  478. ),
  479. 'nextToken' => array(
  480. 'type' => 'string',
  481. 'location' => 'json',
  482. ),
  483. 'limit' => array(
  484. 'type' => 'numeric',
  485. 'location' => 'json',
  486. 'minimum' => 1,
  487. 'maximum' => 50,
  488. ),
  489. ),
  490. 'errorResponses' => array(
  491. array(
  492. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  493. 'class' => 'InvalidParameterException',
  494. ),
  495. array(
  496. 'reason' => 'Returned if the specified resource does not exist.',
  497. 'class' => 'ResourceNotFoundException',
  498. ),
  499. array(
  500. 'reason' => 'Returned if the service cannot complete the request.',
  501. 'class' => 'ServiceUnavailableException',
  502. ),
  503. ),
  504. ),
  505. 'GetLogEvents' => array(
  506. 'httpMethod' => 'POST',
  507. 'uri' => '/',
  508. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  509. 'responseClass' => 'GetLogEventsResponse',
  510. 'responseType' => 'model',
  511. 'parameters' => array(
  512. 'Content-Type' => array(
  513. 'static' => true,
  514. 'location' => 'header',
  515. 'default' => 'application/x-amz-json-1.1',
  516. ),
  517. 'command.expects' => array(
  518. 'static' => true,
  519. 'default' => 'application/json',
  520. ),
  521. 'X-Amz-Target' => array(
  522. 'static' => true,
  523. 'location' => 'header',
  524. 'default' => 'Logs_20140328.GetLogEvents',
  525. ),
  526. 'logGroupName' => array(
  527. 'required' => true,
  528. 'type' => 'string',
  529. 'location' => 'json',
  530. 'minLength' => 1,
  531. 'maxLength' => 512,
  532. ),
  533. 'logStreamName' => array(
  534. 'required' => true,
  535. 'type' => 'string',
  536. 'location' => 'json',
  537. 'minLength' => 1,
  538. 'maxLength' => 512,
  539. ),
  540. 'startTime' => array(
  541. 'type' => 'numeric',
  542. 'location' => 'json',
  543. ),
  544. 'endTime' => array(
  545. 'type' => 'numeric',
  546. 'location' => 'json',
  547. ),
  548. 'nextToken' => array(
  549. 'type' => 'string',
  550. 'location' => 'json',
  551. ),
  552. 'limit' => array(
  553. 'type' => 'numeric',
  554. 'location' => 'json',
  555. 'minimum' => 1,
  556. 'maximum' => 10000,
  557. ),
  558. 'startFromHead' => array(
  559. 'type' => 'boolean',
  560. 'format' => 'boolean-string',
  561. 'location' => 'json',
  562. ),
  563. ),
  564. 'errorResponses' => array(
  565. array(
  566. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  567. 'class' => 'InvalidParameterException',
  568. ),
  569. array(
  570. 'reason' => 'Returned if the specified resource does not exist.',
  571. 'class' => 'ResourceNotFoundException',
  572. ),
  573. array(
  574. 'reason' => 'Returned if the service cannot complete the request.',
  575. 'class' => 'ServiceUnavailableException',
  576. ),
  577. ),
  578. ),
  579. 'PutLogEvents' => array(
  580. 'httpMethod' => 'POST',
  581. 'uri' => '/',
  582. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  583. 'responseClass' => 'PutLogEventsResponse',
  584. 'responseType' => 'model',
  585. 'parameters' => array(
  586. 'Content-Type' => array(
  587. 'static' => true,
  588. 'location' => 'header',
  589. 'default' => 'application/x-amz-json-1.1',
  590. ),
  591. 'command.expects' => array(
  592. 'static' => true,
  593. 'default' => 'application/json',
  594. ),
  595. 'X-Amz-Target' => array(
  596. 'static' => true,
  597. 'location' => 'header',
  598. 'default' => 'Logs_20140328.PutLogEvents',
  599. ),
  600. 'logGroupName' => array(
  601. 'required' => true,
  602. 'type' => 'string',
  603. 'location' => 'json',
  604. 'minLength' => 1,
  605. 'maxLength' => 512,
  606. ),
  607. 'logStreamName' => array(
  608. 'required' => true,
  609. 'type' => 'string',
  610. 'location' => 'json',
  611. 'minLength' => 1,
  612. 'maxLength' => 512,
  613. ),
  614. 'logEvents' => array(
  615. 'required' => true,
  616. 'type' => 'array',
  617. 'location' => 'json',
  618. 'minItems' => 1,
  619. 'maxItems' => 1000,
  620. 'items' => array(
  621. 'name' => 'InputLogEvent',
  622. 'type' => 'object',
  623. 'properties' => array(
  624. 'timestamp' => array(
  625. 'required' => true,
  626. 'type' => 'numeric',
  627. ),
  628. 'message' => array(
  629. 'required' => true,
  630. 'type' => 'string',
  631. 'minLength' => 1,
  632. 'maxLength' => 32768,
  633. ),
  634. ),
  635. ),
  636. ),
  637. 'sequenceToken' => array(
  638. 'type' => 'string',
  639. 'location' => 'json',
  640. 'minLength' => 1,
  641. ),
  642. ),
  643. 'errorResponses' => array(
  644. array(
  645. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  646. 'class' => 'InvalidParameterException',
  647. ),
  648. array(
  649. 'class' => 'InvalidSequenceTokenException',
  650. ),
  651. array(
  652. 'class' => 'DataAlreadyAcceptedException',
  653. ),
  654. array(
  655. 'reason' => 'Returned if the specified resource does not exist.',
  656. 'class' => 'ResourceNotFoundException',
  657. ),
  658. array(
  659. 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
  660. 'class' => 'OperationAbortedException',
  661. ),
  662. array(
  663. 'reason' => 'Returned if the service cannot complete the request.',
  664. 'class' => 'ServiceUnavailableException',
  665. ),
  666. ),
  667. ),
  668. 'PutMetricFilter' => array(
  669. 'httpMethod' => 'POST',
  670. 'uri' => '/',
  671. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  672. 'responseClass' => 'EmptyOutput',
  673. 'responseType' => 'model',
  674. 'parameters' => array(
  675. 'Content-Type' => array(
  676. 'static' => true,
  677. 'location' => 'header',
  678. 'default' => 'application/x-amz-json-1.1',
  679. ),
  680. 'command.expects' => array(
  681. 'static' => true,
  682. 'default' => 'application/json',
  683. ),
  684. 'X-Amz-Target' => array(
  685. 'static' => true,
  686. 'location' => 'header',
  687. 'default' => 'Logs_20140328.PutMetricFilter',
  688. ),
  689. 'logGroupName' => array(
  690. 'required' => true,
  691. 'type' => 'string',
  692. 'location' => 'json',
  693. 'minLength' => 1,
  694. 'maxLength' => 512,
  695. ),
  696. 'filterName' => array(
  697. 'required' => true,
  698. 'type' => 'string',
  699. 'location' => 'json',
  700. 'minLength' => 1,
  701. 'maxLength' => 512,
  702. ),
  703. 'filterPattern' => array(
  704. 'required' => true,
  705. 'type' => 'string',
  706. 'location' => 'json',
  707. 'maxLength' => 512,
  708. ),
  709. 'metricTransformations' => array(
  710. 'required' => true,
  711. 'type' => 'array',
  712. 'location' => 'json',
  713. 'minItems' => 1,
  714. 'maxItems' => 1,
  715. 'items' => array(
  716. 'name' => 'MetricTransformation',
  717. 'type' => 'object',
  718. 'properties' => array(
  719. 'metricName' => array(
  720. 'required' => true,
  721. 'type' => 'string',
  722. 'maxLength' => 255,
  723. ),
  724. 'metricNamespace' => array(
  725. 'required' => true,
  726. 'type' => 'string',
  727. 'maxLength' => 255,
  728. ),
  729. 'metricValue' => array(
  730. 'required' => true,
  731. 'type' => 'string',
  732. 'maxLength' => 100,
  733. ),
  734. ),
  735. ),
  736. ),
  737. ),
  738. 'errorResponses' => array(
  739. array(
  740. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  741. 'class' => 'InvalidParameterException',
  742. ),
  743. array(
  744. 'reason' => 'Returned if the specified resource does not exist.',
  745. 'class' => 'ResourceNotFoundException',
  746. ),
  747. array(
  748. 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
  749. 'class' => 'OperationAbortedException',
  750. ),
  751. array(
  752. 'reason' => 'Returned if you have reached the maximum number of resources that can be created.',
  753. 'class' => 'LimitExceededException',
  754. ),
  755. array(
  756. 'reason' => 'Returned if the service cannot complete the request.',
  757. 'class' => 'ServiceUnavailableException',
  758. ),
  759. ),
  760. ),
  761. 'PutRetentionPolicy' => array(
  762. 'httpMethod' => 'POST',
  763. 'uri' => '/',
  764. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  765. 'responseClass' => 'EmptyOutput',
  766. 'responseType' => 'model',
  767. 'parameters' => array(
  768. 'Content-Type' => array(
  769. 'static' => true,
  770. 'location' => 'header',
  771. 'default' => 'application/x-amz-json-1.1',
  772. ),
  773. 'command.expects' => array(
  774. 'static' => true,
  775. 'default' => 'application/json',
  776. ),
  777. 'X-Amz-Target' => array(
  778. 'static' => true,
  779. 'location' => 'header',
  780. 'default' => 'Logs_20140328.PutRetentionPolicy',
  781. ),
  782. 'logGroupName' => array(
  783. 'required' => true,
  784. 'type' => 'string',
  785. 'location' => 'json',
  786. 'minLength' => 1,
  787. 'maxLength' => 512,
  788. ),
  789. 'retentionInDays' => array(
  790. 'required' => true,
  791. 'type' => 'numeric',
  792. 'location' => 'json',
  793. ),
  794. ),
  795. 'errorResponses' => array(
  796. array(
  797. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  798. 'class' => 'InvalidParameterException',
  799. ),
  800. array(
  801. 'reason' => 'Returned if the specified resource does not exist.',
  802. 'class' => 'ResourceNotFoundException',
  803. ),
  804. array(
  805. 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
  806. 'class' => 'OperationAbortedException',
  807. ),
  808. array(
  809. 'reason' => 'Returned if the service cannot complete the request.',
  810. 'class' => 'ServiceUnavailableException',
  811. ),
  812. ),
  813. ),
  814. 'TestMetricFilter' => array(
  815. 'httpMethod' => 'POST',
  816. 'uri' => '/',
  817. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  818. 'responseClass' => 'TestMetricFilterResponse',
  819. 'responseType' => 'model',
  820. 'parameters' => array(
  821. 'Content-Type' => array(
  822. 'static' => true,
  823. 'location' => 'header',
  824. 'default' => 'application/x-amz-json-1.1',
  825. ),
  826. 'command.expects' => array(
  827. 'static' => true,
  828. 'default' => 'application/json',
  829. ),
  830. 'X-Amz-Target' => array(
  831. 'static' => true,
  832. 'location' => 'header',
  833. 'default' => 'Logs_20140328.TestMetricFilter',
  834. ),
  835. 'filterPattern' => array(
  836. 'required' => true,
  837. 'type' => 'string',
  838. 'location' => 'json',
  839. 'maxLength' => 512,
  840. ),
  841. 'logEventMessages' => array(
  842. 'required' => true,
  843. 'type' => 'array',
  844. 'location' => 'json',
  845. 'minItems' => 1,
  846. 'maxItems' => 50,
  847. 'items' => array(
  848. 'name' => 'EventMessage',
  849. 'type' => 'string',
  850. 'minLength' => 1,
  851. 'maxLength' => 32768,
  852. ),
  853. ),
  854. ),
  855. 'errorResponses' => array(
  856. array(
  857. 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
  858. 'class' => 'InvalidParameterException',
  859. ),
  860. array(
  861. 'reason' => 'Returned if the service cannot complete the request.',
  862. 'class' => 'ServiceUnavailableException',
  863. ),
  864. ),
  865. ),
  866. ),
  867. 'models' => array(
  868. 'EmptyOutput' => array(
  869. 'type' => 'object',
  870. 'additionalProperties' => true,
  871. ),
  872. 'DescribeLogGroupsResponse' => array(
  873. 'type' => 'object',
  874. 'additionalProperties' => true,
  875. 'properties' => array(
  876. 'logGroups' => array(
  877. 'type' => 'array',
  878. 'location' => 'json',
  879. 'items' => array(
  880. 'name' => 'LogGroup',
  881. 'type' => 'object',
  882. 'properties' => array(
  883. 'logGroupName' => array(
  884. 'type' => 'string',
  885. ),
  886. 'creationTime' => array(
  887. 'type' => 'numeric',
  888. ),
  889. 'retentionInDays' => array(
  890. 'type' => 'numeric',
  891. ),
  892. 'metricFilterCount' => array(
  893. 'type' => 'numeric',
  894. ),
  895. 'arn' => array(
  896. 'type' => 'string',
  897. ),
  898. 'storedBytes' => array(
  899. 'type' => 'numeric',
  900. ),
  901. ),
  902. ),
  903. ),
  904. 'nextToken' => array(
  905. 'type' => 'string',
  906. 'location' => 'json',
  907. ),
  908. ),
  909. ),
  910. 'DescribeLogStreamsResponse' => array(
  911. 'type' => 'object',
  912. 'additionalProperties' => true,
  913. 'properties' => array(
  914. 'logStreams' => array(
  915. 'type' => 'array',
  916. 'location' => 'json',
  917. 'items' => array(
  918. 'name' => 'LogStream',
  919. 'type' => 'object',
  920. 'properties' => array(
  921. 'logStreamName' => array(
  922. 'type' => 'string',
  923. ),
  924. 'creationTime' => array(
  925. 'type' => 'numeric',
  926. ),
  927. 'firstEventTimestamp' => array(
  928. 'type' => 'numeric',
  929. ),
  930. 'lastEventTimestamp' => array(
  931. 'type' => 'numeric',
  932. ),
  933. 'lastIngestionTime' => array(
  934. 'type' => 'numeric',
  935. ),
  936. 'uploadSequenceToken' => array(
  937. 'type' => 'string',
  938. ),
  939. 'arn' => array(
  940. 'type' => 'string',
  941. ),
  942. 'storedBytes' => array(
  943. 'type' => 'numeric',
  944. ),
  945. ),
  946. ),
  947. ),
  948. 'nextToken' => array(
  949. 'type' => 'string',
  950. 'location' => 'json',
  951. ),
  952. ),
  953. ),
  954. 'DescribeMetricFiltersResponse' => array(
  955. 'type' => 'object',
  956. 'additionalProperties' => true,
  957. 'properties' => array(
  958. 'metricFilters' => array(
  959. 'type' => 'array',
  960. 'location' => 'json',
  961. 'items' => array(
  962. 'name' => 'MetricFilter',
  963. 'type' => 'object',
  964. 'properties' => array(
  965. 'filterName' => array(
  966. 'type' => 'string',
  967. ),
  968. 'filterPattern' => array(
  969. 'type' => 'string',
  970. ),
  971. 'metricTransformations' => array(
  972. 'type' => 'array',
  973. 'items' => array(
  974. 'name' => 'MetricTransformation',
  975. 'type' => 'object',
  976. 'properties' => array(
  977. 'metricName' => array(
  978. 'type' => 'string',
  979. ),
  980. 'metricNamespace' => array(
  981. 'type' => 'string',
  982. ),
  983. 'metricValue' => array(
  984. 'type' => 'string',
  985. ),
  986. ),
  987. ),
  988. ),
  989. 'creationTime' => array(
  990. 'type' => 'numeric',
  991. ),
  992. ),
  993. ),
  994. ),
  995. 'nextToken' => array(
  996. 'type' => 'string',
  997. 'location' => 'json',
  998. ),
  999. ),
  1000. ),
  1001. 'GetLogEventsResponse' => array(
  1002. 'type' => 'object',
  1003. 'additionalProperties' => true,
  1004. 'properties' => array(
  1005. 'events' => array(
  1006. 'type' => 'array',
  1007. 'location' => 'json',
  1008. 'items' => array(
  1009. 'name' => 'OutputLogEvent',
  1010. 'type' => 'object',
  1011. 'properties' => array(
  1012. 'timestamp' => array(
  1013. 'type' => 'numeric',
  1014. ),
  1015. 'message' => array(
  1016. 'type' => 'string',
  1017. ),
  1018. 'ingestionTime' => array(
  1019. 'type' => 'numeric',
  1020. ),
  1021. ),
  1022. ),
  1023. ),
  1024. 'nextForwardToken' => array(
  1025. 'type' => 'string',
  1026. 'location' => 'json',
  1027. ),
  1028. 'nextBackwardToken' => array(
  1029. 'type' => 'string',
  1030. 'location' => 'json',
  1031. ),
  1032. ),
  1033. ),
  1034. 'PutLogEventsResponse' => array(
  1035. 'type' => 'object',
  1036. 'additionalProperties' => true,
  1037. 'properties' => array(
  1038. 'nextSequenceToken' => array(
  1039. 'type' => 'string',
  1040. 'location' => 'json',
  1041. ),
  1042. ),
  1043. ),
  1044. 'TestMetricFilterResponse' => array(
  1045. 'type' => 'object',
  1046. 'additionalProperties' => true,
  1047. 'properties' => array(
  1048. 'matches' => array(
  1049. 'type' => 'array',
  1050. 'location' => 'json',
  1051. 'items' => array(
  1052. 'name' => 'MetricFilterMatchRecord',
  1053. 'type' => 'object',
  1054. 'properties' => array(
  1055. 'eventNumber' => array(
  1056. 'type' => 'numeric',
  1057. ),
  1058. 'eventMessage' => array(
  1059. 'type' => 'string',
  1060. ),
  1061. 'extractedValues' => array(
  1062. 'type' => 'object',
  1063. 'additionalProperties' => array(
  1064. 'type' => 'string',
  1065. ),
  1066. ),
  1067. ),
  1068. ),
  1069. ),
  1070. ),
  1071. ),
  1072. ),
  1073. 'iterators' => array(
  1074. 'DescribeLogGroups' => array(
  1075. 'input_token' => 'nextToken',
  1076. 'output_token' => 'nextToken',
  1077. 'limit_key' => 'limit',
  1078. 'result_key' => 'logGroups',
  1079. ),
  1080. 'DescribeLogStreams' => array(
  1081. 'input_token' => 'nextToken',
  1082. 'output_token' => 'nextToken',
  1083. 'limit_key' => 'limit',
  1084. 'result_key' => 'logStreams',
  1085. ),
  1086. 'DescribeMetricFilters' => array(
  1087. 'input_token' => 'nextToken',
  1088. 'output_token' => 'nextToken',
  1089. 'limit_key' => 'limit',
  1090. 'result_key' => 'metricFilters',
  1091. ),
  1092. 'GetLogEvents' => array(
  1093. 'input_token' => 'nextToken',
  1094. 'output_token' => 'nextForwardToken',
  1095. 'limit_key' => 'limit',
  1096. 'result_key' => 'events',
  1097. ),
  1098. ),
  1099. );