aws-sdk 2.874.0 → 2.875.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.
@@ -12,6 +12,14 @@ declare class DocDB extends Service {
12
12
  */
13
13
  constructor(options?: DocDB.Types.ClientConfiguration)
14
14
  config: Config & DocDB.Types.ClientConfiguration;
15
+ /**
16
+ * Adds a source identifier to an existing event notification subscription.
17
+ */
18
+ addSourceIdentifierToSubscription(params: DocDB.Types.AddSourceIdentifierToSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.AddSourceIdentifierToSubscriptionResult) => void): Request<DocDB.Types.AddSourceIdentifierToSubscriptionResult, AWSError>;
19
+ /**
20
+ * Adds a source identifier to an existing event notification subscription.
21
+ */
22
+ addSourceIdentifierToSubscription(callback?: (err: AWSError, data: DocDB.Types.AddSourceIdentifierToSubscriptionResult) => void): Request<DocDB.Types.AddSourceIdentifierToSubscriptionResult, AWSError>;
15
23
  /**
16
24
  * Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to track costs that are associated with Amazon DocumentDB resources. or in a Condition statement in an AWS Identity and Access Management (IAM) policy for Amazon DocumentDB.
17
25
  */
@@ -84,6 +92,14 @@ declare class DocDB extends Service {
84
92
  * Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
85
93
  */
86
94
  createDBSubnetGroup(callback?: (err: AWSError, data: DocDB.Types.CreateDBSubnetGroupResult) => void): Request<DocDB.Types.CreateDBSubnetGroupResult, AWSError>;
95
+ /**
96
+ * Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the Amazon SNS console. You can specify the type of source (SourceType) that you want to be notified of. You can also provide a list of Amazon DocumentDB sources (SourceIds) that trigger the events, and you can provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds (such as SourceType = db-instance and SourceIdentifier = myDBInstance1), you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your Amazon DocumentDB sources. If you do not specify either the SourceType or the SourceIdentifier, you are notified of events generated from all Amazon DocumentDB sources belonging to your customer account.
97
+ */
98
+ createEventSubscription(params: DocDB.Types.CreateEventSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.CreateEventSubscriptionResult) => void): Request<DocDB.Types.CreateEventSubscriptionResult, AWSError>;
99
+ /**
100
+ * Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the Amazon SNS console. You can specify the type of source (SourceType) that you want to be notified of. You can also provide a list of Amazon DocumentDB sources (SourceIds) that trigger the events, and you can provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds (such as SourceType = db-instance and SourceIdentifier = myDBInstance1), you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your Amazon DocumentDB sources. If you do not specify either the SourceType or the SourceIdentifier, you are notified of events generated from all Amazon DocumentDB sources belonging to your customer account.
101
+ */
102
+ createEventSubscription(callback?: (err: AWSError, data: DocDB.Types.CreateEventSubscriptionResult) => void): Request<DocDB.Types.CreateEventSubscriptionResult, AWSError>;
87
103
  /**
88
104
  * Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.
89
105
  */
@@ -124,6 +140,14 @@ declare class DocDB extends Service {
124
140
  * Deletes a subnet group. The specified database subnet group must not be associated with any DB instances.
125
141
  */
126
142
  deleteDBSubnetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
143
+ /**
144
+ * Deletes an Amazon DocumentDB event notification subscription.
145
+ */
146
+ deleteEventSubscription(params: DocDB.Types.DeleteEventSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.DeleteEventSubscriptionResult) => void): Request<DocDB.Types.DeleteEventSubscriptionResult, AWSError>;
147
+ /**
148
+ * Deletes an Amazon DocumentDB event notification subscription.
149
+ */
150
+ deleteEventSubscription(callback?: (err: AWSError, data: DocDB.Types.DeleteEventSubscriptionResult) => void): Request<DocDB.Types.DeleteEventSubscriptionResult, AWSError>;
127
151
  /**
128
152
  * Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this AWS account.
129
153
  */
