@aws-sdk/client-redshift 3.583.0 → 3.588.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 CHANGED
@@ -8515,10 +8515,10 @@ var se_CreateScheduledActionMessage = /* @__PURE__ */ __name((input, context) =>
8515
8515
  entries[_SAD] = input[_SAD];
8516
8516
  }
8517
8517
  if (input[_STt] != null) {
8518
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
8518
+ entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
8519
8519
  }
8520
8520
  if (input[_ET] != null) {
8521
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
8521
+ entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
8522
8522
  }
8523
8523
  if (input[_Ena] != null) {
8524
8524
  entries[_Ena] = input[_Ena];
@@ -8992,10 +8992,10 @@ var se_DescribeClusterSnapshotsMessage = /* @__PURE__ */ __name((input, context)
8992
8992
  entries[_STn] = input[_STn];
8993
8993
  }
8994
8994
  if (input[_STt] != null) {
8995
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
8995
+ entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
8996
8996
  }
8997
8997
  if (input[_ET] != null) {
8998
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
8998
+ entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
8999
8999
  }
9000
9000
  if (input[_MR] != null) {
9001
9001
  entries[_MR] = input[_MR];
@@ -9235,10 +9235,10 @@ var se_DescribeEventsMessage = /* @__PURE__ */ __name((input, context) => {
9235
9235
  entries[_ST] = input[_ST];
9236
9236
  }
9237
9237
  if (input[_STt] != null) {
9238
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
9238
+ entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
9239
9239
  }
9240
9240
  if (input[_ET] != null) {
9241
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
9241
+ entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
9242
9242
  }
9243
9243
  if (input[_Du] != null) {
9244
9244
  entries[_Du] = input[_Du];
@@ -9516,10 +9516,10 @@ var se_DescribeScheduledActionsMessage = /* @__PURE__ */ __name((input, context)
9516
9516
  entries[_TAT] = input[_TAT];
9517
9517
  }
9518
9518
  if (input[_STt] != null) {
9519
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
9519
+ entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
9520
9520
  }
9521
9521
  if (input[_ET] != null) {
9522
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
9522
+ entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
9523
9523
  }
9524
9524
  if (input[_Act] != null) {
9525
9525
  entries[_Act] = input[_Act];
@@ -10040,10 +10040,10 @@ var se_ModifyClusterMaintenanceMessage = /* @__PURE__ */ __name((input, context)
10040
10040
  entries[_DMI] = input[_DMI];
10041
10041
  }
10042
10042
  if (input[_DMST] != null) {
10043
- entries[_DMST] = input[_DMST].toISOString().split(".")[0] + "Z";
10043
+ entries[_DMST] = (0, import_smithy_client.serializeDateTime)(input[_DMST]);
10044
10044
  }
10045
10045
  if (input[_DMET] != null) {
10046
- entries[_DMET] = input[_DMET].toISOString().split(".")[0] + "Z";
10046
+ entries[_DMET] = (0, import_smithy_client.serializeDateTime)(input[_DMET]);
10047
10047
  }
10048
10048
  if (input[_DMD] != null) {
10049
10049
  entries[_DMD] = input[_DMD];
@@ -10351,10 +10351,10 @@ var se_ModifyScheduledActionMessage = /* @__PURE__ */ __name((input, context) =>
10351
10351
  entries[_SAD] = input[_SAD];
10352
10352
  }
10353
10353
  if (input[_STt] != null) {
10354
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
10354
+ entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
10355
10355
  }
10356
10356
  if (input[_ET] != null) {
10357
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
10357
+ entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
10358
10358
  }
10359
10359
  if (input[_Ena] != null) {
10360
10360
  entries[_Ena] = input[_Ena];
@@ -1,6 +1,6 @@
1
1
  import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
3
+ import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
4
4
  import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, ConflictPolicyUpdateFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceAccessDeniedFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, Ipv6CidrBlockNotFoundFault, LakeFormationScopeUnion, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, RedshiftIdcApplicationAlreadyExistsFault, RedshiftIdcApplicationNotExistsFault, RedshiftIdcApplicationQuotaExceededFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, ServiceIntegrationsUnion, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
5
5
  import { EndpointAuthorizationNotFoundFault, IncompatibleOrderableOptions, InProgressTableRestoreQuotaExceededFault, InsufficientS3BucketPolicyFault, IntegrationNotFoundFault, InvalidPolicyFault, InvalidRestoreFault, InvalidS3BucketNameFault, InvalidS3KeyPrefixFault, InvalidTableRestoreArgumentFault, ReservedNodeExchangeNotFoundFault, ReservedNodeQuotaExceededFault, SnapshotCopyAlreadyDisabledFault, SnapshotCopyAlreadyEnabledFault, SnapshotCopyDisabledFault, SnapshotScheduleUpdateInProgressFault, SubnetAlreadyInUse, TableLimitExceededFault, TableRestoreNotFoundFault, UnknownSnapshotCopyRegionFault, UnsupportedOptionFault, } from "../models/models_1";
6
6
  import { RedshiftServiceException as __BaseException } from "../models/RedshiftServiceException";
@@ -5333,10 +5333,10 @@ const se_CreateScheduledActionMessage = (input, context) => {
5333
5333
  entries[_SAD] = input[_SAD];
5334
5334
  }
5335
5335
  if (input[_STt] != null) {
5336
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
5336
+ entries[_STt] = __serializeDateTime(input[_STt]);
5337
5337
  }
5338
5338
  if (input[_ET] != null) {
5339
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
5339
+ entries[_ET] = __serializeDateTime(input[_ET]);
5340
5340
  }
5341
5341
  if (input[_Ena] != null) {
5342
5342
  entries[_Ena] = input[_Ena];
@@ -5800,10 +5800,10 @@ const se_DescribeClusterSnapshotsMessage = (input, context) => {
5800
5800
  entries[_STn] = input[_STn];
5801
5801
  }
5802
5802
  if (input[_STt] != null) {
5803
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
5803
+ entries[_STt] = __serializeDateTime(input[_STt]);
5804
5804
  }
5805
5805
  if (input[_ET] != null) {
5806
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
5806
+ entries[_ET] = __serializeDateTime(input[_ET]);
5807
5807
  }
5808
5808
  if (input[_MR] != null) {
5809
5809
  entries[_MR] = input[_MR];
@@ -6042,10 +6042,10 @@ const se_DescribeEventsMessage = (input, context) => {
6042
6042
  entries[_ST] = input[_ST];
6043
6043
  }
6044
6044
  if (input[_STt] != null) {
6045
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
6045
+ entries[_STt] = __serializeDateTime(input[_STt]);
6046
6046
  }
6047
6047
  if (input[_ET] != null) {
6048
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
6048
+ entries[_ET] = __serializeDateTime(input[_ET]);
6049
6049
  }
6050
6050
  if (input[_Du] != null) {
6051
6051
  entries[_Du] = input[_Du];
@@ -6318,10 +6318,10 @@ const se_DescribeScheduledActionsMessage = (input, context) => {
6318
6318
  entries[_TAT] = input[_TAT];
6319
6319
  }
6320
6320
  if (input[_STt] != null) {
6321
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
6321
+ entries[_STt] = __serializeDateTime(input[_STt]);
6322
6322
  }
6323
6323
  if (input[_ET] != null) {
6324
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
6324
+ entries[_ET] = __serializeDateTime(input[_ET]);
6325
6325
  }
6326
6326
  if (input[_Act] != null) {
6327
6327
  entries[_Act] = input[_Act];
@@ -6835,10 +6835,10 @@ const se_ModifyClusterMaintenanceMessage = (input, context) => {
6835
6835
  entries[_DMI] = input[_DMI];
6836
6836
  }
6837
6837
  if (input[_DMST] != null) {
6838
- entries[_DMST] = input[_DMST].toISOString().split(".")[0] + "Z";
6838
+ entries[_DMST] = __serializeDateTime(input[_DMST]);
6839
6839
  }
6840
6840
  if (input[_DMET] != null) {
6841
- entries[_DMET] = input[_DMET].toISOString().split(".")[0] + "Z";
6841
+ entries[_DMET] = __serializeDateTime(input[_DMET]);
6842
6842
  }
6843
6843
  if (input[_DMD] != null) {
6844
6844
  entries[_DMD] = input[_DMD];
@@ -7140,10 +7140,10 @@ const se_ModifyScheduledActionMessage = (input, context) => {
7140
7140
  entries[_SAD] = input[_SAD];
7141
7141
  }
7142
7142
  if (input[_STt] != null) {
7143
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
7143
+ entries[_STt] = __serializeDateTime(input[_STt]);
7144
7144
  }
7145
7145
  if (input[_ET] != null) {
7146
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
7146
+ entries[_ET] = __serializeDateTime(input[_ET]);
7147
7147
  }
7148
7148
  if (input[_Ena] != null) {
7149
7149
  entries[_Ena] = input[_Ena];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift",
3
3
  "description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
4
- "version": "3.583.0",
4
+ "version": "3.588.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-redshift",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.583.0",
24
- "@aws-sdk/client-sts": "3.583.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.583.0",
23
+ "@aws-sdk/client-sso-oidc": "3.588.0",
24
+ "@aws-sdk/client-sts": "3.588.0",
25
+ "@aws-sdk/core": "3.588.0",
26
+ "@aws-sdk/credential-provider-node": "3.588.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.583.0",
31
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.587.0",
31
+ "@aws-sdk/region-config-resolver": "3.587.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.583.0",
33
+ "@aws-sdk/util-endpoints": "3.587.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.577.0",
36
- "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.1",
35
+ "@aws-sdk/util-user-agent-node": "3.587.0",
36
+ "@smithy/config-resolver": "^3.0.1",
37
+ "@smithy/core": "^2.1.1",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.1",
43
+ "@smithy/middleware-retry": "^3.0.3",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.0.0",
46
+ "@smithy/node-config-provider": "^3.1.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.1",
49
+ "@smithy/smithy-client": "^3.1.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.1",
56
- "@smithy/util-defaults-mode-node": "^3.0.1",
57
- "@smithy/util-endpoints": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
56
+ "@smithy/util-defaults-mode-node": "^3.0.3",
57
+ "@smithy/util-endpoints": "^2.0.1",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",
60
60
  "@smithy/util-utf8": "^3.0.0",