@aws-sdk/client-proton 3.121.0 → 3.127.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.
@@ -4624,36 +4624,34 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
4624
4624
  };
4625
4625
  const serializeAws_json1_0AcceptEnvironmentAccountConnectionInput = (input, context) => {
4626
4626
  return {
4627
- ...(input.id !== undefined && input.id !== null && { id: input.id }),
4627
+ ...(input.id != null && { id: input.id }),
4628
4628
  };
4629
4629
  };
4630
4630
  const serializeAws_json1_0CancelComponentDeploymentInput = (input, context) => {
4631
4631
  return {
4632
- ...(input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName }),
4632
+ ...(input.componentName != null && { componentName: input.componentName }),
4633
4633
  };
4634
4634
  };
4635
4635
  const serializeAws_json1_0CancelEnvironmentDeploymentInput = (input, context) => {
4636
4636
  return {
4637
- ...(input.environmentName !== undefined &&
4638
- input.environmentName !== null && { environmentName: input.environmentName }),
4637
+ ...(input.environmentName != null && { environmentName: input.environmentName }),
4639
4638
  };
4640
4639
  };
4641
4640
  const serializeAws_json1_0CancelServiceInstanceDeploymentInput = (input, context) => {
4642
4641
  return {
4643
- ...(input.serviceInstanceName !== undefined &&
4644
- input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
4645
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
4642
+ ...(input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName }),
4643
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
4646
4644
  };
4647
4645
  };
4648
4646
  const serializeAws_json1_0CancelServicePipelineDeploymentInput = (input, context) => {
4649
4647
  return {
4650
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
4648
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
4651
4649
  };
4652
4650
  };
4653
4651
  const serializeAws_json1_0CompatibleEnvironmentTemplateInput = (input, context) => {
4654
4652
  return {
4655
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
4656
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4653
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
4654
+ ...(input.templateName != null && { templateName: input.templateName }),
4657
4655
  };
4658
4656
  };
4659
4657
  const serializeAws_json1_0CompatibleEnvironmentTemplateInputList = (input, context) => {
@@ -4668,203 +4666,182 @@ const serializeAws_json1_0CompatibleEnvironmentTemplateInputList = (input, conte
4668
4666
  };
4669
4667
  const serializeAws_json1_0CreateComponentInput = (input, context) => {
4670
4668
  return {
4671
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
4672
- ...(input.environmentName !== undefined &&
4673
- input.environmentName !== null && { environmentName: input.environmentName }),
4674
- ...(input.manifest !== undefined && input.manifest !== null && { manifest: input.manifest }),
4675
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4676
- ...(input.serviceInstanceName !== undefined &&
4677
- input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
4678
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
4679
- ...(input.serviceSpec !== undefined && input.serviceSpec !== null && { serviceSpec: input.serviceSpec }),
4680
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4681
- ...(input.templateFile !== undefined && input.templateFile !== null && { templateFile: input.templateFile }),
4669
+ ...(input.description != null && { description: input.description }),
4670
+ ...(input.environmentName != null && { environmentName: input.environmentName }),
4671
+ ...(input.manifest != null && { manifest: input.manifest }),
4672
+ ...(input.name != null && { name: input.name }),
4673
+ ...(input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName }),
4674
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
4675
+ ...(input.serviceSpec != null && { serviceSpec: input.serviceSpec }),
4676
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4677
+ ...(input.templateFile != null && { templateFile: input.templateFile }),
4682
4678
  };
4683
4679
  };
4684
4680
  const serializeAws_json1_0CreateEnvironmentAccountConnectionInput = (input, context) => {
4685
4681
  var _a;
4686
4682
  return {
4687
4683
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4688
- ...(input.componentRoleArn !== undefined &&
4689
- input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn }),
4690
- ...(input.environmentName !== undefined &&
4691
- input.environmentName !== null && { environmentName: input.environmentName }),
4692
- ...(input.managementAccountId !== undefined &&
4693
- input.managementAccountId !== null && { managementAccountId: input.managementAccountId }),
4694
- ...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
4695
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4684
+ ...(input.componentRoleArn != null && { componentRoleArn: input.componentRoleArn }),
4685
+ ...(input.environmentName != null && { environmentName: input.environmentName }),
4686
+ ...(input.managementAccountId != null && { managementAccountId: input.managementAccountId }),
4687
+ ...(input.roleArn != null && { roleArn: input.roleArn }),
4688
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4696
4689
  };
4697
4690
  };
4698
4691
  const serializeAws_json1_0CreateEnvironmentInput = (input, context) => {
4699
4692
  return {
4700
- ...(input.componentRoleArn !== undefined &&
4701
- input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn }),
4702
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
4703
- ...(input.environmentAccountConnectionId !== undefined &&
4704
- input.environmentAccountConnectionId !== null && {
4693
+ ...(input.componentRoleArn != null && { componentRoleArn: input.componentRoleArn }),
4694
+ ...(input.description != null && { description: input.description }),
4695
+ ...(input.environmentAccountConnectionId != null && {
4705
4696
  environmentAccountConnectionId: input.environmentAccountConnectionId,
4706
4697
  }),
4707
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4708
- ...(input.protonServiceRoleArn !== undefined &&
4709
- input.protonServiceRoleArn !== null && { protonServiceRoleArn: input.protonServiceRoleArn }),
4710
- ...(input.provisioningRepository !== undefined &&
4711
- input.provisioningRepository !== null && {
4698
+ ...(input.name != null && { name: input.name }),
4699
+ ...(input.protonServiceRoleArn != null && { protonServiceRoleArn: input.protonServiceRoleArn }),
4700
+ ...(input.provisioningRepository != null && {
4712
4701
  provisioningRepository: serializeAws_json1_0RepositoryBranchInput(input.provisioningRepository, context),
4713
4702
  }),
4714
- ...(input.spec !== undefined && input.spec !== null && { spec: input.spec }),
4715
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4716
- ...(input.templateMajorVersion !== undefined &&
4717
- input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion }),
4718
- ...(input.templateMinorVersion !== undefined &&
4719
- input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion }),
4720
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4703
+ ...(input.spec != null && { spec: input.spec }),
4704
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4705
+ ...(input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion }),
4706
+ ...(input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }),
4707
+ ...(input.templateName != null && { templateName: input.templateName }),
4721
4708
  };
4722
4709
  };
4723
4710
  const serializeAws_json1_0CreateEnvironmentTemplateInput = (input, context) => {
4724
4711
  return {
4725
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
4726
- ...(input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName }),
4727
- ...(input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey }),
4728
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4729
- ...(input.provisioning !== undefined && input.provisioning !== null && { provisioning: input.provisioning }),
4730
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4712
+ ...(input.description != null && { description: input.description }),
4713
+ ...(input.displayName != null && { displayName: input.displayName }),
4714
+ ...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
4715
+ ...(input.name != null && { name: input.name }),
4716
+ ...(input.provisioning != null && { provisioning: input.provisioning }),
4717
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4731
4718
  };
4732
4719
  };
4733
4720
  const serializeAws_json1_0CreateEnvironmentTemplateVersionInput = (input, context) => {
4734
4721
  var _a;
4735
4722
  return {
4736
4723
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4737
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
4738
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
4739
- ...(input.source !== undefined &&
4740
- input.source !== null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) }),
4741
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4742
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4724
+ ...(input.description != null && { description: input.description }),
4725
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
4726
+ ...(input.source != null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) }),
4727
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4728
+ ...(input.templateName != null && { templateName: input.templateName }),
4743
4729
  };
4744
4730
  };
4745
4731
  const serializeAws_json1_0CreateRepositoryInput = (input, context) => {
4746
4732
  return {
4747
- ...(input.connectionArn !== undefined && input.connectionArn !== null && { connectionArn: input.connectionArn }),
4748
- ...(input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey }),
4749
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4750
- ...(input.provider !== undefined && input.provider !== null && { provider: input.provider }),
4751
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4733
+ ...(input.connectionArn != null && { connectionArn: input.connectionArn }),
4734
+ ...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
4735
+ ...(input.name != null && { name: input.name }),
4736
+ ...(input.provider != null && { provider: input.provider }),
4737
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4752
4738
  };
4753
4739
  };
4754
4740
  const serializeAws_json1_0CreateServiceInput = (input, context) => {
4755
4741
  return {
4756
- ...(input.branchName !== undefined && input.branchName !== null && { branchName: input.branchName }),
4757
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
4758
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4759
- ...(input.repositoryConnectionArn !== undefined &&
4760
- input.repositoryConnectionArn !== null && { repositoryConnectionArn: input.repositoryConnectionArn }),
4761
- ...(input.repositoryId !== undefined && input.repositoryId !== null && { repositoryId: input.repositoryId }),
4762
- ...(input.spec !== undefined && input.spec !== null && { spec: input.spec }),
4763
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4764
- ...(input.templateMajorVersion !== undefined &&
4765
- input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion }),
4766
- ...(input.templateMinorVersion !== undefined &&
4767
- input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion }),
4768
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4742
+ ...(input.branchName != null && { branchName: input.branchName }),
4743
+ ...(input.description != null && { description: input.description }),
4744
+ ...(input.name != null && { name: input.name }),
4745
+ ...(input.repositoryConnectionArn != null && { repositoryConnectionArn: input.repositoryConnectionArn }),
4746
+ ...(input.repositoryId != null && { repositoryId: input.repositoryId }),
4747
+ ...(input.spec != null && { spec: input.spec }),
4748
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4749
+ ...(input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion }),
4750
+ ...(input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }),
4751
+ ...(input.templateName != null && { templateName: input.templateName }),
4769
4752
  };
4770
4753
  };
4771
4754
  const serializeAws_json1_0CreateServiceTemplateInput = (input, context) => {
4772
4755
  return {
4773
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
4774
- ...(input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName }),
4775
- ...(input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey }),
4776
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4777
- ...(input.pipelineProvisioning !== undefined &&
4778
- input.pipelineProvisioning !== null && { pipelineProvisioning: input.pipelineProvisioning }),
4779
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4756
+ ...(input.description != null && { description: input.description }),
4757
+ ...(input.displayName != null && { displayName: input.displayName }),
4758
+ ...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
4759
+ ...(input.name != null && { name: input.name }),
4760
+ ...(input.pipelineProvisioning != null && { pipelineProvisioning: input.pipelineProvisioning }),
4761
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4780
4762
  };
4781
4763
  };
4782
4764
  const serializeAws_json1_0CreateServiceTemplateVersionInput = (input, context) => {
4783
4765
  var _a;
4784
4766
  return {
4785
4767
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4786
- ...(input.compatibleEnvironmentTemplates !== undefined &&
4787
- input.compatibleEnvironmentTemplates !== null && {
4768
+ ...(input.compatibleEnvironmentTemplates != null && {
4788
4769
  compatibleEnvironmentTemplates: serializeAws_json1_0CompatibleEnvironmentTemplateInputList(input.compatibleEnvironmentTemplates, context),
4789
4770
  }),
4790
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
4791
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
4792
- ...(input.source !== undefined &&
4793
- input.source !== null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) }),
4794
- ...(input.supportedComponentSources !== undefined &&
4795
- input.supportedComponentSources !== null && {
4771
+ ...(input.description != null && { description: input.description }),
4772
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
4773
+ ...(input.source != null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) }),
4774
+ ...(input.supportedComponentSources != null && {
4796
4775
  supportedComponentSources: serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(input.supportedComponentSources, context),
4797
4776
  }),
4798
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4799
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4777
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
4778
+ ...(input.templateName != null && { templateName: input.templateName }),
4800
4779
  };
4801
4780
  };
4802
4781
  const serializeAws_json1_0CreateTemplateSyncConfigInput = (input, context) => {
4803
4782
  return {
4804
- ...(input.branch !== undefined && input.branch !== null && { branch: input.branch }),
4805
- ...(input.repositoryName !== undefined &&
4806
- input.repositoryName !== null && { repositoryName: input.repositoryName }),
4807
- ...(input.repositoryProvider !== undefined &&
4808
- input.repositoryProvider !== null && { repositoryProvider: input.repositoryProvider }),
4809
- ...(input.subdirectory !== undefined && input.subdirectory !== null && { subdirectory: input.subdirectory }),
4810
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4811
- ...(input.templateType !== undefined && input.templateType !== null && { templateType: input.templateType }),
4783
+ ...(input.branch != null && { branch: input.branch }),
4784
+ ...(input.repositoryName != null && { repositoryName: input.repositoryName }),
4785
+ ...(input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider }),
4786
+ ...(input.subdirectory != null && { subdirectory: input.subdirectory }),
4787
+ ...(input.templateName != null && { templateName: input.templateName }),
4788
+ ...(input.templateType != null && { templateType: input.templateType }),
4812
4789
  };
