@aws-sdk/client-ivs 3.261.0 → 3.262.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.
@@ -2114,7 +2114,7 @@ const deserializeAws_restJson1_Stream = (output, context) => {
2114
2114
  channelArn: (0, smithy_client_1.expectString)(output.channelArn),
2115
2115
  health: (0, smithy_client_1.expectString)(output.health),
2116
2116
  playbackUrl: (0, smithy_client_1.expectString)(output.playbackUrl),
2117
- startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime)) : undefined,
2117
+ startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.startTime)) : undefined,
2118
2118
  state: (0, smithy_client_1.expectString)(output.state),
2119
2119
  streamId: (0, smithy_client_1.expectString)(output.streamId),
2120
2120
  viewerCount: (0, smithy_client_1.expectLong)(output.viewerCount),
@@ -2122,7 +2122,7 @@ const deserializeAws_restJson1_Stream = (output, context) => {
2122
2122
  };
2123
2123
  const deserializeAws_restJson1StreamEvent = (output, context) => {
2124
2124
  return {
2125
- eventTime: output.eventTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.eventTime)) : undefined,
2125
+ eventTime: output.eventTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.eventTime)) : undefined,
2126
2126
  name: (0, smithy_client_1.expectString)(output.name),
2127
2127
  type: (0, smithy_client_1.expectString)(output.type),
2128
2128
  };
@@ -2189,14 +2189,14 @@ const deserializeAws_restJson1StreamList = (output, context) => {
2189
2189
  const deserializeAws_restJson1StreamSession = (output, context) => {
2190
2190
  return {
2191
2191
  channel: output.channel != null ? deserializeAws_restJson1Channel(output.channel, context) : undefined,
2192
- endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.endTime)) : undefined,
2192
+ endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.endTime)) : undefined,
2193
2193
  ingestConfiguration: output.ingestConfiguration != null
2194
2194
  ? deserializeAws_restJson1IngestConfiguration(output.ingestConfiguration, context)
2195
2195
  : undefined,
2196
2196
  recordingConfiguration: output.recordingConfiguration != null
2197
2197
  ? deserializeAws_restJson1RecordingConfiguration(output.recordingConfiguration, context)
2198
2198
  : undefined,
2199
- startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime)) : undefined,
2199
+ startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.startTime)) : undefined,
2200
2200
  streamId: (0, smithy_client_1.expectString)(output.streamId),
2201
2201
  truncatedEvents: output.truncatedEvents != null
2202
2202
  ? deserializeAws_restJson1StreamEvents(output.truncatedEvents, context)
@@ -2216,9 +2216,9 @@ const deserializeAws_restJson1StreamSessionList = (output, context) => {
2216
2216
  };
2217
2217
  const deserializeAws_restJson1StreamSessionSummary = (output, context) => {
2218
2218
  return {
2219
- endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.endTime)) : undefined,
2219
+ endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.endTime)) : undefined,
2220
2220
  hasErrorEvent: (0, smithy_client_1.expectBoolean)(output.hasErrorEvent),
2221
- startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime)) : undefined,
2221
+ startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.startTime)) : undefined,
2222
2222
  streamId: (0, smithy_client_1.expectString)(output.streamId),
2223
2223
  };
2224
2224
  };
@@ -2226,7 +2226,7 @@ const deserializeAws_restJson1StreamSummary = (output, context) => {
2226
2226
  return {
2227
2227
  channelArn: (0, smithy_client_1.expectString)(output.channelArn),
2228
2228
  health: (0, smithy_client_1.expectString)(output.health),
2229
- startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime)) : undefined,
2229
+ startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.startTime)) : undefined,
2230
2230
  state: (0, smithy_client_1.expectString)(output.state),
2231
2231
  streamId: (0, smithy_client_1.expectString)(output.streamId),
