RequestOptions: {
    body?: BodyInit;
    method?: HttpMethod;
    path?: string;
    queryParams?: Record<string, unknown>;
}

Request options that can be used to customize the request.

Type declaration

  • Optional body?: BodyInit

    The body of the request.

  • Optional method?: HttpMethod

    The HTTP method of the request.

    Example

    GET
    
  • Optional path?: string

    The path of the request.

    Example

    /point/2022-01-01:2022-01-03/@aws-lambda-powertools/logger
    
  • Optional queryParams?: Record<string, unknown>

    An object containing the query parameters of the request.

Generated using TypeDoc