4813
4790
  };
4814
4791
  const serializeAws_json1_0DeleteComponentInput = (input, context) => {
4815
4792
  return {
4816
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4793
+ ...(input.name != null && { name: input.name }),
4817
4794
  };
4818
4795
  };
4819
4796
  const serializeAws_json1_0DeleteEnvironmentAccountConnectionInput = (input, context) => {
4820
4797
  return {
4821
- ...(input.id !== undefined && input.id !== null && { id: input.id }),
4798
+ ...(input.id != null && { id: input.id }),
4822
4799
  };
4823
4800
  };
4824
4801
  const serializeAws_json1_0DeleteEnvironmentInput = (input, context) => {
4825
4802
  return {
4826
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4803
+ ...(input.name != null && { name: input.name }),
4827
4804
  };
4828
4805
  };
4829
4806
  const serializeAws_json1_0DeleteEnvironmentTemplateInput = (input, context) => {
4830
4807
  return {
4831
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4808
+ ...(input.name != null && { name: input.name }),
4832
4809
  };
4833
4810
  };
4834
4811
  const serializeAws_json1_0DeleteEnvironmentTemplateVersionInput = (input, context) => {
4835
4812
  return {
4836
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
4837
- ...(input.minorVersion !== undefined && input.minorVersion !== null && { minorVersion: input.minorVersion }),
4838
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4813
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
4814
+ ...(input.minorVersion != null && { minorVersion: input.minorVersion }),
4815
+ ...(input.templateName != null && { templateName: input.templateName }),
4839
4816
  };
4840
4817
  };
4841
4818
  const serializeAws_json1_0DeleteRepositoryInput = (input, context) => {
4842
4819
  return {
4843
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4844
- ...(input.provider !== undefined && input.provider !== null && { provider: input.provider }),
4820
+ ...(input.name != null && { name: input.name }),
4821
+ ...(input.provider != null && { provider: input.provider }),
4845
4822
  };
4846
4823
  };
4847
4824
  const serializeAws_json1_0DeleteServiceInput = (input, context) => {
4848
4825
  return {
4849
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4826
+ ...(input.name != null && { name: input.name }),
4850
4827
  };
4851
4828
  };
4852
4829
  const serializeAws_json1_0DeleteServiceTemplateInput = (input, context) => {
4853
4830
  return {
4854
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4831
+ ...(input.name != null && { name: input.name }),
4855
4832
  };
4856
4833
  };
4857
4834
  const serializeAws_json1_0DeleteServiceTemplateVersionInput = (input, context) => {
4858
4835
  return {
4859
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
4860
- ...(input.minorVersion !== undefined && input.minorVersion !== null && { minorVersion: input.minorVersion }),
4861
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4836
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
4837
+ ...(input.minorVersion != null && { minorVersion: input.minorVersion }),
4838
+ ...(input.templateName != null && { templateName: input.templateName }),
4862
4839
  };
4863
4840
  };
4864
4841
  const serializeAws_json1_0DeleteTemplateSyncConfigInput = (input, context) => {
4865
4842
  return {
4866
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4867
- ...(input.templateType !== undefined && input.templateType !== null && { templateType: input.templateType }),
4843
+ ...(input.templateName != null && { templateName: input.templateName }),
4844
+ ...(input.templateType != null && { templateType: input.templateType }),
4868
4845
  };
4869
4846
  };
4870
4847
  const serializeAws_json1_0EnvironmentAccountConnectionStatusList = (input, context) => {
@@ -4879,8 +4856,8 @@ const serializeAws_json1_0EnvironmentAccountConnectionStatusList = (input, conte
4879
4856
  };
4880
4857
  const serializeAws_json1_0EnvironmentTemplateFilter = (input, context) => {
4881
4858
  return {
4882
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
4883
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4859
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
4860
+ ...(input.templateName != null && { templateName: input.templateName }),
4884
4861
  };
4885
4862
  };
4886
4863
  const serializeAws_json1_0EnvironmentTemplateFilterList = (input, context) => {
@@ -4898,250 +4875,235 @@ const serializeAws_json1_0GetAccountSettingsInput = (input, context) => {
4898
4875
  };
4899
4876
  const serializeAws_json1_0GetComponentInput = (input, context) => {
4900
4877
  return {
4901
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4878
+ ...(input.name != null && { name: input.name }),
4902
4879
  };
4903
4880
  };
4904
4881
  const serializeAws_json1_0GetEnvironmentAccountConnectionInput = (input, context) => {
4905
4882
  return {
4906
- ...(input.id !== undefined && input.id !== null && { id: input.id }),
4883
+ ...(input.id != null && { id: input.id }),
4907
4884
  };
4908
4885
  };
4909
4886
  const serializeAws_json1_0GetEnvironmentInput = (input, context) => {
4910
4887
  return {
4911
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4888
+ ...(input.name != null && { name: input.name }),
4912
4889
  };
4913
4890
  };
4914
4891
  const serializeAws_json1_0GetEnvironmentTemplateInput = (input, context) => {
4915
4892
  return {
4916
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4893
+ ...(input.name != null && { name: input.name }),
4917
4894
  };
4918
4895
  };
4919
4896
  const serializeAws_json1_0GetEnvironmentTemplateVersionInput = (input, context) => {
4920
4897
  return {
4921
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
4922
- ...(input.minorVersion !== undefined && input.minorVersion !== null && { minorVersion: input.minorVersion }),
4923
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4898
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
4899
+ ...(input.minorVersion != null && { minorVersion: input.minorVersion }),
4900
+ ...(input.templateName != null && { templateName: input.templateName }),
4924
4901
  };
4925
4902
  };
4926
4903
  const serializeAws_json1_0GetRepositoryInput = (input, context) => {
4927
4904
  return {
4928
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4929
- ...(input.provider !== undefined && input.provider !== null && { provider: input.provider }),
4905
+ ...(input.name != null && { name: input.name }),
4906
+ ...(input.provider != null && { provider: input.provider }),
4930
4907
  };
4931
4908
  };
4932
4909
  const serializeAws_json1_0GetRepositorySyncStatusInput = (input, context) => {
4933
4910
  return {
4934
- ...(input.branch !== undefined && input.branch !== null && { branch: input.branch }),
4935
- ...(input.repositoryName !== undefined &&
4936
- input.repositoryName !== null && { repositoryName: input.repositoryName }),
4937
- ...(input.repositoryProvider !== undefined &&
4938
- input.repositoryProvider !== null && { repositoryProvider: input.repositoryProvider }),
4939
- ...(input.syncType !== undefined && input.syncType !== null && { syncType: input.syncType }),
4911
+ ...(input.branch != null && { branch: input.branch }),
4912
+ ...(input.repositoryName != null && { repositoryName: input.repositoryName }),
4913
+ ...(input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider }),
4914
+ ...(input.syncType != null && { syncType: input.syncType }),
4940
4915
  };
4941
4916
  };
4942
4917
  const serializeAws_json1_0GetServiceInput = (input, context) => {
4943
4918
  return {
4944
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4919
+ ...(input.name != null && { name: input.name }),
4945
4920
  };
4946
4921
  };
4947
4922
  const serializeAws_json1_0GetServiceInstanceInput = (input, context) => {
4948
4923
  return {
4949
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4950
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
4924
+ ...(input.name != null && { name: input.name }),
4925
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
4951
4926
  };
4952
4927
  };
4953
4928
  const serializeAws_json1_0GetServiceTemplateInput = (input, context) => {
4954
4929
  return {
4955
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
4930
+ ...(input.name != null && { name: input.name }),
4956
4931
  };
4957
4932
  };
4958
4933
  const serializeAws_json1_0GetServiceTemplateVersionInput = (input, context) => {
4959
4934
  return {
4960
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
4961
- ...(input.minorVersion !== undefined && input.minorVersion !== null && { minorVersion: input.minorVersion }),
4962
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4935
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
4936
+ ...(input.minorVersion != null && { minorVersion: input.minorVersion }),
4937
+ ...(input.templateName != null && { templateName: input.templateName }),
4963
4938
  };
4964
4939
  };
4965
4940
  const serializeAws_json1_0GetTemplateSyncConfigInput = (input, context) => {
4966
4941
  return {
4967
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4968
- ...(input.templateType !== undefined && input.templateType !== null && { templateType: input.templateType }),
4942
+ ...(input.templateName != null && { templateName: input.templateName }),
4943
+ ...(input.templateType != null && { templateType: input.templateType }),
4969
4944
  };
4970
4945
  };
4971
4946
  const serializeAws_json1_0GetTemplateSyncStatusInput = (input, context) => {
4972
4947
  return {
4973
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
4974
- ...(input.templateType !== undefined && input.templateType !== null && { templateType: input.templateType }),
4975
- ...(input.templateVersion !== undefined &&
4976
- input.templateVersion !== null && { templateVersion: input.templateVersion }),
4948
+ ...(input.templateName != null && { templateName: input.templateName }),
4949
+ ...(input.templateType != null && { templateType: input.templateType }),
4950
+ ...(input.templateVersion != null && { templateVersion: input.templateVersion }),
4977
4951
  };
4978
4952
  };
4979
4953
  const serializeAws_json1_0ListComponentOutputsInput = (input, context) => {
4980
4954
  return {
4981
- ...(input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName }),
4982
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
4955
+ ...(input.componentName != null && { componentName: input.componentName }),
4956
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
4983
4957
  };
4984
4958
  };
4985
4959
  const serializeAws_json1_0ListComponentProvisionedResourcesInput = (input, context) => {
4986
4960
  return {
4987
- ...(input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName }),
4988
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
4961
+ ...(input.componentName != null && { componentName: input.componentName }),
4962
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
4989
4963
  };
4990
4964
  };
4991
4965
  const serializeAws_json1_0ListComponentsInput = (input, context) => {
4992
4966
  return {
4993
- ...(input.environmentName !== undefined &&
4994
- input.environmentName !== null && { environmentName: input.environmentName }),
4995
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
4996
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
4997
- ...(input.serviceInstanceName !== undefined &&
4998
- input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
4999
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
4967
+ ...(input.environmentName != null && { environmentName: input.environmentName }),
4968
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
4969
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
4970
+ ...(input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName }),
4971
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5000
4972
  };
5001
4973
  };
