@aws-sdk/client-s3-control 3.216.0 → 3.218.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.
@@ -2031,7 +2031,7 @@ const serializeAws_restXmlUpdateJobPriorityCommand = async (input, context) => {
2031
2031
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/priority";
2032
2032
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
2033
2033
  const query = map({
2034
- priority: [() => input.Priority !== void 0, () => input.Priority.toString()],
2034
+ priority: [(0, smithy_client_1.expectNonNull)(input.Priority, `Priority`) != null, () => input.Priority.toString()],
2035
2035
  });
2036
2036
  let body;
2037
2037
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -2065,7 +2065,7 @@ const serializeAws_restXmlUpdateJobStatusCommand = async (input, context) => {
2065
2065
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/status";
2066
2066
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
2067
2067
  const query = map({
2068
- requestedJobStatus: [, input.RequestedJobStatus],
2068
+ requestedJobStatus: [, (0, smithy_client_1.expectNonNull)(input.RequestedJobStatus, `RequestedJobStatus`)],
2069
2069
  statusUpdateReason: [, input.StatusUpdateReason],
2070
2070
  });
2071
2071
  let body;
@@ -1969,7 +1969,7 @@ export const serializeAws_restXmlUpdateJobPriorityCommand = async (input, contex
1969
1969
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/priority";
1970
1970
  resolvedPath = __resolvedPath(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
1971
1971
  const query = map({
1972
- priority: [() => input.Priority !== void 0, () => input.Priority.toString()],
1972
+ priority: [__expectNonNull(input.Priority, `Priority`) != null, () => input.Priority.toString()],
1973
1973
  });
1974
1974
  let body;
1975
1975
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -2002,7 +2002,7 @@ export const serializeAws_restXmlUpdateJobStatusCommand = async (input, context)
2002
2002
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/status";
2003
2003
  resolvedPath = __resolvedPath(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
2004
2004
  const query = map({
2005
- requestedJobStatus: [, input.RequestedJobStatus],
2005
+ requestedJobStatus: [, __expectNonNull(input.RequestedJobStatus, `RequestedJobStatus`)],
2006
2006
  statusUpdateReason: [, input.StatusUpdateReason],
2007
2007
  });
2008
2008
  let body;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3-control",
3
3
  "description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
4
- "version": "3.216.0",
4
+ "version": "3.218.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.216.0",
24
+ "@aws-sdk/client-sts": "3.218.0",
25
25
  "@aws-sdk/config-resolver": "3.215.0",
26
- "@aws-sdk/credential-provider-node": "3.216.0",
26
+ "@aws-sdk/credential-provider-node": "3.218.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.215.0",
28
28
  "@aws-sdk/hash-blob-browser": "3.215.0",
29
29
  "@aws-sdk/hash-node": "3.215.0",