@aws-sdk/client-api-gateway 3.29.0 → 3.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/cjs/APIGatewayClient.js +14 -14
- package/dist/cjs/APIGatewayClient.js.map +1 -1
- package/dist/cjs/commands/CreateApiKeyCommand.js +3 -3
- package/dist/cjs/commands/CreateApiKeyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAuthorizerCommand.js +3 -3
- package/dist/cjs/commands/CreateAuthorizerCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBasePathMappingCommand.js +3 -3
- package/dist/cjs/commands/CreateBasePathMappingCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDeploymentCommand.js +3 -3
- package/dist/cjs/commands/CreateDeploymentCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDocumentationPartCommand.js +3 -3
- package/dist/cjs/commands/CreateDocumentationPartCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDocumentationVersionCommand.js +3 -3
- package/dist/cjs/commands/CreateDocumentationVersionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDomainNameCommand.js +3 -3
- package/dist/cjs/commands/CreateDomainNameCommand.js.map +1 -1
- package/dist/cjs/commands/CreateModelCommand.js +3 -3
- package/dist/cjs/commands/CreateModelCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRequestValidatorCommand.js +3 -3
- package/dist/cjs/commands/CreateRequestValidatorCommand.js.map +1 -1
- package/dist/cjs/commands/CreateResourceCommand.js +3 -3
- package/dist/cjs/commands/CreateResourceCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRestApiCommand.js +3 -3
- package/dist/cjs/commands/CreateRestApiCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStageCommand.js +3 -3
- package/dist/cjs/commands/CreateStageCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUsagePlanCommand.js +3 -3
- package/dist/cjs/commands/CreateUsagePlanCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUsagePlanKeyCommand.js +3 -3
- package/dist/cjs/commands/CreateUsagePlanKeyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateVpcLinkCommand.js +3 -3
- package/dist/cjs/commands/CreateVpcLinkCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteApiKeyCommand.js +3 -3
- package/dist/cjs/commands/DeleteApiKeyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAuthorizerCommand.js +3 -3
- package/dist/cjs/commands/DeleteAuthorizerCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBasePathMappingCommand.js +3 -3
- package/dist/cjs/commands/DeleteBasePathMappingCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteClientCertificateCommand.js +3 -3
- package/dist/cjs/commands/DeleteClientCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDeploymentCommand.js +3 -3
- package/dist/cjs/commands/DeleteDeploymentCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDocumentationPartCommand.js +3 -3
- package/dist/cjs/commands/DeleteDocumentationPartCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDocumentationVersionCommand.js +3 -3
- package/dist/cjs/commands/DeleteDocumentationVersionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDomainNameCommand.js +3 -3
- package/dist/cjs/commands/DeleteDomainNameCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteGatewayResponseCommand.js +3 -3
- package/dist/cjs/commands/DeleteGatewayResponseCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteIntegrationCommand.js +3 -3
- package/dist/cjs/commands/DeleteIntegrationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteIntegrationResponseCommand.js +3 -3
- package/dist/cjs/commands/DeleteIntegrationResponseCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMethodCommand.js +3 -3
- package/dist/cjs/commands/DeleteMethodCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMethodResponseCommand.js +3 -3
- package/dist/cjs/commands/DeleteMethodResponseCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteModelCommand.js +3 -3
- package/dist/cjs/commands/DeleteModelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRequestValidatorCommand.js +3 -3
- package/dist/cjs/commands/DeleteRequestValidatorCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteResourceCommand.js +3 -3
- package/dist/cjs/commands/DeleteResourceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRestApiCommand.js +3 -3
- package/dist/cjs/commands/DeleteRestApiCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStageCommand.js +3 -3
- package/dist/cjs/commands/DeleteStageCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUsagePlanCommand.js +3 -3
- package/dist/cjs/commands/DeleteUsagePlanCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUsagePlanKeyCommand.js +3 -3
- package/dist/cjs/commands/DeleteUsagePlanKeyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteVpcLinkCommand.js +3 -3
- package/dist/cjs/commands/DeleteVpcLinkCommand.js.map +1 -1
- package/dist/cjs/commands/FlushStageAuthorizersCacheCommand.js +3 -3
- package/dist/cjs/commands/FlushStageAuthorizersCacheCommand.js.map +1 -1
- package/dist/cjs/commands/FlushStageCacheCommand.js +3 -3
- package/dist/cjs/commands/FlushStageCacheCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateClientCertificateCommand.js +3 -3
- package/dist/cjs/commands/GenerateClientCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccountCommand.js +3 -3
- package/dist/cjs/commands/GetAccountCommand.js.map +1 -1
- package/dist/cjs/commands/GetApiKeyCommand.js +3 -3
- package/dist/cjs/commands/GetApiKeyCommand.js.map +1 -1
- package/dist/cjs/commands/GetApiKeysCommand.js +3 -3
- package/dist/cjs/commands/GetApiKeysCommand.js.map +1 -1
- package/dist/cjs/commands/GetAuthorizerCommand.js +3 -3
- package/dist/cjs/commands/GetAuthorizerCommand.js.map +1 -1
- package/dist/cjs/commands/GetAuthorizersCommand.js +3 -3
- package/dist/cjs/commands/GetAuthorizersCommand.js.map +1 -1
- package/dist/cjs/commands/GetBasePathMappingCommand.js +3 -3
- package/dist/cjs/commands/GetBasePathMappingCommand.js.map +1 -1
- package/dist/cjs/commands/GetBasePathMappingsCommand.js +3 -3
- package/dist/cjs/commands/GetBasePathMappingsCommand.js.map +1 -1
- package/dist/cjs/commands/GetClientCertificateCommand.js +3 -3
- package/dist/cjs/commands/GetClientCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/GetClientCertificatesCommand.js +3 -3
- package/dist/cjs/commands/GetClientCertificatesCommand.js.map +1 -1
- package/dist/cjs/commands/GetDeploymentCommand.js +3 -3
- package/dist/cjs/commands/GetDeploymentCommand.js.map +1 -1
- package/dist/cjs/commands/GetDeploymentsCommand.js +3 -3
- package/dist/cjs/commands/GetDeploymentsCommand.js.map +1 -1
- package/dist/cjs/commands/GetDocumentationPartCommand.js +3 -3
- package/dist/cjs/commands/GetDocumentationPartCommand.js.map +1 -1
- package/dist/cjs/commands/GetDocumentationPartsCommand.js +3 -3
- package/dist/cjs/commands/GetDocumentationPartsCommand.js.map +1 -1
- package/dist/cjs/commands/GetDocumentationVersionCommand.js +3 -3
- package/dist/cjs/commands/GetDocumentationVersionCommand.js.map +1 -1
- package/dist/cjs/commands/GetDocumentationVersionsCommand.js +3 -3
- package/dist/cjs/commands/GetDocumentationVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/GetDomainNameCommand.js +3 -3
- package/dist/cjs/commands/GetDomainNameCommand.js.map +1 -1
- package/dist/cjs/commands/GetDomainNamesCommand.js +3 -3
- package/dist/cjs/commands/GetDomainNamesCommand.js.map +1 -1
- package/dist/cjs/commands/GetExportCommand.js +3 -3
- package/dist/cjs/commands/GetExportCommand.js.map +1 -1
- package/dist/cjs/commands/GetGatewayResponseCommand.js +3 -3
- package/dist/cjs/commands/GetGatewayResponseCommand.js.map +1 -1
- package/dist/cjs/commands/GetGatewayResponsesCommand.js +3 -3
- package/dist/cjs/commands/GetGatewayResponsesCommand.js.map +1 -1
- package/dist/cjs/commands/GetIntegrationCommand.js +3 -3
- package/dist/cjs/commands/GetIntegrationCommand.js.map +1 -1
- package/dist/cjs/commands/GetIntegrationResponseCommand.js +3 -3
- package/dist/cjs/commands/GetIntegrationResponseCommand.js.map +1 -1
- package/dist/cjs/commands/GetMethodCommand.js +3 -3
- package/dist/cjs/commands/GetMethodCommand.js.map +1 -1
- package/dist/cjs/commands/GetMethodResponseCommand.js +3 -3
- package/dist/cjs/commands/GetMethodResponseCommand.js.map +1 -1
- package/dist/cjs/commands/GetModelCommand.js +3 -3
- package/dist/cjs/commands/GetModelCommand.js.map +1 -1
- package/dist/cjs/commands/GetModelTemplateCommand.js +3 -3
- package/dist/cjs/commands/GetModelTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/GetModelsCommand.js +3 -3
- package/dist/cjs/commands/GetModelsCommand.js.map +1 -1
- package/dist/cjs/commands/GetRequestValidatorCommand.js +3 -3
- package/dist/cjs/commands/GetRequestValidatorCommand.js.map +1 -1
- package/dist/cjs/commands/GetRequestValidatorsCommand.js +3 -3
- package/dist/cjs/commands/GetRequestValidatorsCommand.js.map +1 -1
- package/dist/cjs/commands/GetResourceCommand.js +3 -3
- package/dist/cjs/commands/GetResourceCommand.js.map +1 -1
- package/dist/cjs/commands/GetResourcesCommand.js +3 -3
- package/dist/cjs/commands/GetResourcesCommand.js.map +1 -1
- package/dist/cjs/commands/GetRestApiCommand.js +3 -3
- package/dist/cjs/commands/GetRestApiCommand.js.map +1 -1
- package/dist/cjs/commands/GetRestApisCommand.js +3 -3
- package/dist/cjs/commands/GetRestApisCommand.js.map +1 -1
- package/dist/cjs/commands/GetSdkCommand.js +3 -3
- package/dist/cjs/commands/GetSdkCommand.js.map +1 -1
- package/dist/cjs/commands/GetSdkTypeCommand.js +3 -3
- package/dist/cjs/commands/GetSdkTypeCommand.js.map +1 -1
- package/dist/cjs/commands/GetSdkTypesCommand.js +3 -3
- package/dist/cjs/commands/GetSdkTypesCommand.js.map +1 -1
- package/dist/cjs/commands/GetStageCommand.js +3 -3
- package/dist/cjs/commands/GetStageCommand.js.map +1 -1
- package/dist/cjs/commands/GetStagesCommand.js +3 -3
- package/dist/cjs/commands/GetStagesCommand.js.map +1 -1
- package/dist/cjs/commands/GetTagsCommand.js +3 -3
- package/dist/cjs/commands/GetTagsCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsageCommand.js +3 -3
- package/dist/cjs/commands/GetUsageCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsagePlanCommand.js +3 -3
- package/dist/cjs/commands/GetUsagePlanCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsagePlanKeyCommand.js +3 -3
- package/dist/cjs/commands/GetUsagePlanKeyCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsagePlanKeysCommand.js +3 -3
- package/dist/cjs/commands/GetUsagePlanKeysCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsagePlansCommand.js +3 -3
- package/dist/cjs/commands/GetUsagePlansCommand.js.map +1 -1
- package/dist/cjs/commands/GetVpcLinkCommand.js +3 -3
- package/dist/cjs/commands/GetVpcLinkCommand.js.map +1 -1
- package/dist/cjs/commands/GetVpcLinksCommand.js +3 -3
- package/dist/cjs/commands/GetVpcLinksCommand.js.map +1 -1
- package/dist/cjs/commands/ImportApiKeysCommand.js +3 -3
- package/dist/cjs/commands/ImportApiKeysCommand.js.map +1 -1
- package/dist/cjs/commands/ImportDocumentationPartsCommand.js +3 -3
- package/dist/cjs/commands/ImportDocumentationPartsCommand.js.map +1 -1
- package/dist/cjs/commands/ImportRestApiCommand.js +3 -3
- package/dist/cjs/commands/ImportRestApiCommand.js.map +1 -1
- package/dist/cjs/commands/PutGatewayResponseCommand.js +3 -3
- package/dist/cjs/commands/PutGatewayResponseCommand.js.map +1 -1
- package/dist/cjs/commands/PutIntegrationCommand.js +3 -3
- package/dist/cjs/commands/PutIntegrationCommand.js.map +1 -1
- package/dist/cjs/commands/PutIntegrationResponseCommand.js +3 -3
- package/dist/cjs/commands/PutIntegrationResponseCommand.js.map +1 -1
- package/dist/cjs/commands/PutMethodCommand.js +3 -3
- package/dist/cjs/commands/PutMethodCommand.js.map +1 -1
- package/dist/cjs/commands/PutMethodResponseCommand.js +3 -3
- package/dist/cjs/commands/PutMethodResponseCommand.js.map +1 -1
- package/dist/cjs/commands/PutRestApiCommand.js +3 -3
- package/dist/cjs/commands/PutRestApiCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TestInvokeAuthorizerCommand.js +3 -3
- package/dist/cjs/commands/TestInvokeAuthorizerCommand.js.map +1 -1
- package/dist/cjs/commands/TestInvokeMethodCommand.js +3 -3
- package/dist/cjs/commands/TestInvokeMethodCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAccountCommand.js +3 -3
- package/dist/cjs/commands/UpdateAccountCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateApiKeyCommand.js +3 -3
- package/dist/cjs/commands/UpdateApiKeyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAuthorizerCommand.js +3 -3
- package/dist/cjs/commands/UpdateAuthorizerCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBasePathMappingCommand.js +3 -3
- package/dist/cjs/commands/UpdateBasePathMappingCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateClientCertificateCommand.js +3 -3
- package/dist/cjs/commands/UpdateClientCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDeploymentCommand.js +3 -3
- package/dist/cjs/commands/UpdateDeploymentCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDocumentationPartCommand.js +3 -3
- package/dist/cjs/commands/UpdateDocumentationPartCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDocumentationVersionCommand.js +3 -3
- package/dist/cjs/commands/UpdateDocumentationVersionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDomainNameCommand.js +3 -3
- package/dist/cjs/commands/UpdateDomainNameCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateGatewayResponseCommand.js +3 -3
- package/dist/cjs/commands/UpdateGatewayResponseCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateIntegrationCommand.js +3 -3
- package/dist/cjs/commands/UpdateIntegrationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateIntegrationResponseCommand.js +3 -3
- package/dist/cjs/commands/UpdateIntegrationResponseCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMethodCommand.js +3 -3
- package/dist/cjs/commands/UpdateMethodCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMethodResponseCommand.js +3 -3
- package/dist/cjs/commands/UpdateMethodResponseCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateModelCommand.js +3 -3
- package/dist/cjs/commands/UpdateModelCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRequestValidatorCommand.js +3 -3
- package/dist/cjs/commands/UpdateRequestValidatorCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateResourceCommand.js +3 -3
- package/dist/cjs/commands/UpdateResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRestApiCommand.js +3 -3
- package/dist/cjs/commands/UpdateRestApiCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateStageCommand.js +3 -3
- package/dist/cjs/commands/UpdateStageCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUsageCommand.js +3 -3
- package/dist/cjs/commands/UpdateUsageCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUsagePlanCommand.js +3 -3
- package/dist/cjs/commands/UpdateUsagePlanCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateVpcLinkCommand.js +3 -3
- package/dist/cjs/commands/UpdateVpcLinkCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +136 -136
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_restJson1.js +860 -860
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/pagination/GetApiKeysPaginator.js +4 -4
- package/dist/es/pagination/GetApiKeysPaginator.js.map +1 -1
- package/dist/es/pagination/GetBasePathMappingsPaginator.js +4 -4
- package/dist/es/pagination/GetBasePathMappingsPaginator.js.map +1 -1
- package/dist/es/pagination/GetClientCertificatesPaginator.js +4 -4
- package/dist/es/pagination/GetClientCertificatesPaginator.js.map +1 -1
- package/dist/es/pagination/GetDeploymentsPaginator.js +4 -4
- package/dist/es/pagination/GetDeploymentsPaginator.js.map +1 -1
- package/dist/es/pagination/GetDomainNamesPaginator.js +4 -4
- package/dist/es/pagination/GetDomainNamesPaginator.js.map +1 -1
- package/dist/es/pagination/GetModelsPaginator.js +4 -4
- package/dist/es/pagination/GetModelsPaginator.js.map +1 -1
- package/dist/es/pagination/GetResourcesPaginator.js +4 -4
- package/dist/es/pagination/GetResourcesPaginator.js.map +1 -1
- package/dist/es/pagination/GetRestApisPaginator.js +4 -4
- package/dist/es/pagination/GetRestApisPaginator.js.map +1 -1
- package/dist/es/pagination/GetUsagePaginator.js +4 -4
- package/dist/es/pagination/GetUsagePaginator.js.map +1 -1
- package/dist/es/pagination/GetUsagePlanKeysPaginator.js +4 -4
- package/dist/es/pagination/GetUsagePlanKeysPaginator.js.map +1 -1
- package/dist/es/pagination/GetUsagePlansPaginator.js +4 -4
- package/dist/es/pagination/GetUsagePlansPaginator.js.map +1 -1
- package/dist/es/pagination/GetVpcLinksPaginator.js +4 -4
- package/dist/es/pagination/GetVpcLinksPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +43 -43
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_restJson1.ts +44 -42
- package/tsconfig.json +1 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-api-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.33.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,46 +27,46 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-sdk-api-gateway": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
-
"@aws-sdk/node-http-handler": "3.
|
|
47
|
-
"@aws-sdk/protocol-http": "3.
|
|
48
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
-
"@aws-sdk/types": "3.
|
|
50
|
-
"@aws-sdk/url-parser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
52
|
-
"@aws-sdk/util-base64-node": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
54
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
58
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.33.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.33.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.33.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-sdk-api-gateway": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.33.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
46
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
47
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
48
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
49
|
+
"@aws-sdk/types": "3.32.0",
|
|
50
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.33.0",
|
|
57
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
59
59
|
"tslib": "^2.3.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
62
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"downlevel-dts": "0.7.0",
|
|
65
65
|
"jest": "^26.1.0",
|
|
66
66
|
"rimraf": "^3.0.0",
|
|
67
67
|
"ts-jest": "^26.4.1",
|
|
68
68
|
"typedoc": "^0.19.2",
|
|
69
|
-
"typescript": "~4.
|
|
69
|
+
"typescript": "~4.3.5"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
72
|
"node": ">=10.0.0"
|
|
@@ -280,10 +280,12 @@ import {
|
|
|
280
280
|
expectInt32 as __expectInt32,
|
|
281
281
|
expectLong as __expectLong,
|
|
282
282
|
expectNonNull as __expectNonNull,
|
|
283
|
+
expectNumber as __expectNumber,
|
|
283
284
|
expectObject as __expectObject,
|
|
284
285
|
expectString as __expectString,
|
|
285
286
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
286
287
|
limitedParseDouble as __limitedParseDouble,
|
|
288
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
287
289
|
serializeFloat as __serializeFloat,
|
|
288
290
|
} from "@aws-sdk/smithy-client";
|
|
289
291
|
import {
|
|
@@ -5165,7 +5167,7 @@ export const deserializeAws_restJson1CreateApiKeyCommand = async (
|
|
|
5165
5167
|
};
|
|
5166
5168
|
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5167
5169
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
5168
|
-
contents.createdDate =
|
|
5170
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
5169
5171
|
}
|
|
5170
5172
|
if (data.customerId !== undefined && data.customerId !== null) {
|
|
5171
5173
|
contents.customerId = __expectString(data.customerId);
|
|
@@ -5180,7 +5182,7 @@ export const deserializeAws_restJson1CreateApiKeyCommand = async (
|
|
|
5180
5182
|
contents.id = __expectString(data.id);
|
|
5181
5183
|
}
|
|
5182
5184
|
if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
|
|
5183
|
-
contents.lastUpdatedDate =
|
|
5185
|
+
contents.lastUpdatedDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDate)));
|
|
5184
5186
|
}
|
|
5185
5187
|
if (data.name !== undefined && data.name !== null) {
|
|
5186
5188
|
contents.name = __expectString(data.name);
|
|
@@ -5527,7 +5529,7 @@ export const deserializeAws_restJson1CreateDeploymentCommand = async (
|
|
|
5527
5529
|
contents.apiSummary = deserializeAws_restJson1PathToMapOfMethodSnapshot(data.apiSummary, context);
|
|
5528
5530
|
}
|
|
5529
5531
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
5530
|
-
contents.createdDate =
|
|
5532
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
5531
5533
|
}
|
|
5532
5534
|
if (data.description !== undefined && data.description !== null) {
|
|
5533
5535
|
contents.description = __expectString(data.description);
|
|
@@ -5741,7 +5743,7 @@ export const deserializeAws_restJson1CreateDocumentationVersionCommand = async (
|
|
|
5741
5743
|
};
|
|
5742
5744
|
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5743
5745
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
5744
|
-
contents.createdDate =
|
|
5746
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
5745
5747
|
}
|
|
5746
5748
|
if (data.description !== undefined && data.description !== null) {
|
|
5747
5749
|
contents.description = __expectString(data.description);
|
|
@@ -5864,7 +5866,7 @@ export const deserializeAws_restJson1CreateDomainNameCommand = async (
|
|
|
5864
5866
|
contents.certificateName = __expectString(data.certificateName);
|
|
5865
5867
|
}
|
|
5866
5868
|
if (data.certificateUploadDate !== undefined && data.certificateUploadDate !== null) {
|
|
5867
|
-
contents.certificateUploadDate =
|
|
5869
|
+
contents.certificateUploadDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.certificateUploadDate)));
|
|
5868
5870
|
}
|
|
5869
5871
|
if (data.distributionDomainName !== undefined && data.distributionDomainName !== null) {
|
|
5870
5872
|
contents.distributionDomainName = __expectString(data.distributionDomainName);
|
|
@@ -6343,7 +6345,7 @@ export const deserializeAws_restJson1CreateRestApiCommand = async (
|
|
|
6343
6345
|
contents.binaryMediaTypes = deserializeAws_restJson1ListOfString(data.binaryMediaTypes, context);
|
|
6344
6346
|
}
|
|
6345
6347
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
6346
|
-
contents.createdDate =
|
|
6348
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
6347
6349
|
}
|
|
6348
6350
|
if (data.description !== undefined && data.description !== null) {
|
|
6349
6351
|
contents.description = __expectString(data.description);
|
|
@@ -6494,7 +6496,7 @@ export const deserializeAws_restJson1CreateStageCommand = async (
|
|
|
6494
6496
|
contents.clientCertificateId = __expectString(data.clientCertificateId);
|
|
6495
6497
|
}
|
|
6496
6498
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
6497
|
-
contents.createdDate =
|
|
6499
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
6498
6500
|
}
|
|
6499
6501
|
if (data.deploymentId !== undefined && data.deploymentId !== null) {
|
|
6500
6502
|
contents.deploymentId = __expectString(data.deploymentId);
|
|
@@ -6506,7 +6508,7 @@ export const deserializeAws_restJson1CreateStageCommand = async (
|
|
|
6506
6508
|
contents.documentationVersion = __expectString(data.documentationVersion);
|
|
6507
6509
|
}
|
|
6508
6510
|
if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
|
|
6509
|
-
contents.lastUpdatedDate =
|
|
6511
|
+
contents.lastUpdatedDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDate)));
|
|
6510
6512
|
}
|
|
6511
6513
|
if (data.methodSettings !== undefined && data.methodSettings !== null) {
|
|
6512
6514
|
contents.methodSettings = deserializeAws_restJson1MapOfMethodSettings(data.methodSettings, context);
|
|
@@ -8901,13 +8903,13 @@ export const deserializeAws_restJson1GenerateClientCertificateCommand = async (
|
|
|
8901
8903
|
contents.clientCertificateId = __expectString(data.clientCertificateId);
|
|
8902
8904
|
}
|
|
8903
8905
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
8904
|
-
contents.createdDate =
|
|
8906
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
8905
8907
|
}
|
|
8906
8908
|
if (data.description !== undefined && data.description !== null) {
|
|
8907
8909
|
contents.description = __expectString(data.description);
|
|
8908
8910
|
}
|
|
8909
8911
|
if (data.expirationDate !== undefined && data.expirationDate !== null) {
|
|
8910
|
-
contents.expirationDate =
|
|
8912
|
+
contents.expirationDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.expirationDate)));
|
|
8911
8913
|
}
|
|
8912
8914
|
if (data.pemEncodedCertificate !== undefined && data.pemEncodedCertificate !== null) {
|
|
8913
8915
|
contents.pemEncodedCertificate = __expectString(data.pemEncodedCertificate);
|
|
@@ -9100,7 +9102,7 @@ export const deserializeAws_restJson1GetApiKeyCommand = async (
|
|
|
9100
9102
|
};
|
|
9101
9103
|
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9102
9104
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
9103
|
-
contents.createdDate =
|
|
9105
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
9104
9106
|
}
|
|
9105
9107
|
if (data.customerId !== undefined && data.customerId !== null) {
|
|
9106
9108
|
contents.customerId = __expectString(data.customerId);
|
|
@@ -9115,7 +9117,7 @@ export const deserializeAws_restJson1GetApiKeyCommand = async (
|
|
|
9115
9117
|
contents.id = __expectString(data.id);
|
|
9116
9118
|
}
|
|
9117
9119
|
if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
|
|
9118
|
-
contents.lastUpdatedDate =
|
|
9120
|
+
contents.lastUpdatedDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDate)));
|
|
9119
9121
|
}
|
|
9120
9122
|
if (data.name !== undefined && data.name !== null) {
|
|
9121
9123
|
contents.name = __expectString(data.name);
|
|
@@ -9669,13 +9671,13 @@ export const deserializeAws_restJson1GetClientCertificateCommand = async (
|
|
|
9669
9671
|
contents.clientCertificateId = __expectString(data.clientCertificateId);
|
|
9670
9672
|
}
|
|
9671
9673
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
9672
|
-
contents.createdDate =
|
|
9674
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
9673
9675
|
}
|
|
9674
9676
|
if (data.description !== undefined && data.description !== null) {
|
|
9675
9677
|
contents.description = __expectString(data.description);
|
|
9676
9678
|
}
|
|
9677
9679
|
if (data.expirationDate !== undefined && data.expirationDate !== null) {
|
|
9678
|
-
contents.expirationDate =
|
|
9680
|
+
contents.expirationDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.expirationDate)));
|
|
9679
9681
|
}
|
|
9680
9682
|
if (data.pemEncodedCertificate !== undefined && data.pemEncodedCertificate !== null) {
|
|
9681
9683
|
contents.pemEncodedCertificate = __expectString(data.pemEncodedCertificate);
|
|
@@ -9849,7 +9851,7 @@ export const deserializeAws_restJson1GetDeploymentCommand = async (
|
|
|
9849
9851
|
contents.apiSummary = deserializeAws_restJson1PathToMapOfMethodSnapshot(data.apiSummary, context);
|
|
9850
9852
|
}
|
|
9851
9853
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
9852
|
-
contents.createdDate =
|
|
9854
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
9853
9855
|
}
|
|
9854
9856
|
if (data.description !== undefined && data.description !== null) {
|
|
9855
9857
|
contents.description = __expectString(data.description);
|
|
@@ -10205,7 +10207,7 @@ export const deserializeAws_restJson1GetDocumentationVersionCommand = async (
|
|
|
10205
10207
|
};
|
|
10206
10208
|
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10207
10209
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
10208
|
-
contents.createdDate =
|
|
10210
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
10209
10211
|
}
|
|
10210
10212
|
if (data.description !== undefined && data.description !== null) {
|
|
10211
10213
|
contents.description = __expectString(data.description);
|
|
@@ -10387,7 +10389,7 @@ export const deserializeAws_restJson1GetDomainNameCommand = async (
|
|
|
10387
10389
|
contents.certificateName = __expectString(data.certificateName);
|
|
10388
10390
|
}
|
|
10389
10391
|
if (data.certificateUploadDate !== undefined && data.certificateUploadDate !== null) {
|
|
10390
|
-
contents.certificateUploadDate =
|
|
10392
|
+
contents.certificateUploadDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.certificateUploadDate)));
|
|
10391
10393
|
}
|
|
10392
10394
|
if (data.distributionDomainName !== undefined && data.distributionDomainName !== null) {
|
|
10393
10395
|
contents.distributionDomainName = __expectString(data.distributionDomainName);
|
|
@@ -11915,7 +11917,7 @@ export const deserializeAws_restJson1GetRestApiCommand = async (
|
|
|
11915
11917
|
contents.binaryMediaTypes = deserializeAws_restJson1ListOfString(data.binaryMediaTypes, context);
|
|
11916
11918
|
}
|
|
11917
11919
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
11918
|
-
contents.createdDate =
|
|
11920
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
11919
11921
|
}
|
|
11920
11922
|
if (data.description !== undefined && data.description !== null) {
|
|
11921
11923
|
contents.description = __expectString(data.description);
|
|
@@ -12415,7 +12417,7 @@ export const deserializeAws_restJson1GetStageCommand = async (
|
|
|
12415
12417
|
contents.clientCertificateId = __expectString(data.clientCertificateId);
|
|
12416
12418
|
}
|
|
12417
12419
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
12418
|
-
contents.createdDate =
|
|
12420
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
12419
12421
|
}
|
|
12420
12422
|
if (data.deploymentId !== undefined && data.deploymentId !== null) {
|
|
12421
12423
|
contents.deploymentId = __expectString(data.deploymentId);
|
|
@@ -12427,7 +12429,7 @@ export const deserializeAws_restJson1GetStageCommand = async (
|
|
|
12427
12429
|
contents.documentationVersion = __expectString(data.documentationVersion);
|
|
12428
12430
|
}
|
|
12429
12431
|
if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
|
|
12430
|
-
contents.lastUpdatedDate =
|
|
12432
|
+
contents.lastUpdatedDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDate)));
|
|
12431
12433
|
}
|
|
12432
12434
|
if (data.methodSettings !== undefined && data.methodSettings !== null) {
|
|
12433
12435
|
contents.methodSettings = deserializeAws_restJson1MapOfMethodSettings(data.methodSettings, context);
|
|
@@ -13575,7 +13577,7 @@ export const deserializeAws_restJson1ImportRestApiCommand = async (
|
|
|
13575
13577
|
contents.binaryMediaTypes = deserializeAws_restJson1ListOfString(data.binaryMediaTypes, context);
|
|
13576
13578
|
}
|
|
13577
13579
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
13578
|
-
contents.createdDate =
|
|
13580
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
13579
13581
|
}
|
|
13580
13582
|
if (data.description !== undefined && data.description !== null) {
|
|
13581
13583
|
contents.description = __expectString(data.description);
|
|
@@ -14332,7 +14334,7 @@ export const deserializeAws_restJson1PutRestApiCommand = async (
|
|
|
14332
14334
|
contents.binaryMediaTypes = deserializeAws_restJson1ListOfString(data.binaryMediaTypes, context);
|
|
14333
14335
|
}
|
|
14334
14336
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
14335
|
-
contents.createdDate =
|
|
14337
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
14336
14338
|
}
|
|
14337
14339
|
if (data.description !== undefined && data.description !== null) {
|
|
14338
14340
|
contents.description = __expectString(data.description);
|
|
@@ -14957,7 +14959,7 @@ export const deserializeAws_restJson1UpdateApiKeyCommand = async (
|
|
|
14957
14959
|
};
|
|
14958
14960
|
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
14959
14961
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
14960
|
-
contents.createdDate =
|
|
14962
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
14961
14963
|
}
|
|
14962
14964
|
if (data.customerId !== undefined && data.customerId !== null) {
|
|
14963
14965
|
contents.customerId = __expectString(data.customerId);
|
|
@@ -14972,7 +14974,7 @@ export const deserializeAws_restJson1UpdateApiKeyCommand = async (
|
|
|
14972
14974
|
contents.id = __expectString(data.id);
|
|
14973
14975
|
}
|
|
14974
14976
|
if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
|
|
14975
|
-
contents.lastUpdatedDate =
|
|
14977
|
+
contents.lastUpdatedDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDate)));
|
|
14976
14978
|
}
|
|
14977
14979
|
if (data.name !== undefined && data.name !== null) {
|
|
14978
14980
|
contents.name = __expectString(data.name);
|
|
@@ -15321,13 +15323,13 @@ export const deserializeAws_restJson1UpdateClientCertificateCommand = async (
|
|
|
15321
15323
|
contents.clientCertificateId = __expectString(data.clientCertificateId);
|
|
15322
15324
|
}
|
|
15323
15325
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
15324
|
-
contents.createdDate =
|
|
15326
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
15325
15327
|
}
|
|
15326
15328
|
if (data.description !== undefined && data.description !== null) {
|
|
15327
15329
|
contents.description = __expectString(data.description);
|
|
15328
15330
|
}
|
|
15329
15331
|
if (data.expirationDate !== undefined && data.expirationDate !== null) {
|
|
15330
|
-
contents.expirationDate =
|
|
15332
|
+
contents.expirationDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.expirationDate)));
|
|
15331
15333
|
}
|
|
15332
15334
|
if (data.pemEncodedCertificate !== undefined && data.pemEncodedCertificate !== null) {
|
|
15333
15335
|
contents.pemEncodedCertificate = __expectString(data.pemEncodedCertificate);
|
|
@@ -15434,7 +15436,7 @@ export const deserializeAws_restJson1UpdateDeploymentCommand = async (
|
|
|
15434
15436
|
contents.apiSummary = deserializeAws_restJson1PathToMapOfMethodSnapshot(data.apiSummary, context);
|
|
15435
15437
|
}
|
|
15436
15438
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
15437
|
-
contents.createdDate =
|
|
15439
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
15438
15440
|
}
|
|
15439
15441
|
if (data.description !== undefined && data.description !== null) {
|
|
15440
15442
|
contents.description = __expectString(data.description);
|
|
@@ -15648,7 +15650,7 @@ export const deserializeAws_restJson1UpdateDocumentationVersionCommand = async (
|
|
|
15648
15650
|
};
|
|
15649
15651
|
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15650
15652
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
15651
|
-
contents.createdDate =
|
|
15653
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
15652
15654
|
}
|
|
15653
15655
|
if (data.description !== undefined && data.description !== null) {
|
|
15654
15656
|
contents.description = __expectString(data.description);
|
|
@@ -15771,7 +15773,7 @@ export const deserializeAws_restJson1UpdateDomainNameCommand = async (
|
|
|
15771
15773
|
contents.certificateName = __expectString(data.certificateName);
|
|
15772
15774
|
}
|
|
15773
15775
|
if (data.certificateUploadDate !== undefined && data.certificateUploadDate !== null) {
|
|
15774
|
-
contents.certificateUploadDate =
|
|
15776
|
+
contents.certificateUploadDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.certificateUploadDate)));
|
|
15775
15777
|
}
|
|
15776
15778
|
if (data.distributionDomainName !== undefined && data.distributionDomainName !== null) {
|
|
15777
15779
|
contents.distributionDomainName = __expectString(data.distributionDomainName);
|
|
@@ -16856,7 +16858,7 @@ export const deserializeAws_restJson1UpdateRestApiCommand = async (
|
|
|
16856
16858
|
contents.binaryMediaTypes = deserializeAws_restJson1ListOfString(data.binaryMediaTypes, context);
|
|
16857
16859
|
}
|
|
16858
16860
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
16859
|
-
contents.createdDate =
|
|
16861
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
16860
16862
|
}
|
|
16861
16863
|
if (data.description !== undefined && data.description !== null) {
|
|
16862
16864
|
contents.description = __expectString(data.description);
|
|
@@ -17015,7 +17017,7 @@ export const deserializeAws_restJson1UpdateStageCommand = async (
|
|
|
17015
17017
|
contents.clientCertificateId = __expectString(data.clientCertificateId);
|
|
17016
17018
|
}
|
|
17017
17019
|
if (data.createdDate !== undefined && data.createdDate !== null) {
|
|
17018
|
-
contents.createdDate =
|
|
17020
|
+
contents.createdDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.createdDate)));
|
|
17019
17021
|
}
|
|
17020
17022
|
if (data.deploymentId !== undefined && data.deploymentId !== null) {
|
|
17021
17023
|
contents.deploymentId = __expectString(data.deploymentId);
|
|
@@ -17027,7 +17029,7 @@ export const deserializeAws_restJson1UpdateStageCommand = async (
|
|
|
17027
17029
|
contents.documentationVersion = __expectString(data.documentationVersion);
|
|
17028
17030
|
}
|
|
17029
17031
|
if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
|
|
17030
|
-
contents.lastUpdatedDate =
|
|
17032
|
+
contents.lastUpdatedDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDate)));
|
|
17031
17033
|
}
|
|
17032
17034
|
if (data.methodSettings !== undefined && data.methodSettings !== null) {
|
|
17033
17035
|
contents.methodSettings = deserializeAws_restJson1MapOfMethodSettings(data.methodSettings, context);
|
|
@@ -17854,7 +17856,7 @@ const deserializeAws_restJson1ApiKey = (output: any, context: __SerdeContext): A
|
|
|
17854
17856
|
return {
|
|
17855
17857
|
createdDate:
|
|
17856
17858
|
output.createdDate !== undefined && output.createdDate !== null
|
|
17857
|
-
?
|
|
17859
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdDate)))
|
|
17858
17860
|
: undefined,
|
|
17859
17861
|
customerId: __expectString(output.customerId),
|
|
17860
17862
|
description: __expectString(output.description),
|
|
@@ -17862,7 +17864,7 @@ const deserializeAws_restJson1ApiKey = (output: any, context: __SerdeContext): A
|
|
|
17862
17864
|
id: __expectString(output.id),
|
|
17863
17865
|
lastUpdatedDate:
|
|
17864
17866
|
output.lastUpdatedDate !== undefined && output.lastUpdatedDate !== null
|
|
17865
|
-
?
|
|
17867
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDate)))
|
|
17866
17868
|
: undefined,
|
|
17867
17869
|
name: __expectString(output.name),
|
|
17868
17870
|
stageKeys:
|
|
@@ -17931,12 +17933,12 @@ const deserializeAws_restJson1ClientCertificate = (output: any, context: __Serde
|
|
|
17931
17933
|
clientCertificateId: __expectString(output.clientCertificateId),
|
|
17932
17934
|
createdDate:
|
|
17933
17935
|
output.createdDate !== undefined && output.createdDate !== null
|
|
17934
|
-
?
|
|
17936
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdDate)))
|
|
17935
17937
|
: undefined,
|
|
17936
17938
|
description: __expectString(output.description),
|
|
17937
17939
|
expirationDate:
|
|
17938
17940
|
output.expirationDate !== undefined && output.expirationDate !== null
|
|
17939
|
-
?
|
|
17941
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expirationDate)))
|
|
17940
17942
|
: undefined,
|
|
17941
17943
|
pemEncodedCertificate: __expectString(output.pemEncodedCertificate),
|
|
17942
17944
|
tags:
|
|
@@ -17954,7 +17956,7 @@ const deserializeAws_restJson1Deployment = (output: any, context: __SerdeContext
|
|
|
17954
17956
|
: undefined,
|
|
17955
17957
|
createdDate:
|
|
17956
17958
|
output.createdDate !== undefined && output.createdDate !== null
|
|
17957
|
-
?
|
|
17959
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdDate)))
|
|
17958
17960
|
: undefined,
|
|
17959
17961
|
description: __expectString(output.description),
|
|
17960
17962
|
id: __expectString(output.id),
|
|
@@ -17989,7 +17991,7 @@ const deserializeAws_restJson1DocumentationVersion = (output: any, context: __Se
|
|
|
17989
17991
|
return {
|
|
17990
17992
|
createdDate:
|
|
17991
17993
|
output.createdDate !== undefined && output.createdDate !== null
|
|
17992
|
-
?
|
|
17994
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdDate)))
|
|
17993
17995
|
: undefined,
|
|
17994
17996
|
description: __expectString(output.description),
|
|
17995
17997
|
version: __expectString(output.version),
|
|
@@ -18002,7 +18004,7 @@ const deserializeAws_restJson1DomainName = (output: any, context: __SerdeContext
|
|
|
18002
18004
|
certificateName: __expectString(output.certificateName),
|
|
18003
18005
|
certificateUploadDate:
|
|
18004
18006
|
output.certificateUploadDate !== undefined && output.certificateUploadDate !== null
|
|
18005
|
-
?
|
|
18007
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.certificateUploadDate)))
|
|
18006
18008
|
: undefined,
|
|
18007
18009
|
distributionDomainName: __expectString(output.distributionDomainName),
|
|
18008
18010
|
distributionHostedZoneId: __expectString(output.distributionHostedZoneId),
|
|
@@ -18689,7 +18691,7 @@ const deserializeAws_restJson1RestApi = (output: any, context: __SerdeContext):
|
|
|
18689
18691
|
: undefined,
|
|
18690
18692
|
createdDate:
|
|
18691
18693
|
output.createdDate !== undefined && output.createdDate !== null
|
|
18692
|
-
?
|
|
18694
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdDate)))
|
|
18693
18695
|
: undefined,
|
|
18694
18696
|
description: __expectString(output.description),
|
|
18695
18697
|
disableExecuteApiEndpoint: __expectBoolean(output.disableExecuteApiEndpoint),
|
|
@@ -18754,14 +18756,14 @@ const deserializeAws_restJson1Stage = (output: any, context: __SerdeContext): St
|
|
|
18754
18756
|
clientCertificateId: __expectString(output.clientCertificateId),
|
|
18755
18757
|
createdDate:
|
|
18756
18758
|
output.createdDate !== undefined && output.createdDate !== null
|
|
18757
|
-
?
|
|
18759
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdDate)))
|
|
18758
18760
|
: undefined,
|
|
18759
18761
|
deploymentId: __expectString(output.deploymentId),
|
|
18760
18762
|
description: __expectString(output.description),
|
|
18761
18763
|
documentationVersion: __expectString(output.documentationVersion),
|
|
18762
18764
|
lastUpdatedDate:
|
|
18763
18765
|
output.lastUpdatedDate !== undefined && output.lastUpdatedDate !== null
|
|
18764
|
-
?
|
|
18766
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDate)))
|
|
18765
18767
|
: undefined,
|
|
18766
18768
|
methodSettings:
|
|
18767
18769
|
output.methodSettings !== undefined && output.methodSettings !== null
|
package/tsconfig.json
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"resolveJsonModule": true,
|
|
14
14
|
"esModuleInterop": true,
|
|
15
15
|
"declarationDir": "./dist/types",
|
|
16
|
-
"outDir": "dist/cjs"
|
|
17
|
-
"useUnknownInCatchVariables": false
|
|
16
|
+
"outDir": "dist/cjs"
|
|
18
17
|
},
|
|
19
18
|
"typedocOptions": {
|
|
20
19
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|