@aws-sdk/client-sagemaker 3.593.0 → 3.596.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
@@ -9755,6 +9755,7 @@ var se_ListModelPackageGroupsInput = /* @__PURE__ */ __name((input, context) =>
9755
9755
  return (0, import_smithy_client.take)(input, {
9756
9756
  CreationTimeAfter: (_) => _.getTime() / 1e3,
9757
9757
  CreationTimeBefore: (_) => _.getTime() / 1e3,
9758
+ CrossAccountFilterOption: [],
9758
9759
  MaxResults: [],
9759
9760
  NameContains: [],
9760
9761
  NextToken: [],
@@ -10553,6 +10554,15 @@ var de_AttributeNames = /* @__PURE__ */ __name((output, context) => {
10553
10554
  });
10554
10555
  return retVal;
10555
10556
  }, "de_AttributeNames");
10557
+ var de_AuthenticationRequestExtraParams = /* @__PURE__ */ __name((output, context) => {
10558
+ return Object.entries(output).reduce((acc, [key, value]) => {
10559
+ if (value === null) {
10560
+ return acc;
10561
+ }
10562
+ acc[key] = (0, import_smithy_client.expectString)(value);
10563
+ return acc;
10564
+ }, {});
10565
+ }, "de_AuthenticationRequestExtraParams");
10556
10566
  var de_AutoMLAlgorithmConfig = /* @__PURE__ */ __name((output, context) => {
10557
10567
  return (0, import_smithy_client.take)(output, {
10558
10568
  AutoMLAlgorithms: (_) => de_AutoMLAlgorithms(_, context)
@@ -16067,11 +16077,13 @@ var de_OfflineStoreStatus = /* @__PURE__ */ __name((output, context) => {
16067
16077
  }, "de_OfflineStoreStatus");
16068
16078
  var de_OidcConfigForResponse = /* @__PURE__ */ __name((output, context) => {
16069
16079
  return (0, import_smithy_client.take)(output, {
16080
+ AuthenticationRequestExtraParams: (_) => de_AuthenticationRequestExtraParams(_, context),
16070
16081
  AuthorizationEndpoint: import_smithy_client.expectString,
16071
16082
  ClientId: import_smithy_client.expectString,
16072
16083
  Issuer: import_smithy_client.expectString,
16073
16084
  JwksUri: import_smithy_client.expectString,
16074
16085
  LogoutEndpoint: import_smithy_client.expectString,
16086
+ Scope: import_smithy_client.expectString,
16075
16087
  TokenEndpoint: import_smithy_client.expectString,
16076
16088
  UserInfoEndpoint: import_smithy_client.expectString
16077
16089
  });
@@ -6820,6 +6820,7 @@ const se_ListModelPackageGroupsInput = (input, context) => {
6820
6820
  return take(input, {
6821
6821
  CreationTimeAfter: (_) => _.getTime() / 1000,
6822
6822
  CreationTimeBefore: (_) => _.getTime() / 1000,
6823
+ CrossAccountFilterOption: [],
6823
6824
  MaxResults: [],
6824
6825
  NameContains: [],
6825
6826
  NextToken: [],
@@ -7651,6 +7652,15 @@ const de_AttributeNames = (output, context) => {
7651
7652
  });
7652
7653
  return retVal;
7653
7654
  };
7655
+ const de_AuthenticationRequestExtraParams = (output, context) => {
7656
+ return Object.entries(output).reduce((acc, [key, value]) => {
7657
+ if (value === null) {
7658
+ return acc;
7659
+ }
7660
+ acc[key] = __expectString(value);
7661
+ return acc;
7662
+ }, {});
7663
+ };
7654
7664
  const de_AutoMLAlgorithmConfig = (output, context) => {
7655
7665
  return take(output, {
7656
7666
  AutoMLAlgorithms: (_) => de_AutoMLAlgorithms(_, context),
@@ -13429,11 +13439,13 @@ const de_OfflineStoreStatus = (output, context) => {
13429
13439
  };
13430
13440
  const de_OidcConfigForResponse = (output, context) => {
13431
13441
  return take(output, {
13442
+ AuthenticationRequestExtraParams: (_) => de_AuthenticationRequestExtraParams(_, context),
13432
13443
  AuthorizationEndpoint: __expectString,
13433
13444
  ClientId: __expectString,
13434
13445
  Issuer: __expectString,
13435
13446
  JwksUri: __expectString,
13436
13447
  LogoutEndpoint: __expectString,
13448
+ Scope: __expectString,
13437
13449
  TokenEndpoint: __expectString,
13438
13450
  UserInfoEndpoint: __expectString,
13439
13451
  });
@@ -65,6 +65,10 @@ declare const CreateWorkforceCommand_base: {
65
65
  * UserInfoEndpoint: "STRING_VALUE", // required
66
66
  * LogoutEndpoint: "STRING_VALUE", // required
67
67
  * JwksUri: "STRING_VALUE", // required
68
+ * Scope: "STRING_VALUE",
69
+ * AuthenticationRequestExtraParams: { // AuthenticationRequestExtraParams
70
+ * "<keys>": "STRING_VALUE",
71
+ * },
68
72
  * },
69
73
  * SourceIpConfig: { // SourceIpConfig
70
74
  * Cidrs: [ // Cidrs // required
@@ -67,6 +67,10 @@ declare const DescribeWorkforceCommand_base: {
67
67
  * // UserInfoEndpoint: "STRING_VALUE",
68
68
  * // LogoutEndpoint: "STRING_VALUE",
69
69
  * // JwksUri: "STRING_VALUE",
70
+ * // Scope: "STRING_VALUE",
71
+ * // AuthenticationRequestExtraParams: { // AuthenticationRequestExtraParams
72
+ * // "<keys>": "STRING_VALUE",
73
+ * // },
70
74
  * // },
71
75
  * // CreateDate: new Date("TIMESTAMP"),
72
76
  * // WorkforceVpcConfig: { // WorkforceVpcConfigResponse
@@ -42,6 +42,7 @@ declare const ListModelPackageGroupsCommand_base: {
42
42
  * NextToken: "STRING_VALUE",
43
43
  * SortBy: "Name" || "CreationTime",
44
44
  * SortOrder: "Ascending" || "Descending",
45
+ * CrossAccountFilterOption: "SameAccount" || "CrossAccount",
45
46
  * };
46
47
  * const command = new ListModelPackageGroupsCommand(input);
47
48
  * const response = await client.send(command);
@@ -68,6 +68,10 @@ declare const ListWorkforcesCommand_base: {
68
68
  * // UserInfoEndpoint: "STRING_VALUE",
69
69
  * // LogoutEndpoint: "STRING_VALUE",
70
70
  * // JwksUri: "STRING_VALUE",
71
+ * // Scope: "STRING_VALUE",
72
+ * // AuthenticationRequestExtraParams: { // AuthenticationRequestExtraParams
73
+ * // "<keys>": "STRING_VALUE",
74
+ * // },
71
75
  * // },
72
76
  * // CreateDate: new Date("TIMESTAMP"),
73
77
  * // WorkforceVpcConfig: { // WorkforceVpcConfigResponse
@@ -75,6 +75,10 @@ declare const UpdateWorkforceCommand_base: {
75
75
  * UserInfoEndpoint: "STRING_VALUE", // required
76
76
  * LogoutEndpoint: "STRING_VALUE", // required
77
77
  * JwksUri: "STRING_VALUE", // required
78
+ * Scope: "STRING_VALUE",
79
+ * AuthenticationRequestExtraParams: { // AuthenticationRequestExtraParams
80
+ * "<keys>": "STRING_VALUE",
81
+ * },
78
82
  * },
79
83
  * WorkforceVpcConfig: { // WorkforceVpcConfigRequest
80
84
  * VpcId: "STRING_VALUE",
@@ -111,6 +115,10 @@ declare const UpdateWorkforceCommand_base: {
111
115
  * // UserInfoEndpoint: "STRING_VALUE",
112
116
  * // LogoutEndpoint: "STRING_VALUE",
113
117
  * // JwksUri: "STRING_VALUE",
118
+ * // Scope: "STRING_VALUE",
119
+ * // AuthenticationRequestExtraParams: { // AuthenticationRequestExtraParams
120
+ * // "<keys>": "STRING_VALUE",
121
+ * // },
114
122
  * // },
115
123
  * // CreateDate: new Date("TIMESTAMP"),
116
124
  * // WorkforceVpcConfig: { // WorkforceVpcConfigResponse
@@ -1116,6 +1116,16 @@ export interface OidcConfig {
1116
1116
  * @public
1117
1117
  */
1118
1118
  JwksUri: string | undefined;
1119
+ /**
1120
+ * <p>An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.</p>
1121
+ * @public
1122
+ */
1123
+ Scope?: string;
1124
+ /**
1125
+ * <p>A string to string map of identifiers specific to the custom identity provider (IdP) being used.</p>
1126
+ * @public
1127
+ */
1128
+ AuthenticationRequestExtraParams?: Record<string, string>;
1119
1129
  }
1120
1130
  /**
1121
1131
  * <p>A list of IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>). Used to create an allow
@@ -1,6 +1,6 @@
1
1
  import { ActionSummary, AgentVersion, AlgorithmSortBy, AlgorithmSpecification, AlgorithmSummary, AppDetails, AppImageConfigDetails, AppImageConfigSortKey, AppSortKey, AppSpecification, ArtifactSummary, AssociationEdgeType, AssociationSummary, AutoMLCandidate, AutoMLJobStatus, AutoMLJobSummary, AutoMLSortBy, AutoMLSortOrder, BatchDataCaptureConfig, BatchStrategy, CandidateSortBy, CandidateStatus, Channel, CheckpointConfig, ClusterNodeSummary, ClusterSortBy, ClusterSummary, CodeRepositorySortBy, CodeRepositorySortOrder, CodeRepositorySummary, CognitoConfig, CompilationJobStatus, CompilationJobSummary, ContextSummary, MetadataProperties, ModelApprovalStatus, ModelPackageStatus, OutputDataConfig, OutputParameter, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
2
2
  import { DockerSettings, EdgeOutputConfig, ExecutionRoleIdentityConfig, ExperimentConfig, FeatureDefinition, FeatureType, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartConfig, InferenceExperimentSchedule, InferenceExperimentType, LabelingJobInputConfig, ModelCardStatus, MonitoringScheduleConfig, MonitoringType, NetworkConfig, OfflineStoreConfig, OnlineStoreConfig, OwnershipSettings, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, RecommendationJobType, ResourceLimits, RetryStrategy, ServiceCatalogProvisioningDetails, SpaceSettings, SpaceSharingSettings, UserSettings } from "./models_1";
3
- import { CustomizedMetricSpecification, DataCaptureConfigSummary, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DomainStatus, EdgePackagingJobStatus, EndpointOutputConfiguration, EndpointStatus, ExecutionStatus, ExperimentSource, FeatureGroupStatus, FeatureParameter, FlowDefinitionStatus, HubContentStatus, HubContentType, HubStatus, HyperParameterTrainingJobSummary, HyperParameterTuningJobCompletionDetails, HyperParameterTuningJobConsumedResources, HyperParameterTuningJobStatus, ImageStatus, ImageVersionStatus, InferenceComponentStatus, InferenceExperimentStatus, InferenceMetrics, InfraCheckConfig, LabelCounters, LabelingJobOutput, LabelingJobStatus, LastUpdateStatus, MemberDefinition, ModelArtifacts, ModelCardExportJobStatus, ModelClientConfig, ModelConfiguration, ModelPackageGroupStatus, MonitoringExecutionSummary, NotificationConfiguration, ObjectiveStatusCounters, OfflineStoreStatus, OfflineStoreStatusValue, ProductionVariantSummary, ProfilerConfig, ProfilerRuleConfiguration, RecommendationJobStatus, RecommendationMetrics, RemoteDebugConfig, RuleEvaluationStatus, ScheduleStatus, SourceIpConfig, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrainingJobStatus, TrainingJobStatusCounters, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, WorkerAccessConfiguration } from "./models_2";
3
+ import { CrossAccountFilterOption, CustomizedMetricSpecification, DataCaptureConfigSummary, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DomainStatus, EdgePackagingJobStatus, EndpointOutputConfiguration, EndpointStatus, ExecutionStatus, ExperimentSource, FeatureGroupStatus, FeatureParameter, FlowDefinitionStatus, HubContentStatus, HubContentType, HubStatus, HyperParameterTrainingJobSummary, HyperParameterTuningJobCompletionDetails, HyperParameterTuningJobConsumedResources, HyperParameterTuningJobStatus, ImageStatus, ImageVersionStatus, InferenceComponentStatus, InferenceExperimentStatus, InferenceMetrics, InfraCheckConfig, LabelCounters, LabelingJobOutput, LabelingJobStatus, LastUpdateStatus, MemberDefinition, ModelArtifacts, ModelCardExportJobStatus, ModelClientConfig, ModelConfiguration, ModelPackageGroupStatus, MonitoringExecutionSummary, NotificationConfiguration, ObjectiveStatusCounters, OfflineStoreStatus, OfflineStoreStatusValue, ProductionVariantSummary, ProfilerConfig, ProfilerRuleConfiguration, RecommendationJobStatus, RecommendationMetrics, RemoteDebugConfig, RuleEvaluationStatus, ScheduleStatus, SourceIpConfig, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrainingJobStatus, TrainingJobStatusCounters, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, WorkerAccessConfiguration } from "./models_2";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1869,6 +1869,16 @@ export interface OidcConfigForResponse {
1869
1869
  * @public
1870
1870
  */
1871
1871
  JwksUri?: string;
1872
+ /**
1873
+ * <p>An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.</p>
1874
+ * @public
1875
+ */
1876
+ Scope?: string;
1877
+ /**
1878
+ * <p>A string to string map of identifiers specific to the custom identity provider (IdP) being used.</p>
1879
+ * @public
1880
+ */
1881
+ AuthenticationRequestExtraParams?: Record<string, string>;
1872
1882
  }
1873
1883
  /**
1874
1884
  * @public
@@ -8632,6 +8642,15 @@ export interface ListModelPackageGroupsInput {
8632
8642
  * @public
8633
8643
  */
8634
8644
  SortOrder?: SortOrder;
8645
+ /**
8646
+ * <p>A filter that returns either model groups shared with you or model groups in
8647
+ * your own account. When the value is <code>CrossAccount</code>, the results show
8648
+ * the resources made discoverable to you from other accounts. When the value is
8649
+ * <code>SameAccount</code> or <code>null</code>, the results show resources from your
8650
+ * account. The default is <code>SameAccount</code>.</p>
8651
+ * @public
8652
+ */
8653
+ CrossAccountFilterOption?: CrossAccountFilterOption;
8635
8654
  }
8636
8655
  /**
8637
8656
  * <p>Summary information about a model group.</p>
@@ -391,6 +391,8 @@ export interface OidcConfig {
391
391
  UserInfoEndpoint: string | undefined;
392
392
  LogoutEndpoint: string | undefined;
393
393
  JwksUri: string | undefined;
394
+ Scope?: string;
395
+ AuthenticationRequestExtraParams?: Record<string, string>;
394
396
  }
395
397
  export interface SourceIpConfig {
396
398
  Cidrs: string[] | undefined;
@@ -82,6 +82,7 @@ import {
82
82
  UserSettings,
83
83
  } from "./models_1";
84
84
  import {
85
+ CrossAccountFilterOption,
85
86
  CustomizedMetricSpecification,
86
87
  DataCaptureConfigSummary,
87
88
  DataProcessing,
@@ -503,6 +504,8 @@ export interface OidcConfigForResponse {
503
504
  UserInfoEndpoint?: string;
504
505
  LogoutEndpoint?: string;
505
506
  JwksUri?: string;
507
+ Scope?: string;
508
+ AuthenticationRequestExtraParams?: Record<string, string>;
506
509
  }
507
510
  export declare const WorkforceStatus: {
508
511
  readonly ACTIVE: "Active";
@@ -2103,6 +2106,7 @@ export interface ListModelPackageGroupsInput {
2103
2106
  NextToken?: string;
2104
2107
  SortBy?: ModelPackageGroupSortBy;
2105
2108
  SortOrder?: SortOrder;
2109
+ CrossAccountFilterOption?: CrossAccountFilterOption;
2106
2110
  }
2107
2111
  export interface ModelPackageGroupSummary {
2108
2112
  ModelPackageGroupName: 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.593.0",
4
+ "version": "3.596.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-sagemaker",
@@ -20,10 +20,10 @@
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.592.0",
24
- "@aws-sdk/client-sts": "3.592.0",
23
+ "@aws-sdk/client-sso-oidc": "3.596.0",
24
+ "@aws-sdk/client-sts": "3.596.0",
25
25
  "@aws-sdk/core": "3.592.0",
26
- "@aws-sdk/credential-provider-node": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.596.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",