@aws-sdk/client-ec2 3.453.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 +11 -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 +794 -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 +9 -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 +757 -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/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/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/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/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/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 +105 -75
- package/dist-types/models/models_1.d.ts +267 -331
- package/dist-types/models/models_2.d.ts +367 -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 +4392 -4321
- package/dist-types/models/models_7.d.ts +729 -4
- 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 +31 -22
- package/dist-types/ts3.4/models/models_1.d.ts +66 -88
- package/dist-types/ts3.4/models/models_2.d.ts +100 -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 +198 -186
- package/dist-types/ts3.4/models/models_7.d.ts +184 -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) => {
|
|
@@ -26969,6 +27269,9 @@ const se_DeleteIpamPoolRequest = (input, context) => {
|
|
|
26969
27269
|
if (input.IpamPoolId != null) {
|
|
26970
27270
|
entries["IpamPoolId"] = input.IpamPoolId;
|
|
26971
27271
|
}
|
|
27272
|
+
if (input.Cascade != null) {
|
|
27273
|
+
entries["Cascade"] = input.Cascade;
|
|
27274
|
+
}
|
|
26972
27275
|
return entries;
|
|
26973
27276
|
};
|
|
26974
27277
|
const se_DeleteIpamRequest = (input, context) => {
|
|
@@ -27705,6 +28008,19 @@ const se_DeprovisionByoipCidrRequest = (input, context) => {
|
|
|
27705
28008
|
}
|
|
27706
28009
|
return entries;
|
|
27707
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
|
+
};
|
|
27708
28024
|
const se_DeprovisionIpamPoolCidrRequest = (input, context) => {
|
|
27709
28025
|
const entries = {};
|
|
27710
28026
|
if (input.DryRun != null) {
|
|
@@ -29418,6 +29734,19 @@ const se_DescribeInternetGatewaysRequest = (input, context) => {
|
|
|
29418
29734
|
}
|
|
29419
29735
|
return entries;
|
|
29420
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
|
+
};
|
|
29421
29750
|
const se_DescribeIpamPoolsRequest = (input, context) => {
|
|
29422
29751
|
const entries = {};
|
|
29423
29752
|
if (input.DryRun != null) {
|
|
@@ -32681,6 +33010,19 @@ const se_DisassociateInstanceEventWindowRequest = (input, context) => {
|
|
|
32681
33010
|
}
|
|
32682
33011
|
return entries;
|
|
32683
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
|
+
};
|
|
32684
33026
|
const se_DisassociateIpamResourceDiscoveryRequest = (input, context) => {
|
|
32685
33027
|
const entries = {};
|
|
32686
33028
|
if (input.DryRun != null) {
|
|
@@ -34018,6 +34360,35 @@ const se_GetIpamDiscoveredAccountsRequest = (input, context) => {
|
|
|
34018
34360
|
}
|
|
34019
34361
|
return entries;
|
|
34020
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
|
+
};
|
|
34021
34392
|
const se_GetIpamDiscoveredResourceCidrsRequest = (input, context) => {
|
|
34022
34393
|
const entries = {};
|
|
34023
34394
|
if (input.DryRun != null) {
|
|
@@ -35532,6 +35903,13 @@ const se_InstanceNetworkInterfaceSpecification = (input, context) => {
|
|
|
35532
35903
|
entries[loc] = value;
|
|
35533
35904
|
});
|
|
35534
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
|
+
}
|
|
35535
35913
|
return entries;
|
|
35536
35914
|
};
|
|
35537
35915
|
const se_InstanceNetworkInterfaceSpecificationList = (input, context) => {
|
|
@@ -36002,6 +36380,18 @@ const se_IpamCidrAuthorizationContext = (input, context) => {
|
|
|
36002
36380
|
}
|
|
36003
36381
|
return entries;
|
|
36004
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
|
+
};
|
|
36005
36395
|
const se_IpamPoolAllocationDisallowedCidrs = (input, context) => {
|
|
36006
36396
|
const entries = {};
|
|
36007
36397
|
let counter = 1;
|
|
@@ -36014,6 +36404,22 @@ const se_IpamPoolAllocationDisallowedCidrs = (input, context) => {
|
|
|
36014
36404
|
}
|
|
36015
36405
|
return entries;
|
|
36016
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
|
+
};
|
|
36017
36423
|
const se_IpList = (input, context) => {
|
|
36018
36424
|
const entries = {};
|
|
36019
36425
|
let counter = 1;
|
|
@@ -36649,6 +37055,13 @@ const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = (input, co
|
|
|
36649
37055
|
entries[loc] = value;
|
|
36650
37056
|
});
|
|
36651
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
|
+
}
|
|
36652
37065
|
return entries;
|
|
36653
37066
|
};
|
|
36654
37067
|
const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = (input, context) => {
|
|
@@ -37873,6 +38286,9 @@ const se_ModifyIpamRequest = (input, context) => {
|
|
|
37873
38286
|
entries[loc] = value;
|
|
37874
38287
|
});
|
|
37875
38288
|
}
|
|
38289
|
+
if (input.Tier != null) {
|
|
38290
|
+
entries["Tier"] = input.Tier;
|
|
38291
|
+
}
|
|
37876
38292
|
return entries;
|
|
37877
38293
|
};
|
|
37878
38294
|
const se_ModifyIpamResourceCidrRequest = (input, context) => {
|
|
@@ -38075,6 +38491,13 @@ const se_ModifyNetworkInterfaceAttributeRequest = (input, context) => {
|
|
|
38075
38491
|
if (input.EnablePrimaryIpv6 != null) {
|
|
38076
38492
|
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
38077
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
|
+
}
|
|
38078
38501
|
return entries;
|
|
38079
38502
|
};
|
|
38080
38503
|
const se_ModifyPrivateDnsNameOptionsRequest = (input, context) => {
|
|
@@ -40193,6 +40616,26 @@ const se_ProvisionByoipCidrRequest = (input, context) => {
|
|
|
40193
40616
|
}
|
|
40194
40617
|
return entries;
|
|
40195
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
|
+
};
|
|
40196
40639
|
const se_ProvisionIpamPoolCidrRequest = (input, context) => {
|
|
40197
40640
|
const entries = {};
|
|
40198
40641
|
if (input.DryRun != null) {
|
|
@@ -45314,6 +45757,29 @@ const de_ArnList = (output, context) => {
|
|
|
45314
45757
|
return __expectString(entry);
|
|
45315
45758
|
});
|
|
45316
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
|
+
};
|
|
45317
45783
|
const de_AssignedPrivateIpAddress = (output, context) => {
|
|
45318
45784
|
const contents = {};
|
|
45319
45785
|
if (output["privateIpAddress"] !== undefined) {
|
|
@@ -45464,6 +45930,13 @@ const de_AssociateInstanceEventWindowResult = (output, context) => {
|
|
|
45464
45930
|
}
|
|
45465
45931
|
return contents;
|
|
45466
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
|
+
};
|
|
45467
45940
|
const de_AssociateIpamResourceDiscoveryResult = (output, context) => {
|
|
45468
45941
|
const contents = {};
|
|
45469
45942
|
if (output["ipamResourceDiscoveryAssociation"] !== undefined) {
|
|
@@ -45859,6 +46332,29 @@ const de_BundleTaskList = (output, context) => {
|
|
|
45859
46332
|
return de_BundleTask(entry, context);
|
|
45860
46333
|
});
|
|
45861
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
|
+
};
|
|
45862
46358
|
const de_ByoipCidr = (output, context) => {
|
|
45863
46359
|
const contents = {};
|
|
45864
46360
|
if (output["cidr"] !== undefined) {
|
|
@@ -45867,6 +46363,12 @@ const de_ByoipCidr = (output, context) => {
|
|
|
45867
46363
|
if (output["description"] !== undefined) {
|
|
45868
46364
|
contents.Description = __expectString(output["description"]);
|
|
45869
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
|
+
}
|
|
45870
46372
|
if (output["statusMessage"] !== undefined) {
|
|
45871
46373
|
contents.StatusMessage = __expectString(output["statusMessage"]);
|
|
45872
46374
|
}
|
|
@@ -46862,6 +47364,58 @@ const de_ConnectionNotificationSet = (output, context) => {
|
|
|
46862
47364
|
return de_ConnectionNotification(entry, context);
|
|
46863
47365
|
});
|
|
46864
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
|
+
};
|
|
46865
47419
|
const de_ConversionTask = (output, context) => {
|
|
46866
47420
|
const contents = {};
|
|
46867
47421
|
if (output["conversionTaskId"] !== undefined) {
|
|
@@ -48306,6 +48860,13 @@ const de_DeprovisionedAddressSet = (output, context) => {
|
|
|
48306
48860
|
return __expectString(entry);
|
|
48307
48861
|
});
|
|
48308
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
|
+
};
|
|
48309
48870
|
const de_DeprovisionIpamPoolCidrResult = (output, context) => {
|
|
48310
48871
|
const contents = {};
|
|
48311
48872
|
if (output["ipamPoolCidr"] !== undefined) {
|
|
@@ -49175,6 +49736,19 @@ const de_DescribeInternetGatewaysResult = (output, context) => {
|
|
|
49175
49736
|
}
|
|
49176
49737
|
return contents;
|
|
49177
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
|
+
};
|
|
49178
49752
|
const de_DescribeIpamPoolsResult = (output, context) => {
|
|
49179
49753
|
const contents = {};
|
|
49180
49754
|
if (output["nextToken"] !== undefined) {
|
|
@@ -50774,6 +51348,13 @@ const de_DisassociateInstanceEventWindowResult = (output, context) => {
|
|
|
50774
51348
|
}
|
|
50775
51349
|
return contents;
|
|
50776
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
|
+
};
|
|
50777
51358
|
const de_DisassociateIpamResourceDiscoveryResult = (output, context) => {
|
|
50778
51359
|
const contents = {};
|
|
50779
51360
|
if (output["ipamResourceDiscoveryAssociation"] !== undefined) {
|
|
@@ -52649,6 +53230,23 @@ const de_GetIpamDiscoveredAccountsResult = (output, context) => {
|
|
|
52649
53230
|
}
|
|
52650
53231
|
return contents;
|
|
52651
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
|
+
};
|
|
52652
53250
|
const de_GetIpamDiscoveredResourceCidrsResult = (output, context) => {
|
|
52653
53251
|
const contents = {};
|
|
52654
53252
|
if (output.ipamDiscoveredResourceCidrSet === "") {
|
|
@@ -54654,6 +55252,9 @@ const de_InstanceNetworkInterface = (output, context) => {
|
|
|
54654
55252
|
else if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
54655
55253
|
contents.Ipv6Prefixes = de_InstanceIpv6PrefixList(__getArrayIfSingleItem(output["ipv6PrefixSet"]["item"]), context);
|
|
54656
55254
|
}
|
|
55255
|
+
if (output["connectionTrackingConfiguration"] !== undefined) {
|
|
55256
|
+
contents.ConnectionTrackingConfiguration = de_ConnectionTrackingSpecificationResponse(output["connectionTrackingConfiguration"], context);
|
|
55257
|
+
}
|
|
54657
55258
|
return contents;
|
|
54658
55259
|
};
|
|
54659
55260
|
const de_InstanceNetworkInterfaceAssociation = (output, context) => {
|
|
@@ -54787,6 +55388,9 @@ const de_InstanceNetworkInterfaceSpecification = (output, context) => {
|
|
|
54787
55388
|
if (output["EnaSrdSpecification"] !== undefined) {
|
|
54788
55389
|
contents.EnaSrdSpecification = de_EnaSrdSpecificationRequest(output["EnaSrdSpecification"], context);
|
|
54789
55390
|
}
|
|
55391
|
+
if (output["ConnectionTrackingSpecification"] !== undefined) {
|
|
55392
|
+
contents.ConnectionTrackingSpecification = de_ConnectionTrackingSpecificationRequest(output["ConnectionTrackingSpecification"], context);
|
|
55393
|
+
}
|
|
54790
55394
|
return contents;
|
|
54791
55395
|
};
|
|
54792
55396
|
const de_InstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -55383,6 +55987,12 @@ const de_Ipam = (output, context) => {
|
|
|
55383
55987
|
if (output["resourceDiscoveryAssociationCount"] !== undefined) {
|
|
55384
55988
|
contents.ResourceDiscoveryAssociationCount = __strictParseInt32(output["resourceDiscoveryAssociationCount"]);
|
|
55385
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
|
+
}
|
|
55386
55996
|
return contents;
|
|
55387
55997
|
};
|
|
55388
55998
|
const de_IpamAddressHistoryRecord = (output, context) => {
|
|
@@ -55455,6 +56065,77 @@ const de_IpamDiscoveredAccountSet = (output, context) => {
|
|
|
55455
56065
|
return de_IpamDiscoveredAccount(entry, context);
|
|
55456
56066
|
});
|
|
55457
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
|
+
};
|
|
55458
56139
|
const de_IpamDiscoveredResourceCidr = (output, context) => {
|
|
55459
56140
|
const contents = {};
|
|
55460
56141
|
if (output["ipamResourceDiscoveryId"] !== undefined) {
|
|
@@ -55601,6 +56282,9 @@ const de_IpamPool = (output, context) => {
|
|
|
55601
56282
|
if (output["publicIpSource"] !== undefined) {
|
|
55602
56283
|
contents.PublicIpSource = __expectString(output["publicIpSource"]);
|
|
55603
56284
|
}
|
|
56285
|
+
if (output["sourceResource"] !== undefined) {
|
|
56286
|
+
contents.SourceResource = de_IpamPoolSourceResource(output["sourceResource"], context);
|
|
56287
|
+
}
|
|
55604
56288
|
return contents;
|
|
55605
56289
|
};
|
|
55606
56290
|
const de_IpamPoolAllocation = (output, context) => {
|
|
@@ -55678,6 +56362,66 @@ const de_IpamPoolSet = (output, context) => {
|
|
|
55678
56362
|
return de_IpamPool(entry, context);
|
|
55679
56363
|
});
|
|
55680
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
|
+
};
|
|
55681
56425
|
const de_IpamResourceCidr = (output, context) => {
|
|
55682
56426
|
const contents = {};
|
|
55683
56427
|
if (output["ipamId"] !== undefined) {
|
|
@@ -56606,6 +57350,9 @@ const de_LaunchTemplateInstanceNetworkInterfaceSpecification = (output, context)
|
|
|
56606
57350
|
if (output["enaSrdSpecification"] !== undefined) {
|
|
56607
57351
|
contents.EnaSrdSpecification = de_LaunchTemplateEnaSrdSpecification(output["enaSrdSpecification"], context);
|
|
56608
57352
|
}
|
|
57353
|
+
if (output["connectionTrackingSpecification"] !== undefined) {
|
|
57354
|
+
contents.ConnectionTrackingSpecification = de_ConnectionTrackingSpecification(output["connectionTrackingSpecification"], context);
|
|
57355
|
+
}
|
|
56609
57356
|
return contents;
|
|
56610
57357
|
};
|
|
56611
57358
|
const de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -58309,6 +59056,9 @@ const de_NetworkInterface = (output, context) => {
|
|
|
58309
59056
|
if (output["availabilityZone"] !== undefined) {
|
|
58310
59057
|
contents.AvailabilityZone = __expectString(output["availabilityZone"]);
|
|
58311
59058
|
}
|
|
59059
|
+
if (output["connectionTrackingConfiguration"] !== undefined) {
|
|
59060
|
+
contents.ConnectionTrackingConfiguration = de_ConnectionTrackingConfiguration(output["connectionTrackingConfiguration"], context);
|
|
59061
|
+
}
|
|
58312
59062
|
if (output["description"] !== undefined) {
|
|
58313
59063
|
contents.Description = __expectString(output["description"]);
|
|
58314
59064
|
}
|
|
@@ -59352,6 +60102,13 @@ const de_ProvisionedBandwidth = (output, context) => {
|
|
|
59352
60102
|
}
|
|
59353
60103
|
return contents;
|
|
59354
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
|
+
};
|
|
59355
60112
|
const de_ProvisionIpamPoolCidrResult = (output, context) => {
|
|
59356
60113
|
const contents = {};
|
|
59357
60114
|
if (output["ipamPoolCidr"] !== undefined) {
|