@aws-sdk/client-elb-proxy 0.0.0-stage → 3.1179.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,134 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetProxyAttributesRequest, GetProxyAttributesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetProxyAttributesCommand}.
11
+ */
12
+ export interface GetProxyAttributesCommandInput extends GetProxyAttributesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetProxyAttributesCommand}.
18
+ */
19
+ export interface GetProxyAttributesCommandOutput extends GetProxyAttributesResponse, __MetadataBearer {
20
+ }
21
+ declare const GetProxyAttributesCommand_base: {
22
+ new (input: GetProxyAttributesCommandInput): import("@smithy/core/client").CommandImpl<GetProxyAttributesCommandInput, GetProxyAttributesCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetProxyAttributesCommandInput): import("@smithy/core/client").CommandImpl<GetProxyAttributesCommandInput, GetProxyAttributesCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieves 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, GetProxyAttributesCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, GetProxyAttributesCommand } = 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 = { // GetProxyAttributesRequest
37
+ * proxyIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetProxyAttributesCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetProxyAttributesResponse
42
+ * // attributes: [ // ProxyAttributeDetailsList
43
+ * // { // AttributeDetails
44
+ * // key: "STRING_VALUE", // required
45
+ * // value: "STRING_VALUE", // required
46
+ * // defaultValue: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetProxyAttributesCommandInput - {@link GetProxyAttributesCommandInput}
54
+ * @returns {@link GetProxyAttributesCommandOutput}
55
+ * @see {@link GetProxyAttributesCommandInput} for command's `input` shape.
56
+ * @see {@link GetProxyAttributesCommandOutput} for command's `response` shape.
57
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * The request references a resource that does not exist.
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * The input does not satisfy the constraints specified by an AWS service.
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * An unexpected error occurred while processing the request.
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * The limit on the number of requests per second was exceeded.
70
+ *
71
+ * @throws {@link ELBProxyServiceException}
72
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
73
+ *
74
+ *
75
+ * @example To get the attributes for a proxy
76
+ * ```javascript
77
+ * // The following example gets the attributes for the specified proxy. The output includes the default value of each attribute that you can update.
78
+ * const input = {
79
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
80
+ * };
81
+ * const command = new GetProxyAttributesCommand(input);
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * {
85
+ * attributes: [
86
+ * {
87
+ * defaultValue: "reactive",
88
+ * key: "ddos_protection.syn_cookie.mode",
89
+ * value: "reactive"
90
+ * },
91
+ * {
92
+ * defaultValue: "false",
93
+ * key: "deletion_protection.enabled",
94
+ * value: "true"
95
+ * },
96
+ * {
97
+ * defaultValue: "",
98
+ * key: "envoy.component_log_level",
99
+ * value: ""
100
+ * },
101
+ * {
102
+ * defaultValue: "warn",
103
+ * key: "envoy.log_level",
104
+ * value: "warn"
105
+ * },
106
+ * {
107
+ * defaultValue: "false",
108
+ * key: "waf.fail_open.enabled",
109
+ * value: "false"
110
+ * },
111
+ * {
112
+ * key: "waf.web_acl_arn",
113
+ * value: ""
114
+ * }
115
+ * ]
116
+ * }
117
+ * *\/
118
+ * ```
119
+ *
120
+ * @public
121
+ */
122
+ export declare class GetProxyAttributesCommand extends GetProxyAttributesCommand_base {
123
+ /** @internal type navigation helper, not in runtime. */
124
+ protected static __types: {
125
+ api: {
126
+ input: GetProxyAttributesRequest;
127
+ output: GetProxyAttributesResponse;
128
+ };
129
+ sdk: {
130
+ input: GetProxyAttributesCommandInput;
131
+ output: GetProxyAttributesCommandOutput;
132
+ };
133
+ };
134
+ }
@@ -0,0 +1,186 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetProxyRequest, GetProxyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetProxyCommand}.
11
+ */
12
+ export interface GetProxyCommandInput extends GetProxyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetProxyCommand}.
18
+ */
19
+ export interface GetProxyCommandOutput extends GetProxyResponse, __MetadataBearer {
20
+ }
21
+ declare const GetProxyCommand_base: {
22
+ new (input: GetProxyCommandInput): import("@smithy/core/client").CommandImpl<GetProxyCommandInput, GetProxyCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetProxyCommandInput): import("@smithy/core/client").CommandImpl<GetProxyCommandInput, GetProxyCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieves information about 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, GetProxyCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, GetProxyCommand } = 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 = { // GetProxyRequest
37
+ * proxyIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetProxyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetProxyResponse
42
+ * // arn: "STRING_VALUE",
43
+ * // name: "STRING_VALUE",
44
+ * // type: "envoy",
45
+ * // proxyVersion: "STRING_VALUE",
46
+ * // dnsName: "STRING_VALUE",
47
+ * // roleArn: "STRING_VALUE",
48
+ * // networkConfiguration: { // ProxyNetworkConfiguration
49
+ * // ipConfiguration: { // ProxyIpConfiguration
50
+ * // ipAddressingConfiguration: { // ProxyIpAddressingConfiguration
51
+ * // ipv4Addressability: "off" || "internet-facing" || "internal", // required
52
+ * // ipv6Addressability: "off" || "internet-facing" || "internal", // required
53
+ * // },
54
+ * // },
55
+ * // vpcConfiguration: { // ProxyVpcConfiguration
56
+ * // vpcId: "STRING_VALUE",
57
+ * // availabilityZones: [ // SubnetAndZoneList // required
58
+ * // { // SubnetAndZone
59
+ * // subnetId: "STRING_VALUE", // required
60
+ * // zoneId: "STRING_VALUE", // required
61
+ * // zoneName: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // securityGroups: [ // SecurityGroupDetailsList // required
65
+ * // { // SecurityGroupDetails
66
+ * // securityGroupId: "STRING_VALUE", // required
67
+ * // },
68
+ * // ],
69
+ * // },
70
+ * // },
71
+ * // status: { // ProxyStatus
72
+ * // code: "action-required" || "active" || "create-failed" || "create-in-progress" || "deleted" || "delete-in-progress" || "update-in-progress" || "cancel-update-in-progress", // required
73
+ * // reasons: [ // ProxyStatusReasonList // required
74
+ * // { // ProxyStatusReason
75
+ * // code: "STRING_VALUE", // required
76
+ * // target: "STRING_VALUE",
77
+ * // message: "STRING_VALUE",
78
+ * // },
79
+ * // ],
80
+ * // },
81
+ * // configurationMetadata: { // ConfigurationMetadata
82
+ * // configFileHash: "STRING_VALUE",
83
+ * // configArchiveHash: "STRING_VALUE",
84
+ * // configFileLastUpdatedAt: new Date("TIMESTAMP"),
85
+ * // configArchiveLastUpdatedAt: new Date("TIMESTAMP"),
86
+ * // },
87
+ * // createdAt: new Date("TIMESTAMP"),
88
+ * // customerKmsKeyArn: "STRING_VALUE",
89
+ * // };
90
+ *
91
+ * ```
92
+ *
93
+ * @param GetProxyCommandInput - {@link GetProxyCommandInput}
94
+ * @returns {@link GetProxyCommandOutput}
95
+ * @see {@link GetProxyCommandInput} for command's `input` shape.
96
+ * @see {@link GetProxyCommandOutput} for command's `response` shape.
97
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
98
+ *
99
+ * @throws {@link ResourceNotFoundException} (client fault)
100
+ * The request references a resource that does not exist.
101
+ *
102
+ * @throws {@link ValidationException} (client fault)
103
+ * The input does not satisfy the constraints specified by an AWS service.
104
+ *
105
+ * @throws {@link InternalServerException} (server fault)
106
+ * An unexpected error occurred while processing the request.
107
+ *
108
+ * @throws {@link ThrottlingException} (client fault)
109
+ * The limit on the number of requests per second was exceeded.
110
+ *
111
+ * @throws {@link ELBProxyServiceException}
112
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
113
+ *
114
+ *
115
+ * @example To get information about a proxy
116
+ * ```javascript
117
+ * // The following example gets information about the specified proxy.
118
+ * const input = {
119
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
120
+ * };
121
+ * const command = new GetProxyCommand(input);
122
+ * const response = await client.send(command);
123
+ * /* response is
124
+ * {
125
+ * arn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef",
126
+ * configurationMetadata: {
127
+ * configFileHash: "6b9dfd96fbb077f7e4cabcb5c1be57761b474afc18499d77b6bd49cfb03b3466",
128
+ * configFileLastUpdatedAt: 1795194000
129
+ * },
130
+ * createdAt: 1795194000,
131
+ * dnsName: "my-proxy-1234567890.elb-proxy.us-east-1.on.aws",
132
+ * name: "my-proxy",
133
+ * networkConfiguration: {
134
+ * ipConfiguration: {
135
+ * ipAddressingConfiguration: {
136
+ * ipv4Addressability: "internet-facing",
137
+ * ipv6Addressability: "off"
138
+ * }
139
+ * },
140
+ * vpcConfiguration: {
141
+ * availabilityZones: [
142
+ * {
143
+ * subnetId: "subnet-8360a9e7",
144
+ * zoneId: "use1-az1",
145
+ * zoneName: "us-east-1a"
146
+ * },
147
+ * {
148
+ * subnetId: "subnet-b7d581c0",
149
+ * zoneId: "use1-az2",
150
+ * zoneName: "us-east-1b"
151
+ * }
152
+ * ],
153
+ * securityGroups: [
154
+ * {
155
+ * securityGroupId: "sg-903004f8"
156
+ * }
157
+ * ],
158
+ * vpcId: "vpc-1a2b3c4d"
159
+ * }
160
+ * },
161
+ * proxyVersion: "1.40",
162
+ * roleArn: "arn:aws:iam::123456789012:role/my-proxy-role",
163
+ * status: {
164
+ * code: "active",
165
+ * reasons: []
166
+ * },
167
+ * type: "envoy"
168
+ * }
169
+ * *\/
170
+ * ```
171
+ *
172
+ * @public
173
+ */
174
+ export declare class GetProxyCommand extends GetProxyCommand_base {
175
+ /** @internal type navigation helper, not in runtime. */
176
+ protected static __types: {
177
+ api: {
178
+ input: GetProxyRequest;
179
+ output: GetProxyResponse;
180
+ };
181
+ sdk: {
182
+ input: GetProxyCommandInput;
183
+ output: GetProxyCommandOutput;
184
+ };
185
+ };
186
+ }
@@ -0,0 +1,120 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetProxyConfigurationContentsRequest, GetProxyConfigurationContentsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetProxyConfigurationContentsCommand}.
11
+ */
12
+ export interface GetProxyConfigurationContentsCommandInput extends GetProxyConfigurationContentsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetProxyConfigurationContentsCommand}.
18
+ */
19
+ export interface GetProxyConfigurationContentsCommandOutput extends GetProxyConfigurationContentsResponse, __MetadataBearer {
20
+ }
21
+ declare const GetProxyConfigurationContentsCommand_base: {
22
+ new (input: GetProxyConfigurationContentsCommandInput): import("@smithy/core/client").CommandImpl<GetProxyConfigurationContentsCommandInput, GetProxyConfigurationContentsCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetProxyConfigurationContentsCommandInput): import("@smithy/core/client").CommandImpl<GetProxyConfigurationContentsCommandInput, GetProxyConfigurationContentsCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieves the configuration file, the configuration archive, or both for the
28
+ * specified proxy. This operation is separate from GetProxy so that you can
29
+ * grant access to proxy metadata without granting access to the configuration
30
+ * content.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ELBProxyClient, GetProxyConfigurationContentsCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
35
+ * // const { ELBProxyClient, GetProxyConfigurationContentsCommand } = require("@aws-sdk/client-elb-proxy"); // CommonJS import
36
+ * // import type { ELBProxyClientConfig } from "@aws-sdk/client-elb-proxy";
37
+ * const config = {}; // type is ELBProxyClientConfig
38
+ * const client = new ELBProxyClient(config);
39
+ * const input = { // GetProxyConfigurationContentsRequest
40
+ * proxyIdentifier: "STRING_VALUE", // required
41
+ * includeConfigFile: true || false,
42
+ * includeConfigArchive: true || false,
43
+ * };
44
+ * const command = new GetProxyConfigurationContentsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetProxyConfigurationContentsResponse
47
+ * // configurationFileContents: new Uint8Array(),
48
+ * // configurationArchiveContents: new Uint8Array(),
49
+ * // configurationMetadata: { // ConfigurationMetadata
50
+ * // configFileHash: "STRING_VALUE",
51
+ * // configArchiveHash: "STRING_VALUE",
52
+ * // configFileLastUpdatedAt: new Date("TIMESTAMP"),
53
+ * // configArchiveLastUpdatedAt: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // customerKmsKeyArn: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetProxyConfigurationContentsCommandInput - {@link GetProxyConfigurationContentsCommandInput}
61
+ * @returns {@link GetProxyConfigurationContentsCommandOutput}
62
+ * @see {@link GetProxyConfigurationContentsCommandInput} for command's `input` shape.
63
+ * @see {@link GetProxyConfigurationContentsCommandOutput} for command's `response` shape.
64
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * The user does not have sufficient access to perform this action.
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * The request references a resource that does not exist.
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * The input does not satisfy the constraints specified by an AWS service.
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * An unexpected error occurred while processing the request.
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * The limit on the number of requests per second was exceeded.
80
+ *
81
+ * @throws {@link ELBProxyServiceException}
82
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
83
+ *
84
+ *
85
+ * @example To get the configuration for a proxy
86
+ * ```javascript
87
+ * // The following example gets the configuration file for the specified proxy. The configuration archive isn't included.
88
+ * const input = {
89
+ * includeConfigArchive: false,
90
+ * includeConfigFile: true,
91
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
92
+ * };
93
+ * const command = new GetProxyConfigurationContentsCommand(input);
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * {
97
+ * configurationFileContents: "c3RhdGljX3Jlc291cmNlczoKICBsaXN0ZW5lcnM6IFtdCg==",
98
+ * configurationMetadata: {
99
+ * configFileHash: "29a5eb3bdf714ff29cc52e1a3723894b9f746416e1e541fddfad0a3963aed98c",
100
+ * configFileLastUpdatedAt: 1795197600
101
+ * }
102
+ * }
103
+ * *\/
104
+ * ```
105
+ *
106
+ * @public
107
+ */
108
+ export declare class GetProxyConfigurationContentsCommand extends GetProxyConfigurationContentsCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: GetProxyConfigurationContentsRequest;
113
+ output: GetProxyConfigurationContentsResponse;
114
+ };
115
+ sdk: {
116
+ input: GetProxyConfigurationContentsCommandInput;
117
+ output: GetProxyConfigurationContentsCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -0,0 +1,140 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetProxyUpdateRequest, GetProxyUpdateResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetProxyUpdateCommand}.
11
+ */
12
+ export interface GetProxyUpdateCommandInput extends GetProxyUpdateRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetProxyUpdateCommand}.
18
+ */
19
+ export interface GetProxyUpdateCommandOutput extends GetProxyUpdateResponse, __MetadataBearer {
20
+ }
21
+ declare const GetProxyUpdateCommand_base: {
22
+ new (input: GetProxyUpdateCommandInput): import("@smithy/core/client").CommandImpl<GetProxyUpdateCommandInput, GetProxyUpdateCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetProxyUpdateCommandInput): import("@smithy/core/client").CommandImpl<GetProxyUpdateCommandInput, GetProxyUpdateCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieves information about the specified proxy update.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ELBProxyClient, GetProxyUpdateCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, GetProxyUpdateCommand } = 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 = { // GetProxyUpdateRequest
37
+ * proxyIdentifier: "STRING_VALUE", // required
38
+ * updateIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetProxyUpdateCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetProxyUpdateResponse
43
+ * // proxyArn: "STRING_VALUE", // required
44
+ * // updateId: "STRING_VALUE", // required
45
+ * // state: { // ProxyUpdateState
46
+ * // validationStatus: "not-validated" || "valid" || "invalid", // required
47
+ * // propagationStatus: "in-progress" || "complete" || "skipped" || "failed" || "cancelled", // required
48
+ * // reasons: [ // ProxyUpdateStateReasonList
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // },
52
+ * // details: { // ProxyUpdateDetails Union: only one key present
53
+ * // configuration: { // ProxyConfigurationUpdateDetails
54
+ * // newConfigurationMetadata: { // ConfigurationMetadata
55
+ * // configFileHash: "STRING_VALUE",
56
+ * // configArchiveHash: "STRING_VALUE",
57
+ * // configFileLastUpdatedAt: new Date("TIMESTAMP"),
58
+ * // configArchiveLastUpdatedAt: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // },
61
+ * // },
62
+ * // submittedAt: new Date("TIMESTAMP"), // required
63
+ * // validatedAt: new Date("TIMESTAMP"),
64
+ * // completedAt: new Date("TIMESTAMP"),
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param GetProxyUpdateCommandInput - {@link GetProxyUpdateCommandInput}
70
+ * @returns {@link GetProxyUpdateCommandOutput}
71
+ * @see {@link GetProxyUpdateCommandInput} for command's `input` shape.
72
+ * @see {@link GetProxyUpdateCommandOutput} for command's `response` shape.
73
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * The user does not have sufficient access to perform this action.
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * The request references a resource that does not exist.
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * The limit on the number of requests per second was exceeded.
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * The input does not satisfy the constraints specified by an AWS service.
86
+ *
87
+ * @throws {@link InternalServerException} (server fault)
88
+ * An unexpected error occurred while processing the request.
89
+ *
90
+ * @throws {@link ELBProxyServiceException}
91
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
92
+ *
93
+ *
94
+ * @example To get information about a proxy update
95
+ * ```javascript
96
+ * // The following example gets information about the specified update for the specified proxy. The configuration is valid and was applied to all proxy nodes.
97
+ * const input = {
98
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef",
99
+ * updateIdentifier: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
100
+ * };
101
+ * const command = new GetProxyUpdateCommand(input);
102
+ * const response = await client.send(command);
103
+ * /* response is
104
+ * {
105
+ * completedAt: 1795197720,
106
+ * details: {
107
+ * configuration: {
108
+ * newConfigurationMetadata: {
109
+ * configFileHash: "29a5eb3bdf714ff29cc52e1a3723894b9f746416e1e541fddfad0a3963aed98c",
110
+ * configFileLastUpdatedAt: 1795197600
111
+ * }
112
+ * }
113
+ * },
114
+ * proxyArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef",
115
+ * state: {
116
+ * propagationStatus: "complete",
117
+ * validationStatus: "valid"
118
+ * },
119
+ * submittedAt: 1795197600,
120
+ * updateId: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
121
+ * validatedAt: 1795197660
122
+ * }
123
+ * *\/
124
+ * ```
125
+ *
126
+ * @public
127
+ */
128
+ export declare class GetProxyUpdateCommand extends GetProxyUpdateCommand_base {
129
+ /** @internal type navigation helper, not in runtime. */
130
+ protected static __types: {
131
+ api: {
132
+ input: GetProxyUpdateRequest;
133
+ output: GetProxyUpdateResponse;
134
+ };
135
+ sdk: {
136
+ input: GetProxyUpdateCommandInput;
137
+ output: GetProxyUpdateCommandOutput;
138
+ };
139
+ };
140
+ }