5002
4974
  const serializeAws_json1_0ListEnvironmentAccountConnectionsInput = (input, context) => {
5003
4975
  return {
5004
- ...(input.environmentName !== undefined &&
5005
- input.environmentName !== null && { environmentName: input.environmentName }),
5006
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5007
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5008
- ...(input.requestedBy !== undefined && input.requestedBy !== null && { requestedBy: input.requestedBy }),
5009
- ...(input.statuses !== undefined &&
5010
- input.statuses !== null && {
4976
+ ...(input.environmentName != null && { environmentName: input.environmentName }),
4977
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
4978
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
4979
+ ...(input.requestedBy != null && { requestedBy: input.requestedBy }),
4980
+ ...(input.statuses != null && {
5011
4981
  statuses: serializeAws_json1_0EnvironmentAccountConnectionStatusList(input.statuses, context),
5012
4982
  }),
5013
4983
  };
5014
4984
  };
5015
4985
  const serializeAws_json1_0ListEnvironmentOutputsInput = (input, context) => {
5016
4986
  return {
5017
- ...(input.environmentName !== undefined &&
5018
- input.environmentName !== null && { environmentName: input.environmentName }),
5019
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
4987
+ ...(input.environmentName != null && { environmentName: input.environmentName }),
4988
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5020
4989
  };
5021
4990
  };
5022
4991
  const serializeAws_json1_0ListEnvironmentProvisionedResourcesInput = (input, context) => {
5023
4992
  return {
5024
- ...(input.environmentName !== undefined &&
5025
- input.environmentName !== null && { environmentName: input.environmentName }),
5026
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
4993
+ ...(input.environmentName != null && { environmentName: input.environmentName }),
4994
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5027
4995
  };
5028
4996
  };
5029
4997
  const serializeAws_json1_0ListEnvironmentsInput = (input, context) => {
5030
4998
  return {
5031
- ...(input.environmentTemplates !== undefined &&
5032
- input.environmentTemplates !== null && {
4999
+ ...(input.environmentTemplates != null && {
5033
5000
  environmentTemplates: serializeAws_json1_0EnvironmentTemplateFilterList(input.environmentTemplates, context),
5034
5001
  }),
5035
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5036
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5002
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5003
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5037
5004
  };
5038
5005
  };
5039
5006
  const serializeAws_json1_0ListEnvironmentTemplatesInput = (input, context) => {
5040
5007
  return {
5041
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5042
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5008
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5009
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5043
5010
  };
5044
5011
  };
5045
5012
  const serializeAws_json1_0ListEnvironmentTemplateVersionsInput = (input, context) => {
5046
5013
  return {
5047
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
5048
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5049
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5050
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
5014
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
5015
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5016
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5017
+ ...(input.templateName != null && { templateName: input.templateName }),
5051
5018
  };
5052
5019
  };
5053
5020
  const serializeAws_json1_0ListRepositoriesInput = (input, context) => {
5054
5021
  return {
5055
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5056
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5022
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5023
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5057
5024
  };
5058
5025
  };
5059
5026
  const serializeAws_json1_0ListRepositorySyncDefinitionsInput = (input, context) => {
5060
5027
  return {
5061
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5062
- ...(input.repositoryName !== undefined &&
5063
- input.repositoryName !== null && { repositoryName: input.repositoryName }),
5064
- ...(input.repositoryProvider !== undefined &&
5065
- input.repositoryProvider !== null && { repositoryProvider: input.repositoryProvider }),
5066
- ...(input.syncType !== undefined && input.syncType !== null && { syncType: input.syncType }),
5028
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5029
+ ...(input.repositoryName != null && { repositoryName: input.repositoryName }),
5030
+ ...(input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider }),
5031
+ ...(input.syncType != null && { syncType: input.syncType }),
5067
5032
  };
5068
5033
  };
5069
5034
  const serializeAws_json1_0ListServiceInstanceOutputsInput = (input, context) => {
5070
5035
  return {
5071
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5072
- ...(input.serviceInstanceName !== undefined &&
5073
- input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
5074
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
5036
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5037
+ ...(input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName }),
5038
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5075
5039
  };
5076
5040
  };
5077
5041
  const serializeAws_json1_0ListServiceInstanceProvisionedResourcesInput = (input, context) => {
5078
5042
  return {
5079
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5080
- ...(input.serviceInstanceName !== undefined &&
5081
- input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
5082
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
5043
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5044
+ ...(input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName }),
5045
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5083
5046
  };
5084
5047
  };
5085
5048
  const serializeAws_json1_0ListServiceInstancesInput = (input, context) => {
5086
5049
  return {
5087
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5088
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5089
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
5050
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5051
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5052
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5090
5053
  };
5091
5054
  };
5092
5055
  const serializeAws_json1_0ListServicePipelineOutputsInput = (input, context) => {
5093
5056
  return {
5094
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5095
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
5057
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5058
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5096
5059
  };
5097
5060
  };
5098
5061
  const serializeAws_json1_0ListServicePipelineProvisionedResourcesInput = (input, context) => {
5099
5062
  return {
5100
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5101
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
5063
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5064
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5102
5065
  };
5103
5066
  };
5104
5067
  const serializeAws_json1_0ListServicesInput = (input, context) => {
5105
5068
  return {
5106
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5107
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5069
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5070
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5108
5071
  };
5109
5072
  };
5110
5073
  const serializeAws_json1_0ListServiceTemplatesInput = (input, context) => {
5111
5074
  return {
5112
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5113
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5075
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5076
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5114
5077
  };
5115
5078
  };
5116
5079
  const serializeAws_json1_0ListServiceTemplateVersionsInput = (input, context) => {
5117
5080
  return {
5118
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
5119
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5120
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5121
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
5081
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
5082
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5083
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5084
+ ...(input.templateName != null && { templateName: input.templateName }),
5122
5085
  };
5123
5086
  };
5124
5087
  const serializeAws_json1_0ListTagsForResourceInput = (input, context) => {
5125
5088
  return {
5126
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
5127
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
5128
- ...(input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn }),
5089
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
5090
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
5091
+ ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
5129
5092
  };
5130
5093
  };
5131
5094
  const serializeAws_json1_0NotifyResourceDeploymentStatusChangeInput = (input, context) => {
5132
5095
  return {
5133
- ...(input.deploymentId !== undefined && input.deploymentId !== null && { deploymentId: input.deploymentId }),
5134
- ...(input.outputs !== undefined &&
5135
- input.outputs !== null && { outputs: serializeAws_json1_0OutputsList(input.outputs, context) }),
5136
- ...(input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn }),
5137
- ...(input.status !== undefined && input.status !== null && { status: input.status }),
5138
- ...(input.statusMessage !== undefined && input.statusMessage !== null && { statusMessage: input.statusMessage }),
5096
+ ...(input.deploymentId != null && { deploymentId: input.deploymentId }),
5097
+ ...(input.outputs != null && { outputs: serializeAws_json1_0OutputsList(input.outputs, context) }),
5098
+ ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
5099
+ ...(input.status != null && { status: input.status }),
5100
+ ...(input.statusMessage != null && { statusMessage: input.statusMessage }),
5139
5101
  };
5140
5102
  };
5141
5103
  const serializeAws_json1_0Output = (input, context) => {
5142
5104
  return {
5143
- ...(input.key !== undefined && input.key !== null && { key: input.key }),
5144
- ...(input.valueString !== undefined && input.valueString !== null && { valueString: input.valueString }),
5105
+ ...(input.key != null && { key: input.key }),
5106
+ ...(input.valueString != null && { valueString: input.valueString }),
5145
5107
  };
5146
5108
  };
5147
5109
  const serializeAws_json1_0OutputsList = (input, context) => {
@@ -5156,20 +5118,20 @@ const serializeAws_json1_0OutputsList = (input, context) => {
5156
5118
  };
5157
5119
  const serializeAws_json1_0RejectEnvironmentAccountConnectionInput = (input, context) => {
5158
5120
  return {
5159
- ...(input.id !== undefined && input.id !== null && { id: input.id }),
5121
+ ...(input.id != null && { id: input.id }),
5160
5122
  };
5161
5123
  };
5162
5124
  const serializeAws_json1_0RepositoryBranchInput = (input, context) => {
5163
5125
  return {
5164
- ...(input.branch !== undefined && input.branch !== null && { branch: input.branch }),
5165
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
5166
- ...(input.provider !== undefined && input.provider !== null && { provider: input.provider }),
5126
+ ...(input.branch != null && { branch: input.branch }),
5127
+ ...(input.name != null && { name: input.name }),
5128
+ ...(input.provider != null && { provider: input.provider }),
5167
5129
  };
5168
5130
  };
5169
5131
  const serializeAws_json1_0S3ObjectSource = (input, context) => {
5170
5132
  return {
5171
- ...(input.bucket !== undefined && input.bucket !== null && { bucket: input.bucket }),
5172
- ...(input.key !== undefined && input.key !== null && { key: input.key }),
5133
+ ...(input.bucket != null && { bucket: input.bucket }),
5134
+ ...(input.key != null && { key: input.key }),
5173
5135
  };
5174
5136
  };
5175
5137
  const serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = (input, context) => {
@@ -5184,8 +5146,8 @@ const serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = (in
5184
5146
  };
5185
5147
  const serializeAws_json1_0Tag = (input, context) => {
5186
5148
  return {
5187
- ...(input.key !== undefined && input.key !== null && { key: input.key }),
5188
- ...(input.value !== undefined && input.value !== null && { value: input.value }),
5149
+ ...(input.key != null && { key: input.key }),
5150
+ ...(input.value != null && { value: input.value }),
5189
5151
  };
5190
5152
  };
5191
5153
  const serializeAws_json1_0TagKeyList = (input, context) => {
@@ -5210,8 +5172,8 @@ const serializeAws_json1_0TagList = (input, context) => {
5210
5172
  };
5211
5173
  const serializeAws_json1_0TagResourceInput = (input, context) => {
5212
5174
  return {
5213
- ...(input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn }),
5214
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
5175
+ ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
5176
+ ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
5215
5177
  };
5216
5178
  };
5217
5179
  const serializeAws_json1_0TemplateVersionSourceInput = (input, context) => {
@@ -5222,154 +5184,131 @@ const serializeAws_json1_0TemplateVersionSourceInput = (input, context) => {
5222
5184
  };
5223
5185
  const serializeAws_json1_0UntagResourceInput = (input, context) => {
5224
5186
  return {
5225
- ...(input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn }),
5226
- ...(input.tagKeys !== undefined &&
5227
- input.tagKeys !== null && { tagKeys: serializeAws_json1_0TagKeyList(input.tagKeys, context) }),
5187
+ ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
5188
+ ...(input.tagKeys != null && { tagKeys: serializeAws_json1_0TagKeyList(input.tagKeys, context) }),
5228
5189
  };
5229
5190
  };
5230
5191
  const serializeAws_json1_0UpdateAccountSettingsInput = (input, context) => {
5231
5192
  return {
5232
- ...(input.pipelineProvisioningRepository !== undefined &&
5233
- input.pipelineProvisioningRepository !== null && {
5193
+ ...(input.pipelineProvisioningRepository != null && {
5234
5194
  pipelineProvisioningRepository: serializeAws_json1_0RepositoryBranchInput(input.pipelineProvisioningRepository, context),
5235
5195
  }),
5236
- ...(input.pipelineServiceRoleArn !== undefined &&
5237
- input.pipelineServiceRoleArn !== null && { pipelineServiceRoleArn: input.pipelineServiceRoleArn }),
5196
+ ...(input.pipelineServiceRoleArn != null && { pipelineServiceRoleArn: input.pipelineServiceRoleArn }),
5238
5197
  };
5239
5198
  };
5240
5199
  const serializeAws_json1_0UpdateComponentInput = (input, context) => {
5241
5200
  return {
5242
- ...(input.deploymentType !== undefined &&
5243
- input.deploymentType !== null && { deploymentType: input.deploymentType }),
5244
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
5245
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
5246
- ...(input.serviceInstanceName !== undefined &&
5247
- input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
5248
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
5249
- ...(input.serviceSpec !== undefined && input.serviceSpec !== null && { serviceSpec: input.serviceSpec }),
5250
- ...(input.templateFile !== undefined && input.templateFile !== null && { templateFile: input.templateFile }),
5201
+ ...(input.deploymentType != null && { deploymentType: input.deploymentType }),
5202
+ ...(input.description != null && { description: input.description }),
5203
+ ...(input.name != null && { name: input.name }),
5204
+ ...(input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName }),
5205
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5206
+ ...(input.serviceSpec != null && { serviceSpec: input.serviceSpec }),
5207
+ ...(input.templateFile != null && { templateFile: input.templateFile }),
5251
5208
  };
5252
5209
  };
5253
5210
  const serializeAws_json1_0UpdateEnvironmentAccountConnectionInput = (input, context) => {
5254
5211
  return {
5255
- ...(input.componentRoleArn !== undefined &&
5256
- input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn }),
5257
- ...(input.id !== undefined && input.id !== null && { id: input.id }),
5258
- ...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
5212
+ ...(input.componentRoleArn != null && { componentRoleArn: input.componentRoleArn }),
5213
+ ...(input.id != null && { id: input.id }),
5214
+ ...(input.roleArn != null && { roleArn: input.roleArn }),
5259
5215
  };
5260
5216
  };
5261
5217
  const serializeAws_json1_0UpdateEnvironmentInput = (input, context) => {
5262
5218
  return {
5263
- ...(input.componentRoleArn !== undefined &&
5264
- input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn }),
5265
- ...(input.deploymentType !== undefined &&
5266
- input.deploymentType !== null && { deploymentType: input.deploymentType }),
5267
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
5268
- ...(input.environmentAccountConnectionId !== undefined &&
5269
- input.environmentAccountConnectionId !== null && {
5219
+ ...(input.componentRoleArn != null && { componentRoleArn: input.componentRoleArn }),
5220
+ ...(input.deploymentType != null && { deploymentType: input.deploymentType }),
5221
+ ...(input.description != null && { description: input.description }),
5222
+ ...(input.environmentAccountConnectionId != null && {
5270
5223
  environmentAccountConnectionId: input.environmentAccountConnectionId,
5271
5224
  }),
5272
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
5273
- ...(input.protonServiceRoleArn !== undefined &&
5274
- input.protonServiceRoleArn !== null && { protonServiceRoleArn: input.protonServiceRoleArn }),
5275
- ...(input.provisioningRepository !== undefined &&
5276
- input.provisioningRepository !== null && {
5225
+ ...(input.name != null && { name: input.name }),
5226
+ ...(input.protonServiceRoleArn != null && { protonServiceRoleArn: input.protonServiceRoleArn }),
5227
+ ...(input.provisioningRepository != null && {
5277
5228
  provisioningRepository: serializeAws_json1_0RepositoryBranchInput(input.provisioningRepository, context),
5278
5229
  }),
5279
- ...(input.spec !== undefined && input.spec !== null && { spec: input.spec }),
5280
- ...(input.templateMajorVersion !== undefined &&
5281
- input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion }),
5282
- ...(input.templateMinorVersion !== undefined &&
5283
- input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion }),
5230
+ ...(input.spec != null && { spec: input.spec }),
5231
+ ...(input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion }),
5232
+ ...(input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }),
5284
5233
  };
5285
5234
  };
5286
5235
  const serializeAws_json1_0UpdateEnvironmentTemplateInput = (input, context) => {
5287
5236
  return {
5288
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
5289
- ...(input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName }),
5290
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
5237
+ ...(input.description != null && { description: input.description }),
5238
+ ...(input.displayName != null && { displayName: input.displayName }),
5239
+ ...(input.name != null && { name: input.name }),
5291
5240
  };
5292
5241
  };
5293
5242
  const serializeAws_json1_0UpdateEnvironmentTemplateVersionInput = (input, context) => {
5294
5243
  return {
5295
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
5296
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
5297
- ...(input.minorVersion !== undefined && input.minorVersion !== null && { minorVersion: input.minorVersion }),
5298
- ...(input.status !== undefined && input.status !== null && { status: input.status }),
5299
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
5244
+ ...(input.description != null && { description: input.description }),
5245
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
5246
+ ...(input.minorVersion != null && { minorVersion: input.minorVersion }),
5247
+ ...(input.status != null && { status: input.status }),
5248
+ ...(input.templateName != null && { templateName: input.templateName }),
5300
5249
  };
5301
5250
  };
5302
5251
  const serializeAws_json1_0UpdateServiceInput = (input, context) => {
5303
5252
  return {
5304
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
5305
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
5306
- ...(input.spec !== undefined && input.spec !== null && { spec: input.spec }),
5253
+ ...(input.description != null && { description: input.description }),
5254
+ ...(input.name != null && { name: input.name }),
5255
+ ...(input.spec != null && { spec: input.spec }),
5307
5256
  };
5308
5257
  };
5309
5258
  const serializeAws_json1_0UpdateServiceInstanceInput = (input, context) => {
5310
5259
  return {
5311
- ...(input.deploymentType !== undefined &&
5312
- input.deploymentType !== null && { deploymentType: input.deploymentType }),
5313
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
5314
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
5315
- ...(input.spec !== undefined && input.spec !== null && { spec: input.spec }),
5316
- ...(input.templateMajorVersion !== undefined &&
5317
- input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion }),
5318
- ...(input.templateMinorVersion !== undefined &&
5319
- input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion }),
5260
+ ...(input.deploymentType != null && { deploymentType: input.deploymentType }),
5261
+ ...(input.name != null && { name: input.name }),
5262
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5263
+ ...(input.spec != null && { spec: input.spec }),
5264
+ ...(input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion }),
5265
+ ...(input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }),
5320
5266
  };
