@aws-sdk/client-securityhub 3.299.0 → 3.301.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/dist-cjs/models/models_0.js +1 -6
- package/dist-cjs/models/models_1.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +244 -0
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +244 -0
- package/dist-types/SecurityHub.d.ts +6 -4
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -0
- package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +5 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +5 -0
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +8 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +3756 -0
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +35 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +10 -0
- package/dist-types/commands/CreateActionTargetCommand.d.ts +5 -0
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +256 -1
- package/dist-types/commands/CreateMembersCommand.d.ts +9 -1
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +9 -3
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +4 -1
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInsightCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +8 -2
- package/dist-types/commands/DeleteMembersCommand.d.ts +5 -0
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeHubCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeProductsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +5 -0
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +5 -0
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +7 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +7 -0
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +261 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +7 -0
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetMembersCommand.d.ts +5 -0
- package/dist-types/commands/InviteMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +4 -0
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +4 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
- package/dist-types/commands/ListMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +5 -0
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +5 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +7 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +258 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +256 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +254 -129
- package/dist-types/models/models_1.d.ts +205 -105
- package/dist-types/models/models_2.d.ts +106 -5
- package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +46 -34
- package/dist-types/ts3.4/models/models_1.d.ts +49 -33
- package/dist-types/ts3.4/models/models_2.d.ts +31 -1
- package/package.json +8 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AutoEnableStandards = exports.AssociationStatus = exports.AdminStatus = exports.AccessDeniedException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidInputException = exports.InvalidAccessException = exports.InternalException = void 0;
|
|
4
4
|
const SecurityHubServiceException_1 = require("./SecurityHubServiceException");
|
|
5
5
|
class InternalException extends SecurityHubServiceException_1.SecurityHubServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -107,8 +107,3 @@ var AutoEnableStandards;
|
|
|
107
107
|
AutoEnableStandards["DEFAULT"] = "DEFAULT";
|
|
108
108
|
AutoEnableStandards["NONE"] = "NONE";
|
|
109
109
|
})(AutoEnableStandards = exports.AutoEnableStandards || (exports.AutoEnableStandards = {}));
|
|
110
|
-
var AwsIamAccessKeyStatus;
|
|
111
|
-
(function (AwsIamAccessKeyStatus) {
|
|
112
|
-
AwsIamAccessKeyStatus["ACTIVE"] = "Active";
|
|
113
|
-
AwsIamAccessKeyStatus["INACTIVE"] = "Inactive";
|
|
114
|
-
})(AwsIamAccessKeyStatus = exports.AwsIamAccessKeyStatus || (exports.AwsIamAccessKeyStatus = {}));
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceConflictException = exports.ControlFindingGenerator = exports.UnprocessedErrorCode = exports.SeverityRating = exports.ControlStatus = exports.StatusReasonCode = exports.StandardsStatus = exports.MapFilterComparison = exports.DateRangeUnit = exports.StringFilterComparison = exports.WorkflowState = exports.WorkflowStatus = exports.VulnerabilityFixAvailable = exports.VerificationState = exports.ThreatIntelIndicatorType = exports.ThreatIntelIndicatorCategory = exports.Partition = exports.RecordState = exports.NetworkDirection = exports.MalwareType = exports.MalwareState = exports.SeverityLabel = exports.ComplianceStatus = exports.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = void 0;
|
|
3
|
+
exports.ResourceConflictException = exports.ControlFindingGenerator = exports.UnprocessedErrorCode = exports.SeverityRating = exports.ControlStatus = exports.StatusReasonCode = exports.StandardsStatus = exports.MapFilterComparison = exports.DateRangeUnit = exports.StringFilterComparison = exports.WorkflowState = exports.WorkflowStatus = exports.VulnerabilityFixAvailable = exports.VerificationState = exports.ThreatIntelIndicatorType = exports.ThreatIntelIndicatorCategory = exports.Partition = exports.RecordState = exports.NetworkDirection = exports.MalwareType = exports.MalwareState = exports.SeverityLabel = exports.ComplianceStatus = exports.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = exports.AwsIamAccessKeyStatus = void 0;
|
|
4
4
|
const SecurityHubServiceException_1 = require("./SecurityHubServiceException");
|
|
5
|
+
var AwsIamAccessKeyStatus;
|
|
6
|
+
(function (AwsIamAccessKeyStatus) {
|
|
7
|
+
AwsIamAccessKeyStatus["ACTIVE"] = "Active";
|
|
8
|
+
AwsIamAccessKeyStatus["INACTIVE"] = "Inactive";
|
|
9
|
+
})(AwsIamAccessKeyStatus = exports.AwsIamAccessKeyStatus || (exports.AwsIamAccessKeyStatus = {}));
|
|
5
10
|
var AwsS3BucketNotificationConfigurationS3KeyFilterRuleName;
|
|
6
11
|
(function (AwsS3BucketNotificationConfigurationS3KeyFilterRuleName) {
|
|
7
12
|
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName["PREFIX"] = "Prefix";
|
|
@@ -4277,6 +4277,31 @@ const serializeAws_restJson1AssociatedStandardsList = (input, context) => {
|
|
|
4277
4277
|
return serializeAws_restJson1AssociatedStandard(entry, context);
|
|
4278
4278
|
});
|
|
4279
4279
|
};
|
|
4280
|
+
const serializeAws_restJson1AssociationSetDetails = (input, context) => {
|
|
4281
|
+
return {
|
|
4282
|
+
...(input.AssociationState != null && {
|
|
4283
|
+
AssociationState: serializeAws_restJson1AssociationStateDetails(input.AssociationState, context),
|
|
4284
|
+
}),
|
|
4285
|
+
...(input.GatewayId != null && { GatewayId: input.GatewayId }),
|
|
4286
|
+
...(input.Main != null && { Main: input.Main }),
|
|
4287
|
+
...(input.RouteTableAssociationId != null && { RouteTableAssociationId: input.RouteTableAssociationId }),
|
|
4288
|
+
...(input.RouteTableId != null && { RouteTableId: input.RouteTableId }),
|
|
4289
|
+
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
4290
|
+
};
|
|
4291
|
+
};
|
|
4292
|
+
const serializeAws_restJson1AssociationSetList = (input, context) => {
|
|
4293
|
+
return input
|
|
4294
|
+
.filter((e) => e != null)
|
|
4295
|
+
.map((entry) => {
|
|
4296
|
+
return serializeAws_restJson1AssociationSetDetails(entry, context);
|
|
4297
|
+
});
|
|
4298
|
+
};
|
|
4299
|
+
const serializeAws_restJson1AssociationStateDetails = (input, context) => {
|
|
4300
|
+
return {
|
|
4301
|
+
...(input.State != null && { State: input.State }),
|
|
4302
|
+
...(input.StatusMessage != null && { StatusMessage: input.StatusMessage }),
|
|
4303
|
+
};
|
|
4304
|
+
};
|
|
4280
4305
|
const serializeAws_restJson1AvailabilityZone = (input, context) => {
|
|
4281
4306
|
return {
|
|
4282
4307
|
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
@@ -5527,6 +5552,9 @@ const serializeAws_restJson1AwsEc2InstanceDetails = (input, context) => {
|
|
|
5527
5552
|
...(input.MetadataOptions != null && {
|
|
5528
5553
|
MetadataOptions: serializeAws_restJson1AwsEc2InstanceMetadataOptions(input.MetadataOptions, context),
|
|
5529
5554
|
}),
|
|
5555
|
+
...(input.Monitoring != null && {
|
|
5556
|
+
Monitoring: serializeAws_restJson1AwsEc2InstanceMonitoringDetails(input.Monitoring, context),
|
|
5557
|
+
}),
|
|
5530
5558
|
...(input.NetworkInterfaces != null && {
|
|
5531
5559
|
NetworkInterfaces: serializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(input.NetworkInterfaces, context),
|
|
5532
5560
|
}),
|
|
@@ -5545,6 +5573,11 @@ const serializeAws_restJson1AwsEc2InstanceMetadataOptions = (input, context) =>
|
|
|
5545
5573
|
...(input.InstanceMetadataTags != null && { InstanceMetadataTags: input.InstanceMetadataTags }),
|
|
5546
5574
|
};
|
|
5547
5575
|
};
|
|
5576
|
+
const serializeAws_restJson1AwsEc2InstanceMonitoringDetails = (input, context) => {
|
|
5577
|
+
return {
|
|
5578
|
+
...(input.State != null && { State: input.State }),
|
|
5579
|
+
};
|
|
5580
|
+
};
|
|
5548
5581
|
const serializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (input, context) => {
|
|
5549
5582
|
return {
|
|
5550
5583
|
...(input.NetworkInterfaceId != null && { NetworkInterfaceId: input.NetworkInterfaceId }),
|
|
@@ -6128,6 +6161,20 @@ const serializeAws_restJson1AwsEc2NetworkInterfaceSecurityGroupList = (input, co
|
|
|
6128
6161
|
return serializeAws_restJson1AwsEc2NetworkInterfaceSecurityGroup(entry, context);
|
|
6129
6162
|
});
|
|
6130
6163
|
};
|
|
6164
|
+
const serializeAws_restJson1AwsEc2RouteTableDetails = (input, context) => {
|
|
6165
|
+
return {
|
|
6166
|
+
...(input.AssociationSet != null && {
|
|
6167
|
+
AssociationSet: serializeAws_restJson1AssociationSetList(input.AssociationSet, context),
|
|
6168
|
+
}),
|
|
6169
|
+
...(input.OwnerId != null && { OwnerId: input.OwnerId }),
|
|
6170
|
+
...(input.PropagatingVgwSet != null && {
|
|
6171
|
+
PropagatingVgwSet: serializeAws_restJson1PropagatingVgwSetList(input.PropagatingVgwSet, context),
|
|
6172
|
+
}),
|
|
6173
|
+
...(input.RouteSet != null && { RouteSet: serializeAws_restJson1RouteSetList(input.RouteSet, context) }),
|
|
6174
|
+
...(input.RouteTableId != null && { RouteTableId: input.RouteTableId }),
|
|
6175
|
+
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
6176
|
+
};
|
|
6177
|
+
};
|
|
6131
6178
|
const serializeAws_restJson1AwsEc2SecurityGroupDetails = (input, context) => {
|
|
6132
6179
|
return {
|
|
6133
6180
|
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
@@ -7344,6 +7391,7 @@ const serializeAws_restJson1AwsEksClusterLoggingDetails = (input, context) => {
|
|
|
7344
7391
|
};
|
|
7345
7392
|
const serializeAws_restJson1AwsEksClusterResourcesVpcConfigDetails = (input, context) => {
|
|
7346
7393
|
return {
|
|
7394
|
+
...(input.EndpointPublicAccess != null && { EndpointPublicAccess: input.EndpointPublicAccess }),
|
|
7347
7395
|
...(input.SecurityGroupIds != null && {
|
|
7348
7396
|
SecurityGroupIds: serializeAws_restJson1NonEmptyStringList(input.SecurityGroupIds, context),
|
|
7349
7397
|
}),
|
|
@@ -9207,6 +9255,9 @@ const serializeAws_restJson1AwsS3BucketDetails = (input, context) => {
|
|
|
9207
9255
|
BucketWebsiteConfiguration: serializeAws_restJson1AwsS3BucketWebsiteConfiguration(input.BucketWebsiteConfiguration, context),
|
|
9208
9256
|
}),
|
|
9209
9257
|
...(input.CreatedAt != null && { CreatedAt: input.CreatedAt }),
|
|
9258
|
+
...(input.ObjectLockConfiguration != null && {
|
|
9259
|
+
ObjectLockConfiguration: serializeAws_restJson1AwsS3BucketObjectLockConfiguration(input.ObjectLockConfiguration, context),
|
|
9260
|
+
}),
|
|
9210
9261
|
...(input.OwnerAccountId != null && { OwnerAccountId: input.OwnerAccountId }),
|
|
9211
9262
|
...(input.OwnerId != null && { OwnerId: input.OwnerId }),
|
|
9212
9263
|
...(input.OwnerName != null && { OwnerName: input.OwnerName }),
|
|
@@ -9284,6 +9335,28 @@ const serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules
|
|
|
9284
9335
|
return serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule(entry, context);
|
|
9285
9336
|
});
|
|
9286
9337
|
};
|
|
9338
|
+
const serializeAws_restJson1AwsS3BucketObjectLockConfiguration = (input, context) => {
|
|
9339
|
+
return {
|
|
9340
|
+
...(input.ObjectLockEnabled != null && { ObjectLockEnabled: input.ObjectLockEnabled }),
|
|
9341
|
+
...(input.Rule != null && {
|
|
9342
|
+
Rule: serializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDetails(input.Rule, context),
|
|
9343
|
+
}),
|
|
9344
|
+
};
|
|
9345
|
+
};
|
|
9346
|
+
const serializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails = (input, context) => {
|
|
9347
|
+
return {
|
|
9348
|
+
...(input.Days != null && { Days: input.Days }),
|
|
9349
|
+
...(input.Mode != null && { Mode: input.Mode }),
|
|
9350
|
+
...(input.Years != null && { Years: input.Years }),
|
|
9351
|
+
};
|
|
9352
|
+
};
|
|
9353
|
+
const serializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDetails = (input, context) => {
|
|
9354
|
+
return {
|
|
9355
|
+
...(input.DefaultRetention != null && {
|
|
9356
|
+
DefaultRetention: serializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails(input.DefaultRetention, context),
|
|
9357
|
+
}),
|
|
9358
|
+
};
|
|
9359
|
+
};
|
|
9287
9360
|
const serializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = (input, context) => {
|
|
9288
9361
|
return {
|
|
9289
9362
|
...(input.KMSMasterKeyID != null && { KMSMasterKeyID: input.KMSMasterKeyID }),
|
|
@@ -10813,6 +10886,18 @@ const serializeAws_restJson1ProcessDetails = (input, context) => {
|
|
|
10813
10886
|
...(input.TerminatedAt != null && { TerminatedAt: input.TerminatedAt }),
|
|
10814
10887
|
};
|
|
10815
10888
|
};
|
|
10889
|
+
const serializeAws_restJson1PropagatingVgwSetDetails = (input, context) => {
|
|
10890
|
+
return {
|
|
10891
|
+
...(input.GatewayId != null && { GatewayId: input.GatewayId }),
|
|
10892
|
+
};
|
|
10893
|
+
};
|
|
10894
|
+
const serializeAws_restJson1PropagatingVgwSetList = (input, context) => {
|
|
10895
|
+
return input
|
|
10896
|
+
.filter((e) => e != null)
|
|
10897
|
+
.map((entry) => {
|
|
10898
|
+
return serializeAws_restJson1PropagatingVgwSetDetails(entry, context);
|
|
10899
|
+
});
|
|
10900
|
+
};
|
|
10816
10901
|
const serializeAws_restJson1Range = (input, context) => {
|
|
10817
10902
|
return {
|
|
10818
10903
|
...(input.End != null && { End: input.End }),
|
|
@@ -10950,6 +11035,9 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
|
|
|
10950
11035
|
...(input.AwsEc2NetworkInterface != null && {
|
|
10951
11036
|
AwsEc2NetworkInterface: serializeAws_restJson1AwsEc2NetworkInterfaceDetails(input.AwsEc2NetworkInterface, context),
|
|
10952
11037
|
}),
|
|
11038
|
+
...(input.AwsEc2RouteTable != null && {
|
|
11039
|
+
AwsEc2RouteTable: serializeAws_restJson1AwsEc2RouteTableDetails(input.AwsEc2RouteTable, context),
|
|
11040
|
+
}),
|
|
10953
11041
|
...(input.AwsEc2SecurityGroup != null && {
|
|
10954
11042
|
AwsEc2SecurityGroup: serializeAws_restJson1AwsEc2SecurityGroupDetails(input.AwsEc2SecurityGroup, context),
|
|
10955
11043
|
}),
|
|
@@ -11129,6 +11217,35 @@ const serializeAws_restJson1ResourceList = (input, context) => {
|
|
|
11129
11217
|
return serializeAws_restJson1Resource(entry, context);
|
|
11130
11218
|
});
|
|
11131
11219
|
};
|
|
11220
|
+
const serializeAws_restJson1RouteSetDetails = (input, context) => {
|
|
11221
|
+
return {
|
|
11222
|
+
...(input.CarrierGatewayId != null && { CarrierGatewayId: input.CarrierGatewayId }),
|
|
11223
|
+
...(input.CoreNetworkArn != null && { CoreNetworkArn: input.CoreNetworkArn }),
|
|
11224
|
+
...(input.DestinationCidrBlock != null && { DestinationCidrBlock: input.DestinationCidrBlock }),
|
|
11225
|
+
...(input.DestinationIpv6CidrBlock != null && { DestinationIpv6CidrBlock: input.DestinationIpv6CidrBlock }),
|
|
11226
|
+
...(input.DestinationPrefixListId != null && { DestinationPrefixListId: input.DestinationPrefixListId }),
|
|
11227
|
+
...(input.EgressOnlyInternetGatewayId != null && {
|
|
11228
|
+
EgressOnlyInternetGatewayId: input.EgressOnlyInternetGatewayId,
|
|
11229
|
+
}),
|
|
11230
|
+
...(input.GatewayId != null && { GatewayId: input.GatewayId }),
|
|
11231
|
+
...(input.InstanceId != null && { InstanceId: input.InstanceId }),
|
|
11232
|
+
...(input.InstanceOwnerId != null && { InstanceOwnerId: input.InstanceOwnerId }),
|
|
11233
|
+
...(input.LocalGatewayId != null && { LocalGatewayId: input.LocalGatewayId }),
|
|
11234
|
+
...(input.NatGatewayId != null && { NatGatewayId: input.NatGatewayId }),
|
|
11235
|
+
...(input.NetworkInterfaceId != null && { NetworkInterfaceId: input.NetworkInterfaceId }),
|
|
11236
|
+
...(input.Origin != null && { Origin: input.Origin }),
|
|
11237
|
+
...(input.State != null && { State: input.State }),
|
|
11238
|
+
...(input.TransitGatewayId != null && { TransitGatewayId: input.TransitGatewayId }),
|
|
11239
|
+
...(input.VpcPeeringConnectionId != null && { VpcPeeringConnectionId: input.VpcPeeringConnectionId }),
|
|
11240
|
+
};
|
|
11241
|
+
};
|
|
11242
|
+
const serializeAws_restJson1RouteSetList = (input, context) => {
|
|
11243
|
+
return input
|
|
11244
|
+
.filter((e) => e != null)
|
|
11245
|
+
.map((entry) => {
|
|
11246
|
+
return serializeAws_restJson1RouteSetDetails(entry, context);
|
|
11247
|
+
});
|
|
11248
|
+
};
|
|
11132
11249
|
const serializeAws_restJson1RuleGroupDetails = (input, context) => {
|
|
11133
11250
|
return {
|
|
11134
11251
|
...(input.RuleVariables != null && {
|
|
@@ -11857,6 +11974,35 @@ const deserializeAws_restJson1AssociatedStandardsList = (output, context) => {
|
|
|
11857
11974
|
});
|
|
11858
11975
|
return retVal;
|
|
11859
11976
|
};
|
|
11977
|
+
const deserializeAws_restJson1AssociationSetDetails = (output, context) => {
|
|
11978
|
+
return {
|
|
11979
|
+
AssociationState: output.AssociationState != null
|
|
11980
|
+
? deserializeAws_restJson1AssociationStateDetails(output.AssociationState, context)
|
|
11981
|
+
: undefined,
|
|
11982
|
+
GatewayId: (0, smithy_client_1.expectString)(output.GatewayId),
|
|
11983
|
+
Main: (0, smithy_client_1.expectBoolean)(output.Main),
|
|
11984
|
+
RouteTableAssociationId: (0, smithy_client_1.expectString)(output.RouteTableAssociationId),
|
|
11985
|
+
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
11986
|
+
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
11987
|
+
};
|
|
11988
|
+
};
|
|
11989
|
+
const deserializeAws_restJson1AssociationSetList = (output, context) => {
|
|
11990
|
+
const retVal = (output || [])
|
|
11991
|
+
.filter((e) => e != null)
|
|
11992
|
+
.map((entry) => {
|
|
11993
|
+
if (entry === null) {
|
|
11994
|
+
return null;
|
|
11995
|
+
}
|
|
11996
|
+
return deserializeAws_restJson1AssociationSetDetails(entry, context);
|
|
11997
|
+
});
|
|
11998
|
+
return retVal;
|
|
11999
|
+
};
|
|
12000
|
+
const deserializeAws_restJson1AssociationStateDetails = (output, context) => {
|
|
12001
|
+
return {
|
|
12002
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
12003
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
12004
|
+
};
|
|
12005
|
+
};
|
|
11860
12006
|
const deserializeAws_restJson1AvailabilityZone = (output, context) => {
|
|
11861
12007
|
return {
|
|
11862
12008
|
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
@@ -13179,6 +13325,9 @@ const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
|
|
|
13179
13325
|
MetadataOptions: output.MetadataOptions != null
|
|
13180
13326
|
? deserializeAws_restJson1AwsEc2InstanceMetadataOptions(output.MetadataOptions, context)
|
|
13181
13327
|
: undefined,
|
|
13328
|
+
Monitoring: output.Monitoring != null
|
|
13329
|
+
? deserializeAws_restJson1AwsEc2InstanceMonitoringDetails(output.Monitoring, context)
|
|
13330
|
+
: undefined,
|
|
13182
13331
|
NetworkInterfaces: output.NetworkInterfaces != null
|
|
13183
13332
|
? deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(output.NetworkInterfaces, context)
|
|
13184
13333
|
: undefined,
|
|
@@ -13197,6 +13346,11 @@ const deserializeAws_restJson1AwsEc2InstanceMetadataOptions = (output, context)
|
|
|
13197
13346
|
InstanceMetadataTags: (0, smithy_client_1.expectString)(output.InstanceMetadataTags),
|
|
13198
13347
|
};
|
|
13199
13348
|
};
|
|
13349
|
+
const deserializeAws_restJson1AwsEc2InstanceMonitoringDetails = (output, context) => {
|
|
13350
|
+
return {
|
|
13351
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
13352
|
+
};
|
|
13353
|
+
};
|
|
13200
13354
|
const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (output, context) => {
|
|
13201
13355
|
return {
|
|
13202
13356
|
NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
|
|
@@ -13820,6 +13974,20 @@ const deserializeAws_restJson1AwsEc2NetworkInterfaceSecurityGroupList = (output,
|
|
|
13820
13974
|
});
|
|
13821
13975
|
return retVal;
|
|
13822
13976
|
};
|
|
13977
|
+
const deserializeAws_restJson1AwsEc2RouteTableDetails = (output, context) => {
|
|
13978
|
+
return {
|
|
13979
|
+
AssociationSet: output.AssociationSet != null
|
|
13980
|
+
? deserializeAws_restJson1AssociationSetList(output.AssociationSet, context)
|
|
13981
|
+
: undefined,
|
|
13982
|
+
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
13983
|
+
PropagatingVgwSet: output.PropagatingVgwSet != null
|
|
13984
|
+
? deserializeAws_restJson1PropagatingVgwSetList(output.PropagatingVgwSet, context)
|
|
13985
|
+
: undefined,
|
|
13986
|
+
RouteSet: output.RouteSet != null ? deserializeAws_restJson1RouteSetList(output.RouteSet, context) : undefined,
|
|
13987
|
+
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
13988
|
+
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
13989
|
+
};
|
|
13990
|
+
};
|
|
13823
13991
|
const deserializeAws_restJson1AwsEc2SecurityGroupDetails = (output, context) => {
|
|
13824
13992
|
return {
|
|
13825
13993
|
GroupId: (0, smithy_client_1.expectString)(output.GroupId),
|
|
@@ -15158,6 +15326,7 @@ const deserializeAws_restJson1AwsEksClusterLoggingDetails = (output, context) =>
|
|
|
15158
15326
|
};
|
|
15159
15327
|
const deserializeAws_restJson1AwsEksClusterResourcesVpcConfigDetails = (output, context) => {
|
|
15160
15328
|
return {
|
|
15329
|
+
EndpointPublicAccess: (0, smithy_client_1.expectBoolean)(output.EndpointPublicAccess),
|
|
15161
15330
|
SecurityGroupIds: output.SecurityGroupIds != null
|
|
15162
15331
|
? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroupIds, context)
|
|
15163
15332
|
: undefined,
|
|
@@ -17127,6 +17296,9 @@ const deserializeAws_restJson1AwsS3BucketDetails = (output, context) => {
|
|
|
17127
17296
|
? deserializeAws_restJson1AwsS3BucketWebsiteConfiguration(output.BucketWebsiteConfiguration, context)
|
|
17128
17297
|
: undefined,
|
|
17129
17298
|
CreatedAt: (0, smithy_client_1.expectString)(output.CreatedAt),
|
|
17299
|
+
ObjectLockConfiguration: output.ObjectLockConfiguration != null
|
|
17300
|
+
? deserializeAws_restJson1AwsS3BucketObjectLockConfiguration(output.ObjectLockConfiguration, context)
|
|
17301
|
+
: undefined,
|
|
17130
17302
|
OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
|
|
17131
17303
|
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
17132
17304
|
OwnerName: (0, smithy_client_1.expectString)(output.OwnerName),
|
|
@@ -17216,6 +17388,28 @@ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRul
|
|
|
17216
17388
|
});
|
|
17217
17389
|
return retVal;
|
|
17218
17390
|
};
|
|
17391
|
+
const deserializeAws_restJson1AwsS3BucketObjectLockConfiguration = (output, context) => {
|
|
17392
|
+
return {
|
|
17393
|
+
ObjectLockEnabled: (0, smithy_client_1.expectString)(output.ObjectLockEnabled),
|
|
17394
|
+
Rule: output.Rule != null
|
|
17395
|
+
? deserializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDetails(output.Rule, context)
|
|
17396
|
+
: undefined,
|
|
17397
|
+
};
|
|
17398
|
+
};
|
|
17399
|
+
const deserializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails = (output, context) => {
|
|
17400
|
+
return {
|
|
17401
|
+
Days: (0, smithy_client_1.expectInt32)(output.Days),
|
|
17402
|
+
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
17403
|
+
Years: (0, smithy_client_1.expectInt32)(output.Years),
|
|
17404
|
+
};
|
|
17405
|
+
};
|
|
17406
|
+
const deserializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDetails = (output, context) => {
|
|
17407
|
+
return {
|
|
17408
|
+
DefaultRetention: output.DefaultRetention != null
|
|
17409
|
+
? deserializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails(output.DefaultRetention, context)
|
|
17410
|
+
: undefined,
|
|
17411
|
+
};
|
|
17412
|
+
};
|
|
17219
17413
|
const deserializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = (output, context) => {
|
|
17220
17414
|
return {
|
|
17221
17415
|
KMSMasterKeyID: (0, smithy_client_1.expectString)(output.KMSMasterKeyID),
|
|
@@ -19024,6 +19218,22 @@ const deserializeAws_restJson1ProductSubscriptionArnList = (output, context) =>
|
|
|
19024
19218
|
});
|
|
19025
19219
|
return retVal;
|
|
19026
19220
|
};
|
|
19221
|
+
const deserializeAws_restJson1PropagatingVgwSetDetails = (output, context) => {
|
|
19222
|
+
return {
|
|
19223
|
+
GatewayId: (0, smithy_client_1.expectString)(output.GatewayId),
|
|
19224
|
+
};
|
|
19225
|
+
};
|
|
19226
|
+
const deserializeAws_restJson1PropagatingVgwSetList = (output, context) => {
|
|
19227
|
+
const retVal = (output || [])
|
|
19228
|
+
.filter((e) => e != null)
|
|
19229
|
+
.map((entry) => {
|
|
19230
|
+
if (entry === null) {
|
|
19231
|
+
return null;
|
|
19232
|
+
}
|
|
19233
|
+
return deserializeAws_restJson1PropagatingVgwSetDetails(entry, context);
|
|
19234
|
+
});
|
|
19235
|
+
return retVal;
|
|
19236
|
+
};
|
|
19027
19237
|
const deserializeAws_restJson1Range = (output, context) => {
|
|
19028
19238
|
return {
|
|
19029
19239
|
End: (0, smithy_client_1.expectLong)(output.End),
|
|
@@ -19177,6 +19387,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
|
|
|
19177
19387
|
AwsEc2NetworkInterface: output.AwsEc2NetworkInterface != null
|
|
19178
19388
|
? deserializeAws_restJson1AwsEc2NetworkInterfaceDetails(output.AwsEc2NetworkInterface, context)
|
|
19179
19389
|
: undefined,
|
|
19390
|
+
AwsEc2RouteTable: output.AwsEc2RouteTable != null
|
|
19391
|
+
? deserializeAws_restJson1AwsEc2RouteTableDetails(output.AwsEc2RouteTable, context)
|
|
19392
|
+
: undefined,
|
|
19180
19393
|
AwsEc2SecurityGroup: output.AwsEc2SecurityGroup != null
|
|
19181
19394
|
? deserializeAws_restJson1AwsEc2SecurityGroupDetails(output.AwsEc2SecurityGroup, context)
|
|
19182
19395
|
: undefined,
|
|
@@ -19367,6 +19580,37 @@ const deserializeAws_restJson1ResultList = (output, context) => {
|
|
|
19367
19580
|
});
|
|
19368
19581
|
return retVal;
|
|
19369
19582
|
};
|
|
19583
|
+
const deserializeAws_restJson1RouteSetDetails = (output, context) => {
|
|
19584
|
+
return {
|
|
19585
|
+
CarrierGatewayId: (0, smithy_client_1.expectString)(output.CarrierGatewayId),
|
|
19586
|
+
CoreNetworkArn: (0, smithy_client_1.expectString)(output.CoreNetworkArn),
|
|
19587
|
+
DestinationCidrBlock: (0, smithy_client_1.expectString)(output.DestinationCidrBlock),
|
|
19588
|
+
DestinationIpv6CidrBlock: (0, smithy_client_1.expectString)(output.DestinationIpv6CidrBlock),
|
|
19589
|
+
DestinationPrefixListId: (0, smithy_client_1.expectString)(output.DestinationPrefixListId),
|
|
19590
|
+
EgressOnlyInternetGatewayId: (0, smithy_client_1.expectString)(output.EgressOnlyInternetGatewayId),
|
|
19591
|
+
GatewayId: (0, smithy_client_1.expectString)(output.GatewayId),
|
|
19592
|
+
InstanceId: (0, smithy_client_1.expectString)(output.InstanceId),
|
|
19593
|
+
InstanceOwnerId: (0, smithy_client_1.expectString)(output.InstanceOwnerId),
|
|
19594
|
+
LocalGatewayId: (0, smithy_client_1.expectString)(output.LocalGatewayId),
|
|
19595
|
+
NatGatewayId: (0, smithy_client_1.expectString)(output.NatGatewayId),
|
|
19596
|
+
NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
|
|
19597
|
+
Origin: (0, smithy_client_1.expectString)(output.Origin),
|
|
19598
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
19599
|
+
TransitGatewayId: (0, smithy_client_1.expectString)(output.TransitGatewayId),
|
|
19600
|
+
VpcPeeringConnectionId: (0, smithy_client_1.expectString)(output.VpcPeeringConnectionId),
|
|
19601
|
+
};
|
|
19602
|
+
};
|
|
19603
|
+
const deserializeAws_restJson1RouteSetList = (output, context) => {
|
|
19604
|
+
const retVal = (output || [])
|
|
19605
|
+
.filter((e) => e != null)
|
|
19606
|
+
.map((entry) => {
|
|
19607
|
+
if (entry === null) {
|
|
19608
|
+
return null;
|
|
19609
|
+
}
|
|
19610
|
+
return deserializeAws_restJson1RouteSetDetails(entry, context);
|
|
19611
|
+
});
|
|
19612
|
+
return retVal;
|
|
19613
|
+
};
|
|
19370
19614
|
const deserializeAws_restJson1RuleGroupDetails = (output, context) => {
|
|
19371
19615
|
return {
|
|
19372
19616
|
RuleVariables: output.RuleVariables != null
|
|
@@ -98,8 +98,3 @@ export var AutoEnableStandards;
|
|
|
98
98
|
AutoEnableStandards["DEFAULT"] = "DEFAULT";
|
|
99
99
|
AutoEnableStandards["NONE"] = "NONE";
|
|
100
100
|
})(AutoEnableStandards || (AutoEnableStandards = {}));
|
|
101
|
-
export var AwsIamAccessKeyStatus;
|
|
102
|
-
(function (AwsIamAccessKeyStatus) {
|
|
103
|
-
AwsIamAccessKeyStatus["ACTIVE"] = "Active";
|
|
104
|
-
AwsIamAccessKeyStatus["INACTIVE"] = "Inactive";
|
|
105
|
-
})(AwsIamAccessKeyStatus || (AwsIamAccessKeyStatus = {}));
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
2
|
+
export var AwsIamAccessKeyStatus;
|
|
3
|
+
(function (AwsIamAccessKeyStatus) {
|
|
4
|
+
AwsIamAccessKeyStatus["ACTIVE"] = "Active";
|
|
5
|
+
AwsIamAccessKeyStatus["INACTIVE"] = "Inactive";
|
|
6
|
+
})(AwsIamAccessKeyStatus || (AwsIamAccessKeyStatus = {}));
|
|
2
7
|
export var AwsS3BucketNotificationConfigurationS3KeyFilterRuleName;
|
|
3
8
|
(function (AwsS3BucketNotificationConfigurationS3KeyFilterRuleName) {
|
|
4
9
|
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName["PREFIX"] = "Prefix";
|