python-botocore/botocore/data/apigatewaymanagementapi/2018-11-29/service-2.json

217 lines
7.3 KiB
JSON
Raw Normal View History

2018-12-28 08:05:06 +01:00
{
"metadata" : {
"apiVersion" : "2018-11-29",
"endpointPrefix" : "execute-api",
"signingName" : "execute-api",
"serviceFullName" : "AmazonApiGatewayManagementApi",
"serviceId" : "ApiGatewayManagementApi",
"protocol" : "rest-json",
"jsonVersion" : "1.1",
"uid" : "apigatewaymanagementapi-2018-11-29",
"signatureVersion" : "v4"
},
"operations" : {
2019-10-03 12:21:31 +02:00
"DeleteConnection" : {
"name" : "DeleteConnection",
"http" : {
"method" : "DELETE",
"requestUri" : "/@connections/{connectionId}",
"responseCode" : 204
},
"input" : {
"shape" : "DeleteConnectionRequest"
},
"errors" : [ {
"shape" : "GoneException",
"documentation" : "<p>The connection with the provided id no longer exists.</p>"
}, {
"shape" : "LimitExceededException",
"documentation" : "<p>The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.</p>"
}, {
"shape" : "ForbiddenException",
"documentation" : "<p>The caller is not authorized to invoke this operation.</p>"
} ],
"documentation" : "<p>Delete the connection with the provided id.</p>"
},
"GetConnection" : {
"name" : "GetConnection",
"http" : {
"method" : "GET",
"requestUri" : "/@connections/{connectionId}",
"responseCode" : 200
},
"input" : {
"shape" : "GetConnectionRequest"
},
"output" : {
"shape" : "GetConnectionResponse"
},
"errors" : [ {
"shape" : "GoneException",
"documentation" : "<p>The connection with the provided id no longer exists.</p>"
}, {
"shape" : "LimitExceededException",
"documentation" : "<p>The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.</p>"
}, {
"shape" : "ForbiddenException",
"documentation" : "<p>The caller is not authorized to invoke this operation.</p>"
} ],
"documentation" : "<p>Get information about the connection with the provided id.</p>"
},
2018-12-28 08:05:06 +01:00
"PostToConnection" : {
"name" : "PostToConnection",
"http" : {
"method" : "POST",
"requestUri" : "/@connections/{connectionId}",
"responseCode" : 200
},
"input" : {
"shape" : "PostToConnectionRequest"
},
"errors" : [ {
"shape" : "GoneException",
"documentation" : "<p>The connection with the provided id no longer exists.</p>"
}, {
"shape" : "LimitExceededException",
2019-10-03 12:21:31 +02:00
"documentation" : "<p>The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.</p>"
2018-12-28 08:05:06 +01:00
}, {
"shape" : "PayloadTooLargeException",
"documentation" : "<p>The data has exceeded the maximum size allowed.</p>"
}, {
"shape" : "ForbiddenException",
"documentation" : "<p>The caller is not authorized to invoke this operation.</p>"
} ],
"documentation" : "<p>Sends the provided data to the specified connection.</p>"
}
},
"shapes" : {
"Data" : {
"type" : "blob",
2019-02-27 08:30:11 +01:00
"max" : 131072,
2018-12-28 08:05:06 +01:00
"documentation" : "<p>The data to be sent to the client specified by its connection id.</p>"
},
2019-10-03 12:21:31 +02:00
"DeleteConnectionRequest" : {
"type" : "structure",
"members" : {
"ConnectionId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "connectionId"
}
},
"required" : [ "ConnectionId" ]
},
2018-12-28 08:05:06 +01:00
"ForbiddenException" : {
"type" : "structure",
"members" : { },
2019-10-03 12:21:31 +02:00
"documentation" : "<p>The caller is not authorized to invoke this operation.</p>",
2018-12-28 08:05:06 +01:00
"exception" : true,
"error" : {
"httpStatusCode" : 403
2019-10-03 12:21:31 +02:00
}
},
"GetConnectionRequest" : {
"type" : "structure",
"members" : {
"ConnectionId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "connectionId"
}
2018-12-28 08:05:06 +01:00
},
2019-10-03 12:21:31 +02:00
"required" : [ "ConnectionId" ]
},
"GetConnectionResponse" : {
"type" : "structure",
"members" : {
"ConnectedAt" : {
"shape" : "__timestampIso8601",
"locationName" : "connectedAt",
"documentation" : "<p>The time in ISO 8601 format for when the connection was established.</p>"
},
"Identity" : {
"shape" : "Identity",
"locationName" : "identity"
},
"LastActiveAt" : {
"shape" : "__timestampIso8601",
"locationName" : "lastActiveAt",
"documentation" : "<p>The time in ISO 8601 format for when the connection was last active.</p>"
}
}
2018-12-28 08:05:06 +01:00
},
"GoneException" : {
"type" : "structure",
"members" : { },
2019-10-03 12:21:31 +02:00
"documentation" : "<p>The connection with the provided id no longer exists.</p>",
2018-12-28 08:05:06 +01:00
"exception" : true,
"error" : {
"httpStatusCode" : 410
2019-10-03 12:21:31 +02:00
}
2018-12-28 08:05:06 +01:00
},
2019-10-03 12:21:31 +02:00
"Identity" : {
2018-12-28 08:05:06 +01:00
"type" : "structure",
2019-10-03 12:21:31 +02:00
"members" : {
"SourceIp" : {
"shape" : "__string",
"locationName" : "sourceIp",
"documentation" : "<p>The source IP address of the TCP connection making the request to API Gateway.</p>"
},
"UserAgent" : {
"shape" : "__string",
"locationName" : "userAgent",
"documentation" : "<p>The User Agent of the API caller.</p>"
}
2018-12-28 08:05:06 +01:00
},
2019-10-03 12:21:31 +02:00
"required" : [ "SourceIp", "UserAgent" ]
2018-12-28 08:05:06 +01:00
},
"PayloadTooLargeException" : {
"type" : "structure",
"members" : {
"Message" : {
"shape" : "__string",
"locationName" : "message"
}
},
2019-10-03 12:21:31 +02:00
"documentation" : "<p>The data has exceeded the maximum size allowed.</p>",
2018-12-28 08:05:06 +01:00
"exception" : true,
"error" : {
"httpStatusCode" : 413
2019-10-03 12:21:31 +02:00
}
2018-12-28 08:05:06 +01:00
},
"PostToConnectionRequest" : {
"type" : "structure",
"members" : {
"Data" : {
"shape" : "Data",
"documentation" : "<p>The data to be sent to the client specified by its connection id.</p>"
},
"ConnectionId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "connectionId",
"documentation" : "<p>The identifier of the connection that a specific client is using.</p>"
}
},
"required" : [ "ConnectionId", "Data" ],
"payload" : "Data"
},
2019-10-03 12:21:31 +02:00
"LimitExceededException" : {
"type" : "structure",
"members" : { },
"documentation" : "<p>The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.</p>",
"exception" : true,
"error" : {
"httpStatusCode" : 429
}
},
2018-12-28 08:05:06 +01:00
"__string" : {
"type" : "string"
2019-10-03 12:21:31 +02:00
},
"__timestampIso8601" : {
"type" : "timestamp",
"timestampFormat" : "iso8601"
2018-12-28 08:05:06 +01:00
}
},
"documentation" : "<p>The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.</p>"
2019-10-03 12:21:31 +02:00
}