@aws-sdk/client-ec2 3.452.0 → 3.454.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/README.md +48 -0
- package/dist-cjs/EC2.js +12 -0
- package/dist-cjs/commands/AssociateIpamByoasnCommand.js +51 -0
- package/dist-cjs/commands/DeprovisionIpamByoasnCommand.js +51 -0
- package/dist-cjs/commands/DescribeImportSnapshotTasksCommand.js +2 -2
- package/dist-cjs/commands/DescribeIpamByoasnCommand.js +51 -0
- package/dist-cjs/commands/DisassociateIpamByoasnCommand.js +51 -0
- package/dist-cjs/commands/GetIpamDiscoveredPublicAddressesCommand.js +51 -0
- package/dist-cjs/commands/GetLaunchTemplateDataCommand.js +2 -2
- package/dist-cjs/commands/GetPasswordDataCommand.js +2 -2
- package/dist-cjs/commands/ProvisionIpamByoasnCommand.js +51 -0
- package/dist-cjs/commands/RequestSpotFleetCommand.js +2 -2
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +12 -8
- package/dist-cjs/models/models_1.js +15 -19
- package/dist-cjs/models/models_2.js +19 -2
- package/dist-cjs/models/models_3.js +9 -37
- package/dist-cjs/models/models_4.js +37 -2
- package/dist-cjs/models/models_5.js +24 -20
- package/dist-cjs/models/models_6.js +20 -29
- package/dist-cjs/models/models_7.js +29 -3
- package/dist-cjs/protocols/Aws_ec2.js +814 -25
- package/dist-es/EC2.js +12 -0
- package/dist-es/commands/AssociateIpamByoasnCommand.js +47 -0
- package/dist-es/commands/DeprovisionIpamByoasnCommand.js +47 -0
- package/dist-es/commands/DescribeImportSnapshotTasksCommand.js +1 -1
- package/dist-es/commands/DescribeIpamByoasnCommand.js +47 -0
- package/dist-es/commands/DisassociateIpamByoasnCommand.js +47 -0
- package/dist-es/commands/GetIpamDiscoveredPublicAddressesCommand.js +47 -0
- package/dist-es/commands/GetLaunchTemplateDataCommand.js +1 -1
- package/dist-es/commands/GetPasswordDataCommand.js +1 -1
- package/dist-es/commands/ProvisionIpamByoasnCommand.js +47 -0
- package/dist-es/commands/RequestSpotFleetCommand.js +1 -1
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +10 -6
- package/dist-es/models/models_1.js +13 -17
- package/dist-es/models/models_2.js +17 -0
- package/dist-es/models/models_3.js +8 -32
- package/dist-es/models/models_4.js +32 -0
- package/dist-es/models/models_5.js +23 -17
- package/dist-es/models/models_6.js +18 -27
- package/dist-es/models/models_7.js +26 -2
- package/dist-es/protocols/Aws_ec2.js +777 -0
- package/dist-types/EC2.d.ts +42 -0
- package/dist-types/EC2Client.d.ts +8 -2
- package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +9 -0
- package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +4 -1
- package/dist-types/commands/AssociateIpamByoasnCommand.d.ts +83 -0
- package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +4 -2
- package/dist-types/commands/AssociateTrunkInterfaceCommand.d.ts +1 -5
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +1 -2
- package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +3 -2
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +2 -1
- package/dist-types/commands/CreateIpamCommand.d.ts +3 -0
- package/dist-types/commands/CreateIpamPoolCommand.d.ts +12 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +5 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +10 -0
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +12 -1
- package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCommand.d.ts +6 -2
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +4 -2
- package/dist-types/commands/CreateVpcCommand.d.ts +4 -3
- package/dist-types/commands/DeleteIpamCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIpamPoolCommand.d.ts +7 -0
- package/dist-types/commands/DeleteNatGatewayCommand.d.ts +2 -1
- package/dist-types/commands/DeleteNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNetworkInsightsPathCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +2 -1
- package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +8 -0
- package/dist-types/commands/DeprovisionIpamByoasnCommand.d.ts +81 -0
- package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeIpamByoasnCommand.d.ts +83 -0
- package/dist-types/commands/DescribeIpamPoolsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeIpamsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -5
- package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +2 -1
- package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +3 -2
- package/dist-types/commands/DisassociateIpamByoasnCommand.d.ts +81 -0
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -5
- package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +121 -0
- package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +3 -3
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +6 -1
- package/dist-types/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +1 -1
- package/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +1 -1
- package/dist-types/commands/GetNetworkInsightsAccessScopeContentCommand.d.ts +1 -1
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
- package/dist-types/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
- package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamCommand.d.ts +3 -0
- package/dist-types/commands/ModifyIpamPoolCommand.d.ts +6 -0
- package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +5 -0
- package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +5 -1
- package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +8 -0
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +8 -0
- package/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +84 -0
- package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +1 -1
- package/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +6 -1
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +10 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +10 -0
- package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +8 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +113 -75
- package/dist-types/models/models_1.d.ts +267 -331
- package/dist-types/models/models_2.d.ts +374 -167
- package/dist-types/models/models_3.d.ts +243 -504
- package/dist-types/models/models_4.d.ts +1058 -1143
- package/dist-types/models/models_5.d.ts +4030 -3824
- package/dist-types/models/models_6.d.ts +4384 -4392
- package/dist-types/models/models_7.d.ts +826 -5
- package/dist-types/protocols/Aws_ec2.d.ts +54 -0
- package/dist-types/ts3.4/EC2.d.ts +102 -0
- package/dist-types/ts3.4/EC2Client.d.ts +36 -0
- package/dist-types/ts3.4/commands/AssociateIpamByoasnCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNatGatewayCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteNetworkAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNetworkInsightsPathCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeprovisionIpamByoasnCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIpamByoasnCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateIpamByoasnCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReportInstanceStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -22
- package/dist-types/ts3.4/models/models_1.d.ts +66 -88
- package/dist-types/ts3.4/models/models_2.d.ts +101 -42
- package/dist-types/ts3.4/models/models_3.d.ts +65 -121
- package/dist-types/ts3.4/models/models_4.d.ts +141 -119
- package/dist-types/ts3.4/models/models_5.d.ts +197 -175
- package/dist-types/ts3.4/models/models_6.d.ts +202 -210
- package/dist-types/ts3.4/models/models_7.d.ts +206 -6
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
- package/package.json +2 -2
|
@@ -213,6 +213,16 @@ export const se_AssociateInstanceEventWindowCommand = async (input, context) =>
|
|
|
213
213
|
});
|
|
214
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
215
|
};
|
|
216
|
+
export const se_AssociateIpamByoasnCommand = async (input, context) => {
|
|
217
|
+
const headers = SHARED_HEADERS;
|
|
218
|
+
let body;
|
|
219
|
+
body = buildFormUrlencodedString({
|
|
220
|
+
...se_AssociateIpamByoasnRequest(input, context),
|
|
221
|
+
Action: "AssociateIpamByoasn",
|
|
222
|
+
Version: "2016-11-15",
|
|
223
|
+
});
|
|
224
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
225
|
+
};
|
|
216
226
|
export const se_AssociateIpamResourceDiscoveryCommand = async (input, context) => {
|
|
217
227
|
const headers = SHARED_HEADERS;
|
|
218
228
|
let body;
|
|
@@ -2113,6 +2123,16 @@ export const se_DeprovisionByoipCidrCommand = async (input, context) => {
|
|
|
2113
2123
|
});
|
|
2114
2124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2115
2125
|
};
|
|
2126
|
+
export const se_DeprovisionIpamByoasnCommand = async (input, context) => {
|
|
2127
|
+
const headers = SHARED_HEADERS;
|
|
2128
|
+
let body;
|
|
2129
|
+
body = buildFormUrlencodedString({
|
|
2130
|
+
...se_DeprovisionIpamByoasnRequest(input, context),
|
|
2131
|
+
Action: "DeprovisionIpamByoasn",
|
|
2132
|
+
Version: "2016-11-15",
|
|
2133
|
+
});
|
|
2134
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2135
|
+
};
|
|
2116
2136
|
export const se_DeprovisionIpamPoolCidrCommand = async (input, context) => {
|
|
2117
2137
|
const headers = SHARED_HEADERS;
|
|
2118
2138
|
let body;
|
|
@@ -2733,6 +2753,16 @@ export const se_DescribeInternetGatewaysCommand = async (input, context) => {
|
|
|
2733
2753
|
});
|
|
2734
2754
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2735
2755
|
};
|
|
2756
|
+
export const se_DescribeIpamByoasnCommand = async (input, context) => {
|
|
2757
|
+
const headers = SHARED_HEADERS;
|
|
2758
|
+
let body;
|
|
2759
|
+
body = buildFormUrlencodedString({
|
|
2760
|
+
...se_DescribeIpamByoasnRequest(input, context),
|
|
2761
|
+
Action: "DescribeIpamByoasn",
|
|
2762
|
+
Version: "2016-11-15",
|
|
2763
|
+
});
|
|
2764
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2765
|
+
};
|
|
2736
2766
|
export const se_DescribeIpamPoolsCommand = async (input, context) => {
|
|
2737
2767
|
const headers = SHARED_HEADERS;
|
|
2738
2768
|
let body;
|
|
@@ -3913,6 +3943,16 @@ export const se_DisassociateInstanceEventWindowCommand = async (input, context)
|
|
|
3913
3943
|
});
|
|
3914
3944
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3915
3945
|
};
|
|
3946
|
+
export const se_DisassociateIpamByoasnCommand = async (input, context) => {
|
|
3947
|
+
const headers = SHARED_HEADERS;
|
|
3948
|
+
let body;
|
|
3949
|
+
body = buildFormUrlencodedString({
|
|
3950
|
+
...se_DisassociateIpamByoasnRequest(input, context),
|
|
3951
|
+
Action: "DisassociateIpamByoasn",
|
|
3952
|
+
Version: "2016-11-15",
|
|
3953
|
+
});
|
|
3954
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3955
|
+
};
|
|
3916
3956
|
export const se_DisassociateIpamResourceDiscoveryCommand = async (input, context) => {
|
|
3917
3957
|
const headers = SHARED_HEADERS;
|
|
3918
3958
|
let body;
|
|
@@ -4393,6 +4433,16 @@ export const se_GetIpamDiscoveredAccountsCommand = async (input, context) => {
|
|
|
4393
4433
|
});
|
|
4394
4434
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4395
4435
|
};
|
|
4436
|
+
export const se_GetIpamDiscoveredPublicAddressesCommand = async (input, context) => {
|
|
4437
|
+
const headers = SHARED_HEADERS;
|
|
4438
|
+
let body;
|
|
4439
|
+
body = buildFormUrlencodedString({
|
|
4440
|
+
...se_GetIpamDiscoveredPublicAddressesRequest(input, context),
|
|
4441
|
+
Action: "GetIpamDiscoveredPublicAddresses",
|
|
4442
|
+
Version: "2016-11-15",
|
|
4443
|
+
});
|
|
4444
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4445
|
+
};
|
|
4396
4446
|
export const se_GetIpamDiscoveredResourceCidrsCommand = async (input, context) => {
|
|
4397
4447
|
const headers = SHARED_HEADERS;
|
|
4398
4448
|
let body;
|
|
@@ -5443,6 +5493,16 @@ export const se_ProvisionByoipCidrCommand = async (input, context) => {
|
|
|
5443
5493
|
});
|
|
5444
5494
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5445
5495
|
};
|
|
5496
|
+
export const se_ProvisionIpamByoasnCommand = async (input, context) => {
|
|
5497
|
+
const headers = SHARED_HEADERS;
|
|
5498
|
+
let body;
|
|
5499
|
+
body = buildFormUrlencodedString({
|
|
5500
|
+
...se_ProvisionIpamByoasnRequest(input, context),
|
|
5501
|
+
Action: "ProvisionIpamByoasn",
|
|
5502
|
+
Version: "2016-11-15",
|
|
5503
|
+
});
|
|
5504
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5505
|
+
};
|
|
5446
5506
|
export const se_ProvisionIpamPoolCidrCommand = async (input, context) => {
|
|
5447
5507
|
const headers = SHARED_HEADERS;
|
|
5448
5508
|
let body;
|
|
@@ -6636,6 +6696,32 @@ const de_AssociateInstanceEventWindowCommandError = async (output, context) => {
|
|
|
6636
6696
|
errorCode,
|
|
6637
6697
|
});
|
|
6638
6698
|
};
|
|
6699
|
+
export const de_AssociateIpamByoasnCommand = async (output, context) => {
|
|
6700
|
+
if (output.statusCode >= 300) {
|
|
6701
|
+
return de_AssociateIpamByoasnCommandError(output, context);
|
|
6702
|
+
}
|
|
6703
|
+
const data = await parseBody(output.body, context);
|
|
6704
|
+
let contents = {};
|
|
6705
|
+
contents = de_AssociateIpamByoasnResult(data, context);
|
|
6706
|
+
const response = {
|
|
6707
|
+
$metadata: deserializeMetadata(output),
|
|
6708
|
+
...contents,
|
|
6709
|
+
};
|
|
6710
|
+
return response;
|
|
6711
|
+
};
|
|
6712
|
+
const de_AssociateIpamByoasnCommandError = async (output, context) => {
|
|
6713
|
+
const parsedOutput = {
|
|
6714
|
+
...output,
|
|
6715
|
+
body: await parseErrorBody(output.body, context),
|
|
6716
|
+
};
|
|
6717
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
6718
|
+
const parsedBody = parsedOutput.body;
|
|
6719
|
+
return throwDefaultError({
|
|
6720
|
+
output,
|
|
6721
|
+
parsedBody: parsedBody.Errors.Error,
|
|
6722
|
+
errorCode,
|
|
6723
|
+
});
|
|
6724
|
+
};
|
|
6639
6725
|
export const de_AssociateIpamResourceDiscoveryCommand = async (output, context) => {
|
|
6640
6726
|
if (output.statusCode >= 300) {
|
|
6641
6727
|
return de_AssociateIpamResourceDiscoveryCommandError(output, context);
|
|
@@ -11501,6 +11587,32 @@ const de_DeprovisionByoipCidrCommandError = async (output, context) => {
|
|
|
11501
11587
|
errorCode,
|
|
11502
11588
|
});
|
|
11503
11589
|
};
|
|
11590
|
+
export const de_DeprovisionIpamByoasnCommand = async (output, context) => {
|
|
11591
|
+
if (output.statusCode >= 300) {
|
|
11592
|
+
return de_DeprovisionIpamByoasnCommandError(output, context);
|
|
11593
|
+
}
|
|
11594
|
+
const data = await parseBody(output.body, context);
|
|
11595
|
+
let contents = {};
|
|
11596
|
+
contents = de_DeprovisionIpamByoasnResult(data, context);
|
|
11597
|
+
const response = {
|
|
11598
|
+
$metadata: deserializeMetadata(output),
|
|
11599
|
+
...contents,
|
|
11600
|
+
};
|
|
11601
|
+
return response;
|
|
11602
|
+
};
|
|
11603
|
+
const de_DeprovisionIpamByoasnCommandError = async (output, context) => {
|
|
11604
|
+
const parsedOutput = {
|
|
11605
|
+
...output,
|
|
11606
|
+
body: await parseErrorBody(output.body, context),
|
|
11607
|
+
};
|
|
11608
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
11609
|
+
const parsedBody = parsedOutput.body;
|
|
11610
|
+
return throwDefaultError({
|
|
11611
|
+
output,
|
|
11612
|
+
parsedBody: parsedBody.Errors.Error,
|
|
11613
|
+
errorCode,
|
|
11614
|
+
});
|
|
11615
|
+
};
|
|
11504
11616
|
export const de_DeprovisionIpamPoolCidrCommand = async (output, context) => {
|
|
11505
11617
|
if (output.statusCode >= 300) {
|
|
11506
11618
|
return de_DeprovisionIpamPoolCidrCommandError(output, context);
|
|
@@ -13110,6 +13222,32 @@ const de_DescribeInternetGatewaysCommandError = async (output, context) => {
|
|
|
13110
13222
|
errorCode,
|
|
13111
13223
|
});
|
|
13112
13224
|
};
|
|
13225
|
+
export const de_DescribeIpamByoasnCommand = async (output, context) => {
|
|
13226
|
+
if (output.statusCode >= 300) {
|
|
13227
|
+
return de_DescribeIpamByoasnCommandError(output, context);
|
|
13228
|
+
}
|
|
13229
|
+
const data = await parseBody(output.body, context);
|
|
13230
|
+
let contents = {};
|
|
13231
|
+
contents = de_DescribeIpamByoasnResult(data, context);
|
|
13232
|
+
const response = {
|
|
13233
|
+
$metadata: deserializeMetadata(output),
|
|
13234
|
+
...contents,
|
|
13235
|
+
};
|
|
13236
|
+
return response;
|
|
13237
|
+
};
|
|
13238
|
+
const de_DescribeIpamByoasnCommandError = async (output, context) => {
|
|
13239
|
+
const parsedOutput = {
|
|
13240
|
+
...output,
|
|
13241
|
+
body: await parseErrorBody(output.body, context),
|
|
13242
|
+
};
|
|
13243
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
13244
|
+
const parsedBody = parsedOutput.body;
|
|
13245
|
+
return throwDefaultError({
|
|
13246
|
+
output,
|
|
13247
|
+
parsedBody: parsedBody.Errors.Error,
|
|
13248
|
+
errorCode,
|
|
13249
|
+
});
|
|
13250
|
+
};
|
|
13113
13251
|
export const de_DescribeIpamPoolsCommand = async (output, context) => {
|
|
13114
13252
|
if (output.statusCode >= 300) {
|
|
13115
13253
|
return de_DescribeIpamPoolsCommandError(output, context);
|
|
@@ -16163,6 +16301,32 @@ const de_DisassociateInstanceEventWindowCommandError = async (output, context) =
|
|
|
16163
16301
|
errorCode,
|
|
16164
16302
|
});
|
|
16165
16303
|
};
|
|
16304
|
+
export const de_DisassociateIpamByoasnCommand = async (output, context) => {
|
|
16305
|
+
if (output.statusCode >= 300) {
|
|
16306
|
+
return de_DisassociateIpamByoasnCommandError(output, context);
|
|
16307
|
+
}
|
|
16308
|
+
const data = await parseBody(output.body, context);
|
|
16309
|
+
let contents = {};
|
|
16310
|
+
contents = de_DisassociateIpamByoasnResult(data, context);
|
|
16311
|
+
const response = {
|
|
16312
|
+
$metadata: deserializeMetadata(output),
|
|
16313
|
+
...contents,
|
|
16314
|
+
};
|
|
16315
|
+
return response;
|
|
16316
|
+
};
|
|
16317
|
+
const de_DisassociateIpamByoasnCommandError = async (output, context) => {
|
|
16318
|
+
const parsedOutput = {
|
|
16319
|
+
...output,
|
|
16320
|
+
body: await parseErrorBody(output.body, context),
|
|
16321
|
+
};
|
|
16322
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
16323
|
+
const parsedBody = parsedOutput.body;
|
|
16324
|
+
return throwDefaultError({
|
|
16325
|
+
output,
|
|
16326
|
+
parsedBody: parsedBody.Errors.Error,
|
|
16327
|
+
errorCode,
|
|
16328
|
+
});
|
|
16329
|
+
};
|
|
16166
16330
|
export const de_DisassociateIpamResourceDiscoveryCommand = async (output, context) => {
|
|
16167
16331
|
if (output.statusCode >= 300) {
|
|
16168
16332
|
return de_DisassociateIpamResourceDiscoveryCommandError(output, context);
|
|
@@ -17402,6 +17566,32 @@ const de_GetIpamDiscoveredAccountsCommandError = async (output, context) => {
|
|
|
17402
17566
|
errorCode,
|
|
17403
17567
|
});
|
|
17404
17568
|
};
|
|
17569
|
+
export const de_GetIpamDiscoveredPublicAddressesCommand = async (output, context) => {
|
|
17570
|
+
if (output.statusCode >= 300) {
|
|
17571
|
+
return de_GetIpamDiscoveredPublicAddressesCommandError(output, context);
|
|
17572
|
+
}
|
|
17573
|
+
const data = await parseBody(output.body, context);
|
|
17574
|
+
let contents = {};
|
|
17575
|
+
contents = de_GetIpamDiscoveredPublicAddressesResult(data, context);
|
|
17576
|
+
const response = {
|
|
17577
|
+
$metadata: deserializeMetadata(output),
|
|
17578
|
+
...contents,
|
|
17579
|
+
};
|
|
17580
|
+
return response;
|
|
17581
|
+
};
|
|
17582
|
+
const de_GetIpamDiscoveredPublicAddressesCommandError = async (output, context) => {
|
|
17583
|
+
const parsedOutput = {
|
|
17584
|
+
...output,
|
|
17585
|
+
body: await parseErrorBody(output.body, context),
|
|
17586
|
+
};
|
|
17587
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
17588
|
+
const parsedBody = parsedOutput.body;
|
|
17589
|
+
return throwDefaultError({
|
|
17590
|
+
output,
|
|
17591
|
+
parsedBody: parsedBody.Errors.Error,
|
|
17592
|
+
errorCode,
|
|
17593
|
+
});
|
|
17594
|
+
};
|
|
17405
17595
|
export const de_GetIpamDiscoveredResourceCidrsCommand = async (output, context) => {
|
|
17406
17596
|
if (output.statusCode >= 300) {
|
|
17407
17597
|
return de_GetIpamDiscoveredResourceCidrsCommandError(output, context);
|
|
@@ -20105,6 +20295,32 @@ const de_ProvisionByoipCidrCommandError = async (output, context) => {
|
|
|
20105
20295
|
errorCode,
|
|
20106
20296
|
});
|
|
20107
20297
|
};
|
|
20298
|
+
export const de_ProvisionIpamByoasnCommand = async (output, context) => {
|
|
20299
|
+
if (output.statusCode >= 300) {
|
|
20300
|
+
return de_ProvisionIpamByoasnCommandError(output, context);
|
|
20301
|
+
}
|
|
20302
|
+
const data = await parseBody(output.body, context);
|
|
20303
|
+
let contents = {};
|
|
20304
|
+
contents = de_ProvisionIpamByoasnResult(data, context);
|
|
20305
|
+
const response = {
|
|
20306
|
+
$metadata: deserializeMetadata(output),
|
|
20307
|
+
...contents,
|
|
20308
|
+
};
|
|
20309
|
+
return response;
|
|
20310
|
+
};
|
|
20311
|
+
const de_ProvisionIpamByoasnCommandError = async (output, context) => {
|
|
20312
|
+
const parsedOutput = {
|
|
20313
|
+
...output,
|
|
20314
|
+
body: await parseErrorBody(output.body, context),
|
|
20315
|
+
};
|
|
20316
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20317
|
+
const parsedBody = parsedOutput.body;
|
|
20318
|
+
return throwDefaultError({
|
|
20319
|
+
output,
|
|
20320
|
+
parsedBody: parsedBody.Errors.Error,
|
|
20321
|
+
errorCode,
|
|
20322
|
+
});
|
|
20323
|
+
};
|
|
20108
20324
|
export const de_ProvisionIpamPoolCidrCommand = async (output, context) => {
|
|
20109
20325
|
if (output.statusCode >= 300) {
|
|
20110
20326
|
return de_ProvisionIpamPoolCidrCommandError(output, context);
|
|
@@ -22065,6 +22281,9 @@ const se_AdvertiseByoipCidrRequest = (input, context) => {
|
|
|
22065
22281
|
if (input.Cidr != null) {
|
|
22066
22282
|
entries["Cidr"] = input.Cidr;
|
|
22067
22283
|
}
|
|
22284
|
+
if (input.Asn != null) {
|
|
22285
|
+
entries["Asn"] = input.Asn;
|
|
22286
|
+
}
|
|
22068
22287
|
if (input.DryRun != null) {
|
|
22069
22288
|
entries["DryRun"] = input.DryRun;
|
|
22070
22289
|
}
|
|
@@ -22179,6 +22398,16 @@ const se_AllocateIpamPoolCidrRequest = (input, context) => {
|
|
|
22179
22398
|
if (input.PreviewNextCidr != null) {
|
|
22180
22399
|
entries["PreviewNextCidr"] = input.PreviewNextCidr;
|
|
22181
22400
|
}
|
|
22401
|
+
if (input.AllowedCidrs != null) {
|
|
22402
|
+
const memberEntries = se_IpamPoolAllocationAllowedCidrs(input.AllowedCidrs, context);
|
|
22403
|
+
if (input.AllowedCidrs?.length === 0) {
|
|
22404
|
+
entries.AllowedCidr = [];
|
|
22405
|
+
}
|
|
22406
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
22407
|
+
const loc = `AllowedCidr.${key.substring(key.indexOf(".") + 1)}`;
|
|
22408
|
+
entries[loc] = value;
|
|
22409
|
+
});
|
|
22410
|
+
}
|
|
22182
22411
|
if (input.DisallowedCidrs != null) {
|
|
22183
22412
|
const memberEntries = se_IpamPoolAllocationDisallowedCidrs(input.DisallowedCidrs, context);
|
|
22184
22413
|
if (input.DisallowedCidrs?.length === 0) {
|
|
@@ -22274,6 +22503,16 @@ const se_ArnList = (input, context) => {
|
|
|
22274
22503
|
}
|
|
22275
22504
|
return entries;
|
|
22276
22505
|
};
|
|
22506
|
+
const se_AsnAuthorizationContext = (input, context) => {
|
|
22507
|
+
const entries = {};
|
|
22508
|
+
if (input.Message != null) {
|
|
22509
|
+
entries["Message"] = input.Message;
|
|
22510
|
+
}
|
|
22511
|
+
if (input.Signature != null) {
|
|
22512
|
+
entries["Signature"] = input.Signature;
|
|
22513
|
+
}
|
|
22514
|
+
return entries;
|
|
22515
|
+
};
|
|
22277
22516
|
const se_AssetIdList = (input, context) => {
|
|
22278
22517
|
const entries = {};
|
|
22279
22518
|
let counter = 1;
|
|
@@ -22479,6 +22718,19 @@ const se_AssociateInstanceEventWindowRequest = (input, context) => {
|
|
|
22479
22718
|
}
|
|
22480
22719
|
return entries;
|
|
22481
22720
|
};
|
|
22721
|
+
const se_AssociateIpamByoasnRequest = (input, context) => {
|
|
22722
|
+
const entries = {};
|
|
22723
|
+
if (input.DryRun != null) {
|
|
22724
|
+
entries["DryRun"] = input.DryRun;
|
|
22725
|
+
}
|
|
22726
|
+
if (input.Asn != null) {
|
|
22727
|
+
entries["Asn"] = input.Asn;
|
|
22728
|
+
}
|
|
22729
|
+
if (input.Cidr != null) {
|
|
22730
|
+
entries["Cidr"] = input.Cidr;
|
|
22731
|
+
}
|
|
22732
|
+
return entries;
|
|
22733
|
+
};
|
|
22482
22734
|
const se_AssociateIpamResourceDiscoveryRequest = (input, context) => {
|
|
22483
22735
|
const entries = {};
|
|
22484
22736
|
if (input.DryRun != null) {
|
|
@@ -22562,6 +22814,12 @@ const se_AssociateSubnetCidrBlockRequest = (input, context) => {
|
|
|
22562
22814
|
if (input.SubnetId != null) {
|
|
22563
22815
|
entries["SubnetId"] = input.SubnetId;
|
|
22564
22816
|
}
|
|
22817
|
+
if (input.Ipv6IpamPoolId != null) {
|
|
22818
|
+
entries["Ipv6IpamPoolId"] = input.Ipv6IpamPoolId;
|
|
22819
|
+
}
|
|
22820
|
+
if (input.Ipv6NetmaskLength != null) {
|
|
22821
|
+
entries["Ipv6NetmaskLength"] = input.Ipv6NetmaskLength;
|
|
22822
|
+
}
|
|
22565
22823
|
return entries;
|
|
22566
22824
|
};
|
|
22567
22825
|
const se_AssociateTransitGatewayMulticastDomainRequest = (input, context) => {
|
|
@@ -23506,6 +23764,19 @@ const se_ConnectionNotificationIdsList = (input, context) => {
|
|
|
23506
23764
|
}
|
|
23507
23765
|
return entries;
|
|
23508
23766
|
};
|
|
23767
|
+
const se_ConnectionTrackingSpecificationRequest = (input, context) => {
|
|
23768
|
+
const entries = {};
|
|
23769
|
+
if (input.TcpEstablishedTimeout != null) {
|
|
23770
|
+
entries["TcpEstablishedTimeout"] = input.TcpEstablishedTimeout;
|
|
23771
|
+
}
|
|
23772
|
+
if (input.UdpStreamTimeout != null) {
|
|
23773
|
+
entries["UdpStreamTimeout"] = input.UdpStreamTimeout;
|
|
23774
|
+
}
|
|
23775
|
+
if (input.UdpTimeout != null) {
|
|
23776
|
+
entries["UdpTimeout"] = input.UdpTimeout;
|
|
23777
|
+
}
|
|
23778
|
+
return entries;
|
|
23779
|
+
};
|
|
23509
23780
|
const se_ConversionIdStringList = (input, context) => {
|
|
23510
23781
|
const entries = {};
|
|
23511
23782
|
let counter = 1;
|
|
@@ -24438,6 +24709,13 @@ const se_CreateIpamPoolRequest = (input, context) => {
|
|
|
24438
24709
|
if (input.PublicIpSource != null) {
|
|
24439
24710
|
entries["PublicIpSource"] = input.PublicIpSource;
|
|
24440
24711
|
}
|
|
24712
|
+
if (input.SourceResource != null) {
|
|
24713
|
+
const memberEntries = se_IpamPoolSourceResourceRequest(input.SourceResource, context);
|
|
24714
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
24715
|
+
const loc = `SourceResource.${key}`;
|
|
24716
|
+
entries[loc] = value;
|
|
24717
|
+
});
|
|
24718
|
+
}
|
|
24441
24719
|
return entries;
|
|
24442
24720
|
};
|
|
24443
24721
|
const se_CreateIpamRequest = (input, context) => {
|
|
@@ -24474,6 +24752,9 @@ const se_CreateIpamRequest = (input, context) => {
|
|
|
24474
24752
|
if (input.ClientToken != null) {
|
|
24475
24753
|
entries["ClientToken"] = input.ClientToken;
|
|
24476
24754
|
}
|
|
24755
|
+
if (input.Tier != null) {
|
|
24756
|
+
entries["Tier"] = input.Tier;
|
|
24757
|
+
}
|
|
24477
24758
|
return entries;
|
|
24478
24759
|
};
|
|
24479
24760
|
const se_CreateIpamResourceDiscoveryRequest = (input, context) => {
|
|
@@ -25100,6 +25381,13 @@ const se_CreateNetworkInterfaceRequest = (input, context) => {
|
|
|
25100
25381
|
if (input.EnablePrimaryIpv6 != null) {
|
|
25101
25382
|
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
25102
25383
|
}
|
|
25384
|
+
if (input.ConnectionTrackingSpecification != null) {
|
|
25385
|
+
const memberEntries = se_ConnectionTrackingSpecificationRequest(input.ConnectionTrackingSpecification, context);
|
|
25386
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
25387
|
+
const loc = `ConnectionTrackingSpecification.${key}`;
|
|
25388
|
+
entries[loc] = value;
|
|
25389
|
+
});
|
|
25390
|
+
}
|
|
25103
25391
|
return entries;
|
|
25104
25392
|
};
|
|
25105
25393
|
const se_CreatePlacementGroupRequest = (input, context) => {
|
|
@@ -25490,6 +25778,18 @@ const se_CreateSubnetRequest = (input, context) => {
|
|
|
25490
25778
|
if (input.Ipv6Native != null) {
|
|
25491
25779
|
entries["Ipv6Native"] = input.Ipv6Native;
|
|
25492
25780
|
}
|
|
25781
|
+
if (input.Ipv4IpamPoolId != null) {
|
|
25782
|
+
entries["Ipv4IpamPoolId"] = input.Ipv4IpamPoolId;
|
|
25783
|
+
}
|
|
25784
|
+
if (input.Ipv4NetmaskLength != null) {
|
|
25785
|
+
entries["Ipv4NetmaskLength"] = input.Ipv4NetmaskLength;
|
|
25786
|
+
}
|
|
25787
|
+
if (input.Ipv6IpamPoolId != null) {
|
|
25788
|
+
entries["Ipv6IpamPoolId"] = input.Ipv6IpamPoolId;
|
|
25789
|
+
}
|
|
25790
|
+
if (input.Ipv6NetmaskLength != null) {
|
|
25791
|
+
entries["Ipv6NetmaskLength"] = input.Ipv6NetmaskLength;
|
|
25792
|
+
}
|
|
25493
25793
|
return entries;
|
|
25494
25794
|
};
|
|
25495
25795
|
const se_CreateTagsRequest = (input, context) => {
|
|
@@ -26215,6 +26515,9 @@ const se_CreateVerifiedAccessTrustProviderDeviceOptions = (input, context) => {
|
|
|
26215
26515
|
if (input.TenantId != null) {
|
|
26216
26516
|
entries["TenantId"] = input.TenantId;
|
|
26217
26517
|
}
|
|
26518
|
+
if (input.PublicSigningKeyUrl != null) {
|
|
26519
|
+
entries["PublicSigningKeyUrl"] = input.PublicSigningKeyUrl;
|
|
26520
|
+
}
|
|
26218
26521
|
return entries;
|
|
26219
26522
|
};
|
|
26220
26523
|
const se_CreateVerifiedAccessTrustProviderOidcOptions = (input, context) => {
|
|
@@ -26966,6 +27269,9 @@ const se_DeleteIpamPoolRequest = (input, context) => {
|
|
|
26966
27269
|
if (input.IpamPoolId != null) {
|
|
26967
27270
|
entries["IpamPoolId"] = input.IpamPoolId;
|
|
26968
27271
|
}
|
|
27272
|
+
if (input.Cascade != null) {
|
|
27273
|
+
entries["Cascade"] = input.Cascade;
|
|
27274
|
+
}
|
|
26969
27275
|
return entries;
|
|
26970
27276
|
};
|
|
26971
27277
|
const se_DeleteIpamRequest = (input, context) => {
|
|
@@ -27702,6 +28008,19 @@ const se_DeprovisionByoipCidrRequest = (input, context) => {
|
|
|
27702
28008
|
}
|
|
27703
28009
|
return entries;
|
|
27704
28010
|
};
|
|
28011
|
+
const se_DeprovisionIpamByoasnRequest = (input, context) => {
|
|
28012
|
+
const entries = {};
|
|
28013
|
+
if (input.DryRun != null) {
|
|
28014
|
+
entries["DryRun"] = input.DryRun;
|
|
28015
|
+
}
|
|
28016
|
+
if (input.IpamId != null) {
|
|
28017
|
+
entries["IpamId"] = input.IpamId;
|
|
28018
|
+
}
|
|
28019
|
+
if (input.Asn != null) {
|
|
28020
|
+
entries["Asn"] = input.Asn;
|
|
28021
|
+
}
|
|
28022
|
+
return entries;
|
|
28023
|
+
};
|
|
27705
28024
|
const se_DeprovisionIpamPoolCidrRequest = (input, context) => {
|
|
27706
28025
|
const entries = {};
|
|
27707
28026
|
if (input.DryRun != null) {
|
|
@@ -29415,6 +29734,19 @@ const se_DescribeInternetGatewaysRequest = (input, context) => {
|
|
|
29415
29734
|
}
|
|
29416
29735
|
return entries;
|
|
29417
29736
|
};
|
|
29737
|
+
const se_DescribeIpamByoasnRequest = (input, context) => {
|
|
29738
|
+
const entries = {};
|
|
29739
|
+
if (input.DryRun != null) {
|
|
29740
|
+
entries["DryRun"] = input.DryRun;
|
|
29741
|
+
}
|
|
29742
|
+
if (input.MaxResults != null) {
|
|
29743
|
+
entries["MaxResults"] = input.MaxResults;
|
|
29744
|
+
}
|
|
29745
|
+
if (input.NextToken != null) {
|
|
29746
|
+
entries["NextToken"] = input.NextToken;
|
|
29747
|
+
}
|
|
29748
|
+
return entries;
|
|
29749
|
+
};
|
|
29418
29750
|
const se_DescribeIpamPoolsRequest = (input, context) => {
|
|
29419
29751
|
const entries = {};
|
|
29420
29752
|
if (input.DryRun != null) {
|
|
@@ -32678,6 +33010,19 @@ const se_DisassociateInstanceEventWindowRequest = (input, context) => {
|
|
|
32678
33010
|
}
|
|
32679
33011
|
return entries;
|
|
32680
33012
|
};
|
|
33013
|
+
const se_DisassociateIpamByoasnRequest = (input, context) => {
|
|
33014
|
+
const entries = {};
|
|
33015
|
+
if (input.DryRun != null) {
|
|
33016
|
+
entries["DryRun"] = input.DryRun;
|
|
33017
|
+
}
|
|
33018
|
+
if (input.Asn != null) {
|
|
33019
|
+
entries["Asn"] = input.Asn;
|
|
33020
|
+
}
|
|
33021
|
+
if (input.Cidr != null) {
|
|
33022
|
+
entries["Cidr"] = input.Cidr;
|
|
33023
|
+
}
|
|
33024
|
+
return entries;
|
|
33025
|
+
};
|
|
32681
33026
|
const se_DisassociateIpamResourceDiscoveryRequest = (input, context) => {
|
|
32682
33027
|
const entries = {};
|
|
32683
33028
|
if (input.DryRun != null) {
|
|
@@ -34015,6 +34360,35 @@ const se_GetIpamDiscoveredAccountsRequest = (input, context) => {
|
|
|
34015
34360
|
}
|
|
34016
34361
|
return entries;
|
|
34017
34362
|
};
|
|
34363
|
+
const se_GetIpamDiscoveredPublicAddressesRequest = (input, context) => {
|
|
34364
|
+
const entries = {};
|
|
34365
|
+
if (input.DryRun != null) {
|
|
34366
|
+
entries["DryRun"] = input.DryRun;
|
|
34367
|
+
}
|
|
34368
|
+
if (input.IpamResourceDiscoveryId != null) {
|
|
34369
|
+
entries["IpamResourceDiscoveryId"] = input.IpamResourceDiscoveryId;
|
|
34370
|
+
}
|
|
34371
|
+
if (input.AddressRegion != null) {
|
|
34372
|
+
entries["AddressRegion"] = input.AddressRegion;
|
|
34373
|
+
}
|
|
34374
|
+
if (input.Filters != null) {
|
|
34375
|
+
const memberEntries = se_FilterList(input.Filters, context);
|
|
34376
|
+
if (input.Filters?.length === 0) {
|
|
34377
|
+
entries.Filter = [];
|
|
34378
|
+
}
|
|
34379
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
34380
|
+
const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
|
|
34381
|
+
entries[loc] = value;
|
|
34382
|
+
});
|
|
34383
|
+
}
|
|
34384
|
+
if (input.NextToken != null) {
|
|
34385
|
+
entries["NextToken"] = input.NextToken;
|
|
34386
|
+
}
|
|
34387
|
+
if (input.MaxResults != null) {
|
|
34388
|
+
entries["MaxResults"] = input.MaxResults;
|
|
34389
|
+
}
|
|
34390
|
+
return entries;
|
|
34391
|
+
};
|
|
34018
34392
|
const se_GetIpamDiscoveredResourceCidrsRequest = (input, context) => {
|
|
34019
34393
|
const entries = {};
|
|
34020
34394
|
if (input.DryRun != null) {
|
|
@@ -35529,6 +35903,13 @@ const se_InstanceNetworkInterfaceSpecification = (input, context) => {
|
|
|
35529
35903
|
entries[loc] = value;
|
|
35530
35904
|
});
|
|
35531
35905
|
}
|
|
35906
|
+
if (input.ConnectionTrackingSpecification != null) {
|
|
35907
|
+
const memberEntries = se_ConnectionTrackingSpecificationRequest(input.ConnectionTrackingSpecification, context);
|
|
35908
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
35909
|
+
const loc = `ConnectionTrackingSpecification.${key}`;
|
|
35910
|
+
entries[loc] = value;
|
|
35911
|
+
});
|
|
35912
|
+
}
|
|
35532
35913
|
return entries;
|
|
35533
35914
|
};
|
|
35534
35915
|
const se_InstanceNetworkInterfaceSpecificationList = (input, context) => {
|
|
@@ -35999,6 +36380,18 @@ const se_IpamCidrAuthorizationContext = (input, context) => {
|
|
|
35999
36380
|
}
|
|
36000
36381
|
return entries;
|
|
36001
36382
|
};
|
|
36383
|
+
const se_IpamPoolAllocationAllowedCidrs = (input, context) => {
|
|
36384
|
+
const entries = {};
|
|
36385
|
+
let counter = 1;
|
|
36386
|
+
for (const entry of input) {
|
|
36387
|
+
if (entry === null) {
|
|
36388
|
+
continue;
|
|
36389
|
+
}
|
|
36390
|
+
entries[`Item.${counter}`] = entry;
|
|
36391
|
+
counter++;
|
|
36392
|
+
}
|
|
36393
|
+
return entries;
|
|
36394
|
+
};
|
|
36002
36395
|
const se_IpamPoolAllocationDisallowedCidrs = (input, context) => {
|
|
36003
36396
|
const entries = {};
|
|
36004
36397
|
let counter = 1;
|
|
@@ -36011,6 +36404,22 @@ const se_IpamPoolAllocationDisallowedCidrs = (input, context) => {
|
|
|
36011
36404
|
}
|
|
36012
36405
|
return entries;
|
|
36013
36406
|
};
|
|
36407
|
+
const se_IpamPoolSourceResourceRequest = (input, context) => {
|
|
36408
|
+
const entries = {};
|
|
36409
|
+
if (input.ResourceId != null) {
|
|
36410
|
+
entries["ResourceId"] = input.ResourceId;
|
|
36411
|
+
}
|
|
36412
|
+
if (input.ResourceType != null) {
|
|
36413
|
+
entries["ResourceType"] = input.ResourceType;
|
|
36414
|
+
}
|
|
36415
|
+
if (input.ResourceRegion != null) {
|
|
36416
|
+
entries["ResourceRegion"] = input.ResourceRegion;
|
|
36417
|
+
}
|
|
36418
|
+
if (input.ResourceOwner != null) {
|
|
36419
|
+
entries["ResourceOwner"] = input.ResourceOwner;
|
|
36420
|
+
}
|
|
36421
|
+
return entries;
|
|
36422
|
+
};
|
|
36014
36423
|
const se_IpList = (input, context) => {
|
|
36015
36424
|
const entries = {};
|
|
36016
36425
|
let counter = 1;
|
|
@@ -36646,6 +37055,13 @@ const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = (input, co
|
|
|
36646
37055
|
entries[loc] = value;
|
|
36647
37056
|
});
|
|
36648
37057
|
}
|
|
37058
|
+
if (input.ConnectionTrackingSpecification != null) {
|
|
37059
|
+
const memberEntries = se_ConnectionTrackingSpecificationRequest(input.ConnectionTrackingSpecification, context);
|
|
37060
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
37061
|
+
const loc = `ConnectionTrackingSpecification.${key}`;
|
|
37062
|
+
entries[loc] = value;
|
|
37063
|
+
});
|
|
37064
|
+
}
|
|
36649
37065
|
return entries;
|
|
36650
37066
|
};
|
|
36651
37067
|
const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = (input, context) => {
|
|
@@ -37870,6 +38286,9 @@ const se_ModifyIpamRequest = (input, context) => {
|
|
|
37870
38286
|
entries[loc] = value;
|
|
37871
38287
|
});
|
|
37872
38288
|
}
|
|
38289
|
+
if (input.Tier != null) {
|
|
38290
|
+
entries["Tier"] = input.Tier;
|
|
38291
|
+
}
|
|
37873
38292
|
return entries;
|
|
37874
38293
|
};
|
|
37875
38294
|
const se_ModifyIpamResourceCidrRequest = (input, context) => {
|
|
@@ -38072,6 +38491,13 @@ const se_ModifyNetworkInterfaceAttributeRequest = (input, context) => {
|
|
|
38072
38491
|
if (input.EnablePrimaryIpv6 != null) {
|
|
38073
38492
|
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
38074
38493
|
}
|
|
38494
|
+
if (input.ConnectionTrackingSpecification != null) {
|
|
38495
|
+
const memberEntries = se_ConnectionTrackingSpecificationRequest(input.ConnectionTrackingSpecification, context);
|
|
38496
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38497
|
+
const loc = `ConnectionTrackingSpecification.${key}`;
|
|
38498
|
+
entries[loc] = value;
|
|
38499
|
+
});
|
|
38500
|
+
}
|
|
38075
38501
|
return entries;
|
|
38076
38502
|
};
|
|
38077
38503
|
const se_ModifyPrivateDnsNameOptionsRequest = (input, context) => {
|
|
@@ -38750,6 +39176,13 @@ const se_ModifyVerifiedAccessInstanceRequest = (input, context) => {
|
|
|
38750
39176
|
}
|
|
38751
39177
|
return entries;
|
|
38752
39178
|
};
|
|
39179
|
+
const se_ModifyVerifiedAccessTrustProviderDeviceOptions = (input, context) => {
|
|
39180
|
+
const entries = {};
|
|
39181
|
+
if (input.PublicSigningKeyUrl != null) {
|
|
39182
|
+
entries["PublicSigningKeyUrl"] = input.PublicSigningKeyUrl;
|
|
39183
|
+
}
|
|
39184
|
+
return entries;
|
|
39185
|
+
};
|
|
38753
39186
|
const se_ModifyVerifiedAccessTrustProviderOidcOptions = (input, context) => {
|
|
38754
39187
|
const entries = {};
|
|
38755
39188
|
if (input.Issuer != null) {
|
|
@@ -38787,6 +39220,13 @@ const se_ModifyVerifiedAccessTrustProviderRequest = (input, context) => {
|
|
|
38787
39220
|
entries[loc] = value;
|
|
38788
39221
|
});
|
|
38789
39222
|
}
|
|
39223
|
+
if (input.DeviceOptions != null) {
|
|
39224
|
+
const memberEntries = se_ModifyVerifiedAccessTrustProviderDeviceOptions(input.DeviceOptions, context);
|
|
39225
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
39226
|
+
const loc = `DeviceOptions.${key}`;
|
|
39227
|
+
entries[loc] = value;
|
|
39228
|
+
});
|
|
39229
|
+
}
|
|
38790
39230
|
if (input.Description != null) {
|
|
38791
39231
|
entries["Description"] = input.Description;
|
|
38792
39232
|
}
|
|
@@ -40176,6 +40616,26 @@ const se_ProvisionByoipCidrRequest = (input, context) => {
|
|
|
40176
40616
|
}
|
|
40177
40617
|
return entries;
|
|
40178
40618
|
};
|
|
40619
|
+
const se_ProvisionIpamByoasnRequest = (input, context) => {
|
|
40620
|
+
const entries = {};
|
|
40621
|
+
if (input.DryRun != null) {
|
|
40622
|
+
entries["DryRun"] = input.DryRun;
|
|
40623
|
+
}
|
|
40624
|
+
if (input.IpamId != null) {
|
|
40625
|
+
entries["IpamId"] = input.IpamId;
|
|
40626
|
+
}
|
|
40627
|
+
if (input.Asn != null) {
|
|
40628
|
+
entries["Asn"] = input.Asn;
|
|
40629
|
+
}
|
|
40630
|
+
if (input.AsnAuthorizationContext != null) {
|
|
40631
|
+
const memberEntries = se_AsnAuthorizationContext(input.AsnAuthorizationContext, context);
|
|
40632
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
40633
|
+
const loc = `AsnAuthorizationContext.${key}`;
|
|
40634
|
+
entries[loc] = value;
|
|
40635
|
+
});
|
|
40636
|
+
}
|
|
40637
|
+
return entries;
|
|
40638
|
+
};
|
|
40179
40639
|
const se_ProvisionIpamPoolCidrRequest = (input, context) => {
|
|
40180
40640
|
const entries = {};
|
|
40181
40641
|
if (input.DryRun != null) {
|
|
@@ -45297,6 +45757,29 @@ const de_ArnList = (output, context) => {
|
|
|
45297
45757
|
return __expectString(entry);
|
|
45298
45758
|
});
|
|
45299
45759
|
};
|
|
45760
|
+
const de_AsnAssociation = (output, context) => {
|
|
45761
|
+
const contents = {};
|
|
45762
|
+
if (output["asn"] !== undefined) {
|
|
45763
|
+
contents.Asn = __expectString(output["asn"]);
|
|
45764
|
+
}
|
|
45765
|
+
if (output["cidr"] !== undefined) {
|
|
45766
|
+
contents.Cidr = __expectString(output["cidr"]);
|
|
45767
|
+
}
|
|
45768
|
+
if (output["statusMessage"] !== undefined) {
|
|
45769
|
+
contents.StatusMessage = __expectString(output["statusMessage"]);
|
|
45770
|
+
}
|
|
45771
|
+
if (output["state"] !== undefined) {
|
|
45772
|
+
contents.State = __expectString(output["state"]);
|
|
45773
|
+
}
|
|
45774
|
+
return contents;
|
|
45775
|
+
};
|
|
45776
|
+
const de_AsnAssociationSet = (output, context) => {
|
|
45777
|
+
return (output || [])
|
|
45778
|
+
.filter((e) => e != null)
|
|
45779
|
+
.map((entry) => {
|
|
45780
|
+
return de_AsnAssociation(entry, context);
|
|
45781
|
+
});
|
|
45782
|
+
};
|
|
45300
45783
|
const de_AssignedPrivateIpAddress = (output, context) => {
|
|
45301
45784
|
const contents = {};
|
|
45302
45785
|
if (output["privateIpAddress"] !== undefined) {
|
|
@@ -45447,6 +45930,13 @@ const de_AssociateInstanceEventWindowResult = (output, context) => {
|
|
|
45447
45930
|
}
|
|
45448
45931
|
return contents;
|
|
45449
45932
|
};
|
|
45933
|
+
const de_AssociateIpamByoasnResult = (output, context) => {
|
|
45934
|
+
const contents = {};
|
|
45935
|
+
if (output["asnAssociation"] !== undefined) {
|
|
45936
|
+
contents.AsnAssociation = de_AsnAssociation(output["asnAssociation"], context);
|
|
45937
|
+
}
|
|
45938
|
+
return contents;
|
|
45939
|
+
};
|
|
45450
45940
|
const de_AssociateIpamResourceDiscoveryResult = (output, context) => {
|
|
45451
45941
|
const contents = {};
|
|
45452
45942
|
if (output["ipamResourceDiscoveryAssociation"] !== undefined) {
|
|
@@ -45842,6 +46332,29 @@ const de_BundleTaskList = (output, context) => {
|
|
|
45842
46332
|
return de_BundleTask(entry, context);
|
|
45843
46333
|
});
|
|
45844
46334
|
};
|
|
46335
|
+
const de_Byoasn = (output, context) => {
|
|
46336
|
+
const contents = {};
|
|
46337
|
+
if (output["asn"] !== undefined) {
|
|
46338
|
+
contents.Asn = __expectString(output["asn"]);
|
|
46339
|
+
}
|
|
46340
|
+
if (output["ipamId"] !== undefined) {
|
|
46341
|
+
contents.IpamId = __expectString(output["ipamId"]);
|
|
46342
|
+
}
|
|
46343
|
+
if (output["statusMessage"] !== undefined) {
|
|
46344
|
+
contents.StatusMessage = __expectString(output["statusMessage"]);
|
|
46345
|
+
}
|
|
46346
|
+
if (output["state"] !== undefined) {
|
|
46347
|
+
contents.State = __expectString(output["state"]);
|
|
46348
|
+
}
|
|
46349
|
+
return contents;
|
|
46350
|
+
};
|
|
46351
|
+
const de_ByoasnSet = (output, context) => {
|
|
46352
|
+
return (output || [])
|
|
46353
|
+
.filter((e) => e != null)
|
|
46354
|
+
.map((entry) => {
|
|
46355
|
+
return de_Byoasn(entry, context);
|
|
46356
|
+
});
|
|
46357
|
+
};
|
|
45845
46358
|
const de_ByoipCidr = (output, context) => {
|
|
45846
46359
|
const contents = {};
|
|
45847
46360
|
if (output["cidr"] !== undefined) {
|
|
@@ -45850,6 +46363,12 @@ const de_ByoipCidr = (output, context) => {
|
|
|
45850
46363
|
if (output["description"] !== undefined) {
|
|
45851
46364
|
contents.Description = __expectString(output["description"]);
|
|
45852
46365
|
}
|
|
46366
|
+
if (output.asnAssociationSet === "") {
|
|
46367
|
+
contents.AsnAssociations = [];
|
|
46368
|
+
}
|
|
46369
|
+
else if (output["asnAssociationSet"] !== undefined && output["asnAssociationSet"]["item"] !== undefined) {
|
|
46370
|
+
contents.AsnAssociations = de_AsnAssociationSet(__getArrayIfSingleItem(output["asnAssociationSet"]["item"]), context);
|
|
46371
|
+
}
|
|
45853
46372
|
if (output["statusMessage"] !== undefined) {
|
|
45854
46373
|
contents.StatusMessage = __expectString(output["statusMessage"]);
|
|
45855
46374
|
}
|
|
@@ -46845,6 +47364,58 @@ const de_ConnectionNotificationSet = (output, context) => {
|
|
|
46845
47364
|
return de_ConnectionNotification(entry, context);
|
|
46846
47365
|
});
|
|
46847
47366
|
};
|
|
47367
|
+
const de_ConnectionTrackingConfiguration = (output, context) => {
|
|
47368
|
+
const contents = {};
|
|
47369
|
+
if (output["tcpEstablishedTimeout"] !== undefined) {
|
|
47370
|
+
contents.TcpEstablishedTimeout = __strictParseInt32(output["tcpEstablishedTimeout"]);
|
|
47371
|
+
}
|
|
47372
|
+
if (output["udpStreamTimeout"] !== undefined) {
|
|
47373
|
+
contents.UdpStreamTimeout = __strictParseInt32(output["udpStreamTimeout"]);
|
|
47374
|
+
}
|
|
47375
|
+
if (output["udpTimeout"] !== undefined) {
|
|
47376
|
+
contents.UdpTimeout = __strictParseInt32(output["udpTimeout"]);
|
|
47377
|
+
}
|
|
47378
|
+
return contents;
|
|
47379
|
+
};
|
|
47380
|
+
const de_ConnectionTrackingSpecification = (output, context) => {
|
|
47381
|
+
const contents = {};
|
|
47382
|
+
if (output["tcpEstablishedTimeout"] !== undefined) {
|
|
47383
|
+
contents.TcpEstablishedTimeout = __strictParseInt32(output["tcpEstablishedTimeout"]);
|
|
47384
|
+
}
|
|
47385
|
+
if (output["udpTimeout"] !== undefined) {
|
|
47386
|
+
contents.UdpTimeout = __strictParseInt32(output["udpTimeout"]);
|
|
47387
|
+
}
|
|
47388
|
+
if (output["udpStreamTimeout"] !== undefined) {
|
|
47389
|
+
contents.UdpStreamTimeout = __strictParseInt32(output["udpStreamTimeout"]);
|
|
47390
|
+
}
|
|
47391
|
+
return contents;
|
|
47392
|
+
};
|
|
47393
|
+
const de_ConnectionTrackingSpecificationRequest = (output, context) => {
|
|
47394
|
+
const contents = {};
|
|
47395
|
+
if (output["TcpEstablishedTimeout"] !== undefined) {
|
|
47396
|
+
contents.TcpEstablishedTimeout = __strictParseInt32(output["TcpEstablishedTimeout"]);
|
|
47397
|
+
}
|
|
47398
|
+
if (output["UdpStreamTimeout"] !== undefined) {
|
|
47399
|
+
contents.UdpStreamTimeout = __strictParseInt32(output["UdpStreamTimeout"]);
|
|
47400
|
+
}
|
|
47401
|
+
if (output["UdpTimeout"] !== undefined) {
|
|
47402
|
+
contents.UdpTimeout = __strictParseInt32(output["UdpTimeout"]);
|
|
47403
|
+
}
|
|
47404
|
+
return contents;
|
|
47405
|
+
};
|
|
47406
|
+
const de_ConnectionTrackingSpecificationResponse = (output, context) => {
|
|
47407
|
+
const contents = {};
|
|
47408
|
+
if (output["tcpEstablishedTimeout"] !== undefined) {
|
|
47409
|
+
contents.TcpEstablishedTimeout = __strictParseInt32(output["tcpEstablishedTimeout"]);
|
|
47410
|
+
}
|
|
47411
|
+
if (output["udpStreamTimeout"] !== undefined) {
|
|
47412
|
+
contents.UdpStreamTimeout = __strictParseInt32(output["udpStreamTimeout"]);
|
|
47413
|
+
}
|
|
47414
|
+
if (output["udpTimeout"] !== undefined) {
|
|
47415
|
+
contents.UdpTimeout = __strictParseInt32(output["udpTimeout"]);
|
|
47416
|
+
}
|
|
47417
|
+
return contents;
|
|
47418
|
+
};
|
|
46848
47419
|
const de_ConversionTask = (output, context) => {
|
|
46849
47420
|
const contents = {};
|
|
46850
47421
|
if (output["conversionTaskId"] !== undefined) {
|
|
@@ -48289,6 +48860,13 @@ const de_DeprovisionedAddressSet = (output, context) => {
|
|
|
48289
48860
|
return __expectString(entry);
|
|
48290
48861
|
});
|
|
48291
48862
|
};
|
|
48863
|
+
const de_DeprovisionIpamByoasnResult = (output, context) => {
|
|
48864
|
+
const contents = {};
|
|
48865
|
+
if (output["byoasn"] !== undefined) {
|
|
48866
|
+
contents.Byoasn = de_Byoasn(output["byoasn"], context);
|
|
48867
|
+
}
|
|
48868
|
+
return contents;
|
|
48869
|
+
};
|
|
48292
48870
|
const de_DeprovisionIpamPoolCidrResult = (output, context) => {
|
|
48293
48871
|
const contents = {};
|
|
48294
48872
|
if (output["ipamPoolCidr"] !== undefined) {
|
|
@@ -49158,6 +49736,19 @@ const de_DescribeInternetGatewaysResult = (output, context) => {
|
|
|
49158
49736
|
}
|
|
49159
49737
|
return contents;
|
|
49160
49738
|
};
|
|
49739
|
+
const de_DescribeIpamByoasnResult = (output, context) => {
|
|
49740
|
+
const contents = {};
|
|
49741
|
+
if (output.byoasnSet === "") {
|
|
49742
|
+
contents.Byoasns = [];
|
|
49743
|
+
}
|
|
49744
|
+
else if (output["byoasnSet"] !== undefined && output["byoasnSet"]["item"] !== undefined) {
|
|
49745
|
+
contents.Byoasns = de_ByoasnSet(__getArrayIfSingleItem(output["byoasnSet"]["item"]), context);
|
|
49746
|
+
}
|
|
49747
|
+
if (output["nextToken"] !== undefined) {
|
|
49748
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
49749
|
+
}
|
|
49750
|
+
return contents;
|
|
49751
|
+
};
|
|
49161
49752
|
const de_DescribeIpamPoolsResult = (output, context) => {
|
|
49162
49753
|
const contents = {};
|
|
49163
49754
|
if (output["nextToken"] !== undefined) {
|
|
@@ -50435,6 +51026,9 @@ const de_DeviceOptions = (output, context) => {
|
|
|
50435
51026
|
if (output["tenantId"] !== undefined) {
|
|
50436
51027
|
contents.TenantId = __expectString(output["tenantId"]);
|
|
50437
51028
|
}
|
|
51029
|
+
if (output["publicSigningKeyUrl"] !== undefined) {
|
|
51030
|
+
contents.PublicSigningKeyUrl = __expectString(output["publicSigningKeyUrl"]);
|
|
51031
|
+
}
|
|
50438
51032
|
return contents;
|
|
50439
51033
|
};
|
|
50440
51034
|
const de_DhcpConfiguration = (output, context) => {
|
|
@@ -50754,6 +51348,13 @@ const de_DisassociateInstanceEventWindowResult = (output, context) => {
|
|
|
50754
51348
|
}
|
|
50755
51349
|
return contents;
|
|
50756
51350
|
};
|
|
51351
|
+
const de_DisassociateIpamByoasnResult = (output, context) => {
|
|
51352
|
+
const contents = {};
|
|
51353
|
+
if (output["asnAssociation"] !== undefined) {
|
|
51354
|
+
contents.AsnAssociation = de_AsnAssociation(output["asnAssociation"], context);
|
|
51355
|
+
}
|
|
51356
|
+
return contents;
|
|
51357
|
+
};
|
|
50757
51358
|
const de_DisassociateIpamResourceDiscoveryResult = (output, context) => {
|
|
50758
51359
|
const contents = {};
|
|
50759
51360
|
if (output["ipamResourceDiscoveryAssociation"] !== undefined) {
|
|
@@ -52629,6 +53230,23 @@ const de_GetIpamDiscoveredAccountsResult = (output, context) => {
|
|
|
52629
53230
|
}
|
|
52630
53231
|
return contents;
|
|
52631
53232
|
};
|
|
53233
|
+
const de_GetIpamDiscoveredPublicAddressesResult = (output, context) => {
|
|
53234
|
+
const contents = {};
|
|
53235
|
+
if (output.ipamDiscoveredPublicAddressSet === "") {
|
|
53236
|
+
contents.IpamDiscoveredPublicAddresses = [];
|
|
53237
|
+
}
|
|
53238
|
+
else if (output["ipamDiscoveredPublicAddressSet"] !== undefined &&
|
|
53239
|
+
output["ipamDiscoveredPublicAddressSet"]["item"] !== undefined) {
|
|
53240
|
+
contents.IpamDiscoveredPublicAddresses = de_IpamDiscoveredPublicAddressSet(__getArrayIfSingleItem(output["ipamDiscoveredPublicAddressSet"]["item"]), context);
|
|
53241
|
+
}
|
|
53242
|
+
if (output["oldestSampleTime"] !== undefined) {
|
|
53243
|
+
contents.OldestSampleTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["oldestSampleTime"]));
|
|
53244
|
+
}
|
|
53245
|
+
if (output["nextToken"] !== undefined) {
|
|
53246
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
53247
|
+
}
|
|
53248
|
+
return contents;
|
|
53249
|
+
};
|
|
52632
53250
|
const de_GetIpamDiscoveredResourceCidrsResult = (output, context) => {
|
|
52633
53251
|
const contents = {};
|
|
52634
53252
|
if (output.ipamDiscoveredResourceCidrSet === "") {
|
|
@@ -54634,6 +55252,9 @@ const de_InstanceNetworkInterface = (output, context) => {
|
|
|
54634
55252
|
else if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
54635
55253
|
contents.Ipv6Prefixes = de_InstanceIpv6PrefixList(__getArrayIfSingleItem(output["ipv6PrefixSet"]["item"]), context);
|
|
54636
55254
|
}
|
|
55255
|
+
if (output["connectionTrackingConfiguration"] !== undefined) {
|
|
55256
|
+
contents.ConnectionTrackingConfiguration = de_ConnectionTrackingSpecificationResponse(output["connectionTrackingConfiguration"], context);
|
|
55257
|
+
}
|
|
54637
55258
|
return contents;
|
|
54638
55259
|
};
|
|
54639
55260
|
const de_InstanceNetworkInterfaceAssociation = (output, context) => {
|
|
@@ -54767,6 +55388,9 @@ const de_InstanceNetworkInterfaceSpecification = (output, context) => {
|
|
|
54767
55388
|
if (output["EnaSrdSpecification"] !== undefined) {
|
|
54768
55389
|
contents.EnaSrdSpecification = de_EnaSrdSpecificationRequest(output["EnaSrdSpecification"], context);
|
|
54769
55390
|
}
|
|
55391
|
+
if (output["ConnectionTrackingSpecification"] !== undefined) {
|
|
55392
|
+
contents.ConnectionTrackingSpecification = de_ConnectionTrackingSpecificationRequest(output["ConnectionTrackingSpecification"], context);
|
|
55393
|
+
}
|
|
54770
55394
|
return contents;
|
|
54771
55395
|
};
|
|
54772
55396
|
const de_InstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -55363,6 +55987,12 @@ const de_Ipam = (output, context) => {
|
|
|
55363
55987
|
if (output["resourceDiscoveryAssociationCount"] !== undefined) {
|
|
55364
55988
|
contents.ResourceDiscoveryAssociationCount = __strictParseInt32(output["resourceDiscoveryAssociationCount"]);
|
|
55365
55989
|
}
|
|
55990
|
+
if (output["stateMessage"] !== undefined) {
|
|
55991
|
+
contents.StateMessage = __expectString(output["stateMessage"]);
|
|
55992
|
+
}
|
|
55993
|
+
if (output["tier"] !== undefined) {
|
|
55994
|
+
contents.Tier = __expectString(output["tier"]);
|
|
55995
|
+
}
|
|
55366
55996
|
return contents;
|
|
55367
55997
|
};
|
|
55368
55998
|
const de_IpamAddressHistoryRecord = (output, context) => {
|
|
@@ -55435,6 +56065,77 @@ const de_IpamDiscoveredAccountSet = (output, context) => {
|
|
|
55435
56065
|
return de_IpamDiscoveredAccount(entry, context);
|
|
55436
56066
|
});
|
|
55437
56067
|
};
|
|
56068
|
+
const de_IpamDiscoveredPublicAddress = (output, context) => {
|
|
56069
|
+
const contents = {};
|
|
56070
|
+
if (output["ipamResourceDiscoveryId"] !== undefined) {
|
|
56071
|
+
contents.IpamResourceDiscoveryId = __expectString(output["ipamResourceDiscoveryId"]);
|
|
56072
|
+
}
|
|
56073
|
+
if (output["addressRegion"] !== undefined) {
|
|
56074
|
+
contents.AddressRegion = __expectString(output["addressRegion"]);
|
|
56075
|
+
}
|
|
56076
|
+
if (output["address"] !== undefined) {
|
|
56077
|
+
contents.Address = __expectString(output["address"]);
|
|
56078
|
+
}
|
|
56079
|
+
if (output["addressOwnerId"] !== undefined) {
|
|
56080
|
+
contents.AddressOwnerId = __expectString(output["addressOwnerId"]);
|
|
56081
|
+
}
|
|
56082
|
+
if (output["addressAllocationId"] !== undefined) {
|
|
56083
|
+
contents.AddressAllocationId = __expectString(output["addressAllocationId"]);
|
|
56084
|
+
}
|
|
56085
|
+
if (output["associationStatus"] !== undefined) {
|
|
56086
|
+
contents.AssociationStatus = __expectString(output["associationStatus"]);
|
|
56087
|
+
}
|
|
56088
|
+
if (output["addressType"] !== undefined) {
|
|
56089
|
+
contents.AddressType = __expectString(output["addressType"]);
|
|
56090
|
+
}
|
|
56091
|
+
if (output["service"] !== undefined) {
|
|
56092
|
+
contents.Service = __expectString(output["service"]);
|
|
56093
|
+
}
|
|
56094
|
+
if (output["serviceResource"] !== undefined) {
|
|
56095
|
+
contents.ServiceResource = __expectString(output["serviceResource"]);
|
|
56096
|
+
}
|
|
56097
|
+
if (output["vpcId"] !== undefined) {
|
|
56098
|
+
contents.VpcId = __expectString(output["vpcId"]);
|
|
56099
|
+
}
|
|
56100
|
+
if (output["subnetId"] !== undefined) {
|
|
56101
|
+
contents.SubnetId = __expectString(output["subnetId"]);
|
|
56102
|
+
}
|
|
56103
|
+
if (output["publicIpv4PoolId"] !== undefined) {
|
|
56104
|
+
contents.PublicIpv4PoolId = __expectString(output["publicIpv4PoolId"]);
|
|
56105
|
+
}
|
|
56106
|
+
if (output["networkInterfaceId"] !== undefined) {
|
|
56107
|
+
contents.NetworkInterfaceId = __expectString(output["networkInterfaceId"]);
|
|
56108
|
+
}
|
|
56109
|
+
if (output["networkInterfaceDescription"] !== undefined) {
|
|
56110
|
+
contents.NetworkInterfaceDescription = __expectString(output["networkInterfaceDescription"]);
|
|
56111
|
+
}
|
|
56112
|
+
if (output["instanceId"] !== undefined) {
|
|
56113
|
+
contents.InstanceId = __expectString(output["instanceId"]);
|
|
56114
|
+
}
|
|
56115
|
+
if (output["tags"] !== undefined) {
|
|
56116
|
+
contents.Tags = de_IpamPublicAddressTags(output["tags"], context);
|
|
56117
|
+
}
|
|
56118
|
+
if (output["networkBorderGroup"] !== undefined) {
|
|
56119
|
+
contents.NetworkBorderGroup = __expectString(output["networkBorderGroup"]);
|
|
56120
|
+
}
|
|
56121
|
+
if (output.securityGroupSet === "") {
|
|
56122
|
+
contents.SecurityGroups = [];
|
|
56123
|
+
}
|
|
56124
|
+
else if (output["securityGroupSet"] !== undefined && output["securityGroupSet"]["item"] !== undefined) {
|
|
56125
|
+
contents.SecurityGroups = de_IpamPublicAddressSecurityGroupList(__getArrayIfSingleItem(output["securityGroupSet"]["item"]), context);
|
|
56126
|
+
}
|
|
56127
|
+
if (output["sampleTime"] !== undefined) {
|
|
56128
|
+
contents.SampleTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["sampleTime"]));
|
|
56129
|
+
}
|
|
56130
|
+
return contents;
|
|
56131
|
+
};
|
|
56132
|
+
const de_IpamDiscoveredPublicAddressSet = (output, context) => {
|
|
56133
|
+
return (output || [])
|
|
56134
|
+
.filter((e) => e != null)
|
|
56135
|
+
.map((entry) => {
|
|
56136
|
+
return de_IpamDiscoveredPublicAddress(entry, context);
|
|
56137
|
+
});
|
|
56138
|
+
};
|
|
55438
56139
|
const de_IpamDiscoveredResourceCidr = (output, context) => {
|
|
55439
56140
|
const contents = {};
|
|
55440
56141
|
if (output["ipamResourceDiscoveryId"] !== undefined) {
|
|
@@ -55581,6 +56282,9 @@ const de_IpamPool = (output, context) => {
|
|
|
55581
56282
|
if (output["publicIpSource"] !== undefined) {
|
|
55582
56283
|
contents.PublicIpSource = __expectString(output["publicIpSource"]);
|
|
55583
56284
|
}
|
|
56285
|
+
if (output["sourceResource"] !== undefined) {
|
|
56286
|
+
contents.SourceResource = de_IpamPoolSourceResource(output["sourceResource"], context);
|
|
56287
|
+
}
|
|
55584
56288
|
return contents;
|
|
55585
56289
|
};
|
|
55586
56290
|
const de_IpamPoolAllocation = (output, context) => {
|
|
@@ -55658,6 +56362,66 @@ const de_IpamPoolSet = (output, context) => {
|
|
|
55658
56362
|
return de_IpamPool(entry, context);
|
|
55659
56363
|
});
|
|
55660
56364
|
};
|
|
56365
|
+
const de_IpamPoolSourceResource = (output, context) => {
|
|
56366
|
+
const contents = {};
|
|
56367
|
+
if (output["resourceId"] !== undefined) {
|
|
56368
|
+
contents.ResourceId = __expectString(output["resourceId"]);
|
|
56369
|
+
}
|
|
56370
|
+
if (output["resourceType"] !== undefined) {
|
|
56371
|
+
contents.ResourceType = __expectString(output["resourceType"]);
|
|
56372
|
+
}
|
|
56373
|
+
if (output["resourceRegion"] !== undefined) {
|
|
56374
|
+
contents.ResourceRegion = __expectString(output["resourceRegion"]);
|
|
56375
|
+
}
|
|
56376
|
+
if (output["resourceOwner"] !== undefined) {
|
|
56377
|
+
contents.ResourceOwner = __expectString(output["resourceOwner"]);
|
|
56378
|
+
}
|
|
56379
|
+
return contents;
|
|
56380
|
+
};
|
|
56381
|
+
const de_IpamPublicAddressSecurityGroup = (output, context) => {
|
|
56382
|
+
const contents = {};
|
|
56383
|
+
if (output["groupName"] !== undefined) {
|
|
56384
|
+
contents.GroupName = __expectString(output["groupName"]);
|
|
56385
|
+
}
|
|
56386
|
+
if (output["groupId"] !== undefined) {
|
|
56387
|
+
contents.GroupId = __expectString(output["groupId"]);
|
|
56388
|
+
}
|
|
56389
|
+
return contents;
|
|
56390
|
+
};
|
|
56391
|
+
const de_IpamPublicAddressSecurityGroupList = (output, context) => {
|
|
56392
|
+
return (output || [])
|
|
56393
|
+
.filter((e) => e != null)
|
|
56394
|
+
.map((entry) => {
|
|
56395
|
+
return de_IpamPublicAddressSecurityGroup(entry, context);
|
|
56396
|
+
});
|
|
56397
|
+
};
|
|
56398
|
+
const de_IpamPublicAddressTag = (output, context) => {
|
|
56399
|
+
const contents = {};
|
|
56400
|
+
if (output["key"] !== undefined) {
|
|
56401
|
+
contents.Key = __expectString(output["key"]);
|
|
56402
|
+
}
|
|
56403
|
+
if (output["value"] !== undefined) {
|
|
56404
|
+
contents.Value = __expectString(output["value"]);
|
|
56405
|
+
}
|
|
56406
|
+
return contents;
|
|
56407
|
+
};
|
|
56408
|
+
const de_IpamPublicAddressTagList = (output, context) => {
|
|
56409
|
+
return (output || [])
|
|
56410
|
+
.filter((e) => e != null)
|
|
56411
|
+
.map((entry) => {
|
|
56412
|
+
return de_IpamPublicAddressTag(entry, context);
|
|
56413
|
+
});
|
|
56414
|
+
};
|
|
56415
|
+
const de_IpamPublicAddressTags = (output, context) => {
|
|
56416
|
+
const contents = {};
|
|
56417
|
+
if (output.eipTagSet === "") {
|
|
56418
|
+
contents.EipTags = [];
|
|
56419
|
+
}
|
|
56420
|
+
else if (output["eipTagSet"] !== undefined && output["eipTagSet"]["item"] !== undefined) {
|
|
56421
|
+
contents.EipTags = de_IpamPublicAddressTagList(__getArrayIfSingleItem(output["eipTagSet"]["item"]), context);
|
|
56422
|
+
}
|
|
56423
|
+
return contents;
|
|
56424
|
+
};
|
|
55661
56425
|
const de_IpamResourceCidr = (output, context) => {
|
|
55662
56426
|
const contents = {};
|
|
55663
56427
|
if (output["ipamId"] !== undefined) {
|
|
@@ -56586,6 +57350,9 @@ const de_LaunchTemplateInstanceNetworkInterfaceSpecification = (output, context)
|
|
|
56586
57350
|
if (output["enaSrdSpecification"] !== undefined) {
|
|
56587
57351
|
contents.EnaSrdSpecification = de_LaunchTemplateEnaSrdSpecification(output["enaSrdSpecification"], context);
|
|
56588
57352
|
}
|
|
57353
|
+
if (output["connectionTrackingSpecification"] !== undefined) {
|
|
57354
|
+
contents.ConnectionTrackingSpecification = de_ConnectionTrackingSpecification(output["connectionTrackingSpecification"], context);
|
|
57355
|
+
}
|
|
56589
57356
|
return contents;
|
|
56590
57357
|
};
|
|
56591
57358
|
const de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -58289,6 +59056,9 @@ const de_NetworkInterface = (output, context) => {
|
|
|
58289
59056
|
if (output["availabilityZone"] !== undefined) {
|
|
58290
59057
|
contents.AvailabilityZone = __expectString(output["availabilityZone"]);
|
|
58291
59058
|
}
|
|
59059
|
+
if (output["connectionTrackingConfiguration"] !== undefined) {
|
|
59060
|
+
contents.ConnectionTrackingConfiguration = de_ConnectionTrackingConfiguration(output["connectionTrackingConfiguration"], context);
|
|
59061
|
+
}
|
|
58292
59062
|
if (output["description"] !== undefined) {
|
|
58293
59063
|
contents.Description = __expectString(output["description"]);
|
|
58294
59064
|
}
|
|
@@ -59332,6 +60102,13 @@ const de_ProvisionedBandwidth = (output, context) => {
|
|
|
59332
60102
|
}
|
|
59333
60103
|
return contents;
|
|
59334
60104
|
};
|
|
60105
|
+
const de_ProvisionIpamByoasnResult = (output, context) => {
|
|
60106
|
+
const contents = {};
|
|
60107
|
+
if (output["byoasn"] !== undefined) {
|
|
60108
|
+
contents.Byoasn = de_Byoasn(output["byoasn"], context);
|
|
60109
|
+
}
|
|
60110
|
+
return contents;
|
|
60111
|
+
};
|
|
59335
60112
|
const de_ProvisionIpamPoolCidrResult = (output, context) => {
|
|
59336
60113
|
const contents = {};
|
|
59337
60114
|
if (output["ipamPoolCidr"] !== undefined) {
|