@aws-sdk/client-elb-proxy 0.0.0-stage → 3.1178.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.
Files changed (151) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +311 -2
  3. package/dist-cjs/index.js +1474 -0
  4. package/dist-es/ELBProxy.js +61 -0
  5. package/dist-es/ELBProxyClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/AssociateCertificateCommand.js +4 -0
  10. package/dist-es/commands/CreateProxyCommand.js +4 -0
  11. package/dist-es/commands/DeleteProxyCommand.js +4 -0
  12. package/dist-es/commands/DisassociateCertificateCommand.js +4 -0
  13. package/dist-es/commands/GetProxyAttributesCommand.js +4 -0
  14. package/dist-es/commands/GetProxyCommand.js +4 -0
  15. package/dist-es/commands/GetProxyConfigurationContentsCommand.js +4 -0
  16. package/dist-es/commands/GetProxyUpdateCommand.js +4 -0
  17. package/dist-es/commands/ListCertificateAssociationsCommand.js +4 -0
  18. package/dist-es/commands/ListProxiesCommand.js +4 -0
  19. package/dist-es/commands/ListProxyUpdatesCommand.js +4 -0
  20. package/dist-es/commands/ListProxyVersionsCommand.js +4 -0
  21. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  22. package/dist-es/commands/TagResourceCommand.js +4 -0
  23. package/dist-es/commands/UntagResourceCommand.js +4 -0
  24. package/dist-es/commands/UpdateProxyAttributesCommand.js +4 -0
  25. package/dist-es/commands/UpdateProxyConfigurationCommand.js +4 -0
  26. package/dist-es/commands/UpdateProxyNetworkConfigurationCommand.js +4 -0
  27. package/dist-es/commands/index.js +18 -0
  28. package/dist-es/endpoint/EndpointParameters.js +11 -0
  29. package/dist-es/endpoint/bdd.js +29 -0
  30. package/dist-es/endpoint/endpointResolver.js +14 -0
  31. package/dist-es/extensionConfiguration.js +1 -0
  32. package/dist-es/index.js +11 -0
  33. package/dist-es/models/ELBProxyServiceException.js +9 -0
  34. package/dist-es/models/enums.js +45 -0
  35. package/dist-es/models/errors.js +130 -0
  36. package/dist-es/models/models_0.js +1 -0
  37. package/dist-es/pagination/Interfaces.js +1 -0
  38. package/dist-es/pagination/ListCertificateAssociationsPaginator.js +4 -0
  39. package/dist-es/pagination/ListProxiesPaginator.js +4 -0
  40. package/dist-es/pagination/ListProxyUpdatesPaginator.js +4 -0
  41. package/dist-es/pagination/ListProxyVersionsPaginator.js +4 -0
  42. package/dist-es/pagination/index.js +5 -0
  43. package/dist-es/runtimeConfig.browser.js +29 -0
  44. package/dist-es/runtimeConfig.js +44 -0
  45. package/dist-es/runtimeConfig.native.js +9 -0
  46. package/dist-es/runtimeConfig.shared.js +40 -0
  47. package/dist-es/runtimeExtensions.js +9 -0
  48. package/dist-es/schemas/schemas_0.js +655 -0
  49. package/dist-es/waiters/index.js +3 -0
  50. package/dist-es/waiters/waitForProxyActive.js +49 -0
  51. package/dist-es/waiters/waitForProxyDeleted.js +25 -0
  52. package/dist-es/waiters/waitForProxyUpdateComplete.js +67 -0
  53. package/dist-types/ELBProxy.d.ts +196 -0
  54. package/dist-types/ELBProxyClient.d.ts +210 -0
  55. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  56. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  57. package/dist-types/commandBuilder.d.ts +18 -0
  58. package/dist-types/commands/AssociateCertificateCommand.d.ts +128 -0
  59. package/dist-types/commands/CreateProxyCommand.d.ts +280 -0
  60. package/dist-types/commands/DeleteProxyCommand.d.ts +114 -0
  61. package/dist-types/commands/DisassociateCertificateCommand.d.ts +125 -0
  62. package/dist-types/commands/GetProxyAttributesCommand.d.ts +134 -0
  63. package/dist-types/commands/GetProxyCommand.d.ts +186 -0
  64. package/dist-types/commands/GetProxyConfigurationContentsCommand.d.ts +120 -0
  65. package/dist-types/commands/GetProxyUpdateCommand.d.ts +140 -0
  66. package/dist-types/commands/ListCertificateAssociationsCommand.d.ts +127 -0
  67. package/dist-types/commands/ListProxiesCommand.d.ts +127 -0
  68. package/dist-types/commands/ListProxyUpdatesCommand.d.ts +124 -0
  69. package/dist-types/commands/ListProxyVersionsCommand.d.ts +112 -0
  70. package/dist-types/commands/ListTagsForResourceCommand.d.ts +103 -0
  71. package/dist-types/commands/TagResourceCommand.d.ts +107 -0
  72. package/dist-types/commands/UntagResourceCommand.d.ts +103 -0
  73. package/dist-types/commands/UpdateProxyAttributesCommand.d.ts +299 -0
  74. package/dist-types/commands/UpdateProxyConfigurationCommand.d.ts +128 -0
  75. package/dist-types/commands/UpdateProxyNetworkConfigurationCommand.d.ts +204 -0
  76. package/dist-types/commands/index.d.ts +18 -0
  77. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  78. package/dist-types/endpoint/bdd.d.ts +2 -0
  79. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  80. package/dist-types/extensionConfiguration.d.ts +9 -0
  81. package/dist-types/index.d.ts +24 -0
  82. package/dist-types/models/ELBProxyServiceException.d.ts +15 -0
  83. package/dist-types/models/enums.d.ts +195 -0
  84. package/dist-types/models/errors.d.ts +143 -0
  85. package/dist-types/models/models_0.d.ts +1297 -0
  86. package/dist-types/pagination/Interfaces.d.ts +8 -0
  87. package/dist-types/pagination/ListCertificateAssociationsPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListProxiesPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListProxyUpdatesPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListProxyVersionsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/index.d.ts +5 -0
  92. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  93. package/dist-types/runtimeConfig.d.ts +58 -0
  94. package/dist-types/runtimeConfig.native.d.ts +56 -0
  95. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  96. package/dist-types/runtimeExtensions.d.ts +17 -0
  97. package/dist-types/schemas/schemas_0.d.ts +99 -0
  98. package/dist-types/ts3.4/ELBProxy.d.ts +351 -0
  99. package/dist-types/ts3.4/ELBProxyClient.d.ts +193 -0
  100. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  101. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  102. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  103. package/dist-types/ts3.4/commands/AssociateCertificateCommand.d.ts +39 -0
  104. package/dist-types/ts3.4/commands/CreateProxyCommand.d.ts +38 -0
  105. package/dist-types/ts3.4/commands/DeleteProxyCommand.d.ts +38 -0
  106. package/dist-types/ts3.4/commands/DisassociateCertificateCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/GetProxyAttributesCommand.d.ts +39 -0
  108. package/dist-types/ts3.4/commands/GetProxyCommand.d.ts +38 -0
  109. package/dist-types/ts3.4/commands/GetProxyConfigurationContentsCommand.d.ts +42 -0
  110. package/dist-types/ts3.4/commands/GetProxyUpdateCommand.d.ts +38 -0
  111. package/dist-types/ts3.4/commands/ListCertificateAssociationsCommand.d.ts +42 -0
  112. package/dist-types/ts3.4/commands/ListProxiesCommand.d.ts +38 -0
  113. package/dist-types/ts3.4/commands/ListProxyUpdatesCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/ListProxyVersionsCommand.d.ts +39 -0
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  118. package/dist-types/ts3.4/commands/UpdateProxyAttributesCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/UpdateProxyConfigurationCommand.d.ts +42 -0
  120. package/dist-types/ts3.4/commands/UpdateProxyNetworkConfigurationCommand.d.ts +42 -0
  121. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  122. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  123. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  124. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  125. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  126. package/dist-types/ts3.4/index.d.ts +14 -0
  127. package/dist-types/ts3.4/models/ELBProxyServiceException.d.ts +10 -0
  128. package/dist-types/ts3.4/models/enums.d.ts +58 -0
  129. package/dist-types/ts3.4/models/errors.d.ts +64 -0
  130. package/dist-types/ts3.4/models/models_0.d.ts +324 -0
  131. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  132. package/dist-types/ts3.4/pagination/ListCertificateAssociationsPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListProxiesPaginator.d.ts +8 -0
  134. package/dist-types/ts3.4/pagination/ListProxyUpdatesPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListProxyVersionsPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  137. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  138. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  139. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  140. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  141. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  142. package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
  143. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  144. package/dist-types/ts3.4/waiters/waitForProxyActive.d.ts +12 -0
  145. package/dist-types/ts3.4/waiters/waitForProxyDeleted.d.ts +13 -0
  146. package/dist-types/ts3.4/waiters/waitForProxyUpdateComplete.d.ts +15 -0
  147. package/dist-types/waiters/index.d.ts +3 -0
  148. package/dist-types/waiters/waitForProxyActive.d.ts +15 -0
  149. package/dist-types/waiters/waitForProxyDeleted.d.ts +16 -0
  150. package/dist-types/waiters/waitForProxyUpdateComplete.d.ts +15 -0
  151. package/package.json +67 -4
