@aws-sdk/client-config-service 3.121.0 → 3.128.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/protocols/Aws_json1_1.js +580 -808
- package/dist-es/protocols/Aws_json1_1.js +367 -595
- package/dist-types/ConfigService.d.ts +43 -7
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +18 -3
- package/dist-types/commands/DescribeOrganizationConformancePacksCommand.d.ts +16 -1
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +5 -3
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +5 -2
- package/dist-types/models/models_1.d.ts +4 -0
- package/package.json +26 -26
|
@@ -6632,11 +6632,11 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
6632
6632
|
});
|
|
6633
6633
|
}); };
|
|
6634
6634
|
var serializeAws_json1_1AccountAggregationSource = function (input, context) {
|
|
6635
|
-
return __assign(__assign(__assign({}, (input.AccountIds
|
|
6636
|
-
input.AccountIds !== null && {
|
|
6635
|
+
return __assign(__assign(__assign({}, (input.AccountIds != null && {
|
|
6637
6636
|
AccountIds: serializeAws_json1_1AccountAggregationSourceAccountList(input.AccountIds, context),
|
|
6638
|
-
})), (input.AllAwsRegions
|
|
6639
|
-
|
|
6637
|
+
})), (input.AllAwsRegions != null && { AllAwsRegions: input.AllAwsRegions })), (input.AwsRegions != null && {
|
|
6638
|
+
AwsRegions: serializeAws_json1_1AggregatorRegionList(input.AwsRegions, context),
|
|
6639
|
+
}));
|
|
6640
6640
|
};
|
|
6641
6641
|
var serializeAws_json1_1AccountAggregationSourceAccountList = function (input, context) {
|
|
6642
6642
|
return input
|
|
@@ -6659,12 +6659,10 @@ var serializeAws_json1_1AccountAggregationSourceList = function (input, context)
|
|
|
6659
6659
|
});
|
|
6660
6660
|
};
|
|
6661
6661
|
var serializeAws_json1_1AggregateConformancePackComplianceFilters = function (input, context) {
|
|
6662
|
-
return __assign(__assign(__assign(__assign({}, (input.AccountId
|
|
6663
|
-
input.ComplianceType !== null && { ComplianceType: input.ComplianceType })), (input.ConformancePackName !== undefined &&
|
|
6664
|
-
input.ConformancePackName !== null && { ConformancePackName: input.ConformancePackName }));
|
|
6662
|
+
return __assign(__assign(__assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.AwsRegion != null && { AwsRegion: input.AwsRegion })), (input.ComplianceType != null && { ComplianceType: input.ComplianceType })), (input.ConformancePackName != null && { ConformancePackName: input.ConformancePackName }));
|
|
6665
6663
|
};
|
|
6666
6664
|
var serializeAws_json1_1AggregateConformancePackComplianceSummaryFilters = function (input, context) {
|
|
6667
|
-
return __assign(__assign({}, (input.AccountId
|
|
6665
|
+
return __assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.AwsRegion != null && { AwsRegion: input.AwsRegion }));
|
|
6668
6666
|
};
|
|
6669
6667
|
var serializeAws_json1_1AggregatedSourceStatusTypeList = function (input, context) {
|
|
6670
6668
|
return input
|
|
@@ -6677,8 +6675,7 @@ var serializeAws_json1_1AggregatedSourceStatusTypeList = function (input, contex
|
|
|
6677
6675
|
});
|
|
6678
6676
|
};
|
|
6679
6677
|
var serializeAws_json1_1AggregateResourceIdentifier = function (input, context) {
|
|
6680
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ResourceId
|
|
6681
|
-
input.SourceAccountId !== null && { SourceAccountId: input.SourceAccountId })), (input.SourceRegion !== undefined && input.SourceRegion !== null && { SourceRegion: input.SourceRegion }));
|
|
6678
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceName != null && { ResourceName: input.ResourceName })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.SourceAccountId != null && { SourceAccountId: input.SourceAccountId })), (input.SourceRegion != null && { SourceRegion: input.SourceRegion }));
|
|
6682
6679
|
};
|
|
6683
6680
|
var serializeAws_json1_1AggregatorRegionList = function (input, context) {
|
|
6684
6681
|
return input
|
|
@@ -6691,15 +6688,14 @@ var serializeAws_json1_1AggregatorRegionList = function (input, context) {
|
|
|
6691
6688
|
});
|
|
6692
6689
|
};
|
|
6693
6690
|
var serializeAws_json1_1BatchGetAggregateResourceConfigRequest = function (input, context) {
|
|
6694
|
-
return __assign(__assign({}, (input.ConfigurationAggregatorName
|
|
6695
|
-
|
|
6696
|
-
|
|
6691
|
+
return __assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
6692
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
6693
|
+
})), (input.ResourceIdentifiers != null && {
|
|
6697
6694
|
ResourceIdentifiers: serializeAws_json1_1ResourceIdentifiersList(input.ResourceIdentifiers, context),
|
|
6698
6695
|
}));
|
|
6699
6696
|
};
|
|
6700
6697
|
var serializeAws_json1_1BatchGetResourceConfigRequest = function (input, context) {
|
|
6701
|
-
return __assign({}, (input.resourceKeys
|
|
6702
|
-
input.resourceKeys !== null && { resourceKeys: serializeAws_json1_1ResourceKeys(input.resourceKeys, context) }));
|
|
6698
|
+
return __assign({}, (input.resourceKeys != null && { resourceKeys: serializeAws_json1_1ResourceKeys(input.resourceKeys, context) }));
|
|
6703
6699
|
};
|
|
6704
6700
|
var serializeAws_json1_1ComplianceResourceTypes = function (input, context) {
|
|
6705
6701
|
return input
|
|
@@ -6722,21 +6718,13 @@ var serializeAws_json1_1ComplianceTypes = function (input, context) {
|
|
|
6722
6718
|
});
|
|
6723
6719
|
};
|
|
6724
6720
|
var serializeAws_json1_1ConfigRule = function (input, context) {
|
|
6725
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConfigRuleArn
|
|
6726
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.ConfigRuleState !== undefined &&
|
|
6727
|
-
input.ConfigRuleState !== null && { ConfigRuleState: input.ConfigRuleState })), (input.CreatedBy !== undefined && input.CreatedBy !== null && { CreatedBy: input.CreatedBy })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.InputParameters !== undefined &&
|
|
6728
|
-
input.InputParameters !== null && { InputParameters: input.InputParameters })), (input.MaximumExecutionFrequency !== undefined &&
|
|
6729
|
-
input.MaximumExecutionFrequency !== null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.Scope !== undefined &&
|
|
6730
|
-
input.Scope !== null && { Scope: serializeAws_json1_1Scope(input.Scope, context) })), (input.Source !== undefined &&
|
|
6731
|
-
input.Source !== null && { Source: serializeAws_json1_1Source(input.Source, context) }));
|
|
6721
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConfigRuleArn != null && { ConfigRuleArn: input.ConfigRuleArn })), (input.ConfigRuleId != null && { ConfigRuleId: input.ConfigRuleId })), (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.ConfigRuleState != null && { ConfigRuleState: input.ConfigRuleState })), (input.CreatedBy != null && { CreatedBy: input.CreatedBy })), (input.Description != null && { Description: input.Description })), (input.InputParameters != null && { InputParameters: input.InputParameters })), (input.MaximumExecutionFrequency != null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.Scope != null && { Scope: serializeAws_json1_1Scope(input.Scope, context) })), (input.Source != null && { Source: serializeAws_json1_1Source(input.Source, context) }));
|
|
6732
6722
|
};
|
|
6733
6723
|
var serializeAws_json1_1ConfigRuleComplianceFilters = function (input, context) {
|
|
6734
|
-
return __assign(__assign(__assign(__assign({}, (input.AccountId
|
|
6735
|
-
input.ComplianceType !== null && { ComplianceType: input.ComplianceType })), (input.ConfigRuleName !== undefined &&
|
|
6736
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName }));
|
|
6724
|
+
return __assign(__assign(__assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.AwsRegion != null && { AwsRegion: input.AwsRegion })), (input.ComplianceType != null && { ComplianceType: input.ComplianceType })), (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName }));
|
|
6737
6725
|
};
|
|
6738
6726
|
var serializeAws_json1_1ConfigRuleComplianceSummaryFilters = function (input, context) {
|
|
6739
|
-
return __assign(__assign({}, (input.AccountId
|
|
6727
|
+
return __assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.AwsRegion != null && { AwsRegion: input.AwsRegion }));
|
|
6740
6728
|
};
|
|
6741
6729
|
var serializeAws_json1_1ConfigRuleNames = function (input, context) {
|
|
6742
6730
|
return input
|
|
@@ -6749,8 +6737,7 @@ var serializeAws_json1_1ConfigRuleNames = function (input, context) {
|
|
|
6749
6737
|
});
|
|
6750
6738
|
};
|
|
6751
6739
|
var serializeAws_json1_1ConfigSnapshotDeliveryProperties = function (input, context) {
|
|
6752
|
-
return __assign({}, (input.deliveryFrequency
|
|
6753
|
-
input.deliveryFrequency !== null && { deliveryFrequency: input.deliveryFrequency }));
|
|
6740
|
+
return __assign({}, (input.deliveryFrequency != null && { deliveryFrequency: input.deliveryFrequency }));
|
|
6754
6741
|
};
|
|
6755
6742
|
var serializeAws_json1_1ConfigurationAggregatorNameList = function (input, context) {
|
|
6756
6743
|
return input
|
|
@@ -6763,10 +6750,9 @@ var serializeAws_json1_1ConfigurationAggregatorNameList = function (input, conte
|
|
|
6763
6750
|
});
|
|
6764
6751
|
};
|
|
6765
6752
|
var serializeAws_json1_1ConfigurationRecorder = function (input, context) {
|
|
6766
|
-
return __assign(__assign(__assign({}, (input.name
|
|
6767
|
-
input.recordingGroup !== null && {
|
|
6753
|
+
return __assign(__assign(__assign({}, (input.name != null && { name: input.name })), (input.recordingGroup != null && {
|
|
6768
6754
|
recordingGroup: serializeAws_json1_1RecordingGroup(input.recordingGroup, context),
|
|
6769
|
-
})), (input.roleARN
|
|
6755
|
+
})), (input.roleARN != null && { roleARN: input.roleARN }));
|
|
6770
6756
|
};
|
|
6771
6757
|
var serializeAws_json1_1ConfigurationRecorderNameList = function (input, context) {
|
|
6772
6758
|
return input
|
|
@@ -6779,9 +6765,7 @@ var serializeAws_json1_1ConfigurationRecorderNameList = function (input, context
|
|
|
6779
6765
|
});
|
|
6780
6766
|
};
|
|
6781
6767
|
var serializeAws_json1_1ConformancePackComplianceFilters = function (input, context) {
|
|
6782
|
-
return __assign(__assign({}, (input.ComplianceType
|
|
6783
|
-
input.ComplianceType !== null && { ComplianceType: input.ComplianceType })), (input.ConfigRuleNames !== undefined &&
|
|
6784
|
-
input.ConfigRuleNames !== null && {
|
|
6768
|
+
return __assign(__assign({}, (input.ComplianceType != null && { ComplianceType: input.ComplianceType })), (input.ConfigRuleNames != null && {
|
|
6785
6769
|
ConfigRuleNames: serializeAws_json1_1ConformancePackConfigRuleNames(input.ConfigRuleNames, context),
|
|
6786
6770
|
}));
|
|
6787
6771
|
};
|
|
@@ -6806,18 +6790,14 @@ var serializeAws_json1_1ConformancePackConfigRuleNames = function (input, contex
|
|
|
6806
6790
|
});
|
|
6807
6791
|
};
|
|
6808
6792
|
var serializeAws_json1_1ConformancePackEvaluationFilters = function (input, context) {
|
|
6809
|
-
return __assign(__assign(__assign(__assign({}, (input.ComplianceType
|
|
6810
|
-
input.ComplianceType !== null && { ComplianceType: input.ComplianceType })), (input.ConfigRuleNames !== undefined &&
|
|
6811
|
-
input.ConfigRuleNames !== null && {
|
|
6793
|
+
return __assign(__assign(__assign(__assign({}, (input.ComplianceType != null && { ComplianceType: input.ComplianceType })), (input.ConfigRuleNames != null && {
|
|
6812
6794
|
ConfigRuleNames: serializeAws_json1_1ConformancePackConfigRuleNames(input.ConfigRuleNames, context),
|
|
6813
|
-
})), (input.ResourceIds
|
|
6814
|
-
input.ResourceIds !== null && {
|
|
6795
|
+
})), (input.ResourceIds != null && {
|
|
6815
6796
|
ResourceIds: serializeAws_json1_1ConformancePackComplianceResourceIds(input.ResourceIds, context),
|
|
6816
|
-
})), (input.ResourceType
|
|
6797
|
+
})), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
6817
6798
|
};
|
|
6818
6799
|
var serializeAws_json1_1ConformancePackInputParameter = function (input, context) {
|
|
6819
|
-
return __assign(__assign({}, (input.ParameterName
|
|
6820
|
-
input.ParameterValue !== null && { ParameterValue: input.ParameterValue }));
|
|
6800
|
+
return __assign(__assign({}, (input.ParameterName != null && { ParameterName: input.ParameterName })), (input.ParameterValue != null && { ParameterValue: input.ParameterValue }));
|
|
6821
6801
|
};
|
|
6822
6802
|
var serializeAws_json1_1ConformancePackInputParameters = function (input, context) {
|
|
6823
6803
|
return input
|
|
@@ -6850,8 +6830,7 @@ var serializeAws_json1_1ConformancePackNamesToSummarizeList = function (input, c
|
|
|
6850
6830
|
});
|
|
6851
6831
|
};
|
|
6852
6832
|
var serializeAws_json1_1CustomPolicyDetails = function (input, context) {
|
|
6853
|
-
return __assign(__assign(__assign({}, (input.EnableDebugLogDelivery
|
|
6854
|
-
input.EnableDebugLogDelivery !== null && { EnableDebugLogDelivery: input.EnableDebugLogDelivery })), (input.PolicyRuntime !== undefined && input.PolicyRuntime !== null && { PolicyRuntime: input.PolicyRuntime })), (input.PolicyText !== undefined && input.PolicyText !== null && { PolicyText: input.PolicyText }));
|
|
6833
|
+
return __assign(__assign(__assign({}, (input.EnableDebugLogDelivery != null && { EnableDebugLogDelivery: input.EnableDebugLogDelivery })), (input.PolicyRuntime != null && { PolicyRuntime: input.PolicyRuntime })), (input.PolicyText != null && { PolicyText: input.PolicyText }));
|
|
6855
6834
|
};
|
|
6856
6835
|
var serializeAws_json1_1DebugLogDeliveryAccounts = function (input, context) {
|
|
6857
6836
|
return input
|
|
@@ -6864,79 +6843,63 @@ var serializeAws_json1_1DebugLogDeliveryAccounts = function (input, context) {
|
|
|
6864
6843
|
});
|
|
6865
6844
|
};
|
|
6866
6845
|
var serializeAws_json1_1DeleteAggregationAuthorizationRequest = function (input, context) {
|
|
6867
|
-
return __assign(__assign({}, (input.AuthorizedAccountId
|
|
6868
|
-
input.AuthorizedAccountId !== null && { AuthorizedAccountId: input.AuthorizedAccountId })), (input.AuthorizedAwsRegion !== undefined &&
|
|
6869
|
-
input.AuthorizedAwsRegion !== null && { AuthorizedAwsRegion: input.AuthorizedAwsRegion }));
|
|
6846
|
+
return __assign(__assign({}, (input.AuthorizedAccountId != null && { AuthorizedAccountId: input.AuthorizedAccountId })), (input.AuthorizedAwsRegion != null && { AuthorizedAwsRegion: input.AuthorizedAwsRegion }));
|
|
6870
6847
|
};
|
|
6871
6848
|
var serializeAws_json1_1DeleteConfigRuleRequest = function (input, context) {
|
|
6872
|
-
return __assign({}, (input.ConfigRuleName
|
|
6873
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName }));
|
|
6849
|
+
return __assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName }));
|
|
6874
6850
|
};
|
|
6875
6851
|
var serializeAws_json1_1DeleteConfigurationAggregatorRequest = function (input, context) {
|
|
6876
|
-
return __assign({}, (input.ConfigurationAggregatorName
|
|
6877
|
-
|
|
6852
|
+
return __assign({}, (input.ConfigurationAggregatorName != null && {
|
|
6853
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
6854
|
+
}));
|
|
6878
6855
|
};
|
|
6879
6856
|
var serializeAws_json1_1DeleteConfigurationRecorderRequest = function (input, context) {
|
|
6880
|
-
return __assign({}, (input.ConfigurationRecorderName
|
|
6881
|
-
input.ConfigurationRecorderName !== null && { ConfigurationRecorderName: input.ConfigurationRecorderName }));
|
|
6857
|
+
return __assign({}, (input.ConfigurationRecorderName != null && { ConfigurationRecorderName: input.ConfigurationRecorderName }));
|
|
6882
6858
|
};
|
|
6883
6859
|
var serializeAws_json1_1DeleteConformancePackRequest = function (input, context) {
|
|
6884
|
-
return __assign({}, (input.ConformancePackName
|
|
6885
|
-
input.ConformancePackName !== null && { ConformancePackName: input.ConformancePackName }));
|
|
6860
|
+
return __assign({}, (input.ConformancePackName != null && { ConformancePackName: input.ConformancePackName }));
|
|
6886
6861
|
};
|
|
6887
6862
|
var serializeAws_json1_1DeleteDeliveryChannelRequest = function (input, context) {
|
|
6888
|
-
return __assign({}, (input.DeliveryChannelName
|
|
6889
|
-
input.DeliveryChannelName !== null && { DeliveryChannelName: input.DeliveryChannelName }));
|
|
6863
|
+
return __assign({}, (input.DeliveryChannelName != null && { DeliveryChannelName: input.DeliveryChannelName }));
|
|
6890
6864
|
};
|
|
6891
6865
|
var serializeAws_json1_1DeleteEvaluationResultsRequest = function (input, context) {
|
|
6892
|
-
return __assign({}, (input.ConfigRuleName
|
|
6893
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName }));
|
|
6866
|
+
return __assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName }));
|
|
6894
6867
|
};
|
|
6895
6868
|
var serializeAws_json1_1DeleteOrganizationConfigRuleRequest = function (input, context) {
|
|
6896
|
-
return __assign({}, (input.OrganizationConfigRuleName
|
|
6897
|
-
input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }));
|
|
6869
|
+
return __assign({}, (input.OrganizationConfigRuleName != null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }));
|
|
6898
6870
|
};
|
|
6899
6871
|
var serializeAws_json1_1DeleteOrganizationConformancePackRequest = function (input, context) {
|
|
6900
|
-
return __assign({}, (input.OrganizationConformancePackName
|
|
6901
|
-
input.OrganizationConformancePackName !== null && {
|
|
6872
|
+
return __assign({}, (input.OrganizationConformancePackName != null && {
|
|
6902
6873
|
OrganizationConformancePackName: input.OrganizationConformancePackName,
|
|
6903
6874
|
}));
|
|
6904
6875
|
};
|
|
6905
6876
|
var serializeAws_json1_1DeletePendingAggregationRequestRequest = function (input, context) {
|
|
6906
|
-
return __assign(__assign({}, (input.RequesterAccountId
|
|
6907
|
-
input.RequesterAccountId !== null && { RequesterAccountId: input.RequesterAccountId })), (input.RequesterAwsRegion !== undefined &&
|
|
6908
|
-
input.RequesterAwsRegion !== null && { RequesterAwsRegion: input.RequesterAwsRegion }));
|
|
6877
|
+
return __assign(__assign({}, (input.RequesterAccountId != null && { RequesterAccountId: input.RequesterAccountId })), (input.RequesterAwsRegion != null && { RequesterAwsRegion: input.RequesterAwsRegion }));
|
|
6909
6878
|
};
|
|
6910
6879
|
var serializeAws_json1_1DeleteRemediationConfigurationRequest = function (input, context) {
|
|
6911
|
-
return __assign(__assign({}, (input.ConfigRuleName
|
|
6912
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType }));
|
|
6880
|
+
return __assign(__assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
6913
6881
|
};
|
|
6914
6882
|
var serializeAws_json1_1DeleteRemediationExceptionsRequest = function (input, context) {
|
|
6915
|
-
return __assign(__assign({}, (input.ConfigRuleName
|
|
6916
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.ResourceKeys !== undefined &&
|
|
6917
|
-
input.ResourceKeys !== null && {
|
|
6883
|
+
return __assign(__assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.ResourceKeys != null && {
|
|
6918
6884
|
ResourceKeys: serializeAws_json1_1RemediationExceptionResourceKeys(input.ResourceKeys, context),
|
|
6919
6885
|
}));
|
|
6920
6886
|
};
|
|
6921
6887
|
var serializeAws_json1_1DeleteResourceConfigRequest = function (input, context) {
|
|
6922
|
-
return __assign(__assign({}, (input.ResourceId
|
|
6888
|
+
return __assign(__assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
6923
6889
|
};
|
|
6924
6890
|
var serializeAws_json1_1DeleteRetentionConfigurationRequest = function (input, context) {
|
|
6925
|
-
return __assign({}, (input.RetentionConfigurationName
|
|
6926
|
-
input.RetentionConfigurationName !== null && { RetentionConfigurationName: input.RetentionConfigurationName }));
|
|
6891
|
+
return __assign({}, (input.RetentionConfigurationName != null && { RetentionConfigurationName: input.RetentionConfigurationName }));
|
|
6927
6892
|
};
|
|
6928
6893
|
var serializeAws_json1_1DeleteStoredQueryRequest = function (input, context) {
|
|
6929
|
-
return __assign({}, (input.QueryName
|
|
6894
|
+
return __assign({}, (input.QueryName != null && { QueryName: input.QueryName }));
|
|
6930
6895
|
};
|
|
6931
6896
|
var serializeAws_json1_1DeliverConfigSnapshotRequest = function (input, context) {
|
|
6932
|
-
return __assign({}, (input.deliveryChannelName
|
|
6933
|
-
input.deliveryChannelName !== null && { deliveryChannelName: input.deliveryChannelName }));
|
|
6897
|
+
return __assign({}, (input.deliveryChannelName != null && { deliveryChannelName: input.deliveryChannelName }));
|
|
6934
6898
|
};
|
|
6935
6899
|
var serializeAws_json1_1DeliveryChannel = function (input, context) {
|
|
6936
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.configSnapshotDeliveryProperties
|
|
6937
|
-
input.configSnapshotDeliveryProperties !== null && {
|
|
6900
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.configSnapshotDeliveryProperties != null && {
|
|
6938
6901
|
configSnapshotDeliveryProperties: serializeAws_json1_1ConfigSnapshotDeliveryProperties(input.configSnapshotDeliveryProperties, context),
|
|
6939
|
-
})), (input.name
|
|
6902
|
+
})), (input.name != null && { name: input.name })), (input.s3BucketName != null && { s3BucketName: input.s3BucketName })), (input.s3KeyPrefix != null && { s3KeyPrefix: input.s3KeyPrefix })), (input.s3KmsKeyArn != null && { s3KmsKeyArn: input.s3KmsKeyArn })), (input.snsTopicARN != null && { snsTopicARN: input.snsTopicARN }));
|
|
6940
6903
|
};
|
|
6941
6904
|
var serializeAws_json1_1DeliveryChannelNameList = function (input, context) {
|
|
6942
6905
|
return input
|
|
@@ -6949,160 +6912,132 @@ var serializeAws_json1_1DeliveryChannelNameList = function (input, context) {
|
|
|
6949
6912
|
});
|
|
6950
6913
|
};
|
|
6951
6914
|
var serializeAws_json1_1DescribeAggregateComplianceByConfigRulesRequest = function (input, context) {
|
|
6952
|
-
return __assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName
|
|
6953
|
-
|
|
6954
|
-
|
|
6915
|
+
return __assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
6916
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
6917
|
+
})), (input.Filters != null && { Filters: serializeAws_json1_1ConfigRuleComplianceFilters(input.Filters, context) })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
6955
6918
|
};
|
|
6956
6919
|
var serializeAws_json1_1DescribeAggregateComplianceByConformancePacksRequest = function (input, context) {
|
|
6957
|
-
return __assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName
|
|
6958
|
-
|
|
6959
|
-
|
|
6920
|
+
return __assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
6921
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
6922
|
+
})), (input.Filters != null && {
|
|
6960
6923
|
Filters: serializeAws_json1_1AggregateConformancePackComplianceFilters(input.Filters, context),
|
|
6961
|
-
})), (input.Limit
|
|
6924
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
6962
6925
|
};
|
|
6963
6926
|
var serializeAws_json1_1DescribeAggregationAuthorizationsRequest = function (input, context) {
|
|
6964
|
-
return __assign(__assign({}, (input.Limit
|
|
6927
|
+
return __assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
6965
6928
|
};
|
|
6966
6929
|
var serializeAws_json1_1DescribeComplianceByConfigRuleRequest = function (input, context) {
|
|
6967
|
-
return __assign(__assign(__assign({}, (input.ComplianceTypes
|
|
6968
|
-
input.ComplianceTypes !== null && {
|
|
6930
|
+
return __assign(__assign(__assign({}, (input.ComplianceTypes != null && {
|
|
6969
6931
|
ComplianceTypes: serializeAws_json1_1ComplianceTypes(input.ComplianceTypes, context),
|
|
6970
|
-
})), (input.ConfigRuleNames
|
|
6971
|
-
input.ConfigRuleNames !== null && {
|
|
6932
|
+
})), (input.ConfigRuleNames != null && {
|
|
6972
6933
|
ConfigRuleNames: serializeAws_json1_1ConfigRuleNames(input.ConfigRuleNames, context),
|
|
6973
|
-
})), (input.NextToken
|
|
6934
|
+
})), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
6974
6935
|
};
|
|
6975
6936
|
var serializeAws_json1_1DescribeComplianceByResourceRequest = function (input, context) {
|
|
6976
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ComplianceTypes
|
|
6977
|
-
input.ComplianceTypes !== null && {
|
|
6937
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ComplianceTypes != null && {
|
|
6978
6938
|
ComplianceTypes: serializeAws_json1_1ComplianceTypes(input.ComplianceTypes, context),
|
|
6979
|
-
})), (input.Limit
|
|
6939
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
6980
6940
|
};
|
|
6981
6941
|
var serializeAws_json1_1DescribeConfigRuleEvaluationStatusRequest = function (input, context) {
|
|
6982
|
-
return __assign(__assign(__assign({}, (input.ConfigRuleNames
|
|
6983
|
-
input.ConfigRuleNames !== null && {
|
|
6942
|
+
return __assign(__assign(__assign({}, (input.ConfigRuleNames != null && {
|
|
6984
6943
|
ConfigRuleNames: serializeAws_json1_1ConfigRuleNames(input.ConfigRuleNames, context),
|
|
6985
|
-
})), (input.Limit
|
|
6944
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
6986
6945
|
};
|
|
6987
6946
|
var serializeAws_json1_1DescribeConfigRulesRequest = function (input, context) {
|
|
6988
|
-
return __assign(__assign({}, (input.ConfigRuleNames
|
|
6989
|
-
input.ConfigRuleNames !== null && {
|
|
6947
|
+
return __assign(__assign({}, (input.ConfigRuleNames != null && {
|
|
6990
6948
|
ConfigRuleNames: serializeAws_json1_1ConfigRuleNames(input.ConfigRuleNames, context),
|
|
6991
|
-
})), (input.NextToken
|
|
6949
|
+
})), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
6992
6950
|
};
|
|
6993
6951
|
var serializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusRequest = function (input, context) {
|
|
6994
|
-
return __assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName
|
|
6995
|
-
|
|
6996
|
-
|
|
6952
|
+
return __assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
6953
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
6954
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.UpdateStatus != null && {
|
|
6997
6955
|
UpdateStatus: serializeAws_json1_1AggregatedSourceStatusTypeList(input.UpdateStatus, context),
|
|
6998
6956
|
}));
|
|
6999
6957
|
};
|
|
7000
6958
|
var serializeAws_json1_1DescribeConfigurationAggregatorsRequest = function (input, context) {
|
|
7001
|
-
return __assign(__assign(__assign({}, (input.ConfigurationAggregatorNames
|
|
7002
|
-
input.ConfigurationAggregatorNames !== null && {
|
|
6959
|
+
return __assign(__assign(__assign({}, (input.ConfigurationAggregatorNames != null && {
|
|
7003
6960
|
ConfigurationAggregatorNames: serializeAws_json1_1ConfigurationAggregatorNameList(input.ConfigurationAggregatorNames, context),
|
|
7004
|
-
})), (input.Limit
|
|
6961
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7005
6962
|
};
|
|
7006
6963
|
var serializeAws_json1_1DescribeConfigurationRecordersRequest = function (input, context) {
|
|
7007
|
-
return __assign({}, (input.ConfigurationRecorderNames
|
|
7008
|
-
input.ConfigurationRecorderNames !== null && {
|
|
6964
|
+
return __assign({}, (input.ConfigurationRecorderNames != null && {
|
|
7009
6965
|
ConfigurationRecorderNames: serializeAws_json1_1ConfigurationRecorderNameList(input.ConfigurationRecorderNames, context),
|
|
7010
6966
|
}));
|
|
7011
6967
|
};
|
|
7012
6968
|
var serializeAws_json1_1DescribeConfigurationRecorderStatusRequest = function (input, context) {
|
|
7013
|
-
return __assign({}, (input.ConfigurationRecorderNames
|
|
7014
|
-
input.ConfigurationRecorderNames !== null && {
|
|
6969
|
+
return __assign({}, (input.ConfigurationRecorderNames != null && {
|
|
7015
6970
|
ConfigurationRecorderNames: serializeAws_json1_1ConfigurationRecorderNameList(input.ConfigurationRecorderNames, context),
|
|
7016
6971
|
}));
|
|
7017
6972
|
};
|
|
7018
6973
|
var serializeAws_json1_1DescribeConformancePackComplianceRequest = function (input, context) {
|
|
7019
|
-
return __assign(__assign(__assign(__assign({}, (input.ConformancePackName
|
|
7020
|
-
input.ConformancePackName !== null && { ConformancePackName: input.ConformancePackName })), (input.Filters !== undefined &&
|
|
7021
|
-
input.Filters !== null && {
|
|
6974
|
+
return __assign(__assign(__assign(__assign({}, (input.ConformancePackName != null && { ConformancePackName: input.ConformancePackName })), (input.Filters != null && {
|
|
7022
6975
|
Filters: serializeAws_json1_1ConformancePackComplianceFilters(input.Filters, context),
|
|
7023
|
-
})), (input.Limit
|
|
6976
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7024
6977
|
};
|
|
7025
6978
|
var serializeAws_json1_1DescribeConformancePacksRequest = function (input, context) {
|
|
7026
|
-
return __assign(__assign(__assign({}, (input.ConformancePackNames
|
|
7027
|
-
input.ConformancePackNames !== null && {
|
|
6979
|
+
return __assign(__assign(__assign({}, (input.ConformancePackNames != null && {
|
|
7028
6980
|
ConformancePackNames: serializeAws_json1_1ConformancePackNamesList(input.ConformancePackNames, context),
|
|
7029
|
-
})), (input.Limit
|
|
6981
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7030
6982
|
};
|
|
7031
6983
|
var serializeAws_json1_1DescribeConformancePackStatusRequest = function (input, context) {
|
|
7032
|
-
return __assign(__assign(__assign({}, (input.ConformancePackNames
|
|
7033
|
-
input.ConformancePackNames !== null && {
|
|
6984
|
+
return __assign(__assign(__assign({}, (input.ConformancePackNames != null && {
|
|
7034
6985
|
ConformancePackNames: serializeAws_json1_1ConformancePackNamesList(input.ConformancePackNames, context),
|
|
7035
|
-
})), (input.Limit
|
|
6986
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7036
6987
|
};
|
|
7037
6988
|
var serializeAws_json1_1DescribeDeliveryChannelsRequest = function (input, context) {
|
|
7038
|
-
return __assign({}, (input.DeliveryChannelNames
|
|
7039
|
-
input.DeliveryChannelNames !== null && {
|
|
6989
|
+
return __assign({}, (input.DeliveryChannelNames != null && {
|
|
7040
6990
|
DeliveryChannelNames: serializeAws_json1_1DeliveryChannelNameList(input.DeliveryChannelNames, context),
|
|
7041
6991
|
}));
|
|
7042
6992
|
};
|
|
7043
6993
|
var serializeAws_json1_1DescribeDeliveryChannelStatusRequest = function (input, context) {
|
|
7044
|
-
return __assign({}, (input.DeliveryChannelNames
|
|
7045
|
-
input.DeliveryChannelNames !== null && {
|
|
6994
|
+
return __assign({}, (input.DeliveryChannelNames != null && {
|
|
7046
6995
|
DeliveryChannelNames: serializeAws_json1_1DeliveryChannelNameList(input.DeliveryChannelNames, context),
|
|
7047
6996
|
}));
|
|
7048
6997
|
};
|
|
7049
6998
|
var serializeAws_json1_1DescribeOrganizationConfigRulesRequest = function (input, context) {
|
|
7050
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
7051
|
-
input.OrganizationConfigRuleNames !== null && {
|
|
6999
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationConfigRuleNames != null && {
|
|
7052
7000
|
OrganizationConfigRuleNames: serializeAws_json1_1OrganizationConfigRuleNames(input.OrganizationConfigRuleNames, context),
|
|
7053
7001
|
}));
|
|
7054
7002
|
};
|
|
7055
7003
|
var serializeAws_json1_1DescribeOrganizationConfigRuleStatusesRequest = function (input, context) {
|
|
7056
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
7057
|
-
input.OrganizationConfigRuleNames !== null && {
|
|
7004
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationConfigRuleNames != null && {
|
|
7058
7005
|
OrganizationConfigRuleNames: serializeAws_json1_1OrganizationConfigRuleNames(input.OrganizationConfigRuleNames, context),
|
|
7059
7006
|
}));
|
|
7060
7007
|
};
|
|
7061
7008
|
var serializeAws_json1_1DescribeOrganizationConformancePacksRequest = function (input, context) {
|
|
7062
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
7063
|
-
input.OrganizationConformancePackNames !== null && {
|
|
7009
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationConformancePackNames != null && {
|
|
7064
7010
|
OrganizationConformancePackNames: serializeAws_json1_1OrganizationConformancePackNames(input.OrganizationConformancePackNames, context),
|
|
7065
7011
|
}));
|
|
7066
7012
|
};
|
|
7067
7013
|
var serializeAws_json1_1DescribeOrganizationConformancePackStatusesRequest = function (input, context) {
|
|
7068
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
7069
|
-
input.OrganizationConformancePackNames !== null && {
|
|
7014
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationConformancePackNames != null && {
|
|
7070
7015
|
OrganizationConformancePackNames: serializeAws_json1_1OrganizationConformancePackNames(input.OrganizationConformancePackNames, context),
|
|
7071
7016
|
}));
|
|
7072
7017
|
};
|
|
7073
7018
|
var serializeAws_json1_1DescribePendingAggregationRequestsRequest = function (input, context) {
|
|
7074
|
-
return __assign(__assign({}, (input.Limit
|
|
7019
|
+
return __assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7075
7020
|
};
|
|
7076
7021
|
var serializeAws_json1_1DescribeRemediationConfigurationsRequest = function (input, context) {
|
|
7077
|
-
return __assign({}, (input.ConfigRuleNames
|
|
7078
|
-
input.ConfigRuleNames !== null && {
|
|
7022
|
+
return __assign({}, (input.ConfigRuleNames != null && {
|
|
7079
7023
|
ConfigRuleNames: serializeAws_json1_1ConfigRuleNames(input.ConfigRuleNames, context),
|
|
7080
7024
|
}));
|
|
7081
7025
|
};
|
|
7082
7026
|
var serializeAws_json1_1DescribeRemediationExceptionsRequest = function (input, context) {
|
|
7083
|
-
return __assign(__assign(__assign(__assign({}, (input.ConfigRuleName
|
|
7084
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceKeys !== undefined &&
|
|
7085
|
-
input.ResourceKeys !== null && {
|
|
7027
|
+
return __assign(__assign(__assign(__assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceKeys != null && {
|
|
7086
7028
|
ResourceKeys: serializeAws_json1_1RemediationExceptionResourceKeys(input.ResourceKeys, context),
|
|
7087
7029
|
}));
|
|
7088
7030
|
};
|
|
7089
7031
|
var serializeAws_json1_1DescribeRemediationExecutionStatusRequest = function (input, context) {
|
|
7090
|
-
return __assign(__assign(__assign(__assign({}, (input.ConfigRuleName
|
|
7091
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceKeys !== undefined &&
|
|
7092
|
-
input.ResourceKeys !== null && { ResourceKeys: serializeAws_json1_1ResourceKeys(input.ResourceKeys, context) }));
|
|
7032
|
+
return __assign(__assign(__assign(__assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceKeys != null && { ResourceKeys: serializeAws_json1_1ResourceKeys(input.ResourceKeys, context) }));
|
|
7093
7033
|
};
|
|
7094
7034
|
var serializeAws_json1_1DescribeRetentionConfigurationsRequest = function (input, context) {
|
|
7095
|
-
return __assign(__assign({}, (input.NextToken
|
|
7096
|
-
input.RetentionConfigurationNames !== null && {
|
|
7035
|
+
return __assign(__assign({}, (input.NextToken != null && { NextToken: input.NextToken })), (input.RetentionConfigurationNames != null && {
|
|
7097
7036
|
RetentionConfigurationNames: serializeAws_json1_1RetentionConfigurationNameList(input.RetentionConfigurationNames, context),
|
|
7098
7037
|
}));
|
|
7099
7038
|
};
|
|
7100
7039
|
var serializeAws_json1_1Evaluation = function (input, context) {
|
|
7101
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Annotation
|
|
7102
|
-
input.ComplianceResourceId !== null && { ComplianceResourceId: input.ComplianceResourceId })), (input.ComplianceResourceType !== undefined &&
|
|
7103
|
-
input.ComplianceResourceType !== null && { ComplianceResourceType: input.ComplianceResourceType })), (input.ComplianceType !== undefined &&
|
|
7104
|
-
input.ComplianceType !== null && { ComplianceType: input.ComplianceType })), (input.OrderingTimestamp !== undefined &&
|
|
7105
|
-
input.OrderingTimestamp !== null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }));
|
|
7040
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Annotation != null && { Annotation: input.Annotation })), (input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId })), (input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType })), (input.ComplianceType != null && { ComplianceType: input.ComplianceType })), (input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }));
|
|
7106
7041
|
};
|
|
7107
7042
|
var serializeAws_json1_1Evaluations = function (input, context) {
|
|
7108
7043
|
return input
|
|
@@ -7125,136 +7060,112 @@ var serializeAws_json1_1ExcludedAccounts = function (input, context) {
|
|
|
7125
7060
|
});
|
|
7126
7061
|
};
|
|
7127
7062
|
var serializeAws_json1_1ExecutionControls = function (input, context) {
|
|
7128
|
-
return __assign({}, (input.SsmControls
|
|
7129
|
-
input.SsmControls !== null && { SsmControls: serializeAws_json1_1SsmControls(input.SsmControls, context) }));
|
|
7063
|
+
return __assign({}, (input.SsmControls != null && { SsmControls: serializeAws_json1_1SsmControls(input.SsmControls, context) }));
|
|
7130
7064
|
};
|
|
7131
7065
|
var serializeAws_json1_1ExternalEvaluation = function (input, context) {
|
|
7132
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Annotation
|
|
7133
|
-
input.ComplianceResourceId !== null && { ComplianceResourceId: input.ComplianceResourceId })), (input.ComplianceResourceType !== undefined &&
|
|
7134
|
-
input.ComplianceResourceType !== null && { ComplianceResourceType: input.ComplianceResourceType })), (input.ComplianceType !== undefined &&
|
|
7135
|
-
input.ComplianceType !== null && { ComplianceType: input.ComplianceType })), (input.OrderingTimestamp !== undefined &&
|
|
7136
|
-
input.OrderingTimestamp !== null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }));
|
|
7066
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Annotation != null && { Annotation: input.Annotation })), (input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId })), (input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType })), (input.ComplianceType != null && { ComplianceType: input.ComplianceType })), (input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }));
|
|
7137
7067
|
};
|
|
7138
7068
|
var serializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleRequest = function (input, context) {
|
|
7139
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccountId
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
input.ConfigurationAggregatorName !== null && { ConfigurationAggregatorName: input.ConfigurationAggregatorName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7069
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.AwsRegion != null && { AwsRegion: input.AwsRegion })), (input.ComplianceType != null && { ComplianceType: input.ComplianceType })), (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.ConfigurationAggregatorName != null && {
|
|
7070
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7071
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7143
7072
|
};
|
|
7144
7073
|
var serializeAws_json1_1GetAggregateConfigRuleComplianceSummaryRequest = function (input, context) {
|
|
7145
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName
|
|
7146
|
-
|
|
7147
|
-
|
|
7074
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
7075
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7076
|
+
})), (input.Filters != null && {
|
|
7148
7077
|
Filters: serializeAws_json1_1ConfigRuleComplianceSummaryFilters(input.Filters, context),
|
|
7149
|
-
})), (input.GroupByKey
|
|
7078
|
+
})), (input.GroupByKey != null && { GroupByKey: input.GroupByKey })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7150
7079
|
};
|
|
7151
7080
|
var serializeAws_json1_1GetAggregateConformancePackComplianceSummaryRequest = function (input, context) {
|
|
7152
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName
|
|
7153
|
-
|
|
7154
|
-
|
|
7081
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
7082
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7083
|
+
})), (input.Filters != null && {
|
|
7155
7084
|
Filters: serializeAws_json1_1AggregateConformancePackComplianceSummaryFilters(input.Filters, context),
|
|
7156
|
-
})), (input.GroupByKey
|
|
7085
|
+
})), (input.GroupByKey != null && { GroupByKey: input.GroupByKey })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7157
7086
|
};
|
|
7158
7087
|
var serializeAws_json1_1GetAggregateDiscoveredResourceCountsRequest = function (input, context) {
|
|
7159
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName
|
|
7160
|
-
|
|
7161
|
-
|
|
7088
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
7089
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7090
|
+
})), (input.Filters != null && { Filters: serializeAws_json1_1ResourceCountFilters(input.Filters, context) })), (input.GroupByKey != null && { GroupByKey: input.GroupByKey })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7162
7091
|
};
|
|
7163
7092
|
var serializeAws_json1_1GetAggregateResourceConfigRequest = function (input, context) {
|
|
7164
|
-
return __assign(__assign({}, (input.ConfigurationAggregatorName
|
|
7165
|
-
|
|
7166
|
-
|
|
7093
|
+
return __assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
7094
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7095
|
+
})), (input.ResourceIdentifier != null && {
|
|
7167
7096
|
ResourceIdentifier: serializeAws_json1_1AggregateResourceIdentifier(input.ResourceIdentifier, context),
|
|
7168
7097
|
}));
|
|
7169
7098
|
};
|
|
7170
7099
|
var serializeAws_json1_1GetComplianceDetailsByConfigRuleRequest = function (input, context) {
|
|
7171
|
-
return __assign(__assign(__assign(__assign({}, (input.ComplianceTypes
|
|
7172
|
-
input.ComplianceTypes !== null && {
|
|
7100
|
+
return __assign(__assign(__assign(__assign({}, (input.ComplianceTypes != null && {
|
|
7173
7101
|
ComplianceTypes: serializeAws_json1_1ComplianceTypes(input.ComplianceTypes, context),
|
|
7174
|
-
})), (input.ConfigRuleName
|
|
7175
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7102
|
+
})), (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7176
7103
|
};
|
|
7177
7104
|
var serializeAws_json1_1GetComplianceDetailsByResourceRequest = function (input, context) {
|
|
7178
|
-
return __assign(__assign(__assign(__assign({}, (input.ComplianceTypes
|
|
7179
|
-
input.ComplianceTypes !== null && {
|
|
7105
|
+
return __assign(__assign(__assign(__assign({}, (input.ComplianceTypes != null && {
|
|
7180
7106
|
ComplianceTypes: serializeAws_json1_1ComplianceTypes(input.ComplianceTypes, context),
|
|
7181
|
-
})), (input.NextToken
|
|
7107
|
+
})), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
7182
7108
|
};
|
|
7183
7109
|
var serializeAws_json1_1GetComplianceSummaryByResourceTypeRequest = function (input, context) {
|
|
7184
|
-
return __assign({}, (input.ResourceTypes
|
|
7185
|
-
input.ResourceTypes !== null && {
|
|
7110
|
+
return __assign({}, (input.ResourceTypes != null && {
|
|
7186
7111
|
ResourceTypes: serializeAws_json1_1ResourceTypes(input.ResourceTypes, context),
|
|
7187
7112
|
}));
|
|
7188
7113
|
};
|
|
7189
7114
|
var serializeAws_json1_1GetConformancePackComplianceDetailsRequest = function (input, context) {
|
|
7190
|
-
return __assign(__assign(__assign(__assign({}, (input.ConformancePackName
|
|
7191
|
-
input.ConformancePackName !== null && { ConformancePackName: input.ConformancePackName })), (input.Filters !== undefined &&
|
|
7192
|
-
input.Filters !== null && {
|
|
7115
|
+
return __assign(__assign(__assign(__assign({}, (input.ConformancePackName != null && { ConformancePackName: input.ConformancePackName })), (input.Filters != null && {
|
|
7193
7116
|
Filters: serializeAws_json1_1ConformancePackEvaluationFilters(input.Filters, context),
|
|
7194
|
-
})), (input.Limit
|
|
7117
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7195
7118
|
};
|
|
7196
7119
|
var serializeAws_json1_1GetConformancePackComplianceSummaryRequest = function (input, context) {
|
|
7197
|
-
return __assign(__assign(__assign({}, (input.ConformancePackNames
|
|
7198
|
-
input.ConformancePackNames !== null && {
|
|
7120
|
+
return __assign(__assign(__assign({}, (input.ConformancePackNames != null && {
|
|
7199
7121
|
ConformancePackNames: serializeAws_json1_1ConformancePackNamesToSummarizeList(input.ConformancePackNames, context),
|
|
7200
|
-
})), (input.Limit
|
|
7122
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7201
7123
|
};
|
|
7202
7124
|
var serializeAws_json1_1GetCustomRulePolicyRequest = function (input, context) {
|
|
7203
|
-
return __assign({}, (input.ConfigRuleName
|
|
7204
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName }));
|
|
7125
|
+
return __assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName }));
|
|
7205
7126
|
};
|
|
7206
7127
|
var serializeAws_json1_1GetDiscoveredResourceCountsRequest = function (input, context) {
|
|
7207
|
-
return __assign(__assign(__assign({}, (input.limit
|
|
7208
|
-
input.resourceTypes !== null && {
|
|
7128
|
+
return __assign(__assign(__assign({}, (input.limit != null && { limit: input.limit })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceTypes != null && {
|
|
7209
7129
|
resourceTypes: serializeAws_json1_1ResourceTypes(input.resourceTypes, context),
|
|
7210
7130
|
}));
|
|
7211
7131
|
};
|
|
7212
7132
|
var serializeAws_json1_1GetOrganizationConfigRuleDetailedStatusRequest = function (input, context) {
|
|
7213
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
7214
|
-
input.Filters !== null && { Filters: serializeAws_json1_1StatusDetailFilters(input.Filters, context) })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.OrganizationConfigRuleName !== undefined &&
|
|
7215
|
-
input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }));
|
|
7133
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1StatusDetailFilters(input.Filters, context) })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationConfigRuleName != null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }));
|
|
7216
7134
|
};
|
|
7217
7135
|
var serializeAws_json1_1GetOrganizationConformancePackDetailedStatusRequest = function (input, context) {
|
|
7218
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
7219
|
-
input.Filters !== null && {
|
|
7136
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && {
|
|
7220
7137
|
Filters: serializeAws_json1_1OrganizationResourceDetailedStatusFilters(input.Filters, context),
|
|
7221
|
-
})), (input.Limit
|
|
7222
|
-
input.OrganizationConformancePackName !== null && {
|
|
7138
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationConformancePackName != null && {
|
|
7223
7139
|
OrganizationConformancePackName: input.OrganizationConformancePackName,
|
|
7224
7140
|
}));
|
|
7225
7141
|
};
|
|
7226
7142
|
var serializeAws_json1_1GetOrganizationCustomRulePolicyRequest = function (input, context) {
|
|
7227
|
-
return __assign({}, (input.OrganizationConfigRuleName
|
|
7228
|
-
input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }));
|
|
7143
|
+
return __assign({}, (input.OrganizationConfigRuleName != null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }));
|
|
7229
7144
|
};
|
|
7230
7145
|
var serializeAws_json1_1GetResourceConfigHistoryRequest = function (input, context) {
|
|
7231
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.chronologicalOrder
|
|
7232
|
-
input.chronologicalOrder !== null && { chronologicalOrder: input.chronologicalOrder })), (input.earlierTime !== undefined &&
|
|
7233
|
-
input.earlierTime !== null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000) })), (input.laterTime !== undefined &&
|
|
7234
|
-
input.laterTime !== null && { laterTime: Math.round(input.laterTime.getTime() / 1000) })), (input.limit !== undefined && input.limit !== null && { limit: input.limit })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceId !== undefined && input.resourceId !== null && { resourceId: input.resourceId })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType }));
|
|
7146
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.chronologicalOrder != null && { chronologicalOrder: input.chronologicalOrder })), (input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000) })), (input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000) })), (input.limit != null && { limit: input.limit })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceId != null && { resourceId: input.resourceId })), (input.resourceType != null && { resourceType: input.resourceType }));
|
|
7235
7147
|
};
|
|
7236
7148
|
var serializeAws_json1_1GetStoredQueryRequest = function (input, context) {
|
|
7237
|
-
return __assign({}, (input.QueryName
|
|
7149
|
+
return __assign({}, (input.QueryName != null && { QueryName: input.QueryName }));
|
|
7238
7150
|
};
|
|
7239
7151
|
var serializeAws_json1_1ListAggregateDiscoveredResourcesRequest = function (input, context) {
|
|
7240
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName
|
|
7241
|
-
|
|
7242
|
-
|
|
7152
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
7153
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7154
|
+
})), (input.Filters != null && { Filters: serializeAws_json1_1ResourceFilters(input.Filters, context) })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
7243
7155
|
};
|
|
7244
7156
|
var serializeAws_json1_1ListDiscoveredResourcesRequest = function (input, context) {
|
|
7245
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.includeDeletedResources
|
|
7246
|
-
input.includeDeletedResources !== null && { includeDeletedResources: input.includeDeletedResources })), (input.limit !== undefined && input.limit !== null && { limit: input.limit })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceIds !== undefined &&
|
|
7247
|
-
input.resourceIds !== null && { resourceIds: serializeAws_json1_1ResourceIdList(input.resourceIds, context) })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType }));
|
|
7157
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.includeDeletedResources != null && { includeDeletedResources: input.includeDeletedResources })), (input.limit != null && { limit: input.limit })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceIds != null && { resourceIds: serializeAws_json1_1ResourceIdList(input.resourceIds, context) })), (input.resourceName != null && { resourceName: input.resourceName })), (input.resourceType != null && { resourceType: input.resourceType }));
|
|
7248
7158
|
};
|
|
7249
7159
|
var serializeAws_json1_1ListStoredQueriesRequest = function (input, context) {
|
|
7250
|
-
return __assign(__assign({}, (input.MaxResults
|
|
7160
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7251
7161
|
};
|
|
7252
7162
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
7253
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
7163
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
7254
7164
|
};
|
|
7255
7165
|
var serializeAws_json1_1OrganizationAggregationSource = function (input, context) {
|
|
7256
|
-
return __assign(__assign(__assign({}, (input.AllAwsRegions
|
|
7257
|
-
|
|
7166
|
+
return __assign(__assign(__assign({}, (input.AllAwsRegions != null && { AllAwsRegions: input.AllAwsRegions })), (input.AwsRegions != null && {
|
|
7167
|
+
AwsRegions: serializeAws_json1_1AggregatorRegionList(input.AwsRegions, context),
|
|
7168
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
7258
7169
|
};
|
|
7259
7170
|
var serializeAws_json1_1OrganizationConfigRuleNames = function (input, context) {
|
|
7260
7171
|
return input
|
|
@@ -7297,157 +7208,108 @@ var serializeAws_json1_1OrganizationConformancePackNames = function (input, cont
|
|
|
7297
7208
|
});
|
|
7298
7209
|
};
|
|
7299
7210
|
var serializeAws_json1_1OrganizationCustomPolicyRuleMetadata = function (input, context) {
|
|
7300
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DebugLogDeliveryAccounts
|
|
7301
|
-
input.DebugLogDeliveryAccounts !== null && {
|
|
7211
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DebugLogDeliveryAccounts != null && {
|
|
7302
7212
|
DebugLogDeliveryAccounts: serializeAws_json1_1DebugLogDeliveryAccounts(input.DebugLogDeliveryAccounts, context),
|
|
7303
|
-
})), (input.Description
|
|
7304
|
-
input.InputParameters !== null && { InputParameters: input.InputParameters })), (input.MaximumExecutionFrequency !== undefined &&
|
|
7305
|
-
input.MaximumExecutionFrequency !== null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.OrganizationConfigRuleTriggerTypes !== undefined &&
|
|
7306
|
-
input.OrganizationConfigRuleTriggerTypes !== null && {
|
|
7213
|
+
})), (input.Description != null && { Description: input.Description })), (input.InputParameters != null && { InputParameters: input.InputParameters })), (input.MaximumExecutionFrequency != null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.OrganizationConfigRuleTriggerTypes != null && {
|
|
7307
7214
|
OrganizationConfigRuleTriggerTypes: serializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs(input.OrganizationConfigRuleTriggerTypes, context),
|
|
7308
|
-
})), (input.PolicyRuntime
|
|
7309
|
-
input.ResourceIdScope !== null && { ResourceIdScope: input.ResourceIdScope })), (input.ResourceTypesScope !== undefined &&
|
|
7310
|
-
input.ResourceTypesScope !== null && {
|
|
7215
|
+
})), (input.PolicyRuntime != null && { PolicyRuntime: input.PolicyRuntime })), (input.PolicyText != null && { PolicyText: input.PolicyText })), (input.ResourceIdScope != null && { ResourceIdScope: input.ResourceIdScope })), (input.ResourceTypesScope != null && {
|
|
7311
7216
|
ResourceTypesScope: serializeAws_json1_1ResourceTypesScope(input.ResourceTypesScope, context),
|
|
7312
|
-
})), (input.TagKeyScope
|
|
7217
|
+
})), (input.TagKeyScope != null && { TagKeyScope: input.TagKeyScope })), (input.TagValueScope != null && { TagValueScope: input.TagValueScope }));
|
|
7313
7218
|
};
|
|
7314
7219
|
var serializeAws_json1_1OrganizationCustomRuleMetadata = function (input, context) {
|
|
7315
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
7316
|
-
input.InputParameters !== null && { InputParameters: input.InputParameters })), (input.LambdaFunctionArn !== undefined &&
|
|
7317
|
-
input.LambdaFunctionArn !== null && { LambdaFunctionArn: input.LambdaFunctionArn })), (input.MaximumExecutionFrequency !== undefined &&
|
|
7318
|
-
input.MaximumExecutionFrequency !== null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.OrganizationConfigRuleTriggerTypes !== undefined &&
|
|
7319
|
-
input.OrganizationConfigRuleTriggerTypes !== null && {
|
|
7220
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.InputParameters != null && { InputParameters: input.InputParameters })), (input.LambdaFunctionArn != null && { LambdaFunctionArn: input.LambdaFunctionArn })), (input.MaximumExecutionFrequency != null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.OrganizationConfigRuleTriggerTypes != null && {
|
|
7320
7221
|
OrganizationConfigRuleTriggerTypes: serializeAws_json1_1OrganizationConfigRuleTriggerTypes(input.OrganizationConfigRuleTriggerTypes, context),
|
|
7321
|
-
})), (input.ResourceIdScope
|
|
7322
|
-
input.ResourceIdScope !== null && { ResourceIdScope: input.ResourceIdScope })), (input.ResourceTypesScope !== undefined &&
|
|
7323
|
-
input.ResourceTypesScope !== null && {
|
|
7222
|
+
})), (input.ResourceIdScope != null && { ResourceIdScope: input.ResourceIdScope })), (input.ResourceTypesScope != null && {
|
|
7324
7223
|
ResourceTypesScope: serializeAws_json1_1ResourceTypesScope(input.ResourceTypesScope, context),
|
|
7325
|
-
})), (input.TagKeyScope
|
|
7224
|
+
})), (input.TagKeyScope != null && { TagKeyScope: input.TagKeyScope })), (input.TagValueScope != null && { TagValueScope: input.TagValueScope }));
|
|
7326
7225
|
};
|
|
7327
7226
|
var serializeAws_json1_1OrganizationManagedRuleMetadata = function (input, context) {
|
|
7328
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
7329
|
-
input.InputParameters !== null && { InputParameters: input.InputParameters })), (input.MaximumExecutionFrequency !== undefined &&
|
|
7330
|
-
input.MaximumExecutionFrequency !== null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.ResourceIdScope !== undefined &&
|
|
7331
|
-
input.ResourceIdScope !== null && { ResourceIdScope: input.ResourceIdScope })), (input.ResourceTypesScope !== undefined &&
|
|
7332
|
-
input.ResourceTypesScope !== null && {
|
|
7227
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.InputParameters != null && { InputParameters: input.InputParameters })), (input.MaximumExecutionFrequency != null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.ResourceIdScope != null && { ResourceIdScope: input.ResourceIdScope })), (input.ResourceTypesScope != null && {
|
|
7333
7228
|
ResourceTypesScope: serializeAws_json1_1ResourceTypesScope(input.ResourceTypesScope, context),
|
|
7334
|
-
})), (input.RuleIdentifier
|
|
7335
|
-
input.RuleIdentifier !== null && { RuleIdentifier: input.RuleIdentifier })), (input.TagKeyScope !== undefined && input.TagKeyScope !== null && { TagKeyScope: input.TagKeyScope })), (input.TagValueScope !== undefined && input.TagValueScope !== null && { TagValueScope: input.TagValueScope }));
|
|
7229
|
+
})), (input.RuleIdentifier != null && { RuleIdentifier: input.RuleIdentifier })), (input.TagKeyScope != null && { TagKeyScope: input.TagKeyScope })), (input.TagValueScope != null && { TagValueScope: input.TagValueScope }));
|
|
7336
7230
|
};
|
|
7337
7231
|
var serializeAws_json1_1OrganizationResourceDetailedStatusFilters = function (input, context) {
|
|
7338
|
-
return __assign(__assign({}, (input.AccountId
|
|
7232
|
+
return __assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.Status != null && { Status: input.Status }));
|
|
7339
7233
|
};
|
|
7340
7234
|
var serializeAws_json1_1PutAggregationAuthorizationRequest = function (input, context) {
|
|
7341
|
-
return __assign(__assign(__assign({}, (input.AuthorizedAccountId
|
|
7342
|
-
input.AuthorizedAccountId !== null && { AuthorizedAccountId: input.AuthorizedAccountId })), (input.AuthorizedAwsRegion !== undefined &&
|
|
7343
|
-
input.AuthorizedAwsRegion !== null && { AuthorizedAwsRegion: input.AuthorizedAwsRegion })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }));
|
|
7235
|
+
return __assign(__assign(__assign({}, (input.AuthorizedAccountId != null && { AuthorizedAccountId: input.AuthorizedAccountId })), (input.AuthorizedAwsRegion != null && { AuthorizedAwsRegion: input.AuthorizedAwsRegion })), (input.Tags != null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }));
|
|
7344
7236
|
};
|
|
7345
7237
|
var serializeAws_json1_1PutConfigRuleRequest = function (input, context) {
|
|
7346
|
-
return __assign(__assign({}, (input.ConfigRule
|
|
7347
|
-
input.ConfigRule !== null && { ConfigRule: serializeAws_json1_1ConfigRule(input.ConfigRule, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }));
|
|
7238
|
+
return __assign(__assign({}, (input.ConfigRule != null && { ConfigRule: serializeAws_json1_1ConfigRule(input.ConfigRule, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }));
|
|
7348
7239
|
};
|
|
7349
7240
|
var serializeAws_json1_1PutConfigurationAggregatorRequest = function (input, context) {
|
|
7350
|
-
return __assign(__assign(__assign(__assign({}, (input.AccountAggregationSources
|
|
7351
|
-
input.AccountAggregationSources !== null && {
|
|
7241
|
+
return __assign(__assign(__assign(__assign({}, (input.AccountAggregationSources != null && {
|
|
7352
7242
|
AccountAggregationSources: serializeAws_json1_1AccountAggregationSourceList(input.AccountAggregationSources, context),
|
|
7353
|
-
})), (input.ConfigurationAggregatorName
|
|
7354
|
-
|
|
7355
|
-
|
|
7243
|
+
})), (input.ConfigurationAggregatorName != null && {
|
|
7244
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7245
|
+
})), (input.OrganizationAggregationSource != null && {
|
|
7356
7246
|
OrganizationAggregationSource: serializeAws_json1_1OrganizationAggregationSource(input.OrganizationAggregationSource, context),
|
|
7357
|
-
})), (input.Tags
|
|
7247
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }));
|
|
7358
7248
|
};
|
|
7359
7249
|
var serializeAws_json1_1PutConfigurationRecorderRequest = function (input, context) {
|
|
7360
|
-
return __assign({}, (input.ConfigurationRecorder
|
|
7361
|
-
input.ConfigurationRecorder !== null && {
|
|
7250
|
+
return __assign({}, (input.ConfigurationRecorder != null && {
|
|
7362
7251
|
ConfigurationRecorder: serializeAws_json1_1ConfigurationRecorder(input.ConfigurationRecorder, context),
|
|
7363
7252
|
}));
|
|
7364
7253
|
};
|
|
7365
7254
|
var serializeAws_json1_1PutConformancePackRequest = function (input, context) {
|
|
7366
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConformancePackInputParameters
|
|
7367
|
-
input.ConformancePackInputParameters !== null && {
|
|
7255
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConformancePackInputParameters != null && {
|
|
7368
7256
|
ConformancePackInputParameters: serializeAws_json1_1ConformancePackInputParameters(input.ConformancePackInputParameters, context),
|
|
7369
|
-
})), (input.ConformancePackName
|
|
7370
|
-
input.ConformancePackName !== null && { ConformancePackName: input.ConformancePackName })), (input.DeliveryS3Bucket !== undefined &&
|
|
7371
|
-
input.DeliveryS3Bucket !== null && { DeliveryS3Bucket: input.DeliveryS3Bucket })), (input.DeliveryS3KeyPrefix !== undefined &&
|
|
7372
|
-
input.DeliveryS3KeyPrefix !== null && { DeliveryS3KeyPrefix: input.DeliveryS3KeyPrefix })), (input.TemplateBody !== undefined && input.TemplateBody !== null && { TemplateBody: input.TemplateBody })), (input.TemplateS3Uri !== undefined && input.TemplateS3Uri !== null && { TemplateS3Uri: input.TemplateS3Uri }));
|
|
7257
|
+
})), (input.ConformancePackName != null && { ConformancePackName: input.ConformancePackName })), (input.DeliveryS3Bucket != null && { DeliveryS3Bucket: input.DeliveryS3Bucket })), (input.DeliveryS3KeyPrefix != null && { DeliveryS3KeyPrefix: input.DeliveryS3KeyPrefix })), (input.TemplateBody != null && { TemplateBody: input.TemplateBody })), (input.TemplateS3Uri != null && { TemplateS3Uri: input.TemplateS3Uri }));
|
|
7373
7258
|
};
|
|
7374
7259
|
var serializeAws_json1_1PutDeliveryChannelRequest = function (input, context) {
|
|
7375
|
-
return __assign({}, (input.DeliveryChannel
|
|
7376
|
-
input.DeliveryChannel !== null && {
|
|
7260
|
+
return __assign({}, (input.DeliveryChannel != null && {
|
|
7377
7261
|
DeliveryChannel: serializeAws_json1_1DeliveryChannel(input.DeliveryChannel, context),
|
|
7378
7262
|
}));
|
|
7379
7263
|
};
|
|
7380
7264
|
var serializeAws_json1_1PutEvaluationsRequest = function (input, context) {
|
|
7381
|
-
return __assign(__assign(__assign({}, (input.Evaluations
|
|
7382
|
-
input.Evaluations !== null && { Evaluations: serializeAws_json1_1Evaluations(input.Evaluations, context) })), (input.ResultToken !== undefined && input.ResultToken !== null && { ResultToken: input.ResultToken })), (input.TestMode !== undefined && input.TestMode !== null && { TestMode: input.TestMode }));
|
|
7265
|
+
return __assign(__assign(__assign({}, (input.Evaluations != null && { Evaluations: serializeAws_json1_1Evaluations(input.Evaluations, context) })), (input.ResultToken != null && { ResultToken: input.ResultToken })), (input.TestMode != null && { TestMode: input.TestMode }));
|
|
7383
7266
|
};
|
|
7384
7267
|
var serializeAws_json1_1PutExternalEvaluationRequest = function (input, context) {
|
|
7385
|
-
return __assign(__assign({}, (input.ConfigRuleName
|
|
7386
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.ExternalEvaluation !== undefined &&
|
|
7387
|
-
input.ExternalEvaluation !== null && {
|
|
7268
|
+
return __assign(__assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.ExternalEvaluation != null && {
|
|
7388
7269
|
ExternalEvaluation: serializeAws_json1_1ExternalEvaluation(input.ExternalEvaluation, context),
|
|
7389
7270
|
}));
|
|
7390
7271
|
};
|
|
7391
7272
|
var serializeAws_json1_1PutOrganizationConfigRuleRequest = function (input, context) {
|
|
7392
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ExcludedAccounts
|
|
7393
|
-
input.ExcludedAccounts !== null && {
|
|
7273
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ExcludedAccounts != null && {
|
|
7394
7274
|
ExcludedAccounts: serializeAws_json1_1ExcludedAccounts(input.ExcludedAccounts, context),
|
|
7395
|
-
})), (input.OrganizationConfigRuleName
|
|
7396
|
-
input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName })), (input.OrganizationCustomPolicyRuleMetadata !== undefined &&
|
|
7397
|
-
input.OrganizationCustomPolicyRuleMetadata !== null && {
|
|
7275
|
+
})), (input.OrganizationConfigRuleName != null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName })), (input.OrganizationCustomPolicyRuleMetadata != null && {
|
|
7398
7276
|
OrganizationCustomPolicyRuleMetadata: serializeAws_json1_1OrganizationCustomPolicyRuleMetadata(input.OrganizationCustomPolicyRuleMetadata, context),
|
|
7399
|
-
})), (input.OrganizationCustomRuleMetadata
|
|
7400
|
-
input.OrganizationCustomRuleMetadata !== null && {
|
|
7277
|
+
})), (input.OrganizationCustomRuleMetadata != null && {
|
|
7401
7278
|
OrganizationCustomRuleMetadata: serializeAws_json1_1OrganizationCustomRuleMetadata(input.OrganizationCustomRuleMetadata, context),
|
|
7402
|
-
})), (input.OrganizationManagedRuleMetadata
|
|
7403
|
-
input.OrganizationManagedRuleMetadata !== null && {
|
|
7279
|
+
})), (input.OrganizationManagedRuleMetadata != null && {
|
|
7404
7280
|
OrganizationManagedRuleMetadata: serializeAws_json1_1OrganizationManagedRuleMetadata(input.OrganizationManagedRuleMetadata, context),
|
|
7405
7281
|
}));
|
|
7406
7282
|
};
|
|
7407
7283
|
var serializeAws_json1_1PutOrganizationConformancePackRequest = function (input, context) {
|
|
7408
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConformancePackInputParameters
|
|
7409
|
-
input.ConformancePackInputParameters !== null && {
|
|
7284
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConformancePackInputParameters != null && {
|
|
7410
7285
|
ConformancePackInputParameters: serializeAws_json1_1ConformancePackInputParameters(input.ConformancePackInputParameters, context),
|
|
7411
|
-
})), (input.DeliveryS3Bucket
|
|
7412
|
-
input.DeliveryS3Bucket !== null && { DeliveryS3Bucket: input.DeliveryS3Bucket })), (input.DeliveryS3KeyPrefix !== undefined &&
|
|
7413
|
-
input.DeliveryS3KeyPrefix !== null && { DeliveryS3KeyPrefix: input.DeliveryS3KeyPrefix })), (input.ExcludedAccounts !== undefined &&
|
|
7414
|
-
input.ExcludedAccounts !== null && {
|
|
7286
|
+
})), (input.DeliveryS3Bucket != null && { DeliveryS3Bucket: input.DeliveryS3Bucket })), (input.DeliveryS3KeyPrefix != null && { DeliveryS3KeyPrefix: input.DeliveryS3KeyPrefix })), (input.ExcludedAccounts != null && {
|
|
7415
7287
|
ExcludedAccounts: serializeAws_json1_1ExcludedAccounts(input.ExcludedAccounts, context),
|
|
7416
|
-
})), (input.OrganizationConformancePackName
|
|
7417
|
-
input.OrganizationConformancePackName !== null && {
|
|
7288
|
+
})), (input.OrganizationConformancePackName != null && {
|
|
7418
7289
|
OrganizationConformancePackName: input.OrganizationConformancePackName,
|
|
7419
|
-
})), (input.TemplateBody
|
|
7290
|
+
})), (input.TemplateBody != null && { TemplateBody: input.TemplateBody })), (input.TemplateS3Uri != null && { TemplateS3Uri: input.TemplateS3Uri }));
|
|
7420
7291
|
};
|
|
7421
7292
|
var serializeAws_json1_1PutRemediationConfigurationsRequest = function (input, context) {
|
|
7422
|
-
return __assign({}, (input.RemediationConfigurations
|
|
7423
|
-
input.RemediationConfigurations !== null && {
|
|
7293
|
+
return __assign({}, (input.RemediationConfigurations != null && {
|
|
7424
7294
|
RemediationConfigurations: serializeAws_json1_1RemediationConfigurations(input.RemediationConfigurations, context),
|
|
7425
7295
|
}));
|
|
7426
7296
|
};
|
|
7427
7297
|
var serializeAws_json1_1PutRemediationExceptionsRequest = function (input, context) {
|
|
7428
|
-
return __assign(__assign(__assign(__assign({}, (input.ConfigRuleName
|
|
7429
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.ExpirationTime !== undefined &&
|
|
7430
|
-
input.ExpirationTime !== null && { ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000) })), (input.Message !== undefined && input.Message !== null && { Message: input.Message })), (input.ResourceKeys !== undefined &&
|
|
7431
|
-
input.ResourceKeys !== null && {
|
|
7298
|
+
return __assign(__assign(__assign(__assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.ExpirationTime != null && { ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000) })), (input.Message != null && { Message: input.Message })), (input.ResourceKeys != null && {
|
|
7432
7299
|
ResourceKeys: serializeAws_json1_1RemediationExceptionResourceKeys(input.ResourceKeys, context),
|
|
7433
7300
|
}));
|
|
7434
7301
|
};
|
|
7435
7302
|
var serializeAws_json1_1PutResourceConfigRequest = function (input, context) {
|
|
7436
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration
|
|
7437
|
-
input.SchemaVersionId !== null && { SchemaVersionId: input.SchemaVersionId })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
7303
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && { Configuration: input.Configuration })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceName != null && { ResourceName: input.ResourceName })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.SchemaVersionId != null && { SchemaVersionId: input.SchemaVersionId })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
7438
7304
|
};
|
|
7439
7305
|
var serializeAws_json1_1PutRetentionConfigurationRequest = function (input, context) {
|
|
7440
|
-
return __assign({}, (input.RetentionPeriodInDays
|
|
7441
|
-
input.RetentionPeriodInDays !== null && { RetentionPeriodInDays: input.RetentionPeriodInDays }));
|
|
7306
|
+
return __assign({}, (input.RetentionPeriodInDays != null && { RetentionPeriodInDays: input.RetentionPeriodInDays }));
|
|
7442
7307
|
};
|
|
7443
7308
|
var serializeAws_json1_1PutStoredQueryRequest = function (input, context) {
|
|
7444
|
-
return __assign(__assign({}, (input.StoredQuery
|
|
7445
|
-
input.StoredQuery !== null && { StoredQuery: serializeAws_json1_1StoredQuery(input.StoredQuery, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }));
|
|
7309
|
+
return __assign(__assign({}, (input.StoredQuery != null && { StoredQuery: serializeAws_json1_1StoredQuery(input.StoredQuery, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }));
|
|
7446
7310
|
};
|
|
7447
7311
|
var serializeAws_json1_1RecordingGroup = function (input, context) {
|
|
7448
|
-
return __assign(__assign(__assign({}, (input.allSupported
|
|
7449
|
-
input.includeGlobalResourceTypes !== null && { includeGlobalResourceTypes: input.includeGlobalResourceTypes })), (input.resourceTypes !== undefined &&
|
|
7450
|
-
input.resourceTypes !== null && {
|
|
7312
|
+
return __assign(__assign(__assign({}, (input.allSupported != null && { allSupported: input.allSupported })), (input.includeGlobalResourceTypes != null && { includeGlobalResourceTypes: input.includeGlobalResourceTypes })), (input.resourceTypes != null && {
|
|
7451
7313
|
resourceTypes: serializeAws_json1_1ResourceTypeList(input.resourceTypes, context),
|
|
7452
7314
|
}));
|
|
7453
7315
|
};
|
|
@@ -7462,17 +7324,11 @@ var serializeAws_json1_1ReevaluateConfigRuleNames = function (input, context) {
|
|
|
7462
7324
|
});
|
|
7463
7325
|
};
|
|
7464
7326
|
var serializeAws_json1_1RemediationConfiguration = function (input, context) {
|
|
7465
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Arn
|
|
7466
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.CreatedByService !== undefined &&
|
|
7467
|
-
input.CreatedByService !== null && { CreatedByService: input.CreatedByService })), (input.ExecutionControls !== undefined &&
|
|
7468
|
-
input.ExecutionControls !== null && {
|
|
7327
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.Automatic != null && { Automatic: input.Automatic })), (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.CreatedByService != null && { CreatedByService: input.CreatedByService })), (input.ExecutionControls != null && {
|
|
7469
7328
|
ExecutionControls: serializeAws_json1_1ExecutionControls(input.ExecutionControls, context),
|
|
7470
|
-
})), (input.MaximumAutomaticAttempts
|
|
7471
|
-
input.MaximumAutomaticAttempts !== null && { MaximumAutomaticAttempts: input.MaximumAutomaticAttempts })), (input.Parameters !== undefined &&
|
|
7472
|
-
input.Parameters !== null && {
|
|
7329
|
+
})), (input.MaximumAutomaticAttempts != null && { MaximumAutomaticAttempts: input.MaximumAutomaticAttempts })), (input.Parameters != null && {
|
|
7473
7330
|
Parameters: serializeAws_json1_1RemediationParameters(input.Parameters, context),
|
|
7474
|
-
})), (input.ResourceType
|
|
7475
|
-
input.RetryAttemptSeconds !== null && { RetryAttemptSeconds: input.RetryAttemptSeconds })), (input.TargetId !== undefined && input.TargetId !== null && { TargetId: input.TargetId })), (input.TargetType !== undefined && input.TargetType !== null && { TargetType: input.TargetType })), (input.TargetVersion !== undefined && input.TargetVersion !== null && { TargetVersion: input.TargetVersion }));
|
|
7331
|
+
})), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.RetryAttemptSeconds != null && { RetryAttemptSeconds: input.RetryAttemptSeconds })), (input.TargetId != null && { TargetId: input.TargetId })), (input.TargetType != null && { TargetType: input.TargetType })), (input.TargetVersion != null && { TargetVersion: input.TargetVersion }));
|
|
7476
7332
|
};
|
|
7477
7333
|
var serializeAws_json1_1RemediationConfigurations = function (input, context) {
|
|
7478
7334
|
return input
|
|
@@ -7485,7 +7341,7 @@ var serializeAws_json1_1RemediationConfigurations = function (input, context) {
|
|
|
7485
7341
|
});
|
|
7486
7342
|
};
|
|
7487
7343
|
var serializeAws_json1_1RemediationExceptionResourceKey = function (input, context) {
|
|
7488
|
-
return __assign(__assign({}, (input.ResourceId
|
|
7344
|
+
return __assign(__assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
7489
7345
|
};
|
|
7490
7346
|
var serializeAws_json1_1RemediationExceptionResourceKeys = function (input, context) {
|
|
7491
7347
|
return input
|
|
@@ -7508,17 +7364,15 @@ var serializeAws_json1_1RemediationParameters = function (input, context) {
|
|
|
7508
7364
|
}, {});
|
|
7509
7365
|
};
|
|
7510
7366
|
var serializeAws_json1_1RemediationParameterValue = function (input, context) {
|
|
7511
|
-
return __assign(__assign({}, (input.ResourceValue
|
|
7512
|
-
input.ResourceValue !== null && {
|
|
7367
|
+
return __assign(__assign({}, (input.ResourceValue != null && {
|
|
7513
7368
|
ResourceValue: serializeAws_json1_1ResourceValue(input.ResourceValue, context),
|
|
7514
|
-
})), (input.StaticValue
|
|
7515
|
-
input.StaticValue !== null && { StaticValue: serializeAws_json1_1StaticValue(input.StaticValue, context) }));
|
|
7369
|
+
})), (input.StaticValue != null && { StaticValue: serializeAws_json1_1StaticValue(input.StaticValue, context) }));
|
|
7516
7370
|
};
|
|
7517
7371
|
var serializeAws_json1_1ResourceCountFilters = function (input, context) {
|
|
7518
|
-
return __assign(__assign(__assign({}, (input.AccountId
|
|
7372
|
+
return __assign(__assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.Region != null && { Region: input.Region })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
7519
7373
|
};
|
|
7520
7374
|
var serializeAws_json1_1ResourceFilters = function (input, context) {
|
|
7521
|
-
return __assign(__assign(__assign(__assign({}, (input.AccountId
|
|
7375
|
+
return __assign(__assign(__assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.Region != null && { Region: input.Region })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceName != null && { ResourceName: input.ResourceName }));
|
|
7522
7376
|
};
|
|
7523
7377
|
var serializeAws_json1_1ResourceIdentifiersList = function (input, context) {
|
|
7524
7378
|
return input
|
|
@@ -7541,7 +7395,7 @@ var serializeAws_json1_1ResourceIdList = function (input, context) {
|
|
|
7541
7395
|
});
|
|
7542
7396
|
};
|
|
7543
7397
|
var serializeAws_json1_1ResourceKey = function (input, context) {
|
|
7544
|
-
return __assign(__assign({}, (input.resourceId
|
|
7398
|
+
return __assign(__assign({}, (input.resourceId != null && { resourceId: input.resourceId })), (input.resourceType != null && { resourceType: input.resourceType }));
|
|
7545
7399
|
};
|
|
7546
7400
|
var serializeAws_json1_1ResourceKeys = function (input, context) {
|
|
7547
7401
|
return input
|
|
@@ -7584,7 +7438,7 @@ var serializeAws_json1_1ResourceTypesScope = function (input, context) {
|
|
|
7584
7438
|
});
|
|
7585
7439
|
};
|
|
7586
7440
|
var serializeAws_json1_1ResourceValue = function (input, context) {
|
|
7587
|
-
return __assign({}, (input.Value
|
|
7441
|
+
return __assign({}, (input.Value != null && { Value: input.Value }));
|
|
7588
7442
|
};
|
|
7589
7443
|
var serializeAws_json1_1RetentionConfigurationNameList = function (input, context) {
|
|
7590
7444
|
return input
|
|
@@ -7597,32 +7451,27 @@ var serializeAws_json1_1RetentionConfigurationNameList = function (input, contex
|
|
|
7597
7451
|
});
|
|
7598
7452
|
};
|
|
7599
7453
|
var serializeAws_json1_1Scope = function (input, context) {
|
|
7600
|
-
return __assign(__assign(__assign(__assign({}, (input.ComplianceResourceId
|
|
7601
|
-
input.ComplianceResourceId !== null && { ComplianceResourceId: input.ComplianceResourceId })), (input.ComplianceResourceTypes !== undefined &&
|
|
7602
|
-
input.ComplianceResourceTypes !== null && {
|
|
7454
|
+
return __assign(__assign(__assign(__assign({}, (input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId })), (input.ComplianceResourceTypes != null && {
|
|
7603
7455
|
ComplianceResourceTypes: serializeAws_json1_1ComplianceResourceTypes(input.ComplianceResourceTypes, context),
|
|
7604
|
-
})), (input.TagKey
|
|
7456
|
+
})), (input.TagKey != null && { TagKey: input.TagKey })), (input.TagValue != null && { TagValue: input.TagValue }));
|
|
7605
7457
|
};
|
|
7606
7458
|
var serializeAws_json1_1SelectAggregateResourceConfigRequest = function (input, context) {
|
|
7607
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName
|
|
7608
|
-
|
|
7459
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationAggregatorName != null && {
|
|
7460
|
+
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7461
|
+
})), (input.Expression != null && { Expression: input.Expression })), (input.Limit != null && { Limit: input.Limit })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7609
7462
|
};
|
|
7610
7463
|
var serializeAws_json1_1SelectResourceConfigRequest = function (input, context) {
|
|
7611
|
-
return __assign(__assign(__assign({}, (input.Expression
|
|
7464
|
+
return __assign(__assign(__assign({}, (input.Expression != null && { Expression: input.Expression })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7612
7465
|
};
|
|
7613
7466
|
var serializeAws_json1_1Source = function (input, context) {
|
|
7614
|
-
return __assign(__assign(__assign(__assign({}, (input.CustomPolicyDetails
|
|
7615
|
-
input.CustomPolicyDetails !== null && {
|
|
7467
|
+
return __assign(__assign(__assign(__assign({}, (input.CustomPolicyDetails != null && {
|
|
7616
7468
|
CustomPolicyDetails: serializeAws_json1_1CustomPolicyDetails(input.CustomPolicyDetails, context),
|
|
7617
|
-
})), (input.Owner
|
|
7618
|
-
input.SourceDetails !== null && {
|
|
7469
|
+
})), (input.Owner != null && { Owner: input.Owner })), (input.SourceDetails != null && {
|
|
7619
7470
|
SourceDetails: serializeAws_json1_1SourceDetails(input.SourceDetails, context),
|
|
7620
|
-
})), (input.SourceIdentifier
|
|
7621
|
-
input.SourceIdentifier !== null && { SourceIdentifier: input.SourceIdentifier }));
|
|
7471
|
+
})), (input.SourceIdentifier != null && { SourceIdentifier: input.SourceIdentifier }));
|
|
7622
7472
|
};
|
|
7623
7473
|
var serializeAws_json1_1SourceDetail = function (input, context) {
|
|
7624
|
-
return __assign(__assign(__assign({}, (input.EventSource
|
|
7625
|
-
input.MaximumExecutionFrequency !== null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.MessageType !== undefined && input.MessageType !== null && { MessageType: input.MessageType }));
|
|
7474
|
+
return __assign(__assign(__assign({}, (input.EventSource != null && { EventSource: input.EventSource })), (input.MaximumExecutionFrequency != null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.MessageType != null && { MessageType: input.MessageType }));
|
|
7626
7475
|
};
|
|
7627
7476
|
var serializeAws_json1_1SourceDetails = function (input, context) {
|
|
7628
7477
|
return input
|
|
@@ -7635,26 +7484,20 @@ var serializeAws_json1_1SourceDetails = function (input, context) {
|
|
|
7635
7484
|
});
|
|
7636
7485
|
};
|
|
7637
7486
|
var serializeAws_json1_1SsmControls = function (input, context) {
|
|
7638
|
-
return __assign(__assign({}, (input.ConcurrentExecutionRatePercentage
|
|
7639
|
-
input.ConcurrentExecutionRatePercentage !== null && {
|
|
7487
|
+
return __assign(__assign({}, (input.ConcurrentExecutionRatePercentage != null && {
|
|
7640
7488
|
ConcurrentExecutionRatePercentage: input.ConcurrentExecutionRatePercentage,
|
|
7641
|
-
})), (input.ErrorPercentage
|
|
7642
|
-
input.ErrorPercentage !== null && { ErrorPercentage: input.ErrorPercentage }));
|
|
7489
|
+
})), (input.ErrorPercentage != null && { ErrorPercentage: input.ErrorPercentage }));
|
|
7643
7490
|
};
|
|
7644
7491
|
var serializeAws_json1_1StartConfigRulesEvaluationRequest = function (input, context) {
|
|
7645
|
-
return __assign({}, (input.ConfigRuleNames
|
|
7646
|
-
input.ConfigRuleNames !== null && {
|
|
7492
|
+
return __assign({}, (input.ConfigRuleNames != null && {
|
|
7647
7493
|
ConfigRuleNames: serializeAws_json1_1ReevaluateConfigRuleNames(input.ConfigRuleNames, context),
|
|
7648
7494
|
}));
|
|
7649
7495
|
};
|
|
7650
7496
|
var serializeAws_json1_1StartConfigurationRecorderRequest = function (input, context) {
|
|
7651
|
-
return __assign({}, (input.ConfigurationRecorderName
|
|
7652
|
-
input.ConfigurationRecorderName !== null && { ConfigurationRecorderName: input.ConfigurationRecorderName }));
|
|
7497
|
+
return __assign({}, (input.ConfigurationRecorderName != null && { ConfigurationRecorderName: input.ConfigurationRecorderName }));
|
|
7653
7498
|
};
|
|
7654
7499
|
var serializeAws_json1_1StartRemediationExecutionRequest = function (input, context) {
|
|
7655
|
-
return __assign(__assign({}, (input.ConfigRuleName
|
|
7656
|
-
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName })), (input.ResourceKeys !== undefined &&
|
|
7657
|
-
input.ResourceKeys !== null && { ResourceKeys: serializeAws_json1_1ResourceKeys(input.ResourceKeys, context) }));
|
|
7500
|
+
return __assign(__assign({}, (input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName })), (input.ResourceKeys != null && { ResourceKeys: serializeAws_json1_1ResourceKeys(input.ResourceKeys, context) }));
|
|
7658
7501
|
};
|
|
7659
7502
|
var serializeAws_json1_1StaticParameterValues = function (input, context) {
|
|
7660
7503
|
return input
|
|
@@ -7667,22 +7510,19 @@ var serializeAws_json1_1StaticParameterValues = function (input, context) {
|
|
|
7667
7510
|
});
|
|
7668
7511
|
};
|
|
7669
7512
|
var serializeAws_json1_1StaticValue = function (input, context) {
|
|
7670
|
-
return __assign({}, (input.Values
|
|
7671
|
-
input.Values !== null && { Values: serializeAws_json1_1StaticParameterValues(input.Values, context) }));
|
|
7513
|
+
return __assign({}, (input.Values != null && { Values: serializeAws_json1_1StaticParameterValues(input.Values, context) }));
|
|
7672
7514
|
};
|
|
7673
7515
|
var serializeAws_json1_1StatusDetailFilters = function (input, context) {
|
|
7674
|
-
return __assign(__assign({}, (input.AccountId
|
|
7675
|
-
input.MemberAccountRuleStatus !== null && { MemberAccountRuleStatus: input.MemberAccountRuleStatus }));
|
|
7516
|
+
return __assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.MemberAccountRuleStatus != null && { MemberAccountRuleStatus: input.MemberAccountRuleStatus }));
|
|
7676
7517
|
};
|
|
7677
7518
|
var serializeAws_json1_1StopConfigurationRecorderRequest = function (input, context) {
|
|
7678
|
-
return __assign({}, (input.ConfigurationRecorderName
|
|
7679
|
-
input.ConfigurationRecorderName !== null && { ConfigurationRecorderName: input.ConfigurationRecorderName }));
|
|
7519
|
+
return __assign({}, (input.ConfigurationRecorderName != null && { ConfigurationRecorderName: input.ConfigurationRecorderName }));
|
|
7680
7520
|
};
|
|
7681
7521
|
var serializeAws_json1_1StoredQuery = function (input, context) {
|
|
7682
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
7522
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Expression != null && { Expression: input.Expression })), (input.QueryArn != null && { QueryArn: input.QueryArn })), (input.QueryId != null && { QueryId: input.QueryId })), (input.QueryName != null && { QueryName: input.QueryName }));
|
|
7683
7523
|
};
|
|
7684
7524
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
7685
|
-
return __assign(__assign({}, (input.Key
|
|
7525
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
7686
7526
|
};
|
|
7687
7527
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
7688
7528
|
return input
|
|
@@ -7705,7 +7545,7 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
7705
7545
|
});
|
|
7706
7546
|
};
|
|
7707
7547
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
7708
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
7548
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
7709
7549
|
};
|
|
7710
7550
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
7711
7551
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -7728,18 +7568,15 @@ var serializeAws_json1_1TagsList = function (input, context) {
|
|
|
7728
7568
|
});
|
|
7729
7569
|
};
|
|
7730
7570
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
7731
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
7732
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
7571
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
7733
7572
|
};
|
|
7734
7573
|
var deserializeAws_json1_1AccountAggregationSource = function (output, context) {
|
|
7735
7574
|
return {
|
|
7736
|
-
AccountIds: output.AccountIds
|
|
7575
|
+
AccountIds: output.AccountIds != null
|
|
7737
7576
|
? deserializeAws_json1_1AccountAggregationSourceAccountList(output.AccountIds, context)
|
|
7738
7577
|
: undefined,
|
|
7739
7578
|
AllAwsRegions: __expectBoolean(output.AllAwsRegions),
|
|
7740
|
-
AwsRegions: output.AwsRegions
|
|
7741
|
-
? deserializeAws_json1_1AggregatorRegionList(output.AwsRegions, context)
|
|
7742
|
-
: undefined,
|
|
7579
|
+
AwsRegions: output.AwsRegions != null ? deserializeAws_json1_1AggregatorRegionList(output.AwsRegions, context) : undefined,
|
|
7743
7580
|
};
|
|
7744
7581
|
};
|
|
7745
7582
|
var deserializeAws_json1_1AccountAggregationSourceAccountList = function (output, context) {
|
|
@@ -7768,9 +7605,7 @@ var deserializeAws_json1_1AggregateComplianceByConfigRule = function (output, co
|
|
|
7768
7605
|
return {
|
|
7769
7606
|
AccountId: __expectString(output.AccountId),
|
|
7770
7607
|
AwsRegion: __expectString(output.AwsRegion),
|
|
7771
|
-
Compliance: output.Compliance
|
|
7772
|
-
? deserializeAws_json1_1Compliance(output.Compliance, context)
|
|
7773
|
-
: undefined,
|
|
7608
|
+
Compliance: output.Compliance != null ? deserializeAws_json1_1Compliance(output.Compliance, context) : undefined,
|
|
7774
7609
|
ConfigRuleName: __expectString(output.ConfigRuleName),
|
|
7775
7610
|
};
|
|
7776
7611
|
};
|
|
@@ -7789,7 +7624,7 @@ var deserializeAws_json1_1AggregateComplianceByConformancePack = function (outpu
|
|
|
7789
7624
|
return {
|
|
7790
7625
|
AccountId: __expectString(output.AccountId),
|
|
7791
7626
|
AwsRegion: __expectString(output.AwsRegion),
|
|
7792
|
-
Compliance: output.Compliance
|
|
7627
|
+
Compliance: output.Compliance != null
|
|
7793
7628
|
? deserializeAws_json1_1AggregateConformancePackCompliance(output.Compliance, context)
|
|
7794
7629
|
: undefined,
|
|
7795
7630
|
ConformancePackName: __expectString(output.ConformancePackName),
|
|
@@ -7808,7 +7643,7 @@ var deserializeAws_json1_1AggregateComplianceByConformancePackList = function (o
|
|
|
7808
7643
|
};
|
|
7809
7644
|
var deserializeAws_json1_1AggregateComplianceCount = function (output, context) {
|
|
7810
7645
|
return {
|
|
7811
|
-
ComplianceSummary: output.ComplianceSummary
|
|
7646
|
+
ComplianceSummary: output.ComplianceSummary != null
|
|
7812
7647
|
? deserializeAws_json1_1ComplianceSummary(output.ComplianceSummary, context)
|
|
7813
7648
|
: undefined,
|
|
7814
7649
|
GroupName: __expectString(output.GroupName),
|
|
@@ -7841,7 +7676,7 @@ var deserializeAws_json1_1AggregateConformancePackComplianceCount = function (ou
|
|
|
7841
7676
|
};
|
|
7842
7677
|
var deserializeAws_json1_1AggregateConformancePackComplianceSummary = function (output, context) {
|
|
7843
7678
|
return {
|
|
7844
|
-
ComplianceSummary: output.ComplianceSummary
|
|
7679
|
+
ComplianceSummary: output.ComplianceSummary != null
|
|
7845
7680
|
? deserializeAws_json1_1AggregateConformancePackComplianceCount(output.ComplianceSummary, context)
|
|
7846
7681
|
: undefined,
|
|
7847
7682
|
GroupName: __expectString(output.GroupName),
|
|
@@ -7864,7 +7699,7 @@ var deserializeAws_json1_1AggregatedSourceStatus = function (output, context) {
|
|
|
7864
7699
|
LastErrorCode: __expectString(output.LastErrorCode),
|
|
7865
7700
|
LastErrorMessage: __expectString(output.LastErrorMessage),
|
|
7866
7701
|
LastUpdateStatus: __expectString(output.LastUpdateStatus),
|
|
7867
|
-
LastUpdateTime: output.LastUpdateTime
|
|
7702
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
7868
7703
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
7869
7704
|
: undefined,
|
|
7870
7705
|
SourceId: __expectString(output.SourceId),
|
|
@@ -7888,13 +7723,13 @@ var deserializeAws_json1_1AggregateEvaluationResult = function (output, context)
|
|
|
7888
7723
|
Annotation: __expectString(output.Annotation),
|
|
7889
7724
|
AwsRegion: __expectString(output.AwsRegion),
|
|
7890
7725
|
ComplianceType: __expectString(output.ComplianceType),
|
|
7891
|
-
ConfigRuleInvokedTime: output.ConfigRuleInvokedTime
|
|
7726
|
+
ConfigRuleInvokedTime: output.ConfigRuleInvokedTime != null
|
|
7892
7727
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ConfigRuleInvokedTime)))
|
|
7893
7728
|
: undefined,
|
|
7894
|
-
EvaluationResultIdentifier: output.EvaluationResultIdentifier
|
|
7729
|
+
EvaluationResultIdentifier: output.EvaluationResultIdentifier != null
|
|
7895
7730
|
? deserializeAws_json1_1EvaluationResultIdentifier(output.EvaluationResultIdentifier, context)
|
|
7896
7731
|
: undefined,
|
|
7897
|
-
ResultRecordedTime: output.ResultRecordedTime
|
|
7732
|
+
ResultRecordedTime: output.ResultRecordedTime != null
|
|
7898
7733
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResultRecordedTime)))
|
|
7899
7734
|
: undefined,
|
|
7900
7735
|
};
|
|
@@ -7924,7 +7759,7 @@ var deserializeAws_json1_1AggregationAuthorization = function (output, context)
|
|
|
7924
7759
|
AggregationAuthorizationArn: __expectString(output.AggregationAuthorizationArn),
|
|
7925
7760
|
AuthorizedAccountId: __expectString(output.AuthorizedAccountId),
|
|
7926
7761
|
AuthorizedAwsRegion: __expectString(output.AuthorizedAwsRegion),
|
|
7927
|
-
CreationTime: output.CreationTime
|
|
7762
|
+
CreationTime: output.CreationTime != null
|
|
7928
7763
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
7929
7764
|
: undefined,
|
|
7930
7765
|
};
|
|
@@ -7958,18 +7793,18 @@ var deserializeAws_json1_1BaseConfigurationItem = function (output, context) {
|
|
|
7958
7793
|
availabilityZone: __expectString(output.availabilityZone),
|
|
7959
7794
|
awsRegion: __expectString(output.awsRegion),
|
|
7960
7795
|
configuration: __expectString(output.configuration),
|
|
7961
|
-
configurationItemCaptureTime: output.configurationItemCaptureTime
|
|
7796
|
+
configurationItemCaptureTime: output.configurationItemCaptureTime != null
|
|
7962
7797
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.configurationItemCaptureTime)))
|
|
7963
7798
|
: undefined,
|
|
7964
7799
|
configurationItemStatus: __expectString(output.configurationItemStatus),
|
|
7965
7800
|
configurationStateId: __expectString(output.configurationStateId),
|
|
7966
|
-
resourceCreationTime: output.resourceCreationTime
|
|
7801
|
+
resourceCreationTime: output.resourceCreationTime != null
|
|
7967
7802
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.resourceCreationTime)))
|
|
7968
7803
|
: undefined,
|
|
7969
7804
|
resourceId: __expectString(output.resourceId),
|
|
7970
7805
|
resourceName: __expectString(output.resourceName),
|
|
7971
7806
|
resourceType: __expectString(output.resourceType),
|
|
7972
|
-
supplementaryConfiguration: output.supplementaryConfiguration
|
|
7807
|
+
supplementaryConfiguration: output.supplementaryConfiguration != null
|
|
7973
7808
|
? deserializeAws_json1_1SupplementaryConfiguration(output.supplementaryConfiguration, context)
|
|
7974
7809
|
: undefined,
|
|
7975
7810
|
version: __expectString(output.version),
|
|
@@ -7988,27 +7823,27 @@ var deserializeAws_json1_1BaseConfigurationItems = function (output, context) {
|
|
|
7988
7823
|
};
|
|
7989
7824
|
var deserializeAws_json1_1BatchGetAggregateResourceConfigResponse = function (output, context) {
|
|
7990
7825
|
return {
|
|
7991
|
-
BaseConfigurationItems: output.BaseConfigurationItems
|
|
7826
|
+
BaseConfigurationItems: output.BaseConfigurationItems != null
|
|
7992
7827
|
? deserializeAws_json1_1BaseConfigurationItems(output.BaseConfigurationItems, context)
|
|
7993
7828
|
: undefined,
|
|
7994
|
-
UnprocessedResourceIdentifiers: output.UnprocessedResourceIdentifiers
|
|
7829
|
+
UnprocessedResourceIdentifiers: output.UnprocessedResourceIdentifiers != null
|
|
7995
7830
|
? deserializeAws_json1_1UnprocessedResourceIdentifierList(output.UnprocessedResourceIdentifiers, context)
|
|
7996
7831
|
: undefined,
|
|
7997
7832
|
};
|
|
7998
7833
|
};
|
|
7999
7834
|
var deserializeAws_json1_1BatchGetResourceConfigResponse = function (output, context) {
|
|
8000
7835
|
return {
|
|
8001
|
-
baseConfigurationItems: output.baseConfigurationItems
|
|
7836
|
+
baseConfigurationItems: output.baseConfigurationItems != null
|
|
8002
7837
|
? deserializeAws_json1_1BaseConfigurationItems(output.baseConfigurationItems, context)
|
|
8003
7838
|
: undefined,
|
|
8004
|
-
unprocessedResourceKeys: output.unprocessedResourceKeys
|
|
7839
|
+
unprocessedResourceKeys: output.unprocessedResourceKeys != null
|
|
8005
7840
|
? deserializeAws_json1_1ResourceKeys(output.unprocessedResourceKeys, context)
|
|
8006
7841
|
: undefined,
|
|
8007
7842
|
};
|
|
8008
7843
|
};
|
|
8009
7844
|
var deserializeAws_json1_1Compliance = function (output, context) {
|
|
8010
7845
|
return {
|
|
8011
|
-
ComplianceContributorCount: output.ComplianceContributorCount
|
|
7846
|
+
ComplianceContributorCount: output.ComplianceContributorCount != null
|
|
8012
7847
|
? deserializeAws_json1_1ComplianceContributorCount(output.ComplianceContributorCount, context)
|
|
8013
7848
|
: undefined,
|
|
8014
7849
|
ComplianceType: __expectString(output.ComplianceType),
|
|
@@ -8016,9 +7851,7 @@ var deserializeAws_json1_1Compliance = function (output, context) {
|
|
|
8016
7851
|
};
|
|
8017
7852
|
var deserializeAws_json1_1ComplianceByConfigRule = function (output, context) {
|
|
8018
7853
|
return {
|
|
8019
|
-
Compliance: output.Compliance
|
|
8020
|
-
? deserializeAws_json1_1Compliance(output.Compliance, context)
|
|
8021
|
-
: undefined,
|
|
7854
|
+
Compliance: output.Compliance != null ? deserializeAws_json1_1Compliance(output.Compliance, context) : undefined,
|
|
8022
7855
|
ConfigRuleName: __expectString(output.ConfigRuleName),
|
|
8023
7856
|
};
|
|
8024
7857
|
};
|
|
@@ -8035,9 +7868,7 @@ var deserializeAws_json1_1ComplianceByConfigRules = function (output, context) {
|
|
|
8035
7868
|
};
|
|
8036
7869
|
var deserializeAws_json1_1ComplianceByResource = function (output, context) {
|
|
8037
7870
|
return {
|
|
8038
|
-
Compliance: output.Compliance
|
|
8039
|
-
? deserializeAws_json1_1Compliance(output.Compliance, context)
|
|
8040
|
-
: undefined,
|
|
7871
|
+
Compliance: output.Compliance != null ? deserializeAws_json1_1Compliance(output.Compliance, context) : undefined,
|
|
8041
7872
|
ResourceId: __expectString(output.ResourceId),
|
|
8042
7873
|
ResourceType: __expectString(output.ResourceType),
|
|
8043
7874
|
};
|
|
@@ -8083,20 +7914,20 @@ var deserializeAws_json1_1ComplianceSummariesByResourceType = function (output,
|
|
|
8083
7914
|
};
|
|
8084
7915
|
var deserializeAws_json1_1ComplianceSummary = function (output, context) {
|
|
8085
7916
|
return {
|
|
8086
|
-
ComplianceSummaryTimestamp: output.ComplianceSummaryTimestamp
|
|
7917
|
+
ComplianceSummaryTimestamp: output.ComplianceSummaryTimestamp != null
|
|
8087
7918
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ComplianceSummaryTimestamp)))
|
|
8088
7919
|
: undefined,
|
|
8089
|
-
CompliantResourceCount: output.CompliantResourceCount
|
|
7920
|
+
CompliantResourceCount: output.CompliantResourceCount != null
|
|
8090
7921
|
? deserializeAws_json1_1ComplianceContributorCount(output.CompliantResourceCount, context)
|
|
8091
7922
|
: undefined,
|
|
8092
|
-
NonCompliantResourceCount: output.NonCompliantResourceCount
|
|
7923
|
+
NonCompliantResourceCount: output.NonCompliantResourceCount != null
|
|
8093
7924
|
? deserializeAws_json1_1ComplianceContributorCount(output.NonCompliantResourceCount, context)
|
|
8094
7925
|
: undefined,
|
|
8095
7926
|
};
|
|
8096
7927
|
};
|
|
8097
7928
|
var deserializeAws_json1_1ComplianceSummaryByResourceType = function (output, context) {
|
|
8098
7929
|
return {
|
|
8099
|
-
ComplianceSummary: output.ComplianceSummary
|
|
7930
|
+
ComplianceSummary: output.ComplianceSummary != null
|
|
8100
7931
|
? deserializeAws_json1_1ComplianceSummary(output.ComplianceSummary, context)
|
|
8101
7932
|
: undefined,
|
|
8102
7933
|
ResourceType: __expectString(output.ResourceType),
|
|
@@ -8104,16 +7935,16 @@ var deserializeAws_json1_1ComplianceSummaryByResourceType = function (output, co
|
|
|
8104
7935
|
};
|
|
8105
7936
|
var deserializeAws_json1_1ConfigExportDeliveryInfo = function (output, context) {
|
|
8106
7937
|
return {
|
|
8107
|
-
lastAttemptTime: output.lastAttemptTime
|
|
7938
|
+
lastAttemptTime: output.lastAttemptTime != null
|
|
8108
7939
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastAttemptTime)))
|
|
8109
7940
|
: undefined,
|
|
8110
7941
|
lastErrorCode: __expectString(output.lastErrorCode),
|
|
8111
7942
|
lastErrorMessage: __expectString(output.lastErrorMessage),
|
|
8112
7943
|
lastStatus: __expectString(output.lastStatus),
|
|
8113
|
-
lastSuccessfulTime: output.lastSuccessfulTime
|
|
7944
|
+
lastSuccessfulTime: output.lastSuccessfulTime != null
|
|
8114
7945
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastSuccessfulTime)))
|
|
8115
7946
|
: undefined,
|
|
8116
|
-
nextDeliveryTime: output.nextDeliveryTime
|
|
7947
|
+
nextDeliveryTime: output.nextDeliveryTime != null
|
|
8117
7948
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.nextDeliveryTime)))
|
|
8118
7949
|
: undefined,
|
|
8119
7950
|
};
|
|
@@ -8128,12 +7959,8 @@ var deserializeAws_json1_1ConfigRule = function (output, context) {
|
|
|
8128
7959
|
Description: __expectString(output.Description),
|
|
8129
7960
|
InputParameters: __expectString(output.InputParameters),
|
|
8130
7961
|
MaximumExecutionFrequency: __expectString(output.MaximumExecutionFrequency),
|
|
8131
|
-
Scope: output.Scope
|
|
8132
|
-
|
|
8133
|
-
: undefined,
|
|
8134
|
-
Source: output.Source !== undefined && output.Source !== null
|
|
8135
|
-
? deserializeAws_json1_1Source(output.Source, context)
|
|
8136
|
-
: undefined,
|
|
7962
|
+
Scope: output.Scope != null ? deserializeAws_json1_1Scope(output.Scope, context) : undefined,
|
|
7963
|
+
Source: output.Source != null ? deserializeAws_json1_1Source(output.Source, context) : undefined,
|
|
8137
7964
|
};
|
|
8138
7965
|
};
|
|
8139
7966
|
var deserializeAws_json1_1ConfigRuleEvaluationStatus = function (output, context) {
|
|
@@ -8141,30 +7968,30 @@ var deserializeAws_json1_1ConfigRuleEvaluationStatus = function (output, context
|
|
|
8141
7968
|
ConfigRuleArn: __expectString(output.ConfigRuleArn),
|
|
8142
7969
|
ConfigRuleId: __expectString(output.ConfigRuleId),
|
|
8143
7970
|
ConfigRuleName: __expectString(output.ConfigRuleName),
|
|
8144
|
-
FirstActivatedTime: output.FirstActivatedTime
|
|
7971
|
+
FirstActivatedTime: output.FirstActivatedTime != null
|
|
8145
7972
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FirstActivatedTime)))
|
|
8146
7973
|
: undefined,
|
|
8147
7974
|
FirstEvaluationStarted: __expectBoolean(output.FirstEvaluationStarted),
|
|
8148
|
-
LastDeactivatedTime: output.LastDeactivatedTime
|
|
7975
|
+
LastDeactivatedTime: output.LastDeactivatedTime != null
|
|
8149
7976
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastDeactivatedTime)))
|
|
8150
7977
|
: undefined,
|
|
8151
7978
|
LastDebugLogDeliveryStatus: __expectString(output.LastDebugLogDeliveryStatus),
|
|
8152
7979
|
LastDebugLogDeliveryStatusReason: __expectString(output.LastDebugLogDeliveryStatusReason),
|
|
8153
|
-
LastDebugLogDeliveryTime: output.LastDebugLogDeliveryTime
|
|
7980
|
+
LastDebugLogDeliveryTime: output.LastDebugLogDeliveryTime != null
|
|
8154
7981
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastDebugLogDeliveryTime)))
|
|
8155
7982
|
: undefined,
|
|
8156
7983
|
LastErrorCode: __expectString(output.LastErrorCode),
|
|
8157
7984
|
LastErrorMessage: __expectString(output.LastErrorMessage),
|
|
8158
|
-
LastFailedEvaluationTime: output.LastFailedEvaluationTime
|
|
7985
|
+
LastFailedEvaluationTime: output.LastFailedEvaluationTime != null
|
|
8159
7986
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastFailedEvaluationTime)))
|
|
8160
7987
|
: undefined,
|
|
8161
|
-
LastFailedInvocationTime: output.LastFailedInvocationTime
|
|
7988
|
+
LastFailedInvocationTime: output.LastFailedInvocationTime != null
|
|
8162
7989
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastFailedInvocationTime)))
|
|
8163
7990
|
: undefined,
|
|
8164
|
-
LastSuccessfulEvaluationTime: output.LastSuccessfulEvaluationTime
|
|
7991
|
+
LastSuccessfulEvaluationTime: output.LastSuccessfulEvaluationTime != null
|
|
8165
7992
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulEvaluationTime)))
|
|
8166
7993
|
: undefined,
|
|
8167
|
-
LastSuccessfulInvocationTime: output.LastSuccessfulInvocationTime
|
|
7994
|
+
LastSuccessfulInvocationTime: output.LastSuccessfulInvocationTime != null
|
|
8168
7995
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulInvocationTime)))
|
|
8169
7996
|
: undefined,
|
|
8170
7997
|
};
|
|
@@ -8201,26 +8028,26 @@ var deserializeAws_json1_1ConfigStreamDeliveryInfo = function (output, context)
|
|
|
8201
8028
|
lastErrorCode: __expectString(output.lastErrorCode),
|
|
8202
8029
|
lastErrorMessage: __expectString(output.lastErrorMessage),
|
|
8203
8030
|
lastStatus: __expectString(output.lastStatus),
|
|
8204
|
-
lastStatusChangeTime: output.lastStatusChangeTime
|
|
8031
|
+
lastStatusChangeTime: output.lastStatusChangeTime != null
|
|
8205
8032
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStatusChangeTime)))
|
|
8206
8033
|
: undefined,
|
|
8207
8034
|
};
|
|
8208
8035
|
};
|
|
8209
8036
|
var deserializeAws_json1_1ConfigurationAggregator = function (output, context) {
|
|
8210
8037
|
return {
|
|
8211
|
-
AccountAggregationSources: output.AccountAggregationSources
|
|
8038
|
+
AccountAggregationSources: output.AccountAggregationSources != null
|
|
8212
8039
|
? deserializeAws_json1_1AccountAggregationSourceList(output.AccountAggregationSources, context)
|
|
8213
8040
|
: undefined,
|
|
8214
8041
|
ConfigurationAggregatorArn: __expectString(output.ConfigurationAggregatorArn),
|
|
8215
8042
|
ConfigurationAggregatorName: __expectString(output.ConfigurationAggregatorName),
|
|
8216
8043
|
CreatedBy: __expectString(output.CreatedBy),
|
|
8217
|
-
CreationTime: output.CreationTime
|
|
8044
|
+
CreationTime: output.CreationTime != null
|
|
8218
8045
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
8219
8046
|
: undefined,
|
|
8220
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
8047
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
8221
8048
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
8222
8049
|
: undefined,
|
|
8223
|
-
OrganizationAggregationSource: output.OrganizationAggregationSource
|
|
8050
|
+
OrganizationAggregationSource: output.OrganizationAggregationSource != null
|
|
8224
8051
|
? deserializeAws_json1_1OrganizationAggregationSource(output.OrganizationAggregationSource, context)
|
|
8225
8052
|
: undefined,
|
|
8226
8053
|
};
|
|
@@ -8243,28 +8070,24 @@ var deserializeAws_json1_1ConfigurationItem = function (output, context) {
|
|
|
8243
8070
|
availabilityZone: __expectString(output.availabilityZone),
|
|
8244
8071
|
awsRegion: __expectString(output.awsRegion),
|
|
8245
8072
|
configuration: __expectString(output.configuration),
|
|
8246
|
-
configurationItemCaptureTime: output.configurationItemCaptureTime
|
|
8073
|
+
configurationItemCaptureTime: output.configurationItemCaptureTime != null
|
|
8247
8074
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.configurationItemCaptureTime)))
|
|
8248
8075
|
: undefined,
|
|
8249
8076
|
configurationItemMD5Hash: __expectString(output.configurationItemMD5Hash),
|
|
8250
8077
|
configurationItemStatus: __expectString(output.configurationItemStatus),
|
|
8251
8078
|
configurationStateId: __expectString(output.configurationStateId),
|
|
8252
|
-
relatedEvents: output.relatedEvents
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
relationships: output.relationships !== undefined && output.relationships !== null
|
|
8256
|
-
? deserializeAws_json1_1RelationshipList(output.relationships, context)
|
|
8257
|
-
: undefined,
|
|
8258
|
-
resourceCreationTime: output.resourceCreationTime !== undefined && output.resourceCreationTime !== null
|
|
8079
|
+
relatedEvents: output.relatedEvents != null ? deserializeAws_json1_1RelatedEventList(output.relatedEvents, context) : undefined,
|
|
8080
|
+
relationships: output.relationships != null ? deserializeAws_json1_1RelationshipList(output.relationships, context) : undefined,
|
|
8081
|
+
resourceCreationTime: output.resourceCreationTime != null
|
|
8259
8082
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.resourceCreationTime)))
|
|
8260
8083
|
: undefined,
|
|
8261
8084
|
resourceId: __expectString(output.resourceId),
|
|
8262
8085
|
resourceName: __expectString(output.resourceName),
|
|
8263
8086
|
resourceType: __expectString(output.resourceType),
|
|
8264
|
-
supplementaryConfiguration: output.supplementaryConfiguration
|
|
8087
|
+
supplementaryConfiguration: output.supplementaryConfiguration != null
|
|
8265
8088
|
? deserializeAws_json1_1SupplementaryConfiguration(output.supplementaryConfiguration, context)
|
|
8266
8089
|
: undefined,
|
|
8267
|
-
tags: output.tags
|
|
8090
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
8268
8091
|
version: __expectString(output.version),
|
|
8269
8092
|
};
|
|
8270
8093
|
};
|
|
@@ -8282,9 +8105,7 @@ var deserializeAws_json1_1ConfigurationItemList = function (output, context) {
|
|
|
8282
8105
|
var deserializeAws_json1_1ConfigurationRecorder = function (output, context) {
|
|
8283
8106
|
return {
|
|
8284
8107
|
name: __expectString(output.name),
|
|
8285
|
-
recordingGroup: output.recordingGroup
|
|
8286
|
-
? deserializeAws_json1_1RecordingGroup(output.recordingGroup, context)
|
|
8287
|
-
: undefined,
|
|
8108
|
+
recordingGroup: output.recordingGroup != null ? deserializeAws_json1_1RecordingGroup(output.recordingGroup, context) : undefined,
|
|
8288
8109
|
roleARN: __expectString(output.roleARN),
|
|
8289
8110
|
};
|
|
8290
8111
|
};
|
|
@@ -8303,14 +8124,14 @@ var deserializeAws_json1_1ConfigurationRecorderStatus = function (output, contex
|
|
|
8303
8124
|
return {
|
|
8304
8125
|
lastErrorCode: __expectString(output.lastErrorCode),
|
|
8305
8126
|
lastErrorMessage: __expectString(output.lastErrorMessage),
|
|
8306
|
-
lastStartTime: output.lastStartTime
|
|
8127
|
+
lastStartTime: output.lastStartTime != null
|
|
8307
8128
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStartTime)))
|
|
8308
8129
|
: undefined,
|
|
8309
8130
|
lastStatus: __expectString(output.lastStatus),
|
|
8310
|
-
lastStatusChangeTime: output.lastStatusChangeTime
|
|
8131
|
+
lastStatusChangeTime: output.lastStatusChangeTime != null
|
|
8311
8132
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStatusChangeTime)))
|
|
8312
8133
|
: undefined,
|
|
8313
|
-
lastStopTime: output.lastStopTime
|
|
8134
|
+
lastStopTime: output.lastStopTime != null
|
|
8314
8135
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStopTime)))
|
|
8315
8136
|
: undefined,
|
|
8316
8137
|
name: __expectString(output.name),
|
|
@@ -8349,14 +8170,14 @@ var deserializeAws_json1_1ConformancePackDetail = function (output, context) {
|
|
|
8349
8170
|
return {
|
|
8350
8171
|
ConformancePackArn: __expectString(output.ConformancePackArn),
|
|
8351
8172
|
ConformancePackId: __expectString(output.ConformancePackId),
|
|
8352
|
-
ConformancePackInputParameters: output.ConformancePackInputParameters
|
|
8173
|
+
ConformancePackInputParameters: output.ConformancePackInputParameters != null
|
|
8353
8174
|
? deserializeAws_json1_1ConformancePackInputParameters(output.ConformancePackInputParameters, context)
|
|
8354
8175
|
: undefined,
|
|
8355
8176
|
ConformancePackName: __expectString(output.ConformancePackName),
|
|
8356
8177
|
CreatedBy: __expectString(output.CreatedBy),
|
|
8357
8178
|
DeliveryS3Bucket: __expectString(output.DeliveryS3Bucket),
|
|
8358
8179
|
DeliveryS3KeyPrefix: __expectString(output.DeliveryS3KeyPrefix),
|
|
8359
|
-
LastUpdateRequestedTime: output.LastUpdateRequestedTime
|
|
8180
|
+
LastUpdateRequestedTime: output.LastUpdateRequestedTime != null
|
|
8360
8181
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateRequestedTime)))
|
|
8361
8182
|
: undefined,
|
|
8362
8183
|
};
|
|
@@ -8376,13 +8197,13 @@ var deserializeAws_json1_1ConformancePackEvaluationResult = function (output, co
|
|
|
8376
8197
|
return {
|
|
8377
8198
|
Annotation: __expectString(output.Annotation),
|
|
8378
8199
|
ComplianceType: __expectString(output.ComplianceType),
|
|
8379
|
-
ConfigRuleInvokedTime: output.ConfigRuleInvokedTime
|
|
8200
|
+
ConfigRuleInvokedTime: output.ConfigRuleInvokedTime != null
|
|
8380
8201
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ConfigRuleInvokedTime)))
|
|
8381
8202
|
: undefined,
|
|
8382
|
-
EvaluationResultIdentifier: output.EvaluationResultIdentifier
|
|
8203
|
+
EvaluationResultIdentifier: output.EvaluationResultIdentifier != null
|
|
8383
8204
|
? deserializeAws_json1_1EvaluationResultIdentifier(output.EvaluationResultIdentifier, context)
|
|
8384
8205
|
: undefined,
|
|
8385
|
-
ResultRecordedTime: output.ResultRecordedTime
|
|
8206
|
+
ResultRecordedTime: output.ResultRecordedTime != null
|
|
8386
8207
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResultRecordedTime)))
|
|
8387
8208
|
: undefined,
|
|
8388
8209
|
};
|
|
@@ -8408,9 +8229,7 @@ var deserializeAws_json1_1ConformancePackRuleCompliance = function (output, cont
|
|
|
8408
8229
|
return {
|
|
8409
8230
|
ComplianceType: __expectString(output.ComplianceType),
|
|
8410
8231
|
ConfigRuleName: __expectString(output.ConfigRuleName),
|
|
8411
|
-
Controls: output.Controls
|
|
8412
|
-
? deserializeAws_json1_1ControlsList(output.Controls, context)
|
|
8413
|
-
: undefined,
|
|
8232
|
+
Controls: output.Controls != null ? deserializeAws_json1_1ControlsList(output.Controls, context) : undefined,
|
|
8414
8233
|
};
|
|
8415
8234
|
};
|
|
8416
8235
|
var deserializeAws_json1_1ConformancePackRuleComplianceList = function (output, context) {
|
|
@@ -8442,10 +8261,10 @@ var deserializeAws_json1_1ConformancePackStatusDetail = function (output, contex
|
|
|
8442
8261
|
ConformancePackName: __expectString(output.ConformancePackName),
|
|
8443
8262
|
ConformancePackState: __expectString(output.ConformancePackState),
|
|
8444
8263
|
ConformancePackStatusReason: __expectString(output.ConformancePackStatusReason),
|
|
8445
|
-
LastUpdateCompletedTime: output.LastUpdateCompletedTime
|
|
8264
|
+
LastUpdateCompletedTime: output.LastUpdateCompletedTime != null
|
|
8446
8265
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateCompletedTime)))
|
|
8447
8266
|
: undefined,
|
|
8448
|
-
LastUpdateRequestedTime: output.LastUpdateRequestedTime
|
|
8267
|
+
LastUpdateRequestedTime: output.LastUpdateRequestedTime != null
|
|
8449
8268
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateRequestedTime)))
|
|
8450
8269
|
: undefined,
|
|
8451
8270
|
StackArn: __expectString(output.StackArn),
|
|
@@ -8504,7 +8323,7 @@ var deserializeAws_json1_1DeleteRemediationConfigurationResponse = function (out
|
|
|
8504
8323
|
};
|
|
8505
8324
|
var deserializeAws_json1_1DeleteRemediationExceptionsResponse = function (output, context) {
|
|
8506
8325
|
return {
|
|
8507
|
-
FailedBatches: output.FailedBatches
|
|
8326
|
+
FailedBatches: output.FailedBatches != null
|
|
8508
8327
|
? deserializeAws_json1_1FailedDeleteRemediationExceptionsBatches(output.FailedBatches, context)
|
|
8509
8328
|
: undefined,
|
|
8510
8329
|
};
|
|
@@ -8519,7 +8338,7 @@ var deserializeAws_json1_1DeliverConfigSnapshotResponse = function (output, cont
|
|
|
8519
8338
|
};
|
|
8520
8339
|
var deserializeAws_json1_1DeliveryChannel = function (output, context) {
|
|
8521
8340
|
return {
|
|
8522
|
-
configSnapshotDeliveryProperties: output.configSnapshotDeliveryProperties
|
|
8341
|
+
configSnapshotDeliveryProperties: output.configSnapshotDeliveryProperties != null
|
|
8523
8342
|
? deserializeAws_json1_1ConfigSnapshotDeliveryProperties(output.configSnapshotDeliveryProperties, context)
|
|
8524
8343
|
: undefined,
|
|
8525
8344
|
name: __expectString(output.name),
|
|
@@ -8542,13 +8361,13 @@ var deserializeAws_json1_1DeliveryChannelList = function (output, context) {
|
|
|
8542
8361
|
};
|
|
8543
8362
|
var deserializeAws_json1_1DeliveryChannelStatus = function (output, context) {
|
|
8544
8363
|
return {
|
|
8545
|
-
configHistoryDeliveryInfo: output.configHistoryDeliveryInfo
|
|
8364
|
+
configHistoryDeliveryInfo: output.configHistoryDeliveryInfo != null
|
|
8546
8365
|
? deserializeAws_json1_1ConfigExportDeliveryInfo(output.configHistoryDeliveryInfo, context)
|
|
8547
8366
|
: undefined,
|
|
8548
|
-
configSnapshotDeliveryInfo: output.configSnapshotDeliveryInfo
|
|
8367
|
+
configSnapshotDeliveryInfo: output.configSnapshotDeliveryInfo != null
|
|
8549
8368
|
? deserializeAws_json1_1ConfigExportDeliveryInfo(output.configSnapshotDeliveryInfo, context)
|
|
8550
8369
|
: undefined,
|
|
8551
|
-
configStreamDeliveryInfo: output.configStreamDeliveryInfo
|
|
8370
|
+
configStreamDeliveryInfo: output.configStreamDeliveryInfo != null
|
|
8552
8371
|
? deserializeAws_json1_1ConfigStreamDeliveryInfo(output.configStreamDeliveryInfo, context)
|
|
8553
8372
|
: undefined,
|
|
8554
8373
|
name: __expectString(output.name),
|
|
@@ -8567,7 +8386,7 @@ var deserializeAws_json1_1DeliveryChannelStatusList = function (output, context)
|
|
|
8567
8386
|
};
|
|
8568
8387
|
var deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesResponse = function (output, context) {
|
|
8569
8388
|
return {
|
|
8570
|
-
AggregateComplianceByConfigRules: output.AggregateComplianceByConfigRules
|
|
8389
|
+
AggregateComplianceByConfigRules: output.AggregateComplianceByConfigRules != null
|
|
8571
8390
|
? deserializeAws_json1_1AggregateComplianceByConfigRuleList(output.AggregateComplianceByConfigRules, context)
|
|
8572
8391
|
: undefined,
|
|
8573
8392
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8575,8 +8394,7 @@ var deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesResponse = fun
|
|
|
8575
8394
|
};
|
|
8576
8395
|
var deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksResponse = function (output, context) {
|
|
8577
8396
|
return {
|
|
8578
|
-
AggregateComplianceByConformancePacks: output.AggregateComplianceByConformancePacks
|
|
8579
|
-
output.AggregateComplianceByConformancePacks !== null
|
|
8397
|
+
AggregateComplianceByConformancePacks: output.AggregateComplianceByConformancePacks != null
|
|
8580
8398
|
? deserializeAws_json1_1AggregateComplianceByConformancePackList(output.AggregateComplianceByConformancePacks, context)
|
|
8581
8399
|
: undefined,
|
|
8582
8400
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8584,7 +8402,7 @@ var deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksResponse
|
|
|
8584
8402
|
};
|
|
8585
8403
|
var deserializeAws_json1_1DescribeAggregationAuthorizationsResponse = function (output, context) {
|
|
8586
8404
|
return {
|
|
8587
|
-
AggregationAuthorizations: output.AggregationAuthorizations
|
|
8405
|
+
AggregationAuthorizations: output.AggregationAuthorizations != null
|
|
8588
8406
|
? deserializeAws_json1_1AggregationAuthorizationList(output.AggregationAuthorizations, context)
|
|
8589
8407
|
: undefined,
|
|
8590
8408
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8592,7 +8410,7 @@ var deserializeAws_json1_1DescribeAggregationAuthorizationsResponse = function (
|
|
|
8592
8410
|
};
|
|
8593
8411
|
var deserializeAws_json1_1DescribeComplianceByConfigRuleResponse = function (output, context) {
|
|
8594
8412
|
return {
|
|
8595
|
-
ComplianceByConfigRules: output.ComplianceByConfigRules
|
|
8413
|
+
ComplianceByConfigRules: output.ComplianceByConfigRules != null
|
|
8596
8414
|
? deserializeAws_json1_1ComplianceByConfigRules(output.ComplianceByConfigRules, context)
|
|
8597
8415
|
: undefined,
|
|
8598
8416
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8600,7 +8418,7 @@ var deserializeAws_json1_1DescribeComplianceByConfigRuleResponse = function (out
|
|
|
8600
8418
|
};
|
|
8601
8419
|
var deserializeAws_json1_1DescribeComplianceByResourceResponse = function (output, context) {
|
|
8602
8420
|
return {
|
|
8603
|
-
ComplianceByResources: output.ComplianceByResources
|
|
8421
|
+
ComplianceByResources: output.ComplianceByResources != null
|
|
8604
8422
|
? deserializeAws_json1_1ComplianceByResources(output.ComplianceByResources, context)
|
|
8605
8423
|
: undefined,
|
|
8606
8424
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8608,7 +8426,7 @@ var deserializeAws_json1_1DescribeComplianceByResourceResponse = function (outpu
|
|
|
8608
8426
|
};
|
|
8609
8427
|
var deserializeAws_json1_1DescribeConfigRuleEvaluationStatusResponse = function (output, context) {
|
|
8610
8428
|
return {
|
|
8611
|
-
ConfigRulesEvaluationStatus: output.ConfigRulesEvaluationStatus
|
|
8429
|
+
ConfigRulesEvaluationStatus: output.ConfigRulesEvaluationStatus != null
|
|
8612
8430
|
? deserializeAws_json1_1ConfigRuleEvaluationStatusList(output.ConfigRulesEvaluationStatus, context)
|
|
8613
8431
|
: undefined,
|
|
8614
8432
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8616,15 +8434,13 @@ var deserializeAws_json1_1DescribeConfigRuleEvaluationStatusResponse = function
|
|
|
8616
8434
|
};
|
|
8617
8435
|
var deserializeAws_json1_1DescribeConfigRulesResponse = function (output, context) {
|
|
8618
8436
|
return {
|
|
8619
|
-
ConfigRules: output.ConfigRules
|
|
8620
|
-
? deserializeAws_json1_1ConfigRules(output.ConfigRules, context)
|
|
8621
|
-
: undefined,
|
|
8437
|
+
ConfigRules: output.ConfigRules != null ? deserializeAws_json1_1ConfigRules(output.ConfigRules, context) : undefined,
|
|
8622
8438
|
NextToken: __expectString(output.NextToken),
|
|
8623
8439
|
};
|
|
8624
8440
|
};
|
|
8625
8441
|
var deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusResponse = function (output, context) {
|
|
8626
8442
|
return {
|
|
8627
|
-
AggregatedSourceStatusList: output.AggregatedSourceStatusList
|
|
8443
|
+
AggregatedSourceStatusList: output.AggregatedSourceStatusList != null
|
|
8628
8444
|
? deserializeAws_json1_1AggregatedSourceStatusList(output.AggregatedSourceStatusList, context)
|
|
8629
8445
|
: undefined,
|
|
8630
8446
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8632,7 +8448,7 @@ var deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusResponse =
|
|
|
8632
8448
|
};
|
|
8633
8449
|
var deserializeAws_json1_1DescribeConfigurationAggregatorsResponse = function (output, context) {
|
|
8634
8450
|
return {
|
|
8635
|
-
ConfigurationAggregators: output.ConfigurationAggregators
|
|
8451
|
+
ConfigurationAggregators: output.ConfigurationAggregators != null
|
|
8636
8452
|
? deserializeAws_json1_1ConfigurationAggregatorList(output.ConfigurationAggregators, context)
|
|
8637
8453
|
: undefined,
|
|
8638
8454
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8640,14 +8456,14 @@ var deserializeAws_json1_1DescribeConfigurationAggregatorsResponse = function (o
|
|
|
8640
8456
|
};
|
|
8641
8457
|
var deserializeAws_json1_1DescribeConfigurationRecordersResponse = function (output, context) {
|
|
8642
8458
|
return {
|
|
8643
|
-
ConfigurationRecorders: output.ConfigurationRecorders
|
|
8459
|
+
ConfigurationRecorders: output.ConfigurationRecorders != null
|
|
8644
8460
|
? deserializeAws_json1_1ConfigurationRecorderList(output.ConfigurationRecorders, context)
|
|
8645
8461
|
: undefined,
|
|
8646
8462
|
};
|
|
8647
8463
|
};
|
|
8648
8464
|
var deserializeAws_json1_1DescribeConfigurationRecorderStatusResponse = function (output, context) {
|
|
8649
8465
|
return {
|
|
8650
|
-
ConfigurationRecordersStatus: output.ConfigurationRecordersStatus
|
|
8466
|
+
ConfigurationRecordersStatus: output.ConfigurationRecordersStatus != null
|
|
8651
8467
|
? deserializeAws_json1_1ConfigurationRecorderStatusList(output.ConfigurationRecordersStatus, context)
|
|
8652
8468
|
: undefined,
|
|
8653
8469
|
};
|
|
@@ -8655,7 +8471,7 @@ var deserializeAws_json1_1DescribeConfigurationRecorderStatusResponse = function
|
|
|
8655
8471
|
var deserializeAws_json1_1DescribeConformancePackComplianceResponse = function (output, context) {
|
|
8656
8472
|
return {
|
|
8657
8473
|
ConformancePackName: __expectString(output.ConformancePackName),
|
|
8658
|
-
ConformancePackRuleComplianceList: output.ConformancePackRuleComplianceList
|
|
8474
|
+
ConformancePackRuleComplianceList: output.ConformancePackRuleComplianceList != null
|
|
8659
8475
|
? deserializeAws_json1_1ConformancePackRuleComplianceList(output.ConformancePackRuleComplianceList, context)
|
|
8660
8476
|
: undefined,
|
|
8661
8477
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8663,7 +8479,7 @@ var deserializeAws_json1_1DescribeConformancePackComplianceResponse = function (
|
|
|
8663
8479
|
};
|
|
8664
8480
|
var deserializeAws_json1_1DescribeConformancePacksResponse = function (output, context) {
|
|
8665
8481
|
return {
|
|
8666
|
-
ConformancePackDetails: output.ConformancePackDetails
|
|
8482
|
+
ConformancePackDetails: output.ConformancePackDetails != null
|
|
8667
8483
|
? deserializeAws_json1_1ConformancePackDetailList(output.ConformancePackDetails, context)
|
|
8668
8484
|
: undefined,
|
|
8669
8485
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8671,7 +8487,7 @@ var deserializeAws_json1_1DescribeConformancePacksResponse = function (output, c
|
|
|
8671
8487
|
};
|
|
8672
8488
|
var deserializeAws_json1_1DescribeConformancePackStatusResponse = function (output, context) {
|
|
8673
8489
|
return {
|
|
8674
|
-
ConformancePackStatusDetails: output.ConformancePackStatusDetails
|
|
8490
|
+
ConformancePackStatusDetails: output.ConformancePackStatusDetails != null
|
|
8675
8491
|
? deserializeAws_json1_1ConformancePackStatusDetailsList(output.ConformancePackStatusDetails, context)
|
|
8676
8492
|
: undefined,
|
|
8677
8493
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8679,14 +8495,14 @@ var deserializeAws_json1_1DescribeConformancePackStatusResponse = function (outp
|
|
|
8679
8495
|
};
|
|
8680
8496
|
var deserializeAws_json1_1DescribeDeliveryChannelsResponse = function (output, context) {
|
|
8681
8497
|
return {
|
|
8682
|
-
DeliveryChannels: output.DeliveryChannels
|
|
8498
|
+
DeliveryChannels: output.DeliveryChannels != null
|
|
8683
8499
|
? deserializeAws_json1_1DeliveryChannelList(output.DeliveryChannels, context)
|
|
8684
8500
|
: undefined,
|
|
8685
8501
|
};
|
|
8686
8502
|
};
|
|
8687
8503
|
var deserializeAws_json1_1DescribeDeliveryChannelStatusResponse = function (output, context) {
|
|
8688
8504
|
return {
|
|
8689
|
-
DeliveryChannelsStatus: output.DeliveryChannelsStatus
|
|
8505
|
+
DeliveryChannelsStatus: output.DeliveryChannelsStatus != null
|
|
8690
8506
|
? deserializeAws_json1_1DeliveryChannelStatusList(output.DeliveryChannelsStatus, context)
|
|
8691
8507
|
: undefined,
|
|
8692
8508
|
};
|
|
@@ -8694,7 +8510,7 @@ var deserializeAws_json1_1DescribeDeliveryChannelStatusResponse = function (outp
|
|
|
8694
8510
|
var deserializeAws_json1_1DescribeOrganizationConfigRulesResponse = function (output, context) {
|
|
8695
8511
|
return {
|
|
8696
8512
|
NextToken: __expectString(output.NextToken),
|
|
8697
|
-
OrganizationConfigRules: output.OrganizationConfigRules
|
|
8513
|
+
OrganizationConfigRules: output.OrganizationConfigRules != null
|
|
8698
8514
|
? deserializeAws_json1_1OrganizationConfigRules(output.OrganizationConfigRules, context)
|
|
8699
8515
|
: undefined,
|
|
8700
8516
|
};
|
|
@@ -8702,7 +8518,7 @@ var deserializeAws_json1_1DescribeOrganizationConfigRulesResponse = function (ou
|
|
|
8702
8518
|
var deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesResponse = function (output, context) {
|
|
8703
8519
|
return {
|
|
8704
8520
|
NextToken: __expectString(output.NextToken),
|
|
8705
|
-
OrganizationConfigRuleStatuses: output.OrganizationConfigRuleStatuses
|
|
8521
|
+
OrganizationConfigRuleStatuses: output.OrganizationConfigRuleStatuses != null
|
|
8706
8522
|
? deserializeAws_json1_1OrganizationConfigRuleStatuses(output.OrganizationConfigRuleStatuses, context)
|
|
8707
8523
|
: undefined,
|
|
8708
8524
|
};
|
|
@@ -8710,7 +8526,7 @@ var deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesResponse = funct
|
|
|
8710
8526
|
var deserializeAws_json1_1DescribeOrganizationConformancePacksResponse = function (output, context) {
|
|
8711
8527
|
return {
|
|
8712
8528
|
NextToken: __expectString(output.NextToken),
|
|
8713
|
-
OrganizationConformancePacks: output.OrganizationConformancePacks
|
|
8529
|
+
OrganizationConformancePacks: output.OrganizationConformancePacks != null
|
|
8714
8530
|
? deserializeAws_json1_1OrganizationConformancePacks(output.OrganizationConformancePacks, context)
|
|
8715
8531
|
: undefined,
|
|
8716
8532
|
};
|
|
@@ -8718,7 +8534,7 @@ var deserializeAws_json1_1DescribeOrganizationConformancePacksResponse = functio
|
|
|
8718
8534
|
var deserializeAws_json1_1DescribeOrganizationConformancePackStatusesResponse = function (output, context) {
|
|
8719
8535
|
return {
|
|
8720
8536
|
NextToken: __expectString(output.NextToken),
|
|
8721
|
-
OrganizationConformancePackStatuses: output.OrganizationConformancePackStatuses
|
|
8537
|
+
OrganizationConformancePackStatuses: output.OrganizationConformancePackStatuses != null
|
|
8722
8538
|
? deserializeAws_json1_1OrganizationConformancePackStatuses(output.OrganizationConformancePackStatuses, context)
|
|
8723
8539
|
: undefined,
|
|
8724
8540
|
};
|
|
@@ -8726,14 +8542,14 @@ var deserializeAws_json1_1DescribeOrganizationConformancePackStatusesResponse =
|
|
|
8726
8542
|
var deserializeAws_json1_1DescribePendingAggregationRequestsResponse = function (output, context) {
|
|
8727
8543
|
return {
|
|
8728
8544
|
NextToken: __expectString(output.NextToken),
|
|
8729
|
-
PendingAggregationRequests: output.PendingAggregationRequests
|
|
8545
|
+
PendingAggregationRequests: output.PendingAggregationRequests != null
|
|
8730
8546
|
? deserializeAws_json1_1PendingAggregationRequestList(output.PendingAggregationRequests, context)
|
|
8731
8547
|
: undefined,
|
|
8732
8548
|
};
|
|
8733
8549
|
};
|
|
8734
8550
|
var deserializeAws_json1_1DescribeRemediationConfigurationsResponse = function (output, context) {
|
|
8735
8551
|
return {
|
|
8736
|
-
RemediationConfigurations: output.RemediationConfigurations
|
|
8552
|
+
RemediationConfigurations: output.RemediationConfigurations != null
|
|
8737
8553
|
? deserializeAws_json1_1RemediationConfigurations(output.RemediationConfigurations, context)
|
|
8738
8554
|
: undefined,
|
|
8739
8555
|
};
|
|
@@ -8741,7 +8557,7 @@ var deserializeAws_json1_1DescribeRemediationConfigurationsResponse = function (
|
|
|
8741
8557
|
var deserializeAws_json1_1DescribeRemediationExceptionsResponse = function (output, context) {
|
|
8742
8558
|
return {
|
|
8743
8559
|
NextToken: __expectString(output.NextToken),
|
|
8744
|
-
RemediationExceptions: output.RemediationExceptions
|
|
8560
|
+
RemediationExceptions: output.RemediationExceptions != null
|
|
8745
8561
|
? deserializeAws_json1_1RemediationExceptions(output.RemediationExceptions, context)
|
|
8746
8562
|
: undefined,
|
|
8747
8563
|
};
|
|
@@ -8749,7 +8565,7 @@ var deserializeAws_json1_1DescribeRemediationExceptionsResponse = function (outp
|
|
|
8749
8565
|
var deserializeAws_json1_1DescribeRemediationExecutionStatusResponse = function (output, context) {
|
|
8750
8566
|
return {
|
|
8751
8567
|
NextToken: __expectString(output.NextToken),
|
|
8752
|
-
RemediationExecutionStatuses: output.RemediationExecutionStatuses
|
|
8568
|
+
RemediationExecutionStatuses: output.RemediationExecutionStatuses != null
|
|
8753
8569
|
? deserializeAws_json1_1RemediationExecutionStatuses(output.RemediationExecutionStatuses, context)
|
|
8754
8570
|
: undefined,
|
|
8755
8571
|
};
|
|
@@ -8757,7 +8573,7 @@ var deserializeAws_json1_1DescribeRemediationExecutionStatusResponse = function
|
|
|
8757
8573
|
var deserializeAws_json1_1DescribeRetentionConfigurationsResponse = function (output, context) {
|
|
8758
8574
|
return {
|
|
8759
8575
|
NextToken: __expectString(output.NextToken),
|
|
8760
|
-
RetentionConfigurations: output.RetentionConfigurations
|
|
8576
|
+
RetentionConfigurations: output.RetentionConfigurations != null
|
|
8761
8577
|
? deserializeAws_json1_1RetentionConfigurationList(output.RetentionConfigurations, context)
|
|
8762
8578
|
: undefined,
|
|
8763
8579
|
};
|
|
@@ -8779,7 +8595,7 @@ var deserializeAws_json1_1Evaluation = function (output, context) {
|
|
|
8779
8595
|
ComplianceResourceId: __expectString(output.ComplianceResourceId),
|
|
8780
8596
|
ComplianceResourceType: __expectString(output.ComplianceResourceType),
|
|
8781
8597
|
ComplianceType: __expectString(output.ComplianceType),
|
|
8782
|
-
OrderingTimestamp: output.OrderingTimestamp
|
|
8598
|
+
OrderingTimestamp: output.OrderingTimestamp != null
|
|
8783
8599
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OrderingTimestamp)))
|
|
8784
8600
|
: undefined,
|
|
8785
8601
|
};
|
|
@@ -8788,13 +8604,13 @@ var deserializeAws_json1_1EvaluationResult = function (output, context) {
|
|
|
8788
8604
|
return {
|
|
8789
8605
|
Annotation: __expectString(output.Annotation),
|
|
8790
8606
|
ComplianceType: __expectString(output.ComplianceType),
|
|
8791
|
-
ConfigRuleInvokedTime: output.ConfigRuleInvokedTime
|
|
8607
|
+
ConfigRuleInvokedTime: output.ConfigRuleInvokedTime != null
|
|
8792
8608
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ConfigRuleInvokedTime)))
|
|
8793
8609
|
: undefined,
|
|
8794
|
-
EvaluationResultIdentifier: output.EvaluationResultIdentifier
|
|
8610
|
+
EvaluationResultIdentifier: output.EvaluationResultIdentifier != null
|
|
8795
8611
|
? deserializeAws_json1_1EvaluationResultIdentifier(output.EvaluationResultIdentifier, context)
|
|
8796
8612
|
: undefined,
|
|
8797
|
-
ResultRecordedTime: output.ResultRecordedTime
|
|
8613
|
+
ResultRecordedTime: output.ResultRecordedTime != null
|
|
8798
8614
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResultRecordedTime)))
|
|
8799
8615
|
: undefined,
|
|
8800
8616
|
ResultToken: __expectString(output.ResultToken),
|
|
@@ -8802,10 +8618,10 @@ var deserializeAws_json1_1EvaluationResult = function (output, context) {
|
|
|
8802
8618
|
};
|
|
8803
8619
|
var deserializeAws_json1_1EvaluationResultIdentifier = function (output, context) {
|
|
8804
8620
|
return {
|
|
8805
|
-
EvaluationResultQualifier: output.EvaluationResultQualifier
|
|
8621
|
+
EvaluationResultQualifier: output.EvaluationResultQualifier != null
|
|
8806
8622
|
? deserializeAws_json1_1EvaluationResultQualifier(output.EvaluationResultQualifier, context)
|
|
8807
8623
|
: undefined,
|
|
8808
|
-
OrderingTimestamp: output.OrderingTimestamp
|
|
8624
|
+
OrderingTimestamp: output.OrderingTimestamp != null
|
|
8809
8625
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OrderingTimestamp)))
|
|
8810
8626
|
: undefined,
|
|
8811
8627
|
};
|
|
@@ -8852,14 +8668,12 @@ var deserializeAws_json1_1ExcludedAccounts = function (output, context) {
|
|
|
8852
8668
|
};
|
|
8853
8669
|
var deserializeAws_json1_1ExecutionControls = function (output, context) {
|
|
8854
8670
|
return {
|
|
8855
|
-
SsmControls: output.SsmControls
|
|
8856
|
-
? deserializeAws_json1_1SsmControls(output.SsmControls, context)
|
|
8857
|
-
: undefined,
|
|
8671
|
+
SsmControls: output.SsmControls != null ? deserializeAws_json1_1SsmControls(output.SsmControls, context) : undefined,
|
|
8858
8672
|
};
|
|
8859
8673
|
};
|
|
8860
8674
|
var deserializeAws_json1_1FailedDeleteRemediationExceptionsBatch = function (output, context) {
|
|
8861
8675
|
return {
|
|
8862
|
-
FailedItems: output.FailedItems
|
|
8676
|
+
FailedItems: output.FailedItems != null
|
|
8863
8677
|
? deserializeAws_json1_1RemediationExceptionResourceKeys(output.FailedItems, context)
|
|
8864
8678
|
: undefined,
|
|
8865
8679
|
FailureMessage: __expectString(output.FailureMessage),
|
|
@@ -8878,7 +8692,7 @@ var deserializeAws_json1_1FailedDeleteRemediationExceptionsBatches = function (o
|
|
|
8878
8692
|
};
|
|
8879
8693
|
var deserializeAws_json1_1FailedRemediationBatch = function (output, context) {
|
|
8880
8694
|
return {
|
|
8881
|
-
FailedItems: output.FailedItems
|
|
8695
|
+
FailedItems: output.FailedItems != null
|
|
8882
8696
|
? deserializeAws_json1_1RemediationConfigurations(output.FailedItems, context)
|
|
8883
8697
|
: undefined,
|
|
8884
8698
|
FailureMessage: __expectString(output.FailureMessage),
|
|
@@ -8897,9 +8711,7 @@ var deserializeAws_json1_1FailedRemediationBatches = function (output, context)
|
|
|
8897
8711
|
};
|
|
8898
8712
|
var deserializeAws_json1_1FailedRemediationExceptionBatch = function (output, context) {
|
|
8899
8713
|
return {
|
|
8900
|
-
FailedItems: output.FailedItems
|
|
8901
|
-
? deserializeAws_json1_1RemediationExceptions(output.FailedItems, context)
|
|
8902
|
-
: undefined,
|
|
8714
|
+
FailedItems: output.FailedItems != null ? deserializeAws_json1_1RemediationExceptions(output.FailedItems, context) : undefined,
|
|
8903
8715
|
FailureMessage: __expectString(output.FailureMessage),
|
|
8904
8716
|
};
|
|
8905
8717
|
};
|
|
@@ -8932,7 +8744,7 @@ var deserializeAws_json1_1FieldInfoList = function (output, context) {
|
|
|
8932
8744
|
};
|
|
8933
8745
|
var deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleResponse = function (output, context) {
|
|
8934
8746
|
return {
|
|
8935
|
-
AggregateEvaluationResults: output.AggregateEvaluationResults
|
|
8747
|
+
AggregateEvaluationResults: output.AggregateEvaluationResults != null
|
|
8936
8748
|
? deserializeAws_json1_1AggregateEvaluationResultList(output.AggregateEvaluationResults, context)
|
|
8937
8749
|
: undefined,
|
|
8938
8750
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8940,7 +8752,7 @@ var deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleResponse = fu
|
|
|
8940
8752
|
};
|
|
8941
8753
|
var deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryResponse = function (output, context) {
|
|
8942
8754
|
return {
|
|
8943
|
-
AggregateComplianceCounts: output.AggregateComplianceCounts
|
|
8755
|
+
AggregateComplianceCounts: output.AggregateComplianceCounts != null
|
|
8944
8756
|
? deserializeAws_json1_1AggregateComplianceCountList(output.AggregateComplianceCounts, context)
|
|
8945
8757
|
: undefined,
|
|
8946
8758
|
GroupByKey: __expectString(output.GroupByKey),
|
|
@@ -8949,8 +8761,7 @@ var deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryResponse = func
|
|
|
8949
8761
|
};
|
|
8950
8762
|
var deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryResponse = function (output, context) {
|
|
8951
8763
|
return {
|
|
8952
|
-
AggregateConformancePackComplianceSummaries: output.AggregateConformancePackComplianceSummaries
|
|
8953
|
-
output.AggregateConformancePackComplianceSummaries !== null
|
|
8764
|
+
AggregateConformancePackComplianceSummaries: output.AggregateConformancePackComplianceSummaries != null
|
|
8954
8765
|
? deserializeAws_json1_1AggregateConformancePackComplianceSummaryList(output.AggregateConformancePackComplianceSummaries, context)
|
|
8955
8766
|
: undefined,
|
|
8956
8767
|
GroupByKey: __expectString(output.GroupByKey),
|
|
@@ -8960,7 +8771,7 @@ var deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryResponse =
|
|
|
8960
8771
|
var deserializeAws_json1_1GetAggregateDiscoveredResourceCountsResponse = function (output, context) {
|
|
8961
8772
|
return {
|
|
8962
8773
|
GroupByKey: __expectString(output.GroupByKey),
|
|
8963
|
-
GroupedResourceCounts: output.GroupedResourceCounts
|
|
8774
|
+
GroupedResourceCounts: output.GroupedResourceCounts != null
|
|
8964
8775
|
? deserializeAws_json1_1GroupedResourceCountList(output.GroupedResourceCounts, context)
|
|
8965
8776
|
: undefined,
|
|
8966
8777
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8969,14 +8780,14 @@ var deserializeAws_json1_1GetAggregateDiscoveredResourceCountsResponse = functio
|
|
|
8969
8780
|
};
|
|
8970
8781
|
var deserializeAws_json1_1GetAggregateResourceConfigResponse = function (output, context) {
|
|
8971
8782
|
return {
|
|
8972
|
-
ConfigurationItem: output.ConfigurationItem
|
|
8783
|
+
ConfigurationItem: output.ConfigurationItem != null
|
|
8973
8784
|
? deserializeAws_json1_1ConfigurationItem(output.ConfigurationItem, context)
|
|
8974
8785
|
: undefined,
|
|
8975
8786
|
};
|
|
8976
8787
|
};
|
|
8977
8788
|
var deserializeAws_json1_1GetComplianceDetailsByConfigRuleResponse = function (output, context) {
|
|
8978
8789
|
return {
|
|
8979
|
-
EvaluationResults: output.EvaluationResults
|
|
8790
|
+
EvaluationResults: output.EvaluationResults != null
|
|
8980
8791
|
? deserializeAws_json1_1EvaluationResults(output.EvaluationResults, context)
|
|
8981
8792
|
: undefined,
|
|
8982
8793
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8984,7 +8795,7 @@ var deserializeAws_json1_1GetComplianceDetailsByConfigRuleResponse = function (o
|
|
|
8984
8795
|
};
|
|
8985
8796
|
var deserializeAws_json1_1GetComplianceDetailsByResourceResponse = function (output, context) {
|
|
8986
8797
|
return {
|
|
8987
|
-
EvaluationResults: output.EvaluationResults
|
|
8798
|
+
EvaluationResults: output.EvaluationResults != null
|
|
8988
8799
|
? deserializeAws_json1_1EvaluationResults(output.EvaluationResults, context)
|
|
8989
8800
|
: undefined,
|
|
8990
8801
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8992,14 +8803,14 @@ var deserializeAws_json1_1GetComplianceDetailsByResourceResponse = function (out
|
|
|
8992
8803
|
};
|
|
8993
8804
|
var deserializeAws_json1_1GetComplianceSummaryByConfigRuleResponse = function (output, context) {
|
|
8994
8805
|
return {
|
|
8995
|
-
ComplianceSummary: output.ComplianceSummary
|
|
8806
|
+
ComplianceSummary: output.ComplianceSummary != null
|
|
8996
8807
|
? deserializeAws_json1_1ComplianceSummary(output.ComplianceSummary, context)
|
|
8997
8808
|
: undefined,
|
|
8998
8809
|
};
|
|
8999
8810
|
};
|
|
9000
8811
|
var deserializeAws_json1_1GetComplianceSummaryByResourceTypeResponse = function (output, context) {
|
|
9001
8812
|
return {
|
|
9002
|
-
ComplianceSummariesByResourceType: output.ComplianceSummariesByResourceType
|
|
8813
|
+
ComplianceSummariesByResourceType: output.ComplianceSummariesByResourceType != null
|
|
9003
8814
|
? deserializeAws_json1_1ComplianceSummariesByResourceType(output.ComplianceSummariesByResourceType, context)
|
|
9004
8815
|
: undefined,
|
|
9005
8816
|
};
|
|
@@ -9007,7 +8818,7 @@ var deserializeAws_json1_1GetComplianceSummaryByResourceTypeResponse = function
|
|
|
9007
8818
|
var deserializeAws_json1_1GetConformancePackComplianceDetailsResponse = function (output, context) {
|
|
9008
8819
|
return {
|
|
9009
8820
|
ConformancePackName: __expectString(output.ConformancePackName),
|
|
9010
|
-
ConformancePackRuleEvaluationResults: output.ConformancePackRuleEvaluationResults
|
|
8821
|
+
ConformancePackRuleEvaluationResults: output.ConformancePackRuleEvaluationResults != null
|
|
9011
8822
|
? deserializeAws_json1_1ConformancePackRuleEvaluationResultsList(output.ConformancePackRuleEvaluationResults, context)
|
|
9012
8823
|
: undefined,
|
|
9013
8824
|
NextToken: __expectString(output.NextToken),
|
|
@@ -9015,7 +8826,7 @@ var deserializeAws_json1_1GetConformancePackComplianceDetailsResponse = function
|
|
|
9015
8826
|
};
|
|
9016
8827
|
var deserializeAws_json1_1GetConformancePackComplianceSummaryResponse = function (output, context) {
|
|
9017
8828
|
return {
|
|
9018
|
-
ConformancePackComplianceSummaryList: output.ConformancePackComplianceSummaryList
|
|
8829
|
+
ConformancePackComplianceSummaryList: output.ConformancePackComplianceSummaryList != null
|
|
9019
8830
|
? deserializeAws_json1_1ConformancePackComplianceSummaryList(output.ConformancePackComplianceSummaryList, context)
|
|
9020
8831
|
: undefined,
|
|
9021
8832
|
NextToken: __expectString(output.NextToken),
|
|
@@ -9029,16 +8840,14 @@ var deserializeAws_json1_1GetCustomRulePolicyResponse = function (output, contex
|
|
|
9029
8840
|
var deserializeAws_json1_1GetDiscoveredResourceCountsResponse = function (output, context) {
|
|
9030
8841
|
return {
|
|
9031
8842
|
nextToken: __expectString(output.nextToken),
|
|
9032
|
-
resourceCounts: output.resourceCounts
|
|
9033
|
-
? deserializeAws_json1_1ResourceCounts(output.resourceCounts, context)
|
|
9034
|
-
: undefined,
|
|
8843
|
+
resourceCounts: output.resourceCounts != null ? deserializeAws_json1_1ResourceCounts(output.resourceCounts, context) : undefined,
|
|
9035
8844
|
totalDiscoveredResources: __expectLong(output.totalDiscoveredResources),
|
|
9036
8845
|
};
|
|
9037
8846
|
};
|
|
9038
8847
|
var deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusResponse = function (output, context) {
|
|
9039
8848
|
return {
|
|
9040
8849
|
NextToken: __expectString(output.NextToken),
|
|
9041
|
-
OrganizationConfigRuleDetailedStatus: output.OrganizationConfigRuleDetailedStatus
|
|
8850
|
+
OrganizationConfigRuleDetailedStatus: output.OrganizationConfigRuleDetailedStatus != null
|
|
9042
8851
|
? deserializeAws_json1_1OrganizationConfigRuleDetailedStatus(output.OrganizationConfigRuleDetailedStatus, context)
|
|
9043
8852
|
: undefined,
|
|
9044
8853
|
};
|
|
@@ -9046,8 +8855,7 @@ var deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusResponse = func
|
|
|
9046
8855
|
var deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusResponse = function (output, context) {
|
|
9047
8856
|
return {
|
|
9048
8857
|
NextToken: __expectString(output.NextToken),
|
|
9049
|
-
OrganizationConformancePackDetailedStatuses: output.OrganizationConformancePackDetailedStatuses
|
|
9050
|
-
output.OrganizationConformancePackDetailedStatuses !== null
|
|
8858
|
+
OrganizationConformancePackDetailedStatuses: output.OrganizationConformancePackDetailedStatuses != null
|
|
9051
8859
|
? deserializeAws_json1_1OrganizationConformancePackDetailedStatuses(output.OrganizationConformancePackDetailedStatuses, context)
|
|
9052
8860
|
: undefined,
|
|
9053
8861
|
};
|
|
@@ -9059,7 +8867,7 @@ var deserializeAws_json1_1GetOrganizationCustomRulePolicyResponse = function (ou
|
|
|
9059
8867
|
};
|
|
9060
8868
|
var deserializeAws_json1_1GetResourceConfigHistoryResponse = function (output, context) {
|
|
9061
8869
|
return {
|
|
9062
|
-
configurationItems: output.configurationItems
|
|
8870
|
+
configurationItems: output.configurationItems != null
|
|
9063
8871
|
? deserializeAws_json1_1ConfigurationItemList(output.configurationItems, context)
|
|
9064
8872
|
: undefined,
|
|
9065
8873
|
nextToken: __expectString(output.nextToken),
|
|
@@ -9067,9 +8875,7 @@ var deserializeAws_json1_1GetResourceConfigHistoryResponse = function (output, c
|
|
|
9067
8875
|
};
|
|
9068
8876
|
var deserializeAws_json1_1GetStoredQueryResponse = function (output, context) {
|
|
9069
8877
|
return {
|
|
9070
|
-
StoredQuery: output.StoredQuery
|
|
9071
|
-
? deserializeAws_json1_1StoredQuery(output.StoredQuery, context)
|
|
9072
|
-
: undefined,
|
|
8878
|
+
StoredQuery: output.StoredQuery != null ? deserializeAws_json1_1StoredQuery(output.StoredQuery, context) : undefined,
|
|
9073
8879
|
};
|
|
9074
8880
|
};
|
|
9075
8881
|
var deserializeAws_json1_1GroupedResourceCount = function (output, context) {
|
|
@@ -9177,7 +8983,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
9177
8983
|
var deserializeAws_json1_1ListAggregateDiscoveredResourcesResponse = function (output, context) {
|
|
9178
8984
|
return {
|
|
9179
8985
|
NextToken: __expectString(output.NextToken),
|
|
9180
|
-
ResourceIdentifiers: output.ResourceIdentifiers
|
|
8986
|
+
ResourceIdentifiers: output.ResourceIdentifiers != null
|
|
9181
8987
|
? deserializeAws_json1_1DiscoveredResourceIdentifierList(output.ResourceIdentifiers, context)
|
|
9182
8988
|
: undefined,
|
|
9183
8989
|
};
|
|
@@ -9185,7 +8991,7 @@ var deserializeAws_json1_1ListAggregateDiscoveredResourcesResponse = function (o
|
|
|
9185
8991
|
var deserializeAws_json1_1ListDiscoveredResourcesResponse = function (output, context) {
|
|
9186
8992
|
return {
|
|
9187
8993
|
nextToken: __expectString(output.nextToken),
|
|
9188
|
-
resourceIdentifiers: output.resourceIdentifiers
|
|
8994
|
+
resourceIdentifiers: output.resourceIdentifiers != null
|
|
9189
8995
|
? deserializeAws_json1_1ResourceIdentifierList(output.resourceIdentifiers, context)
|
|
9190
8996
|
: undefined,
|
|
9191
8997
|
};
|
|
@@ -9193,7 +8999,7 @@ var deserializeAws_json1_1ListDiscoveredResourcesResponse = function (output, co
|
|
|
9193
8999
|
var deserializeAws_json1_1ListStoredQueriesResponse = function (output, context) {
|
|
9194
9000
|
return {
|
|
9195
9001
|
NextToken: __expectString(output.NextToken),
|
|
9196
|
-
StoredQueryMetadata: output.StoredQueryMetadata
|
|
9002
|
+
StoredQueryMetadata: output.StoredQueryMetadata != null
|
|
9197
9003
|
? deserializeAws_json1_1StoredQueryMetadataList(output.StoredQueryMetadata, context)
|
|
9198
9004
|
: undefined,
|
|
9199
9005
|
};
|
|
@@ -9201,9 +9007,7 @@ var deserializeAws_json1_1ListStoredQueriesResponse = function (output, context)
|
|
|
9201
9007
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
9202
9008
|
return {
|
|
9203
9009
|
NextToken: __expectString(output.NextToken),
|
|
9204
|
-
Tags: output.Tags
|
|
9205
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
9206
|
-
: undefined,
|
|
9010
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
9207
9011
|
};
|
|
9208
9012
|
};
|
|
9209
9013
|
var deserializeAws_json1_1MaxActiveResourcesExceededException = function (output, context) {
|
|
@@ -9252,7 +9056,7 @@ var deserializeAws_json1_1MemberAccountStatus = function (output, context) {
|
|
|
9252
9056
|
ConfigRuleName: __expectString(output.ConfigRuleName),
|
|
9253
9057
|
ErrorCode: __expectString(output.ErrorCode),
|
|
9254
9058
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
9255
|
-
LastUpdateTime: output.LastUpdateTime
|
|
9059
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
9256
9060
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
9257
9061
|
: undefined,
|
|
9258
9062
|
MemberAccountRuleStatus: __expectString(output.MemberAccountRuleStatus),
|
|
@@ -9346,9 +9150,7 @@ var deserializeAws_json1_1OrganizationAccessDeniedException = function (output,
|
|
|
9346
9150
|
var deserializeAws_json1_1OrganizationAggregationSource = function (output, context) {
|
|
9347
9151
|
return {
|
|
9348
9152
|
AllAwsRegions: __expectBoolean(output.AllAwsRegions),
|
|
9349
|
-
AwsRegions: output.AwsRegions
|
|
9350
|
-
? deserializeAws_json1_1AggregatorRegionList(output.AwsRegions, context)
|
|
9351
|
-
: undefined,
|
|
9153
|
+
AwsRegions: output.AwsRegions != null ? deserializeAws_json1_1AggregatorRegionList(output.AwsRegions, context) : undefined,
|
|
9352
9154
|
RoleArn: __expectString(output.RoleArn),
|
|
9353
9155
|
};
|
|
9354
9156
|
};
|
|
@@ -9359,21 +9161,21 @@ var deserializeAws_json1_1OrganizationAllFeaturesNotEnabledException = function
|
|
|
9359
9161
|
};
|
|
9360
9162
|
var deserializeAws_json1_1OrganizationConfigRule = function (output, context) {
|
|
9361
9163
|
return {
|
|
9362
|
-
ExcludedAccounts: output.ExcludedAccounts
|
|
9164
|
+
ExcludedAccounts: output.ExcludedAccounts != null
|
|
9363
9165
|
? deserializeAws_json1_1ExcludedAccounts(output.ExcludedAccounts, context)
|
|
9364
9166
|
: undefined,
|
|
9365
|
-
LastUpdateTime: output.LastUpdateTime
|
|
9167
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
9366
9168
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
9367
9169
|
: undefined,
|
|
9368
9170
|
OrganizationConfigRuleArn: __expectString(output.OrganizationConfigRuleArn),
|
|
9369
9171
|
OrganizationConfigRuleName: __expectString(output.OrganizationConfigRuleName),
|
|
9370
|
-
OrganizationCustomPolicyRuleMetadata: output.OrganizationCustomPolicyRuleMetadata
|
|
9172
|
+
OrganizationCustomPolicyRuleMetadata: output.OrganizationCustomPolicyRuleMetadata != null
|
|
9371
9173
|
? deserializeAws_json1_1OrganizationCustomPolicyRuleMetadataNoPolicy(output.OrganizationCustomPolicyRuleMetadata, context)
|
|
9372
9174
|
: undefined,
|
|
9373
|
-
OrganizationCustomRuleMetadata: output.OrganizationCustomRuleMetadata
|
|
9175
|
+
OrganizationCustomRuleMetadata: output.OrganizationCustomRuleMetadata != null
|
|
9374
9176
|
? deserializeAws_json1_1OrganizationCustomRuleMetadata(output.OrganizationCustomRuleMetadata, context)
|
|
9375
9177
|
: undefined,
|
|
9376
|
-
OrganizationManagedRuleMetadata: output.OrganizationManagedRuleMetadata
|
|
9178
|
+
OrganizationManagedRuleMetadata: output.OrganizationManagedRuleMetadata != null
|
|
9377
9179
|
? deserializeAws_json1_1OrganizationManagedRuleMetadata(output.OrganizationManagedRuleMetadata, context)
|
|
9378
9180
|
: undefined,
|
|
9379
9181
|
};
|
|
@@ -9404,7 +9206,7 @@ var deserializeAws_json1_1OrganizationConfigRuleStatus = function (output, conte
|
|
|
9404
9206
|
return {
|
|
9405
9207
|
ErrorCode: __expectString(output.ErrorCode),
|
|
9406
9208
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
9407
|
-
LastUpdateTime: output.LastUpdateTime
|
|
9209
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
9408
9210
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
9409
9211
|
: undefined,
|
|
9410
9212
|
OrganizationConfigRuleName: __expectString(output.OrganizationConfigRuleName),
|
|
@@ -9446,15 +9248,15 @@ var deserializeAws_json1_1OrganizationConfigRuleTriggerTypes = function (output,
|
|
|
9446
9248
|
};
|
|
9447
9249
|
var deserializeAws_json1_1OrganizationConformancePack = function (output, context) {
|
|
9448
9250
|
return {
|
|
9449
|
-
ConformancePackInputParameters: output.ConformancePackInputParameters
|
|
9251
|
+
ConformancePackInputParameters: output.ConformancePackInputParameters != null
|
|
9450
9252
|
? deserializeAws_json1_1ConformancePackInputParameters(output.ConformancePackInputParameters, context)
|
|
9451
9253
|
: undefined,
|
|
9452
9254
|
DeliveryS3Bucket: __expectString(output.DeliveryS3Bucket),
|
|
9453
9255
|
DeliveryS3KeyPrefix: __expectString(output.DeliveryS3KeyPrefix),
|
|
9454
|
-
ExcludedAccounts: output.ExcludedAccounts
|
|
9256
|
+
ExcludedAccounts: output.ExcludedAccounts != null
|
|
9455
9257
|
? deserializeAws_json1_1ExcludedAccounts(output.ExcludedAccounts, context)
|
|
9456
9258
|
: undefined,
|
|
9457
|
-
LastUpdateTime: output.LastUpdateTime
|
|
9259
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
9458
9260
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
9459
9261
|
: undefined,
|
|
9460
9262
|
OrganizationConformancePackArn: __expectString(output.OrganizationConformancePackArn),
|
|
@@ -9467,7 +9269,7 @@ var deserializeAws_json1_1OrganizationConformancePackDetailedStatus = function (
|
|
|
9467
9269
|
ConformancePackName: __expectString(output.ConformancePackName),
|
|
9468
9270
|
ErrorCode: __expectString(output.ErrorCode),
|
|
9469
9271
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
9470
|
-
LastUpdateTime: output.LastUpdateTime
|
|
9272
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
9471
9273
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
9472
9274
|
: undefined,
|
|
9473
9275
|
Status: __expectString(output.Status),
|
|
@@ -9499,7 +9301,7 @@ var deserializeAws_json1_1OrganizationConformancePackStatus = function (output,
|
|
|
9499
9301
|
return {
|
|
9500
9302
|
ErrorCode: __expectString(output.ErrorCode),
|
|
9501
9303
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
9502
|
-
LastUpdateTime: output.LastUpdateTime
|
|
9304
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
9503
9305
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
9504
9306
|
: undefined,
|
|
9505
9307
|
OrganizationConformancePackName: __expectString(output.OrganizationConformancePackName),
|
|
@@ -9524,18 +9326,18 @@ var deserializeAws_json1_1OrganizationConformancePackTemplateValidationException
|
|
|
9524
9326
|
};
|
|
9525
9327
|
var deserializeAws_json1_1OrganizationCustomPolicyRuleMetadataNoPolicy = function (output, context) {
|
|
9526
9328
|
return {
|
|
9527
|
-
DebugLogDeliveryAccounts: output.DebugLogDeliveryAccounts
|
|
9329
|
+
DebugLogDeliveryAccounts: output.DebugLogDeliveryAccounts != null
|
|
9528
9330
|
? deserializeAws_json1_1DebugLogDeliveryAccounts(output.DebugLogDeliveryAccounts, context)
|
|
9529
9331
|
: undefined,
|
|
9530
9332
|
Description: __expectString(output.Description),
|
|
9531
9333
|
InputParameters: __expectString(output.InputParameters),
|
|
9532
9334
|
MaximumExecutionFrequency: __expectString(output.MaximumExecutionFrequency),
|
|
9533
|
-
OrganizationConfigRuleTriggerTypes: output.OrganizationConfigRuleTriggerTypes
|
|
9335
|
+
OrganizationConfigRuleTriggerTypes: output.OrganizationConfigRuleTriggerTypes != null
|
|
9534
9336
|
? deserializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs(output.OrganizationConfigRuleTriggerTypes, context)
|
|
9535
9337
|
: undefined,
|
|
9536
9338
|
PolicyRuntime: __expectString(output.PolicyRuntime),
|
|
9537
9339
|
ResourceIdScope: __expectString(output.ResourceIdScope),
|
|
9538
|
-
ResourceTypesScope: output.ResourceTypesScope
|
|
9340
|
+
ResourceTypesScope: output.ResourceTypesScope != null
|
|
9539
9341
|
? deserializeAws_json1_1ResourceTypesScope(output.ResourceTypesScope, context)
|
|
9540
9342
|
: undefined,
|
|
9541
9343
|
TagKeyScope: __expectString(output.TagKeyScope),
|
|
@@ -9548,11 +9350,11 @@ var deserializeAws_json1_1OrganizationCustomRuleMetadata = function (output, con
|
|
|
9548
9350
|
InputParameters: __expectString(output.InputParameters),
|
|
9549
9351
|
LambdaFunctionArn: __expectString(output.LambdaFunctionArn),
|
|
9550
9352
|
MaximumExecutionFrequency: __expectString(output.MaximumExecutionFrequency),
|
|
9551
|
-
OrganizationConfigRuleTriggerTypes: output.OrganizationConfigRuleTriggerTypes
|
|
9353
|
+
OrganizationConfigRuleTriggerTypes: output.OrganizationConfigRuleTriggerTypes != null
|
|
9552
9354
|
? deserializeAws_json1_1OrganizationConfigRuleTriggerTypes(output.OrganizationConfigRuleTriggerTypes, context)
|
|
9553
9355
|
: undefined,
|
|
9554
9356
|
ResourceIdScope: __expectString(output.ResourceIdScope),
|
|
9555
|
-
ResourceTypesScope: output.ResourceTypesScope
|
|
9357
|
+
ResourceTypesScope: output.ResourceTypesScope != null
|
|
9556
9358
|
? deserializeAws_json1_1ResourceTypesScope(output.ResourceTypesScope, context)
|
|
9557
9359
|
: undefined,
|
|
9558
9360
|
TagKeyScope: __expectString(output.TagKeyScope),
|
|
@@ -9565,7 +9367,7 @@ var deserializeAws_json1_1OrganizationManagedRuleMetadata = function (output, co
|
|
|
9565
9367
|
InputParameters: __expectString(output.InputParameters),
|
|
9566
9368
|
MaximumExecutionFrequency: __expectString(output.MaximumExecutionFrequency),
|
|
9567
9369
|
ResourceIdScope: __expectString(output.ResourceIdScope),
|
|
9568
|
-
ResourceTypesScope: output.ResourceTypesScope
|
|
9370
|
+
ResourceTypesScope: output.ResourceTypesScope != null
|
|
9569
9371
|
? deserializeAws_json1_1ResourceTypesScope(output.ResourceTypesScope, context)
|
|
9570
9372
|
: undefined,
|
|
9571
9373
|
RuleIdentifier: __expectString(output.RuleIdentifier),
|
|
@@ -9597,14 +9399,14 @@ var deserializeAws_json1_1PendingAggregationRequestList = function (output, cont
|
|
|
9597
9399
|
};
|
|
9598
9400
|
var deserializeAws_json1_1PutAggregationAuthorizationResponse = function (output, context) {
|
|
9599
9401
|
return {
|
|
9600
|
-
AggregationAuthorization: output.AggregationAuthorization
|
|
9402
|
+
AggregationAuthorization: output.AggregationAuthorization != null
|
|
9601
9403
|
? deserializeAws_json1_1AggregationAuthorization(output.AggregationAuthorization, context)
|
|
9602
9404
|
: undefined,
|
|
9603
9405
|
};
|
|
9604
9406
|
};
|
|
9605
9407
|
var deserializeAws_json1_1PutConfigurationAggregatorResponse = function (output, context) {
|
|
9606
9408
|
return {
|
|
9607
|
-
ConfigurationAggregator: output.ConfigurationAggregator
|
|
9409
|
+
ConfigurationAggregator: output.ConfigurationAggregator != null
|
|
9608
9410
|
? deserializeAws_json1_1ConfigurationAggregator(output.ConfigurationAggregator, context)
|
|
9609
9411
|
: undefined,
|
|
9610
9412
|
};
|
|
@@ -9616,7 +9418,7 @@ var deserializeAws_json1_1PutConformancePackResponse = function (output, context
|
|
|
9616
9418
|
};
|
|
9617
9419
|
var deserializeAws_json1_1PutEvaluationsResponse = function (output, context) {
|
|
9618
9420
|
return {
|
|
9619
|
-
FailedEvaluations: output.FailedEvaluations
|
|
9421
|
+
FailedEvaluations: output.FailedEvaluations != null
|
|
9620
9422
|
? deserializeAws_json1_1Evaluations(output.FailedEvaluations, context)
|
|
9621
9423
|
: undefined,
|
|
9622
9424
|
};
|
|
@@ -9636,21 +9438,21 @@ var deserializeAws_json1_1PutOrganizationConformancePackResponse = function (out
|
|
|
9636
9438
|
};
|
|
9637
9439
|
var deserializeAws_json1_1PutRemediationConfigurationsResponse = function (output, context) {
|
|
9638
9440
|
return {
|
|
9639
|
-
FailedBatches: output.FailedBatches
|
|
9441
|
+
FailedBatches: output.FailedBatches != null
|
|
9640
9442
|
? deserializeAws_json1_1FailedRemediationBatches(output.FailedBatches, context)
|
|
9641
9443
|
: undefined,
|
|
9642
9444
|
};
|
|
9643
9445
|
};
|
|
9644
9446
|
var deserializeAws_json1_1PutRemediationExceptionsResponse = function (output, context) {
|
|
9645
9447
|
return {
|
|
9646
|
-
FailedBatches: output.FailedBatches
|
|
9448
|
+
FailedBatches: output.FailedBatches != null
|
|
9647
9449
|
? deserializeAws_json1_1FailedRemediationExceptionBatches(output.FailedBatches, context)
|
|
9648
9450
|
: undefined,
|
|
9649
9451
|
};
|
|
9650
9452
|
};
|
|
9651
9453
|
var deserializeAws_json1_1PutRetentionConfigurationResponse = function (output, context) {
|
|
9652
9454
|
return {
|
|
9653
|
-
RetentionConfiguration: output.RetentionConfiguration
|
|
9455
|
+
RetentionConfiguration: output.RetentionConfiguration != null
|
|
9654
9456
|
? deserializeAws_json1_1RetentionConfiguration(output.RetentionConfiguration, context)
|
|
9655
9457
|
: undefined,
|
|
9656
9458
|
};
|
|
@@ -9662,18 +9464,14 @@ var deserializeAws_json1_1PutStoredQueryResponse = function (output, context) {
|
|
|
9662
9464
|
};
|
|
9663
9465
|
var deserializeAws_json1_1QueryInfo = function (output, context) {
|
|
9664
9466
|
return {
|
|
9665
|
-
SelectFields: output.SelectFields
|
|
9666
|
-
? deserializeAws_json1_1FieldInfoList(output.SelectFields, context)
|
|
9667
|
-
: undefined,
|
|
9467
|
+
SelectFields: output.SelectFields != null ? deserializeAws_json1_1FieldInfoList(output.SelectFields, context) : undefined,
|
|
9668
9468
|
};
|
|
9669
9469
|
};
|
|
9670
9470
|
var deserializeAws_json1_1RecordingGroup = function (output, context) {
|
|
9671
9471
|
return {
|
|
9672
9472
|
allSupported: __expectBoolean(output.allSupported),
|
|
9673
9473
|
includeGlobalResourceTypes: __expectBoolean(output.includeGlobalResourceTypes),
|
|
9674
|
-
resourceTypes: output.resourceTypes
|
|
9675
|
-
? deserializeAws_json1_1ResourceTypeList(output.resourceTypes, context)
|
|
9676
|
-
: undefined,
|
|
9474
|
+
resourceTypes: output.resourceTypes != null ? deserializeAws_json1_1ResourceTypeList(output.resourceTypes, context) : undefined,
|
|
9677
9475
|
};
|
|
9678
9476
|
};
|
|
9679
9477
|
var deserializeAws_json1_1RelatedEventList = function (output, context) {
|
|
@@ -9712,13 +9510,11 @@ var deserializeAws_json1_1RemediationConfiguration = function (output, context)
|
|
|
9712
9510
|
Automatic: __expectBoolean(output.Automatic),
|
|
9713
9511
|
ConfigRuleName: __expectString(output.ConfigRuleName),
|
|
9714
9512
|
CreatedByService: __expectString(output.CreatedByService),
|
|
9715
|
-
ExecutionControls: output.ExecutionControls
|
|
9513
|
+
ExecutionControls: output.ExecutionControls != null
|
|
9716
9514
|
? deserializeAws_json1_1ExecutionControls(output.ExecutionControls, context)
|
|
9717
9515
|
: undefined,
|
|
9718
9516
|
MaximumAutomaticAttempts: __expectInt32(output.MaximumAutomaticAttempts),
|
|
9719
|
-
Parameters: output.Parameters
|
|
9720
|
-
? deserializeAws_json1_1RemediationParameters(output.Parameters, context)
|
|
9721
|
-
: undefined,
|
|
9517
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1RemediationParameters(output.Parameters, context) : undefined,
|
|
9722
9518
|
ResourceType: __expectString(output.ResourceType),
|
|
9723
9519
|
RetryAttemptSeconds: __expectLong(output.RetryAttemptSeconds),
|
|
9724
9520
|
TargetId: __expectString(output.TargetId),
|
|
@@ -9740,7 +9536,7 @@ var deserializeAws_json1_1RemediationConfigurations = function (output, context)
|
|
|
9740
9536
|
var deserializeAws_json1_1RemediationException = function (output, context) {
|
|
9741
9537
|
return {
|
|
9742
9538
|
ConfigRuleName: __expectString(output.ConfigRuleName),
|
|
9743
|
-
ExpirationTime: output.ExpirationTime
|
|
9539
|
+
ExpirationTime: output.ExpirationTime != null
|
|
9744
9540
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTime)))
|
|
9745
9541
|
: undefined,
|
|
9746
9542
|
Message: __expectString(output.Message),
|
|
@@ -9778,17 +9574,15 @@ var deserializeAws_json1_1RemediationExceptions = function (output, context) {
|
|
|
9778
9574
|
};
|
|
9779
9575
|
var deserializeAws_json1_1RemediationExecutionStatus = function (output, context) {
|
|
9780
9576
|
return {
|
|
9781
|
-
InvocationTime: output.InvocationTime
|
|
9577
|
+
InvocationTime: output.InvocationTime != null
|
|
9782
9578
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.InvocationTime)))
|
|
9783
9579
|
: undefined,
|
|
9784
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
9580
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
9785
9581
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
9786
9582
|
: undefined,
|
|
9787
|
-
ResourceKey: output.ResourceKey
|
|
9788
|
-
? deserializeAws_json1_1ResourceKey(output.ResourceKey, context)
|
|
9789
|
-
: undefined,
|
|
9583
|
+
ResourceKey: output.ResourceKey != null ? deserializeAws_json1_1ResourceKey(output.ResourceKey, context) : undefined,
|
|
9790
9584
|
State: __expectString(output.State),
|
|
9791
|
-
StepDetails: output.StepDetails
|
|
9585
|
+
StepDetails: output.StepDetails != null
|
|
9792
9586
|
? deserializeAws_json1_1RemediationExecutionSteps(output.StepDetails, context)
|
|
9793
9587
|
: undefined,
|
|
9794
9588
|
};
|
|
@@ -9808,13 +9602,9 @@ var deserializeAws_json1_1RemediationExecutionStep = function (output, context)
|
|
|
9808
9602
|
return {
|
|
9809
9603
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
9810
9604
|
Name: __expectString(output.Name),
|
|
9811
|
-
StartTime: output.StartTime
|
|
9812
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
9813
|
-
: undefined,
|
|
9605
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
9814
9606
|
State: __expectString(output.State),
|
|
9815
|
-
StopTime: output.StopTime
|
|
9816
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StopTime)))
|
|
9817
|
-
: undefined,
|
|
9607
|
+
StopTime: output.StopTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StopTime))) : undefined,
|
|
9818
9608
|
};
|
|
9819
9609
|
};
|
|
9820
9610
|
var deserializeAws_json1_1RemediationExecutionSteps = function (output, context) {
|
|
@@ -9845,12 +9635,8 @@ var deserializeAws_json1_1RemediationParameters = function (output, context) {
|
|
|
9845
9635
|
};
|
|
9846
9636
|
var deserializeAws_json1_1RemediationParameterValue = function (output, context) {
|
|
9847
9637
|
return {
|
|
9848
|
-
ResourceValue: output.ResourceValue
|
|
9849
|
-
|
|
9850
|
-
: undefined,
|
|
9851
|
-
StaticValue: output.StaticValue !== undefined && output.StaticValue !== null
|
|
9852
|
-
? deserializeAws_json1_1StaticValue(output.StaticValue, context)
|
|
9853
|
-
: undefined,
|
|
9638
|
+
ResourceValue: output.ResourceValue != null ? deserializeAws_json1_1ResourceValue(output.ResourceValue, context) : undefined,
|
|
9639
|
+
StaticValue: output.StaticValue != null ? deserializeAws_json1_1StaticValue(output.StaticValue, context) : undefined,
|
|
9854
9640
|
};
|
|
9855
9641
|
};
|
|
9856
9642
|
var deserializeAws_json1_1ResourceConcurrentModificationException = function (output, context) {
|
|
@@ -9877,7 +9663,7 @@ var deserializeAws_json1_1ResourceCounts = function (output, context) {
|
|
|
9877
9663
|
};
|
|
9878
9664
|
var deserializeAws_json1_1ResourceIdentifier = function (output, context) {
|
|
9879
9665
|
return {
|
|
9880
|
-
resourceDeletionTime: output.resourceDeletionTime
|
|
9666
|
+
resourceDeletionTime: output.resourceDeletionTime != null
|
|
9881
9667
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.resourceDeletionTime)))
|
|
9882
9668
|
: undefined,
|
|
9883
9669
|
resourceId: __expectString(output.resourceId),
|
|
@@ -9986,7 +9772,7 @@ var deserializeAws_json1_1RetentionConfigurationList = function (output, context
|
|
|
9986
9772
|
var deserializeAws_json1_1Scope = function (output, context) {
|
|
9987
9773
|
return {
|
|
9988
9774
|
ComplianceResourceId: __expectString(output.ComplianceResourceId),
|
|
9989
|
-
ComplianceResourceTypes: output.ComplianceResourceTypes
|
|
9775
|
+
ComplianceResourceTypes: output.ComplianceResourceTypes != null
|
|
9990
9776
|
? deserializeAws_json1_1ComplianceResourceTypes(output.ComplianceResourceTypes, context)
|
|
9991
9777
|
: undefined,
|
|
9992
9778
|
TagKey: __expectString(output.TagKey),
|
|
@@ -9996,34 +9782,24 @@ var deserializeAws_json1_1Scope = function (output, context) {
|
|
|
9996
9782
|
var deserializeAws_json1_1SelectAggregateResourceConfigResponse = function (output, context) {
|
|
9997
9783
|
return {
|
|
9998
9784
|
NextToken: __expectString(output.NextToken),
|
|
9999
|
-
QueryInfo: output.QueryInfo
|
|
10000
|
-
|
|
10001
|
-
: undefined,
|
|
10002
|
-
Results: output.Results !== undefined && output.Results !== null
|
|
10003
|
-
? deserializeAws_json1_1Results(output.Results, context)
|
|
10004
|
-
: undefined,
|
|
9785
|
+
QueryInfo: output.QueryInfo != null ? deserializeAws_json1_1QueryInfo(output.QueryInfo, context) : undefined,
|
|
9786
|
+
Results: output.Results != null ? deserializeAws_json1_1Results(output.Results, context) : undefined,
|
|
10005
9787
|
};
|
|
10006
9788
|
};
|
|
10007
9789
|
var deserializeAws_json1_1SelectResourceConfigResponse = function (output, context) {
|
|
10008
9790
|
return {
|
|
10009
9791
|
NextToken: __expectString(output.NextToken),
|
|
10010
|
-
QueryInfo: output.QueryInfo
|
|
10011
|
-
|
|
10012
|
-
: undefined,
|
|
10013
|
-
Results: output.Results !== undefined && output.Results !== null
|
|
10014
|
-
? deserializeAws_json1_1Results(output.Results, context)
|
|
10015
|
-
: undefined,
|
|
9792
|
+
QueryInfo: output.QueryInfo != null ? deserializeAws_json1_1QueryInfo(output.QueryInfo, context) : undefined,
|
|
9793
|
+
Results: output.Results != null ? deserializeAws_json1_1Results(output.Results, context) : undefined,
|
|
10016
9794
|
};
|
|
10017
9795
|
};
|
|
10018
9796
|
var deserializeAws_json1_1Source = function (output, context) {
|
|
10019
9797
|
return {
|
|
10020
|
-
CustomPolicyDetails: output.CustomPolicyDetails
|
|
9798
|
+
CustomPolicyDetails: output.CustomPolicyDetails != null
|
|
10021
9799
|
? deserializeAws_json1_1CustomPolicyDetails(output.CustomPolicyDetails, context)
|
|
10022
9800
|
: undefined,
|
|
10023
9801
|
Owner: __expectString(output.Owner),
|
|
10024
|
-
SourceDetails: output.SourceDetails
|
|
10025
|
-
? deserializeAws_json1_1SourceDetails(output.SourceDetails, context)
|
|
10026
|
-
: undefined,
|
|
9802
|
+
SourceDetails: output.SourceDetails != null ? deserializeAws_json1_1SourceDetails(output.SourceDetails, context) : undefined,
|
|
10027
9803
|
SourceIdentifier: __expectString(output.SourceIdentifier),
|
|
10028
9804
|
};
|
|
10029
9805
|
};
|
|
@@ -10056,9 +9832,7 @@ var deserializeAws_json1_1StartConfigRulesEvaluationResponse = function (output,
|
|
|
10056
9832
|
};
|
|
10057
9833
|
var deserializeAws_json1_1StartRemediationExecutionResponse = function (output, context) {
|
|
10058
9834
|
return {
|
|
10059
|
-
FailedItems: output.FailedItems
|
|
10060
|
-
? deserializeAws_json1_1ResourceKeys(output.FailedItems, context)
|
|
10061
|
-
: undefined,
|
|
9835
|
+
FailedItems: output.FailedItems != null ? deserializeAws_json1_1ResourceKeys(output.FailedItems, context) : undefined,
|
|
10062
9836
|
FailureMessage: __expectString(output.FailureMessage),
|
|
10063
9837
|
};
|
|
10064
9838
|
};
|
|
@@ -10075,9 +9849,7 @@ var deserializeAws_json1_1StaticParameterValues = function (output, context) {
|
|
|
10075
9849
|
};
|
|
10076
9850
|
var deserializeAws_json1_1StaticValue = function (output, context) {
|
|
10077
9851
|
return {
|
|
10078
|
-
Values: output.Values
|
|
10079
|
-
? deserializeAws_json1_1StaticParameterValues(output.Values, context)
|
|
10080
|
-
: undefined,
|
|
9852
|
+
Values: output.Values != null ? deserializeAws_json1_1StaticParameterValues(output.Values, context) : undefined,
|
|
10081
9853
|
};
|
|
10082
9854
|
};
|
|
10083
9855
|
var deserializeAws_json1_1StoredQuery = function (output, context) {
|