How to use Type class

Best Mockery code snippet using Type

elastictranscoder-2012-09-25.php

Source:elastictranscoder-2012-09-25.php Github

copy

Full Screen

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

Full Screen

Full Screen

Setup.php

Source:Setup.php Github

copy

Full Screen

1<?php2/**3 * Magento4 *5 * NOTICE OF LICENSE6 *7 * This source file is subject to the Open Software License (OSL 3.0)8 * that is bundled with this package in the file LICENSE.txt.9 * It is also available through the world-wide-web at this URL:10 * http://opensource.org/licenses/osl-3.0.php11 * If you did not receive a copy of the license and are unable to12 * obtain it through the world-wide-web, please send an email13 * to license@magento.com so we can send you a copy immediately.14 *15 * DISCLAIMER16 *17 * Do not edit or add to this file if you wish to upgrade Magento to newer18 * versions in the future. If you wish to customize Magento for your19 * needs please refer to http://www.magento.com for more information.20 *21 * @category Mage22 * @package Mage_Sales23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)25 */26class Mage_Sales_Model_Entity_Setup extends Mage_Eav_Model_Entity_Setup27{28 public function getDefaultEntities()29 {30 return array(31 'quote' => array(32 'entity_model' => 'sales/quote',33 'table' => 'sales/quote',34 'attributes' => array(35 'entity_id' => array('type'=>'static'),36 'is_active' => array('type'=>'static'),37 'store_id' => array('type'=>'static'),38 'remote_ip' => array('type'=>'static'),39 'checkout_method' => array('type'=>'static'),40 'password_hash' => array('type'=>'static'),41 'quote_status_id' => array('type'=>'static'),42 'billing_address_id'=> array('type'=>'static'),43 'orig_order_id' => array('type'=>'static'),44 'converted_at' => array('type'=>'static'),45 'reserved_order_id' => array('type'=>'static'),46 'coupon_code' => array('type'=>'static'),47 'global_currency_code' => array('type'=>'static'),48 'base_currency_code' => array('type'=>'static'),49 'store_currency_code' => array('type'=>'static'),50 'quote_currency_code' => array('type'=>'static'),51 'store_to_base_rate' => array('type'=>'static'),52 'store_to_quote_rate' => array('type'=>'static'),53 'base_to_global_rate' => array('type'=>'static'),54 'base_to_quote_rate' => array('type'=>'static'),55 'items_count'=> array('type'=>'static'),56 'items_qty'=> array('type'=>'static'),57 'custbalance_amount'=> array('type'=>'static'),58 'grand_total' => array('type'=>'static'),59 'base_grand_total' => array('type'=>'static'),60 'applied_rule_ids' => array('type'=>'static'),61 'is_virtual' => array('type'=>'static'),62 'is_multi_shipping' => array('type'=>'static'),63 'is_multi_payment' => array('type'=>'static'),64 'customer_id' => array('type'=>'static'),65 'customer_tax_class_id' => array('type'=>'static'),66 'customer_group_id' => array('type'=>'static'),67 'customer_email' => array('type'=>'static'),68 'customer_prefix' => array('type'=>'static'),69 'customer_firstname'=> array('type'=>'static'),70 'customer_middlename'=>array('type'=>'static'),71 'customer_lastname' => array('type'=>'static'),72 'customer_suffix' => array('type'=>'static'),73 'customer_note' => array('type'=>'static'),74 'customer_note_notify' => array('type'=>'static'),75 'customer_is_guest' => array('type'=>'static'),76 ),77 ),78 'quote_item' => array(79 'entity_model' => 'sales/quote_item',80 'table' => 'sales/quote_item',81 'attributes' => array(82 'parent_id' => array('type'=>'static'),83 'product_id' => array('type'=>'static'),84 'super_product_id' => array('type'=>'static'),85 'parent_product_id' => array('type'=>'static'),86 'sku' => array('type'=>'static'),87 'name' => array('type'=>'static'),88 'description' => array('type'=>'static'),89 'weight' => array('type'=>'static'),90 'free_shipping' => array('type'=>'static'),91 'qty' => array('type'=>'static'),92 'is_qty_decimal'=> array('type'=>'static'),93 'price' => array('type'=>'static'),94 'custom_price' => array('type'=>'static'),95 'discount_percent' => array('type'=>'static'),96 'discount_amount' => array('type'=>'static'),97 'no_discount' => array('type'=>'static'),98 'tax_percent' => array('type'=>'static'),99 'tax_amount' => array('type'=>'static'),100 'row_total' => array('type'=>'static'),101 'row_total_with_discount' => array('type'=>'static'),102 'base_price' => array('type'=>'static'),103 'base_discount_amount' => array('type'=>'static'),104 'base_tax_amount' => array('type'=>'static'),105 'base_row_total' => array('type'=>'static'),106 'row_weight' => array('type'=>'static'),107 'applied_rule_ids' => array('type'=>'static'),108 'additional_data' => array('type'=>'static'),109 'tax_string' => array('type'=>'text'),110 ),111 ),112 'quote_address' => array(113 'entity_model' => 'sales/quote_address',114 'table' => 'sales/quote_address',115 'attributes' => array(116 'entity_id' => array('type'=>'static'),117 'parent_id' => array('type'=>'static'),118 'address_type' => array('type'=>'static'),119 'customer_id' => array('type'=>'static'),120 'customer_address_id' => array('type'=>'static'),121 'save_in_address_book' => array('type'=>'static'),122 'email' => array('type'=>'static'),123 'prefix' => array('type'=>'static'),124 'firstname' => array('type'=>'static'),125 'middlename'=> array('type'=>'static'),126 'lastname' => array('type'=>'static'),127 'suffix' => array('type'=>'static'),128 'company' => array('type'=>'static'),129 'street' => array('type'=>'static'),130 'city' => array('type'=>'static'),131 'region' => array('type'=>'static'),132 'region_id' => array('type'=>'static'),133 'postcode' => array('type'=>'static'),134 'country_id'=> array('type'=>'static'),135 'telephone' => array('type'=>'static'),136 'fax' => array('type'=>'static'),137 'same_as_billing' => array('type'=>'static'),138 'free_shipping' => array('type'=>'static'),139 'weight' => array('type'=>'static'),140 'collect_shipping_rates' => array('type'=>'static'),141 'shipping_method' => array('type'=>'static'),142 'shipping_description' => array('type'=>'static'),143 'subtotal' => array('type'=>'static'),144 'subtotal_with_discount' => array('type'=>'static'),145 'tax_amount' => array('type'=>'static'),146 'shipping_amount' => array('type'=>'static'),147 'discount_amount' => array('type'=>'static'),148 'custbalance_amount'=> array('type'=>'static'),149 'grand_total' => array('type'=>'static'),150 'base_subtotal' => array('type'=>'static'),151 'base_subtotal_with_discount' => array('type'=>'static'),152 'base_tax_amount' => array('type'=>'static'),153 'base_shipping_amount' => array('type'=>'static'),154 'base_discount_amount' => array('type'=>'static'),155 'base_custbalance_amount' => array('type'=>'static'),156 'base_grand_total' => array('type'=>'static'),157 'customer_notes' => array('type'=>'static'),158 'tax_string' => array('type'=>'text'),159 ),160 ),161 'quote_address_item' => array(162 'entity_model' => 'sales/quote_address_item',163 'table' =>'sales/quote_entity',164 'attributes' => array(165 'parent_id' => array('type'=>'static'),166 'quote_item_id' => array('type'=>'int'),167 'product_id' => array('type'=>'int'),168 'super_product_id' => array('type'=>'int'),169 'parent_product_id' => array('type'=>'int'),170 'sku' => array(),171 'image' => array(),172 'name' => array(),173 'description' => array('type'=>'text'),174 'weight' => array('type'=>'decimal'),175 'free_shipping' => array('type'=>'int'),176 'qty' => array('type'=>'decimal'),177 'is_qty_decimal'=> array('type'=>'int'),178 'price' => array('type'=>'decimal'),179 'discount_percent' => array('type'=>'decimal'),180 'discount_amount' => array('type'=>'decimal'),181 'no_discount' => array('type'=>'int'),182 'tax_percent' => array('type'=>'decimal'),183 'tax_amount' => array('type'=>'decimal'),184 'row_total' => array('type'=>'decimal'),185 'row_total_with_discount' => array('type'=>'decimal'),186 'base_price' => array('type'=>'decimal'),187 'base_discount_amount' => array('type'=>'decimal'),188 'base_tax_amount' => array('type'=>'decimal'),189 'base_row_total' => array('type'=>'decimal'),190 'row_weight' => array('type'=>'decimal'),191 'applied_rule_ids' => array(),192 'additional_data' => array('type'=>'text'),193 ),194 ),195 'quote_address_rate' => array(196 'entity_model' => 'sales/quote_address_rate',197 'table' => 'sales/quote_entity',198 'attributes' => array(199 'parent_id' => array('type'=>'static'),200 'code' => array(),201 'carrier' => array(),202 'carrier_title' => array(),203 'method' => array(),204 'method_description' => array('type'=>'text'),205 'price' => array('type'=>'decimal'),206 'error_message' => array('type'=>'text'),207 ),208 ),209 'quote_payment' => array(210 'entity_model' => 'sales/quote_payment',211 'table' =>'sales/quote_entity',212 'attributes' => array(213 'parent_id' => array('type'=>'static'),214 'method' => array(),215 'additional_data' => array('type'=>'text'),216 'po_number' => array(),217 'cc_type' => array(),218 'cc_number_enc' => array(),219 'cc_last4' => array(),220 'cc_owner' => array(),221 'cc_exp_month' => array('type'=>'int'),222 'cc_exp_year' => array('type'=>'int'),223 'cc_cid_enc' => array(),224 'cc_ss_issue' => array(),225 'cc_ss_start_month' => array('type'=>'int'),226 'cc_ss_start_year' => array('type'=>'int'),227 ),228 ),229 'order' => array(230 'entity_model' => 'sales/order',231 'table'=>'sales/order',232 'increment_model'=>'eav/entity_increment_numeric',233 'increment_per_store'=>true,234 'backend_prefix'=>'sales_entity/order_attribute_backend',235 'attributes' => array(236 'entity_id' => array(237 'type'=>'static',238 'backend'=>'sales_entity/order_attribute_backend_parent'239 ),240 'store_id' => array('type'=>'static'),241 'store_name' => array('type'=>'varchar'),242 'remote_ip' => array(),243 'status' => array('type'=>'varchar'),244 'state' => array('type'=>'varchar'),245 'hold_before_status' => array('type'=>'varchar'),246 'hold_before_state' => array('type'=>'varchar'),247 'relation_parent_id' => array('type'=>'varchar'),248 'relation_parent_real_id' => array('type'=>'varchar'),249 'relation_child_id' => array('type'=>'varchar'),250 'relation_child_real_id' => array('type'=>'varchar'),251 'original_increment_id' => array('type'=>'varchar'),252 'edit_increment' => array('type'=>'int'),253 'ext_order_id' => array('type'=>'varchar'),254 'ext_customer_id' => array('type'=>'varchar'),255 'quote_id' => array('type'=>'int'),256 'quote_address_id' => array('type'=>'int'),257 'billing_address_id' => array('type'=>'int', 'backend'=>'_billing'),258 'shipping_address_id' => array('type'=>'int', 'backend'=>'_shipping'),259 'coupon_code' => array(),260 'applied_rule_ids' => array(),261 'global_currency_code' => array(),262 'base_currency_code' => array(),263 'store_currency_code' => array(),264 'order_currency_code' => array(),265 'store_to_base_rate' => array('type'=>'decimal'),266 'store_to_order_rate' => array('type'=>'decimal'),267 'base_to_global_rate' => array('type'=>'decimal'),268 'base_to_order_rate' => array('type'=>'decimal'),269 'is_virtual' => array('type'=>'int'),270 'is_multi_payment' => array('type'=>'int'),271 'shipping_method' => array(),272 'shipping_description' => array(),273 'weight' => array('type'=>'decimal'),274 'tax_amount' => array('type'=>'static'),275 'shipping_amount' => array('type'=>'static'),276 'discount_amount' => array('type'=>'static'),277 'custbalance_amount'=> array('type'=>'decimal'),278 'subtotal' => array('type'=>'static'),279 'grand_total' => array('type'=>'static'),280 'total_paid' => array('type'=>'static'),281 'total_due' => array('type'=>'decimal'),282 'total_refunded' => array('type'=>'static'),283 'total_qty_ordered' => array('type'=>'static'),284 'total_canceled' => array('type'=>'static'),285 'total_invoiced' => array('type'=>'static'),286 'total_online_refunded' => array('type'=>'static'),287 'total_offline_refunded'=> array('type'=>'static'),288 'adjustment_positive' => array('type'=>'decimal'),289 'adjustment_negative' => array('type'=>'decimal'),290 'base_tax_amount' => array('type'=>'static'),291 'base_shipping_amount' => array('type'=>'static'),292 'base_discount_amount' => array('type'=>'static'),293 'base_custbalance_amount'=> array('type'=>'decimal'),294 'base_subtotal' => array('type'=>'static'),295 'base_grand_total' => array('type'=>'static'),296 'base_total_paid' => array('type'=>'static'),297 'base_total_due' => array('type'=>'decimal'),298 'base_total_refunded' => array('type'=>'static'),299 'base_total_qty_ordered' => array('type'=>'static'),300 'base_total_canceled' => array('type'=>'static'),301 'base_total_invoiced' => array('type'=>'static'),302 'base_total_online_refunded' => array('type'=>'static'),303 'base_total_offline_refunded'=> array('type'=>'static'),304 'base_adjustment_positive' => array('type'=>'decimal'),305 'base_adjustment_negative' => array('type'=>'decimal'),306 'subtotal_refunded' => array('type'=>'static'),307 'subtotal_canceled' => array('type'=>'static'),308 'discount_refunded' => array('type'=>'static'),309 'discount_canceled' => array('type'=>'static'),310 'discount_invoiced' => array('type'=>'static'),311 'subtotal_invoiced' => array('type'=>'static'),312 'tax_refunded' => array('type'=>'static'),313 'tax_canceled' => array('type'=>'static'),314 'tax_invoiced' => array('type'=>'static'),315 'shipping_refunded' => array('type'=>'static'),316 'shipping_canceled' => array('type'=>'static'),317 'shipping_invoiced' => array('type'=>'static'),318 'base_subtotal_refunded' => array('type'=>'static'),319 'base_subtotal_canceled' => array('type'=>'static'),320 'base_discount_refunded' => array('type'=>'static'),321 'base_discount_canceled' => array('type'=>'static'),322 'base_discount_invoiced' => array('type'=>'static'),323 'base_subtotal_invoiced' => array('type'=>'static'),324 'base_tax_refunded' => array('type'=>'static'),325 'base_tax_canceled' => array('type'=>'static'),326 'base_tax_invoiced' => array('type'=>'static'),327 'base_shipping_refunded' => array('type'=>'static'),328 'base_shipping_canceled' => array('type'=>'static'),329 'base_shipping_invoiced' => array('type'=>'static'),330 'customer_id' => array('type'=>'static', 'visible'=>false),331 'customer_group_id' => array('type'=>'int', 'visible'=>false),332 'customer_email' => array('type'=>'varchar', 'visible'=>false),333 'customer_prefix' => array('type'=>'varchar', 'visible'=>false),334 'customer_firstname'=> array('type'=>'varchar', 'visible'=>false),335 'customer_middlename' => array('type'=>'varchar', 'visible'=>false),336 'customer_lastname' => array('type'=>'varchar', 'visible'=>false),337 'customer_suffix' => array('type'=>'varchar', 'visible'=>false),338 'customer_note' => array('type'=>'text', 'visible'=>false),339 'customer_note_notify' => array('type'=>'int', 'visible'=>false),340 'customer_is_guest' => array('type'=>'int', 'visible'=>false),341 'email_sent' => array('type'=>'int', 'visible'=>false),342 ),343 ),344 'order_address' => array(345 'entity_model' => 'sales/order_address',346 'table'=>'sales/order_entity',347 'attributes' => array(348 'parent_id' => array('type'=>'static', 'backend'=>'sales_entity/order_attribute_backend_child'),349 'quote_address_id' => array('type'=>'int'),350 'address_type' => array(),351 'customer_id' => array('type'=>'int'),352 'customer_address_id' => array('type'=>'int'),353 'email' => array(),354 'prefix' => array(),355 'firstname' => array(),356 'middlename'=> array(),357 'lastname' => array(),358 'suffix' => array(),359 'company' => array(),360 'street' => array(),361 'city' => array(),362 'region' => array(),363 'region_id' => array('type'=>'int'),364 'postcode' => array(),365 'country_id'=> array('type'=>'varchar'),366 'telephone' => array(),367 'fax' => array(),368 'tax_string' => array('type'=>'text'),369 ),370 ),371 'order_item' => array(372 'entity_model' => 'sales/order_item',373 'table'=>'sales/order_entity',374 'attributes' => array(375 'parent_id' => array(376 'type'=>'static',377 'backend'=>'sales_entity/order_attribute_backend_child'378 ),379 'quote_item_id' => array('type'=>'int'),380 'product_id' => array('type'=>'int'),381 'super_product_id' => array('type'=>'int'),382 'parent_product_id' => array('type'=>'int'),383 'sku' => array(),384 'name' => array(),385 'description' => array('type'=>'text'),386 'weight' => array('type'=>'decimal'),387 'is_qty_decimal' => array('type'=>'int'),388 'qty_ordered' => array('type'=>'decimal'),389 'qty_backordered' => array('type'=>'decimal'),390 'qty_invoiced' => array('type'=>'decimal'),391 'qty_canceled' => array('type'=>'decimal'),392 'qty_shipped' => array('type'=>'decimal'),393 'qty_refunded' => array('type'=>'decimal'),394 'original_price' => array('type'=>'decimal'),395 'price' => array('type'=>'decimal'),396 'cost' => array('type'=>'decimal'),397 'is_nominal' => array('type'=>'int'),398 'discount_percent' => array('type'=>'decimal'),399 'discount_amount' => array('type'=>'decimal'),400 'discount_invoiced' => array('type'=>'decimal'),401 'tax_percent' => array('type'=>'decimal'),402 'tax_amount' => array('type'=>'decimal'),403 'tax_invoiced' => array('type'=>'decimal'),404 'tax_string' => array('type'=>'text'),405 'row_total' => array('type'=>'decimal'),406 'row_weight' => array('type'=>'decimal'),407 'row_invoiced' => array('type'=>'decimal'),408 'invoiced_total' => array('type'=>'decimal'),409 'amount_refunded' => array('type'=>'decimal'),410 'base_price' => array('type'=>'decimal'),411 'base_original_price' => array('type'=>'decimal'),412 'base_discount_amount' => array('type'=>'decimal'),413 'base_discount_invoiced' => array('type'=>'decimal'),414 'base_tax_amount' => array('type'=>'decimal'),415 'base_tax_invoiced' => array('type'=>'decimal'),416 'base_row_total' => array('type'=>'decimal'),417 'base_row_invoiced' => array('type'=>'decimal'),418 'base_invoiced_total' => array('type'=>'decimal'),419 'base_amount_refunded' => array('type'=>'decimal'),420 'applied_rule_ids' => array(),421 'additional_data' => array('type'=>'text'),422 ),423 ),424 'order_payment' => array(425 'entity_model' => 'sales/order_payment',426 'table'=>'sales/order_entity',427 'attributes' => array(428 'parent_id' => array(429 'type'=>'static',430 'backend'=>'sales_entity/order_attribute_backend_child'431 ),432 'quote_payment_id' => array('type'=>'int'),433 'method' => array(),434 'additional_data' => array('type'=>'text'),435 'last_trans_id' => array(),436 'po_number' => array(),437 'cc_type' => array(),438 'cc_number_enc' => array(),439 'cc_last4' => array(),440 'cc_owner' => array(),441 'cc_exp_month' => array(),442 'cc_exp_year' => array(),443 'cc_ss_issue' => array(),444 'cc_ss_start_month' => array(),445 'cc_ss_start_year' => array(),446 'cc_status' => array(),447 'cc_status_description' => array(),448 'cc_trans_id' => array(),449 'cc_approval' => array(),450 'cc_avs_status' => array(),451 'cc_cid_status' => array(),452 'cc_debug_request_body' => array(),453 'cc_debug_response_body'=> array(),454 'cc_debug_response_serialized' => array(),455 'anet_trans_method' => array(),456 'echeck_routing_number' => array(),457 'echeck_bank_name' => array(),458 'echeck_account_type' => array(),459 'echeck_account_name' => array(),460 'echeck_type' => array(),461 'amount_ordered' => array('type'=>'decimal'),462 'amount_authorized' => array('type'=>'decimal'),463 'amount_paid' => array('type'=>'decimal'),464 'amount_canceled' => array('type'=>'decimal'),465 'amount_refunded' => array('type'=>'decimal'),466 'shipping_amount' => array('type'=>'decimal'),467 'shipping_captured' => array('type'=>'decimal'),468 'shipping_refunded' => array('type'=>'decimal'),469 'base_amount_ordered' => array('type'=>'decimal'),470 'base_amount_authorized' => array('type'=>'decimal'),471 'base_amount_paid' => array('type'=>'decimal'),472 'base_amount_canceled' => array('type'=>'decimal'),473 'base_amount_refunded' => array('type'=>'decimal'),474 'base_shipping_amount' => array('type'=>'decimal'),475 'base_shipping_captured' => array('type'=>'decimal'),476 'base_shipping_refunded' => array('type'=>'decimal'),477 ),478 ),479 'order_status_history' => array(480 'entity_model' => 'sales/order_status_history',481 'table'=>'sales/order_entity',482 'attributes' => array(483 'parent_id' => array(484 'type'=>'static',485 'backend'=>'sales_entity/order_attribute_backend_child'486 ),487 'status' => array('type'=>'varchar'),488 'comment' => array('type'=>'text'),489 'is_customer_notified' => array('type'=>'int'),490 ),491 ),492 'invoice' => array(493 'entity_model' => 'sales/order_invoice',494 'table' =>'sales/order_entity',495 'increment_model' =>'eav/entity_increment_numeric',496 'increment_per_store'=>true,497 'backend_prefix' =>'sales_entity/order_attribute_backend',498 'attributes' => array(499 'entity_id' => array(500 'type'=>'static',501 'backend'=>'sales_entity/order_invoice_attribute_backend_parent'502 ),503 'state' => array('type'=>'int'),504 'is_used_for_refund' => array('type'=>'int'),505 'transaction_id' => array(),506 'order_id' => array(507 'type'=>'int',508 'backend'=>'sales_entity/order_invoice_attribute_backend_order'509 ),510 'billing_address_id' => array('type'=>'int'),511 'shipping_address_id' => array('type'=>'int'),512 'global_currency_code' => array(),513 'base_currency_code' => array(),514 'store_currency_code' => array(),515 'order_currency_code' => array(),516 'store_to_base_rate' => array('type'=>'decimal'),517 'store_to_order_rate' => array('type'=>'decimal'),518 'base_to_global_rate' => array('type'=>'decimal'),519 'base_to_order_rate' => array('type'=>'decimal'),520 'subtotal' => array('type'=>'decimal'),521 'discount_amount' => array('type'=>'decimal'),522 'tax_amount' => array('type'=>'decimal'),523 'shipping_amount' => array('type'=>'decimal'),524 'grand_total' => array('type'=>'decimal'),525 'total_qty' => array('type'=>'decimal'),526 'can_void_flag' => array('type'=>'int'),527 'base_subtotal' => array('type'=>'decimal'),528 'base_discount_amount' => array('type'=>'decimal'),529 'base_tax_amount' => array('type'=>'decimal'),530 'base_shipping_amount' => array('type'=>'decimal'),531 'base_grand_total' => array('type'=>'decimal'),532 'email_sent' => array('type'=>'int'),533 ),534 ),535 'invoice_item' => array(536 'entity_model' => 'sales/order_invoice_item',537 //'table'=>'sales/invoice',538 'table'=>'sales/order_entity',539 'attributes' => array(540 'parent_id' => array(541 'type'=>'static',542 'backend'=>'sales_entity/order_invoice_attribute_backend_child'543 ),544 'order_item_id' => array('type'=>'int'),545 'product_id' => array('type'=>'int'),546 'name' => array(),547 'description' => array('type'=>'text'),548 'sku' => array(),549 'qty' => array('type'=>'decimal'),550 'cost' => array('type'=>'decimal'),551 'price' => array('type'=>'decimal'),552 'discount_amount' => array('type'=>'decimal'),553 'tax_amount' => array('type'=>'decimal'),554 'row_total' => array('type'=>'decimal'),555 'base_price' => array('type'=>'decimal'),556 'base_discount_amount' => array('type'=>'decimal'),557 'base_tax_amount' => array('type'=>'decimal'),558 'base_row_total' => array('type'=>'decimal'),559 'additional_data' => array('type'=>'text'),560 ),561 ),562 'invoice_comment' => array(563 'entity_model' => 'sales/order_invoice_comment',564 'table'=>'sales/order_entity',565 'attributes' => array(566 'parent_id' => array(567 'type'=>'static',568 'backend'=>'sales_entity/order_invoice_attribute_backend_child'569 ),570 'comment' => array('type'=>'text'),571 'is_customer_notified' => array('type'=>'int'),572 ),573 ),574 'shipment' => array(575 'entity_model' => 'sales/order_shipment',576 //'table'=>'sales/shipment',577 'table'=>'sales/order_entity',578 'increment_model'=>'eav/entity_increment_numeric',579 'increment_per_store'=>true,580 'backend_prefix'=>'sales_entity/order_attribute_backend',581 'attributes' => array(582 'entity_id' => array(583 'type'=>'static',584 'backend'=>'sales_entity/order_shipment_attribute_backend_parent'585 ),586 'customer_id' => array('type'=>'int'),587 'order_id' => array('type'=>'int'),588 'shipment_status' => array('type'=>'int'),589 'billing_address_id' => array('type'=>'int'),590 'shipping_address_id' => array('type'=>'int'),591 'total_qty' => array('type'=>'decimal'),592 'total_weight' => array('type'=>'decimal'),593 'email_sent' => array('type'=>'int'),594 ),595 ),596 'shipment_item' => array(597 'entity_model' => 'sales/order_shipment_item',598 //'table'=>'sales/shipment',599 'table'=>'sales/order_entity',600 'attributes' => array(601 'parent_id' => array(602 'type'=>'static',603 'backend'=>'sales_entity/order_shipment_attribute_backend_child'604 ),605 'order_item_id' => array('type'=>'int'),606 'product_id' => array('type'=>'int'),607 'name' => array(),608 'description' => array('type'=>'text'),609 'sku' => array(),610 'qty' => array('type'=>'decimal'),611 'price' => array('type'=>'decimal'),612 'weight' => array('type'=>'decimal'),613 'row_total' => array('type'=>'decimal'),614 'additional_data' => array('type'=>'text'),615 ),616 ),617 'shipment_comment' => array(618 'entity_model' => 'sales/order_shipment_comment',619 'table'=>'sales/order_entity',620 'attributes' => array(621 'parent_id' => array(622 'type'=>'static',623 'backend'=>'sales_entity/order_shipment_attribute_backend_child'624 ),625 'comment' => array('type'=>'text'),626 'is_customer_notified' => array('type'=>'int'),627 ),628 ),629 'shipment_track' => array(630 'entity_model' => 'sales/order_shipment_track',631 'table'=>'sales/order_entity',632 'attributes' => array(633 'parent_id' => array(634 'type'=>'static',635 'backend'=>'sales_entity/order_shipment_attribute_backend_child'636 ),637 'order_id' => array('type'=>'int'),638 'number' => array('type'=>'text'),639 'carrier_code' => array('type'=>'varchar'),640 'title' => array('type'=>'varchar'),641 'description' => array('type'=>'text'),642 'qty' => array('type'=>'decimal'),643 'weight' => array('type'=>'decimal'),644 ),645 ),646 'creditmemo' => array(647 'entity_model' => 'sales/order_creditmemo',648 //'table'=>'sales/creditmemo',649 'table'=>'sales/order_entity',650 'increment_model'=>'eav/entity_increment_numeric',651 'increment_per_store'=>true,652 'backend_prefix'=>'sales_entity/order_attribute_backend',653 'attributes' => array(654 'entity_id' => array(655 'type'=>'static',656 'backend'=>'sales_entity/order_creditmemo_attribute_backend_parent'657 ),658 'state' => array('type'=>'int'),659 'invoice_id' => array('type'=>'int'),660 'transaction_id'=> array(),661 'order_id' => array('type'=>'int'),662 'creditmemo_status' => array('type'=>'int'),663 'billing_address_id' => array('type'=>'int'),664 'shipping_address_id' => array('type'=>'int'),665 'global_currency_code' => array(),666 'base_currency_code' => array(),667 'store_currency_code' => array(),668 'order_currency_code' => array(),669 'store_to_base_rate' => array('type'=>'decimal'),670 'store_to_order_rate' => array('type'=>'decimal'),671 'base_to_global_rate' => array('type'=>'decimal'),672 'base_to_order_rate' => array('type'=>'decimal'),673 'subtotal' => array('type'=>'decimal'),674 'discount_amount' => array('type'=>'decimal'),675 'tax_amount' => array('type'=>'decimal'),676 'shipping_amount' => array('type'=>'decimal'),677 'adjustment' => array('type'=>'decimal'),678 'adjustment_positive' => array('type'=>'decimal'),679 'adjustment_negative' => array('type'=>'decimal'),680 'grand_total' => array('type'=>'decimal'),681 'base_subtotal' => array('type'=>'decimal'),682 'base_discount_amount' => array('type'=>'decimal'),683 'base_tax_amount' => array('type'=>'decimal'),684 'base_shipping_amount' => array('type'=>'decimal'),685 'base_adjustment' => array('type'=>'decimal'),686 'base_adjustment_positive' => array('type'=>'decimal'),687 'base_adjustment_negative' => array('type'=>'decimal'),688 'base_grand_total' => array('type'=>'decimal'),689 'email_sent' => array('type'=>'int'),690 ),691 ),692 'creditmemo_item' => array(693 'entity_model' => 'sales/order_creditmemo_item',694 //'table'=>'sales/creditmemo',695 'table'=>'sales/order_entity',696 'attributes' => array(697 'parent_id' => array(698 'type'=>'static',699 'backend'=>'sales_entity/order_creditmemo_attribute_backend_child'700 ),701 'order_item_id' => array('type'=>'int'),702 'product_id' => array('type'=>'int'),703 'name' => array(),704 'description' => array('type'=>'text'),705 'sku' => array(),706 'qty' => array('type'=>'decimal'),707 'cost' => array('type'=>'decimal'),708 'price' => array('type'=>'decimal'),709 'discount_amount' => array('type'=>'decimal'),710 'tax_amount' => array('type'=>'decimal'),711 'row_total' => array('type'=>'decimal'),712 'base_price' => array('type'=>'decimal'),713 'base_discount_amount' => array('type'=>'decimal'),714 'base_tax_amount' => array('type'=>'decimal'),715 'base_row_total' => array('type'=>'decimal'),716 'additional_data' => array('type'=>'text'),717 ),718 ),719 'creditmemo_comment' => array(720 'entity_model' => 'sales/order_creditmemo_comment',721 'table'=>'sales/order_entity',722 'attributes' => array(723 'parent_id' => array(724 'type'=>'static',725 'backend'=>'sales_entity/order_creditmemo_attribute_backend_child'726 ),727 'comment' => array('type'=>'text'),728 'is_customer_notified' => array('type'=>'int'),729 ),730 ),731 );732 }733}...

Full Screen

Full Screen

PhpDocExtractorTest.php

Source:PhpDocExtractorTest.php Github

copy

Full Screen

...9 */10namespace Symfony\Component\PropertyInfo\Tests\PhpDocExtractor;11use PHPUnit\Framework\TestCase;12use Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor;13use Symfony\Component\PropertyInfo\Type;14/**15 * @author Kévin Dunglas <dunglas@gmail.com>16 */17class PhpDocExtractorTest extends TestCase18{19 /**20 * @var PhpDocExtractor21 */22 private $extractor;23 protected function setUp()24 {25 $this->extractor = new PhpDocExtractor();26 }27 /**28 * @dataProvider typesProvider29 */30 public function testExtract($property, array $type = null, $shortDescription, $longDescription)31 {32 $this->assertEquals($type, $this->extractor->getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));33 $this->assertSame($shortDescription, $this->extractor->getShortDescription('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));34 $this->assertSame($longDescription, $this->extractor->getLongDescription('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));35 }36 public function testParamTagTypeIsOmitted()37 {38 $this->assertNull($this->extractor->getTypes(OmittedParamTagTypeDocBlock::class, 'omittedType'));39 }40 /**41 * @dataProvider typesWithCustomPrefixesProvider42 */43 public function testExtractTypesWithCustomPrefixes($property, array $type = null)44 {45 $customExtractor = new PhpDocExtractor(null, ['add', 'remove'], ['is', 'can']);46 $this->assertEquals($type, $customExtractor->getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));47 }48 /**49 * @dataProvider typesWithNoPrefixesProvider50 */51 public function testExtractTypesWithNoPrefixes($property, array $type = null)52 {53 $noPrefixExtractor = new PhpDocExtractor(null, [], [], []);54 $this->assertEquals($type, $noPrefixExtractor->getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));55 }56 public function typesProvider()57 {58 return [59 ['foo', null, 'Short description.', 'Long description.'],60 ['bar', [new Type(Type::BUILTIN_TYPE_STRING)], 'This is bar', null],61 ['baz', [new Type(Type::BUILTIN_TYPE_INT)], 'Should be used.', null],62 ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)], null, null],63 ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)], null, null],64 ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)], null, null],65 ['foo5', null, null, null],66 [67 'files',68 [69 new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')),70 new Type(Type::BUILTIN_TYPE_RESOURCE),71 ],72 null,73 null,74 ],75 ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime')], null, null],76 ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')], null, null],77 ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime'))], null, null],78 ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))], null, null],79 ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, null, null)], null, null],80 ['a', [new Type(Type::BUILTIN_TYPE_INT)], 'A.', null],81 ['b', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')], 'B.', null],82 ['c', [new Type(Type::BUILTIN_TYPE_BOOL, true)], null, null],83 ['d', [new Type(Type::BUILTIN_TYPE_BOOL)], null, null],84 ['e', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_RESOURCE))], null, null],85 ['f', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime'))], null, null],86 ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)], 'Nullable array.', null],87 ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)], null, null],88 ['i', [new Type(Type::BUILTIN_TYPE_STRING, true), new Type(Type::BUILTIN_TYPE_INT, true)], null, null],89 ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTime')], null, null],90 ['donotexist', null, null, null],91 ['staticGetter', null, null, null],92 ['staticSetter', null, null, null],93 ['emptyVar', null, null, null],94 ];95 }96 public function typesWithCustomPrefixesProvider()97 {98 return [99 ['foo', null, 'Short description.', 'Long description.'],100 ['bar', [new Type(Type::BUILTIN_TYPE_STRING)], 'This is bar', null],101 ['baz', [new Type(Type::BUILTIN_TYPE_INT)], 'Should be used.', null],102 ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)], null, null],103 ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)], null, null],104 ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)], null, null],105 ['foo5', null, null, null],106 [107 'files',108 [109 new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')),110 new Type(Type::BUILTIN_TYPE_RESOURCE),111 ],112 null,113 null,114 ],115 ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime')], null, null],116 ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')], null, null],117 ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime'))], null, null],118 ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))], null, null],119 ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, null, null)], null, null],120 ['a', null, 'A.', null],121 ['b', null, 'B.', null],122 ['c', [new Type(Type::BUILTIN_TYPE_BOOL, true)], null, null],123 ['d', [new Type(Type::BUILTIN_TYPE_BOOL)], null, null],124 ['e', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_RESOURCE))], null, null],125 ['f', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime'))], null, null],126 ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)], 'Nullable array.', null],127 ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)], null, null],128 ['i', [new Type(Type::BUILTIN_TYPE_STRING, true), new Type(Type::BUILTIN_TYPE_INT, true)], null, null],129 ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTime')], null, null],130 ['donotexist', null, null, null],131 ['staticGetter', null, null, null],132 ['staticSetter', null, null, null],133 ];134 }135 public function typesWithNoPrefixesProvider()136 {137 return [138 ['foo', null, 'Short description.', 'Long description.'],139 ['bar', [new Type(Type::BUILTIN_TYPE_STRING)], 'This is bar', null],140 ['baz', [new Type(Type::BUILTIN_TYPE_INT)], 'Should be used.', null],141 ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)], null, null],142 ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)], null, null],143 ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)], null, null],144 ['foo5', null, null, null],145 [146 'files',147 [148 new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')),149 new Type(Type::BUILTIN_TYPE_RESOURCE),150 ],151 null,152 null,153 ],154 ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime')], null, null],155 ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')], null, null],156 ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime'))], null, null],157 ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))], null, null],158 ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, null, null)], null, null],159 ['a', null, 'A.', null],160 ['b', null, 'B.', null],161 ['c', null, null, null],162 ['d', null, null, null],163 ['e', null, null, null],164 ['f', null, null, null],165 ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)], 'Nullable array.', null],166 ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)], null, null],167 ['i', [new Type(Type::BUILTIN_TYPE_STRING, true), new Type(Type::BUILTIN_TYPE_INT, true)], null, null],168 ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTime')], null, null],169 ['donotexist', null, null, null],170 ['staticGetter', null, null, null],171 ['staticSetter', null, null, null],172 ];173 }174 public function testReturnNullOnEmptyDocBlock()175 {176 $this->assertNull($this->extractor->getShortDescription(EmptyDocBlock::class, 'foo'));177 }178 public function dockBlockFallbackTypesProvider()179 {180 return [181 'pub' => [182 'pub', [new Type(Type::BUILTIN_TYPE_STRING)],183 ],184 'protAcc' => [185 'protAcc', [new Type(Type::BUILTIN_TYPE_INT)],186 ],187 'protMut' => [188 'protMut', [new Type(Type::BUILTIN_TYPE_BOOL)],189 ],190 ];191 }192 /**193 * @dataProvider dockBlockFallbackTypesProvider194 */195 public function testDocBlockFallback($property, $types)196 {197 $this->assertEquals($types, $this->extractor->getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\DockBlockFallback', $property));198 }199}200class EmptyDocBlock201{202 public $foo;203}204class OmittedParamTagTypeDocBlock205{206 /**207 * The type is omitted here to ensure that the extractor doesn't choke on missing types.208 *209 * @param $omittedTagType210 */211 public function setOmittedType(array $omittedTagType)212 {213 }214}...

Full Screen

Full Screen

Type

Using AI Code Generation

copy

Full Screen

1use Mockery as m;2use Mockery as m;3use Mockery as m;4use Mockery as m;5use Mockery as m;6use Mockery as m;7use Mockery as m;8use Mockery as m;9use Mockery as m;10use Mockery as m;11use Mockery as m;12use Mockery as m;13use Mockery as m;14use Mockery as m;15use Mockery as m;

Full Screen

Full Screen

Type

Using AI Code Generation

copy

Full Screen

1use Mockery as m;2use PHPUnit\Framework\TestCase;3{4 public function tearDown()5 {6 m::close();7 }8 public function testType()9 {10 $mock = m::mock('overload:Type');11 $mock->shouldReceive('get')->with(m::type('string'))->andReturn('foo');12 $this->assertSame('foo', $mock->get('bar'));13 }14}15{16 public function get($name)17 {18 return $name;19 }20}21. 1 / 1 (100%)22OK (1 test, 1 assertion)

Full Screen

Full Screen

Type

Using AI Code Generation

copy

Full Screen

1use Mockery as m;2{3 public function __construct($type)4 {5 $this->type = $type;6 }7 public function getType()8 {9 return $this->type;10 }11}12use Mockery as m;13{14 public function __construct($type)15 {16 $this->type = $type;17 }18 public function getType()19 {20 return $this->type;21 }22}23{24 "autoload": {25 "psr-4": {26 }27 }28}29{30 "autoload": {31 "psr-4": {32 }33 }34}35{36 "autoload": {37 "psr-4": {38 }39 }40}41{42 "autoload": {43 "psr-4": {44 }45 }46}47{48 "autoload": {49 "psr-4": {50 }51 }52}53{54 "autoload": {55 "psr-4": {56 }57 }58}59{60 "autoload": {61 "psr-4": {62 }63 }64}65{66 "autoload": {67 "psr-4": {68 }69 }70}

Full Screen

Full Screen

Type

Using AI Code Generation

copy

Full Screen

1use Mockery as m;2{3 public function name()4 {5 return 'foo';6 }7}8use Mockery as m;9{10 public function name()11 {12 return 'foo';13 }14}15use Mockery as m;16{17 public function name()18 {19 return 'foo';20 }21}22use Mockery as m;23{24 public function name()25 {26 return 'foo';27 }28}29use Mockery as m;30{31 public function name()32 {33 return 'foo';34 }35}36use Mockery as m;37{38 public function name()39 {40 return 'foo';41 }42}43use Mockery as m;44{45 public function name()46 {47 return 'foo';48 }49}50use Mockery as m;51{52 public function name()53 {54 return 'foo';55 }56}57use Mockery as m;58{59 public function name()60 {61 return 'foo';62 }63}64use Mockery as m;65{66 public function name()67 {68 return 'foo';69 }70}71use Mockery as m;72{73 public function name()74 {75 return 'foo';76 }77}78use Mockery as m;79{80 public function name()81 {82 return 'foo';83 }84}

Full Screen

Full Screen

Type

Using AI Code Generation

copy

Full Screen

1use Mockery as m;2use PHPUnit\Framework\TestCase;3{4 public function testMockery()5 {6 $mock = m::mock('overload:Type');7 $mock->shouldReceive('getName')->andReturn('Mockery');8 $type = new Type();9 $this->assertEquals('Mockery', $type->getName());10 }11}12{13 public function getName()14 {15 return 'Type';16 }17}18. 1 / 1 (100%)19OK (1 test, 1 assertion)20use Mockery as m;21use PHPUnit\Framework\TestCase;22{23 public function testMockery()24 {25 $mock = m::mock('overload:User');26 $mock->shouldReceive('getName')->andReturn('Mockery');27 $user = new User();28 $this->assertEquals('Mockery', $user->getName());29 }30}31{32 public function getName()33 {34 return 'User';35 }36}37. 1 / 1 (100%)38OK (1 test, 1 assertion)

Full Screen

Full Screen

Type

Using AI Code Generation

copy

Full Screen

1use Mockery\Adapter\Phpunit\MockeryTestCase;2use Mockery as m;3{4 public function testType()5 {6 $type = m::mock('Type');7 $type->shouldReceive('method')->withAnyArgs()->once();8 $type->method('param');9 }10}11use Mockery\Adapter\Phpunit\MockeryTestCase;12use Mockery as m;13{14 public function testType()15 {16 $type = m::mock('Type');17 $type->shouldReceive('method')->withAnyArgs()->once();18 $type->method('param');19 }20}21use Mockery\Adapter\Phpunit\MockeryTestCase;22use Mockery as m;23{24 public function testType()25 {26 $type = m::mock('Type');27 $type->shouldReceive('method')->withAnyArgs()->once();28 $type->method('param');29 }30}31use Mockery\Adapter\Phpunit\MockeryTestCase;32use Mockery as m;33{34 public function testType()35 {36 $type = m::mock('Type');37 $type->shouldReceive('method')->withAnyArgs()->once();38 $type->method('param');39 }40}41use Mockery\Adapter\Phpunit\MockeryTestCase;42use Mockery as m;43{44 public function testType()45 {

Full Screen

Full Screen

Type

Using AI Code Generation

copy

Full Screen

1use Mockery\Adapter\Phpunit\MockeryTestCase;2use Mockery\MockInterface;3use \Mockery;4{5 public function testType()6 {7 $mock = Mockery::mock(Type::class);8 $mock->shouldReceive('doSomething')9 ->once()10 ->andReturn(1);11 $type = new Type($mock);12 $this->assertEquals(1, $type->doSomething());13 }14}15{16 public function __construct($type)17 {18 $this->type = $type;19 }20 public function doSomething()21 {22 return $this->type->doSomething();23 }24}25Fatal error: Uncaught TypeError: Argument 1 passed to Mockery_0_Type::__construct() must be an instance of Mockery_0_Type, instance of Mockery_1_Type given, called in /var/www/html/1.php on line 13 and defined in /var/www/html/2.php:5 Stack trace: #0 /var/www/html/1.php(13): Mockery_0_Type->__construct(Object(Mockery_1_Type)) #1 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestCase.php(1075): testType->testType() #2 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestCase.php(1021): PHPUnit_Framework_TestCase->runTest() #3 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php(722): PHPUnit_Framework_TestCase->runBare() #4 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestCase.php(879): PHPUnit_Framework_TestResult->run(Object(testType)) #5 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php(753): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult)) #6 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php(753): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult)) #7 /var/www/html/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(440): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult)) #8 /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php(150): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite

Full Screen

Full Screen

Type

Using AI Code Generation

copy

Full Screen

1use Mockery as m;2class Type {3 public function test() {4 return "test";5 }6}7use Mockery as m;8class Type {9 public function test() {10 return "test";11 }12}13use Mockery as m;14class Type {15 public function test() {16 return "test";17 }18}19use Mockery as m;20class Type {21 public function test() {22 return "test";23 }24}25use Mockery as m;26class Type {27 public function test() {28 return "test";29 }30}31use Mockery as m;32class Type {33 public function test() {34 return "test";35 }36}37use Mockery as m;38class Type {39 public function test() {40 return "test";41 }42}43use Mockery as m;44class Type {45 public function test() {46 return "test";47 }48}49use Mockery as m;50class Type {51 public function test() {52 return "test";53 }54}55use Mockery as m;56class Type {57 public function test() {58 return "test";59 }60}

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Mockery automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Most used methods in Type

Run Selenium Automation Tests on LambdaTest Cloud Grid

Trigger Selenium automation tests on a cloud-based Grid of 3000+ real browsers and operating systems.

Test now for Free

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful