github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/cur/2017-01-06/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2017-01-06",
     5      "endpointPrefix":"cur",
     6      "jsonVersion":"1.1",
     7      "protocol":"json",
     8      "serviceFullName":"AWS Cost and Usage Report Service",
     9      "serviceId":"Cost and Usage Report Service",
    10      "signatureVersion":"v4",
    11      "signingName":"cur",
    12      "targetPrefix":"AWSOrigamiServiceGatewayService",
    13      "uid":"cur-2017-01-06"
    14    },
    15    "operations":{
    16      "DeleteReportDefinition":{
    17        "name":"DeleteReportDefinition",
    18        "http":{
    19          "method":"POST",
    20          "requestUri":"/"
    21        },
    22        "input":{"shape":"DeleteReportDefinitionRequest"},
    23        "output":{"shape":"DeleteReportDefinitionResponse"},
    24        "errors":[
    25          {"shape":"InternalErrorException"},
    26          {"shape":"ValidationException"}
    27        ]
    28      },
    29      "DescribeReportDefinitions":{
    30        "name":"DescribeReportDefinitions",
    31        "http":{
    32          "method":"POST",
    33          "requestUri":"/"
    34        },
    35        "input":{"shape":"DescribeReportDefinitionsRequest"},
    36        "output":{"shape":"DescribeReportDefinitionsResponse"},
    37        "errors":[
    38          {"shape":"InternalErrorException"}
    39        ]
    40      },
    41      "ModifyReportDefinition":{
    42        "name":"ModifyReportDefinition",
    43        "http":{
    44          "method":"POST",
    45          "requestUri":"/"
    46        },
    47        "input":{"shape":"ModifyReportDefinitionRequest"},
    48        "output":{"shape":"ModifyReportDefinitionResponse"},
    49        "errors":[
    50          {"shape":"InternalErrorException"},
    51          {"shape":"ValidationException"}
    52        ]
    53      },
    54      "PutReportDefinition":{
    55        "name":"PutReportDefinition",
    56        "http":{
    57          "method":"POST",
    58          "requestUri":"/"
    59        },
    60        "input":{"shape":"PutReportDefinitionRequest"},
    61        "output":{"shape":"PutReportDefinitionResponse"},
    62        "errors":[
    63          {"shape":"DuplicateReportNameException"},
    64          {"shape":"ReportLimitReachedException"},
    65          {"shape":"InternalErrorException"},
    66          {"shape":"ValidationException"}
    67        ]
    68      }
    69    },
    70    "shapes":{
    71      "AWSRegion":{
    72        "type":"string",
    73        "enum":[
    74          "af-south-1",
    75          "ap-east-1",
    76          "ap-south-1",
    77          "ap-southeast-1",
    78          "ap-southeast-2",
    79          "ap-northeast-1",
    80          "ap-northeast-2",
    81          "ap-northeast-3",
    82          "ca-central-1",
    83          "eu-central-1",
    84          "eu-west-1",
    85          "eu-west-2",
    86          "eu-west-3",
    87          "eu-north-1",
    88          "eu-south-1",
    89          "me-south-1",
    90          "sa-east-1",
    91          "us-east-1",
    92          "us-east-2",
    93          "us-west-1",
    94          "us-west-2",
    95          "cn-north-1",
    96          "cn-northwest-1"
    97        ]
    98      },
    99      "AdditionalArtifact":{
   100        "type":"string",
   101        "enum":[
   102          "REDSHIFT",
   103          "QUICKSIGHT",
   104          "ATHENA"
   105        ]
   106      },
   107      "AdditionalArtifactList":{
   108        "type":"list",
   109        "member":{"shape":"AdditionalArtifact"}
   110      },
   111      "BillingViewArn":{
   112        "type":"string",
   113        "max":128,
   114        "pattern":"(arn:aws(-cn)?:billing::[0-9]{12}:billingview/)?[a-zA-Z0-9_\\+=\\.\\-@].{1,30}"
   115      },
   116      "CompressionFormat":{
   117        "type":"string",
   118        "enum":[
   119          "ZIP",
   120          "GZIP",
   121          "Parquet"
   122        ]
   123      },
   124      "DeleteReportDefinitionRequest":{
   125        "type":"structure",
   126        "members":{
   127          "ReportName":{"shape":"ReportName"}
   128        }
   129      },
   130      "DeleteReportDefinitionResponse":{
   131        "type":"structure",
   132        "members":{
   133          "ResponseMessage":{"shape":"DeleteResponseMessage"}
   134        }
   135      },
   136      "DeleteResponseMessage":{"type":"string"},
   137      "DescribeReportDefinitionsRequest":{
   138        "type":"structure",
   139        "members":{
   140          "MaxResults":{"shape":"MaxResults"},
   141          "NextToken":{"shape":"GenericString"}
   142        }
   143      },
   144      "DescribeReportDefinitionsResponse":{
   145        "type":"structure",
   146        "members":{
   147          "ReportDefinitions":{"shape":"ReportDefinitionList"},
   148          "NextToken":{"shape":"GenericString"}
   149        }
   150      },
   151      "DuplicateReportNameException":{
   152        "type":"structure",
   153        "members":{
   154          "Message":{"shape":"ErrorMessage"}
   155        },
   156        "exception":true
   157      },
   158      "ErrorMessage":{"type":"string"},
   159      "GenericString":{
   160        "type":"string",
   161        "max":256,
   162        "pattern":"[A-Za-z0-9_\\.\\-=]*"
   163      },
   164      "InternalErrorException":{
   165        "type":"structure",
   166        "members":{
   167          "Message":{"shape":"ErrorMessage"}
   168        },
   169        "exception":true,
   170        "fault":true
   171      },
   172      "MaxResults":{
   173        "type":"integer",
   174        "box":true,
   175        "max":5,
   176        "min":5
   177      },
   178      "ModifyReportDefinitionRequest":{
   179        "type":"structure",
   180        "required":[
   181          "ReportName",
   182          "ReportDefinition"
   183        ],
   184        "members":{
   185          "ReportName":{"shape":"ReportName"},
   186          "ReportDefinition":{"shape":"ReportDefinition"}
   187        }
   188      },
   189      "ModifyReportDefinitionResponse":{
   190        "type":"structure",
   191        "members":{
   192        }
   193      },
   194      "PutReportDefinitionRequest":{
   195        "type":"structure",
   196        "required":["ReportDefinition"],
   197        "members":{
   198          "ReportDefinition":{"shape":"ReportDefinition"}
   199        }
   200      },
   201      "PutReportDefinitionResponse":{
   202        "type":"structure",
   203        "members":{
   204        }
   205      },
   206      "RefreshClosedReports":{
   207        "type":"boolean",
   208        "box":true
   209      },
   210      "ReportDefinition":{
   211        "type":"structure",
   212        "required":[
   213          "ReportName",
   214          "TimeUnit",
   215          "Format",
   216          "Compression",
   217          "AdditionalSchemaElements",
   218          "S3Bucket",
   219          "S3Prefix",
   220          "S3Region"
   221        ],
   222        "members":{
   223          "ReportName":{"shape":"ReportName"},
   224          "TimeUnit":{"shape":"TimeUnit"},
   225          "Format":{"shape":"ReportFormat"},
   226          "Compression":{"shape":"CompressionFormat"},
   227          "AdditionalSchemaElements":{"shape":"SchemaElementList"},
   228          "S3Bucket":{"shape":"S3Bucket"},
   229          "S3Prefix":{"shape":"S3Prefix"},
   230          "S3Region":{"shape":"AWSRegion"},
   231          "AdditionalArtifacts":{"shape":"AdditionalArtifactList"},
   232          "RefreshClosedReports":{"shape":"RefreshClosedReports"},
   233          "ReportVersioning":{"shape":"ReportVersioning"},
   234          "BillingViewArn":{"shape":"BillingViewArn"}
   235        }
   236      },
   237      "ReportDefinitionList":{
   238        "type":"list",
   239        "member":{"shape":"ReportDefinition"}
   240      },
   241      "ReportFormat":{
   242        "type":"string",
   243        "enum":[
   244          "textORcsv",
   245          "Parquet"
   246        ]
   247      },
   248      "ReportLimitReachedException":{
   249        "type":"structure",
   250        "members":{
   251          "Message":{"shape":"ErrorMessage"}
   252        },
   253        "exception":true
   254      },
   255      "ReportName":{
   256        "type":"string",
   257        "max":256,
   258        "pattern":"[0-9A-Za-z!\\-_.*\\'()]+"
   259      },
   260      "ReportVersioning":{
   261        "type":"string",
   262        "enum":[
   263          "CREATE_NEW_REPORT",
   264          "OVERWRITE_REPORT"
   265        ]
   266      },
   267      "S3Bucket":{
   268        "type":"string",
   269        "max":256,
   270        "pattern":"[A-Za-z0-9_\\.\\-]+"
   271      },
   272      "S3Prefix":{
   273        "type":"string",
   274        "max":256,
   275        "pattern":"[0-9A-Za-z!\\-_.*\\'()/]*"
   276      },
   277      "SchemaElement":{
   278        "type":"string",
   279        "enum":["RESOURCES"]
   280      },
   281      "SchemaElementList":{
   282        "type":"list",
   283        "member":{"shape":"SchemaElement"}
   284      },
   285      "TimeUnit":{
   286        "type":"string",
   287        "enum":[
   288          "HOURLY",
   289          "DAILY",
   290          "MONTHLY"
   291        ]
   292      },
   293      "ValidationException":{
   294        "type":"structure",
   295        "members":{
   296          "Message":{"shape":"ErrorMessage"}
   297        },
   298        "exception":true
   299      }
   300    }
   301  }