@aws-sdk/client-sns 3.893.0 → 3.894.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/dist-cjs/index.js +19 -19
- package/dist-es/protocols/Aws_query.js +19 -19
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -3133,7 +3133,7 @@ var de_Endpoint = /* @__PURE__ */ __name((output, context) => {
|
|
|
3133
3133
|
if (output[_EA] != null) {
|
|
3134
3134
|
contents[_EA] = (0, import_smithy_client.expectString)(output[_EA]);
|
|
3135
3135
|
}
|
|
3136
|
-
if (output.Attributes === "") {
|
|
3136
|
+
if (String(output.Attributes).trim() === "") {
|
|
3137
3137
|
contents[_At] = {};
|
|
3138
3138
|
} else if (output[_At] != null && output[_At][_e] != null) {
|
|
3139
3139
|
contents[_At] = de_MapStringToString((0, import_smithy_client.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
@@ -3163,7 +3163,7 @@ var de_GetDataProtectionPolicyResponse = /* @__PURE__ */ __name((output, context
|
|
|
3163
3163
|
}, "de_GetDataProtectionPolicyResponse");
|
|
3164
3164
|
var de_GetEndpointAttributesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3165
3165
|
const contents = {};
|
|
3166
|
-
if (output.Attributes === "") {
|
|
3166
|
+
if (String(output.Attributes).trim() === "") {
|
|
3167
3167
|
contents[_At] = {};
|
|
3168
3168
|
} else if (output[_At] != null && output[_At][_e] != null) {
|
|
3169
3169
|
contents[_At] = de_MapStringToString((0, import_smithy_client.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
@@ -3172,7 +3172,7 @@ var de_GetEndpointAttributesResponse = /* @__PURE__ */ __name((output, context)
|
|
|
3172
3172
|
}, "de_GetEndpointAttributesResponse");
|
|
3173
3173
|
var de_GetPlatformApplicationAttributesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3174
3174
|
const contents = {};
|
|
3175
|
-
if (output.Attributes === "") {
|
|
3175
|
+
if (String(output.Attributes).trim() === "") {
|
|
3176
3176
|
contents[_At] = {};
|
|
3177
3177
|
} else if (output[_At] != null && output[_At][_e] != null) {
|
|
3178
3178
|
contents[_At] = de_MapStringToString((0, import_smithy_client.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
@@ -3181,7 +3181,7 @@ var de_GetPlatformApplicationAttributesResponse = /* @__PURE__ */ __name((output
|
|
|
3181
3181
|
}, "de_GetPlatformApplicationAttributesResponse");
|
|
3182
3182
|
var de_GetSMSAttributesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3183
3183
|
const contents = {};
|
|
3184
|
-
if (output.attributes === "") {
|
|
3184
|
+
if (String(output.attributes).trim() === "") {
|
|
3185
3185
|
contents[_a] = {};
|
|
3186
3186
|
} else if (output[_a] != null && output[_a][_e] != null) {
|
|
3187
3187
|
contents[_a] = de_MapStringToString((0, import_smithy_client.getArrayIfSingleItem)(output[_a][_e]), context);
|
|
@@ -3197,7 +3197,7 @@ var de_GetSMSSandboxAccountStatusResult = /* @__PURE__ */ __name((output, contex
|
|
|
3197
3197
|
}, "de_GetSMSSandboxAccountStatusResult");
|
|
3198
3198
|
var de_GetSubscriptionAttributesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3199
3199
|
const contents = {};
|
|
3200
|
-
if (output.Attributes === "") {
|
|
3200
|
+
if (String(output.Attributes).trim() === "") {
|
|
3201
3201
|
contents[_At] = {};
|
|
3202
3202
|
} else if (output[_At] != null && output[_At][_e] != null) {
|
|
3203
3203
|
contents[_At] = de_SubscriptionAttributesMap((0, import_smithy_client.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
@@ -3206,7 +3206,7 @@ var de_GetSubscriptionAttributesResponse = /* @__PURE__ */ __name((output, conte
|
|
|
3206
3206
|
}, "de_GetSubscriptionAttributesResponse");
|
|
3207
3207
|
var de_GetTopicAttributesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3208
3208
|
const contents = {};
|
|
3209
|
-
if (output.Attributes === "") {
|
|
3209
|
+
if (String(output.Attributes).trim() === "") {
|
|
3210
3210
|
contents[_At] = {};
|
|
3211
3211
|
} else if (output[_At] != null && output[_At][_e] != null) {
|
|
3212
3212
|
contents[_At] = de_TopicAttributesMap((0, import_smithy_client.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
@@ -3299,7 +3299,7 @@ var de_KMSThrottlingException = /* @__PURE__ */ __name((output, context) => {
|
|
|
3299
3299
|
}, "de_KMSThrottlingException");
|
|
3300
3300
|
var de_ListEndpointsByPlatformApplicationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3301
3301
|
const contents = {};
|
|
3302
|
-
if (output.Endpoints === "") {
|
|
3302
|
+
if (String(output.Endpoints).trim() === "") {
|
|
3303
3303
|
contents[_En] = [];
|
|
3304
3304
|
} else if (output[_En] != null && output[_En][_me] != null) {
|
|
3305
3305
|
contents[_En] = de_ListOfEndpoints((0, import_smithy_client.getArrayIfSingleItem)(output[_En][_me]), context);
|
|
@@ -3324,7 +3324,7 @@ var de_ListOriginationNumbersResult = /* @__PURE__ */ __name((output, context) =
|
|
|
3324
3324
|
if (output[_NT] != null) {
|
|
3325
3325
|
contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
|
|
3326
3326
|
}
|
|
3327
|
-
if (output.PhoneNumbers === "") {
|
|
3327
|
+
if (String(output.PhoneNumbers).trim() === "") {
|
|
3328
3328
|
contents[_PNh] = [];
|
|
3329
3329
|
} else if (output[_PNh] != null && output[_PNh][_me] != null) {
|
|
3330
3330
|
contents[_PNh] = de_PhoneNumberInformationList((0, import_smithy_client.getArrayIfSingleItem)(output[_PNh][_me]), context);
|
|
@@ -3333,7 +3333,7 @@ var de_ListOriginationNumbersResult = /* @__PURE__ */ __name((output, context) =
|
|
|
3333
3333
|
}, "de_ListOriginationNumbersResult");
|
|
3334
3334
|
var de_ListPhoneNumbersOptedOutResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3335
3335
|
const contents = {};
|
|
3336
|
-
if (output.phoneNumbers === "") {
|
|
3336
|
+
if (String(output.phoneNumbers).trim() === "") {
|
|
3337
3337
|
contents[_pNh] = [];
|
|
3338
3338
|
} else if (output[_pNh] != null && output[_pNh][_me] != null) {
|
|
3339
3339
|
contents[_pNh] = de_PhoneNumberList((0, import_smithy_client.getArrayIfSingleItem)(output[_pNh][_me]), context);
|
|
@@ -3345,7 +3345,7 @@ var de_ListPhoneNumbersOptedOutResponse = /* @__PURE__ */ __name((output, contex
|
|
|
3345
3345
|
}, "de_ListPhoneNumbersOptedOutResponse");
|
|
3346
3346
|
var de_ListPlatformApplicationsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3347
3347
|
const contents = {};
|
|
3348
|
-
if (output.PlatformApplications === "") {
|
|
3348
|
+
if (String(output.PlatformApplications).trim() === "") {
|
|
3349
3349
|
contents[_PA] = [];
|
|
3350
3350
|
} else if (output[_PA] != null && output[_PA][_me] != null) {
|
|
3351
3351
|
contents[_PA] = de_ListOfPlatformApplications((0, import_smithy_client.getArrayIfSingleItem)(output[_PA][_me]), context);
|
|
@@ -3357,7 +3357,7 @@ var de_ListPlatformApplicationsResponse = /* @__PURE__ */ __name((output, contex
|
|
|
3357
3357
|
}, "de_ListPlatformApplicationsResponse");
|
|
3358
3358
|
var de_ListSMSSandboxPhoneNumbersResult = /* @__PURE__ */ __name((output, context) => {
|
|
3359
3359
|
const contents = {};
|
|
3360
|
-
if (output.PhoneNumbers === "") {
|
|
3360
|
+
if (String(output.PhoneNumbers).trim() === "") {
|
|
3361
3361
|
contents[_PNh] = [];
|
|
3362
3362
|
} else if (output[_PNh] != null && output[_PNh][_me] != null) {
|
|
3363
3363
|
contents[_PNh] = de_SMSSandboxPhoneNumberList((0, import_smithy_client.getArrayIfSingleItem)(output[_PNh][_me]), context);
|
|
@@ -3369,7 +3369,7 @@ var de_ListSMSSandboxPhoneNumbersResult = /* @__PURE__ */ __name((output, contex
|
|
|
3369
3369
|
}, "de_ListSMSSandboxPhoneNumbersResult");
|
|
3370
3370
|
var de_ListSubscriptionsByTopicResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3371
3371
|
const contents = {};
|
|
3372
|
-
if (output.Subscriptions === "") {
|
|
3372
|
+
if (String(output.Subscriptions).trim() === "") {
|
|
3373
3373
|
contents[_Sub] = [];
|
|
3374
3374
|
} else if (output[_Sub] != null && output[_Sub][_me] != null) {
|
|
3375
3375
|
contents[_Sub] = de_SubscriptionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_Sub][_me]), context);
|
|
@@ -3381,7 +3381,7 @@ var de_ListSubscriptionsByTopicResponse = /* @__PURE__ */ __name((output, contex
|
|
|
3381
3381
|
}, "de_ListSubscriptionsByTopicResponse");
|
|
3382
3382
|
var de_ListSubscriptionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3383
3383
|
const contents = {};
|
|
3384
|
-
if (output.Subscriptions === "") {
|
|
3384
|
+
if (String(output.Subscriptions).trim() === "") {
|
|
3385
3385
|
contents[_Sub] = [];
|
|
3386
3386
|
} else if (output[_Sub] != null && output[_Sub][_me] != null) {
|
|
3387
3387
|
contents[_Sub] = de_SubscriptionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_Sub][_me]), context);
|
|
@@ -3393,7 +3393,7 @@ var de_ListSubscriptionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
3393
3393
|
}, "de_ListSubscriptionsResponse");
|
|
3394
3394
|
var de_ListTagsForResourceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3395
3395
|
const contents = {};
|
|
3396
|
-
if (output.Tags === "") {
|
|
3396
|
+
if (String(output.Tags).trim() === "") {
|
|
3397
3397
|
contents[_Ta] = [];
|
|
3398
3398
|
} else if (output[_Ta] != null && output[_Ta][_me] != null) {
|
|
3399
3399
|
contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_Ta][_me]), context);
|
|
@@ -3402,7 +3402,7 @@ var de_ListTagsForResourceResponse = /* @__PURE__ */ __name((output, context) =>
|
|
|
3402
3402
|
}, "de_ListTagsForResourceResponse");
|
|
3403
3403
|
var de_ListTopicsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3404
3404
|
const contents = {};
|
|
3405
|
-
if (output.Topics === "") {
|
|
3405
|
+
if (String(output.Topics).trim() === "") {
|
|
3406
3406
|
contents[_To] = [];
|
|
3407
3407
|
} else if (output[_To] != null && output[_To][_me] != null) {
|
|
3408
3408
|
contents[_To] = de_TopicsList((0, import_smithy_client.getArrayIfSingleItem)(output[_To][_me]), context);
|
|
@@ -3461,7 +3461,7 @@ var de_PhoneNumberInformation = /* @__PURE__ */ __name((output, context) => {
|
|
|
3461
3461
|
if (output[_RT] != null) {
|
|
3462
3462
|
contents[_RT] = (0, import_smithy_client.expectString)(output[_RT]);
|
|
3463
3463
|
}
|
|
3464
|
-
if (output.NumberCapabilities === "") {
|
|
3464
|
+
if (String(output.NumberCapabilities).trim() === "") {
|
|
3465
3465
|
contents[_NC] = [];
|
|
3466
3466
|
} else if (output[_NC] != null && output[_NC][_me] != null) {
|
|
3467
3467
|
contents[_NC] = de_NumberCapabilityList((0, import_smithy_client.getArrayIfSingleItem)(output[_NC][_me]), context);
|
|
@@ -3483,7 +3483,7 @@ var de_PlatformApplication = /* @__PURE__ */ __name((output, context) => {
|
|
|
3483
3483
|
if (output[_PAA] != null) {
|
|
3484
3484
|
contents[_PAA] = (0, import_smithy_client.expectString)(output[_PAA]);
|
|
3485
3485
|
}
|
|
3486
|
-
if (output.Attributes === "") {
|
|
3486
|
+
if (String(output.Attributes).trim() === "") {
|
|
3487
3487
|
contents[_At] = {};
|
|
3488
3488
|
} else if (output[_At] != null && output[_At][_e] != null) {
|
|
3489
3489
|
contents[_At] = de_MapStringToString((0, import_smithy_client.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
@@ -3499,12 +3499,12 @@ var de_PlatformApplicationDisabledException = /* @__PURE__ */ __name((output, co
|
|
|
3499
3499
|
}, "de_PlatformApplicationDisabledException");
|
|
3500
3500
|
var de_PublishBatchResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3501
3501
|
const contents = {};
|
|
3502
|
-
if (output.Successful === "") {
|
|
3502
|
+
if (String(output.Successful).trim() === "") {
|
|
3503
3503
|
contents[_Suc] = [];
|
|
3504
3504
|
} else if (output[_Suc] != null && output[_Suc][_me] != null) {
|
|
3505
3505
|
contents[_Suc] = de_PublishBatchResultEntryList((0, import_smithy_client.getArrayIfSingleItem)(output[_Suc][_me]), context);
|
|
3506
3506
|
}
|
|
3507
|
-
if (output.Failed === "") {
|
|
3507
|
+
if (String(output.Failed).trim() === "") {
|
|
3508
3508
|
contents[_F] = [];
|
|
3509
3509
|
} else if (output[_F] != null && output[_F][_me] != null) {
|
|
3510
3510
|
contents[_F] = de_BatchResultErrorEntryList((0, import_smithy_client.getArrayIfSingleItem)(output[_F][_me]), context);
|
|
@@ -2145,7 +2145,7 @@ const de_Endpoint = (output, context) => {
|
|
|
2145
2145
|
if (output[_EA] != null) {
|
|
2146
2146
|
contents[_EA] = __expectString(output[_EA]);
|
|
2147
2147
|
}
|
|
2148
|
-
if (output.Attributes === "") {
|
|
2148
|
+
if (String(output.Attributes).trim() === "") {
|
|
2149
2149
|
contents[_At] = {};
|
|
2150
2150
|
}
|
|
2151
2151
|
else if (output[_At] != null && output[_At][_e] != null) {
|
|
@@ -2176,7 +2176,7 @@ const de_GetDataProtectionPolicyResponse = (output, context) => {
|
|
|
2176
2176
|
};
|
|
2177
2177
|
const de_GetEndpointAttributesResponse = (output, context) => {
|
|
2178
2178
|
const contents = {};
|
|
2179
|
-
if (output.Attributes === "") {
|
|
2179
|
+
if (String(output.Attributes).trim() === "") {
|
|
2180
2180
|
contents[_At] = {};
|
|
2181
2181
|
}
|
|
2182
2182
|
else if (output[_At] != null && output[_At][_e] != null) {
|
|
@@ -2186,7 +2186,7 @@ const de_GetEndpointAttributesResponse = (output, context) => {
|
|
|
2186
2186
|
};
|
|
2187
2187
|
const de_GetPlatformApplicationAttributesResponse = (output, context) => {
|
|
2188
2188
|
const contents = {};
|
|
2189
|
-
if (output.Attributes === "") {
|
|
2189
|
+
if (String(output.Attributes).trim() === "") {
|
|
2190
2190
|
contents[_At] = {};
|
|
2191
2191
|
}
|
|
2192
2192
|
else if (output[_At] != null && output[_At][_e] != null) {
|
|
@@ -2196,7 +2196,7 @@ const de_GetPlatformApplicationAttributesResponse = (output, context) => {
|
|
|
2196
2196
|
};
|
|
2197
2197
|
const de_GetSMSAttributesResponse = (output, context) => {
|
|
2198
2198
|
const contents = {};
|
|
2199
|
-
if (output.attributes === "") {
|
|
2199
|
+
if (String(output.attributes).trim() === "") {
|
|
2200
2200
|
contents[_a] = {};
|
|
2201
2201
|
}
|
|
2202
2202
|
else if (output[_a] != null && output[_a][_e] != null) {
|
|
@@ -2213,7 +2213,7 @@ const de_GetSMSSandboxAccountStatusResult = (output, context) => {
|
|
|
2213
2213
|
};
|
|
2214
2214
|
const de_GetSubscriptionAttributesResponse = (output, context) => {
|
|
2215
2215
|
const contents = {};
|
|
2216
|
-
if (output.Attributes === "") {
|
|
2216
|
+
if (String(output.Attributes).trim() === "") {
|
|
2217
2217
|
contents[_At] = {};
|
|
2218
2218
|
}
|
|
2219
2219
|
else if (output[_At] != null && output[_At][_e] != null) {
|
|
@@ -2223,7 +2223,7 @@ const de_GetSubscriptionAttributesResponse = (output, context) => {
|
|
|
2223
2223
|
};
|
|
2224
2224
|
const de_GetTopicAttributesResponse = (output, context) => {
|
|
2225
2225
|
const contents = {};
|
|
2226
|
-
if (output.Attributes === "") {
|
|
2226
|
+
if (String(output.Attributes).trim() === "") {
|
|
2227
2227
|
contents[_At] = {};
|
|
2228
2228
|
}
|
|
2229
2229
|
else if (output[_At] != null && output[_At][_e] != null) {
|
|
@@ -2317,7 +2317,7 @@ const de_KMSThrottlingException = (output, context) => {
|
|
|
2317
2317
|
};
|
|
2318
2318
|
const de_ListEndpointsByPlatformApplicationResponse = (output, context) => {
|
|
2319
2319
|
const contents = {};
|
|
2320
|
-
if (output.Endpoints === "") {
|
|
2320
|
+
if (String(output.Endpoints).trim() === "") {
|
|
2321
2321
|
contents[_En] = [];
|
|
2322
2322
|
}
|
|
2323
2323
|
else if (output[_En] != null && output[_En][_me] != null) {
|
|
@@ -2347,7 +2347,7 @@ const de_ListOriginationNumbersResult = (output, context) => {
|
|
|
2347
2347
|
if (output[_NT] != null) {
|
|
2348
2348
|
contents[_NT] = __expectString(output[_NT]);
|
|
2349
2349
|
}
|
|
2350
|
-
if (output.PhoneNumbers === "") {
|
|
2350
|
+
if (String(output.PhoneNumbers).trim() === "") {
|
|
2351
2351
|
contents[_PNh] = [];
|
|
2352
2352
|
}
|
|
2353
2353
|
else if (output[_PNh] != null && output[_PNh][_me] != null) {
|
|
@@ -2357,7 +2357,7 @@ const de_ListOriginationNumbersResult = (output, context) => {
|
|
|
2357
2357
|
};
|
|
2358
2358
|
const de_ListPhoneNumbersOptedOutResponse = (output, context) => {
|
|
2359
2359
|
const contents = {};
|
|
2360
|
-
if (output.phoneNumbers === "") {
|
|
2360
|
+
if (String(output.phoneNumbers).trim() === "") {
|
|
2361
2361
|
contents[_pNh] = [];
|
|
2362
2362
|
}
|
|
2363
2363
|
else if (output[_pNh] != null && output[_pNh][_me] != null) {
|
|
@@ -2370,7 +2370,7 @@ const de_ListPhoneNumbersOptedOutResponse = (output, context) => {
|
|
|
2370
2370
|
};
|
|
2371
2371
|
const de_ListPlatformApplicationsResponse = (output, context) => {
|
|
2372
2372
|
const contents = {};
|
|
2373
|
-
if (output.PlatformApplications === "") {
|
|
2373
|
+
if (String(output.PlatformApplications).trim() === "") {
|
|
2374
2374
|
contents[_PA] = [];
|
|
2375
2375
|
}
|
|
2376
2376
|
else if (output[_PA] != null && output[_PA][_me] != null) {
|
|
@@ -2383,7 +2383,7 @@ const de_ListPlatformApplicationsResponse = (output, context) => {
|
|
|
2383
2383
|
};
|
|
2384
2384
|
const de_ListSMSSandboxPhoneNumbersResult = (output, context) => {
|
|
2385
2385
|
const contents = {};
|
|
2386
|
-
if (output.PhoneNumbers === "") {
|
|
2386
|
+
if (String(output.PhoneNumbers).trim() === "") {
|
|
2387
2387
|
contents[_PNh] = [];
|
|
2388
2388
|
}
|
|
2389
2389
|
else if (output[_PNh] != null && output[_PNh][_me] != null) {
|
|
@@ -2396,7 +2396,7 @@ const de_ListSMSSandboxPhoneNumbersResult = (output, context) => {
|
|
|
2396
2396
|
};
|
|
2397
2397
|
const de_ListSubscriptionsByTopicResponse = (output, context) => {
|
|
2398
2398
|
const contents = {};
|
|
2399
|
-
if (output.Subscriptions === "") {
|
|
2399
|
+
if (String(output.Subscriptions).trim() === "") {
|
|
2400
2400
|
contents[_Sub] = [];
|
|
2401
2401
|
}
|
|
2402
2402
|
else if (output[_Sub] != null && output[_Sub][_me] != null) {
|
|
@@ -2409,7 +2409,7 @@ const de_ListSubscriptionsByTopicResponse = (output, context) => {
|
|
|
2409
2409
|
};
|
|
2410
2410
|
const de_ListSubscriptionsResponse = (output, context) => {
|
|
2411
2411
|
const contents = {};
|
|
2412
|
-
if (output.Subscriptions === "") {
|
|
2412
|
+
if (String(output.Subscriptions).trim() === "") {
|
|
2413
2413
|
contents[_Sub] = [];
|
|
2414
2414
|
}
|
|
2415
2415
|
else if (output[_Sub] != null && output[_Sub][_me] != null) {
|
|
@@ -2422,7 +2422,7 @@ const de_ListSubscriptionsResponse = (output, context) => {
|
|
|
2422
2422
|
};
|
|
2423
2423
|
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2424
2424
|
const contents = {};
|
|
2425
|
-
if (output.Tags === "") {
|
|
2425
|
+
if (String(output.Tags).trim() === "") {
|
|
2426
2426
|
contents[_Ta] = [];
|
|
2427
2427
|
}
|
|
2428
2428
|
else if (output[_Ta] != null && output[_Ta][_me] != null) {
|
|
@@ -2432,7 +2432,7 @@ const de_ListTagsForResourceResponse = (output, context) => {
|
|
|
2432
2432
|
};
|
|
2433
2433
|
const de_ListTopicsResponse = (output, context) => {
|
|
2434
2434
|
const contents = {};
|
|
2435
|
-
if (output.Topics === "") {
|
|
2435
|
+
if (String(output.Topics).trim() === "") {
|
|
2436
2436
|
contents[_To] = [];
|
|
2437
2437
|
}
|
|
2438
2438
|
else if (output[_To] != null && output[_To][_me] != null) {
|
|
@@ -2494,7 +2494,7 @@ const de_PhoneNumberInformation = (output, context) => {
|
|
|
2494
2494
|
if (output[_RT] != null) {
|
|
2495
2495
|
contents[_RT] = __expectString(output[_RT]);
|
|
2496
2496
|
}
|
|
2497
|
-
if (output.NumberCapabilities === "") {
|
|
2497
|
+
if (String(output.NumberCapabilities).trim() === "") {
|
|
2498
2498
|
contents[_NC] = [];
|
|
2499
2499
|
}
|
|
2500
2500
|
else if (output[_NC] != null && output[_NC][_me] != null) {
|
|
@@ -2521,7 +2521,7 @@ const de_PlatformApplication = (output, context) => {
|
|
|
2521
2521
|
if (output[_PAA] != null) {
|
|
2522
2522
|
contents[_PAA] = __expectString(output[_PAA]);
|
|
2523
2523
|
}
|
|
2524
|
-
if (output.Attributes === "") {
|
|
2524
|
+
if (String(output.Attributes).trim() === "") {
|
|
2525
2525
|
contents[_At] = {};
|
|
2526
2526
|
}
|
|
2527
2527
|
else if (output[_At] != null && output[_At][_e] != null) {
|
|
@@ -2538,13 +2538,13 @@ const de_PlatformApplicationDisabledException = (output, context) => {
|
|
|
2538
2538
|
};
|
|
2539
2539
|
const de_PublishBatchResponse = (output, context) => {
|
|
2540
2540
|
const contents = {};
|
|
2541
|
-
if (output.Successful === "") {
|
|
2541
|
+
if (String(output.Successful).trim() === "") {
|
|
2542
2542
|
contents[_Suc] = [];
|
|
2543
2543
|
}
|
|
2544
2544
|
else if (output[_Suc] != null && output[_Suc][_me] != null) {
|
|
2545
2545
|
contents[_Suc] = de_PublishBatchResultEntryList(__getArrayIfSingleItem(output[_Suc][_me]), context);
|
|
2546
2546
|
}
|
|
2547
|
-
if (output.Failed === "") {
|
|
2547
|
+
if (String(output.Failed).trim() === "") {
|
|
2548
2548
|
contents[_F] = [];
|
|
2549
2549
|
}
|
|
2550
2550
|
else if (output[_F] != null && output[_F][_me] != null) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.894.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sns",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.894.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.894.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.894.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.893.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.894.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|