@aws-sdk/client-glue 3.935.0 → 3.937.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
@@ -1563,6 +1563,7 @@ const _FSVN = "FirstSchemaVersionNumber";
1563
1563
  const _FT = "FederatedTable";
1564
1564
  const _FTi = "FieldType";
1565
1565
  const _FTr = "FromType";
1566
+ const _FTu = "FunctionType";
1566
1567
  const _FV = "FieldValue";
1567
1568
  const _FVi = "FilterValue";
1568
1569
  const _FVil = "FilterValues";
@@ -5778,8 +5779,8 @@ var GetUserDefinedFunctionsRequest = [
5778
5779
  n0,
5779
5780
  _GUDFRet,
5780
5781
  0,
5781
- [_CI, _DN, _Patt, _NTe, _MRax],
5782
- [0, 0, 0, 0, 1],
5782
+ [_CI, _DN, _Patt, _FTu, _NTe, _MRax],
5783
+ [0, 0, 0, 0, 0, 1],
5783
5784
  ];
5784
5785
  var GetUserDefinedFunctionsResponse = [
5785
5786
  3,
@@ -8290,16 +8291,16 @@ var UserDefinedFunction = [
8290
8291
  n0,
8291
8292
  _UDF,
8292
8293
  0,
8293
- [_FNu, _DN, _CNl, _ON, _OT, _CTr, _RUes, _CI],
8294
- [0, 0, 0, 0, 0, 4, () => ResourceUriList, 0],
8294
+ [_FNu, _DN, _CNl, _ON, _FTu, _OT, _CTr, _RUes, _CI],
8295
+ [0, 0, 0, 0, 0, 0, 4, () => ResourceUriList, 0],
8295
8296
  ];
8296
8297
  var UserDefinedFunctionInput = [
8297
8298
  3,
8298
8299
  n0,
8299
8300
  _UDFI,
8300
8301
  0,
8301
- [_FNu, _CNl, _ON, _OT, _RUes],
8302
- [0, 0, 0, 0, () => ResourceUriList],
8302
+ [_FNu, _CNl, _ON, _FTu, _OT, _RUes],
8303
+ [0, 0, 0, 0, 0, () => ResourceUriList],
8303
8304
  ];
8304
8305
  var ValidationException = [
8305
8306
  -3,
@@ -14556,6 +14557,11 @@ const ViewDialect = {
14556
14557
  REDSHIFT: "REDSHIFT",
14557
14558
  SPARK: "SPARK",
14558
14559
  };
14560
+ const FunctionType = {
14561
+ AGGREGATE_FUNCTION: "AGGREGATE_FUNCTION",
14562
+ REGULAR_FUNCTION: "REGULAR_FUNCTION",
14563
+ STORED_PROCEDURE: "STORED_PROCEDURE",
14564
+ };
14559
14565
  const PrincipalType = {
14560
14566
  GROUP: "GROUP",
14561
14567
  ROLE: "ROLE",
@@ -14950,6 +14956,7 @@ exports.FilterLogicalOperator = FilterLogicalOperator;
14950
14956
  exports.FilterOperation = FilterOperation;
14951
14957
  exports.FilterOperator = FilterOperator;
14952
14958
  exports.FilterValueType = FilterValueType;
14959
+ exports.FunctionType = FunctionType;
14953
14960
  exports.GetBlueprintCommand = GetBlueprintCommand;
14954
14961
  exports.GetBlueprintRunCommand = GetBlueprintRunCommand;
14955
14962
  exports.GetBlueprintRunsCommand = GetBlueprintRunsCommand;
@@ -679,6 +679,11 @@ export const ViewDialect = {
679
679
  REDSHIFT: "REDSHIFT",
680
680
  SPARK: "SPARK",
681
681
  };
682
+ export const FunctionType = {
683
+ AGGREGATE_FUNCTION: "AGGREGATE_FUNCTION",
684
+ REGULAR_FUNCTION: "REGULAR_FUNCTION",
685
+ STORED_PROCEDURE: "STORED_PROCEDURE",
686
+ };
682
687
  export const PrincipalType = {
683
688
  GROUP: "GROUP",
684
689
  ROLE: "ROLE",
@@ -805,6 +805,7 @@ const _FSVN = "FirstSchemaVersionNumber";
805
805
  const _FT = "FederatedTable";
806
806
  const _FTi = "FieldType";
807
807
  const _FTr = "FromType";
808
+ const _FTu = "FunctionType";
808
809
  const _FV = "FieldValue";
809
810
  const _FVi = "FilterValue";
810
811
  const _FVil = "FilterValues";
@@ -5023,8 +5024,8 @@ export var GetUserDefinedFunctionsRequest = [
5023
5024
  n0,
5024
5025
  _GUDFRet,
5025
5026
  0,
5026
- [_CI, _DN, _Patt, _NTe, _MRax],
5027
- [0, 0, 0, 0, 1],
5027
+ [_CI, _DN, _Patt, _FTu, _NTe, _MRax],
5028
+ [0, 0, 0, 0, 0, 1],
5028
5029
  ];
5029
5030
  export var GetUserDefinedFunctionsResponse = [
5030
5031
  3,
@@ -7535,16 +7536,16 @@ export var UserDefinedFunction = [
7535
7536
  n0,
7536
7537
  _UDF,
7537
7538
  0,
7538
- [_FNu, _DN, _CNl, _ON, _OT, _CTr, _RUes, _CI],
7539
- [0, 0, 0, 0, 0, 4, () => ResourceUriList, 0],
7539
+ [_FNu, _DN, _CNl, _ON, _FTu, _OT, _CTr, _RUes, _CI],
7540
+ [0, 0, 0, 0, 0, 0, 4, () => ResourceUriList, 0],
7540
7541
  ];
7541
7542
  export var UserDefinedFunctionInput = [
7542
7543
  3,
7543
7544
  n0,
7544
7545
  _UDFI,
7545
7546
  0,
7546
- [_FNu, _CNl, _ON, _OT, _RUes],
7547
- [0, 0, 0, 0, () => ResourceUriList],
7547
+ [_FNu, _CNl, _ON, _FTu, _OT, _RUes],
7548
+ [0, 0, 0, 0, 0, () => ResourceUriList],
7548
7549
  ];
7549
7550
  export var ValidationException = [
7550
7551
  -3,
@@ -43,6 +43,7 @@ declare const CreateUserDefinedFunctionCommand_base: {
43
43
  * FunctionName: "STRING_VALUE",
44
44
  * ClassName: "STRING_VALUE",
45
45
  * OwnerName: "STRING_VALUE",
46
+ * FunctionType: "REGULAR_FUNCTION" || "AGGREGATE_FUNCTION" || "STORED_PROCEDURE",
46
47
  * OwnerType: "USER" || "ROLE" || "GROUP",
47
48
  * ResourceUris: [ // ResourceUriList
48
49
  * { // ResourceUri
@@ -49,6 +49,7 @@ declare const GetUserDefinedFunctionCommand_base: {
49
49
  * // DatabaseName: "STRING_VALUE",
50
50
  * // ClassName: "STRING_VALUE",
51
51
  * // OwnerName: "STRING_VALUE",
52
+ * // FunctionType: "REGULAR_FUNCTION" || "AGGREGATE_FUNCTION" || "STORED_PROCEDURE",
52
53
  * // OwnerType: "USER" || "ROLE" || "GROUP",
53
54
  * // CreateTime: new Date("TIMESTAMP"),
54
55
  * // ResourceUris: [ // ResourceUriList
@@ -40,6 +40,7 @@ declare const GetUserDefinedFunctionsCommand_base: {
40
40
  * CatalogId: "STRING_VALUE",
41
41
  * DatabaseName: "STRING_VALUE",
42
42
  * Pattern: "STRING_VALUE", // required
43
+ * FunctionType: "REGULAR_FUNCTION" || "AGGREGATE_FUNCTION" || "STORED_PROCEDURE",
43
44
  * NextToken: "STRING_VALUE",
44
45
  * MaxResults: Number("int"),
45
46
  * };
@@ -52,6 +53,7 @@ declare const GetUserDefinedFunctionsCommand_base: {
52
53
  * // DatabaseName: "STRING_VALUE",
53
54
  * // ClassName: "STRING_VALUE",
54
55
  * // OwnerName: "STRING_VALUE",
56
+ * // FunctionType: "REGULAR_FUNCTION" || "AGGREGATE_FUNCTION" || "STORED_PROCEDURE",
55
57
  * // OwnerType: "USER" || "ROLE" || "GROUP",
56
58
  * // CreateTime: new Date("TIMESTAMP"),
57
59
  * // ResourceUris: [ // ResourceUriList
@@ -44,6 +44,7 @@ declare const UpdateUserDefinedFunctionCommand_base: {
44
44
  * FunctionName: "STRING_VALUE",
45
45
  * ClassName: "STRING_VALUE",
46
46
  * OwnerName: "STRING_VALUE",
47
+ * FunctionType: "REGULAR_FUNCTION" || "AGGREGATE_FUNCTION" || "STORED_PROCEDURE",
47
48
  * OwnerType: "USER" || "ROLE" || "GROUP",
48
49
  * ResourceUris: [ // ResourceUriList
49
50
  * { // ResourceUri
@@ -1375,6 +1375,19 @@ export declare const ViewDialect: {
1375
1375
  * @public
1376
1376
  */
1377
1377
  export type ViewDialect = (typeof ViewDialect)[keyof typeof ViewDialect];
1378
+ /**
1379
+ * @public
1380
+ * @enum
1381
+ */
1382
+ export declare const FunctionType: {
1383
+ readonly AGGREGATE_FUNCTION: "AGGREGATE_FUNCTION";
1384
+ readonly REGULAR_FUNCTION: "REGULAR_FUNCTION";
1385
+ readonly STORED_PROCEDURE: "STORED_PROCEDURE";
1386
+ };
1387
+ /**
1388
+ * @public
1389
+ */
1390
+ export type FunctionType = (typeof FunctionType)[keyof typeof FunctionType];
1378
1391
  /**
1379
1392
  * @public
1380
1393
  * @enum
@@ -1,5 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AllowFullTableExternalDataAccessEnum, AuthenticationType, BlueprintRunState, CatalogEncryptionMode, CloudWatchEncryptionMode, ColumnStatisticsState, ColumnStatisticsType, Compatibility, ComputationType, ComputeEnvironment, ConnectionPropertyKey, ConnectionStatus, ConnectionType, CsvHeaderOption, CsvSerdeOption, DatabaseAttributes, DataFormat, DataOperation, DataQualityEncryptionMode, DataQualityModelStatus, DQCompositeRuleEvaluationMethod, ExecutionStatus, FieldDataType, FieldFilterOperator, IcebergNullOrder, IcebergSortDirection, IcebergStructTypeEnum, InclusionAnnotationValue, IntegrationStatus, JobBookmarksEncryptionMode, Language, MetadataOperation, MLUserDataEncryptionModeString, PrincipalType, RegistryStatus, ResourceShareType, ResourceType, S3EncryptionMode, ScheduleType, SchemaStatus, SchemaVersionStatus, SessionStatus, SettingSource, SortDirectionType, TableOptimizerType, TaskRunSortColumnType, TaskStatusType, TaskType, TransformStatusType, TransformType, TriggerType, UnnestSpec, ViewDialect, WorkerType } from "./enums";
2
+ import { AllowFullTableExternalDataAccessEnum, AuthenticationType, BlueprintRunState, CatalogEncryptionMode, CloudWatchEncryptionMode, ColumnStatisticsState, ColumnStatisticsType, Compatibility, ComputationType, ComputeEnvironment, ConnectionPropertyKey, ConnectionStatus, ConnectionType, CsvHeaderOption, CsvSerdeOption, DatabaseAttributes, DataFormat, DataOperation, DataQualityEncryptionMode, DataQualityModelStatus, DQCompositeRuleEvaluationMethod, ExecutionStatus, FieldDataType, FieldFilterOperator, FunctionType, IcebergNullOrder, IcebergSortDirection, IcebergStructTypeEnum, InclusionAnnotationValue, IntegrationStatus, JobBookmarksEncryptionMode, Language, MetadataOperation, MLUserDataEncryptionModeString, PrincipalType, RegistryStatus, ResourceShareType, ResourceType, S3EncryptionMode, ScheduleType, SchemaStatus, SchemaVersionStatus, SessionStatus, SettingSource, SortDirectionType, TableOptimizerType, TaskRunSortColumnType, TaskStatusType, TaskType, TransformStatusType, TransformType, TriggerType, UnnestSpec, ViewDialect, WorkerType } from "./enums";
3
3
  import { Action, AuthConfiguration, AuthenticationConfiguration, Blueprint, Column, ConnectionsList, Crawler, DatabaseIdentifier, DataQualityAggregatedMetrics, DataQualityAnalyzerResult, DataQualityObservation, DataQualityRuleResult, DataQualityTargetTable, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, FederatedCatalog, FederatedDatabase, GlueTable, JobRun, PartitionInput, PhysicalConnectionRequirements, Predicate, PrincipalPermissions, Property, Schedule, SchemaId, StorageDescriptor, TableOptimizerConfiguration, TargetRedshiftCatalog } from "./models_0";
4
4
  /**
5
5
  * @public
@@ -2398,6 +2398,11 @@ export interface UserDefinedFunctionInput {
2398
2398
  * @public
2399
2399
  */
2400
2400
  OwnerName?: string | undefined;
2401
+ /**
2402
+ * <p>The type of the function.</p>
2403
+ * @public
2404
+ */
2405
+ FunctionType?: FunctionType | undefined;
2401
2406
  /**
2402
2407
  * <p>The owner type.</p>
2403
2408
  * @public
@@ -1,4 +1,4 @@
1
- import { BackfillErrorCode, Comparator, Compatibility, ConnectionPropertyKey, ConnectionType, CrawlerHistoryState, CsvHeaderOption, CsvSerdeOption, DataFormat, EnableHybridValues, ExecutionClass, ExistCondition, FieldName, FilterOperator, InclusionAnnotationValue, IntegrationStatus, Language, PartitionIndexStatus, Permission, PermissionType, PrincipalType, RegistryStatus, ResourceShareType, ResourceState, SchemaDiffType, SchemaStatus, SchemaVersionStatus, Sort, SortDirectionType, SourceControlAuthStrategy, SourceControlProvider, StatementState, StatisticEvaluationLevel, TableAttributes, TableOptimizerType, TaskStatusType, TransformSortColumnType, TransformStatusType, TransformType, ViewDialect, ViewUpdateAction, WorkerType } from "./enums";
1
+ import { BackfillErrorCode, Comparator, Compatibility, ConnectionPropertyKey, ConnectionType, CrawlerHistoryState, CsvHeaderOption, CsvSerdeOption, DataFormat, EnableHybridValues, ExecutionClass, ExistCondition, FieldName, FilterOperator, FunctionType, InclusionAnnotationValue, IntegrationStatus, Language, PartitionIndexStatus, Permission, PermissionType, PrincipalType, RegistryStatus, ResourceShareType, ResourceState, SchemaDiffType, SchemaStatus, SchemaVersionStatus, Sort, SortDirectionType, SourceControlAuthStrategy, SourceControlProvider, StatementState, StatisticEvaluationLevel, TableAttributes, TableOptimizerType, TaskStatusType, TransformSortColumnType, TransformStatusType, TransformType, ViewDialect, ViewUpdateAction, WorkerType } from "./enums";
2
2
  import { Action, AuditContext, AuthenticationConfigurationInput, CatalogInput, ConnectionInput, CrawlerTargets, CustomEntityType, DatabaseInput, DataQualityTargetTable, DataSource, ErrorDetail, EventBatchingCondition, GlueTable, LakeFormationConfiguration, LineageConfiguration, NotificationProperty, Partition, PartitionInput, PartitionValueList, Predicate, RecrawlPolicy, SchemaChangePolicy, SchemaId, StatisticAnnotation, TableOptimizer, TableOptimizerConfiguration, TableOptimizerRun, TimestampedInclusionAnnotation, Trigger, Workflow, WorkflowRun } from "./models_0";
3
3
  import { Capabilities, CatalogEntry, ColumnStatistics, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, EncryptionConfiguration, EvaluationMetrics, IcebergPartitionSpec, IcebergSchema, IcebergSortOrder, IntegrationConfig, IntegrationError, JobBookmarkEntry, Location, MappingEntry, ProfileConfiguration, RegistryId, ResourceUri, SchemaColumn, Session, SourceProcessingProperties, SourceTableConfig, TableInput, Tag, TargetProcessingProperties, TargetTableConfig, TransformEncryption, TransformParameters } from "./models_1";
4
4
  /**
@@ -2249,6 +2249,11 @@ export interface UserDefinedFunction {
2249
2249
  * @public
2250
2250
  */
2251
2251
  OwnerName?: string | undefined;
2252
+ /**
2253
+ * <p>The type of the function.</p>
2254
+ * @public
2255
+ */
2256
+ FunctionType?: FunctionType | undefined;
2252
2257
  /**
2253
2258
  * <p>The owner type.</p>
2254
2259
  * @public
@@ -2302,6 +2307,16 @@ export interface GetUserDefinedFunctionsRequest {
2302
2307
  * @public
2303
2308
  */
2304
2309
  Pattern: string | undefined;
2310
+ /**
2311
+ * <p>An optional function-type pattern string that filters the function
2312
+ * definitions returned from Amazon Redshift Federated Permissions Catalog.</p>
2313
+ * <p>Specify a value of <code>REGULAR_FUNCTION</code> or <code>STORED_PROCEDURE</code>.
2314
+ * The <code>STORED_PROCEDURE</code> function type is only compatible with
2315
+ * Amazon Redshift Federated Permissions Catalog.
2316
+ * </p>
2317
+ * @public
2318
+ */
2319
+ FunctionType?: FunctionType | undefined;
2305
2320
  /**
2306
2321
  * <p>A continuation token, if this is a continuation call.</p>
2307
2322
  * @public
@@ -822,6 +822,12 @@ export declare const ViewDialect: {
822
822
  readonly SPARK: "SPARK";
823
823
  };
824
824
  export type ViewDialect = (typeof ViewDialect)[keyof typeof ViewDialect];
825
+ export declare const FunctionType: {
826
+ readonly AGGREGATE_FUNCTION: "AGGREGATE_FUNCTION";
827
+ readonly REGULAR_FUNCTION: "REGULAR_FUNCTION";
828
+ readonly STORED_PROCEDURE: "STORED_PROCEDURE";
829
+ };
830
+ export type FunctionType = (typeof FunctionType)[keyof typeof FunctionType];
825
831
  export declare const PrincipalType: {
826
832
  readonly GROUP: "GROUP";
827
833
  readonly ROLE: "ROLE";
@@ -24,6 +24,7 @@ import {
24
24
  ExecutionStatus,
25
25
  FieldDataType,
26
26
  FieldFilterOperator,
27
+ FunctionType,
27
28
  IcebergNullOrder,
28
29
  IcebergSortDirection,
29
30
  IcebergStructTypeEnum,
@@ -561,6 +562,7 @@ export interface UserDefinedFunctionInput {
561
562
  FunctionName?: string | undefined;
562
563
  ClassName?: string | undefined;
563
564
  OwnerName?: string | undefined;
565
+ FunctionType?: FunctionType | undefined;
564
566
  OwnerType?: PrincipalType | undefined;
565
567
  ResourceUris?: ResourceUri[] | undefined;
566
568
  }
@@ -13,6 +13,7 @@ import {
13
13
  ExistCondition,
14
14
  FieldName,
15
15
  FilterOperator,
16
+ FunctionType,
16
17
  InclusionAnnotationValue,
17
18
  IntegrationStatus,
18
19
  Language,
@@ -540,6 +541,7 @@ export interface UserDefinedFunction {
540
541
  DatabaseName?: string | undefined;
541
542
  ClassName?: string | undefined;
542
543
  OwnerName?: string | undefined;
544
+ FunctionType?: FunctionType | undefined;
543
545
  OwnerType?: PrincipalType | undefined;
544
546
  CreateTime?: Date | undefined;
545
547
  ResourceUris?: ResourceUri[] | undefined;
@@ -552,6 +554,7 @@ export interface GetUserDefinedFunctionsRequest {
552
554
  CatalogId?: string | undefined;
553
555
  DatabaseName?: string | undefined;
554
556
  Pattern: string | undefined;
557
+ FunctionType?: FunctionType | undefined;
555
558
  NextToken?: string | undefined;
556
559
  MaxResults?: number | undefined;
557
560
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-glue",
3
3
  "description": "AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native",
4
- "version": "3.935.0",
4
+ "version": "3.937.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-glue",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.935.0",
24
- "@aws-sdk/credential-provider-node": "3.935.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.935.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.935.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",