github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/meteringmarketplace/2016-01-14/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2016-01-14",
     5      "endpointPrefix":"metering.marketplace",
     6      "jsonVersion":"1.1",
     7      "protocol":"json",
     8      "serviceFullName":"AWSMarketplace Metering",
     9      "serviceId":"Marketplace Metering",
    10      "signatureVersion":"v4",
    11      "signingName":"aws-marketplace",
    12      "targetPrefix":"AWSMPMeteringService",
    13      "uid":"meteringmarketplace-2016-01-14"
    14    },
    15    "operations":{
    16      "BatchMeterUsage":{
    17        "name":"BatchMeterUsage",
    18        "http":{
    19          "method":"POST",
    20          "requestUri":"/"
    21        },
    22        "input":{"shape":"BatchMeterUsageRequest"},
    23        "output":{"shape":"BatchMeterUsageResult"},
    24        "errors":[
    25          {"shape":"InternalServiceErrorException"},
    26          {"shape":"InvalidProductCodeException"},
    27          {"shape":"InvalidUsageDimensionException"},
    28          {"shape":"InvalidTagException"},
    29          {"shape":"InvalidUsageAllocationsException"},
    30          {"shape":"InvalidCustomerIdentifierException"},
    31          {"shape":"TimestampOutOfBoundsException"},
    32          {"shape":"ThrottlingException"},
    33          {"shape":"DisabledApiException"}
    34        ]
    35      },
    36      "MeterUsage":{
    37        "name":"MeterUsage",
    38        "http":{
    39          "method":"POST",
    40          "requestUri":"/"
    41        },
    42        "input":{"shape":"MeterUsageRequest"},
    43        "output":{"shape":"MeterUsageResult"},
    44        "errors":[
    45          {"shape":"InternalServiceErrorException"},
    46          {"shape":"InvalidProductCodeException"},
    47          {"shape":"InvalidUsageDimensionException"},
    48          {"shape":"InvalidTagException"},
    49          {"shape":"InvalidUsageAllocationsException"},
    50          {"shape":"InvalidEndpointRegionException"},
    51          {"shape":"TimestampOutOfBoundsException"},
    52          {"shape":"DuplicateRequestException"},
    53          {"shape":"ThrottlingException"},
    54          {"shape":"CustomerNotEntitledException"}
    55        ]
    56      },
    57      "RegisterUsage":{
    58        "name":"RegisterUsage",
    59        "http":{
    60          "method":"POST",
    61          "requestUri":"/"
    62        },
    63        "input":{"shape":"RegisterUsageRequest"},
    64        "output":{"shape":"RegisterUsageResult"},
    65        "errors":[
    66          {"shape":"InvalidProductCodeException"},
    67          {"shape":"InvalidRegionException"},
    68          {"shape":"InvalidPublicKeyVersionException"},
    69          {"shape":"PlatformNotSupportedException"},
    70          {"shape":"CustomerNotEntitledException"},
    71          {"shape":"ThrottlingException"},
    72          {"shape":"InternalServiceErrorException"},
    73          {"shape":"DisabledApiException"}
    74        ]
    75      },
    76      "ResolveCustomer":{
    77        "name":"ResolveCustomer",
    78        "http":{
    79          "method":"POST",
    80          "requestUri":"/"
    81        },
    82        "input":{"shape":"ResolveCustomerRequest"},
    83        "output":{"shape":"ResolveCustomerResult"},
    84        "errors":[
    85          {"shape":"InvalidTokenException"},
    86          {"shape":"ExpiredTokenException"},
    87          {"shape":"ThrottlingException"},
    88          {"shape":"InternalServiceErrorException"},
    89          {"shape":"DisabledApiException"}
    90        ]
    91      }
    92    },
    93    "shapes":{
    94      "AllocatedUsageQuantity":{
    95        "type":"integer",
    96        "max":2147483647,
    97        "min":0
    98      },
    99      "BatchMeterUsageRequest":{
   100        "type":"structure",
   101        "required":[
   102          "UsageRecords",
   103          "ProductCode"
   104        ],
   105        "members":{
   106          "UsageRecords":{"shape":"UsageRecordList"},
   107          "ProductCode":{"shape":"ProductCode"}
   108        }
   109      },
   110      "BatchMeterUsageResult":{
   111        "type":"structure",
   112        "members":{
   113          "Results":{"shape":"UsageRecordResultList"},
   114          "UnprocessedRecords":{"shape":"UsageRecordList"}
   115        }
   116      },
   117      "Boolean":{"type":"boolean"},
   118      "CustomerIdentifier":{
   119        "type":"string",
   120        "max":255,
   121        "min":1,
   122        "pattern":"[\\s\\S]+"
   123      },
   124      "CustomerNotEntitledException":{
   125        "type":"structure",
   126        "members":{
   127          "message":{"shape":"errorMessage"}
   128        },
   129        "exception":true
   130      },
   131      "DisabledApiException":{
   132        "type":"structure",
   133        "members":{
   134          "message":{"shape":"errorMessage"}
   135        },
   136        "exception":true
   137      },
   138      "DuplicateRequestException":{
   139        "type":"structure",
   140        "members":{
   141          "message":{"shape":"errorMessage"}
   142        },
   143        "exception":true
   144      },
   145      "ExpiredTokenException":{
   146        "type":"structure",
   147        "members":{
   148          "message":{"shape":"errorMessage"}
   149        },
   150        "exception":true
   151      },
   152      "InternalServiceErrorException":{
   153        "type":"structure",
   154        "members":{
   155          "message":{"shape":"errorMessage"}
   156        },
   157        "exception":true,
   158        "fault":true
   159      },
   160      "InvalidCustomerIdentifierException":{
   161        "type":"structure",
   162        "members":{
   163          "message":{"shape":"errorMessage"}
   164        },
   165        "exception":true
   166      },
   167      "InvalidEndpointRegionException":{
   168        "type":"structure",
   169        "members":{
   170          "message":{"shape":"errorMessage"}
   171        },
   172        "exception":true
   173      },
   174      "InvalidProductCodeException":{
   175        "type":"structure",
   176        "members":{
   177          "message":{"shape":"errorMessage"}
   178        },
   179        "exception":true
   180      },
   181      "InvalidPublicKeyVersionException":{
   182        "type":"structure",
   183        "members":{
   184          "message":{"shape":"errorMessage"}
   185        },
   186        "exception":true
   187      },
   188      "InvalidRegionException":{
   189        "type":"structure",
   190        "members":{
   191          "message":{"shape":"errorMessage"}
   192        },
   193        "exception":true
   194      },
   195      "InvalidTagException":{
   196        "type":"structure",
   197        "members":{
   198          "message":{"shape":"errorMessage"}
   199        },
   200        "exception":true
   201      },
   202      "InvalidTokenException":{
   203        "type":"structure",
   204        "members":{
   205          "message":{"shape":"errorMessage"}
   206        },
   207        "exception":true
   208      },
   209      "InvalidUsageAllocationsException":{
   210        "type":"structure",
   211        "members":{
   212          "message":{"shape":"errorMessage"}
   213        },
   214        "exception":true
   215      },
   216      "InvalidUsageDimensionException":{
   217        "type":"structure",
   218        "members":{
   219          "message":{"shape":"errorMessage"}
   220        },
   221        "exception":true
   222      },
   223      "MeterUsageRequest":{
   224        "type":"structure",
   225        "required":[
   226          "ProductCode",
   227          "Timestamp",
   228          "UsageDimension"
   229        ],
   230        "members":{
   231          "ProductCode":{"shape":"ProductCode"},
   232          "Timestamp":{"shape":"Timestamp"},
   233          "UsageDimension":{"shape":"UsageDimension"},
   234          "UsageQuantity":{"shape":"UsageQuantity"},
   235          "DryRun":{"shape":"Boolean"},
   236          "UsageAllocations":{"shape":"UsageAllocations"}
   237        }
   238      },
   239      "MeterUsageResult":{
   240        "type":"structure",
   241        "members":{
   242          "MeteringRecordId":{"shape":"String"}
   243        }
   244      },
   245      "NonEmptyString":{
   246        "type":"string",
   247        "pattern":"[\\s\\S]+"
   248      },
   249      "Nonce":{
   250        "type":"string",
   251        "max":255,
   252        "pattern":"[\\s\\S]*"
   253      },
   254      "PlatformNotSupportedException":{
   255        "type":"structure",
   256        "members":{
   257          "message":{"shape":"errorMessage"}
   258        },
   259        "exception":true
   260      },
   261      "ProductCode":{
   262        "type":"string",
   263        "max":255,
   264        "min":1,
   265        "pattern":"[\\s\\S]+"
   266      },
   267      "RegisterUsageRequest":{
   268        "type":"structure",
   269        "required":[
   270          "ProductCode",
   271          "PublicKeyVersion"
   272        ],
   273        "members":{
   274          "ProductCode":{"shape":"ProductCode"},
   275          "PublicKeyVersion":{"shape":"VersionInteger"},
   276          "Nonce":{"shape":"Nonce"}
   277        }
   278      },
   279      "RegisterUsageResult":{
   280        "type":"structure",
   281        "members":{
   282          "PublicKeyRotationTimestamp":{"shape":"Timestamp"},
   283          "Signature":{"shape":"NonEmptyString"}
   284        }
   285      },
   286      "ResolveCustomerRequest":{
   287        "type":"structure",
   288        "required":["RegistrationToken"],
   289        "members":{
   290          "RegistrationToken":{"shape":"NonEmptyString"}
   291        }
   292      },
   293      "ResolveCustomerResult":{
   294        "type":"structure",
   295        "members":{
   296          "CustomerIdentifier":{"shape":"CustomerIdentifier"},
   297          "ProductCode":{"shape":"ProductCode"}
   298        }
   299      },
   300      "String":{"type":"string"},
   301      "Tag":{
   302        "type":"structure",
   303        "required":[
   304          "Key",
   305          "Value"
   306        ],
   307        "members":{
   308          "Key":{"shape":"TagKey"},
   309          "Value":{"shape":"TagValue"}
   310        }
   311      },
   312      "TagKey":{
   313        "type":"string",
   314        "max":100,
   315        "min":1,
   316        "pattern":"^[a-zA-Z0-9+ -=._:\\/@]+$"
   317      },
   318      "TagList":{
   319        "type":"list",
   320        "member":{"shape":"Tag"},
   321        "max":5,
   322        "min":1
   323      },
   324      "TagValue":{
   325        "type":"string",
   326        "max":256,
   327        "min":1,
   328        "pattern":"^[a-zA-Z0-9+ -=._:\\/@]+$"
   329      },
   330      "ThrottlingException":{
   331        "type":"structure",
   332        "members":{
   333          "message":{"shape":"errorMessage"}
   334        },
   335        "exception":true
   336      },
   337      "Timestamp":{"type":"timestamp"},
   338      "TimestampOutOfBoundsException":{
   339        "type":"structure",
   340        "members":{
   341          "message":{"shape":"errorMessage"}
   342        },
   343        "exception":true
   344      },
   345      "UsageAllocation":{
   346        "type":"structure",
   347        "required":["AllocatedUsageQuantity"],
   348        "members":{
   349          "AllocatedUsageQuantity":{"shape":"AllocatedUsageQuantity"},
   350          "Tags":{"shape":"TagList"}
   351        }
   352      },
   353      "UsageAllocations":{
   354        "type":"list",
   355        "member":{"shape":"UsageAllocation"},
   356        "max":500,
   357        "min":1
   358      },
   359      "UsageDimension":{
   360        "type":"string",
   361        "max":255,
   362        "min":1,
   363        "pattern":"[\\s\\S]+"
   364      },
   365      "UsageQuantity":{
   366        "type":"integer",
   367        "max":2147483647,
   368        "min":0
   369      },
   370      "UsageRecord":{
   371        "type":"structure",
   372        "required":[
   373          "Timestamp",
   374          "CustomerIdentifier",
   375          "Dimension"
   376        ],
   377        "members":{
   378          "Timestamp":{"shape":"Timestamp"},
   379          "CustomerIdentifier":{"shape":"CustomerIdentifier"},
   380          "Dimension":{"shape":"UsageDimension"},
   381          "Quantity":{"shape":"UsageQuantity"},
   382          "UsageAllocations":{"shape":"UsageAllocations"}
   383        }
   384      },
   385      "UsageRecordList":{
   386        "type":"list",
   387        "member":{"shape":"UsageRecord"},
   388        "max":25,
   389        "min":0
   390      },
   391      "UsageRecordResult":{
   392        "type":"structure",
   393        "members":{
   394          "UsageRecord":{"shape":"UsageRecord"},
   395          "MeteringRecordId":{"shape":"String"},
   396          "Status":{"shape":"UsageRecordResultStatus"}
   397        }
   398      },
   399      "UsageRecordResultList":{
   400        "type":"list",
   401        "member":{"shape":"UsageRecordResult"}
   402      },
   403      "UsageRecordResultStatus":{
   404        "type":"string",
   405        "enum":[
   406          "Success",
   407          "CustomerNotSubscribed",
   408          "DuplicateRecord"
   409        ]
   410      },
   411      "VersionInteger":{
   412        "type":"integer",
   413        "min":1
   414      },
   415      "errorMessage":{"type":"string"}
   416    }
   417  }