@@ -212,6 +236,14 @@ declare class DocDB extends Service {
212
236
  * Displays a list of categories for all event source types, or, if specified, for a specified source type.
213
237
  */
214
238
  describeEventCategories(callback?: (err: AWSError, data: DocDB.Types.EventCategoriesMessage) => void): Request<DocDB.Types.EventCategoriesMessage, AWSError>;
239
+ /**
240
+ * Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify a SubscriptionName, lists the description for that subscription.
241
+ */
242
+ describeEventSubscriptions(params: DocDB.Types.DescribeEventSubscriptionsMessage, callback?: (err: AWSError, data: DocDB.Types.EventSubscriptionsMessage) => void): Request<DocDB.Types.EventSubscriptionsMessage, AWSError>;
243
+ /**
244
+ * Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify a SubscriptionName, lists the description for that subscription.
245
+ */
246
+ describeEventSubscriptions(callback?: (err: AWSError, data: DocDB.Types.EventSubscriptionsMessage) => void): Request<DocDB.Types.EventSubscriptionsMessage, AWSError>;
215
247
  /**
216
248
  * Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned.
217
249
  */
@@ -292,6 +324,14 @@ declare class DocDB extends Service {
292
324
  * Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
293
325
  */
294
326
  modifyDBSubnetGroup(callback?: (err: AWSError, data: DocDB.Types.ModifyDBSubnetGroupResult) => void): Request<DocDB.Types.ModifyDBSubnetGroupResult, AWSError>;
327
+ /**
328
+ * Modifies an existing Amazon DocumentDB event notification subscription.
329
+ */
330
+ modifyEventSubscription(params: DocDB.Types.ModifyEventSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyEventSubscriptionResult) => void): Request<DocDB.Types.ModifyEventSubscriptionResult, AWSError>;
331
+ /**
332
+ * Modifies an existing Amazon DocumentDB event notification subscription.
333
+ */
334
+ modifyEventSubscription(callback?: (err: AWSError, data: DocDB.Types.ModifyEventSubscriptionResult) => void): Request<DocDB.Types.ModifyEventSubscriptionResult, AWSError>;
295
335
  /**
296
336
  * You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect. Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting.
297
337
  */
@@ -300,6 +340,14 @@ declare class DocDB extends Service {
300
340
  * You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect. Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting.
301
341
  */
302
342
  rebootDBInstance(callback?: (err: AWSError, data: DocDB.Types.RebootDBInstanceResult) => void): Request<DocDB.Types.RebootDBInstanceResult, AWSError>;
343
+ /**
344
+ * Removes a source identifier from an existing Amazon DocumentDB event notification subscription.
345
+ */
346
+ removeSourceIdentifierFromSubscription(params: DocDB.Types.RemoveSourceIdentifierFromSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.RemoveSourceIdentifierFromSubscriptionResult) => void): Request<DocDB.Types.RemoveSourceIdentifierFromSubscriptionResult, AWSError>;
347
+ /**
348
+ * Removes a source identifier from an existing Amazon DocumentDB event notification subscription.
349
+ */
350
+ removeSourceIdentifierFromSubscription(callback?: (err: AWSError, data: DocDB.Types.RemoveSourceIdentifierFromSubscriptionResult) => void): Request<DocDB.Types.RemoveSourceIdentifierFromSubscriptionResult, AWSError>;
303
351
  /**
304
352
  * Removes metadata tags from an Amazon DocumentDB resource.
305
353
  */
@@ -366,6 +414,19 @@ declare class DocDB extends Service {
366
414
  waitFor(state: "dBInstanceDeleted", callback?: (err: AWSError, data: DocDB.Types.DBInstanceMessage) => void): Request<DocDB.Types.DBInstanceMessage, AWSError>;
367
415
  }
368
416
  declare namespace DocDB {
417
+ export interface AddSourceIdentifierToSubscriptionMessage {
418
+ /**
419
+ * The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.
420
+ */
421
+ SubscriptionName: String;
422
+ /**
423
+ * The identifier of the event source to be added: If the source type is an instance, a DBInstanceIdentifier must be provided. If the source type is a security group, a DBSecurityGroupName must be provided. If the source type is a parameter group, a DBParameterGroupName must be provided. If the source type is a snapshot, a DBSnapshotIdentifier must be provided.
424
+ */
425
+ SourceIdentifier: String;
426
+ }
427
+ export interface AddSourceIdentifierToSubscriptionResult {
428
+ EventSubscription?: EventSubscription;
429
+ }
369
430
  export interface AddTagsToResourceMessage {
370
431
  /**
371
432
  * The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .
@@ -683,6 +744,39 @@ declare namespace DocDB {
683
744
  export interface CreateDBSubnetGroupResult {
684
745
  DBSubnetGroup?: DBSubnetGroup;
685
746
  }
747
+ export interface CreateEventSubscriptionMessage {
748
+ /**
749
+ * The name of the subscription. Constraints: The name must be fewer than 255 characters.
750
+ */
751
+ SubscriptionName: String;
752
+ /**
753
+ * The Amazon Resource Name (ARN) of the SNS topic created for event notification. Amazon SNS creates the ARN when you create a topic and subscribe to it.
754
+ */
755
+ SnsTopicArn: String;
756
+ /**
757
+ * The type of source that is generating the events. For example, if you want to be notified of events generated by an instance, you would set this parameter to db-instance. If this value is not specified, all events are returned. Valid values: db-instance, db-cluster, db-parameter-group, db-security-group, db-snapshot, db-cluster-snapshot
758
+ */
759
+ SourceType?: String;
760
+ /**
761
+ * A list of event categories for a SourceType that you want to subscribe to.
762
+ */
763
+ EventCategories?: EventCategoriesList;
764
+ /**
765
+ * The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Constraints: If SourceIds are provided, SourceType must also be provided. If the source type is an instance, a DBInstanceIdentifier must be provided. If the source type is a security group, a DBSecurityGroupName must be provided. If the source type is a parameter group, a DBParameterGroupName must be provided. If the source type is a snapshot, a DBSnapshotIdentifier must be provided.
766
+ */
767
+ SourceIds?: SourceIdsList;
768
+ /**
769
+ * A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
770
+ */
771
+ Enabled?: BooleanOptional;
772
+ /**
773
+ * The tags to be assigned to the event subscription.
774
+ */
775
+ Tags?: TagList;
776
+ }
777
+ export interface CreateEventSubscriptionResult {
778
+ EventSubscription?: EventSubscription;
779
+ }
686
780
  export interface DBCluster {
687
781
  /**
688
782
  * Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
@@ -1254,6 +1348,15 @@ declare namespace DocDB {
1254
1348
  */
1255
1349
  DBSubnetGroupName: String;
1256
1350
  }
1351
+ export interface DeleteEventSubscriptionMessage {
1352
+ /**
1353
+ * The name of the Amazon DocumentDB event notification subscription that you want to delete.
1354
+ */
1355
+ SubscriptionName: String;
1356
+ }
1357
+ export interface DeleteEventSubscriptionResult {
1358
+ EventSubscription?: EventSubscription;
1359
+ }
1257
1360
  export interface DescribeCertificatesMessage {
1258
1361
  /**
1259
1362
  * The user-supplied certificate identifier. If this parameter is specified, information for only the specified certificate is returned. If this parameter is omitted, a list of up to MaxRecords certificates is returned. This parameter is not case sensitive. Constraints Must match an existing CertificateIdentifier.
@@ -1478,6 +1581,24 @@ declare namespace DocDB {
1478
1581
  */
1479
1582
  Filters?: FilterList;
1480
1583
  }
1584
+ export interface DescribeEventSubscriptionsMessage {
1585
+ /**
1586
+ * The name of the Amazon DocumentDB event notification subscription that you want to describe.
1587
+ */
1588
+ SubscriptionName?: String;
1589
+ /**
1590
+ * This parameter is not currently supported.
1591
+ */
1592
+ Filters?: FilterList;
1593
+ /**
1594
+ * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1595
+ */
1596
+ MaxRecords?: IntegerOptional;
1597
+ /**
1598
+ * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1599
+ */
1600
+ Marker?: String;
1601
+ }
1481
1602
  export interface DescribeEventsMessage {
1482
1603
  /**
1483
1604
  * The identifier of the event source for which events are returned. If not specified, then all sources are included in the response. Constraints: If SourceIdentifier is provided, SourceType must also be provided. If the source type is DBInstance, a DBInstanceIdentifier must be provided. If the source type is DBSecurityGroup, a DBSecurityGroupName must be provided. If the source type is DBParameterGroup, a DBParameterGroupName must be provided. If the source type is DBSnapshot, a DBSnapshotIdentifier must be provided. Cannot end with a hyphen or contain two consecutive hyphens.
@@ -1641,6 +1762,59 @@ declare namespace DocDB {
1641
1762
  EventCategoriesMapList?: EventCategoriesMapList;
1642
1763
  }
1643
1764
  export type EventList = Event[];
1765
+ export interface EventSubscription {
1766
+ /**
1767
+ * The AWS customer account that is associated with the Amazon DocumentDB event notification subscription.
1768
+ */
1769
+ CustomerAwsId?: String;
1770
+ /**
1771
+ * The Amazon DocumentDB event notification subscription ID.
1772
+ */
1773
+ CustSubscriptionId?: String;
1774
+ /**
1775
+ * The topic ARN of the Amazon DocumentDB event notification subscription.
1776
+ */
1777
+ SnsTopicArn?: String;
1778
+ /**
1779
+ * The status of the Amazon DocumentDB event notification subscription. Constraints: Can be one of the following: creating, modifying, deleting, active, no-permission, topic-not-exist The no-permission status indicates that Amazon DocumentDB no longer has permission to post to the SNS topic. The topic-not-exist status indicates that the topic was deleted after the subscription was created.
1780
+ */
1781
+ Status?: String;
1782
+ /**
1783
+ * The time at which the Amazon DocumentDB event notification subscription was created.
1784
+ */
1785
+ SubscriptionCreationTime?: String;
1786
+ /**
1787
+ * The source type for the Amazon DocumentDB event notification subscription.
1788
+ */
1789
+ SourceType?: String;
1790
+ /**
1791
+ * A list of source IDs for the Amazon DocumentDB event notification subscription.
1792
+ */
1793
+ SourceIdsList?: SourceIdsList;
1794
+ /**
1795
+ * A list of event categories for the Amazon DocumentDB event notification subscription.
1796
+ */
1797
+ EventCategoriesList?: EventCategoriesList;
1798
+ /**
1799
+ * A Boolean value indicating whether the subscription is enabled. A value of true indicates that the subscription is enabled.
1800
+ */
1801
+ Enabled?: Boolean;
1802
+ /**
1803
+ * The Amazon Resource Name (ARN) for the event subscription.
1804
+ */
1805
+ EventSubscriptionArn?: String;
1806
+ }
1807
+ export type EventSubscriptionsList = EventSubscription[];
1808
+ export interface EventSubscriptionsMessage {
1809
+ /**
1810
+ * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1811
+ */
1812
+ Marker?: String;
1813
+ /**
1814
+ * A list of event subscriptions.
1815
+ */
1816
+ EventSubscriptionsList?: EventSubscriptionsList;
1817
+ }
1644
1818
  export interface EventsMessage {
1645
1819
  /**
1646
1820
  * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
@@ -1832,6 +2006,31 @@ declare namespace DocDB {
1832
2006
  export interface ModifyDBSubnetGroupResult {
1833
2007
  DBSubnetGroup?: DBSubnetGroup;
1834
2008
  }
2009
+ export interface ModifyEventSubscriptionMessage {
2010
+ /**
2011
+ * The name of the Amazon DocumentDB event notification subscription.
2012
+ */
2013
+ SubscriptionName: String;
2014
+ /**
2015
+ * The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
2016
+ */
2017
+ SnsTopicArn?: String;
2018
+ /**
2019
+ * The type of source that is generating the events. For example, if you want to be notified of events generated by an instance, set this parameter to db-instance. If this value is not specified, all events are returned. Valid values: db-instance, db-parameter-group, db-security-group, db-snapshot
2020
+ */
2021
+ SourceType?: String;
2022
+ /**
2023
+ * A list of event categories for a SourceType that you want to subscribe to.
2024
+ */
2025
+ EventCategories?: EventCategoriesList;
2026
+ /**
2027
+ * A Boolean value; set to true to activate the subscription.
2028
+ */
2029
+ Enabled?: BooleanOptional;
2030
+ }
2031
+ export interface ModifyEventSubscriptionResult {
2032
+ EventSubscription?: EventSubscription;
2033
+ }
1835
2034
  export interface OrderableDBInstanceOption {
1836
2035
  /**
1837
2036
  * The engine type of an instance.
@@ -2031,6 +2230,19 @@ declare namespace DocDB {
2031
2230
  export interface RebootDBInstanceResult {
2032
2231
  DBInstance?: DBInstance;
2033
2232
  }
2233
+ export interface RemoveSourceIdentifierFromSubscriptionMessage {
2234
+ /**
2235
+ * The name of the Amazon DocumentDB event notification subscription that you want to remove a source identifier from.
2236
+ */
2237
+ SubscriptionName: String;
2238
+ /**
2239
+ * The source identifier to be removed from the subscription, such as the instance identifier for an instance, or the name of a security group.
2240
+ */
2241
+ SourceIdentifier: String;
2242
+ }
2243
+ export interface RemoveSourceIdentifierFromSubscriptionResult {
2244
+ EventSubscription?: EventSubscription;
2245
+ }
2034
2246
  export interface RemoveTagsFromResourceMessage {
2035
2247
  /**
2036
2248
  * The Amazon DocumentDB resource that the tags are removed from. This value is an Amazon Resource Name (ARN).
@@ -2167,6 +2379,7 @@ declare namespace DocDB {
2167
2379
  export interface RestoreDBClusterToPointInTimeResult {
2168
2380
  DBCluster?: DBCluster;
2169
2381
  }
2382
+ export type SourceIdsList = String[];
2170
2383
  export type SourceType = "db-instance"|"db-parameter-group"|"db-security-group"|"db-snapshot"|"db-cluster"|"db-cluster-snapshot"|string;
2171
2384
  export interface StartDBClusterMessage {
2172
2385
  /**
package/clients/glue.d.ts CHANGED
@@ -684,11 +684,11 @@ declare class Glue extends Service {
684
684
  */
685
685
  getRegistry(callback?: (err: AWSError, data: Glue.Types.GetRegistryResponse) => void): Request<Glue.Types.GetRegistryResponse, AWSError>;
686
686
  /**
687
- * Retrieves the security configurations for the resource policies set on individual resources, and also the account-level policy. This operation also returns the Data Catalog resource policy. However, if you enabled metadata encryption in Data Catalog settings, and you do not have permission on the AWS KMS key, the operation can't return the Data Catalog resource policy.
687
+ * Retrieves the resource policies set on individual resources by AWS Resource Access Manager during cross-account permission grants. Also retrieves the Data Catalog resource policy. If you enabled metadata encryption in Data Catalog settings, and you do not have permission on the AWS KMS key, the operation can't return the Data Catalog resource policy.
688
688
  */
689
689
  getResourcePolicies(params: Glue.Types.GetResourcePoliciesRequest, callback?: (err: AWSError, data: Glue.Types.GetResourcePoliciesResponse) => void): Request<Glue.Types.GetResourcePoliciesResponse, AWSError>;
690
690
  /**
691
- * Retrieves the security configurations for the resource policies set on individual resources, and also the account-level policy. This operation also returns the Data Catalog resource policy. However, if you enabled metadata encryption in Data Catalog settings, and you do not have permission on the AWS KMS key, the operation can't return the Data Catalog resource policy.
691
+ * Retrieves the resource policies set on individual resources by AWS Resource Access Manager during cross-account permission grants. Also retrieves the Data Catalog resource policy. If you enabled metadata encryption in Data Catalog settings, and you do not have permission on the AWS KMS key, the operation can't return the Data Catalog resource policy.
692
692
  */
693
693
  getResourcePolicies(callback?: (err: AWSError, data: Glue.Types.GetResourcePoliciesResponse) => void): Request<Glue.Types.GetResourcePoliciesResponse, AWSError>;
694
694
  /**
@@ -4633,7 +4633,7 @@ declare namespace Glue {
4633
4633
  export type GetResourcePoliciesResponseList = GluePolicy[];
4634
4634
  export interface GetResourcePolicyRequest {
4635
4635
  /**
4636
- * The ARN of the AWS Glue resource for the resource policy to be retrieved. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern
4636
+ * The ARN of the AWS Glue resource for which to retrieve the resource policy. If not supplied, the Data Catalog resource policy is returned. Use GetResourcePolicies to view all existing resource policies. For more information see Specifying AWS Glue Resource ARNs.
4637
4637
  */
4638
4638
  ResourceArn?: GlueResourceArn;
4639
4639
  }
@@ -6023,6 +6023,10 @@ declare namespace Glue {
6023
6023
  * The time at which the entry was created.
6024
6024
  */
6025
6025
  CreatedTime?: CreatedTimestamp;
6026
+ /**
6027
+ * Other metadata belonging to the same metadata key.
6028
+ */
6029
+ OtherMetadataValueList?: OtherMetadataValueList;
6026
6030
  }
6027
6031
  export type MetadataInfoMap = {[key: string]: MetadataInfo};
6028
6032
  export type MetadataKeyString = string;
@@ -6110,6 +6114,17 @@ declare namespace Glue {
6110
6114
  SortOrder: IntegerFlag;
6111
6115
  }
6112
6116
  export type OrderList = Order[];
6117
+ export type OtherMetadataValueList = OtherMetadataValueListItem[];
6118
+ export interface OtherMetadataValueListItem {
6119
+ /**
6120
+ * The metadata key’s corresponding value for the other metadata belonging to the same metadata key.
6121
+ */
6122
+ MetadataValue?: MetadataValueString;
6123
+ /**
6124
+ * The time at which the entry was created.
6125
+ */
6126
+ CreatedTime?: CreatedTimestamp;
6127
+ }
6113
6128
  export type PageSize = number;
6114
6129
  export type PaginationToken = string;
6115
6130
  export type ParametersMap = {[key: string]: ParametersMapValue};
@@ -6310,7 +6325,7 @@ declare namespace Glue {
6310
6325
  */
6311
6326
  PolicyInJson: PolicyJsonString;
6312
6327
  /**
6313
- * The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern
6328
+ * Do not use. For internal use only.
6314
6329
  */
6315
6330
  ResourceArn?: GlueResourceArn;
6316
6331
  /**
@@ -6318,11 +6333,11 @@ declare namespace Glue {
6318
6333
  */
6319
6334
  PolicyHashCondition?: HashString;
6320
6335
  /**
6321
- * A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call will not depend on the existence of a policy.
6336
+ * A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.
6322
6337
  */
6323
6338
  PolicyExistsCondition?: ExistCondition;
6324
6339
  /**
6325
- * Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table. The default value of NO indicates that resource-level policies cannot co-exist with an account-level policy. A value of YES means the use of both resource-level and account/catalog-level resource policies is allowed.
6340
+ * If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources: By directly updating the resource policy with PutResourePolicy By using the Grant permissions command on the AWS Management Console. Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.
6326
6341
  */
6327
6342
  EnableHybrid?: EnableHybridValues;
6328
6343
  }