@aws-sdk/client-sagemaker 3.212.0 → 3.214.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.
@@ -6,7 +6,7 @@ exports.ruleSet = {
6
6
  parameters: {
7
7
  Region: {
8
8
  builtIn: "AWS::Region",
9
- required: false,
9
+ required: true,
10
10
  documentation: "The AWS region used to dispatch the request.",
11
11
  type: "String",
12
12
  },
@@ -15904,6 +15904,7 @@ const serializeAws_json1_1ProductionVariantServerlessConfig = (input, context) =
15904
15904
  };
15905
15905
  const serializeAws_json1_1ProfilerConfig = (input, context) => {
15906
15906
  return {
15907
+ ...(input.DisableProfiler != null && { DisableProfiler: input.DisableProfiler }),
15907
15908
  ...(input.ProfilingIntervalInMilliseconds != null && {
15908
15909
  ProfilingIntervalInMilliseconds: input.ProfilingIntervalInMilliseconds,
15909
15910
  }),
@@ -24096,6 +24097,7 @@ const deserializeAws_json1_1ProductListings = (output, context) => {
24096
24097
  };
24097
24098
  const deserializeAws_json1_1ProfilerConfig = (output, context) => {
24098
24099
  return {
24100
+ DisableProfiler: (0, smithy_client_1.expectBoolean)(output.DisableProfiler),
24099
24101
  ProfilingIntervalInMilliseconds: (0, smithy_client_1.expectLong)(output.ProfilingIntervalInMilliseconds),
24100
24102
  ProfilingParameters: output.ProfilingParameters != null
24101
24103
  ? deserializeAws_json1_1ProfilingParameters(output.ProfilingParameters, context)
@@ -3,7 +3,7 @@ export const ruleSet = {
3
3
  parameters: {
4
4
  Region: {
5
5
  builtIn: "AWS::Region",
6
- required: false,
6
+ required: true,
7
7
  documentation: "The AWS region used to dispatch the request.",
8
8
  type: "String",
9
9
  },
@@ -15363,6 +15363,7 @@ const serializeAws_json1_1ProductionVariantServerlessConfig = (input, context) =
15363
15363
  };
15364
15364
  const serializeAws_json1_1ProfilerConfig = (input, context) => {
15365
15365
  return {
15366
+ ...(input.DisableProfiler != null && { DisableProfiler: input.DisableProfiler }),
15366
15367
  ...(input.ProfilingIntervalInMilliseconds != null && {
15367
15368
  ProfilingIntervalInMilliseconds: input.ProfilingIntervalInMilliseconds,
15368
15369
  }),
@@ -23555,6 +23556,7 @@ const deserializeAws_json1_1ProductListings = (output, context) => {
23555
23556
  };
23556
23557
  const deserializeAws_json1_1ProfilerConfig = (output, context) => {
23557
23558
  return {
23559
+ DisableProfiler: __expectBoolean(output.DisableProfiler),
23558
23560
  ProfilingIntervalInMilliseconds: __expectLong(output.ProfilingIntervalInMilliseconds),
23559
23561
  ProfilingParameters: output.ProfilingParameters != null
23560
23562
  ? deserializeAws_json1_1ProfilingParameters(output.ProfilingParameters, context)
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -6158,7 +6158,7 @@ export interface ProfilerConfig {
6158
6158
  /**
6159
6159
  * <p>Path to Amazon S3 storage location for system and framework metrics.</p>
6160
6160
  */
6161
- S3OutputPath: string | undefined;
6161
+ S3OutputPath?: string;
6162
6162
  /**
6163
6163
  * <p>A time interval for capturing system metrics in milliseconds. Available values are
6164
6164
  * 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute) milliseconds. The default value is 500 milliseconds.</p>
@@ -6173,6 +6173,10 @@ export interface ProfilerConfig {
6173
6173
  * </p>
6174
6174
  */
6175
6175
  ProfilingParameters?: Record<string, string>;
6176
+ /**
6177
+ * <p>To disable system monitoring and profiling, set to <code>True</code>.</p>
6178
+ */
6179
+ DisableProfiler?: boolean;
6176
6180
  }
6177
6181
  /**
6178
6182
  * <p>Configuration information for profiling rules.</p>
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -1040,9 +1040,10 @@ export interface DebugRuleConfiguration {
1040
1040
  RuleParameters?: Record<string, string>;
1041
1041
  }
1042
1042
  export interface ProfilerConfig {
1043
- S3OutputPath: string | undefined;
1043
+ S3OutputPath?: string;
1044
1044
  ProfilingIntervalInMilliseconds?: number;
1045
1045
  ProfilingParameters?: Record<string, string>;
1046
+ DisableProfiler?: boolean;
1046
1047
  }
1047
1048
  export interface ProfilerRuleConfiguration {
1048
1049
  RuleConfigurationName: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
4
- "version": "3.212.0",
4
+ "version": "3.214.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",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.212.0",
22
+ "@aws-sdk/client-sts": "3.213.0",
23
23
  "@aws-sdk/config-resolver": "3.212.0",
24
24
  "@aws-sdk/credential-provider-node": "3.212.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.212.0",