5321
5267
  };
5322
5268
  const serializeAws_json1_0UpdateServicePipelineInput = (input, context) => {
5323
5269
  return {
5324
- ...(input.deploymentType !== undefined &&
5325
- input.deploymentType !== null && { deploymentType: input.deploymentType }),
5326
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
5327
- ...(input.spec !== undefined && input.spec !== null && { spec: input.spec }),
5328
- ...(input.templateMajorVersion !== undefined &&
5329
- input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion }),
5330
- ...(input.templateMinorVersion !== undefined &&
5331
- input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion }),
5270
+ ...(input.deploymentType != null && { deploymentType: input.deploymentType }),
5271
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
5272
+ ...(input.spec != null && { spec: input.spec }),
5273
+ ...(input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion }),
5274
+ ...(input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }),
5332
5275
  };
5333
5276
  };
5334
5277
  const serializeAws_json1_0UpdateServiceTemplateInput = (input, context) => {
5335
5278
  return {
5336
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
5337
- ...(input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName }),
5338
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
5279
+ ...(input.description != null && { description: input.description }),
5280
+ ...(input.displayName != null && { displayName: input.displayName }),
5281
+ ...(input.name != null && { name: input.name }),
5339
5282
  };
5340
5283
  };
5341
5284
  const serializeAws_json1_0UpdateServiceTemplateVersionInput = (input, context) => {
5342
5285
  return {
5343
- ...(input.compatibleEnvironmentTemplates !== undefined &&
5344
- input.compatibleEnvironmentTemplates !== null && {
5286
+ ...(input.compatibleEnvironmentTemplates != null && {
5345
5287
  compatibleEnvironmentTemplates: serializeAws_json1_0CompatibleEnvironmentTemplateInputList(input.compatibleEnvironmentTemplates, context),
5346
5288
  }),
5347
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
5348
- ...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
5349
- ...(input.minorVersion !== undefined && input.minorVersion !== null && { minorVersion: input.minorVersion }),
5350
- ...(input.status !== undefined && input.status !== null && { status: input.status }),
5351
- ...(input.supportedComponentSources !== undefined &&
5352
- input.supportedComponentSources !== null && {
5289
+ ...(input.description != null && { description: input.description }),
5290
+ ...(input.majorVersion != null && { majorVersion: input.majorVersion }),
5291
+ ...(input.minorVersion != null && { minorVersion: input.minorVersion }),
5292
+ ...(input.status != null && { status: input.status }),
5293
+ ...(input.supportedComponentSources != null && {
5353
5294
  supportedComponentSources: serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(input.supportedComponentSources, context),
5354
5295
  }),
5355
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
5296
+ ...(input.templateName != null && { templateName: input.templateName }),
5356
5297
  };
5357
5298
  };
5358
5299
  const serializeAws_json1_0UpdateTemplateSyncConfigInput = (input, context) => {
5359
5300
  return {
5360
- ...(input.branch !== undefined && input.branch !== null && { branch: input.branch }),
5361
- ...(input.repositoryName !== undefined &&
5362
- input.repositoryName !== null && { repositoryName: input.repositoryName }),
5363
- ...(input.repositoryProvider !== undefined &&
5364
- input.repositoryProvider !== null && { repositoryProvider: input.repositoryProvider }),
5365
- ...(input.subdirectory !== undefined && input.subdirectory !== null && { subdirectory: input.subdirectory }),
5366
- ...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
5367
- ...(input.templateType !== undefined && input.templateType !== null && { templateType: input.templateType }),
5301
+ ...(input.branch != null && { branch: input.branch }),
5302
+ ...(input.repositoryName != null && { repositoryName: input.repositoryName }),
5303
+ ...(input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider }),
5304
+ ...(input.subdirectory != null && { subdirectory: input.subdirectory }),
5305
+ ...(input.templateName != null && { templateName: input.templateName }),
5306
+ ...(input.templateType != null && { templateType: input.templateType }),
5368
5307
  };
5369
5308
  };
5370
5309
  const deserializeAws_json1_0AcceptEnvironmentAccountConnectionOutput = (output, context) => {
5371
5310
  return {
5372
- environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
5311
+ environmentAccountConnection: output.environmentAccountConnection != null
5373
5312
  ? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
5374
5313
  : undefined,
5375
5314
  };
@@ -5381,7 +5320,7 @@ const deserializeAws_json1_0AccessDeniedException = (output, context) => {
5381
5320
  };
5382
5321
  const deserializeAws_json1_0AccountSettings = (output, context) => {
5383
5322
  return {
5384
- pipelineProvisioningRepository: output.pipelineProvisioningRepository !== undefined && output.pipelineProvisioningRepository !== null
5323
+ pipelineProvisioningRepository: output.pipelineProvisioningRepository != null
5385
5324
  ? deserializeAws_json1_0RepositoryBranch(output.pipelineProvisioningRepository, context)
5386
5325
  : undefined,
5387
5326
  pipelineServiceRoleArn: (0, smithy_client_1.expectString)(output.pipelineServiceRoleArn),
@@ -5389,30 +5328,24 @@ const deserializeAws_json1_0AccountSettings = (output, context) => {
5389
5328
  };
5390
5329
  const deserializeAws_json1_0CancelComponentDeploymentOutput = (output, context) => {
5391
5330
  return {
5392
- component: output.component !== undefined && output.component !== null
5393
- ? deserializeAws_json1_0Component(output.component, context)
5394
- : undefined,
5331
+ component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
5395
5332
  };
5396
5333
  };
5397
5334
  const deserializeAws_json1_0CancelEnvironmentDeploymentOutput = (output, context) => {
5398
5335
  return {
5399
- environment: output.environment !== undefined && output.environment !== null
5400
- ? deserializeAws_json1_0Environment(output.environment, context)
5401
- : undefined,
5336
+ environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
5402
5337
  };
5403
5338
  };
5404
5339
  const deserializeAws_json1_0CancelServiceInstanceDeploymentOutput = (output, context) => {
5405
5340
  return {
5406
- serviceInstance: output.serviceInstance !== undefined && output.serviceInstance !== null
5341
+ serviceInstance: output.serviceInstance != null
5407
5342
  ? deserializeAws_json1_0ServiceInstance(output.serviceInstance, context)
5408
5343
  : undefined,
5409
5344
  };
5410
5345
  };
5411
5346
  const deserializeAws_json1_0CancelServicePipelineDeploymentOutput = (output, context) => {
5412
5347
  return {
5413
- pipeline: output.pipeline !== undefined && output.pipeline !== null
5414
- ? deserializeAws_json1_0ServicePipeline(output.pipeline, context)
5415
- : undefined,
5348
+ pipeline: output.pipeline != null ? deserializeAws_json1_0ServicePipeline(output.pipeline, context) : undefined,
5416
5349
  };
5417
5350
  };
5418
5351
  const deserializeAws_json1_0CompatibleEnvironmentTemplate = (output, context) => {
@@ -5435,20 +5368,18 @@ const deserializeAws_json1_0CompatibleEnvironmentTemplateList = (output, context
5435
5368
  const deserializeAws_json1_0Component = (output, context) => {
5436
5369
  return {
5437
5370
  arn: (0, smithy_client_1.expectString)(output.arn),
5438
- createdAt: output.createdAt !== undefined && output.createdAt !== null
5439
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5440
- : undefined,
5371
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
5441
5372
  deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
5442
5373
  deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
5443
5374
  description: (0, smithy_client_1.expectString)(output.description),
5444
5375
  environmentName: (0, smithy_client_1.expectString)(output.environmentName),
5445
- lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5376
+ lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
5446
5377
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
5447
5378
  : undefined,
5448
- lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5379
+ lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
5449
5380
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
5450
5381
  : undefined,
5451
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5382
+ lastModifiedAt: output.lastModifiedAt != null
5452
5383
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
5453
5384
  : undefined,
5454
5385
  name: (0, smithy_client_1.expectString)(output.name),
@@ -5460,19 +5391,17 @@ const deserializeAws_json1_0Component = (output, context) => {
5460
5391
  const deserializeAws_json1_0ComponentSummary = (output, context) => {
5461
5392
  return {
5462
5393
  arn: (0, smithy_client_1.expectString)(output.arn),
5463
- createdAt: output.createdAt !== undefined && output.createdAt !== null
5464
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5465
- : undefined,
5394
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
5466
5395
  deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
5467
5396
  deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
5468
5397
  environmentName: (0, smithy_client_1.expectString)(output.environmentName),
5469
- lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5398
+ lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
5470
5399
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
5471
5400
  : undefined,
5472
- lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5401
+ lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
5473
5402
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
5474
5403
  : undefined,
5475
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5404
+ lastModifiedAt: output.lastModifiedAt != null
5476
5405
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
5477
5406
  : undefined,
5478
5407
  name: (0, smithy_client_1.expectString)(output.name),
@@ -5498,140 +5427,124 @@ const deserializeAws_json1_0ConflictException = (output, context) => {
5498
5427
  };
5499
5428
  const deserializeAws_json1_0CreateComponentOutput = (output, context) => {
5500
5429
  return {
5501
- component: output.component !== undefined && output.component !== null
5502
- ? deserializeAws_json1_0Component(output.component, context)
5503
- : undefined,
5430
+ component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
5504
5431
  };
5505
5432
  };
5506
5433
  const deserializeAws_json1_0CreateEnvironmentAccountConnectionOutput = (output, context) => {
5507
5434
  return {
5508
- environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
5435
+ environmentAccountConnection: output.environmentAccountConnection != null
5509
5436
  ? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
5510
5437
  : undefined,
5511
5438
  };
5512
5439
  };
5513
5440
  const deserializeAws_json1_0CreateEnvironmentOutput = (output, context) => {
5514
5441
  return {
5515
- environment: output.environment !== undefined && output.environment !== null
5516
- ? deserializeAws_json1_0Environment(output.environment, context)
5517
- : undefined,
5442
+ environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
5518
5443
  };
5519
5444
  };
5520
5445
  const deserializeAws_json1_0CreateEnvironmentTemplateOutput = (output, context) => {
5521
5446
  return {
5522
- environmentTemplate: output.environmentTemplate !== undefined && output.environmentTemplate !== null
5447
+ environmentTemplate: output.environmentTemplate != null
5523
5448
  ? deserializeAws_json1_0EnvironmentTemplate(output.environmentTemplate, context)
5524
5449
  : undefined,
5525
5450
  };
5526
5451
  };
5527
5452
  const deserializeAws_json1_0CreateEnvironmentTemplateVersionOutput = (output, context) => {
5528
5453
  return {
5529
- environmentTemplateVersion: output.environmentTemplateVersion !== undefined && output.environmentTemplateVersion !== null
5454
+ environmentTemplateVersion: output.environmentTemplateVersion != null
5530
5455
  ? deserializeAws_json1_0EnvironmentTemplateVersion(output.environmentTemplateVersion, context)
5531
5456
  : undefined,
5532
5457
  };
5533
5458
  };
5534
5459
  const deserializeAws_json1_0CreateRepositoryOutput = (output, context) => {
5535
5460
  return {
5536
- repository: output.repository !== undefined && output.repository !== null
5537
- ? deserializeAws_json1_0Repository(output.repository, context)
5538
- : undefined,
5461
+ repository: output.repository != null ? deserializeAws_json1_0Repository(output.repository, context) : undefined,
5539
5462
  };
5540
5463
  };
5541
5464
  const deserializeAws_json1_0CreateServiceOutput = (output, context) => {
5542
5465
  return {
5543
- service: output.service !== undefined && output.service !== null
5544
- ? deserializeAws_json1_0Service(output.service, context)
5545
- : undefined,
5466
+ service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
5546
5467
  };
5547
5468
  };
5548
5469
  const deserializeAws_json1_0CreateServiceTemplateOutput = (output, context) => {
5549
5470
  return {
5550
- serviceTemplate: output.serviceTemplate !== undefined && output.serviceTemplate !== null
5471
+ serviceTemplate: output.serviceTemplate != null
5551
5472
  ? deserializeAws_json1_0ServiceTemplate(output.serviceTemplate, context)
5552
5473
  : undefined,
5553
5474
  };
5554
5475
  };
5555
5476
  const deserializeAws_json1_0CreateServiceTemplateVersionOutput = (output, context) => {
5556
5477
  return {
5557
- serviceTemplateVersion: output.serviceTemplateVersion !== undefined && output.serviceTemplateVersion !== null
5478
+ serviceTemplateVersion: output.serviceTemplateVersion != null
5558
5479
  ? deserializeAws_json1_0ServiceTemplateVersion(output.serviceTemplateVersion, context)
5559
5480
  : undefined,
5560
5481
  };
5561
5482
  };
5562
5483
  const deserializeAws_json1_0CreateTemplateSyncConfigOutput = (output, context) => {
5563
5484
  return {
5564
- templateSyncConfig: output.templateSyncConfig !== undefined && output.templateSyncConfig !== null
5485
+ templateSyncConfig: output.templateSyncConfig != null
5565
5486
  ? deserializeAws_json1_0TemplateSyncConfig(output.templateSyncConfig, context)
5566
5487
  : undefined,
5567
5488
  };
5568
5489
  };
5569
5490
  const deserializeAws_json1_0DeleteComponentOutput = (output, context) => {
5570
5491
  return {
5571
- component: output.component !== undefined && output.component !== null
5572
- ? deserializeAws_json1_0Component(output.component, context)
5573
- : undefined,
5492
+ component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
5574
5493
  };
5575
5494
  };
5576
5495
  const deserializeAws_json1_0DeleteEnvironmentAccountConnectionOutput = (output, context) => {
5577
5496
  return {
5578
- environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
5497
+ environmentAccountConnection: output.environmentAccountConnection != null
5579
5498
  ? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
5580
5499
  : undefined,
5581
5500
  };
5582
5501
  };
5583
5502
  const deserializeAws_json1_0DeleteEnvironmentOutput = (output, context) => {
5584
5503
  return {
5585
- environment: output.environment !== undefined && output.environment !== null
5586
- ? deserializeAws_json1_0Environment(output.environment, context)
5587
- : undefined,
5504
+ environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
5588
5505
  };
5589
5506
  };
5590
5507
  const deserializeAws_json1_0DeleteEnvironmentTemplateOutput = (output, context) => {
5591
5508
  return {
5592
- environmentTemplate: output.environmentTemplate !== undefined && output.environmentTemplate !== null
5509
+ environmentTemplate: output.environmentTemplate != null
5593
5510
  ? deserializeAws_json1_0EnvironmentTemplate(output.environmentTemplate, context)
5594
5511
  : undefined,
5595
5512
  };
5596
5513
  };
5597
5514
  const deserializeAws_json1_0DeleteEnvironmentTemplateVersionOutput = (output, context) => {
5598
5515
  return {
5599
- environmentTemplateVersion: output.environmentTemplateVersion !== undefined && output.environmentTemplateVersion !== null
5516
+ environmentTemplateVersion: output.environmentTemplateVersion != null
5600
5517
  ? deserializeAws_json1_0EnvironmentTemplateVersion(output.environmentTemplateVersion, context)
5601
5518
  : undefined,
5602
5519
  };
5603
5520
  };
5604
5521
  const deserializeAws_json1_0DeleteRepositoryOutput = (output, context) => {
5605
5522
  return {
5606
- repository: output.repository !== undefined && output.repository !== null
5607
- ? deserializeAws_json1_0Repository(output.repository, context)
5608
- : undefined,
5523
+ repository: output.repository != null ? deserializeAws_json1_0Repository(output.repository, context) : undefined,
5609
5524
  };
5610
5525
  };
5611
5526
  const deserializeAws_json1_0DeleteServiceOutput = (output, context) => {
5612
5527
  return {
5613
- service: output.service !== undefined && output.service !== null
5614
- ? deserializeAws_json1_0Service(output.service, context)
5615
- : undefined,
5528
+ service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
5616
5529
  };
5617
5530
  };
5618
5531
  const deserializeAws_json1_0DeleteServiceTemplateOutput = (output, context) => {
5619
5532
  return {
5620
- serviceTemplate: output.serviceTemplate !== undefined && output.serviceTemplate !== null
5533
+ serviceTemplate: output.serviceTemplate != null
5621
5534
  ? deserializeAws_json1_0ServiceTemplate(output.serviceTemplate, context)
5622
5535
  : undefined,
5623
5536
  };
5624
5537
  };
5625
5538
  const deserializeAws_json1_0DeleteServiceTemplateVersionOutput = (output, context) => {
5626
5539
  return {
5627
- serviceTemplateVersion: output.serviceTemplateVersion !== undefined && output.serviceTemplateVersion !== null
5540
+ serviceTemplateVersion: output.serviceTemplateVersion != null
5628
5541
  ? deserializeAws_json1_0ServiceTemplateVersion(output.serviceTemplateVersion, context)
5629
5542
  : undefined,
5630
5543
  };
5631
5544
  };
5632
5545
  const deserializeAws_json1_0DeleteTemplateSyncConfigOutput = (output, context) => {
5633
5546
  return {
5634
- templateSyncConfig: output.templateSyncConfig !== undefined && output.templateSyncConfig !== null
5547
+ templateSyncConfig: output.templateSyncConfig != null
5635
5548
  ? deserializeAws_json1_0TemplateSyncConfig(output.templateSyncConfig, context)
5636
5549
  : undefined,
5637
5550
  };
@@ -5640,24 +5553,22 @@ const deserializeAws_json1_0Environment = (output, context) => {
5640
5553
  return {
5641
5554
  arn: (0, smithy_client_1.expectString)(output.arn),
5642
5555
  componentRoleArn: (0, smithy_client_1.expectString)(output.componentRoleArn),
5643
- createdAt: output.createdAt !== undefined && output.createdAt !== null
5644
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5645
- : undefined,
5556
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
5646
5557
  deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
5647
5558
  deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
5648
5559
  description: (0, smithy_client_1.expectString)(output.description),
5649
5560
  environmentAccountConnectionId: (0, smithy_client_1.expectString)(output.environmentAccountConnectionId),
5650
5561
  environmentAccountId: (0, smithy_client_1.expectString)(output.environmentAccountId),
5651
- lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5562
+ lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
5652
5563
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
5653
5564
  : undefined,
5654
- lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5565
+ lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
5655
5566
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
5656
5567
  : undefined,
5657
5568
  name: (0, smithy_client_1.expectString)(output.name),
5658
5569
  protonServiceRoleArn: (0, smithy_client_1.expectString)(output.protonServiceRoleArn),
5659
5570
  provisioning: (0, smithy_client_1.expectString)(output.provisioning),
5660
- provisioningRepository: output.provisioningRepository !== undefined && output.provisioningRepository !== null
5571
+ provisioningRepository: output.provisioningRepository != null
5661
5572
  ? deserializeAws_json1_0RepositoryBranch(output.provisioningRepository, context)
5662
5573
  : undefined,
5663
5574
  spec: (0, smithy_client_1.expectString)(output.spec),
@@ -5673,11 +5584,11 @@ const deserializeAws_json1_0EnvironmentAccountConnection = (output, context) =>
5673
5584
  environmentAccountId: (0, smithy_client_1.expectString)(output.environmentAccountId),
5674
5585
  environmentName: (0, smithy_client_1.expectString)(output.environmentName),
5675
5586
  id: (0, smithy_client_1.expectString)(output.id),
5676
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5587
+ lastModifiedAt: output.lastModifiedAt != null
5677
5588
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
5678
5589
  : undefined,
5679
5590
  managementAccountId: (0, smithy_client_1.expectString)(output.managementAccountId),
5680
- requestedAt: output.requestedAt !== undefined && output.requestedAt !== null
5591
+ requestedAt: output.requestedAt != null
5681
5592
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.requestedAt)))
5682
5593
  : undefined,
5683
5594
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
@@ -5691,11 +5602,11 @@ const deserializeAws_json1_0EnvironmentAccountConnectionSummary = (output, conte
5691
5602
  environmentAccountId: (0, smithy_client_1.expectString)(output.environmentAccountId),
5692
5603
  environmentName: (0, smithy_client_1.expectString)(output.environmentName),
5693
5604
  id: (0, smithy_client_1.expectString)(output.id),
5694
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5605
+ lastModifiedAt: output.lastModifiedAt != null
5695
5606
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
5696
5607
  : undefined,
5697
5608
  managementAccountId: (0, smithy_client_1.expectString)(output.managementAccountId),
5698
- requestedAt: output.requestedAt !== undefined && output.requestedAt !== null
5609
+ requestedAt: output.requestedAt != null
5699
5610
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.requestedAt)))
5700
5611
  : undefined,
5701
5612
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
@@ -5717,18 +5628,16 @@ const deserializeAws_json1_0EnvironmentSummary = (output, context) => {
5717
5628
  return {
5718
5629
  arn: (0, smithy_client_1.expectString)(output.arn),
5719
5630
  componentRoleArn: (0, smithy_client_1.expectString)(output.componentRoleArn),
5720
- createdAt: output.createdAt !== undefined && output.createdAt !== null
5721
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5722
- : undefined,
5631
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
5723
5632
  deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
5724
5633
  deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
5725
5634
  description: (0, smithy_client_1.expectString)(output.description),
5726
5635
  environmentAccountConnectionId: (0, smithy_client_1.expectString)(output.environmentAccountConnectionId),
5727
5636
  environmentAccountId: (0, smithy_client_1.expectString)(output.environmentAccountId),
5728
- lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5637
+ lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
5729
5638
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
5730
5639
  : undefined,
5731
- lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5640
+ lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
5732
5641
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
5733
5642
  : undefined,
5734
5643
  name: (0, smithy_client_1.expectString)(output.name),
@@ -5753,13 +5662,11 @@ const deserializeAws_json1_0EnvironmentSummaryList = (output, context) => {
5753
5662
  const deserializeAws_json1_0EnvironmentTemplate = (output, context) => {
5754
5663
  return {
5755
5664
  arn: (0, smithy_client_1.expectString)(output.arn),
5756
- createdAt: output.createdAt !== undefined && output.createdAt !== null
5757
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5758
- : undefined,
5665
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
5759
5666
  description: (0, smithy_client_1.expectString)(output.description),
5760
5667
  displayName: (0, smithy_client_1.expectString)(output.displayName),
5761
5668
  encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
5762
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5669
+ lastModifiedAt: output.lastModifiedAt != null
5763
5670
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
5764
5671
  : undefined,
5765
5672
  name: (0, smithy_client_1.expectString)(output.name),
@@ -5770,12 +5677,10 @@ const deserializeAws_json1_0EnvironmentTemplate = (output, context) => {
5770
5677
  const deserializeAws_json1_0EnvironmentTemplateSummary = (output, context) => {
5771
5678
  return {
5772
5679
  arn: (0, smithy_client_1.expectString)(output.arn),
5773
- createdAt: output.createdAt !== undefined && output.createdAt !== null
5774
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5775
- : undefined,
5680
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
5776
5681
  description: (0, smithy_client_1.expectString)(output.description),
5777
5682
  displayName: (0, smithy_client_1.expectString)(output.displayName),
5778
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5683
+ lastModifiedAt: output.lastModifiedAt != null
5779
5684
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
5780
5685
  : undefined,
5781
5686
  name: (0, smithy_client_1.expectString)(output.name),
@@ -5797,11 +5702,9 @@ const deserializeAws_json1_0EnvironmentTemplateSummaryList = (output, context) =
5797
5702
  const deserializeAws_json1_0EnvironmentTemplateVersion = (output, context) => {
5798
5703
  return {
5799
5704
  arn: (0, smithy_client_1.expectString)(output.arn),
5800
- createdAt: output.createdAt !== undefined && output.createdAt !== null
5801
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5802
- : undefined,
5705
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
5803
5706
  description: (0, smithy_client_1.expectString)(output.description),
5804
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5707
+ lastModifiedAt: output.lastModifiedAt != null
5805
5708
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
5806
5709
  : undefined,
5807
5710
  majorVersion: (0, smithy_client_1.expectString)(output.majorVersion),
@@ -5816,11 +5719,9 @@ const deserializeAws_json1_0EnvironmentTemplateVersion = (output, context) => {
5816
5719
  const deserializeAws_json1_0EnvironmentTemplateVersionSummary = (output, context) => {
5817
5720
  return {
5818
5721
  arn: (0, smithy_client_1.expectString)(output.arn),
5819
- createdAt: output.createdAt !== undefined && output.createdAt !== null
5820
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5821
- : undefined,
5722
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
5822
5723
  description: (0, smithy_client_1.expectString)(output.description),
5823
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5724
+ lastModifiedAt: output.lastModifiedAt != null
5824
5725
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
5825
5726
  : undefined,
5826
5727
  majorVersion: (0, smithy_client_1.expectString)(output.majorVersion),
@@ -5844,106 +5745,92 @@ const deserializeAws_json1_0EnvironmentTemplateVersionSummaryList = (output, con
5844
5745
  };
5845
5746
  const deserializeAws_json1_0GetAccountSettingsOutput = (output, context) => {
5846
5747
  return {
5847
- accountSettings: output.accountSettings !== undefined && output.accountSettings !== null
5748
+ accountSettings: output.accountSettings != null
5848
5749
  ? deserializeAws_json1_0AccountSettings(output.accountSettings, context)
5849
5750
  : undefined,
5850
5751
  };
5851
5752
  };
5852
5753
  const deserializeAws_json1_0GetComponentOutput = (output, context) => {
5853
5754
  return {
5854
- component: output.component !== undefined && output.component !== null
5855
- ? deserializeAws_json1_0Component(output.component, context)
5856
- : undefined,
5755
+ component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
5857
5756
  };
5858
5757
  };
5859
5758
  const deserializeAws_json1_0GetEnvironmentAccountConnectionOutput = (output, context) => {
5860
5759
  return {
5861
- environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
5760
+ environmentAccountConnection: output.environmentAccountConnection != null
5862
5761
  ? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
5863
5762
  : undefined,
5864
5763
  };
5865
5764
  };
5866
5765
  const deserializeAws_json1_0GetEnvironmentOutput = (output, context) => {
5867
5766
  return {
5868
- environment: output.environment !== undefined && output.environment !== null
5869
- ? deserializeAws_json1_0Environment(output.environment, context)
5870
- : undefined,
5767
+ environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
5871
5768
  };
5872
5769
  };
5873
5770
  const deserializeAws_json1_0GetEnvironmentTemplateOutput = (output, context) => {
5874
5771
  return {
5875
- environmentTemplate: output.environmentTemplate !== undefined && output.environmentTemplate !== null
5772
+ environmentTemplate: output.environmentTemplate != null
5876
5773
  ? deserializeAws_json1_0EnvironmentTemplate(output.environmentTemplate, context)
5877
5774
  : undefined,
5878
5775
  };
5879
5776
  };
5880
5777
  const deserializeAws_json1_0GetEnvironmentTemplateVersionOutput = (output, context) => {
5881
5778
  return {
5882
- environmentTemplateVersion: output.environmentTemplateVersion !== undefined && output.environmentTemplateVersion !== null
5779
+ environmentTemplateVersion: output.environmentTemplateVersion != null
5883
5780
  ? deserializeAws_json1_0EnvironmentTemplateVersion(output.environmentTemplateVersion, context)
5884
5781
  : undefined,
5885
5782
  };
5886
5783
  };
5887
5784
  const deserializeAws_json1_0GetRepositoryOutput = (output, context) => {
5888
5785
  return {
5889
- repository: output.repository !== undefined && output.repository !== null
5890
- ? deserializeAws_json1_0Repository(output.repository, context)
5891
- : undefined,
5786
+ repository: output.repository != null ? deserializeAws_json1_0Repository(output.repository, context) : undefined,
5892
5787
  };
5893
5788
  };
5894
5789
  const deserializeAws_json1_0GetRepositorySyncStatusOutput = (output, context) => {
5895
5790
  return {
5896
- latestSync: output.latestSync !== undefined && output.latestSync !== null
5897
- ? deserializeAws_json1_0RepositorySyncAttempt(output.latestSync, context)
5898
- : undefined,
5791
+ latestSync: output.latestSync != null ? deserializeAws_json1_0RepositorySyncAttempt(output.latestSync, context) : undefined,
5899
5792
  };
5900
5793
  };
5901
5794
  const deserializeAws_json1_0GetServiceInstanceOutput = (output, context) => {
5902
5795
  return {
5903
- serviceInstance: output.serviceInstance !== undefined && output.serviceInstance !== null
5796
+ serviceInstance: output.serviceInstance != null
5904
5797
  ? deserializeAws_json1_0ServiceInstance(output.serviceInstance, context)
5905
5798
  : undefined,
5906
5799
  };
5907
5800
  };
5908
5801
  const deserializeAws_json1_0GetServiceOutput = (output, context) => {
5909
5802
  return {
5910
- service: output.service !== undefined && output.service !== null
5911
- ? deserializeAws_json1_0Service(output.service, context)
5912
- : undefined,
5803
+ service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
5913
5804
  };
5914
5805
  };
5915
5806
  const deserializeAws_json1_0GetServiceTemplateOutput = (output, context) => {
5916
5807
  return {
5917
- serviceTemplate: output.serviceTemplate !== undefined && output.serviceTemplate !== null
5808
+ serviceTemplate: output.serviceTemplate != null
5918
5809
  ? deserializeAws_json1_0ServiceTemplate(output.serviceTemplate, context)
5919
5810
  : undefined,
5920
5811
  };
5921
5812
  };
5922
5813
  const deserializeAws_json1_0GetServiceTemplateVersionOutput = (output, context) => {
5923
5814
  return {
5924
- serviceTemplateVersion: output.serviceTemplateVersion !== undefined && output.serviceTemplateVersion !== null
5815
+ serviceTemplateVersion: output.serviceTemplateVersion != null
5925
5816
  ? deserializeAws_json1_0ServiceTemplateVersion(output.serviceTemplateVersion, context)
5926
5817
  : undefined,
5927
5818
  };
5928
5819
  };
5929
5820
  const deserializeAws_json1_0GetTemplateSyncConfigOutput = (output, context) => {
5930
5821
  return {
5931
- templateSyncConfig: output.templateSyncConfig !== undefined && output.templateSyncConfig !== null
5822
+ templateSyncConfig: output.templateSyncConfig != null
5932
5823
  ? deserializeAws_json1_0TemplateSyncConfig(output.templateSyncConfig, context)
5933
5824
  : undefined,
5934
5825
  };
5935
5826
  };
5936
5827
  const deserializeAws_json1_0GetTemplateSyncStatusOutput = (output, context) => {
5937
5828
  return {
5938
- desiredState: output.desiredState !== undefined && output.desiredState !== null
5939
- ? deserializeAws_json1_0Revision(output.desiredState, context)
5940
- : undefined,
5941
- latestSuccessfulSync: output.latestSuccessfulSync !== undefined && output.latestSuccessfulSync !== null
5829
+ desiredState: output.desiredState != null ? deserializeAws_json1_0Revision(output.desiredState, context) : undefined,
5830
+ latestSuccessfulSync: output.latestSuccessfulSync != null
5942
5831
  ? deserializeAws_json1_0ResourceSyncAttempt(output.latestSuccessfulSync, context)
5943
5832
  : undefined,
5944
- latestSync: output.latestSync !== undefined && output.latestSync !== null
5945
- ? deserializeAws_json1_0ResourceSyncAttempt(output.latestSync, context)
5946
- : undefined,
5833
+ latestSync: output.latestSync != null ? deserializeAws_json1_0ResourceSyncAttempt(output.latestSync, context) : undefined,
5947
5834
  };
5948
5835
  };
5949
5836
  const deserializeAws_json1_0InternalServerException = (output, context) => {
@@ -5954,30 +5841,26 @@ const deserializeAws_json1_0InternalServerException = (output, context) => {
5954
5841
  const deserializeAws_json1_0ListComponentOutputsOutput = (output, context) => {
5955
5842
  return {
5956
5843
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5957
- outputs: output.outputs !== undefined && output.outputs !== null
5958
- ? deserializeAws_json1_0OutputsList(output.outputs, context)
5959
- : undefined,
5844
+ outputs: output.outputs != null ? deserializeAws_json1_0OutputsList(output.outputs, context) : undefined,
5960
5845
  };
5961
5846
  };
5962
5847
  const deserializeAws_json1_0ListComponentProvisionedResourcesOutput = (output, context) => {
5963
5848
  return {
5964
5849
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5965
- provisionedResources: output.provisionedResources !== undefined && output.provisionedResources !== null
5850
+ provisionedResources: output.provisionedResources != null
5966
5851
  ? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
5967
5852
  : undefined,
5968
5853
  };
5969
5854
  };
5970
5855
  const deserializeAws_json1_0ListComponentsOutput = (output, context) => {
5971
5856
  return {
5972
- components: output.components !== undefined && output.components !== null
5973
- ? deserializeAws_json1_0ComponentSummaryList(output.components, context)
5974
- : undefined,
5857
+ components: output.components != null ? deserializeAws_json1_0ComponentSummaryList(output.components, context) : undefined,
5975
5858
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5976
5859
  };
5977
5860
  };
5978
5861
  const deserializeAws_json1_0ListEnvironmentAccountConnectionsOutput = (output, context) => {
5979
5862
  return {
5980
- environmentAccountConnections: output.environmentAccountConnections !== undefined && output.environmentAccountConnections !== null
5863
+ environmentAccountConnections: output.environmentAccountConnections != null
5981
5864
  ? deserializeAws_json1_0EnvironmentAccountConnectionSummaryList(output.environmentAccountConnections, context)
5982
5865
  : undefined,
5983
5866
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
@@ -5986,22 +5869,20 @@ const deserializeAws_json1_0ListEnvironmentAccountConnectionsOutput = (output, c
5986
5869
  const deserializeAws_json1_0ListEnvironmentOutputsOutput = (output, context) => {
5987
5870
  return {
5988
5871
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5989
- outputs: output.outputs !== undefined && output.outputs !== null
5990
- ? deserializeAws_json1_0OutputsList(output.outputs, context)
5991
- : undefined,
5872
+ outputs: output.outputs != null ? deserializeAws_json1_0OutputsList(output.outputs, context) : undefined,
5992
5873
  };
5993
5874
  };
5994
5875
  const deserializeAws_json1_0ListEnvironmentProvisionedResourcesOutput = (output, context) => {
5995
5876
  return {
5996
5877
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5997
- provisionedResources: output.provisionedResources !== undefined && output.provisionedResources !== null
5878
+ provisionedResources: output.provisionedResources != null
5998
5879
  ? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
5999
5880
  : undefined,
6000
5881
  };
6001
5882
  };
6002
5883
  const deserializeAws_json1_0ListEnvironmentsOutput = (output, context) => {
6003
5884
  return {
6004
- environments: output.environments !== undefined && output.environments !== null
5885
+ environments: output.environments != null
6005
5886
  ? deserializeAws_json1_0EnvironmentSummaryList(output.environments, context)
6006
5887
  : undefined,
6007
5888
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
@@ -6010,7 +5891,7 @@ const deserializeAws_json1_0ListEnvironmentsOutput = (output, context) => {
6010
5891
  const deserializeAws_json1_0ListEnvironmentTemplatesOutput = (output, context) => {
6011
5892
  return {
6012
5893
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6013
- templates: output.templates !== undefined && output.templates !== null
5894
+ templates: output.templates != null
6014
5895
  ? deserializeAws_json1_0EnvironmentTemplateSummaryList(output.templates, context)
6015
5896
  : undefined,
6016
5897
  };
@@ -6018,7 +5899,7 @@ const deserializeAws_json1_0ListEnvironmentTemplatesOutput = (output, context) =
6018
5899
  const deserializeAws_json1_0ListEnvironmentTemplateVersionsOutput = (output, context) => {
6019
5900
  return {
6020
5901
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6021
- templateVersions: output.templateVersions !== undefined && output.templateVersions !== null
5902
+ templateVersions: output.templateVersions != null
6022
5903
  ? deserializeAws_json1_0EnvironmentTemplateVersionSummaryList(output.templateVersions, context)
6023
5904
  : undefined,
6024
5905
  };
@@ -6026,7 +5907,7 @@ const deserializeAws_json1_0ListEnvironmentTemplateVersionsOutput = (output, con
6026
5907
  const deserializeAws_json1_0ListRepositoriesOutput = (output, context) => {
6027
5908
  return {
6028
5909
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6029
- repositories: output.repositories !== undefined && output.repositories !== null
5910
+ repositories: output.repositories != null
6030
5911
  ? deserializeAws_json1_0RepositorySummaryList(output.repositories, context)
6031
5912
  : undefined,
6032
5913
  };
@@ -6034,7 +5915,7 @@ const deserializeAws_json1_0ListRepositoriesOutput = (output, context) => {
6034
5915
  const deserializeAws_json1_0ListRepositorySyncDefinitionsOutput = (output, context) => {
6035
5916
  return {
6036
5917
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6037
- syncDefinitions: output.syncDefinitions !== undefined && output.syncDefinitions !== null
5918
+ syncDefinitions: output.syncDefinitions != null
6038
5919
  ? deserializeAws_json1_0RepositorySyncDefinitionList(output.syncDefinitions, context)
6039
5920
  : undefined,
6040
5921
  };
@@ -6042,15 +5923,13 @@ const deserializeAws_json1_0ListRepositorySyncDefinitionsOutput = (output, conte
6042
5923
  const deserializeAws_json1_0ListServiceInstanceOutputsOutput = (output, context) => {
6043
5924
  return {
6044
5925
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6045
- outputs: output.outputs !== undefined && output.outputs !== null
6046
- ? deserializeAws_json1_0OutputsList(output.outputs, context)
6047
- : undefined,
5926
+ outputs: output.outputs != null ? deserializeAws_json1_0OutputsList(output.outputs, context) : undefined,
6048
5927
  };
6049
5928
  };
6050
5929
  const deserializeAws_json1_0ListServiceInstanceProvisionedResourcesOutput = (output, context) => {
6051
5930
  return {
6052
5931
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6053
- provisionedResources: output.provisionedResources !== undefined && output.provisionedResources !== null
5932
+ provisionedResources: output.provisionedResources != null
6054
5933
  ? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
6055
5934
  : undefined,
6056
5935
  };
@@ -6058,7 +5937,7 @@ const deserializeAws_json1_0ListServiceInstanceProvisionedResourcesOutput = (out
6058
5937
  const deserializeAws_json1_0ListServiceInstancesOutput = (output, context) => {
6059
5938
  return {
6060
5939
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6061
- serviceInstances: output.serviceInstances !== undefined && output.serviceInstances !== null
5940
+ serviceInstances: output.serviceInstances != null
6062
5941
  ? deserializeAws_json1_0ServiceInstanceSummaryList(output.serviceInstances, context)
6063
5942
  : undefined,
6064
5943
  };
@@ -6066,15 +5945,13 @@ const deserializeAws_json1_0ListServiceInstancesOutput = (output, context) => {
6066
5945
  const deserializeAws_json1_0ListServicePipelineOutputsOutput = (output, context) => {
6067
5946
  return {
6068
5947
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6069
- outputs: output.outputs !== undefined && output.outputs !== null
6070
- ? deserializeAws_json1_0OutputsList(output.outputs, context)
6071
- : undefined,
5948
+ outputs: output.outputs != null ? deserializeAws_json1_0OutputsList(output.outputs, context) : undefined,
6072
5949
  };
6073
5950
  };
6074
5951
  const deserializeAws_json1_0ListServicePipelineProvisionedResourcesOutput = (output, context) => {
6075
5952
  return {
6076
5953
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6077
- provisionedResources: output.provisionedResources !== undefined && output.provisionedResources !== null
5954
+ provisionedResources: output.provisionedResources != null
6078
5955
  ? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
6079
5956
  : undefined,
6080
5957
  };
@@ -6082,15 +5959,13 @@ const deserializeAws_json1_0ListServicePipelineProvisionedResourcesOutput = (out
6082
5959
  const deserializeAws_json1_0ListServicesOutput = (output, context) => {
6083
5960
  return {
6084
5961
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6085
- services: output.services !== undefined && output.services !== null
6086
- ? deserializeAws_json1_0ServiceSummaryList(output.services, context)
6087
- : undefined,
5962
+ services: output.services != null ? deserializeAws_json1_0ServiceSummaryList(output.services, context) : undefined,
6088
5963
  };
6089
5964
  };
6090
5965
  const deserializeAws_json1_0ListServiceTemplatesOutput = (output, context) => {
6091
5966
  return {
6092
5967
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6093
- templates: output.templates !== undefined && output.templates !== null
5968
+ templates: output.templates != null
6094
5969
  ? deserializeAws_json1_0ServiceTemplateSummaryList(output.templates, context)
6095
5970
  : undefined,
6096
5971
  };
@@ -6098,7 +5973,7 @@ const deserializeAws_json1_0ListServiceTemplatesOutput = (output, context) => {
6098
5973
  const deserializeAws_json1_0ListServiceTemplateVersionsOutput = (output, context) => {
6099
5974
  return {
6100
5975
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6101
- templateVersions: output.templateVersions !== undefined && output.templateVersions !== null
5976
+ templateVersions: output.templateVersions != null
6102
5977
  ? deserializeAws_json1_0ServiceTemplateVersionSummaryList(output.templateVersions, context)
6103
5978
  : undefined,
6104
5979
  };
@@ -6106,9 +5981,7 @@ const deserializeAws_json1_0ListServiceTemplateVersionsOutput = (output, context
6106
5981
  const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
6107
5982
  return {
6108
5983
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6109
- tags: output.tags !== undefined && output.tags !== null
6110
- ? deserializeAws_json1_0TagList(output.tags, context)
6111
- : undefined,
5984
+ tags: output.tags != null ? deserializeAws_json1_0TagList(output.tags, context) : undefined,
6112
5985
  };
6113
5986
  };
6114
5987
  const deserializeAws_json1_0NotifyResourceDeploymentStatusChangeOutput = (output, context) => {
@@ -6151,7 +6024,7 @@ const deserializeAws_json1_0ProvisionedResourceList = (output, context) => {
6151
6024
  };
6152
6025
  const deserializeAws_json1_0RejectEnvironmentAccountConnectionOutput = (output, context) => {
6153
6026
  return {
6154
- environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
6027
+ environmentAccountConnection: output.environmentAccountConnection != null
6155
6028
  ? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
6156
6029
  : undefined,
6157
6030
  };
@@ -6193,12 +6066,8 @@ const deserializeAws_json1_0RepositorySummaryList = (output, context) => {
6193
6066
  };
6194
6067
  const deserializeAws_json1_0RepositorySyncAttempt = (output, context) => {
6195
6068
  return {
6196
- events: output.events !== undefined && output.events !== null
6197
- ? deserializeAws_json1_0RepositorySyncEvents(output.events, context)
6198
- : undefined,
6199
- startedAt: output.startedAt !== undefined && output.startedAt !== null
6200
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
6201
- : undefined,
6069
+ events: output.events != null ? deserializeAws_json1_0RepositorySyncEvents(output.events, context) : undefined,
6070
+ startedAt: output.startedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt))) : undefined,
6202
6071
  status: (0, smithy_client_1.expectString)(output.status),
6203
6072
  };
6204
6073
  };
@@ -6225,9 +6094,7 @@ const deserializeAws_json1_0RepositorySyncEvent = (output, context) => {
6225
6094
  return {
6226
6095
  event: (0, smithy_client_1.expectString)(output.event),
6227
6096
  externalId: (0, smithy_client_1.expectString)(output.externalId),
6228
- time: output.time !== undefined && output.time !== null
6229
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.time)))
6230
- : undefined,
6097
+ time: output.time != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.time))) : undefined,
6231
6098
  type: (0, smithy_client_1.expectString)(output.type),
6232
6099
  };
6233
6100
  };
@@ -6249,29 +6116,19 @@ const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
6249
6116
  };
6250
6117
  const deserializeAws_json1_0ResourceSyncAttempt = (output, context) => {
6251
6118
  return {
6252
- events: output.events !== undefined && output.events !== null
6253
- ? deserializeAws_json1_0ResourceSyncEvents(output.events, context)
6254
- : undefined,
6255
- initialRevision: output.initialRevision !== undefined && output.initialRevision !== null
6256
- ? deserializeAws_json1_0Revision(output.initialRevision, context)
6257
- : undefined,
6258
- startedAt: output.startedAt !== undefined && output.startedAt !== null
6259
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
6260
- : undefined,
6119
+ events: output.events != null ? deserializeAws_json1_0ResourceSyncEvents(output.events, context) : undefined,
6120
+ initialRevision: output.initialRevision != null ? deserializeAws_json1_0Revision(output.initialRevision, context) : undefined,
6121
+ startedAt: output.startedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt))) : undefined,
6261
6122
  status: (0, smithy_client_1.expectString)(output.status),
6262
6123
  target: (0, smithy_client_1.expectString)(output.target),
6263
- targetRevision: output.targetRevision !== undefined && output.targetRevision !== null
6264
- ? deserializeAws_json1_0Revision(output.targetRevision, context)
6265
- : undefined,
6124
+ targetRevision: output.targetRevision != null ? deserializeAws_json1_0Revision(output.targetRevision, context) : undefined,
6266
6125
  };
6267
6126
  };
6268
6127
  const deserializeAws_json1_0ResourceSyncEvent = (output, context) => {
6269
6128
  return {
6270
6129
  event: (0, smithy_client_1.expectString)(output.event),
6271
6130
  externalId: (0, smithy_client_1.expectString)(output.externalId),
6272
- time: output.time !== undefined && output.time !== null
6273
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.time)))
6274
- : undefined,
6131
+ time: output.time != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.time))) : undefined,
6275
6132
  type: (0, smithy_client_1.expectString)(output.type),
6276
6133
  };
6277
6134
  };
@@ -6299,17 +6156,13 @@ const deserializeAws_json1_0Service = (output, context) => {
6299
6156
  return {
6300
6157
  arn: (0, smithy_client_1.expectString)(output.arn),
6301
6158
  branchName: (0, smithy_client_1.expectString)(output.branchName),
6302
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6303
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6304
- : undefined,
6159
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6305
6160
  description: (0, smithy_client_1.expectString)(output.description),
6306
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6161
+ lastModifiedAt: output.lastModifiedAt != null
6307
6162
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
6308
6163
  : undefined,
6309
6164
  name: (0, smithy_client_1.expectString)(output.name),
6310
- pipeline: output.pipeline !== undefined && output.pipeline !== null
6311
- ? deserializeAws_json1_0ServicePipeline(output.pipeline, context)
6312
- : undefined,
6165
+ pipeline: output.pipeline != null ? deserializeAws_json1_0ServicePipeline(output.pipeline, context) : undefined,
6313
6166
  repositoryConnectionArn: (0, smithy_client_1.expectString)(output.repositoryConnectionArn),
6314
6167
  repositoryId: (0, smithy_client_1.expectString)(output.repositoryId),
6315
6168
  spec: (0, smithy_client_1.expectString)(output.spec),
@@ -6321,16 +6174,14 @@ const deserializeAws_json1_0Service = (output, context) => {
6321
6174
  const deserializeAws_json1_0ServiceInstance = (output, context) => {
6322
6175
  return {
6323
6176
  arn: (0, smithy_client_1.expectString)(output.arn),
6324
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6325
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6326
- : undefined,
6177
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6327
6178
  deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
6328
6179
  deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
6329
6180
  environmentName: (0, smithy_client_1.expectString)(output.environmentName),
6330
- lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
6181
+ lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
6331
6182
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
6332
6183
  : undefined,
6333
- lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
6184
+ lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
6334
6185
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
6335
6186
  : undefined,
6336
6187
  name: (0, smithy_client_1.expectString)(output.name),
@@ -6344,16 +6195,14 @@ const deserializeAws_json1_0ServiceInstance = (output, context) => {
6344
6195
  const deserializeAws_json1_0ServiceInstanceSummary = (output, context) => {
6345
6196
  return {
6346
6197
  arn: (0, smithy_client_1.expectString)(output.arn),
6347
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6348
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6349
- : undefined,
6198
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6350
6199
  deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
6351
6200
  deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
6352
6201
  environmentName: (0, smithy_client_1.expectString)(output.environmentName),
6353
- lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
6202
+ lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
6354
6203
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
6355
6204
  : undefined,
6356
- lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
6205
+ lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
6357
6206
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
6358
6207
  : undefined,
6359
6208
  name: (0, smithy_client_1.expectString)(output.name),
@@ -6377,15 +6226,13 @@ const deserializeAws_json1_0ServiceInstanceSummaryList = (output, context) => {
6377
6226
  const deserializeAws_json1_0ServicePipeline = (output, context) => {
6378
6227
  return {
6379
6228
  arn: (0, smithy_client_1.expectString)(output.arn),
6380
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6381
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6382
- : undefined,
6229
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6383
6230
  deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
6384
6231
  deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
6385
- lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
6232
+ lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
6386
6233
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
6387
6234
  : undefined,
6388
- lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
6235
+ lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
6389
6236
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
6390
6237
  : undefined,
6391
6238
  spec: (0, smithy_client_1.expectString)(output.spec),
@@ -6402,11 +6249,9 @@ const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) =>
6402
6249
  const deserializeAws_json1_0ServiceSummary = (output, context) => {
6403
6250
  return {
6404
6251
  arn: (0, smithy_client_1.expectString)(output.arn),
6405
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6406
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6407
- : undefined,
6252
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6408
6253
  description: (0, smithy_client_1.expectString)(output.description),
6409
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6254
+ lastModifiedAt: output.lastModifiedAt != null
6410
6255
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
6411
6256
  : undefined,
6412
6257
  name: (0, smithy_client_1.expectString)(output.name),
@@ -6429,13 +6274,11 @@ const deserializeAws_json1_0ServiceSummaryList = (output, context) => {
6429
6274
  const deserializeAws_json1_0ServiceTemplate = (output, context) => {
6430
6275
  return {
6431
6276
  arn: (0, smithy_client_1.expectString)(output.arn),
6432
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6433
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6434
- : undefined,
6277
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6435
6278
  description: (0, smithy_client_1.expectString)(output.description),
6436
6279
  displayName: (0, smithy_client_1.expectString)(output.displayName),
6437
6280
  encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
6438
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6281
+ lastModifiedAt: output.lastModifiedAt != null
6439
6282
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
6440
6283
  : undefined,
6441
6284
  name: (0, smithy_client_1.expectString)(output.name),
@@ -6446,12 +6289,10 @@ const deserializeAws_json1_0ServiceTemplate = (output, context) => {
6446
6289
  const deserializeAws_json1_0ServiceTemplateSummary = (output, context) => {
6447
6290
  return {
6448
6291
  arn: (0, smithy_client_1.expectString)(output.arn),
6449
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6450
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6451
- : undefined,
6292
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6452
6293
  description: (0, smithy_client_1.expectString)(output.description),
6453
6294
  displayName: (0, smithy_client_1.expectString)(output.displayName),
6454
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6295
+ lastModifiedAt: output.lastModifiedAt != null
6455
6296
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
6456
6297
  : undefined,
6457
6298
  name: (0, smithy_client_1.expectString)(output.name),
@@ -6484,14 +6325,12 @@ const deserializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = (
6484
6325
  const deserializeAws_json1_0ServiceTemplateVersion = (output, context) => {
6485
6326
  return {
6486
6327
  arn: (0, smithy_client_1.expectString)(output.arn),
6487
- compatibleEnvironmentTemplates: output.compatibleEnvironmentTemplates !== undefined && output.compatibleEnvironmentTemplates !== null
6328
+ compatibleEnvironmentTemplates: output.compatibleEnvironmentTemplates != null
6488
6329
  ? deserializeAws_json1_0CompatibleEnvironmentTemplateList(output.compatibleEnvironmentTemplates, context)
6489
6330
  : undefined,
6490
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6491
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6492
- : undefined,
6331
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6493
6332
  description: (0, smithy_client_1.expectString)(output.description),
6494
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6333
+ lastModifiedAt: output.lastModifiedAt != null
6495
6334
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
6496
6335
  : undefined,
6497
6336
  majorVersion: (0, smithy_client_1.expectString)(output.majorVersion),
@@ -6500,7 +6339,7 @@ const deserializeAws_json1_0ServiceTemplateVersion = (output, context) => {
6500
6339
  schema: (0, smithy_client_1.expectString)(output.schema),
6501
6340
  status: (0, smithy_client_1.expectString)(output.status),
6502
6341
  statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
6503
- supportedComponentSources: output.supportedComponentSources !== undefined && output.supportedComponentSources !== null
6342
+ supportedComponentSources: output.supportedComponentSources != null
6504
6343
  ? deserializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(output.supportedComponentSources, context)
6505
6344
  : undefined,
6506
6345
  templateName: (0, smithy_client_1.expectString)(output.templateName),
@@ -6509,11 +6348,9 @@ const deserializeAws_json1_0ServiceTemplateVersion = (output, context) => {
6509
6348
  const deserializeAws_json1_0ServiceTemplateVersionSummary = (output, context) => {
6510
6349
  return {
6511
6350
  arn: (0, smithy_client_1.expectString)(output.arn),
6512
- createdAt: output.createdAt !== undefined && output.createdAt !== null
6513
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6514
- : undefined,
6351
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
6515
6352
  description: (0, smithy_client_1.expectString)(output.description),
6516
- lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6353
+ lastModifiedAt: output.lastModifiedAt != null
6517
6354
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
6518
6355
  : undefined,
6519
6356
  majorVersion: (0, smithy_client_1.expectString)(output.majorVersion),
@@ -6575,84 +6412,76 @@ const deserializeAws_json1_0UntagResourceOutput = (output, context) => {
6575
6412
  };
6576
6413
  const deserializeAws_json1_0UpdateAccountSettingsOutput = (output, context) => {
6577
6414
  return {
6578
- accountSettings: output.accountSettings !== undefined && output.accountSettings !== null
6415
+ accountSettings: output.accountSettings != null
6579
6416
  ? deserializeAws_json1_0AccountSettings(output.accountSettings, context)
6580
6417
  : undefined,
6581
6418
  };
6582
6419
  };
6583
6420
  const deserializeAws_json1_0UpdateComponentOutput = (output, context) => {
6584
6421
  return {
6585
- component: output.component !== undefined && output.component !== null
6586
- ? deserializeAws_json1_0Component(output.component, context)
6587
- : undefined,
6422
+ component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
6588
6423
  };
6589
6424
  };
6590
6425
  const deserializeAws_json1_0UpdateEnvironmentAccountConnectionOutput = (output, context) => {
6591
6426
  return {
6592
- environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
6427
+ environmentAccountConnection: output.environmentAccountConnection != null
6593
6428
  ? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
6594
6429
  : undefined,
6595
6430
  };
6596
6431
  };
6597
6432
  const deserializeAws_json1_0UpdateEnvironmentOutput = (output, context) => {
6598
6433
  return {
6599
- environment: output.environment !== undefined && output.environment !== null
6600
- ? deserializeAws_json1_0Environment(output.environment, context)
6601
- : undefined,
6434
+ environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
6602
6435
  };
6603
6436
  };
6604
6437
  const deserializeAws_json1_0UpdateEnvironmentTemplateOutput = (output, context) => {
6605
6438
  return {
6606
- environmentTemplate: output.environmentTemplate !== undefined && output.environmentTemplate !== null
6439
+ environmentTemplate: output.environmentTemplate != null
6607
6440
  ? deserializeAws_json1_0EnvironmentTemplate(output.environmentTemplate, context)
6608
6441
  : undefined,
6609
6442
  };
6610
6443
  };
6611
6444
  const deserializeAws_json1_0UpdateEnvironmentTemplateVersionOutput = (output, context) => {
6612
6445
  return {
6613
- environmentTemplateVersion: output.environmentTemplateVersion !== undefined && output.environmentTemplateVersion !== null
6446
+ environmentTemplateVersion: output.environmentTemplateVersion != null
6614
6447
  ? deserializeAws_json1_0EnvironmentTemplateVersion(output.environmentTemplateVersion, context)
6615
6448
  : undefined,
6616
6449
  };
6617
6450
  };
6618
6451
  const deserializeAws_json1_0UpdateServiceInstanceOutput = (output, context) => {
6619
6452
  return {
6620
- serviceInstance: output.serviceInstance !== undefined && output.serviceInstance !== null
6453
+ serviceInstance: output.serviceInstance != null
6621
6454
  ? deserializeAws_json1_0ServiceInstance(output.serviceInstance, context)
6622
6455
  : undefined,
6623
6456
  };
6624
6457
  };
6625
6458
  const deserializeAws_json1_0UpdateServiceOutput = (output, context) => {
6626
6459
  return {
6627
- service: output.service !== undefined && output.service !== null
6628
- ? deserializeAws_json1_0Service(output.service, context)
6629
- : undefined,
6460
+ service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
6630
6461
  };
6631
6462
  };
6632
6463
  const deserializeAws_json1_0UpdateServicePipelineOutput = (output, context) => {
6633
6464
  return {
6634
- pipeline: output.pipeline !== undefined && output.pipeline !== null
6635
- ? deserializeAws_json1_0ServicePipeline(output.pipeline, context)
6636
- : undefined,
6465
+ pipeline: output.pipeline != null ? deserializeAws_json1_0ServicePipeline(output.pipeline, context) : undefined,
6637
6466
  };
6638
6467
  };
6639
6468
  const deserializeAws_json1_0UpdateServiceTemplateOutput = (output, context) => {
6640
6469
  return {
6641
- serviceTemplate: output.serviceTemplate !== undefined && output.serviceTemplate !== null
6470
+ serviceTemplate: output.serviceTemplate != null
6642
6471
  ? deserializeAws_json1_0ServiceTemplate(output.serviceTemplate, context)
6643
6472
  : undefined,
6644
6473
  };
6645
6474
  };
6646
6475
  const deserializeAws_json1_0UpdateServiceTemplateVersionOutput = (output, context) => {
6647
6476
  return {
6648
- serviceTemplateVersion: output.serviceTemplateVersion !== undefined && output.serviceTemplateVersion !== null
6477
+ serviceTemplateVersion: output.serviceTemplateVersion != null
6649
6478
  ? deserializeAws_json1_0ServiceTemplateVersion(output.serviceTemplateVersion, context)
6650
6479
  : undefined,
6651
6480
  };
6652
6481
  };
6653
6482
  const deserializeAws_json1_0UpdateTemplateSyncConfigOutput = (output, context) => {
6654
6483
  return {
6655
- templateSyncConfig: output.templateSyncConfig !== undefined && output.templateSyncConfig !== null
6484
+ templateSyncConfig: output.templateSyncConfig != null
6656
6485
  ? deserializeAws_json1_0TemplateSyncConfig(output.templateSyncConfig, context)
6657
6486
  : undefined,
6658
6487
  };