aws-sdk 2.1641.0 → 2.1643.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/clients/glue.d.ts CHANGED
@@ -347,6 +347,14 @@ declare class Glue extends Service {
347
347
  * Creates a new trigger.
348
348
  */
349
349
  createTrigger(callback?: (err: AWSError, data: Glue.Types.CreateTriggerResponse) => void): Request<Glue.Types.CreateTriggerResponse, AWSError>;
350
+ /**
351
+ * Creates an Glue usage profile.
352
+ */
353
+ createUsageProfile(params: Glue.Types.CreateUsageProfileRequest, callback?: (err: AWSError, data: Glue.Types.CreateUsageProfileResponse) => void): Request<Glue.Types.CreateUsageProfileResponse, AWSError>;
354
+ /**
355
+ * Creates an Glue usage profile.
356
+ */
357
+ createUsageProfile(callback?: (err: AWSError, data: Glue.Types.CreateUsageProfileResponse) => void): Request<Glue.Types.CreateUsageProfileResponse, AWSError>;
350
358
  /**
351
359
  * Creates a new function definition in the Data Catalog.
352
360
  */
@@ -555,6 +563,14 @@ declare class Glue extends Service {
555
563
  * Deletes a specified trigger. If the trigger is not found, no exception is thrown.
556
564
  */
557
565
  deleteTrigger(callback?: (err: AWSError, data: Glue.Types.DeleteTriggerResponse) => void): Request<Glue.Types.DeleteTriggerResponse, AWSError>;
566
+ /**
567
+ * Deletes the Glue specified usage profile.
568
+ */
569
+ deleteUsageProfile(params: Glue.Types.DeleteUsageProfileRequest, callback?: (err: AWSError, data: Glue.Types.DeleteUsageProfileResponse) => void): Request<Glue.Types.DeleteUsageProfileResponse, AWSError>;
570
+ /**
571
+ * Deletes the Glue specified usage profile.
572
+ */
573
+ deleteUsageProfile(callback?: (err: AWSError, data: Glue.Types.DeleteUsageProfileResponse) => void): Request<Glue.Types.DeleteUsageProfileResponse, AWSError>;
558
574
  /**
559
575
  * Deletes an existing function definition from the Data Catalog.
560
576
  */
@@ -796,11 +812,11 @@ declare class Glue extends Service {
796
812
  */
797
813
  getJobBookmark(callback?: (err: AWSError, data: Glue.Types.GetJobBookmarkResponse) => void): Request<Glue.Types.GetJobBookmarkResponse, AWSError>;
798
814
  /**
799
- * Retrieves the metadata for a given job run.
815
+ * Retrieves the metadata for a given job run. Job run history is accessible for 90 days for your workflow and job run.
800
816
  */
801
817
  getJobRun(params: Glue.Types.GetJobRunRequest, callback?: (err: AWSError, data: Glue.Types.GetJobRunResponse) => void): Request<Glue.Types.GetJobRunResponse, AWSError>;
802
818
  /**
803
- * Retrieves the metadata for a given job run.
819
+ * Retrieves the metadata for a given job run. Job run history is accessible for 90 days for your workflow and job run.
804
820
  */
805
821
  getJobRun(callback?: (err: AWSError, data: Glue.Types.GetJobRunResponse) => void): Request<Glue.Types.GetJobRunResponse, AWSError>;
806
822
  /**
@@ -1067,6 +1083,14 @@ declare class Glue extends Service {
1067
1083
  * Allows a third-party analytical engine to retrieve unfiltered table metadata from the Data Catalog. For IAM authorization, the public IAM action associated with this API is glue:GetTable.
1068
1084
  */
1069
1085
  getUnfilteredTableMetadata(callback?: (err: AWSError, data: Glue.Types.GetUnfilteredTableMetadataResponse) => void): Request<Glue.Types.GetUnfilteredTableMetadataResponse, AWSError>;
1086
+ /**
1087
+ * Retrieves information about the specified Glue usage profile.
1088
+ */
1089
+ getUsageProfile(params: Glue.Types.GetUsageProfileRequest, callback?: (err: AWSError, data: Glue.Types.GetUsageProfileResponse) => void): Request<Glue.Types.GetUsageProfileResponse, AWSError>;
1090
+ /**
1091
+ * Retrieves information about the specified Glue usage profile.
1092
+ */
1093
+ getUsageProfile(callback?: (err: AWSError, data: Glue.Types.GetUsageProfileResponse) => void): Request<Glue.Types.GetUsageProfileResponse, AWSError>;
1070
1094
  /**
1071
1095
  * Retrieves a specified function definition from the Data Catalog.
1072
1096
  */
@@ -1092,11 +1116,11 @@ declare class Glue extends Service {
1092
1116
  */
1093
1117
  getWorkflow(callback?: (err: AWSError, data: Glue.Types.GetWorkflowResponse) => void): Request<Glue.Types.GetWorkflowResponse, AWSError>;
1094
1118
  /**
1095
- * Retrieves the metadata for a given workflow run.
1119
+ * Retrieves the metadata for a given workflow run. Job run history is accessible for 90 days for your workflow and job run.
1096
1120
  */
1097
1121
  getWorkflowRun(params: Glue.Types.GetWorkflowRunRequest, callback?: (err: AWSError, data: Glue.Types.GetWorkflowRunResponse) => void): Request<Glue.Types.GetWorkflowRunResponse, AWSError>;
1098
1122
  /**
1099
- * Retrieves the metadata for a given workflow run.
1123
+ * Retrieves the metadata for a given workflow run. Job run history is accessible for 90 days for your workflow and job run.
1100
1124
  */
1101
1125
  getWorkflowRun(callback?: (err: AWSError, data: Glue.Types.GetWorkflowRunResponse) => void): Request<Glue.Types.GetWorkflowRunResponse, AWSError>;
1102
1126
  /**
@@ -1275,6 +1299,14 @@ declare class Glue extends Service {
1275
1299
  * Retrieves the names of all trigger resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.
1276
1300
  */
1277
1301
  listTriggers(callback?: (err: AWSError, data: Glue.Types.ListTriggersResponse) => void): Request<Glue.Types.ListTriggersResponse, AWSError>;
1302
+ /**
1303
+ * List all the Glue usage profiles.
1304
+ */
1305
+ listUsageProfiles(params: Glue.Types.ListUsageProfilesRequest, callback?: (err: AWSError, data: Glue.Types.ListUsageProfilesResponse) => void): Request<Glue.Types.ListUsageProfilesResponse, AWSError>;
1306
+ /**
1307
+ * List all the Glue usage profiles.
1308
+ */
1309
+ listUsageProfiles(callback?: (err: AWSError, data: Glue.Types.ListUsageProfilesResponse) => void): Request<Glue.Types.ListUsageProfilesResponse, AWSError>;
1278
1310
  /**
1279
1311
  * Lists names of workflows created in the account.
1280
1312
  */
@@ -1699,6 +1731,14 @@ declare class Glue extends Service {
1699
1731
  * Updates a trigger definition.
1700
1732
  */
1701
1733
  updateTrigger(callback?: (err: AWSError, data: Glue.Types.UpdateTriggerResponse) => void): Request<Glue.Types.UpdateTriggerResponse, AWSError>;
1734
+ /**
1735
+ * Update an Glue usage profile.
1736
+ */
1737
+ updateUsageProfile(params: Glue.Types.UpdateUsageProfileRequest, callback?: (err: AWSError, data: Glue.Types.UpdateUsageProfileResponse) => void): Request<Glue.Types.UpdateUsageProfileResponse, AWSError>;
1738
+ /**
1739
+ * Update an Glue usage profile.
1740
+ */
1741
+ updateUsageProfile(callback?: (err: AWSError, data: Glue.Types.UpdateUsageProfileResponse) => void): Request<Glue.Types.UpdateUsageProfileResponse, AWSError>;
1702
1742
  /**
1703
1743
  * Updates an existing function definition in the Data Catalog.
1704
1744
  */
@@ -1780,6 +1820,7 @@ declare namespace Glue {
1780
1820
  AggFunc: AggFunction;
1781
1821
  }
1782
1822
  export type AggregateOperations = AggregateOperation[];
1823
+ export type AllowedValuesStringList = ConfigValueString[];
1783
1824
  export interface AmazonRedshiftAdvancedOption {
1784
1825
  /**
1785
1826
  * The key for the additional connection option.
@@ -3506,6 +3547,26 @@ declare namespace Glue {
3506
3547
  CrawlState?: CrawlState;
3507
3548
  }
3508
3549
  export type ConditionList = Condition[];
3550
+ export type ConfigValueString = string;
3551
+ export type ConfigurationMap = {[key: string]: ConfigurationObject};
3552
+ export interface ConfigurationObject {
3553
+ /**
3554
+ * A default value for the parameter.
3555
+ */
3556
+ DefaultValue?: ConfigValueString;
3557
+ /**
3558
+ * A list of allowed values for the parameter.
3559
+ */
3560
+ AllowedValues?: AllowedValuesStringList;
3561
+ /**
3562
+ * A minimum allowed value for the parameter.
3563
+ */
3564
+ MinValue?: ConfigValueString;
3565
+ /**
3566
+ * A maximum allowed value for the parameter.
3567
+ */
3568
+ MaxValue?: ConfigValueString;
3569
+ }
3509
3570
  export interface ConfusionMatrix {
3510
3571
  /**
3511
3572
  * The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.
@@ -4871,6 +4932,30 @@ declare namespace Glue {
4871
4932
  */
4872
4933
  Name?: NameString;
4873
4934
  }
4935
+ export interface CreateUsageProfileRequest {
4936
+ /**
4937
+ * The name of the usage profile.
4938
+ */
4939
+ Name: NameString;
4940
+ /**
4941
+ * A description of the usage profile.
4942
+ */
4943
+ Description?: DescriptionString;
4944
+ /**
4945
+ * A ProfileConfiguration object specifying the job and session values for the profile.
4946
+ */
4947
+ Configuration: ProfileConfiguration;
4948
+ /**
4949
+ * A list of tags applied to the usage profile.
4950
+ */
4951
+ Tags?: TagsMap;
4952
+ }
4953
+ export interface CreateUsageProfileResponse {
4954
+ /**
4955
+ * The name of the usage profile that was created.
4956
+ */
4957
+ Name?: NameString;
4958
+ }
4874
4959
  export interface CreateUserDefinedFunctionRequest {
4875
4960
  /**
4876
4961
  * The ID of the Data Catalog in which to create the function. If none is provided, the Amazon Web Services account ID is used by default.
@@ -5913,6 +5998,14 @@ declare namespace Glue {
5913
5998
  */
5914
5999
  Name?: NameString;
5915
6000
  }
6001
+ export interface DeleteUsageProfileRequest {
6002
+ /**
6003
+ * The name of the usage profile to delete.
6004
+ */
6005
+ Name: NameString;
6006
+ }
6007
+ export interface DeleteUsageProfileResponse {
6008
+ }
5916
6009
  export interface DeleteUserDefinedFunctionRequest {
5917
6010
  /**
5918
6011
  * The ID of the Data Catalog where the function to be deleted is located. If none is supplied, the Amazon Web Services account ID is used by default.
@@ -8441,6 +8534,34 @@ declare namespace Glue {
8441
8534
  */
8442
8535
  RowFilter?: PredicateString;
8443
8536
  }
8537
+ export interface GetUsageProfileRequest {
8538
+ /**
8539
+ * The name of the usage profile to retrieve.
8540
+ */
8541
+ Name: NameString;
8542
+ }
8543
+ export interface GetUsageProfileResponse {
8544
+ /**
8545
+ * The name of the usage profile.
8546
+ */
8547
+ Name?: NameString;
8548
+ /**
8549
+ * A description of the usage profile.
8550
+ */
8551
+ Description?: DescriptionString;
8552
+ /**
8553
+ * A ProfileConfiguration object specifying the job and session values for the profile.
8554
+ */
8555
+ Configuration?: ProfileConfiguration;
8556
+ /**
8557
+ * The date and time when the usage profile was created.
8558
+ */
8559
+ CreatedOn?: TimestampValue;
8560
+ /**
8561
+ * The date and time when the usage profile was last modified.
8562
+ */
8563
+ LastModifiedOn?: TimestampValue;
8564
+ }
8444
8565
  export interface GetUserDefinedFunctionRequest {
8445
8566
  /**
8446
8567
  * The ID of the Data Catalog where the function to be retrieved is located. If none is provided, the Amazon Web Services account ID is used by default.
@@ -9019,6 +9140,10 @@ declare namespace Glue {
9019
9140
  * This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs. Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
9020
9141
  */
9021
9142
  MaintenanceWindow?: MaintenanceWindow;
9143
+ /**
9144
+ * The name of an Glue usage profile associated with the job.
9145
+ */
9146
+ ProfileName?: NameString;
9022
9147
  }
9023
9148
  export interface JobBookmarkEntry {
9024
9149
  /**
@@ -9194,6 +9319,10 @@ declare namespace Glue {
9194
9319
  * This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs. Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
9195
9320
  */
9196
9321
  MaintenanceWindow?: MaintenanceWindow;
9322
+ /**
9323
+ * The name of an Glue usage profile associated with the job run.
9324
+ */
9325
+ ProfileName?: NameString;
9197
9326
  }
9198
9327
  export type JobRunList = JobRun[];
9199
9328
  export type JobRunState = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|"SUCCEEDED"|"FAILED"|"TIMEOUT"|"ERROR"|"WAITING"|"EXPIRED"|string;
@@ -10096,6 +10225,26 @@ declare namespace Glue {
10096
10225
  */
10097
10226
  NextToken?: GenericString;
10098
10227
  }
10228
+ export interface ListUsageProfilesRequest {
10229
+ /**
10230
+ * A continuation token, included if this is a continuation call.
10231
+ */
10232
+ NextToken?: OrchestrationToken;
10233
+ /**
10234
+ * The maximum number of usage profiles to return in a single response.
10235
+ */
10236
+ MaxResults?: OrchestrationPageSize200;
10237
+ }
10238
+ export interface ListUsageProfilesResponse {
10239
+ /**
10240
+ * A list of usage profile (UsageProfileDefinition) objects.
10241
+ */
10242
+ Profiles?: UsageProfileDefinitionList;
10243
+ /**
10244
+ * A continuation token, present if the current list segment is not the last.
10245
+ */
10246
+ NextToken?: OrchestrationToken;
10247
+ }
10099
10248
  export interface ListWorkflowsRequest {
10100
10249
  /**
10101
10250
  * A continuation token, if this is a continuation request.
@@ -10907,6 +11056,16 @@ declare namespace Glue {
10907
11056
  export type PrincipalPermissionsList = PrincipalPermissions[];
10908
11057
  export type PrincipalType = "USER"|"ROLE"|"GROUP"|string;
10909
11058
  export type Prob = number;
11059
+ export interface ProfileConfiguration {
11060
+ /**
11061
+ * A key-value map of configuration parameters for Glue sessions.
11062
+ */
11063
+ SessionConfiguration?: ConfigurationMap;
11064
+ /**
11065
+ * A key-value map of configuration parameters for Glue jobs.
11066
+ */
11067
+ JobConfiguration?: ConfigurationMap;
11068
+ }
10910
11069
  export interface PropertyPredicate {
10911
11070
  /**
10912
11071
  * The key of the property.
@@ -12328,6 +12487,10 @@ declare namespace Glue {
12328
12487
  * The number of minutes when idle before the session times out.
12329
12488
  */
12330
12489
  IdleTimeout?: IdleTimeout;
12490
+ /**
12491
+ * The name of an Glue usage profile associated with the session.
12492
+ */
12493
+ ProfileName?: NameString;
12331
12494
  }
12332
12495
  export interface SessionCommand {
12333
12496
  /**
@@ -14426,6 +14589,26 @@ declare namespace Glue {
14426
14589
  */
14427
14590
  Trigger?: Trigger;
14428
14591
  }
14592
+ export interface UpdateUsageProfileRequest {
14593
+ /**
14594
+ * The name of the usage profile.
14595
+ */
14596
+ Name: NameString;
14597
+ /**
14598
+ * A description of the usage profile.
14599
+ */
14600
+ Description?: DescriptionString;
14601
+ /**
14602
+ * A ProfileConfiguration object specifying the job and session values for the profile.
14603
+ */
14604
+ Configuration: ProfileConfiguration;
14605
+ }
14606
+ export interface UpdateUsageProfileResponse {
14607
+ /**
14608
+ * The name of the usage profile that was updated.
14609
+ */
14610
+ Name?: NameString;
14611
+ }
14429
14612
  export interface UpdateUserDefinedFunctionRequest {
14430
14613
  /**
14431
14614
  * The ID of the Data Catalog where the function to be updated is located. If none is provided, the Amazon Web Services account ID is used by default.
@@ -14500,6 +14683,25 @@ declare namespace Glue {
14500
14683
  UpsertKeys?: EnclosedInStringPropertiesMinOne;
14501
14684
  }
14502
14685
  export type UriString = string;
14686
+ export interface UsageProfileDefinition {
14687
+ /**
14688
+ * The name of the usage profile.
14689
+ */
14690
+ Name?: NameString;
14691
+ /**
14692
+ * A description of the usage profile.
14693
+ */
14694
+ Description?: DescriptionString;
14695
+ /**
14696
+ * The date and time when the usage profile was created.
14697
+ */
14698
+ CreatedOn?: TimestampValue;
14699
+ /**
14700
+ * The date and time when the usage profile was last modified.
14701
+ */
14702
+ LastModifiedOn?: TimestampValue;
14703
+ }
14704
+ export type UsageProfileDefinitionList = UsageProfileDefinition[];
14503
14705
  export interface UserDefinedFunction {
14504
14706
  /**
14505
14707
  * The name of the function.