@aws-sdk/client-ec2 3.453.0 → 3.455.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 +15 -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 -24
- package/dist-cjs/models/models_7.js +23 -1
- package/dist-cjs/protocols/Aws_ec2.js +815 -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 +13 -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 -23
- package/dist-es/models/models_7.js +22 -1
- package/dist-es/protocols/Aws_ec2.js +778 -0
- package/dist-types/EC2.d.ts +42 -0
- package/dist-types/EC2Client.d.ts +8 -2
- package/dist-types/commands/AcceptTransitGatewayVpcAttachmentCommand.d.ts +1 -0
- 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/AuthorizeSecurityGroupEgressCommand.d.ts +6 -0
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -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/CreateTransitGatewayCommand.d.ts +2 -0
- package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +2 -0
- 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 +1 -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/DeleteTransitGatewayCommand.d.ts +1 -0
- package/dist-types/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -0
- 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 +1 -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/DescribeSecurityGroupReferencesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -1
- 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/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -5
- 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/GetIpamPoolCidrsCommand.d.ts +2 -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/ModifyTransitGatewayCommand.d.ts +2 -0
- package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +2 -0
- 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/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -1
- 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 +2 -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 +123 -105
- package/dist-types/models/models_1.d.ts +296 -347
- package/dist-types/models/models_2.d.ts +404 -184
- package/dist-types/models/models_3.d.ts +258 -535
- package/dist-types/models/models_4.d.ts +1882 -1944
- package/dist-types/models/models_5.d.ts +3701 -3495
- package/dist-types/models/models_6.d.ts +4435 -4347
- package/dist-types/models/models_7.d.ts +740 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/DescribeSubnetsCommand.d.ts +2 -4
- 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/GetIpamPoolCidrsCommand.d.ts +2 -4
- 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/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -4
- 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 +38 -28
- package/dist-types/ts3.4/models/models_1.d.ts +72 -92
- package/dist-types/ts3.4/models/models_2.d.ts +107 -46
- package/dist-types/ts3.4/models/models_3.d.ts +69 -128
- package/dist-types/ts3.4/models/models_4.d.ts +149 -124
- package/dist-types/ts3.4/models/models_5.d.ts +202 -180
- package/dist-types/ts3.4/models/models_6.d.ts +205 -189
- package/dist-types/ts3.4/models/models_7.d.ts +188 -5
- 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) => {
|
|
@@ -26008,6 +26308,9 @@ const se_CreateTransitGatewayVpcAttachmentRequestOptions = (input, context) => {
|
|
|
26008
26308
|
if (input.DnsSupport != null) {
|
|
26009
26309
|
entries["DnsSupport"] = input.DnsSupport;
|
|
26010
26310
|
}
|
|
26311
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
26312
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
26313
|
+
}
|
|
26011
26314
|
if (input.Ipv6Support != null) {
|
|
26012
26315
|
entries["Ipv6Support"] = input.Ipv6Support;
|
|
26013
26316
|
}
|
|
@@ -26969,6 +27272,9 @@ const se_DeleteIpamPoolRequest = (input, context) => {
|
|
|
26969
27272
|
if (input.IpamPoolId != null) {
|
|
26970
27273
|
entries["IpamPoolId"] = input.IpamPoolId;
|
|
26971
27274
|
}
|
|
27275
|
+
if (input.Cascade != null) {
|
|
27276
|
+
entries["Cascade"] = input.Cascade;
|
|
27277
|
+
}
|
|
26972
27278
|
return entries;
|
|
26973
27279
|
};
|
|
26974
27280
|
const se_DeleteIpamRequest = (input, context) => {
|
|
@@ -27705,6 +28011,19 @@ const se_DeprovisionByoipCidrRequest = (input, context) => {
|
|
|
27705
28011
|
}
|
|
27706
28012
|
return entries;
|
|
27707
28013
|
};
|
|
28014
|
+
const se_DeprovisionIpamByoasnRequest = (input, context) => {
|
|
28015
|
+
const entries = {};
|
|
28016
|
+
if (input.DryRun != null) {
|
|
28017
|
+
entries["DryRun"] = input.DryRun;
|
|
28018
|
+
}
|
|
28019
|
+
if (input.IpamId != null) {
|
|
28020
|
+
entries["IpamId"] = input.IpamId;
|
|
28021
|
+
}
|
|
28022
|
+
if (input.Asn != null) {
|
|
28023
|
+
entries["Asn"] = input.Asn;
|
|
28024
|
+
}
|
|
28025
|
+
return entries;
|
|
28026
|
+
};
|
|
27708
28027
|
const se_DeprovisionIpamPoolCidrRequest = (input, context) => {
|
|
27709
28028
|
const entries = {};
|
|
27710
28029
|
if (input.DryRun != null) {
|
|
@@ -29418,6 +29737,19 @@ const se_DescribeInternetGatewaysRequest = (input, context) => {
|
|
|
29418
29737
|
}
|
|
29419
29738
|
return entries;
|
|
29420
29739
|
};
|
|
29740
|
+
const se_DescribeIpamByoasnRequest = (input, context) => {
|
|
29741
|
+
const entries = {};
|
|
29742
|
+
if (input.DryRun != null) {
|
|
29743
|
+
entries["DryRun"] = input.DryRun;
|
|
29744
|
+
}
|
|
29745
|
+
if (input.MaxResults != null) {
|
|
29746
|
+
entries["MaxResults"] = input.MaxResults;
|
|
29747
|
+
}
|
|
29748
|
+
if (input.NextToken != null) {
|
|
29749
|
+
entries["NextToken"] = input.NextToken;
|
|
29750
|
+
}
|
|
29751
|
+
return entries;
|
|
29752
|
+
};
|
|
29421
29753
|
const se_DescribeIpamPoolsRequest = (input, context) => {
|
|
29422
29754
|
const entries = {};
|
|
29423
29755
|
if (input.DryRun != null) {
|
|
@@ -32681,6 +33013,19 @@ const se_DisassociateInstanceEventWindowRequest = (input, context) => {
|
|
|
32681
33013
|
}
|
|
32682
33014
|
return entries;
|
|
32683
33015
|
};
|
|
33016
|
+
const se_DisassociateIpamByoasnRequest = (input, context) => {
|
|
33017
|
+
const entries = {};
|
|
33018
|
+
if (input.DryRun != null) {
|
|
33019
|
+
entries["DryRun"] = input.DryRun;
|
|
33020
|
+
}
|
|
33021
|
+
if (input.Asn != null) {
|
|
33022
|
+
entries["Asn"] = input.Asn;
|
|
33023
|
+
}
|
|
33024
|
+
if (input.Cidr != null) {
|
|
33025
|
+
entries["Cidr"] = input.Cidr;
|
|
33026
|
+
}
|
|
33027
|
+
return entries;
|
|
33028
|
+
};
|
|
32684
33029
|
const se_DisassociateIpamResourceDiscoveryRequest = (input, context) => {
|
|
32685
33030
|
const entries = {};
|
|
32686
33031
|
if (input.DryRun != null) {
|
|
@@ -34018,6 +34363,35 @@ const se_GetIpamDiscoveredAccountsRequest = (input, context) => {
|
|
|
34018
34363
|
}
|
|
34019
34364
|
return entries;
|
|
34020
34365
|
};
|
|
34366
|
+
const se_GetIpamDiscoveredPublicAddressesRequest = (input, context) => {
|
|
34367
|
+
const entries = {};
|
|
34368
|
+
if (input.DryRun != null) {
|
|
34369
|
+
entries["DryRun"] = input.DryRun;
|
|
34370
|
+
}
|
|
34371
|
+
if (input.IpamResourceDiscoveryId != null) {
|
|
34372
|
+
entries["IpamResourceDiscoveryId"] = input.IpamResourceDiscoveryId;
|
|
34373
|
+
}
|
|
34374
|
+
if (input.AddressRegion != null) {
|
|
34375
|
+
entries["AddressRegion"] = input.AddressRegion;
|
|
34376
|
+
}
|
|
34377
|
+
if (input.Filters != null) {
|
|
34378
|
+
const memberEntries = se_FilterList(input.Filters, context);
|
|
34379
|
+
if (input.Filters?.length === 0) {
|
|
34380
|
+
entries.Filter = [];
|
|
34381
|
+
}
|
|
34382
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
34383
|
+
const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
|
|
34384
|
+
entries[loc] = value;
|
|
34385
|
+
});
|
|
34386
|
+
}
|
|
34387
|
+
if (input.NextToken != null) {
|
|
34388
|
+
entries["NextToken"] = input.NextToken;
|
|
34389
|
+
}
|
|
34390
|
+
if (input.MaxResults != null) {
|
|
34391
|
+
entries["MaxResults"] = input.MaxResults;
|
|
34392
|
+
}
|
|
34393
|
+
return entries;
|
|
34394
|
+
};
|
|
34021
34395
|
const se_GetIpamDiscoveredResourceCidrsRequest = (input, context) => {
|
|
34022
34396
|
const entries = {};
|
|
34023
34397
|
if (input.DryRun != null) {
|
|
@@ -35532,6 +35906,13 @@ const se_InstanceNetworkInterfaceSpecification = (input, context) => {
|
|
|
35532
35906
|
entries[loc] = value;
|
|
35533
35907
|
});
|
|
35534
35908
|
}
|
|
35909
|
+
if (input.ConnectionTrackingSpecification != null) {
|
|
35910
|
+
const memberEntries = se_ConnectionTrackingSpecificationRequest(input.ConnectionTrackingSpecification, context);
|
|
35911
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
35912
|
+
const loc = `ConnectionTrackingSpecification.${key}`;
|
|
35913
|
+
entries[loc] = value;
|
|
35914
|
+
});
|
|
35915
|
+
}
|
|
35535
35916
|
return entries;
|
|
35536
35917
|
};
|
|
35537
35918
|
const se_InstanceNetworkInterfaceSpecificationList = (input, context) => {
|
|
@@ -36002,6 +36383,18 @@ const se_IpamCidrAuthorizationContext = (input, context) => {
|
|
|
36002
36383
|
}
|
|
36003
36384
|
return entries;
|
|
36004
36385
|
};
|
|
36386
|
+
const se_IpamPoolAllocationAllowedCidrs = (input, context) => {
|
|
36387
|
+
const entries = {};
|
|
36388
|
+
let counter = 1;
|
|
36389
|
+
for (const entry of input) {
|
|
36390
|
+
if (entry === null) {
|
|
36391
|
+
continue;
|
|
36392
|
+
}
|
|
36393
|
+
entries[`Item.${counter}`] = entry;
|
|
36394
|
+
counter++;
|
|
36395
|
+
}
|
|
36396
|
+
return entries;
|
|
36397
|
+
};
|
|
36005
36398
|
const se_IpamPoolAllocationDisallowedCidrs = (input, context) => {
|
|
36006
36399
|
const entries = {};
|
|
36007
36400
|
let counter = 1;
|
|
@@ -36014,6 +36407,22 @@ const se_IpamPoolAllocationDisallowedCidrs = (input, context) => {
|
|
|
36014
36407
|
}
|
|
36015
36408
|
return entries;
|
|
36016
36409
|
};
|
|
36410
|
+
const se_IpamPoolSourceResourceRequest = (input, context) => {
|
|
36411
|
+
const entries = {};
|
|
36412
|
+
if (input.ResourceId != null) {
|
|
36413
|
+
entries["ResourceId"] = input.ResourceId;
|
|
36414
|
+
}
|
|
36415
|
+
if (input.ResourceType != null) {
|
|
36416
|
+
entries["ResourceType"] = input.ResourceType;
|
|
36417
|
+
}
|
|
36418
|
+
if (input.ResourceRegion != null) {
|
|
36419
|
+
entries["ResourceRegion"] = input.ResourceRegion;
|
|
36420
|
+
}
|
|
36421
|
+
if (input.ResourceOwner != null) {
|
|
36422
|
+
entries["ResourceOwner"] = input.ResourceOwner;
|
|
36423
|
+
}
|
|
36424
|
+
return entries;
|
|
36425
|
+
};
|
|
36017
36426
|
const se_IpList = (input, context) => {
|
|
36018
36427
|
const entries = {};
|
|
36019
36428
|
let counter = 1;
|
|
@@ -36649,6 +37058,13 @@ const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = (input, co
|
|
|
36649
37058
|
entries[loc] = value;
|
|
36650
37059
|
});
|
|
36651
37060
|
}
|
|
37061
|
+
if (input.ConnectionTrackingSpecification != null) {
|
|
37062
|
+
const memberEntries = se_ConnectionTrackingSpecificationRequest(input.ConnectionTrackingSpecification, context);
|
|
37063
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
37064
|
+
const loc = `ConnectionTrackingSpecification.${key}`;
|
|
37065
|
+
entries[loc] = value;
|
|
37066
|
+
});
|
|
37067
|
+
}
|
|
36652
37068
|
return entries;
|
|
36653
37069
|
};
|
|
36654
37070
|
const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = (input, context) => {
|
|
@@ -37873,6 +38289,9 @@ const se_ModifyIpamRequest = (input, context) => {
|
|
|
37873
38289
|
entries[loc] = value;
|
|
37874
38290
|
});
|
|
37875
38291
|
}
|
|
38292
|
+
if (input.Tier != null) {
|
|
38293
|
+
entries["Tier"] = input.Tier;
|
|
38294
|
+
}
|
|
37876
38295
|
return entries;
|
|
37877
38296
|
};
|
|
37878
38297
|
const se_ModifyIpamResourceCidrRequest = (input, context) => {
|
|
@@ -38075,6 +38494,13 @@ const se_ModifyNetworkInterfaceAttributeRequest = (input, context) => {
|
|
|
38075
38494
|
if (input.EnablePrimaryIpv6 != null) {
|
|
38076
38495
|
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
38077
38496
|
}
|
|
38497
|
+
if (input.ConnectionTrackingSpecification != null) {
|
|
38498
|
+
const memberEntries = se_ConnectionTrackingSpecificationRequest(input.ConnectionTrackingSpecification, context);
|
|
38499
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38500
|
+
const loc = `ConnectionTrackingSpecification.${key}`;
|
|
38501
|
+
entries[loc] = value;
|
|
38502
|
+
});
|
|
38503
|
+
}
|
|
38078
38504
|
return entries;
|
|
38079
38505
|
};
|
|
38080
38506
|
const se_ModifyPrivateDnsNameOptionsRequest = (input, context) => {
|
|
@@ -38444,6 +38870,9 @@ const se_ModifyTransitGatewayOptions = (input, context) => {
|
|
|
38444
38870
|
if (input.DnsSupport != null) {
|
|
38445
38871
|
entries["DnsSupport"] = input.DnsSupport;
|
|
38446
38872
|
}
|
|
38873
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
38874
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
38875
|
+
}
|
|
38447
38876
|
if (input.AutoAcceptSharedAttachments != null) {
|
|
38448
38877
|
entries["AutoAcceptSharedAttachments"] = input.AutoAcceptSharedAttachments;
|
|
38449
38878
|
}
|
|
@@ -38545,6 +38974,9 @@ const se_ModifyTransitGatewayVpcAttachmentRequestOptions = (input, context) => {
|
|
|
38545
38974
|
if (input.DnsSupport != null) {
|
|
38546
38975
|
entries["DnsSupport"] = input.DnsSupport;
|
|
38547
38976
|
}
|
|
38977
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
38978
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
38979
|
+
}
|
|
38548
38980
|
if (input.Ipv6Support != null) {
|
|
38549
38981
|
entries["Ipv6Support"] = input.Ipv6Support;
|
|
38550
38982
|
}
|
|
@@ -40193,6 +40625,26 @@ const se_ProvisionByoipCidrRequest = (input, context) => {
|
|
|
40193
40625
|
}
|
|
40194
40626
|
return entries;
|
|
40195
40627
|
};
|
|
40628
|
+
const se_ProvisionIpamByoasnRequest = (input, context) => {
|
|
40629
|
+
const entries = {};
|
|
40630
|
+
if (input.DryRun != null) {
|
|
40631
|
+
entries["DryRun"] = input.DryRun;
|
|
40632
|
+
}
|
|
40633
|
+
if (input.IpamId != null) {
|
|
40634
|
+
entries["IpamId"] = input.IpamId;
|
|
40635
|
+
}
|
|
40636
|
+
if (input.Asn != null) {
|
|
40637
|
+
entries["Asn"] = input.Asn;
|
|
40638
|
+
}
|
|
40639
|
+
if (input.AsnAuthorizationContext != null) {
|
|
40640
|
+
const memberEntries = se_AsnAuthorizationContext(input.AsnAuthorizationContext, context);
|
|
40641
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
40642
|
+
const loc = `AsnAuthorizationContext.${key}`;
|
|
40643
|
+
entries[loc] = value;
|
|
40644
|
+
});
|
|
40645
|
+
}
|
|
40646
|
+
return entries;
|
|
40647
|
+
};
|
|
40196
40648
|
const se_ProvisionIpamPoolCidrRequest = (input, context) => {
|
|
40197
40649
|
const entries = {};
|
|
40198
40650
|
if (input.DryRun != null) {
|
|
@@ -43787,6 +44239,9 @@ const se_TransitGatewayRequestOptions = (input, context) => {
|
|
|
43787
44239
|
if (input.DnsSupport != null) {
|
|
43788
44240
|
entries["DnsSupport"] = input.DnsSupport;
|
|
43789
44241
|
}
|
|
44242
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
44243
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
44244
|
+
}
|
|
43790
44245
|
if (input.MulticastSupport != null) {
|
|
43791
44246
|
entries["MulticastSupport"] = input.MulticastSupport;
|
|
43792
44247
|
}
|
|
@@ -45314,6 +45769,29 @@ const de_ArnList = (output, context) => {
|
|
|
45314
45769
|
return __expectString(entry);
|
|
45315
45770
|
});
|
|
45316
45771
|
};
|
|
45772
|
+
const de_AsnAssociation = (output, context) => {
|
|
45773
|
+
const contents = {};
|
|
45774
|
+
if (output["asn"] !== undefined) {
|
|
45775
|
+
contents.Asn = __expectString(output["asn"]);
|
|
45776
|
+
}
|
|
45777
|
+
if (output["cidr"] !== undefined) {
|
|
45778
|
+
contents.Cidr = __expectString(output["cidr"]);
|
|
45779
|
+
}
|
|
45780
|
+
if (output["statusMessage"] !== undefined) {
|
|
45781
|
+
contents.StatusMessage = __expectString(output["statusMessage"]);
|
|
45782
|
+
}
|
|
45783
|
+
if (output["state"] !== undefined) {
|
|
45784
|
+
contents.State = __expectString(output["state"]);
|
|
45785
|
+
}
|
|
45786
|
+
return contents;
|
|
45787
|
+
};
|
|
45788
|
+
const de_AsnAssociationSet = (output, context) => {
|
|
45789
|
+
return (output || [])
|
|
45790
|
+
.filter((e) => e != null)
|
|
45791
|
+
.map((entry) => {
|
|
45792
|
+
return de_AsnAssociation(entry, context);
|
|
45793
|
+
});
|
|
45794
|
+
};
|
|
45317
45795
|
const de_AssignedPrivateIpAddress = (output, context) => {
|
|
45318
45796
|
const contents = {};
|
|
45319
45797
|
if (output["privateIpAddress"] !== undefined) {
|
|
@@ -45464,6 +45942,13 @@ const de_AssociateInstanceEventWindowResult = (output, context) => {
|
|
|
45464
45942
|
}
|
|
45465
45943
|
return contents;
|
|
45466
45944
|
};
|
|
45945
|
+
const de_AssociateIpamByoasnResult = (output, context) => {
|
|
45946
|
+
const contents = {};
|
|
45947
|
+
if (output["asnAssociation"] !== undefined) {
|
|
45948
|
+
contents.AsnAssociation = de_AsnAssociation(output["asnAssociation"], context);
|
|
45949
|
+
}
|
|
45950
|
+
return contents;
|
|
45951
|
+
};
|
|
45467
45952
|
const de_AssociateIpamResourceDiscoveryResult = (output, context) => {
|
|
45468
45953
|
const contents = {};
|
|
45469
45954
|
if (output["ipamResourceDiscoveryAssociation"] !== undefined) {
|
|
@@ -45859,6 +46344,29 @@ const de_BundleTaskList = (output, context) => {
|
|
|
45859
46344
|
return de_BundleTask(entry, context);
|
|
45860
46345
|
});
|
|
45861
46346
|
};
|
|
46347
|
+
const de_Byoasn = (output, context) => {
|
|
46348
|
+
const contents = {};
|
|
46349
|
+
if (output["asn"] !== undefined) {
|
|
46350
|
+
contents.Asn = __expectString(output["asn"]);
|
|
46351
|
+
}
|
|
46352
|
+
if (output["ipamId"] !== undefined) {
|
|
46353
|
+
contents.IpamId = __expectString(output["ipamId"]);
|
|
46354
|
+
}
|
|
46355
|
+
if (output["statusMessage"] !== undefined) {
|
|
46356
|
+
contents.StatusMessage = __expectString(output["statusMessage"]);
|
|
46357
|
+
}
|
|
46358
|
+
if (output["state"] !== undefined) {
|
|
46359
|
+
contents.State = __expectString(output["state"]);
|
|
46360
|
+
}
|
|
46361
|
+
return contents;
|
|
46362
|
+
};
|
|
46363
|
+
const de_ByoasnSet = (output, context) => {
|
|
46364
|
+
return (output || [])
|
|
46365
|
+
.filter((e) => e != null)
|
|
46366
|
+
.map((entry) => {
|
|
46367
|
+
return de_Byoasn(entry, context);
|
|
46368
|
+
});
|
|
46369
|
+
};
|
|
45862
46370
|
const de_ByoipCidr = (output, context) => {
|
|
45863
46371
|
const contents = {};
|
|
45864
46372
|
if (output["cidr"] !== undefined) {
|
|
@@ -45867,6 +46375,12 @@ const de_ByoipCidr = (output, context) => {
|
|
|
45867
46375
|
if (output["description"] !== undefined) {
|
|
45868
46376
|
contents.Description = __expectString(output["description"]);
|
|
45869
46377
|
}
|
|
46378
|
+
if (output.asnAssociationSet === "") {
|
|
46379
|
+
contents.AsnAssociations = [];
|
|
46380
|
+
}
|
|
46381
|
+
else if (output["asnAssociationSet"] !== undefined && output["asnAssociationSet"]["item"] !== undefined) {
|
|
46382
|
+
contents.AsnAssociations = de_AsnAssociationSet(__getArrayIfSingleItem(output["asnAssociationSet"]["item"]), context);
|
|
46383
|
+
}
|
|
45870
46384
|
if (output["statusMessage"] !== undefined) {
|
|
45871
46385
|
contents.StatusMessage = __expectString(output["statusMessage"]);
|
|
45872
46386
|
}
|
|
@@ -46862,6 +47376,58 @@ const de_ConnectionNotificationSet = (output, context) => {
|
|
|
46862
47376
|
return de_ConnectionNotification(entry, context);
|
|
46863
47377
|
});
|
|
46864
47378
|
};
|
|
47379
|
+
const de_ConnectionTrackingConfiguration = (output, context) => {
|
|
47380
|
+
const contents = {};
|
|
47381
|
+
if (output["tcpEstablishedTimeout"] !== undefined) {
|
|
47382
|
+
contents.TcpEstablishedTimeout = __strictParseInt32(output["tcpEstablishedTimeout"]);
|
|
47383
|
+
}
|
|
47384
|
+
if (output["udpStreamTimeout"] !== undefined) {
|
|
47385
|
+
contents.UdpStreamTimeout = __strictParseInt32(output["udpStreamTimeout"]);
|
|
47386
|
+
}
|
|
47387
|
+
if (output["udpTimeout"] !== undefined) {
|
|
47388
|
+
contents.UdpTimeout = __strictParseInt32(output["udpTimeout"]);
|
|
47389
|
+
}
|
|
47390
|
+
return contents;
|
|
47391
|
+
};
|
|
47392
|
+
const de_ConnectionTrackingSpecification = (output, context) => {
|
|
47393
|
+
const contents = {};
|
|
47394
|
+
if (output["tcpEstablishedTimeout"] !== undefined) {
|
|
47395
|
+
contents.TcpEstablishedTimeout = __strictParseInt32(output["tcpEstablishedTimeout"]);
|
|
47396
|
+
}
|
|
47397
|
+
if (output["udpTimeout"] !== undefined) {
|
|
47398
|
+
contents.UdpTimeout = __strictParseInt32(output["udpTimeout"]);
|
|
47399
|
+
}
|
|
47400
|
+
if (output["udpStreamTimeout"] !== undefined) {
|
|
47401
|
+
contents.UdpStreamTimeout = __strictParseInt32(output["udpStreamTimeout"]);
|
|
47402
|
+
}
|
|
47403
|
+
return contents;
|
|
47404
|
+
};
|
|
47405
|
+
const de_ConnectionTrackingSpecificationRequest = (output, context) => {
|
|
47406
|
+
const contents = {};
|
|
47407
|
+
if (output["TcpEstablishedTimeout"] !== undefined) {
|
|
47408
|
+
contents.TcpEstablishedTimeout = __strictParseInt32(output["TcpEstablishedTimeout"]);
|
|
47409
|
+
}
|
|
47410
|
+
if (output["UdpStreamTimeout"] !== undefined) {
|
|
47411
|
+
contents.UdpStreamTimeout = __strictParseInt32(output["UdpStreamTimeout"]);
|
|
47412
|
+
}
|
|
47413
|
+
if (output["UdpTimeout"] !== undefined) {
|
|
47414
|
+
contents.UdpTimeout = __strictParseInt32(output["UdpTimeout"]);
|
|
47415
|
+
}
|
|
47416
|
+
return contents;
|
|
47417
|
+
};
|
|
47418
|
+
const de_ConnectionTrackingSpecificationResponse = (output, context) => {
|
|
47419
|
+
const contents = {};
|
|
47420
|
+
if (output["tcpEstablishedTimeout"] !== undefined) {
|
|
47421
|
+
contents.TcpEstablishedTimeout = __strictParseInt32(output["tcpEstablishedTimeout"]);
|
|
47422
|
+
}
|
|
47423
|
+
if (output["udpStreamTimeout"] !== undefined) {
|
|
47424
|
+
contents.UdpStreamTimeout = __strictParseInt32(output["udpStreamTimeout"]);
|
|
47425
|
+
}
|
|
47426
|
+
if (output["udpTimeout"] !== undefined) {
|
|
47427
|
+
contents.UdpTimeout = __strictParseInt32(output["udpTimeout"]);
|
|
47428
|
+
}
|
|
47429
|
+
return contents;
|
|
47430
|
+
};
|
|
46865
47431
|
const de_ConversionTask = (output, context) => {
|
|
46866
47432
|
const contents = {};
|
|
46867
47433
|
if (output["conversionTaskId"] !== undefined) {
|
|
@@ -48306,6 +48872,13 @@ const de_DeprovisionedAddressSet = (output, context) => {
|
|
|
48306
48872
|
return __expectString(entry);
|
|
48307
48873
|
});
|
|
48308
48874
|
};
|
|
48875
|
+
const de_DeprovisionIpamByoasnResult = (output, context) => {
|
|
48876
|
+
const contents = {};
|
|
48877
|
+
if (output["byoasn"] !== undefined) {
|
|
48878
|
+
contents.Byoasn = de_Byoasn(output["byoasn"], context);
|
|
48879
|
+
}
|
|
48880
|
+
return contents;
|
|
48881
|
+
};
|
|
48309
48882
|
const de_DeprovisionIpamPoolCidrResult = (output, context) => {
|
|
48310
48883
|
const contents = {};
|
|
48311
48884
|
if (output["ipamPoolCidr"] !== undefined) {
|
|
@@ -49175,6 +49748,19 @@ const de_DescribeInternetGatewaysResult = (output, context) => {
|
|
|
49175
49748
|
}
|
|
49176
49749
|
return contents;
|
|
49177
49750
|
};
|
|
49751
|
+
const de_DescribeIpamByoasnResult = (output, context) => {
|
|
49752
|
+
const contents = {};
|
|
49753
|
+
if (output.byoasnSet === "") {
|
|
49754
|
+
contents.Byoasns = [];
|
|
49755
|
+
}
|
|
49756
|
+
else if (output["byoasnSet"] !== undefined && output["byoasnSet"]["item"] !== undefined) {
|
|
49757
|
+
contents.Byoasns = de_ByoasnSet(__getArrayIfSingleItem(output["byoasnSet"]["item"]), context);
|
|
49758
|
+
}
|
|
49759
|
+
if (output["nextToken"] !== undefined) {
|
|
49760
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
49761
|
+
}
|
|
49762
|
+
return contents;
|
|
49763
|
+
};
|
|
49178
49764
|
const de_DescribeIpamPoolsResult = (output, context) => {
|
|
49179
49765
|
const contents = {};
|
|
49180
49766
|
if (output["nextToken"] !== undefined) {
|
|
@@ -50774,6 +51360,13 @@ const de_DisassociateInstanceEventWindowResult = (output, context) => {
|
|
|
50774
51360
|
}
|
|
50775
51361
|
return contents;
|
|
50776
51362
|
};
|
|
51363
|
+
const de_DisassociateIpamByoasnResult = (output, context) => {
|
|
51364
|
+
const contents = {};
|
|
51365
|
+
if (output["asnAssociation"] !== undefined) {
|
|
51366
|
+
contents.AsnAssociation = de_AsnAssociation(output["asnAssociation"], context);
|
|
51367
|
+
}
|
|
51368
|
+
return contents;
|
|
51369
|
+
};
|
|
50777
51370
|
const de_DisassociateIpamResourceDiscoveryResult = (output, context) => {
|
|
50778
51371
|
const contents = {};
|
|
50779
51372
|
if (output["ipamResourceDiscoveryAssociation"] !== undefined) {
|
|
@@ -52649,6 +53242,23 @@ const de_GetIpamDiscoveredAccountsResult = (output, context) => {
|
|
|
52649
53242
|
}
|
|
52650
53243
|
return contents;
|
|
52651
53244
|
};
|
|
53245
|
+
const de_GetIpamDiscoveredPublicAddressesResult = (output, context) => {
|
|
53246
|
+
const contents = {};
|
|
53247
|
+
if (output.ipamDiscoveredPublicAddressSet === "") {
|
|
53248
|
+
contents.IpamDiscoveredPublicAddresses = [];
|
|
53249
|
+
}
|
|
53250
|
+
else if (output["ipamDiscoveredPublicAddressSet"] !== undefined &&
|
|
53251
|
+
output["ipamDiscoveredPublicAddressSet"]["item"] !== undefined) {
|
|
53252
|
+
contents.IpamDiscoveredPublicAddresses = de_IpamDiscoveredPublicAddressSet(__getArrayIfSingleItem(output["ipamDiscoveredPublicAddressSet"]["item"]), context);
|
|
53253
|
+
}
|
|
53254
|
+
if (output["oldestSampleTime"] !== undefined) {
|
|
53255
|
+
contents.OldestSampleTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["oldestSampleTime"]));
|
|
53256
|
+
}
|
|
53257
|
+
if (output["nextToken"] !== undefined) {
|
|
53258
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
53259
|
+
}
|
|
53260
|
+
return contents;
|
|
53261
|
+
};
|
|
52652
53262
|
const de_GetIpamDiscoveredResourceCidrsResult = (output, context) => {
|
|
52653
53263
|
const contents = {};
|
|
52654
53264
|
if (output.ipamDiscoveredResourceCidrSet === "") {
|
|
@@ -54654,6 +55264,9 @@ const de_InstanceNetworkInterface = (output, context) => {
|
|
|
54654
55264
|
else if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
54655
55265
|
contents.Ipv6Prefixes = de_InstanceIpv6PrefixList(__getArrayIfSingleItem(output["ipv6PrefixSet"]["item"]), context);
|
|
54656
55266
|
}
|
|
55267
|
+
if (output["connectionTrackingConfiguration"] !== undefined) {
|
|
55268
|
+
contents.ConnectionTrackingConfiguration = de_ConnectionTrackingSpecificationResponse(output["connectionTrackingConfiguration"], context);
|
|
55269
|
+
}
|
|
54657
55270
|
return contents;
|
|
54658
55271
|
};
|
|
54659
55272
|
const de_InstanceNetworkInterfaceAssociation = (output, context) => {
|
|
@@ -54787,6 +55400,9 @@ const de_InstanceNetworkInterfaceSpecification = (output, context) => {
|
|
|
54787
55400
|
if (output["EnaSrdSpecification"] !== undefined) {
|
|
54788
55401
|
contents.EnaSrdSpecification = de_EnaSrdSpecificationRequest(output["EnaSrdSpecification"], context);
|
|
54789
55402
|
}
|
|
55403
|
+
if (output["ConnectionTrackingSpecification"] !== undefined) {
|
|
55404
|
+
contents.ConnectionTrackingSpecification = de_ConnectionTrackingSpecificationRequest(output["ConnectionTrackingSpecification"], context);
|
|
55405
|
+
}
|
|
54790
55406
|
return contents;
|
|
54791
55407
|
};
|
|
54792
55408
|
const de_InstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -55383,6 +55999,12 @@ const de_Ipam = (output, context) => {
|
|
|
55383
55999
|
if (output["resourceDiscoveryAssociationCount"] !== undefined) {
|
|
55384
56000
|
contents.ResourceDiscoveryAssociationCount = __strictParseInt32(output["resourceDiscoveryAssociationCount"]);
|
|
55385
56001
|
}
|
|
56002
|
+
if (output["stateMessage"] !== undefined) {
|
|
56003
|
+
contents.StateMessage = __expectString(output["stateMessage"]);
|
|
56004
|
+
}
|
|
56005
|
+
if (output["tier"] !== undefined) {
|
|
56006
|
+
contents.Tier = __expectString(output["tier"]);
|
|
56007
|
+
}
|
|
55386
56008
|
return contents;
|
|
55387
56009
|
};
|
|
55388
56010
|
const de_IpamAddressHistoryRecord = (output, context) => {
|
|
@@ -55455,6 +56077,77 @@ const de_IpamDiscoveredAccountSet = (output, context) => {
|
|
|
55455
56077
|
return de_IpamDiscoveredAccount(entry, context);
|
|
55456
56078
|
});
|
|
55457
56079
|
};
|
|
56080
|
+
const de_IpamDiscoveredPublicAddress = (output, context) => {
|
|
56081
|
+
const contents = {};
|
|
56082
|
+
if (output["ipamResourceDiscoveryId"] !== undefined) {
|
|
56083
|
+
contents.IpamResourceDiscoveryId = __expectString(output["ipamResourceDiscoveryId"]);
|
|
56084
|
+
}
|
|
56085
|
+
if (output["addressRegion"] !== undefined) {
|
|
56086
|
+
contents.AddressRegion = __expectString(output["addressRegion"]);
|
|
56087
|
+
}
|
|
56088
|
+
if (output["address"] !== undefined) {
|
|
56089
|
+
contents.Address = __expectString(output["address"]);
|
|
56090
|
+
}
|
|
56091
|
+
if (output["addressOwnerId"] !== undefined) {
|
|
56092
|
+
contents.AddressOwnerId = __expectString(output["addressOwnerId"]);
|
|
56093
|
+
}
|
|
56094
|
+
if (output["addressAllocationId"] !== undefined) {
|
|
56095
|
+
contents.AddressAllocationId = __expectString(output["addressAllocationId"]);
|
|
56096
|
+
}
|
|
56097
|
+
if (output["associationStatus"] !== undefined) {
|
|
56098
|
+
contents.AssociationStatus = __expectString(output["associationStatus"]);
|
|
56099
|
+
}
|
|
56100
|
+
if (output["addressType"] !== undefined) {
|
|
56101
|
+
contents.AddressType = __expectString(output["addressType"]);
|
|
56102
|
+
}
|
|
56103
|
+
if (output["service"] !== undefined) {
|
|
56104
|
+
contents.Service = __expectString(output["service"]);
|
|
56105
|
+
}
|
|
56106
|
+
if (output["serviceResource"] !== undefined) {
|
|
56107
|
+
contents.ServiceResource = __expectString(output["serviceResource"]);
|
|
56108
|
+
}
|
|
56109
|
+
if (output["vpcId"] !== undefined) {
|
|
56110
|
+
contents.VpcId = __expectString(output["vpcId"]);
|
|
56111
|
+
}
|
|
56112
|
+
if (output["subnetId"] !== undefined) {
|
|
56113
|
+
contents.SubnetId = __expectString(output["subnetId"]);
|
|
56114
|
+
}
|
|
56115
|
+
if (output["publicIpv4PoolId"] !== undefined) {
|
|
56116
|
+
contents.PublicIpv4PoolId = __expectString(output["publicIpv4PoolId"]);
|
|
56117
|
+
}
|
|
56118
|
+
if (output["networkInterfaceId"] !== undefined) {
|
|
56119
|
+
contents.NetworkInterfaceId = __expectString(output["networkInterfaceId"]);
|
|
56120
|
+
}
|
|
56121
|
+
if (output["networkInterfaceDescription"] !== undefined) {
|
|
56122
|
+
contents.NetworkInterfaceDescription = __expectString(output["networkInterfaceDescription"]);
|
|
56123
|
+
}
|
|
56124
|
+
if (output["instanceId"] !== undefined) {
|
|
56125
|
+
contents.InstanceId = __expectString(output["instanceId"]);
|
|
56126
|
+
}
|
|
56127
|
+
if (output["tags"] !== undefined) {
|
|
56128
|
+
contents.Tags = de_IpamPublicAddressTags(output["tags"], context);
|
|
56129
|
+
}
|
|
56130
|
+
if (output["networkBorderGroup"] !== undefined) {
|
|
56131
|
+
contents.NetworkBorderGroup = __expectString(output["networkBorderGroup"]);
|
|
56132
|
+
}
|
|
56133
|
+
if (output.securityGroupSet === "") {
|
|
56134
|
+
contents.SecurityGroups = [];
|
|
56135
|
+
}
|
|
56136
|
+
else if (output["securityGroupSet"] !== undefined && output["securityGroupSet"]["item"] !== undefined) {
|
|
56137
|
+
contents.SecurityGroups = de_IpamPublicAddressSecurityGroupList(__getArrayIfSingleItem(output["securityGroupSet"]["item"]), context);
|
|
56138
|
+
}
|
|
56139
|
+
if (output["sampleTime"] !== undefined) {
|
|
56140
|
+
contents.SampleTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["sampleTime"]));
|
|
56141
|
+
}
|
|
56142
|
+
return contents;
|
|
56143
|
+
};
|
|
56144
|
+
const de_IpamDiscoveredPublicAddressSet = (output, context) => {
|
|
56145
|
+
return (output || [])
|
|
56146
|
+
.filter((e) => e != null)
|
|
56147
|
+
.map((entry) => {
|
|
56148
|
+
return de_IpamDiscoveredPublicAddress(entry, context);
|
|
56149
|
+
});
|
|
56150
|
+
};
|
|
55458
56151
|
const de_IpamDiscoveredResourceCidr = (output, context) => {
|
|
55459
56152
|
const contents = {};
|
|
55460
56153
|
if (output["ipamResourceDiscoveryId"] !== undefined) {
|
|
@@ -55601,6 +56294,9 @@ const de_IpamPool = (output, context) => {
|
|
|
55601
56294
|
if (output["publicIpSource"] !== undefined) {
|
|
55602
56295
|
contents.PublicIpSource = __expectString(output["publicIpSource"]);
|
|
55603
56296
|
}
|
|
56297
|
+
if (output["sourceResource"] !== undefined) {
|
|
56298
|
+
contents.SourceResource = de_IpamPoolSourceResource(output["sourceResource"], context);
|
|
56299
|
+
}
|
|
55604
56300
|
return contents;
|
|
55605
56301
|
};
|
|
55606
56302
|
const de_IpamPoolAllocation = (output, context) => {
|
|
@@ -55678,6 +56374,66 @@ const de_IpamPoolSet = (output, context) => {
|
|
|
55678
56374
|
return de_IpamPool(entry, context);
|
|
55679
56375
|
});
|
|
55680
56376
|
};
|
|
56377
|
+
const de_IpamPoolSourceResource = (output, context) => {
|
|
56378
|
+
const contents = {};
|
|
56379
|
+
if (output["resourceId"] !== undefined) {
|
|
56380
|
+
contents.ResourceId = __expectString(output["resourceId"]);
|
|
56381
|
+
}
|
|
56382
|
+
if (output["resourceType"] !== undefined) {
|
|
56383
|
+
contents.ResourceType = __expectString(output["resourceType"]);
|
|
56384
|
+
}
|
|
56385
|
+
if (output["resourceRegion"] !== undefined) {
|
|
56386
|
+
contents.ResourceRegion = __expectString(output["resourceRegion"]);
|
|
56387
|
+
}
|
|
56388
|
+
if (output["resourceOwner"] !== undefined) {
|
|
56389
|
+
contents.ResourceOwner = __expectString(output["resourceOwner"]);
|
|
56390
|
+
}
|
|
56391
|
+
return contents;
|
|
56392
|
+
};
|
|
56393
|
+
const de_IpamPublicAddressSecurityGroup = (output, context) => {
|
|
56394
|
+
const contents = {};
|
|
56395
|
+
if (output["groupName"] !== undefined) {
|
|
56396
|
+
contents.GroupName = __expectString(output["groupName"]);
|
|
56397
|
+
}
|
|
56398
|
+
if (output["groupId"] !== undefined) {
|
|
56399
|
+
contents.GroupId = __expectString(output["groupId"]);
|
|
56400
|
+
}
|
|
56401
|
+
return contents;
|
|
56402
|
+
};
|
|
56403
|
+
const de_IpamPublicAddressSecurityGroupList = (output, context) => {
|
|
56404
|
+
return (output || [])
|
|
56405
|
+
.filter((e) => e != null)
|
|
56406
|
+
.map((entry) => {
|
|
56407
|
+
return de_IpamPublicAddressSecurityGroup(entry, context);
|
|
56408
|
+
});
|
|
56409
|
+
};
|
|
56410
|
+
const de_IpamPublicAddressTag = (output, context) => {
|
|
56411
|
+
const contents = {};
|
|
56412
|
+
if (output["key"] !== undefined) {
|
|
56413
|
+
contents.Key = __expectString(output["key"]);
|
|
56414
|
+
}
|
|
56415
|
+
if (output["value"] !== undefined) {
|
|
56416
|
+
contents.Value = __expectString(output["value"]);
|
|
56417
|
+
}
|
|
56418
|
+
return contents;
|
|
56419
|
+
};
|
|
56420
|
+
const de_IpamPublicAddressTagList = (output, context) => {
|
|
56421
|
+
return (output || [])
|
|
56422
|
+
.filter((e) => e != null)
|
|
56423
|
+
.map((entry) => {
|
|
56424
|
+
return de_IpamPublicAddressTag(entry, context);
|
|
56425
|
+
});
|
|
56426
|
+
};
|
|
56427
|
+
const de_IpamPublicAddressTags = (output, context) => {
|
|
56428
|
+
const contents = {};
|
|
56429
|
+
if (output.eipTagSet === "") {
|
|
56430
|
+
contents.EipTags = [];
|
|
56431
|
+
}
|
|
56432
|
+
else if (output["eipTagSet"] !== undefined && output["eipTagSet"]["item"] !== undefined) {
|
|
56433
|
+
contents.EipTags = de_IpamPublicAddressTagList(__getArrayIfSingleItem(output["eipTagSet"]["item"]), context);
|
|
56434
|
+
}
|
|
56435
|
+
return contents;
|
|
56436
|
+
};
|
|
55681
56437
|
const de_IpamResourceCidr = (output, context) => {
|
|
55682
56438
|
const contents = {};
|
|
55683
56439
|
if (output["ipamId"] !== undefined) {
|
|
@@ -56606,6 +57362,9 @@ const de_LaunchTemplateInstanceNetworkInterfaceSpecification = (output, context)
|
|
|
56606
57362
|
if (output["enaSrdSpecification"] !== undefined) {
|
|
56607
57363
|
contents.EnaSrdSpecification = de_LaunchTemplateEnaSrdSpecification(output["enaSrdSpecification"], context);
|
|
56608
57364
|
}
|
|
57365
|
+
if (output["connectionTrackingSpecification"] !== undefined) {
|
|
57366
|
+
contents.ConnectionTrackingSpecification = de_ConnectionTrackingSpecification(output["connectionTrackingSpecification"], context);
|
|
57367
|
+
}
|
|
56609
57368
|
return contents;
|
|
56610
57369
|
};
|
|
56611
57370
|
const de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -58309,6 +59068,9 @@ const de_NetworkInterface = (output, context) => {
|
|
|
58309
59068
|
if (output["availabilityZone"] !== undefined) {
|
|
58310
59069
|
contents.AvailabilityZone = __expectString(output["availabilityZone"]);
|
|
58311
59070
|
}
|
|
59071
|
+
if (output["connectionTrackingConfiguration"] !== undefined) {
|
|
59072
|
+
contents.ConnectionTrackingConfiguration = de_ConnectionTrackingConfiguration(output["connectionTrackingConfiguration"], context);
|
|
59073
|
+
}
|
|
58312
59074
|
if (output["description"] !== undefined) {
|
|
58313
59075
|
contents.Description = __expectString(output["description"]);
|
|
58314
59076
|
}
|
|
@@ -59352,6 +60114,13 @@ const de_ProvisionedBandwidth = (output, context) => {
|
|
|
59352
60114
|
}
|
|
59353
60115
|
return contents;
|
|
59354
60116
|
};
|
|
60117
|
+
const de_ProvisionIpamByoasnResult = (output, context) => {
|
|
60118
|
+
const contents = {};
|
|
60119
|
+
if (output["byoasn"] !== undefined) {
|
|
60120
|
+
contents.Byoasn = de_Byoasn(output["byoasn"], context);
|
|
60121
|
+
}
|
|
60122
|
+
return contents;
|
|
60123
|
+
};
|
|
59355
60124
|
const de_ProvisionIpamPoolCidrResult = (output, context) => {
|
|
59356
60125
|
const contents = {};
|
|
59357
60126
|
if (output["ipamPoolCidr"] !== undefined) {
|
|
@@ -60935,6 +61704,9 @@ const de_SecurityGroupReference = (output, context) => {
|
|
|
60935
61704
|
if (output["vpcPeeringConnectionId"] !== undefined) {
|
|
60936
61705
|
contents.VpcPeeringConnectionId = __expectString(output["vpcPeeringConnectionId"]);
|
|
60937
61706
|
}
|
|
61707
|
+
if (output["transitGatewayId"] !== undefined) {
|
|
61708
|
+
contents.TransitGatewayId = __expectString(output["transitGatewayId"]);
|
|
61709
|
+
}
|
|
60938
61710
|
return contents;
|
|
60939
61711
|
};
|
|
60940
61712
|
const de_SecurityGroupReferences = (output, context) => {
|
|
@@ -63203,6 +63975,9 @@ const de_TransitGatewayOptions = (output, context) => {
|
|
|
63203
63975
|
if (output["dnsSupport"] !== undefined) {
|
|
63204
63976
|
contents.DnsSupport = __expectString(output["dnsSupport"]);
|
|
63205
63977
|
}
|
|
63978
|
+
if (output["securityGroupReferencingSupport"] !== undefined) {
|
|
63979
|
+
contents.SecurityGroupReferencingSupport = __expectString(output["securityGroupReferencingSupport"]);
|
|
63980
|
+
}
|
|
63206
63981
|
if (output["multicastSupport"] !== undefined) {
|
|
63207
63982
|
contents.MulticastSupport = __expectString(output["multicastSupport"]);
|
|
63208
63983
|
}
|
|
@@ -63685,6 +64460,9 @@ const de_TransitGatewayVpcAttachmentOptions = (output, context) => {
|
|
|
63685
64460
|
if (output["dnsSupport"] !== undefined) {
|
|
63686
64461
|
contents.DnsSupport = __expectString(output["dnsSupport"]);
|
|
63687
64462
|
}
|
|
64463
|
+
if (output["securityGroupReferencingSupport"] !== undefined) {
|
|
64464
|
+
contents.SecurityGroupReferencingSupport = __expectString(output["securityGroupReferencingSupport"]);
|
|
64465
|
+
}
|
|
63688
64466
|
if (output["ipv6Support"] !== undefined) {
|
|
63689
64467
|
contents.Ipv6Support = __expectString(output["ipv6Support"]);
|
|
63690
64468
|
}
|