2232
2232
  viewerCount: (0, smithy_client_1.expectLong)(output.viewerCount),
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { IvsServiceException as __BaseException } from "../models/IvsServiceException";
4
4
  import { AccessDeniedException, ChannelNotBroadcasting, ConflictException, InternalServerException, PendingVerification, ResourceNotFoundException, ServiceQuotaExceededException, StreamUnavailable, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  export const serializeAws_restJson1BatchGetChannelCommand = async (input, context) => {
@@ -2054,7 +2054,7 @@ const deserializeAws_restJson1_Stream = (output, context) => {
2054
2054
  channelArn: __expectString(output.channelArn),
2055
2055
  health: __expectString(output.health),
2056
2056
  playbackUrl: __expectString(output.playbackUrl),
2057
- startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTime(output.startTime)) : undefined,
2057
+ startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.startTime)) : undefined,
2058
2058
  state: __expectString(output.state),
2059
2059
  streamId: __expectString(output.streamId),
2060
2060
  viewerCount: __expectLong(output.viewerCount),
@@ -2062,7 +2062,7 @@ const deserializeAws_restJson1_Stream = (output, context) => {
2062
2062
  };
2063
2063
  const deserializeAws_restJson1StreamEvent = (output, context) => {
2064
2064
  return {
2065
- eventTime: output.eventTime != null ? __expectNonNull(__parseRfc3339DateTime(output.eventTime)) : undefined,
2065
+ eventTime: output.eventTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.eventTime)) : undefined,
2066
2066
  name: __expectString(output.name),
2067
2067
  type: __expectString(output.type),
2068
2068
  };
@@ -2129,14 +2129,14 @@ const deserializeAws_restJson1StreamList = (output, context) => {
2129
2129
  const deserializeAws_restJson1StreamSession = (output, context) => {
2130
2130
  return {
2131
2131
  channel: output.channel != null ? deserializeAws_restJson1Channel(output.channel, context) : undefined,
2132
- endTime: output.endTime != null ? __expectNonNull(__parseRfc3339DateTime(output.endTime)) : undefined,
2132
+ endTime: output.endTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.endTime)) : undefined,
2133
2133
  ingestConfiguration: output.ingestConfiguration != null
2134
2134
  ? deserializeAws_restJson1IngestConfiguration(output.ingestConfiguration, context)
2135
2135
  : undefined,
2136
2136
  recordingConfiguration: output.recordingConfiguration != null
2137
2137
  ? deserializeAws_restJson1RecordingConfiguration(output.recordingConfiguration, context)
2138
2138
  : undefined,
2139
- startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTime(output.startTime)) : undefined,
2139
+ startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.startTime)) : undefined,
2140
2140
  streamId: __expectString(output.streamId),
2141
2141
  truncatedEvents: output.truncatedEvents != null
2142
2142
  ? deserializeAws_restJson1StreamEvents(output.truncatedEvents, context)
@@ -2156,9 +2156,9 @@ const deserializeAws_restJson1StreamSessionList = (output, context) => {
2156
2156
  };
2157
2157
  const deserializeAws_restJson1StreamSessionSummary = (output, context) => {
2158
2158
  return {
2159
- endTime: output.endTime != null ? __expectNonNull(__parseRfc3339DateTime(output.endTime)) : undefined,
2159
+ endTime: output.endTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.endTime)) : undefined,
2160
2160
  hasErrorEvent: __expectBoolean(output.hasErrorEvent),
2161
- startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTime(output.startTime)) : undefined,
2161
+ startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.startTime)) : undefined,
2162
2162
  streamId: __expectString(output.streamId),
2163
2163
  };
2164
2164
  };
@@ -2166,7 +2166,7 @@ const deserializeAws_restJson1StreamSummary = (output, context) => {
2166
2166
  return {
2167
2167
  channelArn: __expectString(output.channelArn),
2168
2168
  health: __expectString(output.health),
2169
- startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTime(output.startTime)) : undefined,
2169
+ startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.startTime)) : undefined,
2170
2170
  state: __expectString(output.state),
2171
2171
  streamId: __expectString(output.streamId),
2172
2172
  viewerCount: __expectLong(output.viewerCount),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs",
3
3
  "description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
4
- "version": "3.261.0",
4
+ "version": "3.262.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,7 +20,7 @@
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-sts": "3.261.0",
23
+ "@aws-sdk/client-sts": "3.262.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
25
  "@aws-sdk/credential-provider-node": "3.261.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",