@aws-sdk/util-create-request 3.410.0 → 3.415.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-create-request",
3
- "version": "3.410.0",
3
+ "version": "3.415.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,14 +21,14 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.410.0",
24
+ "@aws-sdk/types": "3.413.0",
25
25
  "@smithy/middleware-stack": "^2.0.0",
26
- "@smithy/smithy-client": "^2.1.3",
27
- "@smithy/types": "^2.3.0",
26
+ "@smithy/smithy-client": "^2.1.4",
27
+ "@smithy/types": "^2.3.1",
28
28
  "tslib": "^2.5.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@smithy/protocol-http": "^3.0.2",
31
+ "@smithy/protocol-http": "^3.0.3",
32
32
  "@tsconfig/recommended": "1.0.1",
33
33
  "@types/node": "^14.14.31",
34
34
  "concurrently": "7.0.0",
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.httpRequest = exports.operationCommand = exports.fooClient = void 0;
4
- const middleware_stack_1 = require("@smithy/middleware-stack");
5
- const protocol_http_1 = require("@smithy/protocol-http");
6
- const output = { Data: "data", $metadata: {} };
7
- const input = { String: "input" };
8
- exports.fooClient = {
9
- config: {},
10
- middlewareStack: (0, middleware_stack_1.constructStack)(),
11
- send: (command) => command.resolveMiddleware(exports.fooClient.middlewareStack, exports.fooClient.config, undefined)({ input }),
12
- destroy: () => { },
13
- };
14
- exports.operationCommand = {
15
- middlewareStack: (0, middleware_stack_1.constructStack)(),
16
- input: {},
17
- resolveMiddleware: (stack) => {
18
- const concatStack = stack.concat(exports.operationCommand.middlewareStack);
19
- return concatStack.resolve(() => Promise.resolve({ output, response: {} }), {});
20
- },
21
- };
22
- exports.httpRequest = new protocol_http_1.HttpRequest({
23
- protocol: "https:",
24
- path: "/foo",
25
- hostname: "foo-service.us-east-1.amazonaws.com",
26
- headers: {},
27
- method: "GET",
28
- body: "",
29
- });
@@ -1,26 +0,0 @@
1
- import { constructStack } from "@smithy/middleware-stack";
2
- import { HttpRequest } from "@smithy/protocol-http";
3
- const output = { Data: "data", $metadata: {} };
4
- const input = { String: "input" };
5
- export const fooClient = {
6
- config: {},
7
- middlewareStack: constructStack(),
8
- send: (command) => command.resolveMiddleware(fooClient.middlewareStack, fooClient.config, undefined)({ input }),
9
- destroy: () => { },
10
- };
11
- export const operationCommand = {
12
- middlewareStack: constructStack(),
13
- input: {},
14
- resolveMiddleware: (stack) => {
15
- const concatStack = stack.concat(operationCommand.middlewareStack);
16
- return concatStack.resolve(() => Promise.resolve({ output, response: {} }), {});
17
- },
18
- };
19
- export const httpRequest = new HttpRequest({
20
- protocol: "https:",
21
- path: "/foo",
22
- hostname: "foo-service.us-east-1.amazonaws.com",
23
- headers: {},
24
- method: "GET",
25
- body: "",
26
- });
@@ -1,15 +0,0 @@
1
- import { HttpRequest } from "@smithy/protocol-http";
2
- import { Client, Command } from "@smithy/smithy-client";
3
- import { MetadataBearer } from "@smithy/types";
4
- export interface OperationInput {
5
- String: string;
6
- }
7
- export type InputTypesUnion = OperationInput;
8
- export interface OperationOutput extends MetadataBearer {
9
- Data: string;
10
- $metadata: {};
11
- }
12
- export type OutputTypesUnion = OperationOutput;
13
- export declare const fooClient: Client<any, InputTypesUnion, OutputTypesUnion, any>;
14
- export declare const operationCommand: Command<InputTypesUnion, OutputTypesUnion, any, OperationInput, MetadataBearer>;
15
- export declare const httpRequest: HttpRequest;
@@ -1,26 +0,0 @@
1
- import { HttpRequest } from "@smithy/protocol-http";
2
- import { Client, Command } from "@smithy/smithy-client";
3
- import { MetadataBearer } from "@smithy/types";
4
- export interface OperationInput {
5
- String: string;
6
- }
7
- export type InputTypesUnion = OperationInput;
8
- export interface OperationOutput extends MetadataBearer {
9
- Data: string;
10
- $metadata: {};
11
- }
12
- export type OutputTypesUnion = OperationOutput;
13
- export declare const fooClient: Client<
14
- any,
15
- InputTypesUnion,
16
- OutputTypesUnion,
17
- any
18
- >;
19
- export declare const operationCommand: Command<
20
- InputTypesUnion,
21
- OutputTypesUnion,
22
- any,
23
- OperationInput,
24
- MetadataBearer
25
- >;
26
- export declare const httpRequest: HttpRequest;