@aws-sdk/client-glue 3.76.0 → 3.78.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 (86) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/pagination/GetBlueprintRunsPaginator.js +2 -1
  3. package/dist-cjs/pagination/GetClassifiersPaginator.js +2 -1
  4. package/dist-cjs/pagination/GetConnectionsPaginator.js +2 -1
  5. package/dist-cjs/pagination/GetCrawlerMetricsPaginator.js +2 -1
  6. package/dist-cjs/pagination/GetCrawlersPaginator.js +2 -1
  7. package/dist-cjs/pagination/GetDatabasesPaginator.js +2 -1
  8. package/dist-cjs/pagination/GetDevEndpointsPaginator.js +2 -1
  9. package/dist-cjs/pagination/GetJobRunsPaginator.js +2 -1
  10. package/dist-cjs/pagination/GetJobsPaginator.js +2 -1
  11. package/dist-cjs/pagination/GetMLTaskRunsPaginator.js +2 -1
  12. package/dist-cjs/pagination/GetMLTransformsPaginator.js +2 -1
  13. package/dist-cjs/pagination/GetPartitionIndexesPaginator.js +2 -1
  14. package/dist-cjs/pagination/GetPartitionsPaginator.js +2 -1
  15. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +2 -1
  16. package/dist-cjs/pagination/GetSecurityConfigurationsPaginator.js +2 -1
  17. package/dist-cjs/pagination/GetTableVersionsPaginator.js +2 -1
  18. package/dist-cjs/pagination/GetTablesPaginator.js +2 -1
  19. package/dist-cjs/pagination/GetTriggersPaginator.js +2 -1
  20. package/dist-cjs/pagination/GetUnfilteredPartitionsMetadataPaginator.js +2 -1
  21. package/dist-cjs/pagination/GetUserDefinedFunctionsPaginator.js +2 -1
  22. package/dist-cjs/pagination/GetWorkflowRunsPaginator.js +2 -1
  23. package/dist-cjs/pagination/ListBlueprintsPaginator.js +2 -1
  24. package/dist-cjs/pagination/ListCrawlersPaginator.js +2 -1
  25. package/dist-cjs/pagination/ListCustomEntityTypesPaginator.js +2 -1
  26. package/dist-cjs/pagination/ListDevEndpointsPaginator.js +2 -1
  27. package/dist-cjs/pagination/ListJobsPaginator.js +2 -1
  28. package/dist-cjs/pagination/ListMLTransformsPaginator.js +2 -1
  29. package/dist-cjs/pagination/ListRegistriesPaginator.js +2 -1
  30. package/dist-cjs/pagination/ListSchemaVersionsPaginator.js +2 -1
  31. package/dist-cjs/pagination/ListSchemasPaginator.js +2 -1
  32. package/dist-cjs/pagination/ListSessionsPaginator.js +2 -1
  33. package/dist-cjs/pagination/ListTriggersPaginator.js +2 -1
  34. package/dist-cjs/pagination/ListWorkflowsPaginator.js +2 -1
  35. package/dist-cjs/pagination/SearchTablesPaginator.js +2 -1
  36. package/dist-es/pagination/GetBlueprintRunsPaginator.js +3 -2
  37. package/dist-es/pagination/GetClassifiersPaginator.js +3 -2
  38. package/dist-es/pagination/GetConnectionsPaginator.js +3 -2
  39. package/dist-es/pagination/GetCrawlerMetricsPaginator.js +3 -2
  40. package/dist-es/pagination/GetCrawlersPaginator.js +3 -2
  41. package/dist-es/pagination/GetDatabasesPaginator.js +3 -2
  42. package/dist-es/pagination/GetDevEndpointsPaginator.js +3 -2
  43. package/dist-es/pagination/GetJobRunsPaginator.js +3 -2
  44. package/dist-es/pagination/GetJobsPaginator.js +3 -2
  45. package/dist-es/pagination/GetMLTaskRunsPaginator.js +3 -2
  46. package/dist-es/pagination/GetMLTransformsPaginator.js +3 -2
  47. package/dist-es/pagination/GetPartitionIndexesPaginator.js +3 -2
  48. package/dist-es/pagination/GetPartitionsPaginator.js +3 -2
  49. package/dist-es/pagination/GetResourcePoliciesPaginator.js +3 -2
  50. package/dist-es/pagination/GetSecurityConfigurationsPaginator.js +3 -2
  51. package/dist-es/pagination/GetTableVersionsPaginator.js +3 -2
  52. package/dist-es/pagination/GetTablesPaginator.js +3 -2
  53. package/dist-es/pagination/GetTriggersPaginator.js +3 -2
  54. package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +3 -2
  55. package/dist-es/pagination/GetUserDefinedFunctionsPaginator.js +3 -2
  56. package/dist-es/pagination/GetWorkflowRunsPaginator.js +3 -2
  57. package/dist-es/pagination/ListBlueprintsPaginator.js +3 -2
  58. package/dist-es/pagination/ListCrawlersPaginator.js +3 -2
  59. package/dist-es/pagination/ListCustomEntityTypesPaginator.js +3 -2
  60. package/dist-es/pagination/ListDevEndpointsPaginator.js +3 -2
  61. package/dist-es/pagination/ListJobsPaginator.js +3 -2
  62. package/dist-es/pagination/ListMLTransformsPaginator.js +3 -2
  63. package/dist-es/pagination/ListRegistriesPaginator.js +3 -2
  64. package/dist-es/pagination/ListSchemaVersionsPaginator.js +3 -2
  65. package/dist-es/pagination/ListSchemasPaginator.js +3 -2
  66. package/dist-es/pagination/ListSessionsPaginator.js +3 -2
  67. package/dist-es/pagination/ListTriggersPaginator.js +3 -2
  68. package/dist-es/pagination/ListWorkflowsPaginator.js +3 -2
  69. package/dist-es/pagination/SearchTablesPaginator.js +3 -2
  70. package/dist-types/Glue.d.ts +17 -0
  71. package/dist-types/commands/BatchGetCustomEntityTypesCommand.d.ts +17 -0
  72. package/dist-types/commands/CreateCustomEntityTypeCommand.d.ts +19 -0
  73. package/dist-types/commands/DeleteCustomEntityTypeCommand.d.ts +17 -0
  74. package/dist-types/commands/GetCustomEntityTypeCommand.d.ts +17 -0
  75. package/dist-types/commands/ListCustomEntityTypesCommand.d.ts +17 -0
  76. package/dist-types/models/models_0.d.ts +58 -0
  77. package/dist-types/models/models_1.d.ts +27 -0
  78. package/dist-types/ts3.4/Glue.d.ts +5 -0
  79. package/dist-types/ts3.4/commands/BatchGetCustomEntityTypesCommand.d.ts +1 -0
  80. package/dist-types/ts3.4/commands/CreateCustomEntityTypeCommand.d.ts +1 -0
  81. package/dist-types/ts3.4/commands/DeleteCustomEntityTypeCommand.d.ts +1 -0
  82. package/dist-types/ts3.4/commands/GetCustomEntityTypeCommand.d.ts +1 -0
  83. package/dist-types/ts3.4/commands/ListCustomEntityTypesCommand.d.ts +1 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +11 -0
  85. package/dist-types/ts3.4/models/models_1.d.ts +8 -0
  86. package/package.json +25 -25
