@cdk8s/awscdk-resolver 0.0.66 → 0.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +19 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +182 -114
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +3 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +5 -17
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +18 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +83 -35
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +48 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +15 -12
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateOrganizationsAccessCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateChangeSetCommand.d.ts +11 -13
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateOrganizationsAccessCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateTypeCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteChangeSetCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackInstancesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackSetCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeregisterTypeCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeAccountLimitsCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeOrganizationsAccessCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribePublisherCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeResourceScanCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackDriftDetectionStatusCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackInstanceCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStacksCommand.d.ts +5 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeRegistrationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackDriftCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackResourceDriftCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/EstimateTemplateCostCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteChangeSetCommand.d.ts +11 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetStackPolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateSummaryCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ImportStacksToStackSetCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListChangeSetsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListExportsCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListImportsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstancesCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +73 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStacksCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeRegistrationsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeVersionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +8 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +6 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SignalResourceCommand.d.ts +6 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +9 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +11 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1856 -1936
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +269 -207
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +52 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ActivateOrganizationsAccessCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ActivateTypeCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/BatchDescribeTypeConfigurationsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CancelUpdateStackCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ContinueUpdateRollbackCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateChangeSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateGeneratedTemplateCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackInstancesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeactivateOrganizationsAccessCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeactivateTypeCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteChangeSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteGeneratedTemplateCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackInstancesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeregisterTypeCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeChangeSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeChangeSetHooksCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeGeneratedTemplateCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeOrganizationsAccessCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribePublisherCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeResourceScanCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackDriftDetectionStatusCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackInstanceCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourceCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourceDriftsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourcesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackSetOperationCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeTypeCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeTypeRegistrationCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackDriftCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackResourceDriftCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackSetDriftCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/EstimateTemplateCostCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ExecuteChangeSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetGeneratedTemplateCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetStackPolicyCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetTemplateSummaryCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ImportStacksToStackSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListChangeSetsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListExportsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListGeneratedTemplatesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListImportsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanRelatedResourcesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanResourcesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScansCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackInstanceResourceDriftsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackInstancesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackResourcesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStacksCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeConfigurationCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeDefaultVersionCommand.d.ts +11 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SignalResourceCommand.d.ts +10 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/TestTypeCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +23 -24
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +26 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +41 -42
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +6 -49
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -40
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +32 -32
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/package.json +38 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +7 -50
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +3 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +1 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +89 -89
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +40 -40
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +10 -44
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +2 -34
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +98 -98
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/package.json +39 -40
- package/node_modules/@aws-sdk/core/CHANGELOG.md +35 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +126 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +1 -0
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +1 -0
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/protocols/common.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/protocols/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +51 -0
- package/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +57 -0
- package/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +13 -0
- package/node_modules/@aws-sdk/core/package.json +8 -7
- package/node_modules/@aws-sdk/core/src/protocols/common.ts +5 -0
- package/node_modules/@aws-sdk/core/src/protocols/index.ts +2 -0
- package/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +60 -0
- package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +64 -0
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
- package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/package.json +9 -9
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +11 -1
- package/node_modules/@smithy/credential-provider-imds/dist-es/index.js +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/eventstream-codec/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -9
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/package.json +3 -3
- package/node_modules/@smithy/is-array-buffer/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +5 -5
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +11 -11
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -0
- package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +5 -0
- package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +5 -2
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +6 -2
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +5 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +5 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +6 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +5 -2
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/package.json +5 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +14 -3
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +30 -0
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +16 -4
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +4 -4
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
- package/node_modules/@smithy/signature-v4/package.json +10 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/smithy-client/dist-es/command.js +2 -2
- package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +2 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +2 -1
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/client.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/serde.d.ts +10 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +2 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +10 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +27 -7
- package/node_modules/@smithy/types/dist-types/util.d.ts +22 -7
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/url-parser/package.json +4 -4
- package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +16 -1
- package/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +14 -1
- package/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +16 -1
- package/node_modules/@smithy/util-base64/dist-es/toBase64.js +14 -1
- package/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts +4 -3
- package/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts +4 -3
- package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +4 -3
- package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +4 -3
- package/node_modules/@smithy/util-base64/package.json +4 -3
- package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +1 -1
- package/node_modules/@smithy/util-body-length-node/package.json +2 -2
- package/node_modules/@smithy/util-buffer-from/package.json +3 -3
- package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/util-config-provider/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
- package/node_modules/@smithy/util-endpoints/package.json +4 -4
- package/node_modules/@smithy/util-hex-encoding/package.json +2 -2
- package/node_modules/@smithy/util-middleware/package.json +3 -3
- package/node_modules/@smithy/util-retry/package.json +4 -4
- package/node_modules/@smithy/util-stream/package.json +12 -12
- package/node_modules/@smithy/util-uri-escape/package.json +2 -2
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +9 -1
- package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -1
- package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +9 -1
- package/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -1
- package/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -1
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -1
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -1
- package/node_modules/@smithy/util-utf8/package.json +3 -3
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/node_modules/uuid/CHANGELOG.md +45 -0
- package/node_modules/uuid/README.md +36 -75
- package/node_modules/uuid/dist/esm-browser/md5.js +23 -23
- package/node_modules/uuid/dist/esm-browser/parse.js +2 -2
- package/node_modules/uuid/dist/esm-browser/rng.js +4 -5
- package/node_modules/uuid/dist/esm-browser/sha1.js +26 -26
- package/node_modules/uuid/dist/esm-browser/stringify.js +9 -6
- package/node_modules/uuid/dist/esm-browser/v1.js +17 -17
- package/node_modules/uuid/dist/esm-browser/v3.js +1 -1
- package/node_modules/uuid/dist/esm-browser/v35.js +12 -10
- package/node_modules/uuid/dist/esm-browser/v4.js +9 -4
- package/node_modules/uuid/dist/esm-browser/v5.js +1 -1
- package/node_modules/uuid/dist/esm-browser/version.js +1 -1
- package/node_modules/uuid/dist/esm-node/stringify.js +7 -3
- package/node_modules/uuid/dist/esm-node/v1.js +2 -2
- package/node_modules/uuid/dist/esm-node/v35.js +6 -4
- package/node_modules/uuid/dist/esm-node/v4.js +7 -2
- package/node_modules/uuid/dist/esm-node/version.js +1 -1
- package/node_modules/uuid/dist/index.js +18 -18
- package/node_modules/uuid/dist/rng-browser.js +2 -3
- package/node_modules/uuid/dist/stringify.js +8 -3
- package/node_modules/uuid/dist/v1.js +2 -2
- package/node_modules/uuid/dist/v35.js +7 -5
- package/node_modules/uuid/dist/v4.js +8 -2
- package/node_modules/uuid/dist/version.js +1 -1
- package/node_modules/uuid/package.json +41 -41
- package/package.json +8 -8
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/CHANGELOG.md +0 -274
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/README.md +0 -466
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/rng.js +0 -18
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v35.js +0 -66
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v4.js +0 -29
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/stringify.js +0 -33
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v35.js +0 -66
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v4.js +0 -29
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/rng-browser.js +0 -25
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/stringify.js +0 -44
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v35.js +0 -80
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v4.js +0 -43
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/package.json +0 -135
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/wrapper.mjs +0 -10
- package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/index.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/md5.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/native.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/nil.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/parse.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/regex.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/rng.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/sha1.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/stringify.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v1.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v3.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v35.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v4.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v5.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/validate.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/version.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/esm-browser/native.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/esm-node/native.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/native-browser.js +0 -0
- /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/native.js +0 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
import { getValueFromTextNode } from "@smithy/smithy-client";
|
2
|
+
import { XMLParser } from "fast-xml-parser";
|
3
|
+
import { collectBodyString } from "../common";
|
4
|
+
export const parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
5
|
+
if (encoded.length) {
|
6
|
+
const parser = new XMLParser({
|
7
|
+
attributeNamePrefix: "",
|
8
|
+
htmlEntities: true,
|
9
|
+
ignoreAttributes: false,
|
10
|
+
ignoreDeclaration: true,
|
11
|
+
parseTagValue: false,
|
12
|
+
trimValues: false,
|
13
|
+
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
14
|
+
});
|
15
|
+
parser.addEntity("#xD", "\r");
|
16
|
+
parser.addEntity("#10", "\n");
|
17
|
+
let parsedObj;
|
18
|
+
try {
|
19
|
+
parsedObj = parser.parse(encoded);
|
20
|
+
}
|
21
|
+
catch (e) {
|
22
|
+
if (e && typeof e === "object") {
|
23
|
+
Object.defineProperty(e, "$responseBodyText", {
|
24
|
+
value: encoded,
|
25
|
+
});
|
26
|
+
}
|
27
|
+
throw e;
|
28
|
+
}
|
29
|
+
const textNodeName = "#text";
|
30
|
+
const key = Object.keys(parsedObj)[0];
|
31
|
+
const parsedObjToReturn = parsedObj[key];
|
32
|
+
if (parsedObjToReturn[textNodeName]) {
|
33
|
+
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
34
|
+
delete parsedObjToReturn[textNodeName];
|
35
|
+
}
|
36
|
+
return getValueFromTextNode(parsedObjToReturn);
|
37
|
+
}
|
38
|
+
return {};
|
39
|
+
});
|
40
|
+
export const parseXmlErrorBody = async (errorBody, context) => {
|
41
|
+
const value = await parseXmlBody(errorBody, context);
|
42
|
+
if (value.Error) {
|
43
|
+
value.Error.message = value.Error.message ?? value.Error.Message;
|
44
|
+
}
|
45
|
+
return value;
|
46
|
+
};
|
47
|
+
export const loadRestXmlErrorCode = (output, data) => {
|
48
|
+
if (data?.Error?.Code !== undefined) {
|
49
|
+
return data.Error.Code;
|
50
|
+
}
|
51
|
+
if (data?.Code !== undefined) {
|
52
|
+
return data.Code;
|
53
|
+
}
|
54
|
+
if (output.statusCode == 404) {
|
55
|
+
return "NotFound";
|
56
|
+
}
|
57
|
+
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
2
|
+
export declare const parseJsonBody: (streamBody: any, context: SerdeContext) => any;
|
3
|
+
export declare const parseJsonErrorBody: (errorBody: any, context: SerdeContext) => Promise<any>;
|
4
|
+
export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
2
|
+
export declare const parseXmlBody: (streamBody: any, context: SerdeContext) => any;
|
3
|
+
export declare const parseXmlErrorBody: (errorBody: any, context: SerdeContext) => Promise<any>;
|
4
|
+
export declare const loadRestXmlErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { HttpResponse, SerdeContext } from "@smithy/types";
|
2
|
+
export declare const parseJsonBody: (
|
3
|
+
streamBody: any,
|
4
|
+
context: SerdeContext
|
5
|
+
) => any;
|
6
|
+
export declare const parseJsonErrorBody: (
|
7
|
+
errorBody: any,
|
8
|
+
context: SerdeContext
|
9
|
+
) => Promise<any>;
|
10
|
+
export declare const loadRestJsonErrorCode: (
|
11
|
+
output: HttpResponse,
|
12
|
+
data: any
|
13
|
+
) => string | undefined;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { HttpResponse, SerdeContext } from "@smithy/types";
|
2
|
+
export declare const parseXmlBody: (
|
3
|
+
streamBody: any,
|
4
|
+
context: SerdeContext
|
5
|
+
) => any;
|
6
|
+
export declare const parseXmlErrorBody: (
|
7
|
+
errorBody: any,
|
8
|
+
context: SerdeContext
|
9
|
+
) => Promise<any>;
|
10
|
+
export declare const loadRestXmlErrorCode: (
|
11
|
+
output: HttpResponse,
|
12
|
+
data: any
|
13
|
+
) => string | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.535.0",
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
@@ -25,12 +25,13 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@smithy/core": "^1.
|
29
|
-
"@smithy/protocol-http": "^3.
|
30
|
-
"@smithy/signature-v4": "^2.
|
31
|
-
"@smithy/smithy-client": "^2.
|
32
|
-
"@smithy/types": "^2.
|
33
|
-
"
|
28
|
+
"@smithy/core": "^1.4.0",
|
29
|
+
"@smithy/protocol-http": "^3.3.0",
|
30
|
+
"@smithy/signature-v4": "^2.2.0",
|
31
|
+
"@smithy/smithy-client": "^2.5.0",
|
32
|
+
"@smithy/types": "^2.12.0",
|
33
|
+
"fast-xml-parser": "4.2.5",
|
34
|
+
"tslib": "^2.6.2"
|
34
35
|
},
|
35
36
|
"devDependencies": {
|
36
37
|
"@tsconfig/recommended": "1.0.1",
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { collectBody } from "@smithy/smithy-client";
|
2
|
+
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
3
|
+
|
4
|
+
export const collectBodyString = (streamBody: any, context: SerdeContext): Promise<string> =>
|
5
|
+
collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
2
|
+
|
3
|
+
import { collectBodyString } from "../common";
|
4
|
+
|
5
|
+
export const parseJsonBody = (streamBody: any, context: SerdeContext): any =>
|
6
|
+
collectBodyString(streamBody, context).then((encoded) => {
|
7
|
+
if (encoded.length) {
|
8
|
+
try {
|
9
|
+
return JSON.parse(encoded);
|
10
|
+
} catch (e: any) {
|
11
|
+
if (e?.name === "SyntaxError") {
|
12
|
+
Object.defineProperty(e, "$responseBodyText", {
|
13
|
+
value: encoded,
|
14
|
+
});
|
15
|
+
}
|
16
|
+
throw e;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return {};
|
20
|
+
});
|
21
|
+
|
22
|
+
export const parseJsonErrorBody = async (errorBody: any, context: SerdeContext) => {
|
23
|
+
const value = await parseJsonBody(errorBody, context);
|
24
|
+
value.message = value.message ?? value.Message;
|
25
|
+
return value;
|
26
|
+
};
|
27
|
+
|
28
|
+
export const loadRestJsonErrorCode = (output: HttpResponse, data: any): string | undefined => {
|
29
|
+
const findKey = (object: any, key: string) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
30
|
+
|
31
|
+
const sanitizeErrorCode = (rawValue: string | number): string => {
|
32
|
+
let cleanValue = rawValue;
|
33
|
+
if (typeof cleanValue === "number") {
|
34
|
+
cleanValue = cleanValue.toString();
|
35
|
+
}
|
36
|
+
if (cleanValue.indexOf(",") >= 0) {
|
37
|
+
cleanValue = cleanValue.split(",")[0];
|
38
|
+
}
|
39
|
+
if (cleanValue.indexOf(":") >= 0) {
|
40
|
+
cleanValue = cleanValue.split(":")[0];
|
41
|
+
}
|
42
|
+
if (cleanValue.indexOf("#") >= 0) {
|
43
|
+
cleanValue = cleanValue.split("#")[1];
|
44
|
+
}
|
45
|
+
return cleanValue;
|
46
|
+
};
|
47
|
+
|
48
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
49
|
+
if (headerKey !== undefined) {
|
50
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
51
|
+
}
|
52
|
+
|
53
|
+
if (data.code !== undefined) {
|
54
|
+
return sanitizeErrorCode(data.code);
|
55
|
+
}
|
56
|
+
|
57
|
+
if (data["__type"] !== undefined) {
|
58
|
+
return sanitizeErrorCode(data["__type"]);
|
59
|
+
}
|
60
|
+
};
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import { getValueFromTextNode } from "@smithy/smithy-client";
|
2
|
+
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
3
|
+
import { XMLParser } from "fast-xml-parser";
|
4
|
+
|
5
|
+
import { collectBodyString } from "../common";
|
6
|
+
|
7
|
+
export const parseXmlBody = (streamBody: any, context: SerdeContext): any =>
|
8
|
+
collectBodyString(streamBody, context).then((encoded) => {
|
9
|
+
if (encoded.length) {
|
10
|
+
const parser = new XMLParser({
|
11
|
+
attributeNamePrefix: "",
|
12
|
+
htmlEntities: true,
|
13
|
+
ignoreAttributes: false,
|
14
|
+
ignoreDeclaration: true,
|
15
|
+
parseTagValue: false,
|
16
|
+
trimValues: false,
|
17
|
+
tagValueProcessor: (_: any, val: any) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
18
|
+
});
|
19
|
+
parser.addEntity("#xD", "\r");
|
20
|
+
parser.addEntity("#10", "\n");
|
21
|
+
|
22
|
+
let parsedObj;
|
23
|
+
try {
|
24
|
+
parsedObj = parser.parse(encoded);
|
25
|
+
} catch (e: any) {
|
26
|
+
if (e && typeof e === "object") {
|
27
|
+
Object.defineProperty(e, "$responseBodyText", {
|
28
|
+
value: encoded,
|
29
|
+
});
|
30
|
+
}
|
31
|
+
throw e;
|
32
|
+
}
|
33
|
+
|
34
|
+
const textNodeName = "#text";
|
35
|
+
const key = Object.keys(parsedObj)[0];
|
36
|
+
const parsedObjToReturn = parsedObj[key];
|
37
|
+
if (parsedObjToReturn[textNodeName]) {
|
38
|
+
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
39
|
+
delete parsedObjToReturn[textNodeName];
|
40
|
+
}
|
41
|
+
return getValueFromTextNode(parsedObjToReturn);
|
42
|
+
}
|
43
|
+
return {};
|
44
|
+
});
|
45
|
+
|
46
|
+
export const parseXmlErrorBody = async (errorBody: any, context: SerdeContext) => {
|
47
|
+
const value = await parseXmlBody(errorBody, context);
|
48
|
+
if (value.Error) {
|
49
|
+
value.Error.message = value.Error.message ?? value.Error.Message;
|
50
|
+
}
|
51
|
+
return value;
|
52
|
+
};
|
53
|
+
|
54
|
+
export const loadRestXmlErrorCode = (output: HttpResponse, data: any): string | undefined => {
|
55
|
+
if (data?.Error?.Code !== undefined) {
|
56
|
+
return data.Error.Code;
|
57
|
+
}
|
58
|
+
if (data?.Code !== undefined) {
|
59
|
+
return data.Code;
|
60
|
+
}
|
61
|
+
if (output.statusCode == 404) {
|
62
|
+
return "NotFound";
|
63
|
+
}
|
64
|
+
};
|