@@ -0,0 +1,107 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { TagResourceInput, TagResourceOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link TagResourceCommand}.
11
+ */
12
+ export interface TagResourceCommandInput extends TagResourceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link TagResourceCommand}.
18
+ */
19
+ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
20
+ }
21
+ declare const TagResourceCommand_base: {
22
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Adds the specified tags to the specified resource.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ELBProxyClient, TagResourceCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, TagResourceCommand } = require("@aws-sdk/client-elb-proxy"); // CommonJS import
33
+ * // import type { ELBProxyClientConfig } from "@aws-sdk/client-elb-proxy";
34
+ * const config = {}; // type is ELBProxyClientConfig
35
+ * const client = new ELBProxyClient(config);
36
+ * const input = { // TagResourceInput
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tags: { // TagMap // required
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * };
42
+ * const command = new TagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
49
+ * @returns {@link TagResourceCommandOutput}
50
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * The user does not have sufficient access to perform this action.
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * The request references a resource that does not exist.
59
+ *
60
+ * @throws {@link ServiceQuotaExceededException} (client fault)
61
+ * The request would cause a service quota to be exceeded.
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * The limit on the number of requests per second was exceeded.
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * The input does not satisfy the constraints specified by an AWS service.
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * An unexpected error occurred while processing the request.
71
+ *
72
+ * @throws {@link ELBProxyServiceException}
73
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
74
+ *
75
+ *
76
+ * @example To add tags to a proxy
77
+ * ```javascript
78
+ * // The following example adds the specified tags to the specified proxy.
79
+ * const input = {
80
+ * resourceArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef",
81
+ * tags: {
82
+ * Environment: "production",
83
+ * Team: "networking"
84
+ * }
85
+ * };
86
+ * const command = new TagResourceCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * { /* empty *\/ }
90
+ * *\/
91
+ * ```
92
+ *
93
+ * @public
94
+ */
95
+ export declare class TagResourceCommand extends TagResourceCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: TagResourceInput;
100
+ output: {};
101
+ };
102
+ sdk: {
103
+ input: TagResourceCommandInput;
104
+ output: TagResourceCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UntagResourceCommand}.
11
+ */
12
+ export interface UntagResourceCommandInput extends UntagResourceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UntagResourceCommand}.
18
+ */
19
+ export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
20
+ }
21
+ declare const UntagResourceCommand_base: {
22
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Removes the specified tags from the specified resource.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ELBProxyClient, UntagResourceCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, UntagResourceCommand } = require("@aws-sdk/client-elb-proxy"); // CommonJS import
33
+ * // import type { ELBProxyClientConfig } from "@aws-sdk/client-elb-proxy";
34
+ * const config = {}; // type is ELBProxyClientConfig
35
+ * const client = new ELBProxyClient(config);
36
+ * const input = { // UntagResourceInput
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tagKeys: [ // TagKeyList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new UntagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
49
+ * @returns {@link UntagResourceCommandOutput}
50
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * The user does not have sufficient access to perform this action.
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * The request references a resource that does not exist.
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * The limit on the number of requests per second was exceeded.
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * The input does not satisfy the constraints specified by an AWS service.
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * An unexpected error occurred while processing the request.
68
+ *
69
+ * @throws {@link ELBProxyServiceException}
70
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
71
+ *
72
+ *
73
+ * @example To remove tags from a proxy
74
+ * ```javascript
75
+ * // The following example removes the specified tags from the specified proxy.
76
+ * const input = {
77
+ * resourceArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef",
78
+ * tagKeys: [
79
+ * "Team"
80
+ * ]
81
+ * };
82
+ * const command = new UntagResourceCommand(input);
83
+ * const response = await client.send(command);
84
+ * /* response is
85
+ * { /* empty *\/ }
86
+ * *\/
87
+ * ```
88
+ *
89
+ * @public
90
+ */
91
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: UntagResourceInput;
96
+ output: {};
97
+ };
98
+ sdk: {
99
+ input: UntagResourceCommandInput;
100
+ output: UntagResourceCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,299 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateProxyAttributesRequest, UpdateProxyAttributesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateProxyAttributesCommand}.
11
+ */
12
+ export interface UpdateProxyAttributesCommandInput extends UpdateProxyAttributesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateProxyAttributesCommand}.
18
+ */
19
+ export interface UpdateProxyAttributesCommandOutput extends UpdateProxyAttributesResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateProxyAttributesCommand_base: {
22
+ new (input: UpdateProxyAttributesCommandInput): import("@smithy/core/client").CommandImpl<UpdateProxyAttributesCommandInput, UpdateProxyAttributesCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateProxyAttributesCommandInput): import("@smithy/core/client").CommandImpl<UpdateProxyAttributesCommandInput, UpdateProxyAttributesCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates the attributes for the specified proxy.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ELBProxyClient, UpdateProxyAttributesCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, UpdateProxyAttributesCommand } = require("@aws-sdk/client-elb-proxy"); // CommonJS import
33
+ * // import type { ELBProxyClientConfig } from "@aws-sdk/client-elb-proxy";
34
+ * const config = {}; // type is ELBProxyClientConfig
35
+ * const client = new ELBProxyClient(config);
36
+ * const input = { // UpdateProxyAttributesRequest
37
+ * proxyIdentifier: "STRING_VALUE", // required
38
+ * attributes: [ // ProxyAttributeList // required
39
+ * { // Attribute
40
+ * key: "STRING_VALUE", // required
41
+ * value: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * };
45
+ * const command = new UpdateProxyAttributesCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // UpdateProxyAttributesResponse
48
+ * // attributes: [ // ProxyAttributeDetailsList // required
49
+ * // { // AttributeDetails
50
+ * // key: "STRING_VALUE", // required
51
+ * // value: "STRING_VALUE", // required
52
+ * // defaultValue: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param UpdateProxyAttributesCommandInput - {@link UpdateProxyAttributesCommandInput}
60
+ * @returns {@link UpdateProxyAttributesCommandOutput}
61
+ * @see {@link UpdateProxyAttributesCommandInput} for command's `input` shape.
62
+ * @see {@link UpdateProxyAttributesCommandOutput} for command's `response` shape.
63
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * The request references a resource that does not exist.
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * The input does not satisfy the constraints specified by an AWS service.
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * An unexpected error occurred while processing the request.
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * The limit on the number of requests per second was exceeded.
76
+ *
77
+ * @throws {@link ELBProxyServiceException}
78
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
79
+ *
80
+ *
81
+ * @example To enable deletion protection
82
+ * ```javascript
83
+ * // The following example enables deletion protection for the specified proxy.
84
+ * const input = {
85
+ * attributes: [
86
+ * {
87
+ * key: "deletion_protection.enabled",
88
+ * value: "true"
89
+ * }
90
+ * ],
91
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
92
+ * };
93
+ * const command = new UpdateProxyAttributesCommand(input);
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * {
97
+ * attributes: [
98
+ * {
99
+ * defaultValue: "reactive",
100
+ * key: "ddos_protection.syn_cookie.mode",
101
+ * value: "reactive"
102
+ * },
103
+ * {
104
+ * defaultValue: "false",
105
+ * key: "deletion_protection.enabled",
106
+ * value: "true"
107
+ * },
108
+ * {
109
+ * defaultValue: "",
110
+ * key: "envoy.component_log_level",
111
+ * value: ""
112
+ * },
113
+ * {
114
+ * defaultValue: "warn",
115
+ * key: "envoy.log_level",
116
+ * value: "warn"
117
+ * },
118
+ * {
119
+ * defaultValue: "false",
120
+ * key: "waf.fail_open.enabled",
121
+ * value: "false"
122
+ * },
123
+ * {
124
+ * key: "waf.web_acl_arn",
125
+ * value: ""
126
+ * }
127
+ * ]
128
+ * }
129
+ * *\/
130
+ * ```
131
+ *
132
+ * @example To change the Envoy log level
133
+ * ```javascript
134
+ * // The following example changes the Envoy log level for the specified proxy to debug.
135
+ * const input = {
136
+ * attributes: [
137
+ * {
138
+ * key: "envoy.log_level",
139
+ * value: "debug"
140
+ * }
141
+ * ],
142
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
143
+ * };
144
+ * const command = new UpdateProxyAttributesCommand(input);
145
+ * const response = await client.send(command);
146
+ * /* response is
147
+ * {
148
+ * attributes: [
149
+ * {
150
+ * defaultValue: "reactive",
151
+ * key: "ddos_protection.syn_cookie.mode",
152
+ * value: "reactive"
153
+ * },
154
+ * {
155
+ * defaultValue: "false",
156
+ * key: "deletion_protection.enabled",
157
+ * value: "false"
158
+ * },
159
+ * {
160
+ * defaultValue: "",
161
+ * key: "envoy.component_log_level",
162
+ * value: ""
163
+ * },
164
+ * {
165
+ * defaultValue: "warn",
166
+ * key: "envoy.log_level",
167
+ * value: "debug"
168
+ * },
169
+ * {
170
+ * defaultValue: "false",
171
+ * key: "waf.fail_open.enabled",
172
+ * value: "false"
173
+ * },
174
+ * {
175
+ * key: "waf.web_acl_arn",
176
+ * value: ""
177
+ * }
178
+ * ]
179
+ * }
180
+ * *\/
181
+ * ```
182
+ *
183
+ * @example To change the log level for specific Envoy components
184
+ * ```javascript
185
+ * // The following example changes the log level for the http and router Envoy components on the specified proxy to debug. Components that aren't specified use the log level set by envoy.log_level.
186
+ * const input = {
187
+ * attributes: [
188
+ * {
189
+ * key: "envoy.component_log_level",
190
+ * value: "http:debug,router:debug"
191
+ * }
192
+ * ],
193
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
194
+ * };
195
+ * const command = new UpdateProxyAttributesCommand(input);
196
+ * const response = await client.send(command);
197
+ * /* response is
198
+ * {
199
+ * attributes: [
200
+ * {
201
+ * defaultValue: "reactive",
202
+ * key: "ddos_protection.syn_cookie.mode",
203
+ * value: "reactive"
204
+ * },
205
+ * {
206
+ * defaultValue: "false",
207
+ * key: "deletion_protection.enabled",
208
+ * value: "false"
209
+ * },
210
+ * {
211
+ * defaultValue: "",
212
+ * key: "envoy.component_log_level",
213
+ * value: "http:debug,router:debug"
214
+ * },
215
+ * {
216
+ * defaultValue: "warn",
217
+ * key: "envoy.log_level",
218
+ * value: "warn"
219
+ * },
220
+ * {
221
+ * defaultValue: "false",
222
+ * key: "waf.fail_open.enabled",
223
+ * value: "false"
224
+ * },
225
+ * {
226
+ * key: "waf.web_acl_arn",
227
+ * value: ""
228
+ * }
229
+ * ]
230
+ * }
231
+ * *\/
232
+ * ```
233
+ *
234
+ * @example To enable AWS WAF fail open
235
+ * ```javascript
236
+ * // The following example enables AWS WAF fail open for the specified proxy.
237
+ * const input = {
238
+ * attributes: [
239
+ * {
240
+ * key: "waf.fail_open.enabled",
241
+ * value: "true"
242
+ * }
243
+ * ],
244
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
245
+ * };
246
+ * const command = new UpdateProxyAttributesCommand(input);
247
+ * const response = await client.send(command);
248
+ * /* response is
249
+ * {
250
+ * attributes: [
251
+ * {
252
+ * defaultValue: "reactive",
253
+ * key: "ddos_protection.syn_cookie.mode",
254
+ * value: "reactive"
255
+ * },
256
+ * {
257
+ * defaultValue: "false",
258
+ * key: "deletion_protection.enabled",
259
+ * value: "false"
260
+ * },
261
+ * {
262
+ * defaultValue: "",
263
+ * key: "envoy.component_log_level",
264
+ * value: ""
265
+ * },
266
+ * {
267
+ * defaultValue: "warn",
268
+ * key: "envoy.log_level",
269
+ * value: "warn"
270
+ * },
271
+ * {
272
+ * defaultValue: "false",
273
+ * key: "waf.fail_open.enabled",
274
+ * value: "true"
275
+ * },
276
+ * {
277
+ * key: "waf.web_acl_arn",
278
+ * value: ""
279
+ * }
280
+ * ]
281
+ * }
282
+ * *\/
283
+ * ```
284
+ *
285
+ * @public
286
+ */
287
+ export declare class UpdateProxyAttributesCommand extends UpdateProxyAttributesCommand_base {
288
+ /** @internal type navigation helper, not in runtime. */
289
+ protected static __types: {
290
+ api: {
291
+ input: UpdateProxyAttributesRequest;
292
+ output: UpdateProxyAttributesResponse;
293
+ };
294
+ sdk: {
295
+ input: UpdateProxyAttributesCommandInput;
296
+ output: UpdateProxyAttributesCommandOutput;
297
+ };
298
+ };
299
+ }
@@ -0,0 +1,128 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateProxyConfigurationRequest, UpdateProxyConfigurationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateProxyConfigurationCommand}.
11
+ */
12
+ export interface UpdateProxyConfigurationCommandInput extends UpdateProxyConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateProxyConfigurationCommand}.
18
+ */
19
+ export interface UpdateProxyConfigurationCommandOutput extends UpdateProxyConfigurationResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateProxyConfigurationCommand_base: {
22
+ new (input: UpdateProxyConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateProxyConfigurationCommandInput, UpdateProxyConfigurationCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateProxyConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateProxyConfigurationCommandInput, UpdateProxyConfigurationCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates the configuration for the specified proxy. You can update the
28
+ * configuration file, the configuration archive, or both.
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { ELBProxyClient, UpdateProxyConfigurationCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
33
+ * // const { ELBProxyClient, UpdateProxyConfigurationCommand } = require("@aws-sdk/client-elb-proxy"); // CommonJS import
34
+ * // import type { ELBProxyClientConfig } from "@aws-sdk/client-elb-proxy";
35
+ * const config = {}; // type is ELBProxyClientConfig
36
+ * const client = new ELBProxyClient(config);
37
+ * const input = { // UpdateProxyConfigurationRequest
38
+ * proxyIdentifier: "STRING_VALUE", // required
39
+ * configurationFile: { // ConfigurationFile
40
+ * configurationBytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
41
+ * },
42
+ * configurationArchive: { // ConfigurationArchive
43
+ * configurationBytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
44
+ * },
45
+ * resetConfigurationArchive: true || false,
46
+ * customerKmsKeyArn: "STRING_VALUE",
47
+ * resetCustomerKmsKeyArn: true || false,
48
+ * };
49
+ * const command = new UpdateProxyConfigurationCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // UpdateProxyConfigurationResponse
52
+ * // configurationMetadata: { // ConfigurationMetadata
53
+ * // configFileHash: "STRING_VALUE",
54
+ * // configArchiveHash: "STRING_VALUE",
55
+ * // configFileLastUpdatedAt: new Date("TIMESTAMP"),
56
+ * // configArchiveLastUpdatedAt: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // updateId: "STRING_VALUE",
59
+ * // customerKmsKeyArn: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param UpdateProxyConfigurationCommandInput - {@link UpdateProxyConfigurationCommandInput}
65
+ * @returns {@link UpdateProxyConfigurationCommandOutput}
66
+ * @see {@link UpdateProxyConfigurationCommandInput} for command's `input` shape.
67
+ * @see {@link UpdateProxyConfigurationCommandOutput} for command's `response` shape.
68
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * The user does not have sufficient access to perform this action.
72
+ *
73
+ * @throws {@link PriorRequestNotCompletedException} (client fault)
74
+ * The request could not be completed because a prior request has not yet completed.
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * The request references a resource that does not exist.
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * The input does not satisfy the constraints specified by an AWS service.
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * An unexpected error occurred while processing the request.
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * The limit on the number of requests per second was exceeded.
87
+ *
88
+ * @throws {@link ELBProxyServiceException}
89
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
90
+ *
91
+ *
92
+ * @example To update the configuration for a proxy
93
+ * ```javascript
94
+ * // The following example replaces the configuration file for the specified proxy. You can use the update ID in the output to track the progress of the update.
95
+ * const input = {
96
+ * configurationFile: {
97
+ * configurationBytes: "c3RhdGljX3Jlc291cmNlczoKICBsaXN0ZW5lcnM6IFtdCg=="
98
+ * },
99
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
100
+ * };
101
+ * const command = new UpdateProxyConfigurationCommand(input);
102
+ * const response = await client.send(command);
103
+ * /* response is
104
+ * {
105
+ * configurationMetadata: {
106
+ * configFileHash: "29a5eb3bdf714ff29cc52e1a3723894b9f746416e1e541fddfad0a3963aed98c",
107
+ * configFileLastUpdatedAt: 1795197600
108
+ * },
109
+ * updateId: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
110
+ * }
111
+ * *\/
112
+ * ```
113
+ *
114
+ * @public
115
+ */
116
+ export declare class UpdateProxyConfigurationCommand extends UpdateProxyConfigurationCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: UpdateProxyConfigurationRequest;
121
+ output: UpdateProxyConfigurationResponse;
122
+ };
123
+ sdk: {
124
+ input: UpdateProxyConfigurationCommandInput;
125
+ output: UpdateProxyConfigurationCommandOutput;
126
+ };
127
+ };
128
+ }