@@ -36,7 +36,7 @@ export function paginateGetMLTransforms(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetMLTransforms_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetMLTransforms(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetPartitionIndexes(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetPartitionIndexes_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -62,8 +62,9 @@ export function paginateGetPartitionIndexes(config, input) {
62
62
  case 7: return [4, _a.sent()];
63
63
  case 8:
64
64
  _a.sent();
65
+ prevToken = token;
65
66
  token = page.NextToken;
66
- hasNext = !!token;
67
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
67
68
  return [3, 1];
68
69
  case 9: return [4, __await(undefined)];
69
70
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetPartitions(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetPartitions_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetPartitions(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetResourcePolicies(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetResourcePolicies_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetResourcePolicies(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetSecurityConfigurations(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetSecurityConfigurations_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetSecurityConfigurations(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetTableVersions(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetTableVersions_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetTableVersions(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetTables(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetTables_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetTables(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetTriggers(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetTriggers_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetTriggers(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetUnfilteredPartitionsMetadata(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetUnfilteredPartitionsMetadata_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetUnfilteredPartitionsMetadata(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetUserDefinedFunctions(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetUserDefinedFunctions_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetUserDefinedFunctions(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateGetWorkflowRuns(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateGetWorkflowRuns_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateGetWorkflowRuns(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListBlueprints(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListBlueprints_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListBlueprints(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListCrawlers(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListCrawlers_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListCrawlers(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListCustomEntityTypes(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListCustomEntityTypes_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListCustomEntityTypes(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListDevEndpoints(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListDevEndpoints_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListDevEndpoints(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListJobs(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListJobs_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListJobs(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListMLTransforms(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListMLTransforms_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListMLTransforms(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListRegistries(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListRegistries_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListRegistries(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListSchemaVersions(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListSchemaVersions_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListSchemaVersions(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListSchemas(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListSchemas_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListSchemas(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListSessions(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListSessions_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListSessions(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListTriggers(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListTriggers_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListTriggers(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListWorkflows(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListWorkflows_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListWorkflows(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateSearchTables(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateSearchTables_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateSearchTables(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -240,6 +240,9 @@ export declare class Glue extends GlueClient {
240
240
  batchGetCrawlers(args: BatchGetCrawlersCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCrawlersCommandOutput>;
241
241
  batchGetCrawlers(args: BatchGetCrawlersCommandInput, cb: (err: any, data?: BatchGetCrawlersCommandOutput) => void): void;
242
242
  batchGetCrawlers(args: BatchGetCrawlersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCrawlersCommandOutput) => void): void;
243
+ /**
244
+ * <p>Retrieves the details for the custom patterns specified by a list of names.</p>
245
+ */
243
246
  batchGetCustomEntityTypes(args: BatchGetCustomEntityTypesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCustomEntityTypesCommandOutput>;
244
247
  batchGetCustomEntityTypes(args: BatchGetCustomEntityTypesCommandInput, cb: (err: any, data?: BatchGetCustomEntityTypesCommandOutput) => void): void;
245
248
  batchGetCustomEntityTypes(args: BatchGetCustomEntityTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCustomEntityTypesCommandOutput) => void): void;
@@ -337,6 +340,11 @@ export declare class Glue extends GlueClient {
337
340
  createCrawler(args: CreateCrawlerCommandInput, options?: __HttpHandlerOptions): Promise<CreateCrawlerCommandOutput>;
338
341
  createCrawler(args: CreateCrawlerCommandInput, cb: (err: any, data?: CreateCrawlerCommandOutput) => void): void;
339
342
  createCrawler(args: CreateCrawlerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCrawlerCommandOutput) => void): void;
343
+ /**
344
+ * <p>Creates a custom pattern that is used to detect sensitive data across the columns and rows of your structured data.</p>
345
+ *
346
+ * <p>Each custom pattern you create specifies a regular expression and an optional list of context words. If no context words are passed only a regular expression is checked.</p>
347
+ */
340
348
  createCustomEntityType(args: CreateCustomEntityTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomEntityTypeCommandOutput>;
341
349
  createCustomEntityType(args: CreateCustomEntityTypeCommandInput, cb: (err: any, data?: CreateCustomEntityTypeCommandOutput) => void): void;
342
350
  createCustomEntityType(args: CreateCustomEntityTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomEntityTypeCommandOutput) => void): void;
@@ -485,6 +493,9 @@ export declare class Glue extends GlueClient {
485
493
  deleteCrawler(args: DeleteCrawlerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCrawlerCommandOutput>;
486
494
  deleteCrawler(args: DeleteCrawlerCommandInput, cb: (err: any, data?: DeleteCrawlerCommandOutput) => void): void;
487
495
  deleteCrawler(args: DeleteCrawlerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCrawlerCommandOutput) => void): void;
496
+ /**
497
+ * <p>Deletes a custom pattern by specifying its name.</p>
498
+ */
488
499
  deleteCustomEntityType(args: DeleteCustomEntityTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomEntityTypeCommandOutput>;
489
500
  deleteCustomEntityType(args: DeleteCustomEntityTypeCommandInput, cb: (err: any, data?: DeleteCustomEntityTypeCommandOutput) => void): void;
490
501
  deleteCustomEntityType(args: DeleteCustomEntityTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomEntityTypeCommandOutput) => void): void;
@@ -705,6 +716,9 @@ export declare class Glue extends GlueClient {
705
716
  getCrawlers(args: GetCrawlersCommandInput, options?: __HttpHandlerOptions): Promise<GetCrawlersCommandOutput>;
706
717
  getCrawlers(args: GetCrawlersCommandInput, cb: (err: any, data?: GetCrawlersCommandOutput) => void): void;
707
718
  getCrawlers(args: GetCrawlersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCrawlersCommandOutput) => void): void;
719
+ /**
720
+ * <p>Retrieves the details of a custom pattern by specifying its name.</p>
721
+ */
708
722
  getCustomEntityType(args: GetCustomEntityTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetCustomEntityTypeCommandOutput>;
709
723
  getCustomEntityType(args: GetCustomEntityTypeCommandInput, cb: (err: any, data?: GetCustomEntityTypeCommandOutput) => void): void;
710
724
  getCustomEntityType(args: GetCustomEntityTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCustomEntityTypeCommandOutput) => void): void;
@@ -1042,6 +1056,9 @@ export declare class Glue extends GlueClient {
1042
1056
  listCrawlers(args: ListCrawlersCommandInput, options?: __HttpHandlerOptions): Promise<ListCrawlersCommandOutput>;
1043
1057
  listCrawlers(args: ListCrawlersCommandInput, cb: (err: any, data?: ListCrawlersCommandOutput) => void): void;
1044
1058
  listCrawlers(args: ListCrawlersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCrawlersCommandOutput) => void): void;
1059
+ /**
1060
+ * <p>Lists all the custom patterns that have been created.</p>
1061
+ */
1045
1062
  listCustomEntityTypes(args: ListCustomEntityTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomEntityTypesCommandOutput>;
1046
1063
  listCustomEntityTypes(args: ListCustomEntityTypesCommandInput, cb: (err: any, data?: ListCustomEntityTypesCommandOutput) => void): void;
1047
1064
  listCustomEntityTypes(args: ListCustomEntityTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomEntityTypesCommandOutput) => void): void;
@@ -6,6 +6,23 @@ export interface BatchGetCustomEntityTypesCommandInput extends BatchGetCustomEnt
6
6
  }
7
7
  export interface BatchGetCustomEntityTypesCommandOutput extends BatchGetCustomEntityTypesResponse, __MetadataBearer {
8
8
  }
9
+ /**
10
+ * <p>Retrieves the details for the custom patterns specified by a list of names.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { GlueClient, BatchGetCustomEntityTypesCommand } from "@aws-sdk/client-glue"; // ES Modules import
15
+ * // const { GlueClient, BatchGetCustomEntityTypesCommand } = require("@aws-sdk/client-glue"); // CommonJS import
16
+ * const client = new GlueClient(config);
17
+ * const command = new BatchGetCustomEntityTypesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link BatchGetCustomEntityTypesCommandInput} for command's `input` shape.
22
+ * @see {@link BatchGetCustomEntityTypesCommandOutput} for command's `response` shape.
23
+ * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
24
+ *
25
+ */
9
26
  export declare class BatchGetCustomEntityTypesCommand extends $Command<BatchGetCustomEntityTypesCommandInput, BatchGetCustomEntityTypesCommandOutput, GlueClientResolvedConfig> {
10
27
  readonly input: BatchGetCustomEntityTypesCommandInput;
11
28
  constructor(input: BatchGetCustomEntityTypesCommandInput);
@@ -6,6 +6,25 @@ export interface CreateCustomEntityTypeCommandInput extends CreateCustomEntityTy
6
6
  }
7
7
  export interface CreateCustomEntityTypeCommandOutput extends CreateCustomEntityTypeResponse, __MetadataBearer {
8
8
  }
9
+ /**
10
+ * <p>Creates a custom pattern that is used to detect sensitive data across the columns and rows of your structured data.</p>
11
+ *
12
+ * <p>Each custom pattern you create specifies a regular expression and an optional list of context words. If no context words are passed only a regular expression is checked.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { GlueClient, CreateCustomEntityTypeCommand } from "@aws-sdk/client-glue"; // ES Modules import
17
+ * // const { GlueClient, CreateCustomEntityTypeCommand } = require("@aws-sdk/client-glue"); // CommonJS import
18
+ * const client = new GlueClient(config);
19
+ * const command = new CreateCustomEntityTypeCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link CreateCustomEntityTypeCommandInput} for command's `input` shape.
24
+ * @see {@link CreateCustomEntityTypeCommandOutput} for command's `response` shape.
25
+ * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
26
+ *
27
+ */
9
28
  export declare class CreateCustomEntityTypeCommand extends $Command<CreateCustomEntityTypeCommandInput, CreateCustomEntityTypeCommandOutput, GlueClientResolvedConfig> {
10
29
  readonly input: CreateCustomEntityTypeCommandInput;
11
30
  constructor(input: CreateCustomEntityTypeCommandInput);
@@ -6,6 +6,23 @@ export interface DeleteCustomEntityTypeCommandInput extends DeleteCustomEntityTy
6
6
  }
7
7
  export interface DeleteCustomEntityTypeCommandOutput extends DeleteCustomEntityTypeResponse, __MetadataBearer {
8
8
  }
9
+ /**
10
+ * <p>Deletes a custom pattern by specifying its name.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { GlueClient, DeleteCustomEntityTypeCommand } from "@aws-sdk/client-glue"; // ES Modules import
15
+ * // const { GlueClient, DeleteCustomEntityTypeCommand } = require("@aws-sdk/client-glue"); // CommonJS import
16
+ * const client = new GlueClient(config);
17
+ * const command = new DeleteCustomEntityTypeCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteCustomEntityTypeCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteCustomEntityTypeCommandOutput} for command's `response` shape.
23
+ * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
24
+ *
25
+ */
9
26
  export declare class DeleteCustomEntityTypeCommand extends $Command<DeleteCustomEntityTypeCommandInput, DeleteCustomEntityTypeCommandOutput, GlueClientResolvedConfig> {
10
27
  readonly input: DeleteCustomEntityTypeCommandInput;
11
28
  constructor(input: DeleteCustomEntityTypeCommandInput);