@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,128 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { AssociateCertificateRequest, AssociateCertificateResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link AssociateCertificateCommand}.
11
+ */
12
+ export interface AssociateCertificateCommandInput extends AssociateCertificateRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link AssociateCertificateCommand}.
18
+ */
19
+ export interface AssociateCertificateCommandOutput extends AssociateCertificateResponse, __MetadataBearer {
20
+ }
21
+ declare const AssociateCertificateCommand_base: {
22
+ new (input: AssociateCertificateCommandInput): import("@smithy/core/client").CommandImpl<AssociateCertificateCommandInput, AssociateCertificateCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateCertificateCommandInput): import("@smithy/core/client").CommandImpl<AssociateCertificateCommandInput, AssociateCertificateCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Associates an ACM certificate with 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, AssociateCertificateCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, AssociateCertificateCommand } = 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 = { // AssociateCertificateRequest
37
+ * proxyIdentifier: "STRING_VALUE", // required
38
+ * certificateIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new AssociateCertificateCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // AssociateCertificateResponse
43
+ * // certificateAssociation: { // CertificateAssociation
44
+ * // certificateArn: "STRING_VALUE", // required
45
+ * // status: { // CertificateAssociationStatus
46
+ * // code: "associate-in-progress" || "active" || "associate-failed" || "disassociate-in-progress" || "disassociated", // required
47
+ * // reasons: [ // CertificateAssociationStatusReasonList // required
48
+ * // { // CertificateAssociationStatusReason
49
+ * // code: "STRING_VALUE", // required
50
+ * // message: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // },
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param AssociateCertificateCommandInput - {@link AssociateCertificateCommandInput}
61
+ * @returns {@link AssociateCertificateCommandOutput}
62
+ * @see {@link AssociateCertificateCommandInput} for command's `input` shape.
63
+ * @see {@link AssociateCertificateCommandOutput} 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 ConflictException} (client fault)
70
+ * The request conflicts with the current state of the resource.
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * The request references a resource that does not exist.
74
+ *
75
+ * @throws {@link ServiceQuotaExceededException} (client fault)
76
+ * The request would cause a service quota to be exceeded.
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * The limit on the number of requests per second was exceeded.
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * The input does not satisfy the constraints specified by an AWS service.
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * An unexpected error occurred while processing the request.
86
+ *
87
+ * @throws {@link ELBProxyServiceException}
88
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
89
+ *
90
+ *
91
+ * @example To associate a certificate with a proxy
92
+ * ```javascript
93
+ * // The following example associates the specified ACM certificate with the specified proxy.
94
+ * const input = {
95
+ * certificateIdentifier: "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012",
96
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
97
+ * };
98
+ * const command = new AssociateCertificateCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * {
102
+ * certificateAssociation: {
103
+ * certificateArn: "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012",
104
+ * createdAt: 1795195800,
105
+ * status: {
106
+ * code: "associate-in-progress",
107
+ * reasons: []
108
+ * }
109
+ * }
110
+ * }
111
+ * *\/
112
+ * ```
113
+ *
114
+ * @public
115
+ */
116
+ export declare class AssociateCertificateCommand extends AssociateCertificateCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: AssociateCertificateRequest;
121
+ output: AssociateCertificateResponse;
122
+ };
123
+ sdk: {
124
+ input: AssociateCertificateCommandInput;
125
+ output: AssociateCertificateCommandOutput;
126
+ };
127
+ };
128
+ }
@@ -0,0 +1,280 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateProxyRequest, CreateProxyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateProxyCommand}.
11
+ */
12
+ export interface CreateProxyCommandInput extends CreateProxyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateProxyCommand}.
18
+ */
19
+ export interface CreateProxyCommandOutput extends CreateProxyResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateProxyCommand_base: {
22
+ new (input: CreateProxyCommandInput): import("@smithy/core/client").CommandImpl<CreateProxyCommandInput, CreateProxyCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateProxyCommandInput): import("@smithy/core/client").CommandImpl<CreateProxyCommandInput, CreateProxyCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Creates a proxy. A proxy is a fully managed, Envoy-based proxy that runs your
28
+ * Envoy configuration on Amazon EC2 instances inside your own virtual private
29
+ * cloud (VPC). AWS provisions and scales the proxy, upgrades the Envoy version,
30
+ * patches the operating system, and monitors its health.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ELBProxyClient, CreateProxyCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
35
+ * // const { ELBProxyClient, CreateProxyCommand } = 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 = { // CreateProxyRequest
40
+ * name: "STRING_VALUE", // required
41
+ * type: "envoy", // required
42
+ * proxyVersion: "STRING_VALUE", // required
43
+ * roleArn: "STRING_VALUE", // required
44
+ * configuration: { // ProxyConfiguration
45
+ * configurationFile: { // ConfigurationFile
46
+ * configurationBytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
47
+ * },
48
+ * configurationArchive: { // ConfigurationArchive
49
+ * configurationBytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
50
+ * },
51
+ * },
52
+ * networkConfiguration: { // ProxyNetworkUserConfiguration
53
+ * ipConfiguration: { // ProxyIpConfiguration
54
+ * ipAddressingConfiguration: { // ProxyIpAddressingConfiguration
55
+ * ipv4Addressability: "off" || "internet-facing" || "internal", // required
56
+ * ipv6Addressability: "off" || "internet-facing" || "internal", // required
57
+ * },
58
+ * },
59
+ * vpcConfiguration: { // ProxyVpcUserConfiguration
60
+ * subnets: [ // SubnetDetailsList // required
61
+ * { // SubnetDetails
62
+ * subnetId: "STRING_VALUE", // required
63
+ * },
64
+ * ],
65
+ * securityGroups: [ // SecurityGroupDetailsList // required
66
+ * { // SecurityGroupDetails
67
+ * securityGroupId: "STRING_VALUE", // required
68
+ * },
69
+ * ],
70
+ * },
71
+ * },
72
+ * attributes: [ // ProxyAttributeList
73
+ * { // Attribute
74
+ * key: "STRING_VALUE", // required
75
+ * value: "STRING_VALUE", // required
76
+ * },
77
+ * ],
78
+ * customerKmsKeyArn: "STRING_VALUE",
79
+ * tags: { // TagMap
80
+ * "<keys>": "STRING_VALUE",
81
+ * },
82
+ * clientToken: "STRING_VALUE",
83
+ * };
84
+ * const command = new CreateProxyCommand(input);
85
+ * const response = await client.send(command);
86
+ * // { // CreateProxyResponse
87
+ * // arn: "STRING_VALUE",
88
+ * // name: "STRING_VALUE",
89
+ * // type: "envoy",
90
+ * // proxyVersion: "STRING_VALUE",
91
+ * // dnsName: "STRING_VALUE",
92
+ * // roleArn: "STRING_VALUE",
93
+ * // networkConfiguration: { // ProxyNetworkConfiguration
94
+ * // ipConfiguration: { // ProxyIpConfiguration
95
+ * // ipAddressingConfiguration: { // ProxyIpAddressingConfiguration
96
+ * // ipv4Addressability: "off" || "internet-facing" || "internal", // required
97
+ * // ipv6Addressability: "off" || "internet-facing" || "internal", // required
98
+ * // },
99
+ * // },
100
+ * // vpcConfiguration: { // ProxyVpcConfiguration
101
+ * // vpcId: "STRING_VALUE",
102
+ * // availabilityZones: [ // SubnetAndZoneList // required
103
+ * // { // SubnetAndZone
104
+ * // subnetId: "STRING_VALUE", // required
105
+ * // zoneId: "STRING_VALUE", // required
106
+ * // zoneName: "STRING_VALUE",
107
+ * // },
108
+ * // ],
109
+ * // securityGroups: [ // SecurityGroupDetailsList // required
110
+ * // { // SecurityGroupDetails
111
+ * // securityGroupId: "STRING_VALUE", // required
112
+ * // },
113
+ * // ],
114
+ * // },
115
+ * // },
116
+ * // status: { // ProxyStatus
117
+ * // code: "action-required" || "active" || "create-failed" || "create-in-progress" || "deleted" || "delete-in-progress" || "update-in-progress" || "cancel-update-in-progress", // required
118
+ * // reasons: [ // ProxyStatusReasonList // required
119
+ * // { // ProxyStatusReason
120
+ * // code: "STRING_VALUE", // required
121
+ * // target: "STRING_VALUE",
122
+ * // message: "STRING_VALUE",
123
+ * // },
124
+ * // ],
125
+ * // },
126
+ * // configurationMetadata: { // ConfigurationMetadata
127
+ * // configFileHash: "STRING_VALUE",
128
+ * // configArchiveHash: "STRING_VALUE",
129
+ * // configFileLastUpdatedAt: new Date("TIMESTAMP"),
130
+ * // configArchiveLastUpdatedAt: new Date("TIMESTAMP"),
131
+ * // },
132
+ * // createdAt: new Date("TIMESTAMP"),
133
+ * // customerKmsKeyArn: "STRING_VALUE",
134
+ * // };
135
+ *
136
+ * ```
137
+ *
138
+ * @param CreateProxyCommandInput - {@link CreateProxyCommandInput}
139
+ * @returns {@link CreateProxyCommandOutput}
140
+ * @see {@link CreateProxyCommandInput} for command's `input` shape.
141
+ * @see {@link CreateProxyCommandOutput} for command's `response` shape.
142
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
143
+ *
144
+ * @throws {@link AccessDeniedException} (client fault)
145
+ * The user does not have sufficient access to perform this action.
146
+ *
147
+ * @throws {@link ConflictException} (client fault)
148
+ * The request conflicts with the current state of the resource.
149
+ *
150
+ * @throws {@link OperationNotPermittedException} (client fault)
151
+ * The requested operation is not permitted.
152
+ *
153
+ * @throws {@link ServiceQuotaExceededException} (client fault)
154
+ * The request would cause a service quota to be exceeded.
155
+ *
156
+ * @throws {@link ThrottlingException} (client fault)
157
+ * The limit on the number of requests per second was exceeded.
158
+ *
159
+ * @throws {@link ValidationException} (client fault)
160
+ * The input does not satisfy the constraints specified by an AWS service.
161
+ *
162
+ * @throws {@link InternalServerException} (server fault)
163
+ * An unexpected error occurred while processing the request.
164
+ *
165
+ * @throws {@link ELBProxyServiceException}
166
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
167
+ *
168
+ *
169
+ * @example To create a proxy
170
+ * ```javascript
171
+ * // The following example creates a proxy with the specified name, Envoy version, IAM role, and configuration file. The proxy is internet-facing over IPv4, runs in the specified subnets with the specified security group, and has deletion protection enabled.
172
+ * const input = {
173
+ * attributes: [
174
+ * {
175
+ * key: "deletion_protection.enabled",
176
+ * value: "true"
177
+ * }
178
+ * ],
179
+ * configuration: {
180
+ * configurationFile: {
181
+ * configurationBytes: "c3RhdGljX3Jlc291cmNlczoge30K"
182
+ * }
183
+ * },
184
+ * name: "my-proxy",
185
+ * networkConfiguration: {
186
+ * ipConfiguration: {
187
+ * ipAddressingConfiguration: {
188
+ * ipv4Addressability: "internet-facing",
189
+ * ipv6Addressability: "off"
190
+ * }
191
+ * },
192
+ * vpcConfiguration: {
193
+ * securityGroups: [
194
+ * {
195
+ * securityGroupId: "sg-903004f8"
196
+ * }
197
+ * ],
198
+ * subnets: [
199
+ * {
200
+ * subnetId: "subnet-8360a9e7"
201
+ * },
202
+ * {
203
+ * subnetId: "subnet-b7d581c0"
204
+ * }
205
+ * ]
206
+ * }
207
+ * },
208
+ * proxyVersion: "1.40",
209
+ * roleArn: "arn:aws:iam::123456789012:role/my-proxy-role",
210
+ * tags: {
211
+ * Environment: "production"
212
+ * },
213
+ * type: "envoy"
214
+ * };
215
+ * const command = new CreateProxyCommand(input);
216
+ * const response = await client.send(command);
217
+ * /* response is
218
+ * {
219
+ * arn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef",
220
+ * configurationMetadata: {
221
+ * configFileHash: "6b9dfd96fbb077f7e4cabcb5c1be57761b474afc18499d77b6bd49cfb03b3466",
222
+ * configFileLastUpdatedAt: 1795194000
223
+ * },
224
+ * createdAt: 1795194000,
225
+ * dnsName: "my-proxy-1234567890.elb-proxy.us-east-1.on.aws",
226
+ * name: "my-proxy",
227
+ * networkConfiguration: {
228
+ * ipConfiguration: {
229
+ * ipAddressingConfiguration: {
230
+ * ipv4Addressability: "internet-facing",
231
+ * ipv6Addressability: "off"
232
+ * }
233
+ * },
234
+ * vpcConfiguration: {
235
+ * availabilityZones: [
236
+ * {
237
+ * subnetId: "subnet-8360a9e7",
238
+ * zoneId: "use1-az1",
239
+ * zoneName: "us-east-1a"
240
+ * },
241
+ * {
242
+ * subnetId: "subnet-b7d581c0",
243
+ * zoneId: "use1-az2",
244
+ * zoneName: "us-east-1b"
245
+ * }
246
+ * ],
247
+ * securityGroups: [
248
+ * {
249
+ * securityGroupId: "sg-903004f8"
250
+ * }
251
+ * ],
252
+ * vpcId: "vpc-1a2b3c4d"
253
+ * }
254
+ * },
255
+ * proxyVersion: "1.40",
256
+ * roleArn: "arn:aws:iam::123456789012:role/my-proxy-role",
257
+ * status: {
258
+ * code: "create-in-progress",
259
+ * reasons: []
260
+ * },
261
+ * type: "envoy"
262
+ * }
263
+ * *\/
264
+ * ```
265
+ *
266
+ * @public
267
+ */
268
+ export declare class CreateProxyCommand extends CreateProxyCommand_base {
269
+ /** @internal type navigation helper, not in runtime. */
270
+ protected static __types: {
271
+ api: {
272
+ input: CreateProxyRequest;
273
+ output: CreateProxyResponse;
274
+ };
275
+ sdk: {
276
+ input: CreateProxyCommandInput;
277
+ output: CreateProxyCommandOutput;
278
+ };
279
+ };
280
+ }
@@ -0,0 +1,114 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteProxyRequest, DeleteProxyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteProxyCommand}.
11
+ */
12
+ export interface DeleteProxyCommandInput extends DeleteProxyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteProxyCommand}.
18
+ */
19
+ export interface DeleteProxyCommandOutput extends DeleteProxyResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteProxyCommand_base: {
22
+ new (input: DeleteProxyCommandInput): import("@smithy/core/client").CommandImpl<DeleteProxyCommandInput, DeleteProxyCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteProxyCommandInput): import("@smithy/core/client").CommandImpl<DeleteProxyCommandInput, DeleteProxyCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Deletes a proxy.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ELBProxyClient, DeleteProxyCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, DeleteProxyCommand } = 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 = { // DeleteProxyRequest
37
+ * proxyIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteProxyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteProxyResponse
42
+ * // arn: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // status: { // ProxyStatus
45
+ * // code: "action-required" || "active" || "create-failed" || "create-in-progress" || "deleted" || "delete-in-progress" || "update-in-progress" || "cancel-update-in-progress", // required
46
+ * // reasons: [ // ProxyStatusReasonList // required
47
+ * // { // ProxyStatusReason
48
+ * // code: "STRING_VALUE", // required
49
+ * // target: "STRING_VALUE",
50
+ * // message: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // },
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param DeleteProxyCommandInput - {@link DeleteProxyCommandInput}
59
+ * @returns {@link DeleteProxyCommandOutput}
60
+ * @see {@link DeleteProxyCommandInput} for command's `input` shape.
61
+ * @see {@link DeleteProxyCommandOutput} for command's `response` shape.
62
+ * @see {@link ELBProxyClientResolvedConfig | config} for ELBProxyClient's `config` shape.
63
+ *
64
+ * @throws {@link OperationNotPermittedException} (client fault)
65
+ * The requested operation is not permitted.
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * The input does not satisfy the constraints specified by an AWS service.
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * An unexpected error occurred while processing the request.
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * The limit on the number of requests per second was exceeded.
75
+ *
76
+ * @throws {@link ELBProxyServiceException}
77
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
78
+ *
79
+ *
80
+ * @example To delete a proxy
81
+ * ```javascript
82
+ * // The following example deletes the specified proxy. You must turn off deletion protection before you can delete a proxy.
83
+ * const input = {
84
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
85
+ * };
86
+ * const command = new DeleteProxyCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * {
90
+ * arn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef",
91
+ * name: "my-proxy",
92
+ * status: {
93
+ * code: "delete-in-progress",
94
+ * reasons: []
95
+ * }
96
+ * }
97
+ * *\/
98
+ * ```
99
+ *
100
+ * @public
101
+ */
102
+ export declare class DeleteProxyCommand extends DeleteProxyCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: DeleteProxyRequest;
107
+ output: DeleteProxyResponse;
108
+ };
109
+ sdk: {
110
+ input: DeleteProxyCommandInput;
111
+ output: DeleteProxyCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -0,0 +1,125 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DisassociateCertificateRequest, DisassociateCertificateResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DisassociateCertificateCommand}.
11
+ */
12
+ export interface DisassociateCertificateCommandInput extends DisassociateCertificateRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DisassociateCertificateCommand}.
18
+ */
19
+ export interface DisassociateCertificateCommandOutput extends DisassociateCertificateResponse, __MetadataBearer {
20
+ }
21
+ declare const DisassociateCertificateCommand_base: {
22
+ new (input: DisassociateCertificateCommandInput): import("@smithy/core/client").CommandImpl<DisassociateCertificateCommandInput, DisassociateCertificateCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisassociateCertificateCommandInput): import("@smithy/core/client").CommandImpl<DisassociateCertificateCommandInput, DisassociateCertificateCommandOutput, import("..").ELBProxyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Disassociates an ACM certificate from 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, DisassociateCertificateCommand } from "@aws-sdk/client-elb-proxy"; // ES Modules import
32
+ * // const { ELBProxyClient, DisassociateCertificateCommand } = 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 = { // DisassociateCertificateRequest
37
+ * proxyIdentifier: "STRING_VALUE", // required
38
+ * certificateIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DisassociateCertificateCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DisassociateCertificateResponse
43
+ * // certificateAssociation: { // CertificateAssociation
44
+ * // certificateArn: "STRING_VALUE", // required
45
+ * // status: { // CertificateAssociationStatus
46
+ * // code: "associate-in-progress" || "active" || "associate-failed" || "disassociate-in-progress" || "disassociated", // required
47
+ * // reasons: [ // CertificateAssociationStatusReasonList // required
48
+ * // { // CertificateAssociationStatusReason
49
+ * // code: "STRING_VALUE", // required
50
+ * // message: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // },
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DisassociateCertificateCommandInput - {@link DisassociateCertificateCommandInput}
61
+ * @returns {@link DisassociateCertificateCommandOutput}
62
+ * @see {@link DisassociateCertificateCommandInput} for command's `input` shape.
63
+ * @see {@link DisassociateCertificateCommandOutput} 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 ConflictException} (client fault)
70
+ * The request conflicts with the current state of the resource.
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * The request references a resource that does not exist.
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * The limit on the number of requests per second was exceeded.
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * The input does not satisfy the constraints specified by an AWS service.
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * An unexpected error occurred while processing the request.
83
+ *
84
+ * @throws {@link ELBProxyServiceException}
85
+ * <p>Base exception class for all service exceptions from ELBProxy service.</p>
86
+ *
87
+ *
88
+ * @example To disassociate a certificate from a proxy
89
+ * ```javascript
90
+ * // The following example disassociates the specified ACM certificate from the specified proxy.
91
+ * const input = {
92
+ * certificateIdentifier: "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012",
93
+ * proxyIdentifier: "arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef"
94
+ * };
95
+ * const command = new DisassociateCertificateCommand(input);
96
+ * const response = await client.send(command);
97
+ * /* response is
98
+ * {
99
+ * certificateAssociation: {
100
+ * certificateArn: "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012",
101
+ * createdAt: 1795195800,
102
+ * status: {
103
+ * code: "disassociate-in-progress",
104
+ * reasons: []
105
+ * }
106
+ * }
107
+ * }
108
+ * *\/
109
+ * ```
110
+ *
111
+ * @public
112
+ */
113
+ export declare class DisassociateCertificateCommand extends DisassociateCertificateCommand_base {
114
+ /** @internal type navigation helper, not in runtime. */
115
+ protected static __types: {
116
+ api: {
117
+ input: DisassociateCertificateRequest;
118
+ output: DisassociateCertificateResponse;
119
+ };
120
+ sdk: {
121
+ input: DisassociateCertificateCommandInput;
122
+ output: DisassociateCertificateCommandOutput;
123
+ };
124
+ };
125
+ }