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

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2017-07-01",
     5      "endpointPrefix":"mobile",
     6      "jsonVersion":"1.1",
     7      "protocol":"rest-json",
     8      "serviceFullName":"AWS Mobile",
     9      "signatureVersion":"v4",
    10      "signingName":"AWSMobileHubService",
    11      "uid":"mobile-2017-07-01"
    12    },
    13    "operations":{
    14      "CreateProject":{
    15        "name":"CreateProject",
    16        "http":{
    17          "method":"POST",
    18          "requestUri":"/projects"
    19        },
    20        "input":{"shape":"CreateProjectRequest"},
    21        "output":{"shape":"CreateProjectResult"},
    22        "errors":[
    23          {"shape":"InternalFailureException"},
    24          {"shape":"ServiceUnavailableException"},
    25          {"shape":"UnauthorizedException"},
    26          {"shape":"TooManyRequestsException"},
    27          {"shape":"BadRequestException"},
    28          {"shape":"NotFoundException"},
    29          {"shape":"LimitExceededException"}
    30        ]
    31      },
    32      "DeleteProject":{
    33        "name":"DeleteProject",
    34        "http":{
    35          "method":"DELETE",
    36          "requestUri":"/projects/{projectId}"
    37        },
    38        "input":{"shape":"DeleteProjectRequest"},
    39        "output":{"shape":"DeleteProjectResult"},
    40        "errors":[
    41          {"shape":"InternalFailureException"},
    42          {"shape":"ServiceUnavailableException"},
    43          {"shape":"UnauthorizedException"},
    44          {"shape":"TooManyRequestsException"},
    45          {"shape":"NotFoundException"}
    46        ]
    47      },
    48      "DescribeBundle":{
    49        "name":"DescribeBundle",
    50        "http":{
    51          "method":"GET",
    52          "requestUri":"/bundles/{bundleId}"
    53        },
    54        "input":{"shape":"DescribeBundleRequest"},
    55        "output":{"shape":"DescribeBundleResult"},
    56        "errors":[
    57          {"shape":"InternalFailureException"},
    58          {"shape":"ServiceUnavailableException"},
    59          {"shape":"UnauthorizedException"},
    60          {"shape":"TooManyRequestsException"},
    61          {"shape":"BadRequestException"},
    62          {"shape":"NotFoundException"}
    63        ]
    64      },
    65      "DescribeProject":{
    66        "name":"DescribeProject",
    67        "http":{
    68          "method":"GET",
    69          "requestUri":"/project"
    70        },
    71        "input":{"shape":"DescribeProjectRequest"},
    72        "output":{"shape":"DescribeProjectResult"},
    73        "errors":[
    74          {"shape":"InternalFailureException"},
    75          {"shape":"ServiceUnavailableException"},
    76          {"shape":"UnauthorizedException"},
    77          {"shape":"TooManyRequestsException"},
    78          {"shape":"BadRequestException"},
    79          {"shape":"NotFoundException"}
    80        ]
    81      },
    82      "ExportBundle":{
    83        "name":"ExportBundle",
    84        "http":{
    85          "method":"POST",
    86          "requestUri":"/bundles/{bundleId}"
    87        },
    88        "input":{"shape":"ExportBundleRequest"},
    89        "output":{"shape":"ExportBundleResult"},
    90        "errors":[
    91          {"shape":"InternalFailureException"},
    92          {"shape":"ServiceUnavailableException"},
    93          {"shape":"UnauthorizedException"},
    94          {"shape":"TooManyRequestsException"},
    95          {"shape":"BadRequestException"},
    96          {"shape":"NotFoundException"}
    97        ]
    98      },
    99      "ExportProject":{
   100        "name":"ExportProject",
   101        "http":{
   102          "method":"POST",
   103          "requestUri":"/exports/{projectId}"
   104        },
   105        "input":{"shape":"ExportProjectRequest"},
   106        "output":{"shape":"ExportProjectResult"},
   107        "errors":[
   108          {"shape":"InternalFailureException"},
   109          {"shape":"ServiceUnavailableException"},
   110          {"shape":"UnauthorizedException"},
   111          {"shape":"TooManyRequestsException"},
   112          {"shape":"BadRequestException"},
   113          {"shape":"NotFoundException"}
   114        ]
   115      },
   116      "ListBundles":{
   117        "name":"ListBundles",
   118        "http":{
   119          "method":"GET",
   120          "requestUri":"/bundles"
   121        },
   122        "input":{"shape":"ListBundlesRequest"},
   123        "output":{"shape":"ListBundlesResult"},
   124        "errors":[
   125          {"shape":"InternalFailureException"},
   126          {"shape":"ServiceUnavailableException"},
   127          {"shape":"UnauthorizedException"},
   128          {"shape":"TooManyRequestsException"},
   129          {"shape":"BadRequestException"}
   130        ]
   131      },
   132      "ListProjects":{
   133        "name":"ListProjects",
   134        "http":{
   135          "method":"GET",
   136          "requestUri":"/projects"
   137        },
   138        "input":{"shape":"ListProjectsRequest"},
   139        "output":{"shape":"ListProjectsResult"},
   140        "errors":[
   141          {"shape":"InternalFailureException"},
   142          {"shape":"ServiceUnavailableException"},
   143          {"shape":"UnauthorizedException"},
   144          {"shape":"TooManyRequestsException"},
   145          {"shape":"BadRequestException"}
   146        ]
   147      },
   148      "UpdateProject":{
   149        "name":"UpdateProject",
   150        "http":{
   151          "method":"POST",
   152          "requestUri":"/update"
   153        },
   154        "input":{"shape":"UpdateProjectRequest"},
   155        "output":{"shape":"UpdateProjectResult"},
   156        "errors":[
   157          {"shape":"InternalFailureException"},
   158          {"shape":"ServiceUnavailableException"},
   159          {"shape":"UnauthorizedException"},
   160          {"shape":"TooManyRequestsException"},
   161          {"shape":"BadRequestException"},
   162          {"shape":"NotFoundException"},
   163          {"shape":"AccountActionRequiredException"},
   164          {"shape":"LimitExceededException"}
   165        ]
   166      }
   167    },
   168    "shapes":{
   169      "AccountActionRequiredException":{
   170        "type":"structure",
   171        "members":{
   172          "message":{"shape":"ErrorMessage"}
   173        },
   174        "error":{"httpStatusCode":403},
   175        "exception":true
   176      },
   177      "AttributeKey":{"type":"string"},
   178      "AttributeValue":{"type":"string"},
   179      "Attributes":{
   180        "type":"map",
   181        "key":{"shape":"AttributeKey"},
   182        "value":{"shape":"AttributeValue"}
   183      },
   184      "BadRequestException":{
   185        "type":"structure",
   186        "members":{
   187          "message":{"shape":"ErrorMessage"}
   188        },
   189        "error":{"httpStatusCode":400},
   190        "exception":true
   191      },
   192      "Boolean":{"type":"boolean"},
   193      "BundleDescription":{"type":"string"},
   194      "BundleDetails":{
   195        "type":"structure",
   196        "members":{
   197          "bundleId":{"shape":"BundleId"},
   198          "title":{"shape":"BundleTitle"},
   199          "version":{"shape":"BundleVersion"},
   200          "description":{"shape":"BundleDescription"},
   201          "iconUrl":{"shape":"IconUrl"},
   202          "availablePlatforms":{"shape":"Platforms"}
   203        }
   204      },
   205      "BundleId":{"type":"string"},
   206      "BundleList":{
   207        "type":"list",
   208        "member":{"shape":"BundleDetails"}
   209      },
   210      "BundleTitle":{"type":"string"},
   211      "BundleVersion":{"type":"string"},
   212      "ConsoleUrl":{"type":"string"},
   213      "Contents":{"type":"blob"},
   214      "CreateProjectRequest":{
   215        "type":"structure",
   216        "members":{
   217          "name":{
   218            "shape":"ProjectName",
   219            "location":"querystring",
   220            "locationName":"name"
   221          },
   222          "region":{
   223            "shape":"ProjectRegion",
   224            "location":"querystring",
   225            "locationName":"region"
   226          },
   227          "contents":{"shape":"Contents"},
   228          "snapshotId":{
   229            "shape":"SnapshotId",
   230            "location":"querystring",
   231            "locationName":"snapshotId"
   232          }
   233        },
   234        "payload":"contents"
   235      },
   236      "CreateProjectResult":{
   237        "type":"structure",
   238        "members":{
   239          "details":{"shape":"ProjectDetails"}
   240        }
   241      },
   242      "Date":{"type":"timestamp"},
   243      "DeleteProjectRequest":{
   244        "type":"structure",
   245        "required":["projectId"],
   246        "members":{
   247          "projectId":{
   248            "shape":"ProjectId",
   249            "location":"uri",
   250            "locationName":"projectId"
   251          }
   252        }
   253      },
   254      "DeleteProjectResult":{
   255        "type":"structure",
   256        "members":{
   257          "deletedResources":{"shape":"Resources"},
   258          "orphanedResources":{"shape":"Resources"}
   259        }
   260      },
   261      "DescribeBundleRequest":{
   262        "type":"structure",
   263        "required":["bundleId"],
   264        "members":{
   265          "bundleId":{
   266            "shape":"BundleId",
   267            "location":"uri",
   268            "locationName":"bundleId"
   269          }
   270        }
   271      },
   272      "DescribeBundleResult":{
   273        "type":"structure",
   274        "members":{
   275          "details":{"shape":"BundleDetails"}
   276        }
   277      },
   278      "DescribeProjectRequest":{
   279        "type":"structure",
   280        "required":["projectId"],
   281        "members":{
   282          "projectId":{
   283            "shape":"ProjectId",
   284            "location":"querystring",
   285            "locationName":"projectId"
   286          },
   287          "syncFromResources":{
   288            "shape":"Boolean",
   289            "location":"querystring",
   290            "locationName":"syncFromResources"
   291          }
   292        }
   293      },
   294      "DescribeProjectResult":{
   295        "type":"structure",
   296        "members":{
   297          "details":{"shape":"ProjectDetails"}
   298        }
   299      },
   300      "DownloadUrl":{"type":"string"},
   301      "ErrorMessage":{"type":"string"},
   302      "ExportBundleRequest":{
   303        "type":"structure",
   304        "required":["bundleId"],
   305        "members":{
   306          "bundleId":{
   307            "shape":"BundleId",
   308            "location":"uri",
   309            "locationName":"bundleId"
   310          },
   311          "projectId":{
   312            "shape":"ProjectId",
   313            "location":"querystring",
   314            "locationName":"projectId"
   315          },
   316          "platform":{
   317            "shape":"Platform",
   318            "location":"querystring",
   319            "locationName":"platform"
   320          }
   321        }
   322      },
   323      "ExportBundleResult":{
   324        "type":"structure",
   325        "members":{
   326          "downloadUrl":{"shape":"DownloadUrl"}
   327        }
   328      },
   329      "ExportProjectRequest":{
   330        "type":"structure",
   331        "required":["projectId"],
   332        "members":{
   333          "projectId":{
   334            "shape":"ProjectId",
   335            "location":"uri",
   336            "locationName":"projectId"
   337          }
   338        }
   339      },
   340      "ExportProjectResult":{
   341        "type":"structure",
   342        "members":{
   343          "downloadUrl":{"shape":"DownloadUrl"},
   344          "shareUrl":{"shape":"ShareUrl"},
   345          "snapshotId":{"shape":"SnapshotId"}
   346        }
   347      },
   348      "Feature":{"type":"string"},
   349      "IconUrl":{"type":"string"},
   350      "InternalFailureException":{
   351        "type":"structure",
   352        "members":{
   353          "message":{"shape":"ErrorMessage"}
   354        },
   355        "error":{"httpStatusCode":500},
   356        "exception":true,
   357        "fault":true
   358      },
   359      "LimitExceededException":{
   360        "type":"structure",
   361        "members":{
   362          "retryAfterSeconds":{
   363            "shape":"ErrorMessage",
   364            "location":"header",
   365            "locationName":"Retry-After"
   366          },
   367          "message":{"shape":"ErrorMessage"}
   368        },
   369        "error":{"httpStatusCode":429},
   370        "exception":true
   371      },
   372      "ListBundlesRequest":{
   373        "type":"structure",
   374        "members":{
   375          "maxResults":{
   376            "shape":"MaxResults",
   377            "location":"querystring",
   378            "locationName":"maxResults"
   379          },
   380          "nextToken":{
   381            "shape":"NextToken",
   382            "location":"querystring",
   383            "locationName":"nextToken"
   384          }
   385        }
   386      },
   387      "ListBundlesResult":{
   388        "type":"structure",
   389        "members":{
   390          "bundleList":{"shape":"BundleList"},
   391          "nextToken":{"shape":"NextToken"}
   392        }
   393      },
   394      "ListProjectsRequest":{
   395        "type":"structure",
   396        "members":{
   397          "maxResults":{
   398            "shape":"MaxResults",
   399            "location":"querystring",
   400            "locationName":"maxResults"
   401          },
   402          "nextToken":{
   403            "shape":"NextToken",
   404            "location":"querystring",
   405            "locationName":"nextToken"
   406          }
   407        }
   408      },
   409      "ListProjectsResult":{
   410        "type":"structure",
   411        "members":{
   412          "projects":{"shape":"ProjectSummaries"},
   413          "nextToken":{"shape":"NextToken"}
   414        }
   415      },
   416      "MaxResults":{"type":"integer"},
   417      "NextToken":{"type":"string"},
   418      "NotFoundException":{
   419        "type":"structure",
   420        "members":{
   421          "message":{"shape":"ErrorMessage"}
   422        },
   423        "error":{"httpStatusCode":404},
   424        "exception":true
   425      },
   426      "Platform":{
   427        "type":"string",
   428        "enum":[
   429          "OSX",
   430          "WINDOWS",
   431          "LINUX",
   432          "OBJC",
   433          "SWIFT",
   434          "ANDROID",
   435          "JAVASCRIPT"
   436        ]
   437      },
   438      "Platforms":{
   439        "type":"list",
   440        "member":{"shape":"Platform"}
   441      },
   442      "ProjectDetails":{
   443        "type":"structure",
   444        "members":{
   445          "name":{"shape":"ProjectName"},
   446          "projectId":{"shape":"ProjectId"},
   447          "region":{"shape":"ProjectRegion"},
   448          "state":{"shape":"ProjectState"},
   449          "createdDate":{"shape":"Date"},
   450          "lastUpdatedDate":{"shape":"Date"},
   451          "consoleUrl":{"shape":"ConsoleUrl"},
   452          "resources":{"shape":"Resources"}
   453        }
   454      },
   455      "ProjectId":{"type":"string"},
   456      "ProjectName":{"type":"string"},
   457      "ProjectRegion":{"type":"string"},
   458      "ProjectState":{
   459        "type":"string",
   460        "enum":[
   461          "NORMAL",
   462          "SYNCING",
   463          "IMPORTING"
   464        ]
   465      },
   466      "ProjectSummaries":{
   467        "type":"list",
   468        "member":{"shape":"ProjectSummary"}
   469      },
   470      "ProjectSummary":{
   471        "type":"structure",
   472        "members":{
   473          "name":{"shape":"ProjectName"},
   474          "projectId":{"shape":"ProjectId"}
   475        }
   476      },
   477      "Resource":{
   478        "type":"structure",
   479        "members":{
   480          "type":{"shape":"ResourceType"},
   481          "name":{"shape":"ResourceName"},
   482          "arn":{"shape":"ResourceArn"},
   483          "feature":{"shape":"Feature"},
   484          "attributes":{"shape":"Attributes"}
   485        }
   486      },
   487      "ResourceArn":{"type":"string"},
   488      "ResourceName":{"type":"string"},
   489      "ResourceType":{"type":"string"},
   490      "Resources":{
   491        "type":"list",
   492        "member":{"shape":"Resource"}
   493      },
   494      "ServiceUnavailableException":{
   495        "type":"structure",
   496        "members":{
   497          "retryAfterSeconds":{
   498            "shape":"ErrorMessage",
   499            "location":"header",
   500            "locationName":"Retry-After"
   501          },
   502          "message":{"shape":"ErrorMessage"}
   503        },
   504        "error":{"httpStatusCode":503},
   505        "exception":true,
   506        "fault":true
   507      },
   508      "ShareUrl":{"type":"string"},
   509      "SnapshotId":{"type":"string"},
   510      "TooManyRequestsException":{
   511        "type":"structure",
   512        "members":{
   513          "retryAfterSeconds":{
   514            "shape":"ErrorMessage",
   515            "location":"header",
   516            "locationName":"Retry-After"
   517          },
   518          "message":{"shape":"ErrorMessage"}
   519        },
   520        "error":{"httpStatusCode":429},
   521        "exception":true
   522      },
   523      "UnauthorizedException":{
   524        "type":"structure",
   525        "members":{
   526          "message":{"shape":"ErrorMessage"}
   527        },
   528        "error":{"httpStatusCode":401},
   529        "exception":true
   530      },
   531      "UpdateProjectRequest":{
   532        "type":"structure",
   533        "required":["projectId"],
   534        "members":{
   535          "contents":{"shape":"Contents"},
   536          "projectId":{
   537            "shape":"ProjectId",
   538            "location":"querystring",
   539            "locationName":"projectId"
   540          }
   541        },
   542        "payload":"contents"
   543      },
   544      "UpdateProjectResult":{
   545        "type":"structure",
   546        "members":{
   547          "details":{"shape":"ProjectDetails"}
   548        }
   549      }
   550    }
   551  }