@aws-sdk/client-glue 3.1072.0 → 3.1073.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.
Files changed (40) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/index.js +10 -10
  3. package/dist-cjs/schemas/schemas_0.js +30 -29
  4. package/dist-es/Glue.js +4 -4
  5. package/dist-es/commands/{SearchCommand.js → SearchAssetsCommand.js} +5 -5
  6. package/dist-es/commands/index.js +1 -1
  7. package/dist-es/pagination/SearchAssetsPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -1
  9. package/dist-es/schemas/schemas_0.js +28 -27
  10. package/dist-types/Glue.d.ts +9 -9
  11. package/dist-types/GlueClient.d.ts +3 -3
  12. package/dist-types/commands/AssociateGlossaryTermsCommand.d.ts +2 -2
  13. package/dist-types/commands/DeleteAttachmentCommand.d.ts +4 -2
  14. package/dist-types/commands/DisassociateGlossaryTermsCommand.d.ts +2 -2
  15. package/dist-types/commands/PutAttachmentCommand.d.ts +1 -1
  16. package/dist-types/commands/{SearchCommand.d.ts → SearchAssetsCommand.d.ts} +23 -23
  17. package/dist-types/commands/index.d.ts +1 -1
  18. package/dist-types/models/models_0.d.ts +2 -2
  19. package/dist-types/models/models_1.d.ts +14 -4
  20. package/dist-types/models/models_2.d.ts +2 -2
  21. package/dist-types/models/models_3.d.ts +1 -1
  22. package/dist-types/pagination/SearchAssetsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -1
  24. package/dist-types/schemas/schemas_0.d.ts +3 -3
  25. package/dist-types/ts3.4/Glue.d.ts +16 -16
  26. package/dist-types/ts3.4/GlueClient.d.ts +5 -5
  27. package/dist-types/ts3.4/commands/SearchAssetsCommand.d.ts +50 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -1
  29. package/dist-types/ts3.4/models/models_0.d.ts +2 -2
  30. package/dist-types/ts3.4/models/models_1.d.ts +6 -4
  31. package/dist-types/ts3.4/models/models_2.d.ts +2 -2
  32. package/dist-types/ts3.4/models/models_3.d.ts +1 -1
  33. package/dist-types/ts3.4/pagination/SearchAssetsPaginator.d.ts +11 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +1 -1
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -3
  36. package/package.json +1 -1
  37. package/dist-es/pagination/SearchPaginator.js +0 -4
  38. package/dist-types/pagination/SearchPaginator.d.ts +0 -7
  39. package/dist-types/ts3.4/commands/SearchCommand.d.ts +0 -46
  40. package/dist-types/ts3.4/pagination/SearchPaginator.d.ts +0 -11
@@ -1478,7 +1478,7 @@ export interface PutAttachmentRequest {
1478
1478
  ClientToken?: string | undefined;
1479
1479
  }
