@aws-sdk/client-elastic-load-balancing-v2 3.29.0 → 3.33.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.
- package/CHANGELOG.md +32 -0
- package/dist/cjs/ElasticLoadBalancingV2Client.js +13 -13
- package/dist/cjs/ElasticLoadBalancingV2Client.js.map +1 -1
- package/dist/cjs/commands/AddListenerCertificatesCommand.js +3 -3
- package/dist/cjs/commands/AddListenerCertificatesCommand.js.map +1 -1
- package/dist/cjs/commands/AddTagsCommand.js +3 -3
- package/dist/cjs/commands/AddTagsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateListenerCommand.js +3 -3
- package/dist/cjs/commands/CreateListenerCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/CreateLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRuleCommand.js +3 -3
- package/dist/cjs/commands/CreateRuleCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTargetGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateTargetGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteListenerCommand.js +3 -3
- package/dist/cjs/commands/DeleteListenerCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/DeleteLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRuleCommand.js +3 -3
- package/dist/cjs/commands/DeleteRuleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTargetGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteTargetGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterTargetsCommand.js +3 -3
- package/dist/cjs/commands/DeregisterTargetsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js +3 -3
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeListenerCertificatesCommand.js +3 -3
- package/dist/cjs/commands/DescribeListenerCertificatesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeListenersCommand.js +3 -3
- package/dist/cjs/commands/DescribeListenersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js +3 -3
- package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLoadBalancersCommand.js +3 -3
- package/dist/cjs/commands/DescribeLoadBalancersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeRulesCommand.js +3 -3
- package/dist/cjs/commands/DescribeRulesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeSSLPoliciesCommand.js +3 -3
- package/dist/cjs/commands/DescribeSSLPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist/cjs/commands/DescribeTagsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTargetGroupAttributesCommand.js +3 -3
- package/dist/cjs/commands/DescribeTargetGroupAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTargetGroupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeTargetGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTargetHealthCommand.js +3 -3
- package/dist/cjs/commands/DescribeTargetHealthCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyListenerCommand.js +3 -3
- package/dist/cjs/commands/ModifyListenerCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js +3 -3
- package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyRuleCommand.js +3 -3
- package/dist/cjs/commands/ModifyRuleCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyTargetGroupAttributesCommand.js +3 -3
- package/dist/cjs/commands/ModifyTargetGroupAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyTargetGroupCommand.js +3 -3
- package/dist/cjs/commands/ModifyTargetGroupCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterTargetsCommand.js +3 -3
- package/dist/cjs/commands/RegisterTargetsCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveListenerCertificatesCommand.js +3 -3
- package/dist/cjs/commands/RemoveListenerCertificatesCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist/cjs/commands/RemoveTagsCommand.js.map +1 -1
- package/dist/cjs/commands/SetIpAddressTypeCommand.js +3 -3
- package/dist/cjs/commands/SetIpAddressTypeCommand.js.map +1 -1
- package/dist/cjs/commands/SetRulePrioritiesCommand.js +3 -3
- package/dist/cjs/commands/SetRulePrioritiesCommand.js.map +1 -1
- package/dist/cjs/commands/SetSecurityGroupsCommand.js +3 -3
- package/dist/cjs/commands/SetSecurityGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/SetSubnetsCommand.js +3 -3
- package/dist/cjs/commands/SetSubnetsCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +46 -46
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_query.js +206 -206
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForLoadBalancerAvailable.js +3 -3
- package/dist/cjs/waiters/waitForLoadBalancerAvailable.js.map +1 -1
- package/dist/cjs/waiters/waitForLoadBalancerExists.js +3 -3
- package/dist/cjs/waiters/waitForLoadBalancerExists.js.map +1 -1
- package/dist/cjs/waiters/waitForLoadBalancersDeleted.js +3 -3
- package/dist/cjs/waiters/waitForLoadBalancersDeleted.js.map +1 -1
- package/dist/cjs/waiters/waitForTargetDeregistered.js +3 -3
- package/dist/cjs/waiters/waitForTargetDeregistered.js.map +1 -1
- package/dist/cjs/waiters/waitForTargetInService.js +3 -3
- package/dist/cjs/waiters/waitForTargetInService.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/pagination/DescribeListenersPaginator.js +4 -4
- package/dist/es/pagination/DescribeListenersPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeLoadBalancersPaginator.js +4 -4
- package/dist/es/pagination/DescribeLoadBalancersPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeTargetGroupsPaginator.js +4 -4
- package/dist/es/pagination/DescribeTargetGroupsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_query.js +2 -2
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/dist/es/waiters/waitForLoadBalancerAvailable.js +2 -2
- package/dist/es/waiters/waitForLoadBalancerAvailable.js.map +1 -1
- package/dist/es/waiters/waitForLoadBalancersDeleted.js +1 -1
- package/dist/es/waiters/waitForLoadBalancersDeleted.js.map +1 -1
- package/dist/es/waiters/waitForTargetDeregistered.js +1 -1
- package/dist/es/waiters/waitForTargetDeregistered.js.map +1 -1
- package/dist/es/waiters/waitForTargetInService.js +1 -1
- package/dist/es/waiters/waitForTargetInService.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_query.ts +3 -1
- package/tsconfig.json +1 -2
|
@@ -4782,10 +4782,10 @@ const deserializeAws_queryAction = (output, context) => {
|
|
|
4782
4782
|
ForwardConfig: undefined,
|
|
4783
4783
|
};
|
|
4784
4784
|
if (output["Type"] !== undefined) {
|
|
4785
|
-
contents.Type =
|
|
4785
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
4786
4786
|
}
|
|
4787
4787
|
if (output["TargetGroupArn"] !== undefined) {
|
|
4788
|
-
contents.TargetGroupArn =
|
|
4788
|
+
contents.TargetGroupArn = smithy_client_1.expectString(output["TargetGroupArn"]);
|
|
4789
4789
|
}
|
|
4790
4790
|
if (output["AuthenticateOidcConfig"] !== undefined) {
|
|
4791
4791
|
contents.AuthenticateOidcConfig = deserializeAws_queryAuthenticateOidcActionConfig(output["AuthenticateOidcConfig"], context);
|
|
@@ -4794,7 +4794,7 @@ const deserializeAws_queryAction = (output, context) => {
|
|
|
4794
4794
|
contents.AuthenticateCognitoConfig = deserializeAws_queryAuthenticateCognitoActionConfig(output["AuthenticateCognitoConfig"], context);
|
|
4795
4795
|
}
|
|
4796
4796
|
if (output["Order"] !== undefined) {
|
|
4797
|
-
contents.Order =
|
|
4797
|
+
contents.Order = smithy_client_1.strictParseInt32(output["Order"]);
|
|
4798
4798
|
}
|
|
4799
4799
|
if (output["RedirectConfig"] !== undefined) {
|
|
4800
4800
|
contents.RedirectConfig = deserializeAws_queryRedirectActionConfig(output["RedirectConfig"], context);
|
|
@@ -4825,7 +4825,7 @@ const deserializeAws_queryAddListenerCertificatesOutput = (output, context) => {
|
|
|
4825
4825
|
contents.Certificates = [];
|
|
4826
4826
|
}
|
|
4827
4827
|
if (output["Certificates"] !== undefined && output["Certificates"]["member"] !== undefined) {
|
|
4828
|
-
contents.Certificates = deserializeAws_queryCertificateList(
|
|
4828
|
+
contents.Certificates = deserializeAws_queryCertificateList(smithy_client_1.getArrayIfSingleItem(output["Certificates"]["member"]), context);
|
|
4829
4829
|
}
|
|
4830
4830
|
return contents;
|
|
4831
4831
|
};
|
|
@@ -4838,7 +4838,7 @@ const deserializeAws_queryAllocationIdNotFoundException = (output, context) => {
|
|
|
4838
4838
|
Message: undefined,
|
|
4839
4839
|
};
|
|
4840
4840
|
if (output["Message"] !== undefined) {
|
|
4841
|
-
contents.Message =
|
|
4841
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4842
4842
|
}
|
|
4843
4843
|
return contents;
|
|
4844
4844
|
};
|
|
@@ -4849,7 +4849,7 @@ const deserializeAws_queryAlpnPolicyName = (output, context) => {
|
|
|
4849
4849
|
if (entry === null) {
|
|
4850
4850
|
return null;
|
|
4851
4851
|
}
|
|
4852
|
-
return
|
|
4852
|
+
return smithy_client_1.expectString(entry);
|
|
4853
4853
|
});
|
|
4854
4854
|
};
|
|
4855
4855
|
const deserializeAws_queryALPNPolicyNotSupportedException = (output, context) => {
|
|
@@ -4857,7 +4857,7 @@ const deserializeAws_queryALPNPolicyNotSupportedException = (output, context) =>
|
|
|
4857
4857
|
Message: undefined,
|
|
4858
4858
|
};
|
|
4859
4859
|
if (output["Message"] !== undefined) {
|
|
4860
|
-
contents.Message =
|
|
4860
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4861
4861
|
}
|
|
4862
4862
|
return contents;
|
|
4863
4863
|
};
|
|
@@ -4868,7 +4868,7 @@ const deserializeAws_queryAuthenticateCognitoActionAuthenticationRequestExtraPar
|
|
|
4868
4868
|
}
|
|
4869
4869
|
return {
|
|
4870
4870
|
...acc,
|
|
4871
|
-
[pair["key"]]:
|
|
4871
|
+
[pair["key"]]: smithy_client_1.expectString(pair["value"]),
|
|
4872
4872
|
};
|
|
4873
4873
|
}, {});
|
|
4874
4874
|
};
|
|
@@ -4884,22 +4884,22 @@ const deserializeAws_queryAuthenticateCognitoActionConfig = (output, context) =>
|
|
|
4884
4884
|
OnUnauthenticatedRequest: undefined,
|
|
4885
4885
|
};
|
|
4886
4886
|
if (output["UserPoolArn"] !== undefined) {
|
|
4887
|
-
contents.UserPoolArn =
|
|
4887
|
+
contents.UserPoolArn = smithy_client_1.expectString(output["UserPoolArn"]);
|
|
4888
4888
|
}
|
|
4889
4889
|
if (output["UserPoolClientId"] !== undefined) {
|
|
4890
|
-
contents.UserPoolClientId =
|
|
4890
|
+
contents.UserPoolClientId = smithy_client_1.expectString(output["UserPoolClientId"]);
|
|
4891
4891
|
}
|
|
4892
4892
|
if (output["UserPoolDomain"] !== undefined) {
|
|
4893
|
-
contents.UserPoolDomain =
|
|
4893
|
+
contents.UserPoolDomain = smithy_client_1.expectString(output["UserPoolDomain"]);
|
|
4894
4894
|
}
|
|
4895
4895
|
if (output["SessionCookieName"] !== undefined) {
|
|
4896
|
-
contents.SessionCookieName =
|
|
4896
|
+
contents.SessionCookieName = smithy_client_1.expectString(output["SessionCookieName"]);
|
|
4897
4897
|
}
|
|
4898
4898
|
if (output["Scope"] !== undefined) {
|
|
4899
|
-
contents.Scope =
|
|
4899
|
+
contents.Scope = smithy_client_1.expectString(output["Scope"]);
|
|
4900
4900
|
}
|
|
4901
4901
|
if (output["SessionTimeout"] !== undefined) {
|
|
4902
|
-
contents.SessionTimeout =
|
|
4902
|
+
contents.SessionTimeout = smithy_client_1.strictParseLong(output["SessionTimeout"]);
|
|
4903
4903
|
}
|
|
4904
4904
|
if (output.AuthenticationRequestExtraParams === "") {
|
|
4905
4905
|
contents.AuthenticationRequestExtraParams = {};
|
|
@@ -4907,10 +4907,10 @@ const deserializeAws_queryAuthenticateCognitoActionConfig = (output, context) =>
|
|
|
4907
4907
|
if (output["AuthenticationRequestExtraParams"] !== undefined &&
|
|
4908
4908
|
output["AuthenticationRequestExtraParams"]["entry"] !== undefined) {
|
|
4909
4909
|
contents.AuthenticationRequestExtraParams =
|
|
4910
|
-
deserializeAws_queryAuthenticateCognitoActionAuthenticationRequestExtraParams(
|
|
4910
|
+
deserializeAws_queryAuthenticateCognitoActionAuthenticationRequestExtraParams(smithy_client_1.getArrayIfSingleItem(output["AuthenticationRequestExtraParams"]["entry"]), context);
|
|
4911
4911
|
}
|
|
4912
4912
|
if (output["OnUnauthenticatedRequest"] !== undefined) {
|
|
4913
|
-
contents.OnUnauthenticatedRequest =
|
|
4913
|
+
contents.OnUnauthenticatedRequest = smithy_client_1.expectString(output["OnUnauthenticatedRequest"]);
|
|
4914
4914
|
}
|
|
4915
4915
|
return contents;
|
|
4916
4916
|
};
|
|
@@ -4921,7 +4921,7 @@ const deserializeAws_queryAuthenticateOidcActionAuthenticationRequestExtraParams
|
|
|
4921
4921
|
}
|
|
4922
4922
|
return {
|
|
4923
4923
|
...acc,
|
|
4924
|
-
[pair["key"]]:
|
|
4924
|
+
[pair["key"]]: smithy_client_1.expectString(pair["value"]),
|
|
4925
4925
|
};
|
|
4926
4926
|
}, {});
|
|
4927
4927
|
};
|
|
@@ -4941,31 +4941,31 @@ const deserializeAws_queryAuthenticateOidcActionConfig = (output, context) => {
|
|
|
4941
4941
|
UseExistingClientSecret: undefined,
|
|
4942
4942
|
};
|
|
4943
4943
|
if (output["Issuer"] !== undefined) {
|
|
4944
|
-
contents.Issuer =
|
|
4944
|
+
contents.Issuer = smithy_client_1.expectString(output["Issuer"]);
|
|
4945
4945
|
}
|
|
4946
4946
|
if (output["AuthorizationEndpoint"] !== undefined) {
|
|
4947
|
-
contents.AuthorizationEndpoint =
|
|
4947
|
+
contents.AuthorizationEndpoint = smithy_client_1.expectString(output["AuthorizationEndpoint"]);
|
|
4948
4948
|
}
|
|
4949
4949
|
if (output["TokenEndpoint"] !== undefined) {
|
|
4950
|
-
contents.TokenEndpoint =
|
|
4950
|
+
contents.TokenEndpoint = smithy_client_1.expectString(output["TokenEndpoint"]);
|
|
4951
4951
|
}
|
|
4952
4952
|
if (output["UserInfoEndpoint"] !== undefined) {
|
|
4953
|
-
contents.UserInfoEndpoint =
|
|
4953
|
+
contents.UserInfoEndpoint = smithy_client_1.expectString(output["UserInfoEndpoint"]);
|
|
4954
4954
|
}
|
|
4955
4955
|
if (output["ClientId"] !== undefined) {
|
|
4956
|
-
contents.ClientId =
|
|
4956
|
+
contents.ClientId = smithy_client_1.expectString(output["ClientId"]);
|
|
4957
4957
|
}
|
|
4958
4958
|
if (output["ClientSecret"] !== undefined) {
|
|
4959
|
-
contents.ClientSecret =
|
|
4959
|
+
contents.ClientSecret = smithy_client_1.expectString(output["ClientSecret"]);
|
|
4960
4960
|
}
|
|
4961
4961
|
if (output["SessionCookieName"] !== undefined) {
|
|
4962
|
-
contents.SessionCookieName =
|
|
4962
|
+
contents.SessionCookieName = smithy_client_1.expectString(output["SessionCookieName"]);
|
|
4963
4963
|
}
|
|
4964
4964
|
if (output["Scope"] !== undefined) {
|
|
4965
|
-
contents.Scope =
|
|
4965
|
+
contents.Scope = smithy_client_1.expectString(output["Scope"]);
|
|
4966
4966
|
}
|
|
4967
4967
|
if (output["SessionTimeout"] !== undefined) {
|
|
4968
|
-
contents.SessionTimeout =
|
|
4968
|
+
contents.SessionTimeout = smithy_client_1.strictParseLong(output["SessionTimeout"]);
|
|
4969
4969
|
}
|
|
4970
4970
|
if (output.AuthenticationRequestExtraParams === "") {
|
|
4971
4971
|
contents.AuthenticationRequestExtraParams = {};
|
|
@@ -4973,13 +4973,13 @@ const deserializeAws_queryAuthenticateOidcActionConfig = (output, context) => {
|
|
|
4973
4973
|
if (output["AuthenticationRequestExtraParams"] !== undefined &&
|
|
4974
4974
|
output["AuthenticationRequestExtraParams"]["entry"] !== undefined) {
|
|
4975
4975
|
contents.AuthenticationRequestExtraParams =
|
|
4976
|
-
deserializeAws_queryAuthenticateOidcActionAuthenticationRequestExtraParams(
|
|
4976
|
+
deserializeAws_queryAuthenticateOidcActionAuthenticationRequestExtraParams(smithy_client_1.getArrayIfSingleItem(output["AuthenticationRequestExtraParams"]["entry"]), context);
|
|
4977
4977
|
}
|
|
4978
4978
|
if (output["OnUnauthenticatedRequest"] !== undefined) {
|
|
4979
|
-
contents.OnUnauthenticatedRequest =
|
|
4979
|
+
contents.OnUnauthenticatedRequest = smithy_client_1.expectString(output["OnUnauthenticatedRequest"]);
|
|
4980
4980
|
}
|
|
4981
4981
|
if (output["UseExistingClientSecret"] !== undefined) {
|
|
4982
|
-
contents.UseExistingClientSecret =
|
|
4982
|
+
contents.UseExistingClientSecret = smithy_client_1.parseBoolean(output["UseExistingClientSecret"]);
|
|
4983
4983
|
}
|
|
4984
4984
|
return contents;
|
|
4985
4985
|
};
|
|
@@ -4991,19 +4991,19 @@ const deserializeAws_queryAvailabilityZone = (output, context) => {
|
|
|
4991
4991
|
LoadBalancerAddresses: undefined,
|
|
4992
4992
|
};
|
|
4993
4993
|
if (output["ZoneName"] !== undefined) {
|
|
4994
|
-
contents.ZoneName =
|
|
4994
|
+
contents.ZoneName = smithy_client_1.expectString(output["ZoneName"]);
|
|
4995
4995
|
}
|
|
4996
4996
|
if (output["SubnetId"] !== undefined) {
|
|
4997
|
-
contents.SubnetId =
|
|
4997
|
+
contents.SubnetId = smithy_client_1.expectString(output["SubnetId"]);
|
|
4998
4998
|
}
|
|
4999
4999
|
if (output["OutpostId"] !== undefined) {
|
|
5000
|
-
contents.OutpostId =
|
|
5000
|
+
contents.OutpostId = smithy_client_1.expectString(output["OutpostId"]);
|
|
5001
5001
|
}
|
|
5002
5002
|
if (output.LoadBalancerAddresses === "") {
|
|
5003
5003
|
contents.LoadBalancerAddresses = [];
|
|
5004
5004
|
}
|
|
5005
5005
|
if (output["LoadBalancerAddresses"] !== undefined && output["LoadBalancerAddresses"]["member"] !== undefined) {
|
|
5006
|
-
contents.LoadBalancerAddresses = deserializeAws_queryLoadBalancerAddresses(
|
|
5006
|
+
contents.LoadBalancerAddresses = deserializeAws_queryLoadBalancerAddresses(smithy_client_1.getArrayIfSingleItem(output["LoadBalancerAddresses"]["member"]), context);
|
|
5007
5007
|
}
|
|
5008
5008
|
return contents;
|
|
5009
5009
|
};
|
|
@@ -5012,7 +5012,7 @@ const deserializeAws_queryAvailabilityZoneNotSupportedException = (output, conte
|
|
|
5012
5012
|
Message: undefined,
|
|
5013
5013
|
};
|
|
5014
5014
|
if (output["Message"] !== undefined) {
|
|
5015
|
-
contents.Message =
|
|
5015
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5016
5016
|
}
|
|
5017
5017
|
return contents;
|
|
5018
5018
|
};
|
|
@@ -5032,10 +5032,10 @@ const deserializeAws_queryCertificate = (output, context) => {
|
|
|
5032
5032
|
IsDefault: undefined,
|
|
5033
5033
|
};
|
|
5034
5034
|
if (output["CertificateArn"] !== undefined) {
|
|
5035
|
-
contents.CertificateArn =
|
|
5035
|
+
contents.CertificateArn = smithy_client_1.expectString(output["CertificateArn"]);
|
|
5036
5036
|
}
|
|
5037
5037
|
if (output["IsDefault"] !== undefined) {
|
|
5038
|
-
contents.IsDefault =
|
|
5038
|
+
contents.IsDefault = smithy_client_1.parseBoolean(output["IsDefault"]);
|
|
5039
5039
|
}
|
|
5040
5040
|
return contents;
|
|
5041
5041
|
};
|
|
@@ -5054,7 +5054,7 @@ const deserializeAws_queryCertificateNotFoundException = (output, context) => {
|
|
|
5054
5054
|
Message: undefined,
|
|
5055
5055
|
};
|
|
5056
5056
|
if (output["Message"] !== undefined) {
|
|
5057
|
-
contents.Message =
|
|
5057
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5058
5058
|
}
|
|
5059
5059
|
return contents;
|
|
5060
5060
|
};
|
|
@@ -5064,10 +5064,10 @@ const deserializeAws_queryCipher = (output, context) => {
|
|
|
5064
5064
|
Priority: undefined,
|
|
5065
5065
|
};
|
|
5066
5066
|
if (output["Name"] !== undefined) {
|
|
5067
|
-
contents.Name =
|
|
5067
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
5068
5068
|
}
|
|
5069
5069
|
if (output["Priority"] !== undefined) {
|
|
5070
|
-
contents.Priority =
|
|
5070
|
+
contents.Priority = smithy_client_1.strictParseInt32(output["Priority"]);
|
|
5071
5071
|
}
|
|
5072
5072
|
return contents;
|
|
5073
5073
|
};
|
|
@@ -5089,7 +5089,7 @@ const deserializeAws_queryCreateListenerOutput = (output, context) => {
|
|
|
5089
5089
|
contents.Listeners = [];
|
|
5090
5090
|
}
|
|
5091
5091
|
if (output["Listeners"] !== undefined && output["Listeners"]["member"] !== undefined) {
|
|
5092
|
-
contents.Listeners = deserializeAws_queryListeners(
|
|
5092
|
+
contents.Listeners = deserializeAws_queryListeners(smithy_client_1.getArrayIfSingleItem(output["Listeners"]["member"]), context);
|
|
5093
5093
|
}
|
|
5094
5094
|
return contents;
|
|
5095
5095
|
};
|
|
@@ -5101,7 +5101,7 @@ const deserializeAws_queryCreateLoadBalancerOutput = (output, context) => {
|
|
|
5101
5101
|
contents.LoadBalancers = [];
|
|
5102
5102
|
}
|
|
5103
5103
|
if (output["LoadBalancers"] !== undefined && output["LoadBalancers"]["member"] !== undefined) {
|
|
5104
|
-
contents.LoadBalancers = deserializeAws_queryLoadBalancers(
|
|
5104
|
+
contents.LoadBalancers = deserializeAws_queryLoadBalancers(smithy_client_1.getArrayIfSingleItem(output["LoadBalancers"]["member"]), context);
|
|
5105
5105
|
}
|
|
5106
5106
|
return contents;
|
|
5107
5107
|
};
|
|
@@ -5113,7 +5113,7 @@ const deserializeAws_queryCreateRuleOutput = (output, context) => {
|
|
|
5113
5113
|
contents.Rules = [];
|
|
5114
5114
|
}
|
|
5115
5115
|
if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
|
|
5116
|
-
contents.Rules = deserializeAws_queryRules(
|
|
5116
|
+
contents.Rules = deserializeAws_queryRules(smithy_client_1.getArrayIfSingleItem(output["Rules"]["member"]), context);
|
|
5117
5117
|
}
|
|
5118
5118
|
return contents;
|
|
5119
5119
|
};
|
|
@@ -5125,7 +5125,7 @@ const deserializeAws_queryCreateTargetGroupOutput = (output, context) => {
|
|
|
5125
5125
|
contents.TargetGroups = [];
|
|
5126
5126
|
}
|
|
5127
5127
|
if (output["TargetGroups"] !== undefined && output["TargetGroups"]["member"] !== undefined) {
|
|
5128
|
-
contents.TargetGroups = deserializeAws_queryTargetGroups(
|
|
5128
|
+
contents.TargetGroups = deserializeAws_queryTargetGroups(smithy_client_1.getArrayIfSingleItem(output["TargetGroups"]["member"]), context);
|
|
5129
5129
|
}
|
|
5130
5130
|
return contents;
|
|
5131
5131
|
};
|
|
@@ -5158,10 +5158,10 @@ const deserializeAws_queryDescribeAccountLimitsOutput = (output, context) => {
|
|
|
5158
5158
|
contents.Limits = [];
|
|
5159
5159
|
}
|
|
5160
5160
|
if (output["Limits"] !== undefined && output["Limits"]["member"] !== undefined) {
|
|
5161
|
-
contents.Limits = deserializeAws_queryLimits(
|
|
5161
|
+
contents.Limits = deserializeAws_queryLimits(smithy_client_1.getArrayIfSingleItem(output["Limits"]["member"]), context);
|
|
5162
5162
|
}
|
|
5163
5163
|
if (output["NextMarker"] !== undefined) {
|
|
5164
|
-
contents.NextMarker =
|
|
5164
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
5165
5165
|
}
|
|
5166
5166
|
return contents;
|
|
5167
5167
|
};
|
|
@@ -5174,10 +5174,10 @@ const deserializeAws_queryDescribeListenerCertificatesOutput = (output, context)
|
|
|
5174
5174
|
contents.Certificates = [];
|
|
5175
5175
|
}
|
|
5176
5176
|
if (output["Certificates"] !== undefined && output["Certificates"]["member"] !== undefined) {
|
|
5177
|
-
contents.Certificates = deserializeAws_queryCertificateList(
|
|
5177
|
+
contents.Certificates = deserializeAws_queryCertificateList(smithy_client_1.getArrayIfSingleItem(output["Certificates"]["member"]), context);
|
|
5178
5178
|
}
|
|
5179
5179
|
if (output["NextMarker"] !== undefined) {
|
|
5180
|
-
contents.NextMarker =
|
|
5180
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
5181
5181
|
}
|
|
5182
5182
|
return contents;
|
|
5183
5183
|
};
|
|
@@ -5190,10 +5190,10 @@ const deserializeAws_queryDescribeListenersOutput = (output, context) => {
|
|
|
5190
5190
|
contents.Listeners = [];
|
|
5191
5191
|
}
|
|
5192
5192
|
if (output["Listeners"] !== undefined && output["Listeners"]["member"] !== undefined) {
|
|
5193
|
-
contents.Listeners = deserializeAws_queryListeners(
|
|
5193
|
+
contents.Listeners = deserializeAws_queryListeners(smithy_client_1.getArrayIfSingleItem(output["Listeners"]["member"]), context);
|
|
5194
5194
|
}
|
|
5195
5195
|
if (output["NextMarker"] !== undefined) {
|
|
5196
|
-
contents.NextMarker =
|
|
5196
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
5197
5197
|
}
|
|
5198
5198
|
return contents;
|
|
5199
5199
|
};
|
|
@@ -5205,7 +5205,7 @@ const deserializeAws_queryDescribeLoadBalancerAttributesOutput = (output, contex
|
|
|
5205
5205
|
contents.Attributes = [];
|
|
5206
5206
|
}
|
|
5207
5207
|
if (output["Attributes"] !== undefined && output["Attributes"]["member"] !== undefined) {
|
|
5208
|
-
contents.Attributes = deserializeAws_queryLoadBalancerAttributes(
|
|
5208
|
+
contents.Attributes = deserializeAws_queryLoadBalancerAttributes(smithy_client_1.getArrayIfSingleItem(output["Attributes"]["member"]), context);
|
|
5209
5209
|
}
|
|
5210
5210
|
return contents;
|
|
5211
5211
|
};
|
|
@@ -5218,10 +5218,10 @@ const deserializeAws_queryDescribeLoadBalancersOutput = (output, context) => {
|
|
|
5218
5218
|
contents.LoadBalancers = [];
|
|
5219
5219
|
}
|
|
5220
5220
|
if (output["LoadBalancers"] !== undefined && output["LoadBalancers"]["member"] !== undefined) {
|
|
5221
|
-
contents.LoadBalancers = deserializeAws_queryLoadBalancers(
|
|
5221
|
+
contents.LoadBalancers = deserializeAws_queryLoadBalancers(smithy_client_1.getArrayIfSingleItem(output["LoadBalancers"]["member"]), context);
|
|
5222
5222
|
}
|
|
5223
5223
|
if (output["NextMarker"] !== undefined) {
|
|
5224
|
-
contents.NextMarker =
|
|
5224
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
5225
5225
|
}
|
|
5226
5226
|
return contents;
|
|
5227
5227
|
};
|
|
@@ -5234,10 +5234,10 @@ const deserializeAws_queryDescribeRulesOutput = (output, context) => {
|
|
|
5234
5234
|
contents.Rules = [];
|
|
5235
5235
|
}
|
|
5236
5236
|
if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
|
|
5237
|
-
contents.Rules = deserializeAws_queryRules(
|
|
5237
|
+
contents.Rules = deserializeAws_queryRules(smithy_client_1.getArrayIfSingleItem(output["Rules"]["member"]), context);
|
|
5238
5238
|
}
|
|
5239
5239
|
if (output["NextMarker"] !== undefined) {
|
|
5240
|
-
contents.NextMarker =
|
|
5240
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
5241
5241
|
}
|
|
5242
5242
|
return contents;
|
|
5243
5243
|
};
|
|
@@ -5250,10 +5250,10 @@ const deserializeAws_queryDescribeSSLPoliciesOutput = (output, context) => {
|
|
|
5250
5250
|
contents.SslPolicies = [];
|
|
5251
5251
|
}
|
|
5252
5252
|
if (output["SslPolicies"] !== undefined && output["SslPolicies"]["member"] !== undefined) {
|
|
5253
|
-
contents.SslPolicies = deserializeAws_querySslPolicies(
|
|
5253
|
+
contents.SslPolicies = deserializeAws_querySslPolicies(smithy_client_1.getArrayIfSingleItem(output["SslPolicies"]["member"]), context);
|
|
5254
5254
|
}
|
|
5255
5255
|
if (output["NextMarker"] !== undefined) {
|
|
5256
|
-
contents.NextMarker =
|
|
5256
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
5257
5257
|
}
|
|
5258
5258
|
return contents;
|
|
5259
5259
|
};
|
|
@@ -5265,7 +5265,7 @@ const deserializeAws_queryDescribeTagsOutput = (output, context) => {
|
|
|
5265
5265
|
contents.TagDescriptions = [];
|
|
5266
5266
|
}
|
|
5267
5267
|
if (output["TagDescriptions"] !== undefined && output["TagDescriptions"]["member"] !== undefined) {
|
|
5268
|
-
contents.TagDescriptions = deserializeAws_queryTagDescriptions(
|
|
5268
|
+
contents.TagDescriptions = deserializeAws_queryTagDescriptions(smithy_client_1.getArrayIfSingleItem(output["TagDescriptions"]["member"]), context);
|
|
5269
5269
|
}
|
|
5270
5270
|
return contents;
|
|
5271
5271
|
};
|
|
@@ -5277,7 +5277,7 @@ const deserializeAws_queryDescribeTargetGroupAttributesOutput = (output, context
|
|
|
5277
5277
|
contents.Attributes = [];
|
|
5278
5278
|
}
|
|
5279
5279
|
if (output["Attributes"] !== undefined && output["Attributes"]["member"] !== undefined) {
|
|
5280
|
-
contents.Attributes = deserializeAws_queryTargetGroupAttributes(
|
|
5280
|
+
contents.Attributes = deserializeAws_queryTargetGroupAttributes(smithy_client_1.getArrayIfSingleItem(output["Attributes"]["member"]), context);
|
|
5281
5281
|
}
|
|
5282
5282
|
return contents;
|
|
5283
5283
|
};
|
|
@@ -5290,10 +5290,10 @@ const deserializeAws_queryDescribeTargetGroupsOutput = (output, context) => {
|
|
|
5290
5290
|
contents.TargetGroups = [];
|
|
5291
5291
|
}
|
|
5292
5292
|
if (output["TargetGroups"] !== undefined && output["TargetGroups"]["member"] !== undefined) {
|
|
5293
|
-
contents.TargetGroups = deserializeAws_queryTargetGroups(
|
|
5293
|
+
contents.TargetGroups = deserializeAws_queryTargetGroups(smithy_client_1.getArrayIfSingleItem(output["TargetGroups"]["member"]), context);
|
|
5294
5294
|
}
|
|
5295
5295
|
if (output["NextMarker"] !== undefined) {
|
|
5296
|
-
contents.NextMarker =
|
|
5296
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
5297
5297
|
}
|
|
5298
5298
|
return contents;
|
|
5299
5299
|
};
|
|
@@ -5305,7 +5305,7 @@ const deserializeAws_queryDescribeTargetHealthOutput = (output, context) => {
|
|
|
5305
5305
|
contents.TargetHealthDescriptions = [];
|
|
5306
5306
|
}
|
|
5307
5307
|
if (output["TargetHealthDescriptions"] !== undefined && output["TargetHealthDescriptions"]["member"] !== undefined) {
|
|
5308
|
-
contents.TargetHealthDescriptions = deserializeAws_queryTargetHealthDescriptions(
|
|
5308
|
+
contents.TargetHealthDescriptions = deserializeAws_queryTargetHealthDescriptions(smithy_client_1.getArrayIfSingleItem(output["TargetHealthDescriptions"]["member"]), context);
|
|
5309
5309
|
}
|
|
5310
5310
|
return contents;
|
|
5311
5311
|
};
|
|
@@ -5314,7 +5314,7 @@ const deserializeAws_queryDuplicateListenerException = (output, context) => {
|
|
|
5314
5314
|
Message: undefined,
|
|
5315
5315
|
};
|
|
5316
5316
|
if (output["Message"] !== undefined) {
|
|
5317
|
-
contents.Message =
|
|
5317
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5318
5318
|
}
|
|
5319
5319
|
return contents;
|
|
5320
5320
|
};
|
|
@@ -5323,7 +5323,7 @@ const deserializeAws_queryDuplicateLoadBalancerNameException = (output, context)
|
|
|
5323
5323
|
Message: undefined,
|
|
5324
5324
|
};
|
|
5325
5325
|
if (output["Message"] !== undefined) {
|
|
5326
|
-
contents.Message =
|
|
5326
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5327
5327
|
}
|
|
5328
5328
|
return contents;
|
|
5329
5329
|
};
|
|
@@ -5332,7 +5332,7 @@ const deserializeAws_queryDuplicateTagKeysException = (output, context) => {
|
|
|
5332
5332
|
Message: undefined,
|
|
5333
5333
|
};
|
|
5334
5334
|
if (output["Message"] !== undefined) {
|
|
5335
|
-
contents.Message =
|
|
5335
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5336
5336
|
}
|
|
5337
5337
|
return contents;
|
|
5338
5338
|
};
|
|
@@ -5341,7 +5341,7 @@ const deserializeAws_queryDuplicateTargetGroupNameException = (output, context)
|
|
|
5341
5341
|
Message: undefined,
|
|
5342
5342
|
};
|
|
5343
5343
|
if (output["Message"] !== undefined) {
|
|
5344
|
-
contents.Message =
|
|
5344
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5345
5345
|
}
|
|
5346
5346
|
return contents;
|
|
5347
5347
|
};
|
|
@@ -5352,13 +5352,13 @@ const deserializeAws_queryFixedResponseActionConfig = (output, context) => {
|
|
|
5352
5352
|
ContentType: undefined,
|
|
5353
5353
|
};
|
|
5354
5354
|
if (output["MessageBody"] !== undefined) {
|
|
5355
|
-
contents.MessageBody =
|
|
5355
|
+
contents.MessageBody = smithy_client_1.expectString(output["MessageBody"]);
|
|
5356
5356
|
}
|
|
5357
5357
|
if (output["StatusCode"] !== undefined) {
|
|
5358
|
-
contents.StatusCode =
|
|
5358
|
+
contents.StatusCode = smithy_client_1.expectString(output["StatusCode"]);
|
|
5359
5359
|
}
|
|
5360
5360
|
if (output["ContentType"] !== undefined) {
|
|
5361
|
-
contents.ContentType =
|
|
5361
|
+
contents.ContentType = smithy_client_1.expectString(output["ContentType"]);
|
|
5362
5362
|
}
|
|
5363
5363
|
return contents;
|
|
5364
5364
|
};
|
|
@@ -5371,7 +5371,7 @@ const deserializeAws_queryForwardActionConfig = (output, context) => {
|
|
|
5371
5371
|
contents.TargetGroups = [];
|
|
5372
5372
|
}
|
|
5373
5373
|
if (output["TargetGroups"] !== undefined && output["TargetGroups"]["member"] !== undefined) {
|
|
5374
|
-
contents.TargetGroups = deserializeAws_queryTargetGroupList(
|
|
5374
|
+
contents.TargetGroups = deserializeAws_queryTargetGroupList(smithy_client_1.getArrayIfSingleItem(output["TargetGroups"]["member"]), context);
|
|
5375
5375
|
}
|
|
5376
5376
|
if (output["TargetGroupStickinessConfig"] !== undefined) {
|
|
5377
5377
|
contents.TargetGroupStickinessConfig = deserializeAws_queryTargetGroupStickinessConfig(output["TargetGroupStickinessConfig"], context);
|
|
@@ -5383,7 +5383,7 @@ const deserializeAws_queryHealthUnavailableException = (output, context) => {
|
|
|
5383
5383
|
Message: undefined,
|
|
5384
5384
|
};
|
|
5385
5385
|
if (output["Message"] !== undefined) {
|
|
5386
|
-
contents.Message =
|
|
5386
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5387
5387
|
}
|
|
5388
5388
|
return contents;
|
|
5389
5389
|
};
|
|
@@ -5395,7 +5395,7 @@ const deserializeAws_queryHostHeaderConditionConfig = (output, context) => {
|
|
|
5395
5395
|
contents.Values = [];
|
|
5396
5396
|
}
|
|
5397
5397
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
5398
|
-
contents.Values = deserializeAws_queryListOfString(
|
|
5398
|
+
contents.Values = deserializeAws_queryListOfString(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
5399
5399
|
}
|
|
5400
5400
|
return contents;
|
|
5401
5401
|
};
|
|
@@ -5405,13 +5405,13 @@ const deserializeAws_queryHttpHeaderConditionConfig = (output, context) => {
|
|
|
5405
5405
|
Values: undefined,
|
|
5406
5406
|
};
|
|
5407
5407
|
if (output["HttpHeaderName"] !== undefined) {
|
|
5408
|
-
contents.HttpHeaderName =
|
|
5408
|
+
contents.HttpHeaderName = smithy_client_1.expectString(output["HttpHeaderName"]);
|
|
5409
5409
|
}
|
|
5410
5410
|
if (output.Values === "") {
|
|
5411
5411
|
contents.Values = [];
|
|
5412
5412
|
}
|
|
5413
5413
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
5414
|
-
contents.Values = deserializeAws_queryListOfString(
|
|
5414
|
+
contents.Values = deserializeAws_queryListOfString(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
5415
5415
|
}
|
|
5416
5416
|
return contents;
|
|
5417
5417
|
};
|
|
@@ -5423,7 +5423,7 @@ const deserializeAws_queryHttpRequestMethodConditionConfig = (output, context) =
|
|
|
5423
5423
|
contents.Values = [];
|
|
5424
5424
|
}
|
|
5425
5425
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
5426
|
-
contents.Values = deserializeAws_queryListOfString(
|
|
5426
|
+
contents.Values = deserializeAws_queryListOfString(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
5427
5427
|
}
|
|
5428
5428
|
return contents;
|
|
5429
5429
|
};
|
|
@@ -5432,7 +5432,7 @@ const deserializeAws_queryIncompatibleProtocolsException = (output, context) =>
|
|
|
5432
5432
|
Message: undefined,
|
|
5433
5433
|
};
|
|
5434
5434
|
if (output["Message"] !== undefined) {
|
|
5435
|
-
contents.Message =
|
|
5435
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5436
5436
|
}
|
|
5437
5437
|
return contents;
|
|
5438
5438
|
};
|
|
@@ -5441,7 +5441,7 @@ const deserializeAws_queryInvalidConfigurationRequestException = (output, contex
|
|
|
5441
5441
|
Message: undefined,
|
|
5442
5442
|
};
|
|
5443
5443
|
if (output["Message"] !== undefined) {
|
|
5444
|
-
contents.Message =
|
|
5444
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5445
5445
|
}
|
|
5446
5446
|
return contents;
|
|
5447
5447
|
};
|
|
@@ -5450,7 +5450,7 @@ const deserializeAws_queryInvalidLoadBalancerActionException = (output, context)
|
|
|
5450
5450
|
Message: undefined,
|
|
5451
5451
|
};
|
|
5452
5452
|
if (output["Message"] !== undefined) {
|
|
5453
|
-
contents.Message =
|
|
5453
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5454
5454
|
}
|
|
5455
5455
|
return contents;
|
|
5456
5456
|
};
|
|
@@ -5459,7 +5459,7 @@ const deserializeAws_queryInvalidSchemeException = (output, context) => {
|
|
|
5459
5459
|
Message: undefined,
|
|
5460
5460
|
};
|
|
5461
5461
|
if (output["Message"] !== undefined) {
|
|
5462
|
-
contents.Message =
|
|
5462
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5463
5463
|
}
|
|
5464
5464
|
return contents;
|
|
5465
5465
|
};
|
|
@@ -5468,7 +5468,7 @@ const deserializeAws_queryInvalidSecurityGroupException = (output, context) => {
|
|
|
5468
5468
|
Message: undefined,
|
|
5469
5469
|
};
|
|
5470
5470
|
if (output["Message"] !== undefined) {
|
|
5471
|
-
contents.Message =
|
|
5471
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5472
5472
|
}
|
|
5473
5473
|
return contents;
|
|
5474
5474
|
};
|
|
@@ -5477,7 +5477,7 @@ const deserializeAws_queryInvalidSubnetException = (output, context) => {
|
|
|
5477
5477
|
Message: undefined,
|
|
5478
5478
|
};
|
|
5479
5479
|
if (output["Message"] !== undefined) {
|
|
5480
|
-
contents.Message =
|
|
5480
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5481
5481
|
}
|
|
5482
5482
|
return contents;
|
|
5483
5483
|
};
|
|
@@ -5486,7 +5486,7 @@ const deserializeAws_queryInvalidTargetException = (output, context) => {
|
|
|
5486
5486
|
Message: undefined,
|
|
5487
5487
|
};
|
|
5488
5488
|
if (output["Message"] !== undefined) {
|
|
5489
|
-
contents.Message =
|
|
5489
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5490
5490
|
}
|
|
5491
5491
|
return contents;
|
|
5492
5492
|
};
|
|
@@ -5496,10 +5496,10 @@ const deserializeAws_queryLimit = (output, context) => {
|
|
|
5496
5496
|
Max: undefined,
|
|
5497
5497
|
};
|
|
5498
5498
|
if (output["Name"] !== undefined) {
|
|
5499
|
-
contents.Name =
|
|
5499
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
5500
5500
|
}
|
|
5501
5501
|
if (output["Max"] !== undefined) {
|
|
5502
|
-
contents.Max =
|
|
5502
|
+
contents.Max = smithy_client_1.expectString(output["Max"]);
|
|
5503
5503
|
}
|
|
5504
5504
|
return contents;
|
|
5505
5505
|
};
|
|
@@ -5525,37 +5525,37 @@ const deserializeAws_queryListener = (output, context) => {
|
|
|
5525
5525
|
AlpnPolicy: undefined,
|
|
5526
5526
|
};
|
|
5527
5527
|
if (output["ListenerArn"] !== undefined) {
|
|
5528
|
-
contents.ListenerArn =
|
|
5528
|
+
contents.ListenerArn = smithy_client_1.expectString(output["ListenerArn"]);
|
|
5529
5529
|
}
|
|
5530
5530
|
if (output["LoadBalancerArn"] !== undefined) {
|
|
5531
|
-
contents.LoadBalancerArn =
|
|
5531
|
+
contents.LoadBalancerArn = smithy_client_1.expectString(output["LoadBalancerArn"]);
|
|
5532
5532
|
}
|
|
5533
5533
|
if (output["Port"] !== undefined) {
|
|
5534
|
-
contents.Port =
|
|
5534
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
5535
5535
|
}
|
|
5536
5536
|
if (output["Protocol"] !== undefined) {
|
|
5537
|
-
contents.Protocol =
|
|
5537
|
+
contents.Protocol = smithy_client_1.expectString(output["Protocol"]);
|
|
5538
5538
|
}
|
|
5539
5539
|
if (output.Certificates === "") {
|
|
5540
5540
|
contents.Certificates = [];
|
|
5541
5541
|
}
|
|
5542
5542
|
if (output["Certificates"] !== undefined && output["Certificates"]["member"] !== undefined) {
|
|
5543
|
-
contents.Certificates = deserializeAws_queryCertificateList(
|
|
5543
|
+
contents.Certificates = deserializeAws_queryCertificateList(smithy_client_1.getArrayIfSingleItem(output["Certificates"]["member"]), context);
|
|
5544
5544
|
}
|
|
5545
5545
|
if (output["SslPolicy"] !== undefined) {
|
|
5546
|
-
contents.SslPolicy =
|
|
5546
|
+
contents.SslPolicy = smithy_client_1.expectString(output["SslPolicy"]);
|
|
5547
5547
|
}
|
|
5548
5548
|
if (output.DefaultActions === "") {
|
|
5549
5549
|
contents.DefaultActions = [];
|
|
5550
5550
|
}
|
|
5551
5551
|
if (output["DefaultActions"] !== undefined && output["DefaultActions"]["member"] !== undefined) {
|
|
5552
|
-
contents.DefaultActions = deserializeAws_queryActions(
|
|
5552
|
+
contents.DefaultActions = deserializeAws_queryActions(smithy_client_1.getArrayIfSingleItem(output["DefaultActions"]["member"]), context);
|
|
5553
5553
|
}
|
|
5554
5554
|
if (output.AlpnPolicy === "") {
|
|
5555
5555
|
contents.AlpnPolicy = [];
|
|
5556
5556
|
}
|
|
5557
5557
|
if (output["AlpnPolicy"] !== undefined && output["AlpnPolicy"]["member"] !== undefined) {
|
|
5558
|
-
contents.AlpnPolicy = deserializeAws_queryAlpnPolicyName(
|
|
5558
|
+
contents.AlpnPolicy = deserializeAws_queryAlpnPolicyName(smithy_client_1.getArrayIfSingleItem(output["AlpnPolicy"]["member"]), context);
|
|
5559
5559
|
}
|
|
5560
5560
|
return contents;
|
|
5561
5561
|
};
|
|
@@ -5564,7 +5564,7 @@ const deserializeAws_queryListenerNotFoundException = (output, context) => {
|
|
|
5564
5564
|
Message: undefined,
|
|
5565
5565
|
};
|
|
5566
5566
|
if (output["Message"] !== undefined) {
|
|
5567
|
-
contents.Message =
|
|
5567
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5568
5568
|
}
|
|
5569
5569
|
return contents;
|
|
5570
5570
|
};
|
|
@@ -5585,7 +5585,7 @@ const deserializeAws_queryListOfString = (output, context) => {
|
|
|
5585
5585
|
if (entry === null) {
|
|
5586
5586
|
return null;
|
|
5587
5587
|
}
|
|
5588
|
-
return
|
|
5588
|
+
return smithy_client_1.expectString(entry);
|
|
5589
5589
|
});
|
|
5590
5590
|
};
|
|
5591
5591
|
const deserializeAws_queryLoadBalancer = (output, context) => {
|
|
@@ -5605,49 +5605,49 @@ const deserializeAws_queryLoadBalancer = (output, context) => {
|
|
|
5605
5605
|
CustomerOwnedIpv4Pool: undefined,
|
|
5606
5606
|
};
|
|
5607
5607
|
if (output["LoadBalancerArn"] !== undefined) {
|
|
5608
|
-
contents.LoadBalancerArn =
|
|
5608
|
+
contents.LoadBalancerArn = smithy_client_1.expectString(output["LoadBalancerArn"]);
|
|
5609
5609
|
}
|
|
5610
5610
|
if (output["DNSName"] !== undefined) {
|
|
5611
|
-
contents.DNSName =
|
|
5611
|
+
contents.DNSName = smithy_client_1.expectString(output["DNSName"]);
|
|
5612
5612
|
}
|
|
5613
5613
|
if (output["CanonicalHostedZoneId"] !== undefined) {
|
|
5614
|
-
contents.CanonicalHostedZoneId =
|
|
5614
|
+
contents.CanonicalHostedZoneId = smithy_client_1.expectString(output["CanonicalHostedZoneId"]);
|
|
5615
5615
|
}
|
|
5616
5616
|
if (output["CreatedTime"] !== undefined) {
|
|
5617
|
-
contents.CreatedTime =
|
|
5617
|
+
contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTime"]));
|
|
5618
5618
|
}
|
|
5619
5619
|
if (output["LoadBalancerName"] !== undefined) {
|
|
5620
|
-
contents.LoadBalancerName =
|
|
5620
|
+
contents.LoadBalancerName = smithy_client_1.expectString(output["LoadBalancerName"]);
|
|
5621
5621
|
}
|
|
5622
5622
|
if (output["Scheme"] !== undefined) {
|
|
5623
|
-
contents.Scheme =
|
|
5623
|
+
contents.Scheme = smithy_client_1.expectString(output["Scheme"]);
|
|
5624
5624
|
}
|
|
5625
5625
|
if (output["VpcId"] !== undefined) {
|
|
5626
|
-
contents.VpcId =
|
|
5626
|
+
contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
|
|
5627
5627
|
}
|
|
5628
5628
|
if (output["State"] !== undefined) {
|
|
5629
5629
|
contents.State = deserializeAws_queryLoadBalancerState(output["State"], context);
|
|
5630
5630
|
}
|
|
5631
5631
|
if (output["Type"] !== undefined) {
|
|
5632
|
-
contents.Type =
|
|
5632
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
5633
5633
|
}
|
|
5634
5634
|
if (output.AvailabilityZones === "") {
|
|
5635
5635
|
contents.AvailabilityZones = [];
|
|
5636
5636
|
}
|
|
5637
5637
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
5638
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
5638
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
5639
5639
|
}
|
|
5640
5640
|
if (output.SecurityGroups === "") {
|
|
5641
5641
|
contents.SecurityGroups = [];
|
|
5642
5642
|
}
|
|
5643
5643
|
if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
5644
|
-
contents.SecurityGroups = deserializeAws_querySecurityGroups(
|
|
5644
|
+
contents.SecurityGroups = deserializeAws_querySecurityGroups(smithy_client_1.getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
|
|
5645
5645
|
}
|
|
5646
5646
|
if (output["IpAddressType"] !== undefined) {
|
|
5647
|
-
contents.IpAddressType =
|
|
5647
|
+
contents.IpAddressType = smithy_client_1.expectString(output["IpAddressType"]);
|
|
5648
5648
|
}
|
|
5649
5649
|
if (output["CustomerOwnedIpv4Pool"] !== undefined) {
|
|
5650
|
-
contents.CustomerOwnedIpv4Pool =
|
|
5650
|
+
contents.CustomerOwnedIpv4Pool = smithy_client_1.expectString(output["CustomerOwnedIpv4Pool"]);
|
|
5651
5651
|
}
|
|
5652
5652
|
return contents;
|
|
5653
5653
|
};
|
|
@@ -5659,16 +5659,16 @@ const deserializeAws_queryLoadBalancerAddress = (output, context) => {
|
|
|
5659
5659
|
IPv6Address: undefined,
|
|
5660
5660
|
};
|
|
5661
5661
|
if (output["IpAddress"] !== undefined) {
|
|
5662
|
-
contents.IpAddress =
|
|
5662
|
+
contents.IpAddress = smithy_client_1.expectString(output["IpAddress"]);
|
|
5663
5663
|
}
|
|
5664
5664
|
if (output["AllocationId"] !== undefined) {
|
|
5665
|
-
contents.AllocationId =
|
|
5665
|
+
contents.AllocationId = smithy_client_1.expectString(output["AllocationId"]);
|
|
5666
5666
|
}
|
|
5667
5667
|
if (output["PrivateIPv4Address"] !== undefined) {
|
|
5668
|
-
contents.PrivateIPv4Address =
|
|
5668
|
+
contents.PrivateIPv4Address = smithy_client_1.expectString(output["PrivateIPv4Address"]);
|
|
5669
5669
|
}
|
|
5670
5670
|
if (output["IPv6Address"] !== undefined) {
|
|
5671
|
-
contents.IPv6Address =
|
|
5671
|
+
contents.IPv6Address = smithy_client_1.expectString(output["IPv6Address"]);
|
|
5672
5672
|
}
|
|
5673
5673
|
return contents;
|
|
5674
5674
|
};
|
|
@@ -5689,7 +5689,7 @@ const deserializeAws_queryLoadBalancerArns = (output, context) => {
|
|
|
5689
5689
|
if (entry === null) {
|
|
5690
5690
|
return null;
|
|
5691
5691
|
}
|
|
5692
|
-
return
|
|
5692
|
+
return smithy_client_1.expectString(entry);
|
|
5693
5693
|
});
|
|
5694
5694
|
};
|
|
5695
5695
|
const deserializeAws_queryLoadBalancerAttribute = (output, context) => {
|
|
@@ -5698,10 +5698,10 @@ const deserializeAws_queryLoadBalancerAttribute = (output, context) => {
|
|
|
5698
5698
|
Value: undefined,
|
|
5699
5699
|
};
|
|
5700
5700
|
if (output["Key"] !== undefined) {
|
|
5701
|
-
contents.Key =
|
|
5701
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
5702
5702
|
}
|
|
5703
5703
|
if (output["Value"] !== undefined) {
|
|
5704
|
-
contents.Value =
|
|
5704
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
5705
5705
|
}
|
|
5706
5706
|
return contents;
|
|
5707
5707
|
};
|
|
@@ -5720,7 +5720,7 @@ const deserializeAws_queryLoadBalancerNotFoundException = (output, context) => {
|
|
|
5720
5720
|
Message: undefined,
|
|
5721
5721
|
};
|
|
5722
5722
|
if (output["Message"] !== undefined) {
|
|
5723
|
-
contents.Message =
|
|
5723
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5724
5724
|
}
|
|
5725
5725
|
return contents;
|
|
5726
5726
|
};
|
|
@@ -5740,10 +5740,10 @@ const deserializeAws_queryLoadBalancerState = (output, context) => {
|
|
|
5740
5740
|
Reason: undefined,
|
|
5741
5741
|
};
|
|
5742
5742
|
if (output["Code"] !== undefined) {
|
|
5743
|
-
contents.Code =
|
|
5743
|
+
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
5744
5744
|
}
|
|
5745
5745
|
if (output["Reason"] !== undefined) {
|
|
5746
|
-
contents.Reason =
|
|
5746
|
+
contents.Reason = smithy_client_1.expectString(output["Reason"]);
|
|
5747
5747
|
}
|
|
5748
5748
|
return contents;
|
|
5749
5749
|
};
|
|
@@ -5753,10 +5753,10 @@ const deserializeAws_queryMatcher = (output, context) => {
|
|
|
5753
5753
|
GrpcCode: undefined,
|
|
5754
5754
|
};
|
|
5755
5755
|
if (output["HttpCode"] !== undefined) {
|
|
5756
|
-
contents.HttpCode =
|
|
5756
|
+
contents.HttpCode = smithy_client_1.expectString(output["HttpCode"]);
|
|
5757
5757
|
}
|
|
5758
5758
|
if (output["GrpcCode"] !== undefined) {
|
|
5759
|
-
contents.GrpcCode =
|
|
5759
|
+
contents.GrpcCode = smithy_client_1.expectString(output["GrpcCode"]);
|
|
5760
5760
|
}
|
|
5761
5761
|
return contents;
|
|
5762
5762
|
};
|
|
@@ -5768,7 +5768,7 @@ const deserializeAws_queryModifyListenerOutput = (output, context) => {
|
|
|
5768
5768
|
contents.Listeners = [];
|
|
5769
5769
|
}
|
|
5770
5770
|
if (output["Listeners"] !== undefined && output["Listeners"]["member"] !== undefined) {
|
|
5771
|
-
contents.Listeners = deserializeAws_queryListeners(
|
|
5771
|
+
contents.Listeners = deserializeAws_queryListeners(smithy_client_1.getArrayIfSingleItem(output["Listeners"]["member"]), context);
|
|
5772
5772
|
}
|
|
5773
5773
|
return contents;
|
|
5774
5774
|
};
|
|
@@ -5780,7 +5780,7 @@ const deserializeAws_queryModifyLoadBalancerAttributesOutput = (output, context)
|
|
|
5780
5780
|
contents.Attributes = [];
|
|
5781
5781
|
}
|
|
5782
5782
|
if (output["Attributes"] !== undefined && output["Attributes"]["member"] !== undefined) {
|
|
5783
|
-
contents.Attributes = deserializeAws_queryLoadBalancerAttributes(
|
|
5783
|
+
contents.Attributes = deserializeAws_queryLoadBalancerAttributes(smithy_client_1.getArrayIfSingleItem(output["Attributes"]["member"]), context);
|
|
5784
5784
|
}
|
|
5785
5785
|
return contents;
|
|
5786
5786
|
};
|
|
@@ -5792,7 +5792,7 @@ const deserializeAws_queryModifyRuleOutput = (output, context) => {
|
|
|
5792
5792
|
contents.Rules = [];
|
|
5793
5793
|
}
|
|
5794
5794
|
if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
|
|
5795
|
-
contents.Rules = deserializeAws_queryRules(
|
|
5795
|
+
contents.Rules = deserializeAws_queryRules(smithy_client_1.getArrayIfSingleItem(output["Rules"]["member"]), context);
|
|
5796
5796
|
}
|
|
5797
5797
|
return contents;
|
|
5798
5798
|
};
|
|
@@ -5804,7 +5804,7 @@ const deserializeAws_queryModifyTargetGroupAttributesOutput = (output, context)
|
|
|
5804
5804
|
contents.Attributes = [];
|
|
5805
5805
|
}
|
|
5806
5806
|
if (output["Attributes"] !== undefined && output["Attributes"]["member"] !== undefined) {
|
|
5807
|
-
contents.Attributes = deserializeAws_queryTargetGroupAttributes(
|
|
5807
|
+
contents.Attributes = deserializeAws_queryTargetGroupAttributes(smithy_client_1.getArrayIfSingleItem(output["Attributes"]["member"]), context);
|
|
5808
5808
|
}
|
|
5809
5809
|
return contents;
|
|
5810
5810
|
};
|
|
@@ -5816,7 +5816,7 @@ const deserializeAws_queryModifyTargetGroupOutput = (output, context) => {
|
|
|
5816
5816
|
contents.TargetGroups = [];
|
|
5817
5817
|
}
|
|
5818
5818
|
if (output["TargetGroups"] !== undefined && output["TargetGroups"]["member"] !== undefined) {
|
|
5819
|
-
contents.TargetGroups = deserializeAws_queryTargetGroups(
|
|
5819
|
+
contents.TargetGroups = deserializeAws_queryTargetGroups(smithy_client_1.getArrayIfSingleItem(output["TargetGroups"]["member"]), context);
|
|
5820
5820
|
}
|
|
5821
5821
|
return contents;
|
|
5822
5822
|
};
|
|
@@ -5825,7 +5825,7 @@ const deserializeAws_queryOperationNotPermittedException = (output, context) =>
|
|
|
5825
5825
|
Message: undefined,
|
|
5826
5826
|
};
|
|
5827
5827
|
if (output["Message"] !== undefined) {
|
|
5828
|
-
contents.Message =
|
|
5828
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5829
5829
|
}
|
|
5830
5830
|
return contents;
|
|
5831
5831
|
};
|
|
@@ -5837,7 +5837,7 @@ const deserializeAws_queryPathPatternConditionConfig = (output, context) => {
|
|
|
5837
5837
|
contents.Values = [];
|
|
5838
5838
|
}
|
|
5839
5839
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
5840
|
-
contents.Values = deserializeAws_queryListOfString(
|
|
5840
|
+
contents.Values = deserializeAws_queryListOfString(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
5841
5841
|
}
|
|
5842
5842
|
return contents;
|
|
5843
5843
|
};
|
|
@@ -5846,7 +5846,7 @@ const deserializeAws_queryPriorityInUseException = (output, context) => {
|
|
|
5846
5846
|
Message: undefined,
|
|
5847
5847
|
};
|
|
5848
5848
|
if (output["Message"] !== undefined) {
|
|
5849
|
-
contents.Message =
|
|
5849
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5850
5850
|
}
|
|
5851
5851
|
return contents;
|
|
5852
5852
|
};
|
|
@@ -5858,7 +5858,7 @@ const deserializeAws_queryQueryStringConditionConfig = (output, context) => {
|
|
|
5858
5858
|
contents.Values = [];
|
|
5859
5859
|
}
|
|
5860
5860
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
5861
|
-
contents.Values = deserializeAws_queryQueryStringKeyValuePairList(
|
|
5861
|
+
contents.Values = deserializeAws_queryQueryStringKeyValuePairList(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
5862
5862
|
}
|
|
5863
5863
|
return contents;
|
|
5864
5864
|
};
|
|
@@ -5868,10 +5868,10 @@ const deserializeAws_queryQueryStringKeyValuePair = (output, context) => {
|
|
|
5868
5868
|
Value: undefined,
|
|
5869
5869
|
};
|
|
5870
5870
|
if (output["Key"] !== undefined) {
|
|
5871
|
-
contents.Key =
|
|
5871
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
5872
5872
|
}
|
|
5873
5873
|
if (output["Value"] !== undefined) {
|
|
5874
|
-
contents.Value =
|
|
5874
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
5875
5875
|
}
|
|
5876
5876
|
return contents;
|
|
5877
5877
|
};
|
|
@@ -5895,22 +5895,22 @@ const deserializeAws_queryRedirectActionConfig = (output, context) => {
|
|
|
5895
5895
|
StatusCode: undefined,
|
|
5896
5896
|
};
|
|
5897
5897
|
if (output["Protocol"] !== undefined) {
|
|
5898
|
-
contents.Protocol =
|
|
5898
|
+
contents.Protocol = smithy_client_1.expectString(output["Protocol"]);
|
|
5899
5899
|
}
|
|
5900
5900
|
if (output["Port"] !== undefined) {
|
|
5901
|
-
contents.Port =
|
|
5901
|
+
contents.Port = smithy_client_1.expectString(output["Port"]);
|
|
5902
5902
|
}
|
|
5903
5903
|
if (output["Host"] !== undefined) {
|
|
5904
|
-
contents.Host =
|
|
5904
|
+
contents.Host = smithy_client_1.expectString(output["Host"]);
|
|
5905
5905
|
}
|
|
5906
5906
|
if (output["Path"] !== undefined) {
|
|
5907
|
-
contents.Path =
|
|
5907
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
5908
5908
|
}
|
|
5909
5909
|
if (output["Query"] !== undefined) {
|
|
5910
|
-
contents.Query =
|
|
5910
|
+
contents.Query = smithy_client_1.expectString(output["Query"]);
|
|
5911
5911
|
}
|
|
5912
5912
|
if (output["StatusCode"] !== undefined) {
|
|
5913
|
-
contents.StatusCode =
|
|
5913
|
+
contents.StatusCode = smithy_client_1.expectString(output["StatusCode"]);
|
|
5914
5914
|
}
|
|
5915
5915
|
return contents;
|
|
5916
5916
|
};
|
|
@@ -5931,7 +5931,7 @@ const deserializeAws_queryResourceInUseException = (output, context) => {
|
|
|
5931
5931
|
Message: undefined,
|
|
5932
5932
|
};
|
|
5933
5933
|
if (output["Message"] !== undefined) {
|
|
5934
|
-
contents.Message =
|
|
5934
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
5935
5935
|
}
|
|
5936
5936
|
return contents;
|
|
5937
5937
|
};
|
|
@@ -5944,25 +5944,25 @@ const deserializeAws_queryRule = (output, context) => {
|
|
|
5944
5944
|
IsDefault: undefined,
|
|
5945
5945
|
};
|
|
5946
5946
|
if (output["RuleArn"] !== undefined) {
|
|
5947
|
-
contents.RuleArn =
|
|
5947
|
+
contents.RuleArn = smithy_client_1.expectString(output["RuleArn"]);
|
|
5948
5948
|
}
|
|
5949
5949
|
if (output["Priority"] !== undefined) {
|
|
5950
|
-
contents.Priority =
|
|
5950
|
+
contents.Priority = smithy_client_1.expectString(output["Priority"]);
|
|
5951
5951
|
}
|
|
5952
5952
|
if (output.Conditions === "") {
|
|
5953
5953
|
contents.Conditions = [];
|
|
5954
5954
|
}
|
|
5955
5955
|
if (output["Conditions"] !== undefined && output["Conditions"]["member"] !== undefined) {
|
|
5956
|
-
contents.Conditions = deserializeAws_queryRuleConditionList(
|
|
5956
|
+
contents.Conditions = deserializeAws_queryRuleConditionList(smithy_client_1.getArrayIfSingleItem(output["Conditions"]["member"]), context);
|
|
5957
5957
|
}
|
|
5958
5958
|
if (output.Actions === "") {
|
|
5959
5959
|
contents.Actions = [];
|
|
5960
5960
|
}
|
|
5961
5961
|
if (output["Actions"] !== undefined && output["Actions"]["member"] !== undefined) {
|
|
5962
|
-
contents.Actions = deserializeAws_queryActions(
|
|
5962
|
+
contents.Actions = deserializeAws_queryActions(smithy_client_1.getArrayIfSingleItem(output["Actions"]["member"]), context);
|
|
5963
5963
|
}
|
|
5964
5964
|
if (output["IsDefault"] !== undefined) {
|
|
5965
|
-
contents.IsDefault =
|
|
5965
|
+
contents.IsDefault = smithy_client_1.parseBoolean(output["IsDefault"]);
|
|
5966
5966
|
}
|
|
5967
5967
|
return contents;
|
|
5968
5968
|
};
|
|
@@ -5978,13 +5978,13 @@ const deserializeAws_queryRuleCondition = (output, context) => {
|
|
|
5978
5978
|
SourceIpConfig: undefined,
|
|
5979
5979
|
};
|
|
5980
5980
|
if (output["Field"] !== undefined) {
|
|
5981
|
-
contents.Field =
|
|
5981
|
+
contents.Field = smithy_client_1.expectString(output["Field"]);
|
|
5982
5982
|
}
|
|
5983
5983
|
if (output.Values === "") {
|
|
5984
5984
|
contents.Values = [];
|
|
5985
5985
|
}
|
|
5986
5986
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
5987
|
-
contents.Values = deserializeAws_queryListOfString(
|
|
5987
|
+
contents.Values = deserializeAws_queryListOfString(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
5988
5988
|
}
|
|
5989
5989
|
if (output["HostHeaderConfig"] !== undefined) {
|
|
5990
5990
|
contents.HostHeaderConfig = deserializeAws_queryHostHeaderConditionConfig(output["HostHeaderConfig"], context);
|
|
@@ -6021,7 +6021,7 @@ const deserializeAws_queryRuleNotFoundException = (output, context) => {
|
|
|
6021
6021
|
Message: undefined,
|
|
6022
6022
|
};
|
|
6023
6023
|
if (output["Message"] !== undefined) {
|
|
6024
|
-
contents.Message =
|
|
6024
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6025
6025
|
}
|
|
6026
6026
|
return contents;
|
|
6027
6027
|
};
|
|
@@ -6042,7 +6042,7 @@ const deserializeAws_querySecurityGroups = (output, context) => {
|
|
|
6042
6042
|
if (entry === null) {
|
|
6043
6043
|
return null;
|
|
6044
6044
|
}
|
|
6045
|
-
return
|
|
6045
|
+
return smithy_client_1.expectString(entry);
|
|
6046
6046
|
});
|
|
6047
6047
|
};
|
|
6048
6048
|
const deserializeAws_querySetIpAddressTypeOutput = (output, context) => {
|
|
@@ -6050,7 +6050,7 @@ const deserializeAws_querySetIpAddressTypeOutput = (output, context) => {
|
|
|
6050
6050
|
IpAddressType: undefined,
|
|
6051
6051
|
};
|
|
6052
6052
|
if (output["IpAddressType"] !== undefined) {
|
|
6053
|
-
contents.IpAddressType =
|
|
6053
|
+
contents.IpAddressType = smithy_client_1.expectString(output["IpAddressType"]);
|
|
6054
6054
|
}
|
|
6055
6055
|
return contents;
|
|
6056
6056
|
};
|
|
@@ -6062,7 +6062,7 @@ const deserializeAws_querySetRulePrioritiesOutput = (output, context) => {
|
|
|
6062
6062
|
contents.Rules = [];
|
|
6063
6063
|
}
|
|
6064
6064
|
if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
|
|
6065
|
-
contents.Rules = deserializeAws_queryRules(
|
|
6065
|
+
contents.Rules = deserializeAws_queryRules(smithy_client_1.getArrayIfSingleItem(output["Rules"]["member"]), context);
|
|
6066
6066
|
}
|
|
6067
6067
|
return contents;
|
|
6068
6068
|
};
|
|
@@ -6074,7 +6074,7 @@ const deserializeAws_querySetSecurityGroupsOutput = (output, context) => {
|
|
|
6074
6074
|
contents.SecurityGroupIds = [];
|
|
6075
6075
|
}
|
|
6076
6076
|
if (output["SecurityGroupIds"] !== undefined && output["SecurityGroupIds"]["member"] !== undefined) {
|
|
6077
|
-
contents.SecurityGroupIds = deserializeAws_querySecurityGroups(
|
|
6077
|
+
contents.SecurityGroupIds = deserializeAws_querySecurityGroups(smithy_client_1.getArrayIfSingleItem(output["SecurityGroupIds"]["member"]), context);
|
|
6078
6078
|
}
|
|
6079
6079
|
return contents;
|
|
6080
6080
|
};
|
|
@@ -6087,10 +6087,10 @@ const deserializeAws_querySetSubnetsOutput = (output, context) => {
|
|
|
6087
6087
|
contents.AvailabilityZones = [];
|
|
6088
6088
|
}
|
|
6089
6089
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
6090
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
6090
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
6091
6091
|
}
|
|
6092
6092
|
if (output["IpAddressType"] !== undefined) {
|
|
6093
|
-
contents.IpAddressType =
|
|
6093
|
+
contents.IpAddressType = smithy_client_1.expectString(output["IpAddressType"]);
|
|
6094
6094
|
}
|
|
6095
6095
|
return contents;
|
|
6096
6096
|
};
|
|
@@ -6102,7 +6102,7 @@ const deserializeAws_querySourceIpConditionConfig = (output, context) => {
|
|
|
6102
6102
|
contents.Values = [];
|
|
6103
6103
|
}
|
|
6104
6104
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
6105
|
-
contents.Values = deserializeAws_queryListOfString(
|
|
6105
|
+
contents.Values = deserializeAws_queryListOfString(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
6106
6106
|
}
|
|
6107
6107
|
return contents;
|
|
6108
6108
|
};
|
|
@@ -6126,16 +6126,16 @@ const deserializeAws_querySslPolicy = (output, context) => {
|
|
|
6126
6126
|
contents.SslProtocols = [];
|
|
6127
6127
|
}
|
|
6128
6128
|
if (output["SslProtocols"] !== undefined && output["SslProtocols"]["member"] !== undefined) {
|
|
6129
|
-
contents.SslProtocols = deserializeAws_querySslProtocols(
|
|
6129
|
+
contents.SslProtocols = deserializeAws_querySslProtocols(smithy_client_1.getArrayIfSingleItem(output["SslProtocols"]["member"]), context);
|
|
6130
6130
|
}
|
|
6131
6131
|
if (output.Ciphers === "") {
|
|
6132
6132
|
contents.Ciphers = [];
|
|
6133
6133
|
}
|
|
6134
6134
|
if (output["Ciphers"] !== undefined && output["Ciphers"]["member"] !== undefined) {
|
|
6135
|
-
contents.Ciphers = deserializeAws_queryCiphers(
|
|
6135
|
+
contents.Ciphers = deserializeAws_queryCiphers(smithy_client_1.getArrayIfSingleItem(output["Ciphers"]["member"]), context);
|
|
6136
6136
|
}
|
|
6137
6137
|
if (output["Name"] !== undefined) {
|
|
6138
|
-
contents.Name =
|
|
6138
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6139
6139
|
}
|
|
6140
6140
|
return contents;
|
|
6141
6141
|
};
|
|
@@ -6144,7 +6144,7 @@ const deserializeAws_querySSLPolicyNotFoundException = (output, context) => {
|
|
|
6144
6144
|
Message: undefined,
|
|
6145
6145
|
};
|
|
6146
6146
|
if (output["Message"] !== undefined) {
|
|
6147
|
-
contents.Message =
|
|
6147
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6148
6148
|
}
|
|
6149
6149
|
return contents;
|
|
6150
6150
|
};
|
|
@@ -6155,7 +6155,7 @@ const deserializeAws_querySslProtocols = (output, context) => {
|
|
|
6155
6155
|
if (entry === null) {
|
|
6156
6156
|
return null;
|
|
6157
6157
|
}
|
|
6158
|
-
return
|
|
6158
|
+
return smithy_client_1.expectString(entry);
|
|
6159
6159
|
});
|
|
6160
6160
|
};
|
|
6161
6161
|
const deserializeAws_querySubnetNotFoundException = (output, context) => {
|
|
@@ -6163,7 +6163,7 @@ const deserializeAws_querySubnetNotFoundException = (output, context) => {
|
|
|
6163
6163
|
Message: undefined,
|
|
6164
6164
|
};
|
|
6165
6165
|
if (output["Message"] !== undefined) {
|
|
6166
|
-
contents.Message =
|
|
6166
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6167
6167
|
}
|
|
6168
6168
|
return contents;
|
|
6169
6169
|
};
|
|
@@ -6173,10 +6173,10 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
6173
6173
|
Value: undefined,
|
|
6174
6174
|
};
|
|
6175
6175
|
if (output["Key"] !== undefined) {
|
|
6176
|
-
contents.Key =
|
|
6176
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
6177
6177
|
}
|
|
6178
6178
|
if (output["Value"] !== undefined) {
|
|
6179
|
-
contents.Value =
|
|
6179
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
6180
6180
|
}
|
|
6181
6181
|
return contents;
|
|
6182
6182
|
};
|
|
@@ -6186,13 +6186,13 @@ const deserializeAws_queryTagDescription = (output, context) => {
|
|
|
6186
6186
|
Tags: undefined,
|
|
6187
6187
|
};
|
|
6188
6188
|
if (output["ResourceArn"] !== undefined) {
|
|
6189
|
-
contents.ResourceArn =
|
|
6189
|
+
contents.ResourceArn = smithy_client_1.expectString(output["ResourceArn"]);
|
|
6190
6190
|
}
|
|
6191
6191
|
if (output.Tags === "") {
|
|
6192
6192
|
contents.Tags = [];
|
|
6193
6193
|
}
|
|
6194
6194
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
6195
|
-
contents.Tags = deserializeAws_queryTagList(
|
|
6195
|
+
contents.Tags = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
6196
6196
|
}
|
|
6197
6197
|
return contents;
|
|
6198
6198
|
};
|
|
@@ -6223,13 +6223,13 @@ const deserializeAws_queryTargetDescription = (output, context) => {
|
|
|
6223
6223
|
AvailabilityZone: undefined,
|
|
6224
6224
|
};
|
|
6225
6225
|
if (output["Id"] !== undefined) {
|
|
6226
|
-
contents.Id =
|
|
6226
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
6227
6227
|
}
|
|
6228
6228
|
if (output["Port"] !== undefined) {
|
|
6229
|
-
contents.Port =
|
|
6229
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
6230
6230
|
}
|
|
6231
6231
|
if (output["AvailabilityZone"] !== undefined) {
|
|
6232
|
-
contents.AvailabilityZone =
|
|
6232
|
+
contents.AvailabilityZone = smithy_client_1.expectString(output["AvailabilityZone"]);
|
|
6233
6233
|
}
|
|
6234
6234
|
return contents;
|
|
6235
6235
|
};
|
|
@@ -6254,43 +6254,43 @@ const deserializeAws_queryTargetGroup = (output, context) => {
|
|
|
6254
6254
|
ProtocolVersion: undefined,
|
|
6255
6255
|
};
|
|
6256
6256
|
if (output["TargetGroupArn"] !== undefined) {
|
|
6257
|
-
contents.TargetGroupArn =
|
|
6257
|
+
contents.TargetGroupArn = smithy_client_1.expectString(output["TargetGroupArn"]);
|
|
6258
6258
|
}
|
|
6259
6259
|
if (output["TargetGroupName"] !== undefined) {
|
|
6260
|
-
contents.TargetGroupName =
|
|
6260
|
+
contents.TargetGroupName = smithy_client_1.expectString(output["TargetGroupName"]);
|
|
6261
6261
|
}
|
|
6262
6262
|
if (output["Protocol"] !== undefined) {
|
|
6263
|
-
contents.Protocol =
|
|
6263
|
+
contents.Protocol = smithy_client_1.expectString(output["Protocol"]);
|
|
6264
6264
|
}
|
|
6265
6265
|
if (output["Port"] !== undefined) {
|
|
6266
|
-
contents.Port =
|
|
6266
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
6267
6267
|
}
|
|
6268
6268
|
if (output["VpcId"] !== undefined) {
|
|
6269
|
-
contents.VpcId =
|
|
6269
|
+
contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
|
|
6270
6270
|
}
|
|
6271
6271
|
if (output["HealthCheckProtocol"] !== undefined) {
|
|
6272
|
-
contents.HealthCheckProtocol =
|
|
6272
|
+
contents.HealthCheckProtocol = smithy_client_1.expectString(output["HealthCheckProtocol"]);
|
|
6273
6273
|
}
|
|
6274
6274
|
if (output["HealthCheckPort"] !== undefined) {
|
|
6275
|
-
contents.HealthCheckPort =
|
|
6275
|
+
contents.HealthCheckPort = smithy_client_1.expectString(output["HealthCheckPort"]);
|
|
6276
6276
|
}
|
|
6277
6277
|
if (output["HealthCheckEnabled"] !== undefined) {
|
|
6278
|
-
contents.HealthCheckEnabled =
|
|
6278
|
+
contents.HealthCheckEnabled = smithy_client_1.parseBoolean(output["HealthCheckEnabled"]);
|
|
6279
6279
|
}
|
|
6280
6280
|
if (output["HealthCheckIntervalSeconds"] !== undefined) {
|
|
6281
|
-
contents.HealthCheckIntervalSeconds =
|
|
6281
|
+
contents.HealthCheckIntervalSeconds = smithy_client_1.strictParseInt32(output["HealthCheckIntervalSeconds"]);
|
|
6282
6282
|
}
|
|
6283
6283
|
if (output["HealthCheckTimeoutSeconds"] !== undefined) {
|
|
6284
|
-
contents.HealthCheckTimeoutSeconds =
|
|
6284
|
+
contents.HealthCheckTimeoutSeconds = smithy_client_1.strictParseInt32(output["HealthCheckTimeoutSeconds"]);
|
|
6285
6285
|
}
|
|
6286
6286
|
if (output["HealthyThresholdCount"] !== undefined) {
|
|
6287
|
-
contents.HealthyThresholdCount =
|
|
6287
|
+
contents.HealthyThresholdCount = smithy_client_1.strictParseInt32(output["HealthyThresholdCount"]);
|
|
6288
6288
|
}
|
|
6289
6289
|
if (output["UnhealthyThresholdCount"] !== undefined) {
|
|
6290
|
-
contents.UnhealthyThresholdCount =
|
|
6290
|
+
contents.UnhealthyThresholdCount = smithy_client_1.strictParseInt32(output["UnhealthyThresholdCount"]);
|
|
6291
6291
|
}
|
|
6292
6292
|
if (output["HealthCheckPath"] !== undefined) {
|
|
6293
|
-
contents.HealthCheckPath =
|
|
6293
|
+
contents.HealthCheckPath = smithy_client_1.expectString(output["HealthCheckPath"]);
|
|
6294
6294
|
}
|
|
6295
6295
|
if (output["Matcher"] !== undefined) {
|
|
6296
6296
|
contents.Matcher = deserializeAws_queryMatcher(output["Matcher"], context);
|
|
@@ -6299,13 +6299,13 @@ const deserializeAws_queryTargetGroup = (output, context) => {
|
|
|
6299
6299
|
contents.LoadBalancerArns = [];
|
|
6300
6300
|
}
|
|
6301
6301
|
if (output["LoadBalancerArns"] !== undefined && output["LoadBalancerArns"]["member"] !== undefined) {
|
|
6302
|
-
contents.LoadBalancerArns = deserializeAws_queryLoadBalancerArns(
|
|
6302
|
+
contents.LoadBalancerArns = deserializeAws_queryLoadBalancerArns(smithy_client_1.getArrayIfSingleItem(output["LoadBalancerArns"]["member"]), context);
|
|
6303
6303
|
}
|
|
6304
6304
|
if (output["TargetType"] !== undefined) {
|
|
6305
|
-
contents.TargetType =
|
|
6305
|
+
contents.TargetType = smithy_client_1.expectString(output["TargetType"]);
|
|
6306
6306
|
}
|
|
6307
6307
|
if (output["ProtocolVersion"] !== undefined) {
|
|
6308
|
-
contents.ProtocolVersion =
|
|
6308
|
+
contents.ProtocolVersion = smithy_client_1.expectString(output["ProtocolVersion"]);
|
|
6309
6309
|
}
|
|
6310
6310
|
return contents;
|
|
6311
6311
|
};
|
|
@@ -6314,7 +6314,7 @@ const deserializeAws_queryTargetGroupAssociationLimitException = (output, contex
|
|
|
6314
6314
|
Message: undefined,
|
|
6315
6315
|
};
|
|
6316
6316
|
if (output["Message"] !== undefined) {
|
|
6317
|
-
contents.Message =
|
|
6317
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6318
6318
|
}
|
|
6319
6319
|
return contents;
|
|
6320
6320
|
};
|
|
@@ -6324,10 +6324,10 @@ const deserializeAws_queryTargetGroupAttribute = (output, context) => {
|
|
|
6324
6324
|
Value: undefined,
|
|
6325
6325
|
};
|
|
6326
6326
|
if (output["Key"] !== undefined) {
|
|
6327
|
-
contents.Key =
|
|
6327
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
6328
6328
|
}
|
|
6329
6329
|
if (output["Value"] !== undefined) {
|
|
6330
|
-
contents.Value =
|
|
6330
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
6331
6331
|
}
|
|
6332
6332
|
return contents;
|
|
6333
6333
|
};
|
|
@@ -6356,7 +6356,7 @@ const deserializeAws_queryTargetGroupNotFoundException = (output, context) => {
|
|
|
6356
6356
|
Message: undefined,
|
|
6357
6357
|
};
|
|
6358
6358
|
if (output["Message"] !== undefined) {
|
|
6359
|
-
contents.Message =
|
|
6359
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6360
6360
|
}
|
|
6361
6361
|
return contents;
|
|
6362
6362
|
};
|
|
@@ -6376,10 +6376,10 @@ const deserializeAws_queryTargetGroupStickinessConfig = (output, context) => {
|
|
|
6376
6376
|
DurationSeconds: undefined,
|
|
6377
6377
|
};
|
|
6378
6378
|
if (output["Enabled"] !== undefined) {
|
|
6379
|
-
contents.Enabled =
|
|
6379
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
6380
6380
|
}
|
|
6381
6381
|
if (output["DurationSeconds"] !== undefined) {
|
|
6382
|
-
contents.DurationSeconds =
|
|
6382
|
+
contents.DurationSeconds = smithy_client_1.strictParseInt32(output["DurationSeconds"]);
|
|
6383
6383
|
}
|
|
6384
6384
|
return contents;
|
|
6385
6385
|
};
|
|
@@ -6389,10 +6389,10 @@ const deserializeAws_queryTargetGroupTuple = (output, context) => {
|
|
|
6389
6389
|
Weight: undefined,
|
|
6390
6390
|
};
|
|
6391
6391
|
if (output["TargetGroupArn"] !== undefined) {
|
|
6392
|
-
contents.TargetGroupArn =
|
|
6392
|
+
contents.TargetGroupArn = smithy_client_1.expectString(output["TargetGroupArn"]);
|
|
6393
6393
|
}
|
|
6394
6394
|
if (output["Weight"] !== undefined) {
|
|
6395
|
-
contents.Weight =
|
|
6395
|
+
contents.Weight = smithy_client_1.strictParseInt32(output["Weight"]);
|
|
6396
6396
|
}
|
|
6397
6397
|
return contents;
|
|
6398
6398
|
};
|
|
@@ -6403,13 +6403,13 @@ const deserializeAws_queryTargetHealth = (output, context) => {
|
|
|
6403
6403
|
Description: undefined,
|
|
6404
6404
|
};
|
|
6405
6405
|
if (output["State"] !== undefined) {
|
|
6406
|
-
contents.State =
|
|
6406
|
+
contents.State = smithy_client_1.expectString(output["State"]);
|
|
6407
6407
|
}
|
|
6408
6408
|
if (output["Reason"] !== undefined) {
|
|
6409
|
-
contents.Reason =
|
|
6409
|
+
contents.Reason = smithy_client_1.expectString(output["Reason"]);
|
|
6410
6410
|
}
|
|
6411
6411
|
if (output["Description"] !== undefined) {
|
|
6412
|
-
contents.Description =
|
|
6412
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
6413
6413
|
}
|
|
6414
6414
|
return contents;
|
|
6415
6415
|
};
|
|
@@ -6423,7 +6423,7 @@ const deserializeAws_queryTargetHealthDescription = (output, context) => {
|
|
|
6423
6423
|
contents.Target = deserializeAws_queryTargetDescription(output["Target"], context);
|
|
6424
6424
|
}
|
|
6425
6425
|
if (output["HealthCheckPort"] !== undefined) {
|
|
6426
|
-
contents.HealthCheckPort =
|
|
6426
|
+
contents.HealthCheckPort = smithy_client_1.expectString(output["HealthCheckPort"]);
|
|
6427
6427
|
}
|
|
6428
6428
|
if (output["TargetHealth"] !== undefined) {
|
|
6429
6429
|
contents.TargetHealth = deserializeAws_queryTargetHealth(output["TargetHealth"], context);
|
|
@@ -6445,7 +6445,7 @@ const deserializeAws_queryTooManyActionsException = (output, context) => {
|
|
|
6445
6445
|
Message: undefined,
|
|
6446
6446
|
};
|
|
6447
6447
|
if (output["Message"] !== undefined) {
|
|
6448
|
-
contents.Message =
|
|
6448
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6449
6449
|
}
|
|
6450
6450
|
return contents;
|
|
6451
6451
|
};
|
|
@@ -6454,7 +6454,7 @@ const deserializeAws_queryTooManyCertificatesException = (output, context) => {
|
|
|
6454
6454
|
Message: undefined,
|
|
6455
6455
|
};
|
|
6456
6456
|
if (output["Message"] !== undefined) {
|
|
6457
|
-
contents.Message =
|
|
6457
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6458
6458
|
}
|
|
6459
6459
|
return contents;
|
|
6460
6460
|
};
|
|
@@ -6463,7 +6463,7 @@ const deserializeAws_queryTooManyListenersException = (output, context) => {
|
|
|
6463
6463
|
Message: undefined,
|
|
6464
6464
|
};
|
|
6465
6465
|
if (output["Message"] !== undefined) {
|
|
6466
|
-
contents.Message =
|
|
6466
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6467
6467
|
}
|
|
6468
6468
|
return contents;
|
|
6469
6469
|
};
|
|
@@ -6472,7 +6472,7 @@ const deserializeAws_queryTooManyLoadBalancersException = (output, context) => {
|
|
|
6472
6472
|
Message: undefined,
|
|
6473
6473
|
};
|
|
6474
6474
|
if (output["Message"] !== undefined) {
|
|
6475
|
-
contents.Message =
|
|
6475
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6476
6476
|
}
|
|
6477
6477
|
return contents;
|
|
6478
6478
|
};
|
|
@@ -6481,7 +6481,7 @@ const deserializeAws_queryTooManyRegistrationsForTargetIdException = (output, co
|
|
|
6481
6481
|
Message: undefined,
|
|
6482
6482
|
};
|
|
6483
6483
|
if (output["Message"] !== undefined) {
|
|
6484
|
-
contents.Message =
|
|
6484
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6485
6485
|
}
|
|
6486
6486
|
return contents;
|
|
6487
6487
|
};
|
|
@@ -6490,7 +6490,7 @@ const deserializeAws_queryTooManyRulesException = (output, context) => {
|
|
|
6490
6490
|
Message: undefined,
|
|
6491
6491
|
};
|
|
6492
6492
|
if (output["Message"] !== undefined) {
|
|
6493
|
-
contents.Message =
|
|
6493
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6494
6494
|
}
|
|
6495
6495
|
return contents;
|
|
6496
6496
|
};
|
|
@@ -6499,7 +6499,7 @@ const deserializeAws_queryTooManyTagsException = (output, context) => {
|
|
|
6499
6499
|
Message: undefined,
|
|
6500
6500
|
};
|
|
6501
6501
|
if (output["Message"] !== undefined) {
|
|
6502
|
-
contents.Message =
|
|
6502
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6503
6503
|
}
|
|
6504
6504
|
return contents;
|
|
6505
6505
|
};
|
|
@@ -6508,7 +6508,7 @@ const deserializeAws_queryTooManyTargetGroupsException = (output, context) => {
|
|
|
6508
6508
|
Message: undefined,
|
|
6509
6509
|
};
|
|
6510
6510
|
if (output["Message"] !== undefined) {
|
|
6511
|
-
contents.Message =
|
|
6511
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6512
6512
|
}
|
|
6513
6513
|
return contents;
|
|
6514
6514
|
};
|
|
@@ -6517,7 +6517,7 @@ const deserializeAws_queryTooManyTargetsException = (output, context) => {
|
|
|
6517
6517
|
Message: undefined,
|
|
6518
6518
|
};
|
|
6519
6519
|
if (output["Message"] !== undefined) {
|
|
6520
|
-
contents.Message =
|
|
6520
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6521
6521
|
}
|
|
6522
6522
|
return contents;
|
|
6523
6523
|
};
|
|
@@ -6526,7 +6526,7 @@ const deserializeAws_queryTooManyUniqueTargetGroupsPerLoadBalancerException = (o
|
|
|
6526
6526
|
Message: undefined,
|
|
6527
6527
|
};
|
|
6528
6528
|
if (output["Message"] !== undefined) {
|
|
6529
|
-
contents.Message =
|
|
6529
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6530
6530
|
}
|
|
6531
6531
|
return contents;
|
|
6532
6532
|
};
|
|
@@ -6535,7 +6535,7 @@ const deserializeAws_queryUnsupportedProtocolException = (output, context) => {
|
|
|
6535
6535
|
Message: undefined,
|
|
6536
6536
|
};
|
|
6537
6537
|
if (output["Message"] !== undefined) {
|
|
6538
|
-
contents.Message =
|
|
6538
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6539
6539
|
}
|
|
6540
6540
|
return contents;
|
|
6541
6541
|
};
|
|
@@ -6577,12 +6577,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
6577
6577
|
};
|
|
6578
6578
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6579
6579
|
if (encoded.length) {
|
|
6580
|
-
const parsedObj =
|
|
6580
|
+
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
6581
6581
|
attributeNamePrefix: "",
|
|
6582
6582
|
ignoreAttributes: false,
|
|
6583
6583
|
parseNodeValue: false,
|
|
6584
6584
|
trimValues: false,
|
|
6585
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
6585
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
6586
6586
|
});
|
|
6587
6587
|
const textNodeName = "#text";
|
|
6588
6588
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -6591,12 +6591,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
6591
6591
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
6592
6592
|
delete parsedObjToReturn[textNodeName];
|
|
6593
6593
|
}
|
|
6594
|
-
return
|
|
6594
|
+
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
6595
6595
|
}
|
|
6596
6596
|
return {};
|
|
6597
6597
|
});
|
|
6598
6598
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
6599
|
-
.map(([key, value]) =>
|
|
6599
|
+
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
6600
6600
|
.join("&");
|
|
6601
6601
|
const loadQueryErrorCode = (output, data) => {
|
|
6602
6602
|
if (data.Error.Code !== undefined) {
|