-
Notifications
You must be signed in to change notification settings - Fork 680
Expand file tree
/
Copy pathEndpointWithHostLabelOperationCommand.ts
More file actions
85 lines (82 loc) · 3.11 KB
/
EndpointWithHostLabelOperationCommand.ts
File metadata and controls
85 lines (82 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { commonParams } from "../endpoint/EndpointParameters";
import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient";
import { HostLabelInput } from "../models/models_0";
import { EndpointWithHostLabelOperation } from "../schemas/schemas";
/**
* @public
*/
export type { __MetadataBearer };
export { $Command };
/**
* @public
*
* The input for {@link EndpointWithHostLabelOperationCommand}.
*/
export interface EndpointWithHostLabelOperationCommandInput extends HostLabelInput {}
/**
* @public
*
* The output of {@link EndpointWithHostLabelOperationCommand}.
*/
export interface EndpointWithHostLabelOperationCommandOutput extends __MetadataBearer {}
/**
* @public
*
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { JsonProtocolClient, EndpointWithHostLabelOperationCommand } from "@aws-sdk/aws-protocoltests-json-schema"; // ES Modules import
* // const { JsonProtocolClient, EndpointWithHostLabelOperationCommand } = require("@aws-sdk/aws-protocoltests-json-schema"); // CommonJS import
* const client = new JsonProtocolClient(config);
* const input = { // HostLabelInput
* label: "STRING_VALUE", // required
* };
* const command = new EndpointWithHostLabelOperationCommand(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param EndpointWithHostLabelOperationCommandInput - {@link EndpointWithHostLabelOperationCommandInput}
* @returns {@link EndpointWithHostLabelOperationCommandOutput}
* @see {@link EndpointWithHostLabelOperationCommandInput} for command's `input` shape.
* @see {@link EndpointWithHostLabelOperationCommandOutput} for command's `response` shape.
* @see {@link JsonProtocolClientResolvedConfig | config} for JsonProtocolClient's `config` shape.
*
* @throws {@link JsonProtocolServiceException}
* <p>Base exception class for all service exceptions from JsonProtocol service.</p>
*
*
*/
export class EndpointWithHostLabelOperationCommand extends $Command
.classBuilder<
EndpointWithHostLabelOperationCommandInput,
EndpointWithHostLabelOperationCommandOutput,
JsonProtocolClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: JsonProtocolClientResolvedConfig, o: any) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("JsonProtocol", "EndpointWithHostLabelOperation", {})
.n("JsonProtocolClient", "EndpointWithHostLabelOperationCommand")
.sc(EndpointWithHostLabelOperation)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
api: {
input: HostLabelInput;
output: {};
};
sdk: {
input: EndpointWithHostLabelOperationCommandInput;
output: EndpointWithHostLabelOperationCommandOutput;
};
};
}