Skip to content

Commit

Permalink
fix: add default value to stream collector (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed May 1, 2020
1 parent 8ca1e67 commit 030082a
Show file tree
Hide file tree
Showing 218 changed files with 218 additions and 218 deletions.
2 changes: 1 addition & 1 deletion clients/client-accessanalyzer/protocols/Aws_restJson1_1.ts
Expand Up @@ -3450,7 +3450,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm-pca/protocols/Aws_json1_1.ts
Expand Up @@ -4084,7 +4084,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm/protocols/Aws_json1_1.ts
Expand Up @@ -2761,7 +2761,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-alexa-for-business/protocols/Aws_json1_1.ts
Expand Up @@ -14166,7 +14166,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-amplify/protocols/Aws_restJson1_1.ts
Expand Up @@ -6878,7 +6878,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-api-gateway/protocols/Aws_restJson1_1.ts
Expand Up @@ -24667,7 +24667,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -480,7 +480,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-apigatewayv2/protocols/Aws_restJson1_1.ts
Expand Up @@ -11890,7 +11890,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-app-mesh/protocols/Aws_restJson1_1.ts
Expand Up @@ -7529,7 +7529,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appconfig/protocols/Aws_restJson1_1.ts
Expand Up @@ -4951,7 +4951,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -2681,7 +2681,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -5490,7 +5490,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -4488,7 +4488,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appstream/protocols/Aws_json1_1.ts
Expand Up @@ -8628,7 +8628,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appsync/protocols/Aws_restJson1_1.ts
Expand Up @@ -7880,7 +7880,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-athena/protocols/Aws_json1_1.ts
Expand Up @@ -3441,7 +3441,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-auto-scaling-plans/protocols/Aws_json1_1.ts
Expand Up @@ -2045,7 +2045,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-auto-scaling/protocols/Aws_query.ts
Expand Up @@ -10158,7 +10158,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-backup/protocols/Aws_restJson1_1.ts
Expand Up @@ -8349,7 +8349,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-batch/protocols/Aws_restJson1_1.ts
Expand Up @@ -3948,7 +3948,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-budgets/protocols/Aws_json1_1.ts
Expand Up @@ -3237,7 +3237,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-chime/protocols/Aws_restJson1_1.ts
Expand Up @@ -18561,7 +18561,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloud9/protocols/Aws_json1_1.ts
Expand Up @@ -2283,7 +2283,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-clouddirectory/protocols/Aws_restJson1_1.ts
Expand Up @@ -16407,7 +16407,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudformation/protocols/Aws_query.ts
Expand Up @@ -11654,7 +11654,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudfront/protocols/Aws_restXml.ts
Expand Up @@ -15067,7 +15067,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudhsm-v2/protocols/Aws_json1_1.ts
Expand Up @@ -2692,7 +2692,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudhsm/protocols/Aws_json1_1.ts
Expand Up @@ -3050,7 +3050,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -763,7 +763,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudsearch/protocols/Aws_query.ts
Expand Up @@ -6258,7 +6258,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudtrail/protocols/Aws_json1_1.ts
Expand Up @@ -5772,7 +5772,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudwatch-events/protocols/Aws_json1_1.ts
Expand Up @@ -5532,7 +5532,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudwatch-logs/protocols/Aws_json1_1.ts
Expand Up @@ -6550,7 +6550,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cloudwatch/protocols/Aws_query.ts
Expand Up @@ -6470,7 +6470,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-codebuild/protocols/Aws_json1_1.ts
Expand Up @@ -6711,7 +6711,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-codecommit/protocols/Aws_json1_1.ts
Expand Up @@ -28084,7 +28084,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-codedeploy/protocols/Aws_json1_1.ts
Expand Up @@ -14947,7 +14947,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -868,7 +868,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -1628,7 +1628,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-codepipeline/protocols/Aws_json1_1.ts
Expand Up @@ -8826,7 +8826,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -552,7 +552,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -1940,7 +1940,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-codestar/protocols/Aws_json1_1.ts
Expand Up @@ -3489,7 +3489,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down
Expand Up @@ -24179,7 +24179,7 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({

// Collect low-level response body stream to Uint8Array.
const collectBody = (
streamBody: any,
streamBody: any = new Uint8Array(),
context: __SerdeContext
): Promise<Uint8Array> => {
if (streamBody instanceof Uint8Array) {
Expand Down

0 comments on commit 030082a

Please sign in to comment.