@aws-sdk/client-appstream 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +386 -581
- package/dist-es/protocols/Aws_json1_1.js +221 -416
- package/package.json +27 -27
|
@@ -4793,7 +4793,7 @@ var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOu
|
|
|
4793
4793
|
});
|
|
4794
4794
|
}); };
|
|
4795
4795
|
var serializeAws_json1_1AccessEndpoint = function (input, context) {
|
|
4796
|
-
return __assign(__assign({}, (input.EndpointType
|
|
4796
|
+
return __assign(__assign({}, (input.EndpointType != null && { EndpointType: input.EndpointType })), (input.VpceId != null && { VpceId: input.VpceId }));
|
|
4797
4797
|
};
|
|
4798
4798
|
var serializeAws_json1_1AccessEndpointList = function (input, context) {
|
|
4799
4799
|
return input
|
|
@@ -4816,7 +4816,7 @@ var serializeAws_json1_1ApplicationAttributes = function (input, context) {
|
|
|
4816
4816
|
});
|
|
4817
4817
|
};
|
|
4818
4818
|
var serializeAws_json1_1ApplicationSettings = function (input, context) {
|
|
4819
|
-
return __assign(__assign({}, (input.Enabled
|
|
4819
|
+
return __assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.SettingsGroup != null && { SettingsGroup: input.SettingsGroup }));
|
|
4820
4820
|
};
|
|
4821
4821
|
var serializeAws_json1_1ArnList = function (input, context) {
|
|
4822
4822
|
return input
|
|
@@ -4829,16 +4829,13 @@ var serializeAws_json1_1ArnList = function (input, context) {
|
|
|
4829
4829
|
});
|
|
4830
4830
|
};
|
|
4831
4831
|
var serializeAws_json1_1AssociateApplicationFleetRequest = function (input, context) {
|
|
4832
|
-
return __assign(__assign({}, (input.ApplicationArn
|
|
4833
|
-
input.ApplicationArn !== null && { ApplicationArn: input.ApplicationArn })), (input.FleetName !== undefined && input.FleetName !== null && { FleetName: input.FleetName }));
|
|
4832
|
+
return __assign(__assign({}, (input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn })), (input.FleetName != null && { FleetName: input.FleetName }));
|
|
4834
4833
|
};
|
|
4835
4834
|
var serializeAws_json1_1AssociateApplicationToEntitlementRequest = function (input, context) {
|
|
4836
|
-
return __assign(__assign(__assign({}, (input.ApplicationIdentifier
|
|
4837
|
-
input.ApplicationIdentifier !== null && { ApplicationIdentifier: input.ApplicationIdentifier })), (input.EntitlementName !== undefined &&
|
|
4838
|
-
input.EntitlementName !== null && { EntitlementName: input.EntitlementName })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }));
|
|
4835
|
+
return __assign(__assign(__assign({}, (input.ApplicationIdentifier != null && { ApplicationIdentifier: input.ApplicationIdentifier })), (input.EntitlementName != null && { EntitlementName: input.EntitlementName })), (input.StackName != null && { StackName: input.StackName }));
|
|
4839
4836
|
};
|
|
4840
4837
|
var serializeAws_json1_1AssociateFleetRequest = function (input, context) {
|
|
4841
|
-
return __assign(__assign({}, (input.FleetName
|
|
4838
|
+
return __assign(__assign({}, (input.FleetName != null && { FleetName: input.FleetName })), (input.StackName != null && { StackName: input.StackName }));
|
|
4842
4839
|
};
|
|
4843
4840
|
var serializeAws_json1_1AwsAccountIdList = function (input, context) {
|
|
4844
4841
|
return input
|
|
@@ -4851,231 +4848,181 @@ var serializeAws_json1_1AwsAccountIdList = function (input, context) {
|
|
|
4851
4848
|
});
|
|
4852
4849
|
};
|
|
4853
4850
|
var serializeAws_json1_1BatchAssociateUserStackRequest = function (input, context) {
|
|
4854
|
-
return __assign({}, (input.UserStackAssociations
|
|
4855
|
-
input.UserStackAssociations !== null && {
|
|
4851
|
+
return __assign({}, (input.UserStackAssociations != null && {
|
|
4856
4852
|
UserStackAssociations: serializeAws_json1_1UserStackAssociationList(input.UserStackAssociations, context),
|
|
4857
4853
|
}));
|
|
4858
4854
|
};
|
|
4859
4855
|
var serializeAws_json1_1BatchDisassociateUserStackRequest = function (input, context) {
|
|
4860
|
-
return __assign({}, (input.UserStackAssociations
|
|
4861
|
-
input.UserStackAssociations !== null && {
|
|
4856
|
+
return __assign({}, (input.UserStackAssociations != null && {
|
|
4862
4857
|
UserStackAssociations: serializeAws_json1_1UserStackAssociationList(input.UserStackAssociations, context),
|
|
4863
4858
|
}));
|
|
4864
4859
|
};
|
|
4865
4860
|
var serializeAws_json1_1ComputeCapacity = function (input, context) {
|
|
4866
|
-
return __assign({}, (input.DesiredInstances
|
|
4867
|
-
input.DesiredInstances !== null && { DesiredInstances: input.DesiredInstances }));
|
|
4861
|
+
return __assign({}, (input.DesiredInstances != null && { DesiredInstances: input.DesiredInstances }));
|
|
4868
4862
|
};
|
|
4869
4863
|
var serializeAws_json1_1CopyImageRequest = function (input, context) {
|
|
4870
|
-
return __assign(__assign(__assign(__assign({}, (input.DestinationImageDescription
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
input.DestinationRegion !== null && { DestinationRegion: input.DestinationRegion })), (input.SourceImageName !== undefined &&
|
|
4874
|
-
input.SourceImageName !== null && { SourceImageName: input.SourceImageName }));
|
|
4864
|
+
return __assign(__assign(__assign(__assign({}, (input.DestinationImageDescription != null && {
|
|
4865
|
+
DestinationImageDescription: input.DestinationImageDescription,
|
|
4866
|
+
})), (input.DestinationImageName != null && { DestinationImageName: input.DestinationImageName })), (input.DestinationRegion != null && { DestinationRegion: input.DestinationRegion })), (input.SourceImageName != null && { SourceImageName: input.SourceImageName }));
|
|
4875
4867
|
};
|
|
4876
4868
|
var serializeAws_json1_1CreateAppBlockRequest = function (input, context) {
|
|
4877
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
4878
|
-
input.SetupScriptDetails !== null && {
|
|
4869
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.Name != null && { Name: input.Name })), (input.SetupScriptDetails != null && {
|
|
4879
4870
|
SetupScriptDetails: serializeAws_json1_1ScriptDetails(input.SetupScriptDetails, context),
|
|
4880
|
-
})), (input.SourceS3Location
|
|
4881
|
-
input.SourceS3Location !== null && {
|
|
4871
|
+
})), (input.SourceS3Location != null && {
|
|
4882
4872
|
SourceS3Location: serializeAws_json1_1S3Location(input.SourceS3Location, context),
|
|
4883
|
-
})), (input.Tags
|
|
4873
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
4884
4874
|
};
|
|
4885
4875
|
var serializeAws_json1_1CreateApplicationRequest = function (input, context) {
|
|
4886
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppBlockArn
|
|
4887
|
-
input.IconS3Location !== null && {
|
|
4876
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppBlockArn != null && { AppBlockArn: input.AppBlockArn })), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.IconS3Location != null && {
|
|
4888
4877
|
IconS3Location: serializeAws_json1_1S3Location(input.IconS3Location, context),
|
|
4889
|
-
})), (input.InstanceFamilies
|
|
4890
|
-
input.InstanceFamilies !== null && {
|
|
4878
|
+
})), (input.InstanceFamilies != null && {
|
|
4891
4879
|
InstanceFamilies: serializeAws_json1_1StringList(input.InstanceFamilies, context),
|
|
4892
|
-
})), (input.LaunchParameters
|
|
4893
|
-
input.LaunchParameters !== null && { LaunchParameters: input.LaunchParameters })), (input.LaunchPath !== undefined && input.LaunchPath !== null && { LaunchPath: input.LaunchPath })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platforms !== undefined &&
|
|
4894
|
-
input.Platforms !== null && { Platforms: serializeAws_json1_1Platforms(input.Platforms, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WorkingDirectory !== undefined &&
|
|
4895
|
-
input.WorkingDirectory !== null && { WorkingDirectory: input.WorkingDirectory }));
|
|
4880
|
+
})), (input.LaunchParameters != null && { LaunchParameters: input.LaunchParameters })), (input.LaunchPath != null && { LaunchPath: input.LaunchPath })), (input.Name != null && { Name: input.Name })), (input.Platforms != null && { Platforms: serializeAws_json1_1Platforms(input.Platforms, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WorkingDirectory != null && { WorkingDirectory: input.WorkingDirectory }));
|
|
4896
4881
|
};
|
|
4897
4882
|
var serializeAws_json1_1CreateDirectoryConfigRequest = function (input, context) {
|
|
4898
|
-
return __assign(__assign(__assign({}, (input.DirectoryName
|
|
4899
|
-
input.OrganizationalUnitDistinguishedNames !== null && {
|
|
4883
|
+
return __assign(__assign(__assign({}, (input.DirectoryName != null && { DirectoryName: input.DirectoryName })), (input.OrganizationalUnitDistinguishedNames != null && {
|
|
4900
4884
|
OrganizationalUnitDistinguishedNames: serializeAws_json1_1OrganizationalUnitDistinguishedNamesList(input.OrganizationalUnitDistinguishedNames, context),
|
|
4901
|
-
})), (input.ServiceAccountCredentials
|
|
4902
|
-
input.ServiceAccountCredentials !== null && {
|
|
4885
|
+
})), (input.ServiceAccountCredentials != null && {
|
|
4903
4886
|
ServiceAccountCredentials: serializeAws_json1_1ServiceAccountCredentials(input.ServiceAccountCredentials, context),
|
|
4904
4887
|
}));
|
|
4905
4888
|
};
|
|
4906
4889
|
var serializeAws_json1_1CreateEntitlementRequest = function (input, context) {
|
|
4907
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AppVisibility
|
|
4908
|
-
input.Attributes !== null && {
|
|
4890
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AppVisibility != null && { AppVisibility: input.AppVisibility })), (input.Attributes != null && {
|
|
4909
4891
|
Attributes: serializeAws_json1_1EntitlementAttributeList(input.Attributes, context),
|
|
4910
|
-
})), (input.Description
|
|
4892
|
+
})), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.StackName != null && { StackName: input.StackName }));
|
|
4911
4893
|
};
|
|
4912
4894
|
var serializeAws_json1_1CreateFleetRequest = function (input, context) {
|
|
4913
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComputeCapacity
|
|
4914
|
-
input.ComputeCapacity !== null && {
|
|
4895
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComputeCapacity != null && {
|
|
4915
4896
|
ComputeCapacity: serializeAws_json1_1ComputeCapacity(input.ComputeCapacity, context),
|
|
4916
|
-
})), (input.Description
|
|
4917
|
-
input.DisconnectTimeoutInSeconds !== null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo !== undefined &&
|
|
4918
|
-
input.DomainJoinInfo !== null && {
|
|
4897
|
+
})), (input.Description != null && { Description: input.Description })), (input.DisconnectTimeoutInSeconds != null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo != null && {
|
|
4919
4898
|
DomainJoinInfo: serializeAws_json1_1DomainJoinInfo(input.DomainJoinInfo, context),
|
|
4920
|
-
})), (input.EnableDefaultInternetAccess
|
|
4921
|
-
|
|
4922
|
-
|
|
4899
|
+
})), (input.EnableDefaultInternetAccess != null && {
|
|
4900
|
+
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
4901
|
+
})), (input.FleetType != null && { FleetType: input.FleetType })), (input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn })), (input.IdleDisconnectTimeoutInSeconds != null && {
|
|
4923
4902
|
IdleDisconnectTimeoutInSeconds: input.IdleDisconnectTimeoutInSeconds,
|
|
4924
|
-
})), (input.ImageArn
|
|
4925
|
-
input.MaxConcurrentSessions !== null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds !== undefined &&
|
|
4926
|
-
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform })), (input.SessionScriptS3Location !== undefined &&
|
|
4927
|
-
input.SessionScriptS3Location !== null && {
|
|
4903
|
+
})), (input.ImageArn != null && { ImageArn: input.ImageArn })), (input.ImageName != null && { ImageName: input.ImageName })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.MaxConcurrentSessions != null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds != null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name != null && { Name: input.Name })), (input.Platform != null && { Platform: input.Platform })), (input.SessionScriptS3Location != null && {
|
|
4928
4904
|
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
|
|
4929
|
-
})), (input.StreamView
|
|
4930
|
-
input.UsbDeviceFilterStrings !== null && {
|
|
4905
|
+
})), (input.StreamView != null && { StreamView: input.StreamView })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.UsbDeviceFilterStrings != null && {
|
|
4931
4906
|
UsbDeviceFilterStrings: serializeAws_json1_1UsbDeviceFilterStrings(input.UsbDeviceFilterStrings, context),
|
|
4932
|
-
})), (input.VpcConfig
|
|
4933
|
-
input.VpcConfig !== null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
4907
|
+
})), (input.VpcConfig != null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
4934
4908
|
};
|
|
4935
4909
|
var serializeAws_json1_1CreateImageBuilderRequest = function (input, context) {
|
|
4936
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints
|
|
4937
|
-
input.AccessEndpoints !== null && {
|
|
4910
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints != null && {
|
|
4938
4911
|
AccessEndpoints: serializeAws_json1_1AccessEndpointList(input.AccessEndpoints, context),
|
|
4939
|
-
})), (input.AppstreamAgentVersion
|
|
4940
|
-
input.AppstreamAgentVersion !== null && { AppstreamAgentVersion: input.AppstreamAgentVersion })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo !== undefined &&
|
|
4941
|
-
input.DomainJoinInfo !== null && {
|
|
4912
|
+
})), (input.AppstreamAgentVersion != null && { AppstreamAgentVersion: input.AppstreamAgentVersion })), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo != null && {
|
|
4942
4913
|
DomainJoinInfo: serializeAws_json1_1DomainJoinInfo(input.DomainJoinInfo, context),
|
|
4943
|
-
})), (input.EnableDefaultInternetAccess
|
|
4944
|
-
|
|
4945
|
-
|
|
4914
|
+
})), (input.EnableDefaultInternetAccess != null && {
|
|
4915
|
+
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
4916
|
+
})), (input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn })), (input.ImageArn != null && { ImageArn: input.ImageArn })), (input.ImageName != null && { ImageName: input.ImageName })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.VpcConfig != null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
4946
4917
|
};
|
|
4947
4918
|
var serializeAws_json1_1CreateImageBuilderStreamingURLRequest = function (input, context) {
|
|
4948
|
-
return __assign(__assign({}, (input.Name
|
|
4919
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Validity != null && { Validity: input.Validity }));
|
|
4949
4920
|
};
|
|
4950
4921
|
var serializeAws_json1_1CreateStackRequest = function (input, context) {
|
|
4951
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints
|
|
4952
|
-
input.AccessEndpoints !== null && {
|
|
4922
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints != null && {
|
|
4953
4923
|
AccessEndpoints: serializeAws_json1_1AccessEndpointList(input.AccessEndpoints, context),
|
|
4954
|
-
})), (input.ApplicationSettings
|
|
4955
|
-
input.ApplicationSettings !== null && {
|
|
4924
|
+
})), (input.ApplicationSettings != null && {
|
|
4956
4925
|
ApplicationSettings: serializeAws_json1_1ApplicationSettings(input.ApplicationSettings, context),
|
|
4957
|
-
})), (input.Description
|
|
4958
|
-
input.EmbedHostDomains !== null && {
|
|
4926
|
+
})), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.EmbedHostDomains != null && {
|
|
4959
4927
|
EmbedHostDomains: serializeAws_json1_1EmbedHostDomains(input.EmbedHostDomains, context),
|
|
4960
|
-
})), (input.FeedbackURL
|
|
4961
|
-
input.StorageConnectors !== null && {
|
|
4928
|
+
})), (input.FeedbackURL != null && { FeedbackURL: input.FeedbackURL })), (input.Name != null && { Name: input.Name })), (input.RedirectURL != null && { RedirectURL: input.RedirectURL })), (input.StorageConnectors != null && {
|
|
4962
4929
|
StorageConnectors: serializeAws_json1_1StorageConnectorList(input.StorageConnectors, context),
|
|
4963
|
-
})), (input.StreamingExperienceSettings
|
|
4964
|
-
input.StreamingExperienceSettings !== null && {
|
|
4930
|
+
})), (input.StreamingExperienceSettings != null && {
|
|
4965
4931
|
StreamingExperienceSettings: serializeAws_json1_1StreamingExperienceSettings(input.StreamingExperienceSettings, context),
|
|
4966
|
-
})), (input.Tags
|
|
4967
|
-
input.UserSettings !== null && {
|
|
4932
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.UserSettings != null && {
|
|
4968
4933
|
UserSettings: serializeAws_json1_1UserSettingList(input.UserSettings, context),
|
|
4969
4934
|
}));
|
|
4970
4935
|
};
|
|
4971
4936
|
var serializeAws_json1_1CreateStreamingURLRequest = function (input, context) {
|
|
4972
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationId
|
|
4973
|
-
input.SessionContext !== null && { SessionContext: input.SessionContext })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId })), (input.Validity !== undefined && input.Validity !== null && { Validity: input.Validity }));
|
|
4937
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationId != null && { ApplicationId: input.ApplicationId })), (input.FleetName != null && { FleetName: input.FleetName })), (input.SessionContext != null && { SessionContext: input.SessionContext })), (input.StackName != null && { StackName: input.StackName })), (input.UserId != null && { UserId: input.UserId })), (input.Validity != null && { Validity: input.Validity }));
|
|
4974
4938
|
};
|
|
4975
4939
|
var serializeAws_json1_1CreateUpdatedImageRequest = function (input, context) {
|
|
4976
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.dryRun
|
|
4977
|
-
input.existingImageName !== null && { existingImageName: input.existingImageName })), (input.newImageDescription !== undefined &&
|
|
4978
|
-
input.newImageDescription !== null && { newImageDescription: input.newImageDescription })), (input.newImageDisplayName !== undefined &&
|
|
4979
|
-
input.newImageDisplayName !== null && { newImageDisplayName: input.newImageDisplayName })), (input.newImageName !== undefined && input.newImageName !== null && { newImageName: input.newImageName })), (input.newImageTags !== undefined &&
|
|
4980
|
-
input.newImageTags !== null && { newImageTags: serializeAws_json1_1Tags(input.newImageTags, context) }));
|
|
4940
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.dryRun != null && { dryRun: input.dryRun })), (input.existingImageName != null && { existingImageName: input.existingImageName })), (input.newImageDescription != null && { newImageDescription: input.newImageDescription })), (input.newImageDisplayName != null && { newImageDisplayName: input.newImageDisplayName })), (input.newImageName != null && { newImageName: input.newImageName })), (input.newImageTags != null && { newImageTags: serializeAws_json1_1Tags(input.newImageTags, context) }));
|
|
4981
4941
|
};
|
|
4982
4942
|
var serializeAws_json1_1CreateUsageReportSubscriptionRequest = function (input, context) {
|
|
4983
4943
|
return {};
|
|
4984
4944
|
};
|
|
4985
4945
|
var serializeAws_json1_1CreateUserRequest = function (input, context) {
|
|
4986
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
4987
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.FirstName !== undefined && input.FirstName !== null && { FirstName: input.FirstName })), (input.LastName !== undefined && input.LastName !== null && { LastName: input.LastName })), (input.MessageAction !== undefined && input.MessageAction !== null && { MessageAction: input.MessageAction })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
4946
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.FirstName != null && { FirstName: input.FirstName })), (input.LastName != null && { LastName: input.LastName })), (input.MessageAction != null && { MessageAction: input.MessageAction })), (input.UserName != null && { UserName: input.UserName }));
|
|
4988
4947
|
};
|
|
4989
4948
|
var serializeAws_json1_1DeleteAppBlockRequest = function (input, context) {
|
|
4990
|
-
return __assign({}, (input.Name
|
|
4949
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4991
4950
|
};
|
|
4992
4951
|
var serializeAws_json1_1DeleteApplicationRequest = function (input, context) {
|
|
4993
|
-
return __assign({}, (input.Name
|
|
4952
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4994
4953
|
};
|
|
4995
4954
|
var serializeAws_json1_1DeleteDirectoryConfigRequest = function (input, context) {
|
|
4996
|
-
return __assign({}, (input.DirectoryName
|
|
4955
|
+
return __assign({}, (input.DirectoryName != null && { DirectoryName: input.DirectoryName }));
|
|
4997
4956
|
};
|
|
4998
4957
|
var serializeAws_json1_1DeleteEntitlementRequest = function (input, context) {
|
|
4999
|
-
return __assign(__assign({}, (input.Name
|
|
4958
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.StackName != null && { StackName: input.StackName }));
|
|
5000
4959
|
};
|
|
5001
4960
|
var serializeAws_json1_1DeleteFleetRequest = function (input, context) {
|
|
5002
|
-
return __assign({}, (input.Name
|
|
4961
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5003
4962
|
};
|
|
5004
4963
|
var serializeAws_json1_1DeleteImageBuilderRequest = function (input, context) {
|
|
5005
|
-
return __assign({}, (input.Name
|
|
4964
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5006
4965
|
};
|
|
5007
4966
|
var serializeAws_json1_1DeleteImagePermissionsRequest = function (input, context) {
|
|
5008
|
-
return __assign(__assign({}, (input.Name
|
|
5009
|
-
input.SharedAccountId !== null && { SharedAccountId: input.SharedAccountId }));
|
|
4967
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.SharedAccountId != null && { SharedAccountId: input.SharedAccountId }));
|
|
5010
4968
|
};
|
|
5011
4969
|
var serializeAws_json1_1DeleteImageRequest = function (input, context) {
|
|
5012
|
-
return __assign({}, (input.Name
|
|
4970
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5013
4971
|
};
|
|
5014
4972
|
var serializeAws_json1_1DeleteStackRequest = function (input, context) {
|
|
5015
|
-
return __assign({}, (input.Name
|
|
4973
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5016
4974
|
};
|
|
5017
4975
|
var serializeAws_json1_1DeleteUsageReportSubscriptionRequest = function (input, context) {
|
|
5018
4976
|
return {};
|
|
5019
4977
|
};
|
|
5020
4978
|
var serializeAws_json1_1DeleteUserRequest = function (input, context) {
|
|
5021
|
-
return __assign(__assign({}, (input.AuthenticationType
|
|
5022
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
4979
|
+
return __assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.UserName != null && { UserName: input.UserName }));
|
|
5023
4980
|
};
|
|
5024
4981
|
var serializeAws_json1_1DescribeAppBlocksRequest = function (input, context) {
|
|
5025
|
-
return __assign(__assign(__assign({}, (input.Arns
|
|
4982
|
+
return __assign(__assign(__assign({}, (input.Arns != null && { Arns: serializeAws_json1_1ArnList(input.Arns, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5026
4983
|
};
|
|
5027
4984
|
var serializeAws_json1_1DescribeApplicationFleetAssociationsRequest = function (input, context) {
|
|
5028
|
-
return __assign(__assign(__assign(__assign({}, (input.ApplicationArn
|
|
5029
|
-
input.ApplicationArn !== null && { ApplicationArn: input.ApplicationArn })), (input.FleetName !== undefined && input.FleetName !== null && { FleetName: input.FleetName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
4985
|
+
return __assign(__assign(__assign(__assign({}, (input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn })), (input.FleetName != null && { FleetName: input.FleetName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5030
4986
|
};
|
|
5031
4987
|
var serializeAws_json1_1DescribeApplicationsRequest = function (input, context) {
|
|
5032
|
-
return __assign(__assign(__assign({}, (input.Arns
|
|
4988
|
+
return __assign(__assign(__assign({}, (input.Arns != null && { Arns: serializeAws_json1_1ArnList(input.Arns, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5033
4989
|
};
|
|
5034
4990
|
var serializeAws_json1_1DescribeDirectoryConfigsRequest = function (input, context) {
|
|
5035
|
-
return __assign(__assign(__assign({}, (input.DirectoryNames
|
|
5036
|
-
input.DirectoryNames !== null && {
|
|
4991
|
+
return __assign(__assign(__assign({}, (input.DirectoryNames != null && {
|
|
5037
4992
|
DirectoryNames: serializeAws_json1_1DirectoryNameList(input.DirectoryNames, context),
|
|
5038
|
-
})), (input.MaxResults
|
|
4993
|
+
})), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5039
4994
|
};
|
|
5040
4995
|
var serializeAws_json1_1DescribeEntitlementsRequest = function (input, context) {
|
|
5041
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
4996
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName }));
|
|
5042
4997
|
};
|
|
5043
4998
|
var serializeAws_json1_1DescribeFleetsRequest = function (input, context) {
|
|
5044
|
-
return __assign(__assign({}, (input.Names
|
|
5045
|
-
input.Names !== null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
4999
|
+
return __assign(__assign({}, (input.Names != null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5046
5000
|
};
|
|
5047
5001
|
var serializeAws_json1_1DescribeImageBuildersRequest = function (input, context) {
|
|
5048
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
5049
|
-
input.Names !== null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5002
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Names != null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5050
5003
|
};
|
|
5051
5004
|
var serializeAws_json1_1DescribeImagePermissionsRequest = function (input, context) {
|
|
5052
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
5053
|
-
input.SharedAwsAccountIds !== null && {
|
|
5005
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SharedAwsAccountIds != null && {
|
|
5054
5006
|
SharedAwsAccountIds: serializeAws_json1_1AwsAccountIdList(input.SharedAwsAccountIds, context),
|
|
5055
5007
|
}));
|
|
5056
5008
|
};
|
|
5057
5009
|
var serializeAws_json1_1DescribeImagesRequest = function (input, context) {
|
|
5058
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Arns
|
|
5059
|
-
input.Names !== null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
5010
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Arns != null && { Arns: serializeAws_json1_1ArnList(input.Arns, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Names != null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Type != null && { Type: input.Type }));
|
|
5060
5011
|
};
|
|
5061
5012
|
var serializeAws_json1_1DescribeSessionsRequest = function (input, context) {
|
|
5062
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
5063
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.FleetName !== undefined && input.FleetName !== null && { FleetName: input.FleetName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
5013
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.FleetName != null && { FleetName: input.FleetName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName })), (input.UserId != null && { UserId: input.UserId }));
|
|
5064
5014
|
};
|
|
5065
5015
|
var serializeAws_json1_1DescribeStacksRequest = function (input, context) {
|
|
5066
|
-
return __assign(__assign({}, (input.Names
|
|
5067
|
-
input.Names !== null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5016
|
+
return __assign(__assign({}, (input.Names != null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5068
5017
|
};
|
|
5069
5018
|
var serializeAws_json1_1DescribeUsageReportSubscriptionsRequest = function (input, context) {
|
|
5070
|
-
return __assign(__assign({}, (input.MaxResults
|
|
5019
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5071
5020
|
};
|
|
5072
5021
|
var serializeAws_json1_1DescribeUsersRequest = function (input, context) {
|
|
5073
|
-
return __assign(__assign(__assign({}, (input.AuthenticationType
|
|
5074
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5022
|
+
return __assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5075
5023
|
};
|
|
5076
5024
|
var serializeAws_json1_1DescribeUserStackAssociationsRequest = function (input, context) {
|
|
5077
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
5078
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
5025
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName })), (input.UserName != null && { UserName: input.UserName }));
|
|
5079
5026
|
};
|
|
5080
5027
|
var serializeAws_json1_1DirectoryNameList = function (input, context) {
|
|
5081
5028
|
return input
|
|
@@ -5088,24 +5035,19 @@ var serializeAws_json1_1DirectoryNameList = function (input, context) {
|
|
|
5088
5035
|
});
|
|
5089
5036
|
};
|
|
5090
5037
|
var serializeAws_json1_1DisableUserRequest = function (input, context) {
|
|
5091
|
-
return __assign(__assign({}, (input.AuthenticationType
|
|
5092
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
5038
|
+
return __assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.UserName != null && { UserName: input.UserName }));
|
|
5093
5039
|
};
|
|
5094
5040
|
var serializeAws_json1_1DisassociateApplicationFleetRequest = function (input, context) {
|
|
5095
|
-
return __assign(__assign({}, (input.ApplicationArn
|
|
5096
|
-
input.ApplicationArn !== null && { ApplicationArn: input.ApplicationArn })), (input.FleetName !== undefined && input.FleetName !== null && { FleetName: input.FleetName }));
|
|
5041
|
+
return __assign(__assign({}, (input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn })), (input.FleetName != null && { FleetName: input.FleetName }));
|
|
5097
5042
|
};
|
|
5098
5043
|
var serializeAws_json1_1DisassociateApplicationFromEntitlementRequest = function (input, context) {
|
|
5099
|
-
return __assign(__assign(__assign({}, (input.ApplicationIdentifier
|
|
5100
|
-
input.ApplicationIdentifier !== null && { ApplicationIdentifier: input.ApplicationIdentifier })), (input.EntitlementName !== undefined &&
|
|
5101
|
-
input.EntitlementName !== null && { EntitlementName: input.EntitlementName })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }));
|
|
5044
|
+
return __assign(__assign(__assign({}, (input.ApplicationIdentifier != null && { ApplicationIdentifier: input.ApplicationIdentifier })), (input.EntitlementName != null && { EntitlementName: input.EntitlementName })), (input.StackName != null && { StackName: input.StackName }));
|
|
5102
5045
|
};
|
|
5103
5046
|
var serializeAws_json1_1DisassociateFleetRequest = function (input, context) {
|
|
5104
|
-
return __assign(__assign({}, (input.FleetName
|
|
5047
|
+
return __assign(__assign({}, (input.FleetName != null && { FleetName: input.FleetName })), (input.StackName != null && { StackName: input.StackName }));
|
|
5105
5048
|
};
|
|
5106
5049
|
var serializeAws_json1_1DomainJoinInfo = function (input, context) {
|
|
5107
|
-
return __assign(__assign({}, (input.DirectoryName
|
|
5108
|
-
input.OrganizationalUnitDistinguishedName !== null && {
|
|
5050
|
+
return __assign(__assign({}, (input.DirectoryName != null && { DirectoryName: input.DirectoryName })), (input.OrganizationalUnitDistinguishedName != null && {
|
|
5109
5051
|
OrganizationalUnitDistinguishedName: input.OrganizationalUnitDistinguishedName,
|
|
5110
5052
|
}));
|
|
5111
5053
|
};
|
|
@@ -5130,11 +5072,10 @@ var serializeAws_json1_1EmbedHostDomains = function (input, context) {
|
|
|
5130
5072
|
});
|
|
5131
5073
|
};
|
|
5132
5074
|
var serializeAws_json1_1EnableUserRequest = function (input, context) {
|
|
5133
|
-
return __assign(__assign({}, (input.AuthenticationType
|
|
5134
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
5075
|
+
return __assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.UserName != null && { UserName: input.UserName }));
|
|
5135
5076
|
};
|
|
5136
5077
|
var serializeAws_json1_1EntitlementAttribute = function (input, context) {
|
|
5137
|
-
return __assign(__assign({}, (input.Name
|
|
5078
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Value != null && { Value: input.Value }));
|
|
5138
5079
|
};
|
|
5139
5080
|
var serializeAws_json1_1EntitlementAttributeList = function (input, context) {
|
|
5140
5081
|
return input
|
|
@@ -5147,7 +5088,7 @@ var serializeAws_json1_1EntitlementAttributeList = function (input, context) {
|
|
|
5147
5088
|
});
|
|
5148
5089
|
};
|
|
5149
5090
|
var serializeAws_json1_1ExpireSessionRequest = function (input, context) {
|
|
5150
|
-
return __assign({}, (input.SessionId
|
|
5091
|
+
return __assign({}, (input.SessionId != null && { SessionId: input.SessionId }));
|
|
5151
5092
|
};
|
|
5152
5093
|
var serializeAws_json1_1FleetAttributes = function (input, context) {
|
|
5153
5094
|
return input
|
|
@@ -5160,21 +5101,19 @@ var serializeAws_json1_1FleetAttributes = function (input, context) {
|
|
|
5160
5101
|
});
|
|
5161
5102
|
};
|
|
5162
5103
|
var serializeAws_json1_1ImagePermissions = function (input, context) {
|
|
5163
|
-
return __assign(__assign({}, (input.allowFleet
|
|
5164
|
-
input.allowImageBuilder !== null && { allowImageBuilder: input.allowImageBuilder }));
|
|
5104
|
+
return __assign(__assign({}, (input.allowFleet != null && { allowFleet: input.allowFleet })), (input.allowImageBuilder != null && { allowImageBuilder: input.allowImageBuilder }));
|
|
5165
5105
|
};
|
|
5166
5106
|
var serializeAws_json1_1ListAssociatedFleetsRequest = function (input, context) {
|
|
5167
|
-
return __assign(__assign({}, (input.NextToken
|
|
5107
|
+
return __assign(__assign({}, (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName }));
|
|
5168
5108
|
};
|
|
5169
5109
|
var serializeAws_json1_1ListAssociatedStacksRequest = function (input, context) {
|
|
5170
|
-
return __assign(__assign({}, (input.FleetName
|
|
5110
|
+
return __assign(__assign({}, (input.FleetName != null && { FleetName: input.FleetName })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5171
5111
|
};
|
|
5172
5112
|
var serializeAws_json1_1ListEntitledApplicationsRequest = function (input, context) {
|
|
5173
|
-
return __assign(__assign(__assign(__assign({}, (input.EntitlementName
|
|
5174
|
-
input.EntitlementName !== null && { EntitlementName: input.EntitlementName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }));
|
|
5113
|
+
return __assign(__assign(__assign(__assign({}, (input.EntitlementName != null && { EntitlementName: input.EntitlementName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName }));
|
|
5175
5114
|
};
|
|
5176
5115
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
5177
|
-
return __assign({}, (input.ResourceArn
|
|
5116
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
5178
5117
|
};
|
|
5179
5118
|
var serializeAws_json1_1OrganizationalUnitDistinguishedNamesList = function (input, context) {
|
|
5180
5119
|
return input
|
|
@@ -5197,16 +5136,12 @@ var serializeAws_json1_1Platforms = function (input, context) {
|
|
|
5197
5136
|
});
|
|
5198
5137
|
};
|
|
5199
5138
|
var serializeAws_json1_1S3Location = function (input, context) {
|
|
5200
|
-
return __assign(__assign({}, (input.S3Bucket
|
|
5139
|
+
return __assign(__assign({}, (input.S3Bucket != null && { S3Bucket: input.S3Bucket })), (input.S3Key != null && { S3Key: input.S3Key }));
|
|
5201
5140
|
};
|
|
5202
5141
|
var serializeAws_json1_1ScriptDetails = function (input, context) {
|
|
5203
|
-
return __assign(__assign(__assign(__assign({}, (input.ExecutableParameters
|
|
5204
|
-
input.ExecutableParameters !== null && { ExecutableParameters: input.ExecutableParameters })), (input.ExecutablePath !== undefined &&
|
|
5205
|
-
input.ExecutablePath !== null && { ExecutablePath: input.ExecutablePath })), (input.ScriptS3Location !== undefined &&
|
|
5206
|
-
input.ScriptS3Location !== null && {
|
|
5142
|
+
return __assign(__assign(__assign(__assign({}, (input.ExecutableParameters != null && { ExecutableParameters: input.ExecutableParameters })), (input.ExecutablePath != null && { ExecutablePath: input.ExecutablePath })), (input.ScriptS3Location != null && {
|
|
5207
5143
|
ScriptS3Location: serializeAws_json1_1S3Location(input.ScriptS3Location, context),
|
|
5208
|
-
})), (input.TimeoutInSeconds
|
|
5209
|
-
input.TimeoutInSeconds !== null && { TimeoutInSeconds: input.TimeoutInSeconds }));
|
|
5144
|
+
})), (input.TimeoutInSeconds != null && { TimeoutInSeconds: input.TimeoutInSeconds }));
|
|
5210
5145
|
};
|
|
5211
5146
|
var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
5212
5147
|
return input
|
|
@@ -5219,8 +5154,7 @@ var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
|
5219
5154
|
});
|
|
5220
5155
|
};
|
|
5221
5156
|
var serializeAws_json1_1ServiceAccountCredentials = function (input, context) {
|
|
5222
|
-
return __assign(__assign({}, (input.AccountName
|
|
5223
|
-
input.AccountPassword !== null && { AccountPassword: input.AccountPassword }));
|
|
5157
|
+
return __assign(__assign({}, (input.AccountName != null && { AccountName: input.AccountName })), (input.AccountPassword != null && { AccountPassword: input.AccountPassword }));
|
|
5224
5158
|
};
|
|
5225
5159
|
var serializeAws_json1_1StackAttributes = function (input, context) {
|
|
5226
5160
|
return input
|
|
@@ -5233,22 +5167,19 @@ var serializeAws_json1_1StackAttributes = function (input, context) {
|
|
|
5233
5167
|
});
|
|
5234
5168
|
};
|
|
5235
5169
|
var serializeAws_json1_1StartFleetRequest = function (input, context) {
|
|
5236
|
-
return __assign({}, (input.Name
|
|
5170
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5237
5171
|
};
|
|
5238
5172
|
var serializeAws_json1_1StartImageBuilderRequest = function (input, context) {
|
|
5239
|
-
return __assign(__assign({}, (input.AppstreamAgentVersion
|
|
5240
|
-
input.AppstreamAgentVersion !== null && { AppstreamAgentVersion: input.AppstreamAgentVersion })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
5173
|
+
return __assign(__assign({}, (input.AppstreamAgentVersion != null && { AppstreamAgentVersion: input.AppstreamAgentVersion })), (input.Name != null && { Name: input.Name }));
|
|
5241
5174
|
};
|
|
5242
5175
|
var serializeAws_json1_1StopFleetRequest = function (input, context) {
|
|
5243
|
-
return __assign({}, (input.Name
|
|
5176
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5244
5177
|
};
|
|
5245
5178
|
var serializeAws_json1_1StopImageBuilderRequest = function (input, context) {
|
|
5246
|
-
return __assign({}, (input.Name
|
|
5179
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5247
5180
|
};
|
|
5248
5181
|
var serializeAws_json1_1StorageConnector = function (input, context) {
|
|
5249
|
-
return __assign(__assign(__assign({}, (input.ConnectorType
|
|
5250
|
-
input.Domains !== null && { Domains: serializeAws_json1_1DomainList(input.Domains, context) })), (input.ResourceIdentifier !== undefined &&
|
|
5251
|
-
input.ResourceIdentifier !== null && { ResourceIdentifier: input.ResourceIdentifier }));
|
|
5182
|
+
return __assign(__assign(__assign({}, (input.ConnectorType != null && { ConnectorType: input.ConnectorType })), (input.Domains != null && { Domains: serializeAws_json1_1DomainList(input.Domains, context) })), (input.ResourceIdentifier != null && { ResourceIdentifier: input.ResourceIdentifier }));
|
|
5252
5183
|
};
|
|
5253
5184
|
var serializeAws_json1_1StorageConnectorList = function (input, context) {
|
|
5254
5185
|
return input
|
|
@@ -5261,8 +5192,7 @@ var serializeAws_json1_1StorageConnectorList = function (input, context) {
|
|
|
5261
5192
|
});
|
|
5262
5193
|
};
|
|
5263
5194
|
var serializeAws_json1_1StreamingExperienceSettings = function (input, context) {
|
|
5264
|
-
return __assign({}, (input.PreferredProtocol
|
|
5265
|
-
input.PreferredProtocol !== null && { PreferredProtocol: input.PreferredProtocol }));
|
|
5195
|
+
return __assign({}, (input.PreferredProtocol != null && { PreferredProtocol: input.PreferredProtocol }));
|
|
5266
5196
|
};
|
|
5267
5197
|
var serializeAws_json1_1StringList = function (input, context) {
|
|
5268
5198
|
return input
|
|
@@ -5295,7 +5225,7 @@ var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
|
5295
5225
|
});
|
|
5296
5226
|
};
|
|
5297
5227
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
5298
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5228
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
5299
5229
|
};
|
|
5300
5230
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
5301
5231
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -5308,91 +5238,63 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
5308
5238
|
}, {});
|
|
5309
5239
|
};
|
|
5310
5240
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
5311
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5312
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5241
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5313
5242
|
};
|
|
5314
5243
|
var serializeAws_json1_1UpdateApplicationRequest = function (input, context) {
|
|
5315
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppBlockArn
|
|
5316
|
-
input.AttributesToDelete !== null && {
|
|
5244
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppBlockArn != null && { AppBlockArn: input.AppBlockArn })), (input.AttributesToDelete != null && {
|
|
5317
5245
|
AttributesToDelete: serializeAws_json1_1ApplicationAttributes(input.AttributesToDelete, context),
|
|
5318
|
-
})), (input.Description
|
|
5319
|
-
input.IconS3Location !== null && {
|
|
5246
|
+
})), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.IconS3Location != null && {
|
|
5320
5247
|
IconS3Location: serializeAws_json1_1S3Location(input.IconS3Location, context),
|
|
5321
|
-
})), (input.LaunchParameters
|
|
5322
|
-
input.LaunchParameters !== null && { LaunchParameters: input.LaunchParameters })), (input.LaunchPath !== undefined && input.LaunchPath !== null && { LaunchPath: input.LaunchPath })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.WorkingDirectory !== undefined &&
|
|
5323
|
-
input.WorkingDirectory !== null && { WorkingDirectory: input.WorkingDirectory }));
|
|
5248
|
+
})), (input.LaunchParameters != null && { LaunchParameters: input.LaunchParameters })), (input.LaunchPath != null && { LaunchPath: input.LaunchPath })), (input.Name != null && { Name: input.Name })), (input.WorkingDirectory != null && { WorkingDirectory: input.WorkingDirectory }));
|
|
5324
5249
|
};
|
|
5325
5250
|
var serializeAws_json1_1UpdateDirectoryConfigRequest = function (input, context) {
|
|
5326
|
-
return __assign(__assign(__assign({}, (input.DirectoryName
|
|
5327
|
-
input.OrganizationalUnitDistinguishedNames !== null && {
|
|
5251
|
+
return __assign(__assign(__assign({}, (input.DirectoryName != null && { DirectoryName: input.DirectoryName })), (input.OrganizationalUnitDistinguishedNames != null && {
|
|
5328
5252
|
OrganizationalUnitDistinguishedNames: serializeAws_json1_1OrganizationalUnitDistinguishedNamesList(input.OrganizationalUnitDistinguishedNames, context),
|
|
5329
|
-
})), (input.ServiceAccountCredentials
|
|
5330
|
-
input.ServiceAccountCredentials !== null && {
|
|
5253
|
+
})), (input.ServiceAccountCredentials != null && {
|
|
5331
5254
|
ServiceAccountCredentials: serializeAws_json1_1ServiceAccountCredentials(input.ServiceAccountCredentials, context),
|
|
5332
5255
|
}));
|
|
5333
5256
|
};
|
|
5334
5257
|
var serializeAws_json1_1UpdateEntitlementRequest = function (input, context) {
|
|
5335
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AppVisibility
|
|
5336
|
-
input.Attributes !== null && {
|
|
5258
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AppVisibility != null && { AppVisibility: input.AppVisibility })), (input.Attributes != null && {
|
|
5337
5259
|
Attributes: serializeAws_json1_1EntitlementAttributeList(input.Attributes, context),
|
|
5338
|
-
})), (input.Description
|
|
5260
|
+
})), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.StackName != null && { StackName: input.StackName }));
|
|
5339
5261
|
};
|
|
5340
5262
|
var serializeAws_json1_1UpdateFleetRequest = function (input, context) {
|
|
5341
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToDelete
|
|
5342
|
-
input.AttributesToDelete !== null && {
|
|
5263
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToDelete != null && {
|
|
5343
5264
|
AttributesToDelete: serializeAws_json1_1FleetAttributes(input.AttributesToDelete, context),
|
|
5344
|
-
})), (input.ComputeCapacity
|
|
5345
|
-
input.ComputeCapacity !== null && {
|
|
5265
|
+
})), (input.ComputeCapacity != null && {
|
|
5346
5266
|
ComputeCapacity: serializeAws_json1_1ComputeCapacity(input.ComputeCapacity, context),
|
|
5347
|
-
})), (input.DeleteVpcConfig
|
|
5348
|
-
input.DeleteVpcConfig !== null && { DeleteVpcConfig: input.DeleteVpcConfig })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisconnectTimeoutInSeconds !== undefined &&
|
|
5349
|
-
input.DisconnectTimeoutInSeconds !== null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo !== undefined &&
|
|
5350
|
-
input.DomainJoinInfo !== null && {
|
|
5267
|
+
})), (input.DeleteVpcConfig != null && { DeleteVpcConfig: input.DeleteVpcConfig })), (input.Description != null && { Description: input.Description })), (input.DisconnectTimeoutInSeconds != null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo != null && {
|
|
5351
5268
|
DomainJoinInfo: serializeAws_json1_1DomainJoinInfo(input.DomainJoinInfo, context),
|
|
5352
|
-
})), (input.EnableDefaultInternetAccess
|
|
5353
|
-
|
|
5354
|
-
|
|
5269
|
+
})), (input.EnableDefaultInternetAccess != null && {
|
|
5270
|
+
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
5271
|
+
})), (input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn })), (input.IdleDisconnectTimeoutInSeconds != null && {
|
|
5355
5272
|
IdleDisconnectTimeoutInSeconds: input.IdleDisconnectTimeoutInSeconds,
|
|
5356
|
-
})), (input.ImageArn
|
|
5357
|
-
input.MaxConcurrentSessions !== null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds !== undefined &&
|
|
5358
|
-
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform })), (input.SessionScriptS3Location !== undefined &&
|
|
5359
|
-
input.SessionScriptS3Location !== null && {
|
|
5273
|
+
})), (input.ImageArn != null && { ImageArn: input.ImageArn })), (input.ImageName != null && { ImageName: input.ImageName })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.MaxConcurrentSessions != null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds != null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name != null && { Name: input.Name })), (input.Platform != null && { Platform: input.Platform })), (input.SessionScriptS3Location != null && {
|
|
5360
5274
|
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
|
|
5361
|
-
})), (input.StreamView
|
|
5362
|
-
input.UsbDeviceFilterStrings !== null && {
|
|
5275
|
+
})), (input.StreamView != null && { StreamView: input.StreamView })), (input.UsbDeviceFilterStrings != null && {
|
|
5363
5276
|
UsbDeviceFilterStrings: serializeAws_json1_1UsbDeviceFilterStrings(input.UsbDeviceFilterStrings, context),
|
|
5364
|
-
})), (input.VpcConfig
|
|
5365
|
-
input.VpcConfig !== null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
5277
|
+
})), (input.VpcConfig != null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
5366
5278
|
};
|
|
5367
5279
|
var serializeAws_json1_1UpdateImagePermissionsRequest = function (input, context) {
|
|
5368
|
-
return __assign(__assign(__assign({}, (input.ImagePermissions
|
|
5369
|
-
input.ImagePermissions !== null && {
|
|
5280
|
+
return __assign(__assign(__assign({}, (input.ImagePermissions != null && {
|
|
5370
5281
|
ImagePermissions: serializeAws_json1_1ImagePermissions(input.ImagePermissions, context),
|
|
5371
|
-
})), (input.Name
|
|
5372
|
-
input.SharedAccountId !== null && { SharedAccountId: input.SharedAccountId }));
|
|
5282
|
+
})), (input.Name != null && { Name: input.Name })), (input.SharedAccountId != null && { SharedAccountId: input.SharedAccountId }));
|
|
5373
5283
|
};
|
|
5374
5284
|
var serializeAws_json1_1UpdateStackRequest = function (input, context) {
|
|
5375
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints
|
|
5376
|
-
input.AccessEndpoints !== null && {
|
|
5285
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints != null && {
|
|
5377
5286
|
AccessEndpoints: serializeAws_json1_1AccessEndpointList(input.AccessEndpoints, context),
|
|
5378
|
-
})), (input.ApplicationSettings
|
|
5379
|
-
input.ApplicationSettings !== null && {
|
|
5287
|
+
})), (input.ApplicationSettings != null && {
|
|
5380
5288
|
ApplicationSettings: serializeAws_json1_1ApplicationSettings(input.ApplicationSettings, context),
|
|
5381
|
-
})), (input.AttributesToDelete
|
|
5382
|
-
input.AttributesToDelete !== null && {
|
|
5289
|
+
})), (input.AttributesToDelete != null && {
|
|
5383
5290
|
AttributesToDelete: serializeAws_json1_1StackAttributes(input.AttributesToDelete, context),
|
|
5384
|
-
})), (input.DeleteStorageConnectors
|
|
5385
|
-
input.DeleteStorageConnectors !== null && { DeleteStorageConnectors: input.DeleteStorageConnectors })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.EmbedHostDomains !== undefined &&
|
|
5386
|
-
input.EmbedHostDomains !== null && {
|
|
5291
|
+
})), (input.DeleteStorageConnectors != null && { DeleteStorageConnectors: input.DeleteStorageConnectors })), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.EmbedHostDomains != null && {
|
|
5387
5292
|
EmbedHostDomains: serializeAws_json1_1EmbedHostDomains(input.EmbedHostDomains, context),
|
|
5388
|
-
})), (input.FeedbackURL
|
|
5389
|
-
input.StorageConnectors !== null && {
|
|
5293
|
+
})), (input.FeedbackURL != null && { FeedbackURL: input.FeedbackURL })), (input.Name != null && { Name: input.Name })), (input.RedirectURL != null && { RedirectURL: input.RedirectURL })), (input.StorageConnectors != null && {
|
|
5390
5294
|
StorageConnectors: serializeAws_json1_1StorageConnectorList(input.StorageConnectors, context),
|
|
5391
|
-
})), (input.StreamingExperienceSettings
|
|
5392
|
-
input.StreamingExperienceSettings !== null && {
|
|
5295
|
+
})), (input.StreamingExperienceSettings != null && {
|
|
5393
5296
|
StreamingExperienceSettings: serializeAws_json1_1StreamingExperienceSettings(input.StreamingExperienceSettings, context),
|
|
5394
|
-
})), (input.UserSettings
|
|
5395
|
-
input.UserSettings !== null && {
|
|
5297
|
+
})), (input.UserSettings != null && {
|
|
5396
5298
|
UserSettings: serializeAws_json1_1UserSettingList(input.UserSettings, context),
|
|
5397
5299
|
}));
|
|
5398
5300
|
};
|
|
@@ -5407,7 +5309,7 @@ var serializeAws_json1_1UsbDeviceFilterStrings = function (input, context) {
|
|
|
5407
5309
|
});
|
|
5408
5310
|
};
|
|
5409
5311
|
var serializeAws_json1_1UserSetting = function (input, context) {
|
|
5410
|
-
return __assign(__assign({}, (input.Action
|
|
5312
|
+
return __assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.Permission != null && { Permission: input.Permission }));
|
|
5411
5313
|
};
|
|
5412
5314
|
var serializeAws_json1_1UserSettingList = function (input, context) {
|
|
5413
5315
|
return input
|
|
@@ -5420,9 +5322,7 @@ var serializeAws_json1_1UserSettingList = function (input, context) {
|
|
|
5420
5322
|
});
|
|
5421
5323
|
};
|
|
5422
5324
|
var serializeAws_json1_1UserStackAssociation = function (input, context) {
|
|
5423
|
-
return __assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
5424
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.SendEmailNotification !== undefined &&
|
|
5425
|
-
input.SendEmailNotification !== null && { SendEmailNotification: input.SendEmailNotification })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
5325
|
+
return __assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.SendEmailNotification != null && { SendEmailNotification: input.SendEmailNotification })), (input.StackName != null && { StackName: input.StackName })), (input.UserName != null && { UserName: input.UserName }));
|
|
5426
5326
|
};
|
|
5427
5327
|
var serializeAws_json1_1UserStackAssociationList = function (input, context) {
|
|
5428
5328
|
return input
|
|
@@ -5435,11 +5335,9 @@ var serializeAws_json1_1UserStackAssociationList = function (input, context) {
|
|
|
5435
5335
|
});
|
|
5436
5336
|
};
|
|
5437
5337
|
var serializeAws_json1_1VpcConfig = function (input, context) {
|
|
5438
|
-
return __assign(__assign({}, (input.SecurityGroupIds
|
|
5439
|
-
input.SecurityGroupIds !== null && {
|
|
5338
|
+
return __assign(__assign({}, (input.SecurityGroupIds != null && {
|
|
5440
5339
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
5441
|
-
})), (input.SubnetIds
|
|
5442
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
5340
|
+
})), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
5443
5341
|
};
|
|
5444
5342
|
var deserializeAws_json1_1AccessEndpoint = function (output, context) {
|
|
5445
5343
|
return {
|
|
@@ -5461,18 +5359,16 @@ var deserializeAws_json1_1AccessEndpointList = function (output, context) {
|
|
|
5461
5359
|
var deserializeAws_json1_1AppBlock = function (output, context) {
|
|
5462
5360
|
return {
|
|
5463
5361
|
Arn: __expectString(output.Arn),
|
|
5464
|
-
CreatedTime: output.CreatedTime
|
|
5362
|
+
CreatedTime: output.CreatedTime != null
|
|
5465
5363
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5466
5364
|
: undefined,
|
|
5467
5365
|
Description: __expectString(output.Description),
|
|
5468
5366
|
DisplayName: __expectString(output.DisplayName),
|
|
5469
5367
|
Name: __expectString(output.Name),
|
|
5470
|
-
SetupScriptDetails: output.SetupScriptDetails
|
|
5368
|
+
SetupScriptDetails: output.SetupScriptDetails != null
|
|
5471
5369
|
? deserializeAws_json1_1ScriptDetails(output.SetupScriptDetails, context)
|
|
5472
5370
|
: undefined,
|
|
5473
|
-
SourceS3Location: output.SourceS3Location
|
|
5474
|
-
? deserializeAws_json1_1S3Location(output.SourceS3Location, context)
|
|
5475
|
-
: undefined,
|
|
5371
|
+
SourceS3Location: output.SourceS3Location != null ? deserializeAws_json1_1S3Location(output.SourceS3Location, context) : undefined,
|
|
5476
5372
|
};
|
|
5477
5373
|
};
|
|
5478
5374
|
var deserializeAws_json1_1AppBlocks = function (output, context) {
|
|
@@ -5490,28 +5386,20 @@ var deserializeAws_json1_1Application = function (output, context) {
|
|
|
5490
5386
|
return {
|
|
5491
5387
|
AppBlockArn: __expectString(output.AppBlockArn),
|
|
5492
5388
|
Arn: __expectString(output.Arn),
|
|
5493
|
-
CreatedTime: output.CreatedTime
|
|
5389
|
+
CreatedTime: output.CreatedTime != null
|
|
5494
5390
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5495
5391
|
: undefined,
|
|
5496
5392
|
Description: __expectString(output.Description),
|
|
5497
5393
|
DisplayName: __expectString(output.DisplayName),
|
|
5498
5394
|
Enabled: __expectBoolean(output.Enabled),
|
|
5499
|
-
IconS3Location: output.IconS3Location
|
|
5500
|
-
? deserializeAws_json1_1S3Location(output.IconS3Location, context)
|
|
5501
|
-
: undefined,
|
|
5395
|
+
IconS3Location: output.IconS3Location != null ? deserializeAws_json1_1S3Location(output.IconS3Location, context) : undefined,
|
|
5502
5396
|
IconURL: __expectString(output.IconURL),
|
|
5503
|
-
InstanceFamilies: output.InstanceFamilies
|
|
5504
|
-
? deserializeAws_json1_1StringList(output.InstanceFamilies, context)
|
|
5505
|
-
: undefined,
|
|
5397
|
+
InstanceFamilies: output.InstanceFamilies != null ? deserializeAws_json1_1StringList(output.InstanceFamilies, context) : undefined,
|
|
5506
5398
|
LaunchParameters: __expectString(output.LaunchParameters),
|
|
5507
5399
|
LaunchPath: __expectString(output.LaunchPath),
|
|
5508
|
-
Metadata: output.Metadata
|
|
5509
|
-
? deserializeAws_json1_1Metadata(output.Metadata, context)
|
|
5510
|
-
: undefined,
|
|
5400
|
+
Metadata: output.Metadata != null ? deserializeAws_json1_1Metadata(output.Metadata, context) : undefined,
|
|
5511
5401
|
Name: __expectString(output.Name),
|
|
5512
|
-
Platforms: output.Platforms
|
|
5513
|
-
? deserializeAws_json1_1Platforms(output.Platforms, context)
|
|
5514
|
-
: undefined,
|
|
5402
|
+
Platforms: output.Platforms != null ? deserializeAws_json1_1Platforms(output.Platforms, context) : undefined,
|
|
5515
5403
|
WorkingDirectory: __expectString(output.WorkingDirectory),
|
|
5516
5404
|
};
|
|
5517
5405
|
};
|
|
@@ -5552,7 +5440,7 @@ var deserializeAws_json1_1ApplicationSettingsResponse = function (output, contex
|
|
|
5552
5440
|
};
|
|
5553
5441
|
var deserializeAws_json1_1AssociateApplicationFleetResult = function (output, context) {
|
|
5554
5442
|
return {
|
|
5555
|
-
ApplicationFleetAssociation: output.ApplicationFleetAssociation
|
|
5443
|
+
ApplicationFleetAssociation: output.ApplicationFleetAssociation != null
|
|
5556
5444
|
? deserializeAws_json1_1ApplicationFleetAssociation(output.ApplicationFleetAssociation, context)
|
|
5557
5445
|
: undefined,
|
|
5558
5446
|
};
|
|
@@ -5565,16 +5453,12 @@ var deserializeAws_json1_1AssociateFleetResult = function (output, context) {
|
|
|
5565
5453
|
};
|
|
5566
5454
|
var deserializeAws_json1_1BatchAssociateUserStackResult = function (output, context) {
|
|
5567
5455
|
return {
|
|
5568
|
-
errors: output.errors
|
|
5569
|
-
? deserializeAws_json1_1UserStackAssociationErrorList(output.errors, context)
|
|
5570
|
-
: undefined,
|
|
5456
|
+
errors: output.errors != null ? deserializeAws_json1_1UserStackAssociationErrorList(output.errors, context) : undefined,
|
|
5571
5457
|
};
|
|
5572
5458
|
};
|
|
5573
5459
|
var deserializeAws_json1_1BatchDisassociateUserStackResult = function (output, context) {
|
|
5574
5460
|
return {
|
|
5575
|
-
errors: output.errors
|
|
5576
|
-
? deserializeAws_json1_1UserStackAssociationErrorList(output.errors, context)
|
|
5577
|
-
: undefined,
|
|
5461
|
+
errors: output.errors != null ? deserializeAws_json1_1UserStackAssociationErrorList(output.errors, context) : undefined,
|
|
5578
5462
|
};
|
|
5579
5463
|
};
|
|
5580
5464
|
var deserializeAws_json1_1ComputeCapacityStatus = function (output, context) {
|
|
@@ -5597,75 +5481,57 @@ var deserializeAws_json1_1CopyImageResponse = function (output, context) {
|
|
|
5597
5481
|
};
|
|
5598
5482
|
var deserializeAws_json1_1CreateAppBlockResult = function (output, context) {
|
|
5599
5483
|
return {
|
|
5600
|
-
AppBlock: output.AppBlock
|
|
5601
|
-
? deserializeAws_json1_1AppBlock(output.AppBlock, context)
|
|
5602
|
-
: undefined,
|
|
5484
|
+
AppBlock: output.AppBlock != null ? deserializeAws_json1_1AppBlock(output.AppBlock, context) : undefined,
|
|
5603
5485
|
};
|
|
5604
5486
|
};
|
|
5605
5487
|
var deserializeAws_json1_1CreateApplicationResult = function (output, context) {
|
|
5606
5488
|
return {
|
|
5607
|
-
Application: output.Application
|
|
5608
|
-
? deserializeAws_json1_1Application(output.Application, context)
|
|
5609
|
-
: undefined,
|
|
5489
|
+
Application: output.Application != null ? deserializeAws_json1_1Application(output.Application, context) : undefined,
|
|
5610
5490
|
};
|
|
5611
5491
|
};
|
|
5612
5492
|
var deserializeAws_json1_1CreateDirectoryConfigResult = function (output, context) {
|
|
5613
5493
|
return {
|
|
5614
|
-
DirectoryConfig: output.DirectoryConfig
|
|
5494
|
+
DirectoryConfig: output.DirectoryConfig != null
|
|
5615
5495
|
? deserializeAws_json1_1DirectoryConfig(output.DirectoryConfig, context)
|
|
5616
5496
|
: undefined,
|
|
5617
5497
|
};
|
|
5618
5498
|
};
|
|
5619
5499
|
var deserializeAws_json1_1CreateEntitlementResult = function (output, context) {
|
|
5620
5500
|
return {
|
|
5621
|
-
Entitlement: output.Entitlement
|
|
5622
|
-
? deserializeAws_json1_1Entitlement(output.Entitlement, context)
|
|
5623
|
-
: undefined,
|
|
5501
|
+
Entitlement: output.Entitlement != null ? deserializeAws_json1_1Entitlement(output.Entitlement, context) : undefined,
|
|
5624
5502
|
};
|
|
5625
5503
|
};
|
|
5626
5504
|
var deserializeAws_json1_1CreateFleetResult = function (output, context) {
|
|
5627
5505
|
return {
|
|
5628
|
-
Fleet: output.Fleet
|
|
5629
|
-
? deserializeAws_json1_1Fleet(output.Fleet, context)
|
|
5630
|
-
: undefined,
|
|
5506
|
+
Fleet: output.Fleet != null ? deserializeAws_json1_1Fleet(output.Fleet, context) : undefined,
|
|
5631
5507
|
};
|
|
5632
5508
|
};
|
|
5633
5509
|
var deserializeAws_json1_1CreateImageBuilderResult = function (output, context) {
|
|
5634
5510
|
return {
|
|
5635
|
-
ImageBuilder: output.ImageBuilder
|
|
5636
|
-
? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context)
|
|
5637
|
-
: undefined,
|
|
5511
|
+
ImageBuilder: output.ImageBuilder != null ? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
5638
5512
|
};
|
|
5639
5513
|
};
|
|
5640
5514
|
var deserializeAws_json1_1CreateImageBuilderStreamingURLResult = function (output, context) {
|
|
5641
5515
|
return {
|
|
5642
|
-
Expires: output.Expires
|
|
5643
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires)))
|
|
5644
|
-
: undefined,
|
|
5516
|
+
Expires: output.Expires != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires))) : undefined,
|
|
5645
5517
|
StreamingURL: __expectString(output.StreamingURL),
|
|
5646
5518
|
};
|
|
5647
5519
|
};
|
|
5648
5520
|
var deserializeAws_json1_1CreateStackResult = function (output, context) {
|
|
5649
5521
|
return {
|
|
5650
|
-
Stack: output.Stack
|
|
5651
|
-
? deserializeAws_json1_1Stack(output.Stack, context)
|
|
5652
|
-
: undefined,
|
|
5522
|
+
Stack: output.Stack != null ? deserializeAws_json1_1Stack(output.Stack, context) : undefined,
|
|
5653
5523
|
};
|
|
5654
5524
|
};
|
|
5655
5525
|
var deserializeAws_json1_1CreateStreamingURLResult = function (output, context) {
|
|
5656
5526
|
return {
|
|
5657
|
-
Expires: output.Expires
|
|
5658
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires)))
|
|
5659
|
-
: undefined,
|
|
5527
|
+
Expires: output.Expires != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires))) : undefined,
|
|
5660
5528
|
StreamingURL: __expectString(output.StreamingURL),
|
|
5661
5529
|
};
|
|
5662
5530
|
};
|
|
5663
5531
|
var deserializeAws_json1_1CreateUpdatedImageResult = function (output, context) {
|
|
5664
5532
|
return {
|
|
5665
5533
|
canUpdateImage: __expectBoolean(output.canUpdateImage),
|
|
5666
|
-
image: output.image
|
|
5667
|
-
? deserializeAws_json1_1Image(output.image, context)
|
|
5668
|
-
: undefined,
|
|
5534
|
+
image: output.image != null ? deserializeAws_json1_1Image(output.image, context) : undefined,
|
|
5669
5535
|
};
|
|
5670
5536
|
};
|
|
5671
5537
|
var deserializeAws_json1_1CreateUsageReportSubscriptionResult = function (output, context) {
|
|
@@ -5694,9 +5560,7 @@ var deserializeAws_json1_1DeleteFleetResult = function (output, context) {
|
|
|
5694
5560
|
};
|
|
5695
5561
|
var deserializeAws_json1_1DeleteImageBuilderResult = function (output, context) {
|
|
5696
5562
|
return {
|
|
5697
|
-
ImageBuilder: output.ImageBuilder
|
|
5698
|
-
? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context)
|
|
5699
|
-
: undefined,
|
|
5563
|
+
ImageBuilder: output.ImageBuilder != null ? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
5700
5564
|
};
|
|
5701
5565
|
};
|
|
5702
5566
|
var deserializeAws_json1_1DeleteImagePermissionsResult = function (output, context) {
|
|
@@ -5704,9 +5568,7 @@ var deserializeAws_json1_1DeleteImagePermissionsResult = function (output, conte
|
|
|
5704
5568
|
};
|
|
5705
5569
|
var deserializeAws_json1_1DeleteImageResult = function (output, context) {
|
|
5706
5570
|
return {
|
|
5707
|
-
Image: output.Image
|
|
5708
|
-
? deserializeAws_json1_1Image(output.Image, context)
|
|
5709
|
-
: undefined,
|
|
5571
|
+
Image: output.Image != null ? deserializeAws_json1_1Image(output.Image, context) : undefined,
|
|
5710
5572
|
};
|
|
5711
5573
|
};
|
|
5712
5574
|
var deserializeAws_json1_1DeleteStackResult = function (output, context) {
|
|
@@ -5720,15 +5582,13 @@ var deserializeAws_json1_1DeleteUserResult = function (output, context) {
|
|
|
5720
5582
|
};
|
|
5721
5583
|
var deserializeAws_json1_1DescribeAppBlocksResult = function (output, context) {
|
|
5722
5584
|
return {
|
|
5723
|
-
AppBlocks: output.AppBlocks
|
|
5724
|
-
? deserializeAws_json1_1AppBlocks(output.AppBlocks, context)
|
|
5725
|
-
: undefined,
|
|
5585
|
+
AppBlocks: output.AppBlocks != null ? deserializeAws_json1_1AppBlocks(output.AppBlocks, context) : undefined,
|
|
5726
5586
|
NextToken: __expectString(output.NextToken),
|
|
5727
5587
|
};
|
|
5728
5588
|
};
|
|
5729
5589
|
var deserializeAws_json1_1DescribeApplicationFleetAssociationsResult = function (output, context) {
|
|
5730
5590
|
return {
|
|
5731
|
-
ApplicationFleetAssociations: output.ApplicationFleetAssociations
|
|
5591
|
+
ApplicationFleetAssociations: output.ApplicationFleetAssociations != null
|
|
5732
5592
|
? deserializeAws_json1_1ApplicationFleetAssociationList(output.ApplicationFleetAssociations, context)
|
|
5733
5593
|
: undefined,
|
|
5734
5594
|
NextToken: __expectString(output.NextToken),
|
|
@@ -5736,15 +5596,13 @@ var deserializeAws_json1_1DescribeApplicationFleetAssociationsResult = function
|
|
|
5736
5596
|
};
|
|
5737
5597
|
var deserializeAws_json1_1DescribeApplicationsResult = function (output, context) {
|
|
5738
5598
|
return {
|
|
5739
|
-
Applications: output.Applications
|
|
5740
|
-
? deserializeAws_json1_1Applications(output.Applications, context)
|
|
5741
|
-
: undefined,
|
|
5599
|
+
Applications: output.Applications != null ? deserializeAws_json1_1Applications(output.Applications, context) : undefined,
|
|
5742
5600
|
NextToken: __expectString(output.NextToken),
|
|
5743
5601
|
};
|
|
5744
5602
|
};
|
|
5745
5603
|
var deserializeAws_json1_1DescribeDirectoryConfigsResult = function (output, context) {
|
|
5746
5604
|
return {
|
|
5747
|
-
DirectoryConfigs: output.DirectoryConfigs
|
|
5605
|
+
DirectoryConfigs: output.DirectoryConfigs != null
|
|
5748
5606
|
? deserializeAws_json1_1DirectoryConfigList(output.DirectoryConfigs, context)
|
|
5749
5607
|
: undefined,
|
|
5750
5608
|
NextToken: __expectString(output.NextToken),
|
|
@@ -5752,25 +5610,19 @@ var deserializeAws_json1_1DescribeDirectoryConfigsResult = function (output, con
|
|
|
5752
5610
|
};
|
|
5753
5611
|
var deserializeAws_json1_1DescribeEntitlementsResult = function (output, context) {
|
|
5754
5612
|
return {
|
|
5755
|
-
Entitlements: output.Entitlements
|
|
5756
|
-
? deserializeAws_json1_1EntitlementList(output.Entitlements, context)
|
|
5757
|
-
: undefined,
|
|
5613
|
+
Entitlements: output.Entitlements != null ? deserializeAws_json1_1EntitlementList(output.Entitlements, context) : undefined,
|
|
5758
5614
|
NextToken: __expectString(output.NextToken),
|
|
5759
5615
|
};
|
|
5760
5616
|
};
|
|
5761
5617
|
var deserializeAws_json1_1DescribeFleetsResult = function (output, context) {
|
|
5762
5618
|
return {
|
|
5763
|
-
Fleets: output.Fleets
|
|
5764
|
-
? deserializeAws_json1_1FleetList(output.Fleets, context)
|
|
5765
|
-
: undefined,
|
|
5619
|
+
Fleets: output.Fleets != null ? deserializeAws_json1_1FleetList(output.Fleets, context) : undefined,
|
|
5766
5620
|
NextToken: __expectString(output.NextToken),
|
|
5767
5621
|
};
|
|
5768
5622
|
};
|
|
5769
5623
|
var deserializeAws_json1_1DescribeImageBuildersResult = function (output, context) {
|
|
5770
5624
|
return {
|
|
5771
|
-
ImageBuilders: output.ImageBuilders
|
|
5772
|
-
? deserializeAws_json1_1ImageBuilderList(output.ImageBuilders, context)
|
|
5773
|
-
: undefined,
|
|
5625
|
+
ImageBuilders: output.ImageBuilders != null ? deserializeAws_json1_1ImageBuilderList(output.ImageBuilders, context) : undefined,
|
|
5774
5626
|
NextToken: __expectString(output.NextToken),
|
|
5775
5627
|
};
|
|
5776
5628
|
};
|
|
@@ -5778,39 +5630,33 @@ var deserializeAws_json1_1DescribeImagePermissionsResult = function (output, con
|
|
|
5778
5630
|
return {
|
|
5779
5631
|
Name: __expectString(output.Name),
|
|
5780
5632
|
NextToken: __expectString(output.NextToken),
|
|
5781
|
-
SharedImagePermissionsList: output.SharedImagePermissionsList
|
|
5633
|
+
SharedImagePermissionsList: output.SharedImagePermissionsList != null
|
|
5782
5634
|
? deserializeAws_json1_1SharedImagePermissionsList(output.SharedImagePermissionsList, context)
|
|
5783
5635
|
: undefined,
|
|
5784
5636
|
};
|
|
5785
5637
|
};
|
|
5786
5638
|
var deserializeAws_json1_1DescribeImagesResult = function (output, context) {
|
|
5787
5639
|
return {
|
|
5788
|
-
Images: output.Images
|
|
5789
|
-
? deserializeAws_json1_1ImageList(output.Images, context)
|
|
5790
|
-
: undefined,
|
|
5640
|
+
Images: output.Images != null ? deserializeAws_json1_1ImageList(output.Images, context) : undefined,
|
|
5791
5641
|
NextToken: __expectString(output.NextToken),
|
|
5792
5642
|
};
|
|
5793
5643
|
};
|
|
5794
5644
|
var deserializeAws_json1_1DescribeSessionsResult = function (output, context) {
|
|
5795
5645
|
return {
|
|
5796
5646
|
NextToken: __expectString(output.NextToken),
|
|
5797
|
-
Sessions: output.Sessions
|
|
5798
|
-
? deserializeAws_json1_1SessionList(output.Sessions, context)
|
|
5799
|
-
: undefined,
|
|
5647
|
+
Sessions: output.Sessions != null ? deserializeAws_json1_1SessionList(output.Sessions, context) : undefined,
|
|
5800
5648
|
};
|
|
5801
5649
|
};
|
|
5802
5650
|
var deserializeAws_json1_1DescribeStacksResult = function (output, context) {
|
|
5803
5651
|
return {
|
|
5804
5652
|
NextToken: __expectString(output.NextToken),
|
|
5805
|
-
Stacks: output.Stacks
|
|
5806
|
-
? deserializeAws_json1_1StackList(output.Stacks, context)
|
|
5807
|
-
: undefined,
|
|
5653
|
+
Stacks: output.Stacks != null ? deserializeAws_json1_1StackList(output.Stacks, context) : undefined,
|
|
5808
5654
|
};
|
|
5809
5655
|
};
|
|
5810
5656
|
var deserializeAws_json1_1DescribeUsageReportSubscriptionsResult = function (output, context) {
|
|
5811
5657
|
return {
|
|
5812
5658
|
NextToken: __expectString(output.NextToken),
|
|
5813
|
-
UsageReportSubscriptions: output.UsageReportSubscriptions
|
|
5659
|
+
UsageReportSubscriptions: output.UsageReportSubscriptions != null
|
|
5814
5660
|
? deserializeAws_json1_1UsageReportSubscriptionList(output.UsageReportSubscriptions, context)
|
|
5815
5661
|
: undefined,
|
|
5816
5662
|
};
|
|
@@ -5818,29 +5664,27 @@ var deserializeAws_json1_1DescribeUsageReportSubscriptionsResult = function (out
|
|
|
5818
5664
|
var deserializeAws_json1_1DescribeUsersResult = function (output, context) {
|
|
5819
5665
|
return {
|
|
5820
5666
|
NextToken: __expectString(output.NextToken),
|
|
5821
|
-
Users: output.Users
|
|
5822
|
-
? deserializeAws_json1_1UserList(output.Users, context)
|
|
5823
|
-
: undefined,
|
|
5667
|
+
Users: output.Users != null ? deserializeAws_json1_1UserList(output.Users, context) : undefined,
|
|
5824
5668
|
};
|
|
5825
5669
|
};
|
|
5826
5670
|
var deserializeAws_json1_1DescribeUserStackAssociationsResult = function (output, context) {
|
|
5827
5671
|
return {
|
|
5828
5672
|
NextToken: __expectString(output.NextToken),
|
|
5829
|
-
UserStackAssociations: output.UserStackAssociations
|
|
5673
|
+
UserStackAssociations: output.UserStackAssociations != null
|
|
5830
5674
|
? deserializeAws_json1_1UserStackAssociationList(output.UserStackAssociations, context)
|
|
5831
5675
|
: undefined,
|
|
5832
5676
|
};
|
|
5833
5677
|
};
|
|
5834
5678
|
var deserializeAws_json1_1DirectoryConfig = function (output, context) {
|
|
5835
5679
|
return {
|
|
5836
|
-
CreatedTime: output.CreatedTime
|
|
5680
|
+
CreatedTime: output.CreatedTime != null
|
|
5837
5681
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5838
5682
|
: undefined,
|
|
5839
5683
|
DirectoryName: __expectString(output.DirectoryName),
|
|
5840
|
-
OrganizationalUnitDistinguishedNames: output.OrganizationalUnitDistinguishedNames
|
|
5684
|
+
OrganizationalUnitDistinguishedNames: output.OrganizationalUnitDistinguishedNames != null
|
|
5841
5685
|
? deserializeAws_json1_1OrganizationalUnitDistinguishedNamesList(output.OrganizationalUnitDistinguishedNames, context)
|
|
5842
5686
|
: undefined,
|
|
5843
|
-
ServiceAccountCredentials: output.ServiceAccountCredentials
|
|
5687
|
+
ServiceAccountCredentials: output.ServiceAccountCredentials != null
|
|
5844
5688
|
? deserializeAws_json1_1ServiceAccountCredentials(output.ServiceAccountCredentials, context)
|
|
5845
5689
|
: undefined,
|
|
5846
5690
|
};
|
|
@@ -5918,14 +5762,14 @@ var deserializeAws_json1_1EntitledApplicationList = function (output, context) {
|
|
|
5918
5762
|
var deserializeAws_json1_1Entitlement = function (output, context) {
|
|
5919
5763
|
return {
|
|
5920
5764
|
AppVisibility: __expectString(output.AppVisibility),
|
|
5921
|
-
Attributes: output.Attributes
|
|
5765
|
+
Attributes: output.Attributes != null
|
|
5922
5766
|
? deserializeAws_json1_1EntitlementAttributeList(output.Attributes, context)
|
|
5923
5767
|
: undefined,
|
|
5924
|
-
CreatedTime: output.CreatedTime
|
|
5768
|
+
CreatedTime: output.CreatedTime != null
|
|
5925
5769
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5926
5770
|
: undefined,
|
|
5927
5771
|
Description: __expectString(output.Description),
|
|
5928
|
-
LastModifiedTime: output.LastModifiedTime
|
|
5772
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5929
5773
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5930
5774
|
: undefined,
|
|
5931
5775
|
Name: __expectString(output.Name),
|
|
@@ -5976,22 +5820,18 @@ var deserializeAws_json1_1ExpireSessionResult = function (output, context) {
|
|
|
5976
5820
|
var deserializeAws_json1_1Fleet = function (output, context) {
|
|
5977
5821
|
return {
|
|
5978
5822
|
Arn: __expectString(output.Arn),
|
|
5979
|
-
ComputeCapacityStatus: output.ComputeCapacityStatus
|
|
5823
|
+
ComputeCapacityStatus: output.ComputeCapacityStatus != null
|
|
5980
5824
|
? deserializeAws_json1_1ComputeCapacityStatus(output.ComputeCapacityStatus, context)
|
|
5981
5825
|
: undefined,
|
|
5982
|
-
CreatedTime: output.CreatedTime
|
|
5826
|
+
CreatedTime: output.CreatedTime != null
|
|
5983
5827
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5984
5828
|
: undefined,
|
|
5985
5829
|
Description: __expectString(output.Description),
|
|
5986
5830
|
DisconnectTimeoutInSeconds: __expectInt32(output.DisconnectTimeoutInSeconds),
|
|
5987
5831
|
DisplayName: __expectString(output.DisplayName),
|
|
5988
|
-
DomainJoinInfo: output.DomainJoinInfo
|
|
5989
|
-
? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context)
|
|
5990
|
-
: undefined,
|
|
5832
|
+
DomainJoinInfo: output.DomainJoinInfo != null ? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context) : undefined,
|
|
5991
5833
|
EnableDefaultInternetAccess: __expectBoolean(output.EnableDefaultInternetAccess),
|
|
5992
|
-
FleetErrors: output.FleetErrors
|
|
5993
|
-
? deserializeAws_json1_1FleetErrors(output.FleetErrors, context)
|
|
5994
|
-
: undefined,
|
|
5834
|
+
FleetErrors: output.FleetErrors != null ? deserializeAws_json1_1FleetErrors(output.FleetErrors, context) : undefined,
|
|
5995
5835
|
FleetType: __expectString(output.FleetType),
|
|
5996
5836
|
IamRoleArn: __expectString(output.IamRoleArn),
|
|
5997
5837
|
IdleDisconnectTimeoutInSeconds: __expectInt32(output.IdleDisconnectTimeoutInSeconds),
|
|
@@ -6002,17 +5842,15 @@ var deserializeAws_json1_1Fleet = function (output, context) {
|
|
|
6002
5842
|
MaxUserDurationInSeconds: __expectInt32(output.MaxUserDurationInSeconds),
|
|
6003
5843
|
Name: __expectString(output.Name),
|
|
6004
5844
|
Platform: __expectString(output.Platform),
|
|
6005
|
-
SessionScriptS3Location: output.SessionScriptS3Location
|
|
5845
|
+
SessionScriptS3Location: output.SessionScriptS3Location != null
|
|
6006
5846
|
? deserializeAws_json1_1S3Location(output.SessionScriptS3Location, context)
|
|
6007
5847
|
: undefined,
|
|
6008
5848
|
State: __expectString(output.State),
|
|
6009
5849
|
StreamView: __expectString(output.StreamView),
|
|
6010
|
-
UsbDeviceFilterStrings: output.UsbDeviceFilterStrings
|
|
5850
|
+
UsbDeviceFilterStrings: output.UsbDeviceFilterStrings != null
|
|
6011
5851
|
? deserializeAws_json1_1UsbDeviceFilterStrings(output.UsbDeviceFilterStrings, context)
|
|
6012
5852
|
: undefined,
|
|
6013
|
-
VpcConfig: output.VpcConfig
|
|
6014
|
-
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
6015
|
-
: undefined,
|
|
5853
|
+
VpcConfig: output.VpcConfig != null ? deserializeAws_json1_1VpcConfig(output.VpcConfig, context) : undefined,
|
|
6016
5854
|
};
|
|
6017
5855
|
};
|
|
6018
5856
|
var deserializeAws_json1_1FleetError = function (output, context) {
|
|
@@ -6045,32 +5883,28 @@ var deserializeAws_json1_1FleetList = function (output, context) {
|
|
|
6045
5883
|
};
|
|
6046
5884
|
var deserializeAws_json1_1Image = function (output, context) {
|
|
6047
5885
|
return {
|
|
6048
|
-
Applications: output.Applications
|
|
6049
|
-
? deserializeAws_json1_1Applications(output.Applications, context)
|
|
6050
|
-
: undefined,
|
|
5886
|
+
Applications: output.Applications != null ? deserializeAws_json1_1Applications(output.Applications, context) : undefined,
|
|
6051
5887
|
AppstreamAgentVersion: __expectString(output.AppstreamAgentVersion),
|
|
6052
5888
|
Arn: __expectString(output.Arn),
|
|
6053
5889
|
BaseImageArn: __expectString(output.BaseImageArn),
|
|
6054
|
-
CreatedTime: output.CreatedTime
|
|
5890
|
+
CreatedTime: output.CreatedTime != null
|
|
6055
5891
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6056
5892
|
: undefined,
|
|
6057
5893
|
Description: __expectString(output.Description),
|
|
6058
5894
|
DisplayName: __expectString(output.DisplayName),
|
|
6059
5895
|
ImageBuilderName: __expectString(output.ImageBuilderName),
|
|
6060
5896
|
ImageBuilderSupported: __expectBoolean(output.ImageBuilderSupported),
|
|
6061
|
-
ImageErrors: output.ImageErrors
|
|
6062
|
-
|
|
6063
|
-
: undefined,
|
|
6064
|
-
ImagePermissions: output.ImagePermissions !== undefined && output.ImagePermissions !== null
|
|
5897
|
+
ImageErrors: output.ImageErrors != null ? deserializeAws_json1_1ResourceErrors(output.ImageErrors, context) : undefined,
|
|
5898
|
+
ImagePermissions: output.ImagePermissions != null
|
|
6065
5899
|
? deserializeAws_json1_1ImagePermissions(output.ImagePermissions, context)
|
|
6066
5900
|
: undefined,
|
|
6067
5901
|
Name: __expectString(output.Name),
|
|
6068
5902
|
Platform: __expectString(output.Platform),
|
|
6069
|
-
PublicBaseImageReleasedDate: output.PublicBaseImageReleasedDate
|
|
5903
|
+
PublicBaseImageReleasedDate: output.PublicBaseImageReleasedDate != null
|
|
6070
5904
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PublicBaseImageReleasedDate)))
|
|
6071
5905
|
: undefined,
|
|
6072
5906
|
State: __expectString(output.State),
|
|
6073
|
-
StateChangeReason: output.StateChangeReason
|
|
5907
|
+
StateChangeReason: output.StateChangeReason != null
|
|
6074
5908
|
? deserializeAws_json1_1ImageStateChangeReason(output.StateChangeReason, context)
|
|
6075
5909
|
: undefined,
|
|
6076
5910
|
Visibility: __expectString(output.Visibility),
|
|
@@ -6078,38 +5912,34 @@ var deserializeAws_json1_1Image = function (output, context) {
|
|
|
6078
5912
|
};
|
|
6079
5913
|
var deserializeAws_json1_1ImageBuilder = function (output, context) {
|
|
6080
5914
|
return {
|
|
6081
|
-
AccessEndpoints: output.AccessEndpoints
|
|
5915
|
+
AccessEndpoints: output.AccessEndpoints != null
|
|
6082
5916
|
? deserializeAws_json1_1AccessEndpointList(output.AccessEndpoints, context)
|
|
6083
5917
|
: undefined,
|
|
6084
5918
|
AppstreamAgentVersion: __expectString(output.AppstreamAgentVersion),
|
|
6085
5919
|
Arn: __expectString(output.Arn),
|
|
6086
|
-
CreatedTime: output.CreatedTime
|
|
5920
|
+
CreatedTime: output.CreatedTime != null
|
|
6087
5921
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6088
5922
|
: undefined,
|
|
6089
5923
|
Description: __expectString(output.Description),
|
|
6090
5924
|
DisplayName: __expectString(output.DisplayName),
|
|
6091
|
-
DomainJoinInfo: output.DomainJoinInfo
|
|
6092
|
-
? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context)
|
|
6093
|
-
: undefined,
|
|
5925
|
+
DomainJoinInfo: output.DomainJoinInfo != null ? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context) : undefined,
|
|
6094
5926
|
EnableDefaultInternetAccess: __expectBoolean(output.EnableDefaultInternetAccess),
|
|
6095
5927
|
IamRoleArn: __expectString(output.IamRoleArn),
|
|
6096
5928
|
ImageArn: __expectString(output.ImageArn),
|
|
6097
|
-
ImageBuilderErrors: output.ImageBuilderErrors
|
|
5929
|
+
ImageBuilderErrors: output.ImageBuilderErrors != null
|
|
6098
5930
|
? deserializeAws_json1_1ResourceErrors(output.ImageBuilderErrors, context)
|
|
6099
5931
|
: undefined,
|
|
6100
5932
|
InstanceType: __expectString(output.InstanceType),
|
|
6101
5933
|
Name: __expectString(output.Name),
|
|
6102
|
-
NetworkAccessConfiguration: output.NetworkAccessConfiguration
|
|
5934
|
+
NetworkAccessConfiguration: output.NetworkAccessConfiguration != null
|
|
6103
5935
|
? deserializeAws_json1_1NetworkAccessConfiguration(output.NetworkAccessConfiguration, context)
|
|
6104
5936
|
: undefined,
|
|
6105
5937
|
Platform: __expectString(output.Platform),
|
|
6106
5938
|
State: __expectString(output.State),
|
|
6107
|
-
StateChangeReason: output.StateChangeReason
|
|
5939
|
+
StateChangeReason: output.StateChangeReason != null
|
|
6108
5940
|
? deserializeAws_json1_1ImageBuilderStateChangeReason(output.StateChangeReason, context)
|
|
6109
5941
|
: undefined,
|
|
6110
|
-
VpcConfig: output.VpcConfig
|
|
6111
|
-
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
6112
|
-
: undefined,
|
|
5942
|
+
VpcConfig: output.VpcConfig != null ? deserializeAws_json1_1VpcConfig(output.VpcConfig, context) : undefined,
|
|
6113
5943
|
};
|
|
6114
5944
|
};
|
|
6115
5945
|
var deserializeAws_json1_1ImageBuilderList = function (output, context) {
|
|
@@ -6196,23 +6026,19 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
6196
6026
|
};
|
|
6197
6027
|
var deserializeAws_json1_1ListAssociatedFleetsResult = function (output, context) {
|
|
6198
6028
|
return {
|
|
6199
|
-
Names: output.Names
|
|
6200
|
-
? deserializeAws_json1_1StringList(output.Names, context)
|
|
6201
|
-
: undefined,
|
|
6029
|
+
Names: output.Names != null ? deserializeAws_json1_1StringList(output.Names, context) : undefined,
|
|
6202
6030
|
NextToken: __expectString(output.NextToken),
|
|
6203
6031
|
};
|
|
6204
6032
|
};
|
|
6205
6033
|
var deserializeAws_json1_1ListAssociatedStacksResult = function (output, context) {
|
|
6206
6034
|
return {
|
|
6207
|
-
Names: output.Names
|
|
6208
|
-
? deserializeAws_json1_1StringList(output.Names, context)
|
|
6209
|
-
: undefined,
|
|
6035
|
+
Names: output.Names != null ? deserializeAws_json1_1StringList(output.Names, context) : undefined,
|
|
6210
6036
|
NextToken: __expectString(output.NextToken),
|
|
6211
6037
|
};
|
|
6212
6038
|
};
|
|
6213
6039
|
var deserializeAws_json1_1ListEntitledApplicationsResult = function (output, context) {
|
|
6214
6040
|
return {
|
|
6215
|
-
EntitledApplications: output.EntitledApplications
|
|
6041
|
+
EntitledApplications: output.EntitledApplications != null
|
|
6216
6042
|
? deserializeAws_json1_1EntitledApplicationList(output.EntitledApplications, context)
|
|
6217
6043
|
: undefined,
|
|
6218
6044
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6220,7 +6046,7 @@ var deserializeAws_json1_1ListEntitledApplicationsResult = function (output, con
|
|
|
6220
6046
|
};
|
|
6221
6047
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
6222
6048
|
return {
|
|
6223
|
-
Tags: output.Tags
|
|
6049
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
6224
6050
|
};
|
|
6225
6051
|
};
|
|
6226
6052
|
var deserializeAws_json1_1Metadata = function (output, context) {
|
|
@@ -6280,7 +6106,7 @@ var deserializeAws_json1_1ResourceError = function (output, context) {
|
|
|
6280
6106
|
return {
|
|
6281
6107
|
ErrorCode: __expectString(output.ErrorCode),
|
|
6282
6108
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
6283
|
-
ErrorTimestamp: output.ErrorTimestamp
|
|
6109
|
+
ErrorTimestamp: output.ErrorTimestamp != null
|
|
6284
6110
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ErrorTimestamp)))
|
|
6285
6111
|
: undefined,
|
|
6286
6112
|
};
|
|
@@ -6321,9 +6147,7 @@ var deserializeAws_json1_1ScriptDetails = function (output, context) {
|
|
|
6321
6147
|
return {
|
|
6322
6148
|
ExecutableParameters: __expectString(output.ExecutableParameters),
|
|
6323
6149
|
ExecutablePath: __expectString(output.ExecutablePath),
|
|
6324
|
-
ScriptS3Location: output.ScriptS3Location
|
|
6325
|
-
? deserializeAws_json1_1S3Location(output.ScriptS3Location, context)
|
|
6326
|
-
: undefined,
|
|
6150
|
+
ScriptS3Location: output.ScriptS3Location != null ? deserializeAws_json1_1S3Location(output.ScriptS3Location, context) : undefined,
|
|
6327
6151
|
TimeoutInSeconds: __expectInt32(output.TimeoutInSeconds),
|
|
6328
6152
|
};
|
|
6329
6153
|
};
|
|
@@ -6350,16 +6174,14 @@ var deserializeAws_json1_1Session = function (output, context) {
|
|
|
6350
6174
|
ConnectionState: __expectString(output.ConnectionState),
|
|
6351
6175
|
FleetName: __expectString(output.FleetName),
|
|
6352
6176
|
Id: __expectString(output.Id),
|
|
6353
|
-
MaxExpirationTime: output.MaxExpirationTime
|
|
6177
|
+
MaxExpirationTime: output.MaxExpirationTime != null
|
|
6354
6178
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.MaxExpirationTime)))
|
|
6355
6179
|
: undefined,
|
|
6356
|
-
NetworkAccessConfiguration: output.NetworkAccessConfiguration
|
|
6180
|
+
NetworkAccessConfiguration: output.NetworkAccessConfiguration != null
|
|
6357
6181
|
? deserializeAws_json1_1NetworkAccessConfiguration(output.NetworkAccessConfiguration, context)
|
|
6358
6182
|
: undefined,
|
|
6359
6183
|
StackName: __expectString(output.StackName),
|
|
6360
|
-
StartTime: output.StartTime
|
|
6361
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
6362
|
-
: undefined,
|
|
6184
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
6363
6185
|
State: __expectString(output.State),
|
|
6364
6186
|
UserId: __expectString(output.UserId),
|
|
6365
6187
|
};
|
|
@@ -6377,7 +6199,7 @@ var deserializeAws_json1_1SessionList = function (output, context) {
|
|
|
6377
6199
|
};
|
|
6378
6200
|
var deserializeAws_json1_1SharedImagePermissions = function (output, context) {
|
|
6379
6201
|
return {
|
|
6380
|
-
imagePermissions: output.imagePermissions
|
|
6202
|
+
imagePermissions: output.imagePermissions != null
|
|
6381
6203
|
? deserializeAws_json1_1ImagePermissions(output.imagePermissions, context)
|
|
6382
6204
|
: undefined,
|
|
6383
6205
|
sharedAccountId: __expectString(output.sharedAccountId),
|
|
@@ -6396,36 +6218,32 @@ var deserializeAws_json1_1SharedImagePermissionsList = function (output, context
|
|
|
6396
6218
|
};
|
|
6397
6219
|
var deserializeAws_json1_1Stack = function (output, context) {
|
|
6398
6220
|
return {
|
|
6399
|
-
AccessEndpoints: output.AccessEndpoints
|
|
6221
|
+
AccessEndpoints: output.AccessEndpoints != null
|
|
6400
6222
|
? deserializeAws_json1_1AccessEndpointList(output.AccessEndpoints, context)
|
|
6401
6223
|
: undefined,
|
|
6402
|
-
ApplicationSettings: output.ApplicationSettings
|
|
6224
|
+
ApplicationSettings: output.ApplicationSettings != null
|
|
6403
6225
|
? deserializeAws_json1_1ApplicationSettingsResponse(output.ApplicationSettings, context)
|
|
6404
6226
|
: undefined,
|
|
6405
6227
|
Arn: __expectString(output.Arn),
|
|
6406
|
-
CreatedTime: output.CreatedTime
|
|
6228
|
+
CreatedTime: output.CreatedTime != null
|
|
6407
6229
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6408
6230
|
: undefined,
|
|
6409
6231
|
Description: __expectString(output.Description),
|
|
6410
6232
|
DisplayName: __expectString(output.DisplayName),
|
|
6411
|
-
EmbedHostDomains: output.EmbedHostDomains
|
|
6233
|
+
EmbedHostDomains: output.EmbedHostDomains != null
|
|
6412
6234
|
? deserializeAws_json1_1EmbedHostDomains(output.EmbedHostDomains, context)
|
|
6413
6235
|
: undefined,
|
|
6414
6236
|
FeedbackURL: __expectString(output.FeedbackURL),
|
|
6415
6237
|
Name: __expectString(output.Name),
|
|
6416
6238
|
RedirectURL: __expectString(output.RedirectURL),
|
|
6417
|
-
StackErrors: output.StackErrors
|
|
6418
|
-
|
|
6419
|
-
: undefined,
|
|
6420
|
-
StorageConnectors: output.StorageConnectors !== undefined && output.StorageConnectors !== null
|
|
6239
|
+
StackErrors: output.StackErrors != null ? deserializeAws_json1_1StackErrors(output.StackErrors, context) : undefined,
|
|
6240
|
+
StorageConnectors: output.StorageConnectors != null
|
|
6421
6241
|
? deserializeAws_json1_1StorageConnectorList(output.StorageConnectors, context)
|
|
6422
6242
|
: undefined,
|
|
6423
|
-
StreamingExperienceSettings: output.StreamingExperienceSettings
|
|
6243
|
+
StreamingExperienceSettings: output.StreamingExperienceSettings != null
|
|
6424
6244
|
? deserializeAws_json1_1StreamingExperienceSettings(output.StreamingExperienceSettings, context)
|
|
6425
6245
|
: undefined,
|
|
6426
|
-
UserSettings: output.UserSettings
|
|
6427
|
-
? deserializeAws_json1_1UserSettingList(output.UserSettings, context)
|
|
6428
|
-
: undefined,
|
|
6246
|
+
UserSettings: output.UserSettings != null ? deserializeAws_json1_1UserSettingList(output.UserSettings, context) : undefined,
|
|
6429
6247
|
};
|
|
6430
6248
|
};
|
|
6431
6249
|
var deserializeAws_json1_1StackError = function (output, context) {
|
|
@@ -6461,9 +6279,7 @@ var deserializeAws_json1_1StartFleetResult = function (output, context) {
|
|
|
6461
6279
|
};
|
|
6462
6280
|
var deserializeAws_json1_1StartImageBuilderResult = function (output, context) {
|
|
6463
6281
|
return {
|
|
6464
|
-
ImageBuilder: output.ImageBuilder
|
|
6465
|
-
? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context)
|
|
6466
|
-
: undefined,
|
|
6282
|
+
ImageBuilder: output.ImageBuilder != null ? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
6467
6283
|
};
|
|
6468
6284
|
};
|
|
6469
6285
|
var deserializeAws_json1_1StopFleetResult = function (output, context) {
|
|
@@ -6471,17 +6287,13 @@ var deserializeAws_json1_1StopFleetResult = function (output, context) {
|
|
|
6471
6287
|
};
|
|
6472
6288
|
var deserializeAws_json1_1StopImageBuilderResult = function (output, context) {
|
|
6473
6289
|
return {
|
|
6474
|
-
ImageBuilder: output.ImageBuilder
|
|
6475
|
-
? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context)
|
|
6476
|
-
: undefined,
|
|
6290
|
+
ImageBuilder: output.ImageBuilder != null ? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
6477
6291
|
};
|
|
6478
6292
|
};
|
|
6479
6293
|
var deserializeAws_json1_1StorageConnector = function (output, context) {
|
|
6480
6294
|
return {
|
|
6481
6295
|
ConnectorType: __expectString(output.ConnectorType),
|
|
6482
|
-
Domains: output.Domains
|
|
6483
|
-
? deserializeAws_json1_1DomainList(output.Domains, context)
|
|
6484
|
-
: undefined,
|
|
6296
|
+
Domains: output.Domains != null ? deserializeAws_json1_1DomainList(output.Domains, context) : undefined,
|
|
6485
6297
|
ResourceIdentifier: __expectString(output.ResourceIdentifier),
|
|
6486
6298
|
};
|
|
6487
6299
|
};
|
|
@@ -6541,30 +6353,24 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
6541
6353
|
};
|
|
6542
6354
|
var deserializeAws_json1_1UpdateApplicationResult = function (output, context) {
|
|
6543
6355
|
return {
|
|
6544
|
-
Application: output.Application
|
|
6545
|
-
? deserializeAws_json1_1Application(output.Application, context)
|
|
6546
|
-
: undefined,
|
|
6356
|
+
Application: output.Application != null ? deserializeAws_json1_1Application(output.Application, context) : undefined,
|
|
6547
6357
|
};
|
|
6548
6358
|
};
|
|
6549
6359
|
var deserializeAws_json1_1UpdateDirectoryConfigResult = function (output, context) {
|
|
6550
6360
|
return {
|
|
6551
|
-
DirectoryConfig: output.DirectoryConfig
|
|
6361
|
+
DirectoryConfig: output.DirectoryConfig != null
|
|
6552
6362
|
? deserializeAws_json1_1DirectoryConfig(output.DirectoryConfig, context)
|
|
6553
6363
|
: undefined,
|
|
6554
6364
|
};
|
|
6555
6365
|
};
|
|
6556
6366
|
var deserializeAws_json1_1UpdateEntitlementResult = function (output, context) {
|
|
6557
6367
|
return {
|
|
6558
|
-
Entitlement: output.Entitlement
|
|
6559
|
-
? deserializeAws_json1_1Entitlement(output.Entitlement, context)
|
|
6560
|
-
: undefined,
|
|
6368
|
+
Entitlement: output.Entitlement != null ? deserializeAws_json1_1Entitlement(output.Entitlement, context) : undefined,
|
|
6561
6369
|
};
|
|
6562
6370
|
};
|
|
6563
6371
|
var deserializeAws_json1_1UpdateFleetResult = function (output, context) {
|
|
6564
6372
|
return {
|
|
6565
|
-
Fleet: output.Fleet
|
|
6566
|
-
? deserializeAws_json1_1Fleet(output.Fleet, context)
|
|
6567
|
-
: undefined,
|
|
6373
|
+
Fleet: output.Fleet != null ? deserializeAws_json1_1Fleet(output.Fleet, context) : undefined,
|
|
6568
6374
|
};
|
|
6569
6375
|
};
|
|
6570
6376
|
var deserializeAws_json1_1UpdateImagePermissionsResult = function (output, context) {
|
|
@@ -6572,19 +6378,17 @@ var deserializeAws_json1_1UpdateImagePermissionsResult = function (output, conte
|
|
|
6572
6378
|
};
|
|
6573
6379
|
var deserializeAws_json1_1UpdateStackResult = function (output, context) {
|
|
6574
6380
|
return {
|
|
6575
|
-
Stack: output.Stack
|
|
6576
|
-
? deserializeAws_json1_1Stack(output.Stack, context)
|
|
6577
|
-
: undefined,
|
|
6381
|
+
Stack: output.Stack != null ? deserializeAws_json1_1Stack(output.Stack, context) : undefined,
|
|
6578
6382
|
};
|
|
6579
6383
|
};
|
|
6580
6384
|
var deserializeAws_json1_1UsageReportSubscription = function (output, context) {
|
|
6581
6385
|
return {
|
|
6582
|
-
LastGeneratedReportDate: output.LastGeneratedReportDate
|
|
6386
|
+
LastGeneratedReportDate: output.LastGeneratedReportDate != null
|
|
6583
6387
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastGeneratedReportDate)))
|
|
6584
6388
|
: undefined,
|
|
6585
6389
|
S3BucketName: __expectString(output.S3BucketName),
|
|
6586
6390
|
Schedule: __expectString(output.Schedule),
|
|
6587
|
-
SubscriptionErrors: output.SubscriptionErrors
|
|
6391
|
+
SubscriptionErrors: output.SubscriptionErrors != null
|
|
6588
6392
|
? deserializeAws_json1_1LastReportGenerationExecutionErrors(output.SubscriptionErrors, context)
|
|
6589
6393
|
: undefined,
|
|
6590
6394
|
};
|
|
@@ -6615,7 +6419,7 @@ var deserializeAws_json1_1User = function (output, context) {
|
|
|
6615
6419
|
return {
|
|
6616
6420
|
Arn: __expectString(output.Arn),
|
|
6617
6421
|
AuthenticationType: __expectString(output.AuthenticationType),
|
|
6618
|
-
CreatedTime: output.CreatedTime
|
|
6422
|
+
CreatedTime: output.CreatedTime != null
|
|
6619
6423
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6620
6424
|
: undefined,
|
|
6621
6425
|
Enabled: __expectBoolean(output.Enabled),
|
|
@@ -6665,7 +6469,7 @@ var deserializeAws_json1_1UserStackAssociationError = function (output, context)
|
|
|
6665
6469
|
return {
|
|
6666
6470
|
ErrorCode: __expectString(output.ErrorCode),
|
|
6667
6471
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
6668
|
-
UserStackAssociation: output.UserStackAssociation
|
|
6472
|
+
UserStackAssociation: output.UserStackAssociation != null
|
|
6669
6473
|
? deserializeAws_json1_1UserStackAssociation(output.UserStackAssociation, context)
|
|
6670
6474
|
: undefined,
|
|
6671
6475
|
};
|
|
@@ -6694,12 +6498,10 @@ var deserializeAws_json1_1UserStackAssociationList = function (output, context)
|
|
|
6694
6498
|
};
|
|
6695
6499
|
var deserializeAws_json1_1VpcConfig = function (output, context) {
|
|
6696
6500
|
return {
|
|
6697
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
6501
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
6698
6502
|
? deserializeAws_json1_1SecurityGroupIdList(output.SecurityGroupIds, context)
|
|
6699
6503
|
: undefined,
|
|
6700
|
-
SubnetIds: output.SubnetIds
|
|
6701
|
-
? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context)
|
|
6702
|
-
: undefined,
|
|
6504
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context) : undefined,
|
|
6703
6505
|
};
|
|
6704
6506
|
};
|
|
6705
6507
|
var deserializeMetadata = function (output) {
|
|
@@ -6758,6 +6560,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
6758
6560
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
6759
6561
|
var sanitizeErrorCode = function (rawValue) {
|
|
6760
6562
|
var cleanValue = rawValue;
|
|
6563
|
+
if (typeof cleanValue === "number") {
|
|
6564
|
+
cleanValue = cleanValue.toString();
|
|
6565
|
+
}
|
|
6761
6566
|
if (cleanValue.indexOf(":") >= 0) {
|
|
6762
6567
|
cleanValue = cleanValue.split(":")[0];
|
|
6763
6568
|
}
|