/api/vendor/aws/aws-sdk-php/src/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php

https://gitlab.com/x33n/respond · PHP · 1239 lines · 1224 code · 1 blank · 14 comment · 0 complexity · a6ced4d7324859b71a56f67ed5bbb8b6 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' => '2010-08-01',
  18. 'endpointPrefix' => 'monitoring',
  19. 'serviceFullName' => 'Amazon CloudWatch',
  20. 'serviceAbbreviation' => 'CloudWatch',
  21. 'serviceType' => 'query',
  22. 'resultWrapped' => true,
  23. 'signatureVersion' => 'v4',
  24. 'namespace' => 'CloudWatch',
  25. 'regions' => array(
  26. 'us-east-1' => array(
  27. 'http' => true,
  28. 'https' => true,
  29. 'hostname' => 'monitoring.us-east-1.amazonaws.com',
  30. ),
  31. 'us-west-1' => array(
  32. 'http' => true,
  33. 'https' => true,
  34. 'hostname' => 'monitoring.us-west-1.amazonaws.com',
  35. ),
  36. 'us-west-2' => array(
  37. 'http' => true,
  38. 'https' => true,
  39. 'hostname' => 'monitoring.us-west-2.amazonaws.com',
  40. ),
  41. 'eu-west-1' => array(
  42. 'http' => true,
  43. 'https' => true,
  44. 'hostname' => 'monitoring.eu-west-1.amazonaws.com',
  45. ),
  46. 'ap-northeast-1' => array(
  47. 'http' => true,
  48. 'https' => true,
  49. 'hostname' => 'monitoring.ap-northeast-1.amazonaws.com',
  50. ),
  51. 'ap-southeast-1' => array(
  52. 'http' => true,
  53. 'https' => true,
  54. 'hostname' => 'monitoring.ap-southeast-1.amazonaws.com',
  55. ),
  56. 'ap-southeast-2' => array(
  57. 'http' => true,
  58. 'https' => true,
  59. 'hostname' => 'monitoring.ap-southeast-2.amazonaws.com',
  60. ),
  61. 'sa-east-1' => array(
  62. 'http' => true,
  63. 'https' => true,
  64. 'hostname' => 'monitoring.sa-east-1.amazonaws.com',
  65. ),
  66. 'cn-north-1' => array(
  67. 'http' => true,
  68. 'https' => true,
  69. 'hostname' => 'monitoring.cn-north-1.amazonaws.com.cn',
  70. ),
  71. 'us-gov-west-1' => array(
  72. 'http' => false,
  73. 'https' => true,
  74. 'hostname' => 'monitoring.us-gov-west-1.amazonaws.com',
  75. ),
  76. ),
  77. 'operations' => array(
  78. 'DeleteAlarms' => array(
  79. 'httpMethod' => 'POST',
  80. 'uri' => '/',
  81. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  82. 'responseClass' => 'EmptyOutput',
  83. 'responseType' => 'model',
  84. 'parameters' => array(
  85. 'Action' => array(
  86. 'static' => true,
  87. 'location' => 'aws.query',
  88. 'default' => 'DeleteAlarms',
  89. ),
  90. 'Version' => array(
  91. 'static' => true,
  92. 'location' => 'aws.query',
  93. 'default' => '2010-08-01',
  94. ),
  95. 'AlarmNames' => array(
  96. 'required' => true,
  97. 'type' => 'array',
  98. 'location' => 'aws.query',
  99. 'sentAs' => 'AlarmNames.member',
  100. 'maxItems' => 100,
  101. 'items' => array(
  102. 'name' => 'AlarmName',
  103. 'type' => 'string',
  104. 'minLength' => 1,
  105. 'maxLength' => 255,
  106. ),
  107. ),
  108. ),
  109. 'errorResponses' => array(
  110. array(
  111. 'reason' => 'The named resource does not exist.',
  112. 'class' => 'ResourceNotFoundException',
  113. ),
  114. ),
  115. ),
  116. 'DescribeAlarmHistory' => array(
  117. 'httpMethod' => 'POST',
  118. 'uri' => '/',
  119. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  120. 'responseClass' => 'DescribeAlarmHistoryOutput',
  121. 'responseType' => 'model',
  122. 'parameters' => array(
  123. 'Action' => array(
  124. 'static' => true,
  125. 'location' => 'aws.query',
  126. 'default' => 'DescribeAlarmHistory',
  127. ),
  128. 'Version' => array(
  129. 'static' => true,
  130. 'location' => 'aws.query',
  131. 'default' => '2010-08-01',
  132. ),
  133. 'AlarmName' => array(
  134. 'type' => 'string',
  135. 'location' => 'aws.query',
  136. 'minLength' => 1,
  137. 'maxLength' => 255,
  138. ),
  139. 'HistoryItemType' => array(
  140. 'type' => 'string',
  141. 'location' => 'aws.query',
  142. ),
  143. 'StartDate' => array(
  144. 'type' => array(
  145. 'object',
  146. 'string',
  147. 'integer',
  148. ),
  149. 'format' => 'date-time',
  150. 'location' => 'aws.query',
  151. ),
  152. 'EndDate' => array(
  153. 'type' => array(
  154. 'object',
  155. 'string',
  156. 'integer',
  157. ),
  158. 'format' => 'date-time',
  159. 'location' => 'aws.query',
  160. ),
  161. 'MaxRecords' => array(
  162. 'type' => 'numeric',
  163. 'location' => 'aws.query',
  164. 'minimum' => 1,
  165. 'maximum' => 100,
  166. ),
  167. 'NextToken' => array(
  168. 'type' => 'string',
  169. 'location' => 'aws.query',
  170. ),
  171. ),
  172. 'errorResponses' => array(
  173. array(
  174. 'reason' => 'The next token specified is invalid.',
  175. 'class' => 'InvalidNextTokenException',
  176. ),
  177. ),
  178. ),
  179. 'DescribeAlarms' => array(
  180. 'httpMethod' => 'POST',
  181. 'uri' => '/',
  182. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  183. 'responseClass' => 'DescribeAlarmsOutput',
  184. 'responseType' => 'model',
  185. 'parameters' => array(
  186. 'Action' => array(
  187. 'static' => true,
  188. 'location' => 'aws.query',
  189. 'default' => 'DescribeAlarms',
  190. ),
  191. 'Version' => array(
  192. 'static' => true,
  193. 'location' => 'aws.query',
  194. 'default' => '2010-08-01',
  195. ),
  196. 'AlarmNames' => array(
  197. 'type' => 'array',
  198. 'location' => 'aws.query',
  199. 'sentAs' => 'AlarmNames.member',
  200. 'maxItems' => 100,
  201. 'items' => array(
  202. 'name' => 'AlarmName',
  203. 'type' => 'string',
  204. 'minLength' => 1,
  205. 'maxLength' => 255,
  206. ),
  207. ),
  208. 'AlarmNamePrefix' => array(
  209. 'type' => 'string',
  210. 'location' => 'aws.query',
  211. 'minLength' => 1,
  212. 'maxLength' => 255,
  213. ),
  214. 'StateValue' => array(
  215. 'type' => 'string',
  216. 'location' => 'aws.query',
  217. ),
  218. 'ActionPrefix' => array(
  219. 'type' => 'string',
  220. 'location' => 'aws.query',
  221. 'minLength' => 1,
  222. 'maxLength' => 1024,
  223. ),
  224. 'MaxRecords' => array(
  225. 'type' => 'numeric',
  226. 'location' => 'aws.query',
  227. 'minimum' => 1,
  228. 'maximum' => 100,
  229. ),
  230. 'NextToken' => array(
  231. 'type' => 'string',
  232. 'location' => 'aws.query',
  233. ),
  234. ),
  235. 'errorResponses' => array(
  236. array(
  237. 'reason' => 'The next token specified is invalid.',
  238. 'class' => 'InvalidNextTokenException',
  239. ),
  240. ),
  241. ),
  242. 'DescribeAlarmsForMetric' => array(
  243. 'httpMethod' => 'POST',
  244. 'uri' => '/',
  245. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  246. 'responseClass' => 'DescribeAlarmsForMetricOutput',
  247. 'responseType' => 'model',
  248. 'parameters' => array(
  249. 'Action' => array(
  250. 'static' => true,
  251. 'location' => 'aws.query',
  252. 'default' => 'DescribeAlarmsForMetric',
  253. ),
  254. 'Version' => array(
  255. 'static' => true,
  256. 'location' => 'aws.query',
  257. 'default' => '2010-08-01',
  258. ),
  259. 'MetricName' => array(
  260. 'required' => true,
  261. 'type' => 'string',
  262. 'location' => 'aws.query',
  263. 'minLength' => 1,
  264. 'maxLength' => 255,
  265. ),
  266. 'Namespace' => array(
  267. 'required' => true,
  268. 'type' => 'string',
  269. 'location' => 'aws.query',
  270. 'minLength' => 1,
  271. 'maxLength' => 255,
  272. ),
  273. 'Statistic' => array(
  274. 'type' => 'string',
  275. 'location' => 'aws.query',
  276. ),
  277. 'Dimensions' => array(
  278. 'type' => 'array',
  279. 'location' => 'aws.query',
  280. 'sentAs' => 'Dimensions.member',
  281. 'maxItems' => 10,
  282. 'items' => array(
  283. 'name' => 'Dimension',
  284. 'type' => 'object',
  285. 'properties' => array(
  286. 'Name' => array(
  287. 'required' => true,
  288. 'type' => 'string',
  289. 'minLength' => 1,
  290. 'maxLength' => 255,
  291. ),
  292. 'Value' => array(
  293. 'required' => true,
  294. 'type' => 'string',
  295. 'minLength' => 1,
  296. 'maxLength' => 255,
  297. ),
  298. ),
  299. ),
  300. ),
  301. 'Period' => array(
  302. 'type' => 'numeric',
  303. 'location' => 'aws.query',
  304. 'minimum' => 60,
  305. ),
  306. 'Unit' => array(
  307. 'type' => 'string',
  308. 'location' => 'aws.query',
  309. ),
  310. ),
  311. ),
  312. 'DisableAlarmActions' => array(
  313. 'httpMethod' => 'POST',
  314. 'uri' => '/',
  315. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  316. 'responseClass' => 'EmptyOutput',
  317. 'responseType' => 'model',
  318. 'parameters' => array(
  319. 'Action' => array(
  320. 'static' => true,
  321. 'location' => 'aws.query',
  322. 'default' => 'DisableAlarmActions',
  323. ),
  324. 'Version' => array(
  325. 'static' => true,
  326. 'location' => 'aws.query',
  327. 'default' => '2010-08-01',
  328. ),
  329. 'AlarmNames' => array(
  330. 'required' => true,
  331. 'type' => 'array',
  332. 'location' => 'aws.query',
  333. 'sentAs' => 'AlarmNames.member',
  334. 'maxItems' => 100,
  335. 'items' => array(
  336. 'name' => 'AlarmName',
  337. 'type' => 'string',
  338. 'minLength' => 1,
  339. 'maxLength' => 255,
  340. ),
  341. ),
  342. ),
  343. ),
  344. 'EnableAlarmActions' => array(
  345. 'httpMethod' => 'POST',
  346. 'uri' => '/',
  347. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  348. 'responseClass' => 'EmptyOutput',
  349. 'responseType' => 'model',
  350. 'parameters' => array(
  351. 'Action' => array(
  352. 'static' => true,
  353. 'location' => 'aws.query',
  354. 'default' => 'EnableAlarmActions',
  355. ),
  356. 'Version' => array(
  357. 'static' => true,
  358. 'location' => 'aws.query',
  359. 'default' => '2010-08-01',
  360. ),
  361. 'AlarmNames' => array(
  362. 'required' => true,
  363. 'type' => 'array',
  364. 'location' => 'aws.query',
  365. 'sentAs' => 'AlarmNames.member',
  366. 'maxItems' => 100,
  367. 'items' => array(
  368. 'name' => 'AlarmName',
  369. 'type' => 'string',
  370. 'minLength' => 1,
  371. 'maxLength' => 255,
  372. ),
  373. ),
  374. ),
  375. ),
  376. 'GetMetricStatistics' => array(
  377. 'httpMethod' => 'POST',
  378. 'uri' => '/',
  379. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  380. 'responseClass' => 'GetMetricStatisticsOutput',
  381. 'responseType' => 'model',
  382. 'parameters' => array(
  383. 'Action' => array(
  384. 'static' => true,
  385. 'location' => 'aws.query',
  386. 'default' => 'GetMetricStatistics',
  387. ),
  388. 'Version' => array(
  389. 'static' => true,
  390. 'location' => 'aws.query',
  391. 'default' => '2010-08-01',
  392. ),
  393. 'Namespace' => array(
  394. 'required' => true,
  395. 'type' => 'string',
  396. 'location' => 'aws.query',
  397. 'minLength' => 1,
  398. 'maxLength' => 255,
  399. ),
  400. 'MetricName' => array(
  401. 'required' => true,
  402. 'type' => 'string',
  403. 'location' => 'aws.query',
  404. 'minLength' => 1,
  405. 'maxLength' => 255,
  406. ),
  407. 'Dimensions' => array(
  408. 'type' => 'array',
  409. 'location' => 'aws.query',
  410. 'sentAs' => 'Dimensions.member',
  411. 'maxItems' => 10,
  412. 'items' => array(
  413. 'name' => 'Dimension',
  414. 'type' => 'object',
  415. 'properties' => array(
  416. 'Name' => array(
  417. 'required' => true,
  418. 'type' => 'string',
  419. 'minLength' => 1,
  420. 'maxLength' => 255,
  421. ),
  422. 'Value' => array(
  423. 'required' => true,
  424. 'type' => 'string',
  425. 'minLength' => 1,
  426. 'maxLength' => 255,
  427. ),
  428. ),
  429. ),
  430. ),
  431. 'StartTime' => array(
  432. 'required' => true,
  433. 'type' => array(
  434. 'object',
  435. 'string',
  436. 'integer',
  437. ),
  438. 'format' => 'date-time',
  439. 'location' => 'aws.query',
  440. ),
  441. 'EndTime' => array(
  442. 'required' => true,
  443. 'type' => array(
  444. 'object',
  445. 'string',
  446. 'integer',
  447. ),
  448. 'format' => 'date-time',
  449. 'location' => 'aws.query',
  450. ),
  451. 'Period' => array(
  452. 'required' => true,
  453. 'type' => 'numeric',
  454. 'location' => 'aws.query',
  455. 'minimum' => 60,
  456. ),
  457. 'Statistics' => array(
  458. 'required' => true,
  459. 'type' => 'array',
  460. 'location' => 'aws.query',
  461. 'sentAs' => 'Statistics.member',
  462. 'minItems' => 1,
  463. 'maxItems' => 5,
  464. 'items' => array(
  465. 'name' => 'Statistic',
  466. 'type' => 'string',
  467. ),
  468. ),
  469. 'Unit' => array(
  470. 'type' => 'string',
  471. 'location' => 'aws.query',
  472. ),
  473. ),
  474. 'errorResponses' => array(
  475. array(
  476. 'reason' => 'Bad or out-of-range value was supplied for the input parameter.',
  477. 'class' => 'InvalidParameterValueException',
  478. ),
  479. array(
  480. 'reason' => 'An input parameter that is mandatory for processing the request is not supplied.',
  481. 'class' => 'MissingRequiredParameterException',
  482. ),
  483. array(
  484. 'reason' => 'Parameters that must not be used together were used together.',
  485. 'class' => 'InvalidParameterCombinationException',
  486. ),
  487. array(
  488. 'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.',
  489. 'class' => 'InternalServiceException',
  490. ),
  491. ),
  492. ),
  493. 'ListMetrics' => array(
  494. 'httpMethod' => 'POST',
  495. 'uri' => '/',
  496. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  497. 'responseClass' => 'ListMetricsOutput',
  498. 'responseType' => 'model',
  499. 'parameters' => array(
  500. 'Action' => array(
  501. 'static' => true,
  502. 'location' => 'aws.query',
  503. 'default' => 'ListMetrics',
  504. ),
  505. 'Version' => array(
  506. 'static' => true,
  507. 'location' => 'aws.query',
  508. 'default' => '2010-08-01',
  509. ),
  510. 'Namespace' => array(
  511. 'type' => 'string',
  512. 'location' => 'aws.query',
  513. 'minLength' => 1,
  514. 'maxLength' => 255,
  515. ),
  516. 'MetricName' => array(
  517. 'type' => 'string',
  518. 'location' => 'aws.query',
  519. 'minLength' => 1,
  520. 'maxLength' => 255,
  521. ),
  522. 'Dimensions' => array(
  523. 'type' => 'array',
  524. 'location' => 'aws.query',
  525. 'sentAs' => 'Dimensions.member',
  526. 'maxItems' => 10,
  527. 'items' => array(
  528. 'name' => 'DimensionFilter',
  529. 'type' => 'object',
  530. 'properties' => array(
  531. 'Name' => array(
  532. 'required' => true,
  533. 'type' => 'string',
  534. 'minLength' => 1,
  535. 'maxLength' => 255,
  536. ),
  537. 'Value' => array(
  538. 'type' => 'string',
  539. 'minLength' => 1,
  540. 'maxLength' => 255,
  541. ),
  542. ),
  543. ),
  544. ),
  545. 'NextToken' => array(
  546. 'type' => 'string',
  547. 'location' => 'aws.query',
  548. ),
  549. ),
  550. 'errorResponses' => array(
  551. array(
  552. 'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.',
  553. 'class' => 'InternalServiceException',
  554. ),
  555. array(
  556. 'reason' => 'Bad or out-of-range value was supplied for the input parameter.',
  557. 'class' => 'InvalidParameterValueException',
  558. ),
  559. ),
  560. ),
  561. 'PutMetricAlarm' => array(
  562. 'httpMethod' => 'POST',
  563. 'uri' => '/',
  564. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  565. 'responseClass' => 'EmptyOutput',
  566. 'responseType' => 'model',
  567. 'parameters' => array(
  568. 'Action' => array(
  569. 'static' => true,
  570. 'location' => 'aws.query',
  571. 'default' => 'PutMetricAlarm',
  572. ),
  573. 'Version' => array(
  574. 'static' => true,
  575. 'location' => 'aws.query',
  576. 'default' => '2010-08-01',
  577. ),
  578. 'AlarmName' => array(
  579. 'required' => true,
  580. 'type' => 'string',
  581. 'location' => 'aws.query',
  582. 'minLength' => 1,
  583. 'maxLength' => 255,
  584. ),
  585. 'AlarmDescription' => array(
  586. 'type' => 'string',
  587. 'location' => 'aws.query',
  588. 'maxLength' => 255,
  589. ),
  590. 'ActionsEnabled' => array(
  591. 'type' => 'boolean',
  592. 'format' => 'boolean-string',
  593. 'location' => 'aws.query',
  594. ),
  595. 'OKActions' => array(
  596. 'type' => 'array',
  597. 'location' => 'aws.query',
  598. 'sentAs' => 'OKActions.member',
  599. 'maxItems' => 5,
  600. 'items' => array(
  601. 'name' => 'ResourceName',
  602. 'type' => 'string',
  603. 'minLength' => 1,
  604. 'maxLength' => 1024,
  605. ),
  606. ),
  607. 'AlarmActions' => array(
  608. 'type' => 'array',
  609. 'location' => 'aws.query',
  610. 'sentAs' => 'AlarmActions.member',
  611. 'maxItems' => 5,
  612. 'items' => array(
  613. 'name' => 'ResourceName',
  614. 'type' => 'string',
  615. 'minLength' => 1,
  616. 'maxLength' => 1024,
  617. ),
  618. ),
  619. 'InsufficientDataActions' => array(
  620. 'type' => 'array',
  621. 'location' => 'aws.query',
  622. 'sentAs' => 'InsufficientDataActions.member',
  623. 'maxItems' => 5,
  624. 'items' => array(
  625. 'name' => 'ResourceName',
  626. 'type' => 'string',
  627. 'minLength' => 1,
  628. 'maxLength' => 1024,
  629. ),
  630. ),
  631. 'MetricName' => array(
  632. 'required' => true,
  633. 'type' => 'string',
  634. 'location' => 'aws.query',
  635. 'minLength' => 1,
  636. 'maxLength' => 255,
  637. ),
  638. 'Namespace' => array(
  639. 'required' => true,
  640. 'type' => 'string',
  641. 'location' => 'aws.query',
  642. 'minLength' => 1,
  643. 'maxLength' => 255,
  644. ),
  645. 'Statistic' => array(
  646. 'required' => true,
  647. 'type' => 'string',
  648. 'location' => 'aws.query',
  649. ),
  650. 'Dimensions' => array(
  651. 'type' => 'array',
  652. 'location' => 'aws.query',
  653. 'sentAs' => 'Dimensions.member',
  654. 'maxItems' => 10,
  655. 'items' => array(
  656. 'name' => 'Dimension',
  657. 'type' => 'object',
  658. 'properties' => array(
  659. 'Name' => array(
  660. 'required' => true,
  661. 'type' => 'string',
  662. 'minLength' => 1,
  663. 'maxLength' => 255,
  664. ),
  665. 'Value' => array(
  666. 'required' => true,
  667. 'type' => 'string',
  668. 'minLength' => 1,
  669. 'maxLength' => 255,
  670. ),
  671. ),
  672. ),
  673. ),
  674. 'Period' => array(
  675. 'required' => true,
  676. 'type' => 'numeric',
  677. 'location' => 'aws.query',
  678. 'minimum' => 60,
  679. ),
  680. 'Unit' => array(
  681. 'type' => 'string',
  682. 'location' => 'aws.query',
  683. ),
  684. 'EvaluationPeriods' => array(
  685. 'required' => true,
  686. 'type' => 'numeric',
  687. 'location' => 'aws.query',
  688. 'minimum' => 1,
  689. ),
  690. 'Threshold' => array(
  691. 'required' => true,
  692. 'type' => 'numeric',
  693. 'location' => 'aws.query',
  694. ),
  695. 'ComparisonOperator' => array(
  696. 'required' => true,
  697. 'type' => 'string',
  698. 'location' => 'aws.query',
  699. ),
  700. ),
  701. 'errorResponses' => array(
  702. array(
  703. 'reason' => 'The quota for alarms for this customer has already been reached.',
  704. 'class' => 'LimitExceededException',
  705. ),
  706. ),
  707. ),
  708. 'PutMetricData' => array(
  709. 'httpMethod' => 'POST',
  710. 'uri' => '/',
  711. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  712. 'responseClass' => 'EmptyOutput',
  713. 'responseType' => 'model',
  714. 'parameters' => array(
  715. 'Action' => array(
  716. 'static' => true,
  717. 'location' => 'aws.query',
  718. 'default' => 'PutMetricData',
  719. ),
  720. 'Version' => array(
  721. 'static' => true,
  722. 'location' => 'aws.query',
  723. 'default' => '2010-08-01',
  724. ),
  725. 'Namespace' => array(
  726. 'required' => true,
  727. 'type' => 'string',
  728. 'location' => 'aws.query',
  729. 'minLength' => 1,
  730. 'maxLength' => 255,
  731. ),
  732. 'MetricData' => array(
  733. 'required' => true,
  734. 'type' => 'array',
  735. 'location' => 'aws.query',
  736. 'sentAs' => 'MetricData.member',
  737. 'items' => array(
  738. 'name' => 'MetricDatum',
  739. 'type' => 'object',
  740. 'properties' => array(
  741. 'MetricName' => array(
  742. 'required' => true,
  743. 'type' => 'string',
  744. 'minLength' => 1,
  745. 'maxLength' => 255,
  746. ),
  747. 'Dimensions' => array(
  748. 'type' => 'array',
  749. 'sentAs' => 'Dimensions.member',
  750. 'maxItems' => 10,
  751. 'items' => array(
  752. 'name' => 'Dimension',
  753. 'type' => 'object',
  754. 'properties' => array(
  755. 'Name' => array(
  756. 'required' => true,
  757. 'type' => 'string',
  758. 'minLength' => 1,
  759. 'maxLength' => 255,
  760. ),
  761. 'Value' => array(
  762. 'required' => true,
  763. 'type' => 'string',
  764. 'minLength' => 1,
  765. 'maxLength' => 255,
  766. ),
  767. ),
  768. ),
  769. ),
  770. 'Timestamp' => array(
  771. 'type' => array(
  772. 'object',
  773. 'string',
  774. 'integer',
  775. ),
  776. 'format' => 'date-time',
  777. ),
  778. 'Value' => array(
  779. 'type' => 'numeric',
  780. ),
  781. 'StatisticValues' => array(
  782. 'type' => 'object',
  783. 'properties' => array(
  784. 'SampleCount' => array(
  785. 'required' => true,
  786. 'type' => 'numeric',
  787. ),
  788. 'Sum' => array(
  789. 'required' => true,
  790. 'type' => 'numeric',
  791. ),
  792. 'Minimum' => array(
  793. 'required' => true,
  794. 'type' => 'numeric',
  795. ),
  796. 'Maximum' => array(
  797. 'required' => true,
  798. 'type' => 'numeric',
  799. ),
  800. ),
  801. ),
  802. 'Unit' => array(
  803. 'type' => 'string',
  804. ),
  805. ),
  806. ),
  807. ),
  808. ),
  809. 'errorResponses' => array(
  810. array(
  811. 'reason' => 'Bad or out-of-range value was supplied for the input parameter.',
  812. 'class' => 'InvalidParameterValueException',
  813. ),
  814. array(
  815. 'reason' => 'An input parameter that is mandatory for processing the request is not supplied.',
  816. 'class' => 'MissingRequiredParameterException',
  817. ),
  818. array(
  819. 'reason' => 'Parameters that must not be used together were used together.',
  820. 'class' => 'InvalidParameterCombinationException',
  821. ),
  822. array(
  823. 'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.',
  824. 'class' => 'InternalServiceException',
  825. ),
  826. ),
  827. ),
  828. 'SetAlarmState' => array(
  829. 'httpMethod' => 'POST',
  830. 'uri' => '/',
  831. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  832. 'responseClass' => 'EmptyOutput',
  833. 'responseType' => 'model',
  834. 'parameters' => array(
  835. 'Action' => array(
  836. 'static' => true,
  837. 'location' => 'aws.query',
  838. 'default' => 'SetAlarmState',
  839. ),
  840. 'Version' => array(
  841. 'static' => true,
  842. 'location' => 'aws.query',
  843. 'default' => '2010-08-01',
  844. ),
  845. 'AlarmName' => array(
  846. 'required' => true,
  847. 'type' => 'string',
  848. 'location' => 'aws.query',
  849. 'minLength' => 1,
  850. 'maxLength' => 255,
  851. ),
  852. 'StateValue' => array(
  853. 'required' => true,
  854. 'type' => 'string',
  855. 'location' => 'aws.query',
  856. ),
  857. 'StateReason' => array(
  858. 'required' => true,
  859. 'type' => 'string',
  860. 'location' => 'aws.query',
  861. 'maxLength' => 1023,
  862. ),
  863. 'StateReasonData' => array(
  864. 'type' => 'string',
  865. 'location' => 'aws.query',
  866. 'maxLength' => 4000,
  867. ),
  868. ),
  869. 'errorResponses' => array(
  870. array(
  871. 'reason' => 'The named resource does not exist.',
  872. 'class' => 'ResourceNotFoundException',
  873. ),
  874. array(
  875. 'reason' => 'Data was not syntactically valid JSON.',
  876. 'class' => 'InvalidFormatException',
  877. ),
  878. ),
  879. ),
  880. ),
  881. 'models' => array(
  882. 'EmptyOutput' => array(
  883. 'type' => 'object',
  884. 'additionalProperties' => true,
  885. ),
  886. 'DescribeAlarmHistoryOutput' => array(
  887. 'type' => 'object',
  888. 'additionalProperties' => true,
  889. 'properties' => array(
  890. 'AlarmHistoryItems' => array(
  891. 'type' => 'array',
  892. 'location' => 'xml',
  893. 'items' => array(
  894. 'name' => 'AlarmHistoryItem',
  895. 'type' => 'object',
  896. 'sentAs' => 'member',
  897. 'properties' => array(
  898. 'AlarmName' => array(
  899. 'type' => 'string',
  900. ),
  901. 'Timestamp' => array(
  902. 'type' => 'string',
  903. ),
  904. 'HistoryItemType' => array(
  905. 'type' => 'string',
  906. ),
  907. 'HistorySummary' => array(
  908. 'type' => 'string',
  909. ),
  910. 'HistoryData' => array(
  911. 'type' => 'string',
  912. ),
  913. ),
  914. ),
  915. ),
  916. 'NextToken' => array(
  917. 'type' => 'string',
  918. 'location' => 'xml',
  919. ),
  920. ),
  921. ),
  922. 'DescribeAlarmsOutput' => array(
  923. 'type' => 'object',
  924. 'additionalProperties' => true,
  925. 'properties' => array(
  926. 'MetricAlarms' => array(
  927. 'type' => 'array',
  928. 'location' => 'xml',
  929. 'items' => array(
  930. 'name' => 'MetricAlarm',
  931. 'type' => 'object',
  932. 'sentAs' => 'member',
  933. 'properties' => array(
  934. 'AlarmName' => array(
  935. 'type' => 'string',
  936. ),
  937. 'AlarmArn' => array(
  938. 'type' => 'string',
  939. ),
  940. 'AlarmDescription' => array(
  941. 'type' => 'string',
  942. ),
  943. 'AlarmConfigurationUpdatedTimestamp' => array(
  944. 'type' => 'string',
  945. ),
  946. 'ActionsEnabled' => array(
  947. 'type' => 'boolean',
  948. ),
  949. 'OKActions' => array(
  950. 'type' => 'array',
  951. 'items' => array(
  952. 'name' => 'ResourceName',
  953. 'type' => 'string',
  954. 'sentAs' => 'member',
  955. ),
  956. ),
  957. 'AlarmActions' => array(
  958. 'type' => 'array',
  959. 'items' => array(
  960. 'name' => 'ResourceName',
  961. 'type' => 'string',
  962. 'sentAs' => 'member',
  963. ),
  964. ),
  965. 'InsufficientDataActions' => array(
  966. 'type' => 'array',
  967. 'items' => array(
  968. 'name' => 'ResourceName',
  969. 'type' => 'string',
  970. 'sentAs' => 'member',
  971. ),
  972. ),
  973. 'StateValue' => array(
  974. 'type' => 'string',
  975. ),
  976. 'StateReason' => array(
  977. 'type' => 'string',
  978. ),
  979. 'StateReasonData' => array(
  980. 'type' => 'string',
  981. ),
  982. 'StateUpdatedTimestamp' => array(
  983. 'type' => 'string',
  984. ),
  985. 'MetricName' => array(
  986. 'type' => 'string',
  987. ),
  988. 'Namespace' => array(
  989. 'type' => 'string',
  990. ),
  991. 'Statistic' => array(
  992. 'type' => 'string',
  993. ),
  994. 'Dimensions' => array(
  995. 'type' => 'array',
  996. 'items' => array(
  997. 'name' => 'Dimension',
  998. 'type' => 'object',
  999. 'sentAs' => 'member',
  1000. 'properties' => array(
  1001. 'Name' => array(
  1002. 'type' => 'string',
  1003. ),
  1004. 'Value' => array(
  1005. 'type' => 'string',
  1006. ),
  1007. ),
  1008. ),
  1009. ),
  1010. 'Period' => array(
  1011. 'type' => 'numeric',
  1012. ),
  1013. 'Unit' => array(
  1014. 'type' => 'string',
  1015. ),
  1016. 'EvaluationPeriods' => array(
  1017. 'type' => 'numeric',
  1018. ),
  1019. 'Threshold' => array(
  1020. 'type' => 'numeric',
  1021. ),
  1022. 'ComparisonOperator' => array(
  1023. 'type' => 'string',
  1024. ),
  1025. ),
  1026. ),
  1027. ),
  1028. 'NextToken' => array(
  1029. 'type' => 'string',
  1030. 'location' => 'xml',
  1031. ),
  1032. ),
  1033. ),
  1034. 'DescribeAlarmsForMetricOutput' => array(
  1035. 'type' => 'object',
  1036. 'additionalProperties' => true,
  1037. 'properties' => array(
  1038. 'MetricAlarms' => array(
  1039. 'type' => 'array',
  1040. 'location' => 'xml',
  1041. 'items' => array(
  1042. 'name' => 'MetricAlarm',
  1043. 'type' => 'object',
  1044. 'sentAs' => 'member',
  1045. 'properties' => array(
  1046. 'AlarmName' => array(
  1047. 'type' => 'string',
  1048. ),
  1049. 'AlarmArn' => array(
  1050. 'type' => 'string',
  1051. ),
  1052. 'AlarmDescription' => array(
  1053. 'type' => 'string',
  1054. ),
  1055. 'AlarmConfigurationUpdatedTimestamp' => array(
  1056. 'type' => 'string',
  1057. ),
  1058. 'ActionsEnabled' => array(
  1059. 'type' => 'boolean',
  1060. ),
  1061. 'OKActions' => array(
  1062. 'type' => 'array',
  1063. 'items' => array(
  1064. 'name' => 'ResourceName',
  1065. 'type' => 'string',
  1066. 'sentAs' => 'member',
  1067. ),
  1068. ),
  1069. 'AlarmActions' => array(
  1070. 'type' => 'array',
  1071. 'items' => array(
  1072. 'name' => 'ResourceName',
  1073. 'type' => 'string',
  1074. 'sentAs' => 'member',
  1075. ),
  1076. ),
  1077. 'InsufficientDataActions' => array(
  1078. 'type' => 'array',
  1079. 'items' => array(
  1080. 'name' => 'ResourceName',
  1081. 'type' => 'string',
  1082. 'sentAs' => 'member',
  1083. ),
  1084. ),
  1085. 'StateValue' => array(
  1086. 'type' => 'string',
  1087. ),
  1088. 'StateReason' => array(
  1089. 'type' => 'string',
  1090. ),
  1091. 'StateReasonData' => array(
  1092. 'type' => 'string',
  1093. ),
  1094. 'StateUpdatedTimestamp' => array(
  1095. 'type' => 'string',
  1096. ),
  1097. 'MetricName' => array(
  1098. 'type' => 'string',
  1099. ),
  1100. 'Namespace' => array(
  1101. 'type' => 'string',
  1102. ),
  1103. 'Statistic' => array(
  1104. 'type' => 'string',
  1105. ),
  1106. 'Dimensions' => array(
  1107. 'type' => 'array',
  1108. 'items' => array(
  1109. 'name' => 'Dimension',
  1110. 'type' => 'object',
  1111. 'sentAs' => 'member',
  1112. 'properties' => array(
  1113. 'Name' => array(
  1114. 'type' => 'string',
  1115. ),
  1116. 'Value' => array(
  1117. 'type' => 'string',
  1118. ),
  1119. ),
  1120. ),
  1121. ),
  1122. 'Period' => array(
  1123. 'type' => 'numeric',
  1124. ),
  1125. 'Unit' => array(
  1126. 'type' => 'string',
  1127. ),
  1128. 'EvaluationPeriods' => array(
  1129. 'type' => 'numeric',
  1130. ),
  1131. 'Threshold' => array(
  1132. 'type' => 'numeric',
  1133. ),
  1134. 'ComparisonOperator' => array(
  1135. 'type' => 'string',
  1136. ),
  1137. ),
  1138. ),
  1139. ),
  1140. ),
  1141. ),
  1142. 'GetMetricStatisticsOutput' => array(
  1143. 'type' => 'object',
  1144. 'additionalProperties' => true,
  1145. 'properties' => array(
  1146. 'Label' => array(
  1147. 'type' => 'string',
  1148. 'location' => 'xml',
  1149. ),
  1150. 'Datapoints' => array(
  1151. 'type' => 'array',
  1152. 'location' => 'xml',
  1153. 'items' => array(
  1154. 'name' => 'Datapoint',
  1155. 'type' => 'object',
  1156. 'sentAs' => 'member',
  1157. 'properties' => array(
  1158. 'Timestamp' => array(
  1159. 'type' => 'string',
  1160. ),
  1161. 'SampleCount' => array(
  1162. 'type' => 'numeric',
  1163. ),
  1164. 'Average' => array(
  1165. 'type' => 'numeric',
  1166. ),
  1167. 'Sum' => array(
  1168. 'type' => 'numeric',
  1169. ),
  1170. 'Minimum' => array(
  1171. 'type' => 'numeric',
  1172. ),
  1173. 'Maximum' => array(
  1174. 'type' => 'numeric',
  1175. ),
  1176. 'Unit' => array(
  1177. 'type' => 'string',
  1178. ),
  1179. ),
  1180. ),
  1181. ),
  1182. ),
  1183. ),
  1184. 'ListMetricsOutput' => array(
  1185. 'type' => 'object',
  1186. 'additionalProperties' => true,
  1187. 'properties' => array(
  1188. 'Metrics' => array(
  1189. 'type' => 'array',
  1190. 'location' => 'xml',
  1191. 'items' => array(
  1192. 'name' => 'Metric',
  1193. 'type' => 'object',
  1194. 'sentAs' => 'member',
  1195. 'properties' => array(
  1196. 'Namespace' => array(
  1197. 'type' => 'string',
  1198. ),
  1199. 'MetricName' => array(
  1200. 'type' => 'string',
  1201. ),
  1202. 'Dimensions' => array(
  1203. 'type' => 'array',
  1204. 'items' => array(
  1205. 'name' => 'Dimension',
  1206. 'type' => 'object',
  1207. 'sentAs' => 'member',
  1208. 'properties' => array(
  1209. 'Name' => array(
  1210. 'type' => 'string',
  1211. ),
  1212. 'Value' => array(
  1213. 'type' => 'string',
  1214. ),
  1215. ),
  1216. ),
  1217. ),
  1218. ),
  1219. ),
  1220. ),
  1221. 'NextToken' => array(
  1222. 'type' => 'string',
  1223. 'location' => 'xml',
  1224. ),
  1225. ),
  1226. ),
  1227. ),
  1228. 'iterators' => array(
  1229. 'DescribeAlarmHistory' => array(
  1230. 'input_token' => 'NextToken',
  1231. 'output_token' => 'NextToken',
  1232. 'limit_key' => 'MaxRecords',
  1233. 'result_key' => 'AlarmHistoryItems',
  1234. ),
  1235. 'DescribeAlarms' => array(
  1236. 'input_token' => 'NextToken',
  1237. 'output_token' => 'NextToken',
  1238. 'limit_key'