@aws-sdk/client-elastic-load-balancing-v2 3.616.0 → 3.620.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/index.js +245 -0
- package/dist-es/ElasticLoadBalancingV2.js +4 -0
- package/dist-es/commands/DeleteSharedTrustStoreAssociationCommand.js +24 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/protocols/Aws_query.js +142 -1
- package/dist-types/ElasticLoadBalancingV2.d.ts +14 -0
- package/dist-types/ElasticLoadBalancingV2Client.d.ts +4 -2
- package/dist-types/commands/CreateListenerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +80 -0
- package/dist-types/commands/DescribeListenersCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTrustStoresCommand.d.ts +1 -2
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +74 -0
- package/dist-types/commands/ModifyListenerCommand.d.ts +2 -0
- package/dist-types/commands/ModifyTrustStoreCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +101 -1
- package/dist-types/protocols/Aws_query.d.ts +18 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +40 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +48 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
- package/package.json +18 -18
|
@@ -239,6 +239,10 @@ export class CaCertificatesBundleNotFoundException extends __BaseException {
|
|
|
239
239
|
this.Message = opts.Message;
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
+
export const TrustStoreAssociationStatusEnum = {
|
|
243
|
+
ACTIVE: "active",
|
|
244
|
+
REMOVED: "removed",
|
|
245
|
+
};
|
|
242
246
|
export const ProtocolEnum = {
|
|
243
247
|
GENEVE: "GENEVE",
|
|
244
248
|
HTTP: "HTTP",
|
|
@@ -646,6 +650,32 @@ export class TooManyTrustStoresException extends __BaseException {
|
|
|
646
650
|
this.Message = opts.Message;
|
|
647
651
|
}
|
|
648
652
|
}
|
|
653
|
+
export class DeleteAssociationSameAccountException extends __BaseException {
|
|
654
|
+
constructor(opts) {
|
|
655
|
+
super({
|
|
656
|
+
name: "DeleteAssociationSameAccountException",
|
|
657
|
+
$fault: "client",
|
|
658
|
+
...opts,
|
|
659
|
+
});
|
|
660
|
+
this.name = "DeleteAssociationSameAccountException";
|
|
661
|
+
this.$fault = "client";
|
|
662
|
+
Object.setPrototypeOf(this, DeleteAssociationSameAccountException.prototype);
|
|
663
|
+
this.Message = opts.Message;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
export class TrustStoreAssociationNotFoundException extends __BaseException {
|
|
667
|
+
constructor(opts) {
|
|
668
|
+
super({
|
|
669
|
+
name: "TrustStoreAssociationNotFoundException",
|
|
670
|
+
$fault: "client",
|
|
671
|
+
...opts,
|
|
672
|
+
});
|
|
673
|
+
this.name = "TrustStoreAssociationNotFoundException";
|
|
674
|
+
this.$fault = "client";
|
|
675
|
+
Object.setPrototypeOf(this, TrustStoreAssociationNotFoundException.prototype);
|
|
676
|
+
this.Message = opts.Message;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
649
679
|
export class TrustStoreInUseException extends __BaseException {
|
|
650
680
|
constructor(opts) {
|
|
651
681
|
super({
|
|
@@ -725,6 +755,19 @@ export class RevocationIdNotFoundException extends __BaseException {
|
|
|
725
755
|
this.Message = opts.Message;
|
|
726
756
|
}
|
|
727
757
|
}
|
|
758
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
759
|
+
constructor(opts) {
|
|
760
|
+
super({
|
|
761
|
+
name: "ResourceNotFoundException",
|
|
762
|
+
$fault: "client",
|
|
763
|
+
...opts,
|
|
764
|
+
});
|
|
765
|
+
this.name = "ResourceNotFoundException";
|
|
766
|
+
this.$fault = "client";
|
|
767
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
768
|
+
this.Message = opts.Message;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
728
771
|
export const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
|
|
729
772
|
off: "off",
|
|
730
773
|
on: "on",
|
|
@@ -2,7 +2,7 @@ import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { ElasticLoadBalancingV2ServiceException as __BaseException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
5
|
-
import { AllocationIdNotFoundException, ALPNPolicyNotSupportedException, AvailabilityZoneNotSupportedException, CaCertificatesBundleNotFoundException, CertificateNotFoundException, DuplicateListenerException, DuplicateLoadBalancerNameException, DuplicateTagKeysException, DuplicateTargetGroupNameException, DuplicateTrustStoreNameException, HealthUnavailableException, IncompatibleProtocolsException, InvalidCaCertificatesBundleException, InvalidConfigurationRequestException, InvalidLoadBalancerActionException, InvalidRevocationContentException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, InvalidTargetException, ListenerNotFoundException, LoadBalancerNotFoundException, OperationNotPermittedException, PriorityInUseException, ResourceInUseException, RevocationContentNotFoundException, RevocationIdNotFoundException, RuleNotFoundException, SSLPolicyNotFoundException, SubnetNotFoundException, TargetGroupAssociationLimitException, TargetGroupNotFoundException, TooManyActionsException, TooManyCertificatesException, TooManyListenersException, TooManyLoadBalancersException, TooManyRegistrationsForTargetIdException, TooManyRulesException, TooManyTagsException, TooManyTargetGroupsException, TooManyTargetsException, TooManyTrustStoreRevocationEntriesException, TooManyTrustStoresException, TooManyUniqueTargetGroupsPerLoadBalancerException, TrustStoreInUseException, TrustStoreNotFoundException, TrustStoreNotReadyException, UnsupportedProtocolException, } from "../models/models_0";
|
|
5
|
+
import { AllocationIdNotFoundException, ALPNPolicyNotSupportedException, AvailabilityZoneNotSupportedException, CaCertificatesBundleNotFoundException, CertificateNotFoundException, DeleteAssociationSameAccountException, DuplicateListenerException, DuplicateLoadBalancerNameException, DuplicateTagKeysException, DuplicateTargetGroupNameException, DuplicateTrustStoreNameException, HealthUnavailableException, IncompatibleProtocolsException, InvalidCaCertificatesBundleException, InvalidConfigurationRequestException, InvalidLoadBalancerActionException, InvalidRevocationContentException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, InvalidTargetException, ListenerNotFoundException, LoadBalancerNotFoundException, OperationNotPermittedException, PriorityInUseException, ResourceInUseException, ResourceNotFoundException, RevocationContentNotFoundException, RevocationIdNotFoundException, RuleNotFoundException, SSLPolicyNotFoundException, SubnetNotFoundException, TargetGroupAssociationLimitException, TargetGroupNotFoundException, TooManyActionsException, TooManyCertificatesException, TooManyListenersException, TooManyLoadBalancersException, TooManyRegistrationsForTargetIdException, TooManyRulesException, TooManyTagsException, TooManyTargetGroupsException, TooManyTargetsException, TooManyTrustStoreRevocationEntriesException, TooManyTrustStoresException, TooManyUniqueTargetGroupsPerLoadBalancerException, TrustStoreAssociationNotFoundException, TrustStoreInUseException, TrustStoreNotFoundException, TrustStoreNotReadyException, UnsupportedProtocolException, } from "../models/models_0";
|
|
6
6
|
export const se_AddListenerCertificatesCommand = async (input, context) => {
|
|
7
7
|
const headers = SHARED_HEADERS;
|
|
8
8
|
let body;
|
|
@@ -113,6 +113,16 @@ export const se_DeleteRuleCommand = async (input, context) => {
|
|
|
113
113
|
});
|
|
114
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
115
115
|
};
|
|
116
|
+
export const se_DeleteSharedTrustStoreAssociationCommand = async (input, context) => {
|
|
117
|
+
const headers = SHARED_HEADERS;
|
|
118
|
+
let body;
|
|
119
|
+
body = buildFormUrlencodedString({
|
|
120
|
+
...se_DeleteSharedTrustStoreAssociationInput(input, context),
|
|
121
|
+
[_A]: _DSTSA,
|
|
122
|
+
[_V]: _,
|
|
123
|
+
});
|
|
124
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
+
};
|
|
116
126
|
export const se_DeleteTargetGroupCommand = async (input, context) => {
|
|
117
127
|
const headers = SHARED_HEADERS;
|
|
118
128
|
let body;
|
|
@@ -283,6 +293,16 @@ export const se_DescribeTrustStoresCommand = async (input, context) => {
|
|
|
283
293
|
});
|
|
284
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
285
295
|
};
|
|
296
|
+
export const se_GetResourcePolicyCommand = async (input, context) => {
|
|
297
|
+
const headers = SHARED_HEADERS;
|
|
298
|
+
let body;
|
|
299
|
+
body = buildFormUrlencodedString({
|
|
300
|
+
...se_GetResourcePolicyInput(input, context),
|
|
301
|
+
[_A]: _GRP,
|
|
302
|
+
[_V]: _,
|
|
303
|
+
});
|
|
304
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
+
};
|
|
286
306
|
export const se_GetTrustStoreCaCertificatesBundleCommand = async (input, context) => {
|
|
287
307
|
const headers = SHARED_HEADERS;
|
|
288
308
|
let body;
|
|
@@ -586,6 +606,19 @@ export const de_DeleteRuleCommand = async (output, context) => {
|
|
|
586
606
|
};
|
|
587
607
|
return response;
|
|
588
608
|
};
|
|
609
|
+
export const de_DeleteSharedTrustStoreAssociationCommand = async (output, context) => {
|
|
610
|
+
if (output.statusCode >= 300) {
|
|
611
|
+
return de_CommandError(output, context);
|
|
612
|
+
}
|
|
613
|
+
const data = await parseBody(output.body, context);
|
|
614
|
+
let contents = {};
|
|
615
|
+
contents = de_DeleteSharedTrustStoreAssociationOutput(data.DeleteSharedTrustStoreAssociationResult, context);
|
|
616
|
+
const response = {
|
|
617
|
+
$metadata: deserializeMetadata(output),
|
|
618
|
+
...contents,
|
|
619
|
+
};
|
|
620
|
+
return response;
|
|
621
|
+
};
|
|
589
622
|
export const de_DeleteTargetGroupCommand = async (output, context) => {
|
|
590
623
|
if (output.statusCode >= 300) {
|
|
591
624
|
return de_CommandError(output, context);
|
|
@@ -807,6 +840,19 @@ export const de_DescribeTrustStoresCommand = async (output, context) => {
|
|
|
807
840
|
};
|
|
808
841
|
return response;
|
|
809
842
|
};
|
|
843
|
+
export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
844
|
+
if (output.statusCode >= 300) {
|
|
845
|
+
return de_CommandError(output, context);
|
|
846
|
+
}
|
|
847
|
+
const data = await parseBody(output.body, context);
|
|
848
|
+
let contents = {};
|
|
849
|
+
contents = de_GetResourcePolicyOutput(data.GetResourcePolicyResult, context);
|
|
850
|
+
const response = {
|
|
851
|
+
$metadata: deserializeMetadata(output),
|
|
852
|
+
...contents,
|
|
853
|
+
};
|
|
854
|
+
return response;
|
|
855
|
+
};
|
|
810
856
|
export const de_GetTrustStoreCaCertificatesBundleCommand = async (output, context) => {
|
|
811
857
|
if (output.statusCode >= 300) {
|
|
812
858
|
return de_CommandError(output, context);
|
|
@@ -1154,6 +1200,12 @@ const de_CommandError = async (output, context) => {
|
|
|
1154
1200
|
case "TooManyTrustStores":
|
|
1155
1201
|
case "com.amazonaws.elasticloadbalancingv2#TooManyTrustStoresException":
|
|
1156
1202
|
throw await de_TooManyTrustStoresExceptionRes(parsedOutput, context);
|
|
1203
|
+
case "AssociationNotFound":
|
|
1204
|
+
case "com.amazonaws.elasticloadbalancingv2#TrustStoreAssociationNotFoundException":
|
|
1205
|
+
throw await de_TrustStoreAssociationNotFoundExceptionRes(parsedOutput, context);
|
|
1206
|
+
case "DeleteAssociationSameAccount":
|
|
1207
|
+
case "com.amazonaws.elasticloadbalancingv2#DeleteAssociationSameAccountException":
|
|
1208
|
+
throw await de_DeleteAssociationSameAccountExceptionRes(parsedOutput, context);
|
|
1157
1209
|
case "TrustStoreInUse":
|
|
1158
1210
|
case "com.amazonaws.elasticloadbalancingv2#TrustStoreInUseException":
|
|
1159
1211
|
throw await de_TrustStoreInUseExceptionRes(parsedOutput, context);
|
|
@@ -1166,6 +1218,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1166
1218
|
case "RevocationIdNotFound":
|
|
1167
1219
|
case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
|
|
1168
1220
|
throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
|
|
1221
|
+
case "ResourceNotFound":
|
|
1222
|
+
case "com.amazonaws.elasticloadbalancingv2#ResourceNotFoundException":
|
|
1223
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1169
1224
|
default:
|
|
1170
1225
|
const parsedBody = parsedOutput.body;
|
|
1171
1226
|
return throwDefaultError({
|
|
@@ -1220,6 +1275,15 @@ const de_CertificateNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1220
1275
|
});
|
|
1221
1276
|
return __decorateServiceException(exception, body);
|
|
1222
1277
|
};
|
|
1278
|
+
const de_DeleteAssociationSameAccountExceptionRes = async (parsedOutput, context) => {
|
|
1279
|
+
const body = parsedOutput.body;
|
|
1280
|
+
const deserialized = de_DeleteAssociationSameAccountException(body.Error, context);
|
|
1281
|
+
const exception = new DeleteAssociationSameAccountException({
|
|
1282
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1283
|
+
...deserialized,
|
|
1284
|
+
});
|
|
1285
|
+
return __decorateServiceException(exception, body);
|
|
1286
|
+
};
|
|
1223
1287
|
const de_DuplicateListenerExceptionRes = async (parsedOutput, context) => {
|
|
1224
1288
|
const body = parsedOutput.body;
|
|
1225
1289
|
const deserialized = de_DuplicateListenerException(body.Error, context);
|
|
@@ -1400,6 +1464,15 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
1400
1464
|
});
|
|
1401
1465
|
return __decorateServiceException(exception, body);
|
|
1402
1466
|
};
|
|
1467
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1468
|
+
const body = parsedOutput.body;
|
|
1469
|
+
const deserialized = de_ResourceNotFoundException(body.Error, context);
|
|
1470
|
+
const exception = new ResourceNotFoundException({
|
|
1471
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1472
|
+
...deserialized,
|
|
1473
|
+
});
|
|
1474
|
+
return __decorateServiceException(exception, body);
|
|
1475
|
+
};
|
|
1403
1476
|
const de_RevocationContentNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1404
1477
|
const body = parsedOutput.body;
|
|
1405
1478
|
const deserialized = de_RevocationContentNotFoundException(body.Error, context);
|
|
@@ -1571,6 +1644,15 @@ const de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes = async (parsedOut
|
|
|
1571
1644
|
});
|
|
1572
1645
|
return __decorateServiceException(exception, body);
|
|
1573
1646
|
};
|
|
1647
|
+
const de_TrustStoreAssociationNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1648
|
+
const body = parsedOutput.body;
|
|
1649
|
+
const deserialized = de_TrustStoreAssociationNotFoundException(body.Error, context);
|
|
1650
|
+
const exception = new TrustStoreAssociationNotFoundException({
|
|
1651
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1652
|
+
...deserialized,
|
|
1653
|
+
});
|
|
1654
|
+
return __decorateServiceException(exception, body);
|
|
1655
|
+
};
|
|
1574
1656
|
const de_TrustStoreInUseExceptionRes = async (parsedOutput, context) => {
|
|
1575
1657
|
const body = parsedOutput.body;
|
|
1576
1658
|
const deserialized = de_TrustStoreInUseException(body.Error, context);
|
|
@@ -2140,6 +2222,16 @@ const se_DeleteRuleInput = (input, context) => {
|
|
|
2140
2222
|
}
|
|
2141
2223
|
return entries;
|
|
2142
2224
|
};
|
|
2225
|
+
const se_DeleteSharedTrustStoreAssociationInput = (input, context) => {
|
|
2226
|
+
const entries = {};
|
|
2227
|
+
if (input[_TSA] != null) {
|
|
2228
|
+
entries[_TSA] = input[_TSA];
|
|
2229
|
+
}
|
|
2230
|
+
if (input[_RAe] != null) {
|
|
2231
|
+
entries[_RAe] = input[_RAe];
|
|
2232
|
+
}
|
|
2233
|
+
return entries;
|
|
2234
|
+
};
|
|
2143
2235
|
const se_DeleteTargetGroupInput = (input, context) => {
|
|
2144
2236
|
const entries = {};
|
|
2145
2237
|
if (input[_TGA] != null) {
|
|
@@ -2481,6 +2573,13 @@ const se_ForwardActionConfig = (input, context) => {
|
|
|
2481
2573
|
}
|
|
2482
2574
|
return entries;
|
|
2483
2575
|
};
|
|
2576
|
+
const se_GetResourcePolicyInput = (input, context) => {
|
|
2577
|
+
const entries = {};
|
|
2578
|
+
if (input[_RAe] != null) {
|
|
2579
|
+
entries[_RAe] = input[_RAe];
|
|
2580
|
+
}
|
|
2581
|
+
return entries;
|
|
2582
|
+
};
|
|
2484
2583
|
const se_GetTrustStoreCaCertificatesBundleInput = (input, context) => {
|
|
2485
2584
|
const entries = {};
|
|
2486
2585
|
if (input[_TSA] != null) {
|
|
@@ -2817,6 +2916,9 @@ const se_MutualAuthenticationAttributes = (input, context) => {
|
|
|
2817
2916
|
if (input[_ICCE] != null) {
|
|
2818
2917
|
entries[_ICCE] = input[_ICCE];
|
|
2819
2918
|
}
|
|
2919
|
+
if (input[_TSAS] != null) {
|
|
2920
|
+
entries[_TSAS] = input[_TSAS];
|
|
2921
|
+
}
|
|
2820
2922
|
return entries;
|
|
2821
2923
|
};
|
|
2822
2924
|
const se_PathPatternConditionConfig = (input, context) => {
|
|
@@ -3776,6 +3878,13 @@ const de_CreateTrustStoreOutput = (output, context) => {
|
|
|
3776
3878
|
}
|
|
3777
3879
|
return contents;
|
|
3778
3880
|
};
|
|
3881
|
+
const de_DeleteAssociationSameAccountException = (output, context) => {
|
|
3882
|
+
const contents = {};
|
|
3883
|
+
if (output[_Me] != null) {
|
|
3884
|
+
contents[_Me] = __expectString(output[_Me]);
|
|
3885
|
+
}
|
|
3886
|
+
return contents;
|
|
3887
|
+
};
|
|
3779
3888
|
const de_DeleteListenerOutput = (output, context) => {
|
|
3780
3889
|
const contents = {};
|
|
3781
3890
|
return contents;
|
|
@@ -3788,6 +3897,10 @@ const de_DeleteRuleOutput = (output, context) => {
|
|
|
3788
3897
|
const contents = {};
|
|
3789
3898
|
return contents;
|
|
3790
3899
|
};
|
|
3900
|
+
const de_DeleteSharedTrustStoreAssociationOutput = (output, context) => {
|
|
3901
|
+
const contents = {};
|
|
3902
|
+
return contents;
|
|
3903
|
+
};
|
|
3791
3904
|
const de_DeleteTargetGroupOutput = (output, context) => {
|
|
3792
3905
|
const contents = {};
|
|
3793
3906
|
return contents;
|
|
@@ -4054,6 +4167,13 @@ const de_ForwardActionConfig = (output, context) => {
|
|
|
4054
4167
|
}
|
|
4055
4168
|
return contents;
|
|
4056
4169
|
};
|
|
4170
|
+
const de_GetResourcePolicyOutput = (output, context) => {
|
|
4171
|
+
const contents = {};
|
|
4172
|
+
if (output[_Pol] != null) {
|
|
4173
|
+
contents[_Pol] = __expectString(output[_Pol]);
|
|
4174
|
+
}
|
|
4175
|
+
return contents;
|
|
4176
|
+
};
|
|
4057
4177
|
const de_GetTrustStoreCaCertificatesBundleOutput = (output, context) => {
|
|
4058
4178
|
const contents = {};
|
|
4059
4179
|
if (output[_Lo] != null) {
|
|
@@ -4453,6 +4573,9 @@ const de_MutualAuthenticationAttributes = (output, context) => {
|
|
|
4453
4573
|
if (output[_ICCE] != null) {
|
|
4454
4574
|
contents[_ICCE] = __parseBoolean(output[_ICCE]);
|
|
4455
4575
|
}
|
|
4576
|
+
if (output[_TSAS] != null) {
|
|
4577
|
+
contents[_TSAS] = __expectString(output[_TSAS]);
|
|
4578
|
+
}
|
|
4456
4579
|
return contents;
|
|
4457
4580
|
};
|
|
4458
4581
|
const de_OperationNotPermittedException = (output, context) => {
|
|
@@ -4551,6 +4674,13 @@ const de_ResourceInUseException = (output, context) => {
|
|
|
4551
4674
|
}
|
|
4552
4675
|
return contents;
|
|
4553
4676
|
};
|
|
4677
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
4678
|
+
const contents = {};
|
|
4679
|
+
if (output[_Me] != null) {
|
|
4680
|
+
contents[_Me] = __expectString(output[_Me]);
|
|
4681
|
+
}
|
|
4682
|
+
return contents;
|
|
4683
|
+
};
|
|
4554
4684
|
const de_RevocationContentNotFoundException = (output, context) => {
|
|
4555
4685
|
const contents = {};
|
|
4556
4686
|
if (output[_Me] != null) {
|
|
@@ -5077,6 +5207,13 @@ const de_TrustStoreAssociation = (output, context) => {
|
|
|
5077
5207
|
}
|
|
5078
5208
|
return contents;
|
|
5079
5209
|
};
|
|
5210
|
+
const de_TrustStoreAssociationNotFoundException = (output, context) => {
|
|
5211
|
+
const contents = {};
|
|
5212
|
+
if (output[_Me] != null) {
|
|
5213
|
+
contents[_Me] = __expectString(output[_Me]);
|
|
5214
|
+
}
|
|
5215
|
+
return contents;
|
|
5216
|
+
};
|
|
5080
5217
|
const de_TrustStoreAssociations = (output, context) => {
|
|
5081
5218
|
return (output || [])
|
|
5082
5219
|
.filter((e) => e != null)
|
|
@@ -5220,6 +5357,7 @@ const _DR = "DeleteRule";
|
|
|
5220
5357
|
const _DRe = "DescribeRules";
|
|
5221
5358
|
const _DS = "DurationSeconds";
|
|
5222
5359
|
const _DSSLP = "DescribeSSLPolicies";
|
|
5360
|
+
const _DSTSA = "DeleteSharedTrustStoreAssociation";
|
|
5223
5361
|
const _DT = "DeregisterTargets";
|
|
5224
5362
|
const _DTG = "DeleteTargetGroup";
|
|
5225
5363
|
const _DTGA = "DescribeTargetGroupAttributes";
|
|
@@ -5236,6 +5374,7 @@ const _F = "Field";
|
|
|
5236
5374
|
const _FC = "ForwardConfig";
|
|
5237
5375
|
const _FRC = "FixedResponseConfig";
|
|
5238
5376
|
const _GC = "GrpcCode";
|
|
5377
|
+
const _GRP = "GetResourcePolicy";
|
|
5239
5378
|
const _GTSCCB = "GetTrustStoreCaCertificatesBundle";
|
|
5240
5379
|
const _GTSRC = "GetTrustStoreRevocationContent";
|
|
5241
5380
|
const _H = "Host";
|
|
@@ -5300,6 +5439,7 @@ const _PS = "PageSize";
|
|
|
5300
5439
|
const _PV = "ProtocolVersion";
|
|
5301
5440
|
const _Pa = "Path";
|
|
5302
5441
|
const _Po = "Port";
|
|
5442
|
+
const _Pol = "Policy";
|
|
5303
5443
|
const _Pr = "Priority";
|
|
5304
5444
|
const _Q = "Query";
|
|
5305
5445
|
const _QSC = "QueryStringConfig";
|
|
@@ -5358,6 +5498,7 @@ const _TK = "TagKeys";
|
|
|
5358
5498
|
const _TRE = "TotalRevokedEntries";
|
|
5359
5499
|
const _TS = "TrustStores";
|
|
5360
5500
|
const _TSA = "TrustStoreArn";
|
|
5501
|
+
const _TSAS = "TrustStoreAssociationStatus";
|
|
5361
5502
|
const _TSAr = "TrustStoreArns";
|
|
5362
5503
|
const _TSAru = "TrustStoreAssociations";
|
|
5363
5504
|
const _TSR = "TrustStoreRevocations";
|
|
@@ -10,6 +10,7 @@ import { CreateTrustStoreCommandInput, CreateTrustStoreCommandOutput } from "./c
|
|
|
10
10
|
import { DeleteListenerCommandInput, DeleteListenerCommandOutput } from "./commands/DeleteListenerCommand";
|
|
11
11
|
import { DeleteLoadBalancerCommandInput, DeleteLoadBalancerCommandOutput } from "./commands/DeleteLoadBalancerCommand";
|
|
12
12
|
import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
|
|
13
|
+
import { DeleteSharedTrustStoreAssociationCommandInput, DeleteSharedTrustStoreAssociationCommandOutput } from "./commands/DeleteSharedTrustStoreAssociationCommand";
|
|
13
14
|
import { DeleteTargetGroupCommandInput, DeleteTargetGroupCommandOutput } from "./commands/DeleteTargetGroupCommand";
|
|
14
15
|
import { DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput } from "./commands/DeleteTrustStoreCommand";
|
|
15
16
|
import { DeregisterTargetsCommandInput, DeregisterTargetsCommandOutput } from "./commands/DeregisterTargetsCommand";
|
|
@@ -27,6 +28,7 @@ import { DescribeTargetHealthCommandInput, DescribeTargetHealthCommandOutput } f
|
|
|
27
28
|
import { DescribeTrustStoreAssociationsCommandInput, DescribeTrustStoreAssociationsCommandOutput } from "./commands/DescribeTrustStoreAssociationsCommand";
|
|
28
29
|
import { DescribeTrustStoreRevocationsCommandInput, DescribeTrustStoreRevocationsCommandOutput } from "./commands/DescribeTrustStoreRevocationsCommand";
|
|
29
30
|
import { DescribeTrustStoresCommandInput, DescribeTrustStoresCommandOutput } from "./commands/DescribeTrustStoresCommand";
|
|
31
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
30
32
|
import { GetTrustStoreCaCertificatesBundleCommandInput, GetTrustStoreCaCertificatesBundleCommandOutput } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
|
|
31
33
|
import { GetTrustStoreRevocationContentCommandInput, GetTrustStoreRevocationContentCommandOutput } from "./commands/GetTrustStoreRevocationContentCommand";
|
|
32
34
|
import { ModifyListenerCommandInput, ModifyListenerCommandOutput } from "./commands/ModifyListenerCommand";
|
|
@@ -111,6 +113,12 @@ export interface ElasticLoadBalancingV2 {
|
|
|
111
113
|
deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
|
|
112
114
|
deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
113
115
|
deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
116
|
+
/**
|
|
117
|
+
* @see {@link DeleteSharedTrustStoreAssociationCommand}
|
|
118
|
+
*/
|
|
119
|
+
deleteSharedTrustStoreAssociation(args: DeleteSharedTrustStoreAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSharedTrustStoreAssociationCommandOutput>;
|
|
120
|
+
deleteSharedTrustStoreAssociation(args: DeleteSharedTrustStoreAssociationCommandInput, cb: (err: any, data?: DeleteSharedTrustStoreAssociationCommandOutput) => void): void;
|
|
121
|
+
deleteSharedTrustStoreAssociation(args: DeleteSharedTrustStoreAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSharedTrustStoreAssociationCommandOutput) => void): void;
|
|
114
122
|
/**
|
|
115
123
|
* @see {@link DeleteTargetGroupCommand}
|
|
116
124
|
*/
|
|
@@ -220,6 +228,12 @@ export interface ElasticLoadBalancingV2 {
|
|
|
220
228
|
describeTrustStores(args: DescribeTrustStoresCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrustStoresCommandOutput>;
|
|
221
229
|
describeTrustStores(args: DescribeTrustStoresCommandInput, cb: (err: any, data?: DescribeTrustStoresCommandOutput) => void): void;
|
|
222
230
|
describeTrustStores(args: DescribeTrustStoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrustStoresCommandOutput) => void): void;
|
|
231
|
+
/**
|
|
232
|
+
* @see {@link GetResourcePolicyCommand}
|
|
233
|
+
*/
|
|
234
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
|
|
235
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
236
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
223
237
|
/**
|
|
224
238
|
* @see {@link GetTrustStoreCaCertificatesBundleCommand}
|
|
225
239
|
*/
|
|
@@ -18,6 +18,7 @@ import { CreateTrustStoreCommandInput, CreateTrustStoreCommandOutput } from "./c
|
|
|
18
18
|
import { DeleteListenerCommandInput, DeleteListenerCommandOutput } from "./commands/DeleteListenerCommand";
|
|
19
19
|
import { DeleteLoadBalancerCommandInput, DeleteLoadBalancerCommandOutput } from "./commands/DeleteLoadBalancerCommand";
|
|
20
20
|
import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
|
|
21
|
+
import { DeleteSharedTrustStoreAssociationCommandInput, DeleteSharedTrustStoreAssociationCommandOutput } from "./commands/DeleteSharedTrustStoreAssociationCommand";
|
|
21
22
|
import { DeleteTargetGroupCommandInput, DeleteTargetGroupCommandOutput } from "./commands/DeleteTargetGroupCommand";
|
|
22
23
|
import { DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput } from "./commands/DeleteTrustStoreCommand";
|
|
23
24
|
import { DeregisterTargetsCommandInput, DeregisterTargetsCommandOutput } from "./commands/DeregisterTargetsCommand";
|
|
@@ -35,6 +36,7 @@ import { DescribeTargetHealthCommandInput, DescribeTargetHealthCommandOutput } f
|
|
|
35
36
|
import { DescribeTrustStoreAssociationsCommandInput, DescribeTrustStoreAssociationsCommandOutput } from "./commands/DescribeTrustStoreAssociationsCommand";
|
|
36
37
|
import { DescribeTrustStoreRevocationsCommandInput, DescribeTrustStoreRevocationsCommandOutput } from "./commands/DescribeTrustStoreRevocationsCommand";
|
|
37
38
|
import { DescribeTrustStoresCommandInput, DescribeTrustStoresCommandOutput } from "./commands/DescribeTrustStoresCommand";
|
|
39
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
38
40
|
import { GetTrustStoreCaCertificatesBundleCommandInput, GetTrustStoreCaCertificatesBundleCommandOutput } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
|
|
39
41
|
import { GetTrustStoreRevocationContentCommandInput, GetTrustStoreRevocationContentCommandOutput } from "./commands/GetTrustStoreRevocationContentCommand";
|
|
40
42
|
import { ModifyListenerCommandInput, ModifyListenerCommandOutput } from "./commands/ModifyListenerCommand";
|
|
@@ -57,11 +59,11 @@ export { __Client };
|
|
|
57
59
|
/**
|
|
58
60
|
* @public
|
|
59
61
|
*/
|
|
60
|
-
export type ServiceInputTypes = AddListenerCertificatesCommandInput | AddTagsCommandInput | AddTrustStoreRevocationsCommandInput | CreateListenerCommandInput | CreateLoadBalancerCommandInput | CreateRuleCommandInput | CreateTargetGroupCommandInput | CreateTrustStoreCommandInput | DeleteListenerCommandInput | DeleteLoadBalancerCommandInput | DeleteRuleCommandInput | DeleteTargetGroupCommandInput | DeleteTrustStoreCommandInput | DeregisterTargetsCommandInput | DescribeAccountLimitsCommandInput | DescribeListenerCertificatesCommandInput | DescribeListenersCommandInput | DescribeLoadBalancerAttributesCommandInput | DescribeLoadBalancersCommandInput | DescribeRulesCommandInput | DescribeSSLPoliciesCommandInput | DescribeTagsCommandInput | DescribeTargetGroupAttributesCommandInput | DescribeTargetGroupsCommandInput | DescribeTargetHealthCommandInput | DescribeTrustStoreAssociationsCommandInput | DescribeTrustStoreRevocationsCommandInput | DescribeTrustStoresCommandInput | GetTrustStoreCaCertificatesBundleCommandInput | GetTrustStoreRevocationContentCommandInput | ModifyListenerCommandInput | ModifyLoadBalancerAttributesCommandInput | ModifyRuleCommandInput | ModifyTargetGroupAttributesCommandInput | ModifyTargetGroupCommandInput | ModifyTrustStoreCommandInput | RegisterTargetsCommandInput | RemoveListenerCertificatesCommandInput | RemoveTagsCommandInput | RemoveTrustStoreRevocationsCommandInput | SetIpAddressTypeCommandInput | SetRulePrioritiesCommandInput | SetSecurityGroupsCommandInput | SetSubnetsCommandInput;
|
|
62
|
+
export type ServiceInputTypes = AddListenerCertificatesCommandInput | AddTagsCommandInput | AddTrustStoreRevocationsCommandInput | CreateListenerCommandInput | CreateLoadBalancerCommandInput | CreateRuleCommandInput | CreateTargetGroupCommandInput | CreateTrustStoreCommandInput | DeleteListenerCommandInput | DeleteLoadBalancerCommandInput | DeleteRuleCommandInput | DeleteSharedTrustStoreAssociationCommandInput | DeleteTargetGroupCommandInput | DeleteTrustStoreCommandInput | DeregisterTargetsCommandInput | DescribeAccountLimitsCommandInput | DescribeListenerCertificatesCommandInput | DescribeListenersCommandInput | DescribeLoadBalancerAttributesCommandInput | DescribeLoadBalancersCommandInput | DescribeRulesCommandInput | DescribeSSLPoliciesCommandInput | DescribeTagsCommandInput | DescribeTargetGroupAttributesCommandInput | DescribeTargetGroupsCommandInput | DescribeTargetHealthCommandInput | DescribeTrustStoreAssociationsCommandInput | DescribeTrustStoreRevocationsCommandInput | DescribeTrustStoresCommandInput | GetResourcePolicyCommandInput | GetTrustStoreCaCertificatesBundleCommandInput | GetTrustStoreRevocationContentCommandInput | ModifyListenerCommandInput | ModifyLoadBalancerAttributesCommandInput | ModifyRuleCommandInput | ModifyTargetGroupAttributesCommandInput | ModifyTargetGroupCommandInput | ModifyTrustStoreCommandInput | RegisterTargetsCommandInput | RemoveListenerCertificatesCommandInput | RemoveTagsCommandInput | RemoveTrustStoreRevocationsCommandInput | SetIpAddressTypeCommandInput | SetRulePrioritiesCommandInput | SetSecurityGroupsCommandInput | SetSubnetsCommandInput;
|
|
61
63
|
/**
|
|
62
64
|
* @public
|
|
63
65
|
*/
|
|
64
|
-
export type ServiceOutputTypes = AddListenerCertificatesCommandOutput | AddTagsCommandOutput | AddTrustStoreRevocationsCommandOutput | CreateListenerCommandOutput | CreateLoadBalancerCommandOutput | CreateRuleCommandOutput | CreateTargetGroupCommandOutput | CreateTrustStoreCommandOutput | DeleteListenerCommandOutput | DeleteLoadBalancerCommandOutput | DeleteRuleCommandOutput | DeleteTargetGroupCommandOutput | DeleteTrustStoreCommandOutput | DeregisterTargetsCommandOutput | DescribeAccountLimitsCommandOutput | DescribeListenerCertificatesCommandOutput | DescribeListenersCommandOutput | DescribeLoadBalancerAttributesCommandOutput | DescribeLoadBalancersCommandOutput | DescribeRulesCommandOutput | DescribeSSLPoliciesCommandOutput | DescribeTagsCommandOutput | DescribeTargetGroupAttributesCommandOutput | DescribeTargetGroupsCommandOutput | DescribeTargetHealthCommandOutput | DescribeTrustStoreAssociationsCommandOutput | DescribeTrustStoreRevocationsCommandOutput | DescribeTrustStoresCommandOutput | GetTrustStoreCaCertificatesBundleCommandOutput | GetTrustStoreRevocationContentCommandOutput | ModifyListenerCommandOutput | ModifyLoadBalancerAttributesCommandOutput | ModifyRuleCommandOutput | ModifyTargetGroupAttributesCommandOutput | ModifyTargetGroupCommandOutput | ModifyTrustStoreCommandOutput | RegisterTargetsCommandOutput | RemoveListenerCertificatesCommandOutput | RemoveTagsCommandOutput | RemoveTrustStoreRevocationsCommandOutput | SetIpAddressTypeCommandOutput | SetRulePrioritiesCommandOutput | SetSecurityGroupsCommandOutput | SetSubnetsCommandOutput;
|
|
66
|
+
export type ServiceOutputTypes = AddListenerCertificatesCommandOutput | AddTagsCommandOutput | AddTrustStoreRevocationsCommandOutput | CreateListenerCommandOutput | CreateLoadBalancerCommandOutput | CreateRuleCommandOutput | CreateTargetGroupCommandOutput | CreateTrustStoreCommandOutput | DeleteListenerCommandOutput | DeleteLoadBalancerCommandOutput | DeleteRuleCommandOutput | DeleteSharedTrustStoreAssociationCommandOutput | DeleteTargetGroupCommandOutput | DeleteTrustStoreCommandOutput | DeregisterTargetsCommandOutput | DescribeAccountLimitsCommandOutput | DescribeListenerCertificatesCommandOutput | DescribeListenersCommandOutput | DescribeLoadBalancerAttributesCommandOutput | DescribeLoadBalancersCommandOutput | DescribeRulesCommandOutput | DescribeSSLPoliciesCommandOutput | DescribeTagsCommandOutput | DescribeTargetGroupAttributesCommandOutput | DescribeTargetGroupsCommandOutput | DescribeTargetHealthCommandOutput | DescribeTrustStoreAssociationsCommandOutput | DescribeTrustStoreRevocationsCommandOutput | DescribeTrustStoresCommandOutput | GetResourcePolicyCommandOutput | GetTrustStoreCaCertificatesBundleCommandOutput | GetTrustStoreRevocationContentCommandOutput | ModifyListenerCommandOutput | ModifyLoadBalancerAttributesCommandOutput | ModifyRuleCommandOutput | ModifyTargetGroupAttributesCommandOutput | ModifyTargetGroupCommandOutput | ModifyTrustStoreCommandOutput | RegisterTargetsCommandOutput | RemoveListenerCertificatesCommandOutput | RemoveTagsCommandOutput | RemoveTrustStoreRevocationsCommandOutput | SetIpAddressTypeCommandOutput | SetRulePrioritiesCommandOutput | SetSecurityGroupsCommandOutput | SetSubnetsCommandOutput;
|
|
65
67
|
/**
|
|
66
68
|
* @public
|
|
67
69
|
*/
|
|
@@ -142,6 +142,7 @@ declare const CreateListenerCommand_base: {
|
|
|
142
142
|
* Mode: "STRING_VALUE",
|
|
143
143
|
* TrustStoreArn: "STRING_VALUE",
|
|
144
144
|
* IgnoreClientCertificateExpiry: true || false,
|
|
145
|
+
* TrustStoreAssociationStatus: "active" || "removed",
|
|
145
146
|
* },
|
|
146
147
|
* };
|
|
147
148
|
* const command = new CreateListenerCommand(input);
|
|
@@ -227,6 +228,7 @@ declare const CreateListenerCommand_base: {
|
|
|
227
228
|
* // Mode: "STRING_VALUE",
|
|
228
229
|
* // TrustStoreArn: "STRING_VALUE",
|
|
229
230
|
* // IgnoreClientCertificateExpiry: true || false,
|
|
231
|
+
* // TrustStoreAssociationStatus: "active" || "removed",
|
|
230
232
|
* // },
|
|
231
233
|
* // },
|
|
232
234
|
* // ],
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticLoadBalancingV2Client";
|
|
4
|
+
import { DeleteSharedTrustStoreAssociationInput, DeleteSharedTrustStoreAssociationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteSharedTrustStoreAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSharedTrustStoreAssociationCommandInput extends DeleteSharedTrustStoreAssociationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSharedTrustStoreAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSharedTrustStoreAssociationCommandOutput extends DeleteSharedTrustStoreAssociationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteSharedTrustStoreAssociationCommand_base: {
|
|
25
|
+
new (input: DeleteSharedTrustStoreAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSharedTrustStoreAssociationCommandInput, DeleteSharedTrustStoreAssociationCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteSharedTrustStoreAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSharedTrustStoreAssociationCommandInput, DeleteSharedTrustStoreAssociationCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a shared trust store association.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElasticLoadBalancingV2Client, DeleteSharedTrustStoreAssociationCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
35
|
+
* // const { ElasticLoadBalancingV2Client, DeleteSharedTrustStoreAssociationCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
36
|
+
* const client = new ElasticLoadBalancingV2Client(config);
|
|
37
|
+
* const input = { // DeleteSharedTrustStoreAssociationInput
|
|
38
|
+
* TrustStoreArn: "STRING_VALUE", // required
|
|
39
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteSharedTrustStoreAssociationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteSharedTrustStoreAssociationCommandInput - {@link DeleteSharedTrustStoreAssociationCommandInput}
|
|
48
|
+
* @returns {@link DeleteSharedTrustStoreAssociationCommandOutput}
|
|
49
|
+
* @see {@link DeleteSharedTrustStoreAssociationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteSharedTrustStoreAssociationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link DeleteAssociationSameAccountException} (client fault)
|
|
54
|
+
* <p>The specified association cannot be within the same account.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link TrustStoreAssociationNotFoundException} (client fault)
|
|
57
|
+
* <p>The specified association does not exist.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link TrustStoreNotFoundException} (client fault)
|
|
60
|
+
* <p>The specified trust store does not exist.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
* @example Delete a shared trust store association
|
|
67
|
+
* ```javascript
|
|
68
|
+
* // This example deletes the association between the specified trust store and the specified load balancer.
|
|
69
|
+
* const input = {
|
|
70
|
+
* "ResourceArn": "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-load-balancer/80233fa81d678c2c",
|
|
71
|
+
* "TrustStoreArn": "arn:aws:elasticloadbalancing:us-east-1:123456789012:truststore/my-trust-store/73e2d6bc24d8a063"
|
|
72
|
+
* };
|
|
73
|
+
* const command = new DeleteSharedTrustStoreAssociationCommand(input);
|
|
74
|
+
* await client.send(command);
|
|
75
|
+
* // example id: delete-a-shared-trust-store-association-1721684063527
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class DeleteSharedTrustStoreAssociationCommand extends DeleteSharedTrustStoreAssociationCommand_base {
|
|
80
|
+
}
|
|
@@ -127,6 +127,7 @@ declare const DescribeListenersCommand_base: {
|
|
|
127
127
|
* // Mode: "STRING_VALUE",
|
|
128
128
|
* // TrustStoreArn: "STRING_VALUE",
|
|
129
129
|
* // IgnoreClientCertificateExpiry: true || false,
|
|
130
|
+
* // TrustStoreAssociationStatus: "active" || "removed",
|
|
130
131
|
* // },
|
|
131
132
|
* // },
|
|
132
133
|
* // ],
|
|
@@ -27,8 +27,8 @@ declare const DescribeTrustStoreRevocationsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes the revocation files in use by the specified
|
|
31
|
-
*
|
|
30
|
+
* <p>Describes the revocation files in use by the specified trust store or revocation
|
|
31
|
+
* files.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const DescribeTrustStoresCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes all trust stores for
|
|
31
|
-
* by trust store arn’s or name.</p>
|
|
30
|
+
* <p>Describes all trust stores for the specified account.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticLoadBalancingV2Client";
|
|
4
|
+
import { GetResourcePolicyInput, GetResourcePolicyOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetResourcePolicyCommandInput extends GetResourcePolicyInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetResourcePolicyCommandOutput extends GetResourcePolicyOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetResourcePolicyCommand_base: {
|
|
25
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the resource policy for a specified resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElasticLoadBalancingV2Client, GetResourcePolicyCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
35
|
+
* // const { ElasticLoadBalancingV2Client, GetResourcePolicyCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
36
|
+
* const client = new ElasticLoadBalancingV2Client(config);
|
|
37
|
+
* const input = { // GetResourcePolicyInput
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetResourcePolicyCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetResourcePolicyOutput
|
|
43
|
+
* // Policy: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
|
|
49
|
+
* @returns {@link GetResourcePolicyCommandOutput}
|
|
50
|
+
* @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
+
* <p>The specified resource does not exist.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
* @example Retrieve a resource policy
|
|
62
|
+
* ```javascript
|
|
63
|
+
* // This example retrieves the resource policy for the specified trust store.
|
|
64
|
+
* const input = {
|
|
65
|
+
* "ResourceArn": "arn:aws:elasticloadbalancing:us-east-1:123456789012:truststore/my-trust-store/73e2d6bc24d8a067"
|
|
66
|
+
* };
|
|
67
|
+
* const command = new GetResourcePolicyCommand(input);
|
|
68
|
+
* await client.send(command);
|
|
69
|
+
* // example id: retrieve-a-resource-policy-1721684356628
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
74
|
+
}
|