get_api_inventory_item
¶
get_api_inventory_item(
method: HttpMethod,
host: Host,
port: int,
path: Path,
resource_arn: ResourceArn,
*,
config_overrides: Optional[APIPortalClientConfig] = None,
) -> GetApiInventoryItemResponse
Gets full details of a single API inventory item.
Parameters:
-
method(HttpMethod) –The HTTP method of the API.
-
port(int) –The port the API listens on, from 0 to 65535.
-
path(Path) –The request path of the API.
-
resource_arn(ResourceArn) –The ARN of the resource that serves the API, such as an API Gateway stage or a load balancer.
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
BadRequestException–The request is not valid. The message identifies the field or value that failed validation.
-
InternalServerException–The service encountered an internal error. Try the request again.
-
ResourceNotFoundException–The requested resource does not exist, or you do not have access to it.
-
UnknownServiceError–The service returned an error code this client does not model.