<?php
// This file was auto-generated
return [
//    'version' => '',
    'metadata' =>
    [
//        'apiVersion' => '',
//        'endpointPrefix' => 'reservedinstance',
        'protocol' => 'json',
//        'serviceFullName' => 'reservedinstance',
//        'serviceId' => 'reservedinstance',
    ],
    'operations' => [
        'DescribeDeductionDetails' => [
            'name' => 'DescribeDeductionDetails',
            'http' => [
                'method' => 'GET',
                'requestUri' => '/v1/regions/{regionId}/deductionDetails',
            ],
            'input' => [ 'shape' => 'DescribeDeductionDetailsRequestShape', ],
            'output' => [ 'shape' => 'DescribeDeductionDetailsResponseShape', ],
        ],
        'DescribeConsoleInstanceVouchers' => [
            'name' => 'DescribeConsoleInstanceVouchers',
            'http' => [
                'method' => 'GET',
                'requestUri' => '/v1/regions/{regionId}/instanceVoucher:describeConsoleInstanceVouchers',
            ],
            'input' => [ 'shape' => 'DescribeConsoleInstanceVouchersRequestShape', ],
            'output' => [ 'shape' => 'DescribeConsoleInstanceVouchersResponseShape', ],
        ],
    ],
    'shapes' => [
        'BackInstanceVoucherVo' => [
            'type' => 'structure',
            'members' => [
                'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
                'account' => [ 'type' => 'string', 'locationName' => 'account', ],
                'instanceVoucherId' => [ 'type' => 'string', 'locationName' => 'instanceVoucherId', ],
                'instanceVoucherType' => [ 'type' => 'string', 'locationName' => 'instanceVoucherType', ],
                'isReserved' => [ 'type' => 'integer', 'locationName' => 'isReserved', ],
                'region' => [ 'type' => 'string', 'locationName' => 'region', ],
                'tips' => [ 'type' => 'string', 'locationName' => 'tips', ],
                'label' => [ 'type' => 'string', 'locationName' => 'label', ],
                'count' => [ 'type' => 'integer', 'locationName' => 'count', ],
                'unit' => [ 'type' => 'string', 'locationName' => 'unit', ],
                'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
                'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
                'createTime' => [ 'type' => 'string', 'locationName' => 'createTime', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
            ],
        ],
        'ConsoleInstanceVoucherVo' => [
            'type' => 'structure',
            'members' => [
                'instanceVoucherId' => [ 'type' => 'string', 'locationName' => 'instanceVoucherId', ],
                'instanceVoucherType' => [ 'type' => 'string', 'locationName' => 'instanceVoucherType', ],
                'isReserved' => [ 'type' => 'integer', 'locationName' => 'isReserved', ],
                'region' => [ 'type' => 'string', 'locationName' => 'region', ],
                'tips' => [ 'type' => 'string', 'locationName' => 'tips', ],
                'label' => [ 'type' => 'string', 'locationName' => 'label', ],
                'count' => [ 'type' => 'integer', 'locationName' => 'count', ],
                'unit' => [ 'type' => 'string', 'locationName' => 'unit', ],
                'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
                'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
                'createTime' => [ 'type' => 'string', 'locationName' => 'createTime', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
            ],
        ],
        'DeductionDetailOperatorVo' => [
            'type' => 'structure',
            'members' => [
                'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
                'loginName' => [ 'type' => 'string', 'locationName' => 'loginName', ],
                'reservedInstanceId' => [ 'type' => 'string', 'locationName' => 'reservedInstanceId', ],
                'reservedInstanceTypeName' => [ 'type' => 'string', 'locationName' => 'reservedInstanceTypeName', ],
                'usageTime' => [ 'type' => 'string', 'locationName' => 'usageTime', ],
                'instanceServiceCodeName' => [ 'type' => 'string', 'locationName' => 'instanceServiceCodeName', ],
                'instanceId' => [ 'type' => 'string', 'locationName' => 'instanceId', ],
                'instanceSpec' => [ 'type' => 'string', 'locationName' => 'instanceSpec', ],
                'consumeAmount' => [ 'type' => 'string', 'locationName' => 'consumeAmount', ],
                'instanceRegionName' => [ 'type' => 'string', 'locationName' => 'instanceRegionName', ],
                'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
                'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
            ],
        ],
        'DeductionDetailVo' => [
            'type' => 'structure',
            'members' => [
                'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
                'reservedInstanceId' => [ 'type' => 'string', 'locationName' => 'reservedInstanceId', ],
                'reservedInstanceTypeName' => [ 'type' => 'string', 'locationName' => 'reservedInstanceTypeName', ],
                'usageTime' => [ 'type' => 'string', 'locationName' => 'usageTime', ],
                'instanceServiceCodeName' => [ 'type' => 'string', 'locationName' => 'instanceServiceCodeName', ],
                'instanceId' => [ 'type' => 'string', 'locationName' => 'instanceId', ],
                'instanceSpec' => [ 'type' => 'string', 'locationName' => 'instanceSpec', ],
                'consumeAmount' => [ 'type' => 'string', 'locationName' => 'consumeAmount', ],
                'instanceRegionName' => [ 'type' => 'string', 'locationName' => 'instanceRegionName', ],
                'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
                'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
            ],
        ],
        'InstanceVoucherDTO' => [
            'type' => 'structure',
            'members' => [
                'instanceVoucherId' => [ 'type' => 'string', 'locationName' => 'instanceVoucherId', ],
                'reservedInstanceType' => [ 'type' => 'string', 'locationName' => 'reservedInstanceType', ],
                'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
                'serviceCode' => [ 'type' => 'string', 'locationName' => 'serviceCode', ],
                'isReserved' => [ 'type' => 'integer', 'locationName' => 'isReserved', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
                'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
                'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
            ],
        ],
        'InstanceVoucherSpec' => [
            'type' => 'structure',
            'members' => [
                'sourceId' => [ 'type' => 'string', 'locationName' => 'sourceId', ],
                'orderNumber' => [ 'type' => 'string', 'locationName' => 'orderNumber', ],
                'instanceVoucherId' => [ 'type' => 'string', 'locationName' => 'instanceVoucherId', ],
                'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
                'appCode' => [ 'type' => 'string', 'locationName' => 'appCode', ],
                'serviceCode' => [ 'type' => 'string', 'locationName' => 'serviceCode', ],
                'resourceType' => [ 'type' => 'string', 'locationName' => 'resourceType', ],
                'region' => [ 'type' => 'string', 'locationName' => 'region', ],
                'az' => [ 'type' => 'string', 'locationName' => 'az', ],
                'reservedType' => [ 'type' => 'string', 'locationName' => 'reservedType', ],
                'instanceTypeFamily' => [ 'type' => 'string', 'locationName' => 'instanceTypeFamily', ],
                'instanceType' => [ 'type' => 'string', 'locationName' => 'instanceType', ],
                'unitCount' => [ 'type' => 'integer', 'locationName' => 'unitCount', ],
                'chargeUnit' => [ 'type' => 'string', 'locationName' => 'chargeUnit', ],
                'chargeDuration' => [ 'type' => 'integer', 'locationName' => 'chargeDuration', ],
                'createTime' => [ 'type' => 'string', 'locationName' => 'createTime', ],
                'action' => [ 'type' => 'integer', 'locationName' => 'action', ],
            ],
        ],
        'InstanceVoucherVo' => [
            'type' => 'structure',
            'members' => [
                'instanceVoucherId' => [ 'type' => 'string', 'locationName' => 'instanceVoucherId', ],
                'reservedInstanceType' => [ 'type' => 'string', 'locationName' => 'reservedInstanceType', ],
                'isReserved' => [ 'type' => 'integer', 'locationName' => 'isReserved', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
                'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
                'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
            ],
        ],
        'Pagination' => [
            'type' => 'structure',
            'members' => [
                'currPageNo' => [ 'type' => 'integer', 'locationName' => 'currPageNo', ],
                'numberPages' => [ 'type' => 'integer', 'locationName' => 'numberPages', ],
                'numberRecords' => [ 'type' => 'integer', 'locationName' => 'numberRecords', ],
                'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
                'startIndex' => [ 'type' => 'integer', 'locationName' => 'startIndex', ],
            ],
        ],
        'Product' => [
            'type' => 'structure',
            'members' => [
                'id' => [ 'type' => 'double', 'locationName' => 'id', ],
                'appCode' => [ 'type' => 'string', 'locationName' => 'appCode', ],
                'serviceCode' => [ 'type' => 'string', 'locationName' => 'serviceCode', ],
                'reservedInstanceType' => [ 'type' => 'string', 'locationName' => 'reservedInstanceType', ],
                'typeName' => [ 'type' => 'string', 'locationName' => 'typeName', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
                'createTime' => [ 'type' => 'string', 'locationName' => 'createTime', ],
                'updateTime' => [ 'type' => 'string', 'locationName' => 'updateTime', ],
                'createErp' => [ 'type' => 'string', 'locationName' => 'createErp', ],
            ],
        ],
        'ProductQuery' => [
            'type' => 'structure',
            'members' => [
                'id' => [ 'type' => 'double', 'locationName' => 'id', ],
                'appCode' => [ 'type' => 'string', 'locationName' => 'appCode', ],
                'serviceCode' => [ 'type' => 'string', 'locationName' => 'serviceCode', ],
                'reservedInstanceType' => [ 'type' => 'string', 'locationName' => 'reservedInstanceType', ],
                'typeName' => [ 'type' => 'string', 'locationName' => 'typeName', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
                'createTime' => [ 'type' => 'string', 'locationName' => 'createTime', ],
                'updateTime' => [ 'type' => 'string', 'locationName' => 'updateTime', ],
                'createErp' => [ 'type' => 'string', 'locationName' => 'createErp', ],
            ],
        ],
        'SpecificationDTO' => [
            'type' => 'structure',
            'members' => [
                'appCode' => [ 'type' => 'string', 'locationName' => 'appCode', ],
                'serviceCode' => [ 'type' => 'string', 'locationName' => 'serviceCode', ],
                'reservedInstanceType' => [ 'type' => 'integer', 'locationName' => 'reservedInstanceType', ],
                'isReserved' => [ 'type' => 'integer', 'locationName' => 'isReserved', ],
                'instanceTypeFamily' => [ 'type' => 'string', 'locationName' => 'instanceTypeFamily', ],
                'usingServiceCode' => [ 'type' => 'string', 'locationName' => 'usingServiceCode', ],
                'instanceType' => [ 'type' => 'string', 'locationName' => 'instanceType', ],
                'standardFactor' => [ 'type' => 'double', 'locationName' => 'standardFactor', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
            ],
        ],
        'SpecificationVo' => [
            'type' => 'structure',
            'members' => [
                'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
                'appCode' => [ 'type' => 'string', 'locationName' => 'appCode', ],
                'appCodeName' => [ 'type' => 'string', 'locationName' => 'appCodeName', ],
                'serviceCode' => [ 'type' => 'string', 'locationName' => 'serviceCode', ],
                'serviceCodeName' => [ 'type' => 'string', 'locationName' => 'serviceCodeName', ],
                'reservedInstanceType' => [ 'type' => 'string', 'locationName' => 'reservedInstanceType', ],
                'reservedInstanceTypeName' => [ 'type' => 'string', 'locationName' => 'reservedInstanceTypeName', ],
                'isReserved' => [ 'type' => 'integer', 'locationName' => 'isReserved', ],
                'isReservedStr' => [ 'type' => 'string', 'locationName' => 'isReservedStr', ],
                'instanceTypeFamily' => [ 'type' => 'string', 'locationName' => 'instanceTypeFamily', ],
                'usingServiceCode' => [ 'type' => 'string', 'locationName' => 'usingServiceCode', ],
                'usingServiceCodeName' => [ 'type' => 'string', 'locationName' => 'usingServiceCodeName', ],
                'instanceType' => [ 'type' => 'string', 'locationName' => 'instanceType', ],
                'standardFactor' => [ 'type' => 'double', 'locationName' => 'standardFactor', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
                'statusStr' => [ 'type' => 'string', 'locationName' => 'statusStr', ],
            ],
        ],
        'SysConfig' => [
            'type' => 'structure',
            'members' => [
                'id' => [ 'type' => 'double', 'locationName' => 'id', ],
                'key' => [ 'type' => 'string', 'locationName' => 'key', ],
                'value' => [ 'type' => 'string', 'locationName' => 'value', ],
                'configType' => [ 'type' => 'string', 'locationName' => 'configType', ],
                'description' => [ 'type' => 'string', 'locationName' => 'description', ],
                'createdTime' => [ 'type' => 'string', 'locationName' => 'createdTime', ],
                'updatedTime' => [ 'type' => 'string', 'locationName' => 'updatedTime', ],
                'createErp' => [ 'type' => 'string', 'locationName' => 'createErp', ],
            ],
        ],
        'SysConfigVo' => [
            'type' => 'structure',
            'members' => [
                'key' => [ 'type' => 'string', 'locationName' => 'key', ],
                'value' => [ 'type' => 'string', 'locationName' => 'value', ],
                'configType' => [ 'type' => 'string', 'locationName' => 'configType', ],
                'description' => [ 'type' => 'string', 'locationName' => 'description', ],
            ],
        ],
        'DescribeDeductionDetailsRequestShape' => [
            'type' => 'structure',
            'members' => [
                'reservedInstanceType' => [ 'type' => 'string', 'locationName' => 'reservedInstanceType', ],
                'reservedInstanceId' => [ 'type' => 'string', 'locationName' => 'reservedInstanceId', ],
                'instanceId' => [ 'type' => 'string', 'locationName' => 'instanceId', ],
                'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
                'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
                'pageNo' => [ 'type' => 'integer', 'locationName' => 'pageNo', ],
                'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
                'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
            ],
        ],
        'DescribeDeductionDetailsResultShape' => [
            'type' => 'structure',
            'members' => [
                'pagination' =>  [ 'shape' => 'Pagination', ],
                'result' => [ 'type' => 'list', 'member' => [ 'shape' => 'DeductionDetailVo', ], ],
            ],
        ],
        'DescribeDeductionDetailsResponseShape' => [
            'type' => 'structure',
            'members' => [
                'result' =>  [ 'shape' => 'DescribeDeductionDetailsResultShape', ],
            ],
        ],
        'DescribeConsoleInstanceVouchersRequestShape' => [
            'type' => 'structure',
            'members' => [
                'voucherType' => [ 'type' => 'string', 'locationName' => 'voucherType', ],
                'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
                'createTimeBegin' => [ 'type' => 'string', 'locationName' => 'createTimeBegin', ],
                'createTimeEnd' => [ 'type' => 'string', 'locationName' => 'createTimeEnd', ],
                'pageNum' => [ 'type' => 'integer', 'locationName' => 'pageNum', ],
                'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
                'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
            ],
        ],
        'DescribeConsoleInstanceVouchersResultShape' => [
            'type' => 'structure',
            'members' => [
                'pagination' =>  [ 'shape' => 'Pagination', ],
                'data' => [ 'type' => 'list', 'member' => [ 'shape' => 'ConsoleInstanceVoucherVo', ], ],
            ],
        ],
        'DescribeConsoleInstanceVouchersResponseShape' => [
            'type' => 'structure',
            'members' => [
                'result' =>  [ 'shape' => 'DescribeConsoleInstanceVouchersResultShape', ],
                'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
            ],
        ],
    ],
];