1480
1480
  export interface PutAttachmentResponse {
1481
- AssetId?: string | undefined;
1481
+ AssetIdentifier?: string | undefined;
1482
1482
  IterableFormName?: string | undefined;
1483
1483
  ItemIdentifier?: string | undefined;
1484
1484
  AttachmentName?: string | undefined;
@@ -1743,7 +1743,7 @@ export interface SearchResultItem {
1743
1743
  UpdatedAt?: Date | undefined;
1744
1744
  AssetTypeId?: string | undefined;
1745
1745
  }
1746
- export interface SearchOutput {
1746
+ export interface SearchAssetsOutput {
1747
1747
  Items?: SearchResultItem[] | undefined;
1748
1748
  NextToken?: string | undefined;
1749
1749
  }
@@ -968,7 +968,7 @@ export interface JobUpdate {
968
968
  SourceControlDetails?: SourceControlDetails | undefined;
969
969
  MaintenanceWindow?: string | undefined;
970
970
  }
971
- export interface SearchInput {
971
+ export interface SearchAssetsInput {
972
972
  SearchText?: string | undefined;
973
973
  MaxResults?: number | undefined;
974
974
  NextToken?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchAssetsCommandInput,
4
+ SearchAssetsCommandOutput,
5
+ } from "../commands/SearchAssetsCommand";
6
+ import { GluePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateSearchAssets: (
8
+ config: GluePaginationConfiguration,
9
+ input: SearchAssetsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<SearchAssetsCommandOutput>;
@@ -49,5 +49,5 @@ export * from "./ListTableOptimizerRunsPaginator";
49
49
  export * from "./ListTriggersPaginator";
50
50
  export * from "./ListUsageProfilesPaginator";
51
51
  export * from "./ListWorkflowsPaginator";
52
- export * from "./SearchPaginator";
52
+ export * from "./SearchAssetsPaginator";
53
53
  export * from "./SearchTablesPaginator";
@@ -883,10 +883,10 @@ export declare var SchemaReference$: StaticStructureSchema;
883
883
  export declare var SchemaVersionErrorItem$: StaticStructureSchema;
884
884
  export declare var SchemaVersionListItem$: StaticStructureSchema;
885
885
  export declare var SchemaVersionNumber$: StaticStructureSchema;
886
+ export declare var SearchAssetsInput$: StaticStructureSchema;
887
+ export declare var SearchAssetsOutput$: StaticStructureSchema;
886
888
  export declare var SearchAttributeFilter$: StaticStructureSchema;
887
- export declare var SearchInput$: StaticStructureSchema;
888
889
  export declare var SearchMapFilter$: StaticStructureSchema;
889
- export declare var SearchOutput$: StaticStructureSchema;
890
890
  export declare var SearchResultItem$: StaticStructureSchema;
891
891
  export declare var SearchSort$: StaticStructureSchema;
892
892
  export declare var SearchTablesRequest$: StaticStructureSchema;
@@ -1331,7 +1331,7 @@ export declare var RemoveSchemaVersionMetadata$: StaticOperationSchema;
1331
1331
  export declare var ResetJobBookmark$: StaticOperationSchema;
1332
1332
  export declare var ResumeWorkflowRun$: StaticOperationSchema;
1333
1333
  export declare var RunStatement$: StaticOperationSchema;
1334
- export declare var Search$: StaticOperationSchema;
1334
+ export declare var SearchAssets$: StaticOperationSchema;
1335
1335
  export declare var SearchTables$: StaticOperationSchema;
1336
1336
  export declare var StartBlueprintRun$: StaticOperationSchema;
1337
1337
  export declare var StartColumnStatisticsTaskRun$: StaticOperationSchema;
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.1072.0",
4
+ "version": "3.1073.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -1,4 +0,0 @@
1
- import { createPaginator } from "@smithy/core";
2
- import { SearchCommand } from "../commands/SearchCommand";
3
- import { GlueClient } from "../GlueClient";
4
- export const paginateSearch = createPaginator(GlueClient, SearchCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- import type { Paginator } from "@smithy/types";
2
- import { SearchCommandInput, SearchCommandOutput } from "../commands/SearchCommand";
3
- import type { GluePaginationConfiguration } from "./Interfaces";
4
- /**
5
- * @public
6
- */
7
- export declare const paginateSearch: (config: GluePaginationConfiguration, input: SearchCommandInput, ...rest: any[]) => Paginator<SearchCommandOutput>;
@@ -1,46 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- GlueClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../GlueClient";
8
- import { SearchOutput } from "../models/models_2";
9
- import { SearchInput } from "../models/models_3";
10
- export { __MetadataBearer };
11
- export { $Command };
12
- export interface SearchCommandInput extends SearchInput {}
13
- export interface SearchCommandOutput extends SearchOutput, __MetadataBearer {}
14
- declare const SearchCommand_base: {
15
- new (input: SearchCommandInput): import("@smithy/core/client").CommandImpl<
16
- SearchCommandInput,
17
- SearchCommandOutput,
18
- GlueClientResolvedConfig,
19
- ServiceInputTypes,
20
- ServiceOutputTypes
21
- >;
22
- new (
23
- ...[input]: [] | [SearchCommandInput]
24
- ): import("@smithy/core/client").CommandImpl<
25
- SearchCommandInput,
26
- SearchCommandOutput,
27
- GlueClientResolvedConfig,
28
- ServiceInputTypes,
29
- ServiceOutputTypes
30
- >;
31
- getEndpointParameterInstructions(): {
32
- [x: string]: unknown;
33
- };
34
- };
35
- export declare class SearchCommand extends SearchCommand_base {
36
- protected static __types: {
37
- api: {
38
- input: SearchInput;
39
- output: SearchOutput;
40
- };
41
- sdk: {
42
- input: SearchCommandInput;
43
- output: SearchCommandOutput;
44
- };
45
- };
46
- }
@@ -1,11 +0,0 @@
1
- import { Paginator } from "@smithy/types";
2
- import {
3
- SearchCommandInput,
4
- SearchCommandOutput,
5
- } from "../commands/SearchCommand";
6
- import { GluePaginationConfiguration } from "./Interfaces";
7
- export declare const paginateSearch: (
8
- config: GluePaginationConfiguration,
9
- input: SearchCommandInput,
10
- ...rest: any[]
11
- ) => Paginator<SearchCommandOutput>;